@esri/calcite-components 1.0.0-beta.88 → 1.0.0-beta.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-c6f1b820.js → p-00940666.js} +1 -1
- package/dist/calcite/{p-576c6d90.system.js → p-01cd253c.system.js} +1 -1
- package/dist/calcite/{p-912b88e8.js → p-01e752f7.js} +1 -1
- package/dist/calcite/p-03079a67.js +6 -0
- package/dist/calcite/{p-d741852a.js → p-0490bbfe.js} +2 -2
- package/dist/calcite/{p-bbab7f59.system.js → p-06f79335.system.js} +1 -1
- package/dist/calcite/{p-2a0b7910.system.entry.js → p-07ad31ba.system.entry.js} +2 -2
- package/dist/calcite/{p-187f9893.entry.js → p-090e40a5.entry.js} +2 -2
- package/dist/calcite/{p-8f1ef9e3.system.js → p-0b2b216f.system.js} +2 -2
- package/dist/calcite/{p-8434e35e.system.js → p-0b820f23.system.js} +2 -2
- package/dist/calcite/{p-47e17bfe.system.js → p-0c5ffab1.system.js} +1 -1
- package/dist/calcite/{p-438e073a.entry.js → p-120db58f.entry.js} +2 -2
- package/dist/calcite/{p-27859709.system.entry.js → p-144ec6fc.system.entry.js} +2 -2
- package/dist/calcite/{p-72b4a0ba.js → p-1531228a.js} +2 -2
- package/dist/calcite/{p-a4d9aa0a.entry.js → p-16d386ca.entry.js} +2 -2
- package/dist/calcite/{p-5b999a6c.js → p-176427a9.js} +1 -1
- package/dist/calcite/{p-84382537.system.js → p-177015f7.system.js} +1 -1
- package/dist/calcite/{p-32b753c4.entry.js → p-18a96208.entry.js} +2 -2
- package/dist/calcite/{p-fccd5648.system.entry.js → p-18c5dc4f.system.entry.js} +2 -2
- package/dist/calcite/{p-1f4f5c19.js → p-18d50ab7.js} +2 -2
- package/dist/calcite/{p-ccd64eb0.entry.js → p-1fb18408.entry.js} +2 -2
- package/dist/calcite/{p-754f723b.system.entry.js → p-21cf30f0.system.entry.js} +3 -3
- package/dist/calcite/{p-1a31febb.system.entry.js → p-227b1cb4.system.entry.js} +2 -2
- package/dist/calcite/{p-e0541094.system.entry.js → p-247ec4be.system.entry.js} +2 -2
- package/dist/calcite/{p-9cdc7258.entry.js → p-27b71366.entry.js} +2 -2
- package/dist/calcite/{p-7def66ec.system.js → p-27e72e42.system.js} +1 -1
- package/dist/calcite/p-289898d5.entry.js +6 -0
- package/dist/calcite/{p-480110aa.system.entry.js → p-29a33d2f.system.entry.js} +3 -3
- package/dist/calcite/{p-0d787eb2.entry.js → p-2c2ec74f.entry.js} +2 -2
- package/dist/calcite/{p-ec28cc42.system.js → p-2cfdb770.system.js} +1 -1
- package/dist/calcite/{p-d270b62c.entry.js → p-302eb239.entry.js} +2 -2
- package/dist/calcite/{p-0d8047a0.system.js → p-308ddc30.system.js} +2 -2
- package/dist/calcite/{p-19403345.system.entry.js → p-30be3391.system.entry.js} +2 -2
- package/dist/calcite/{p-7c8e376b.entry.js → p-30dbdcbf.entry.js} +2 -2
- package/dist/calcite/{p-c093135e.system.js → p-31c650e4.system.js} +2 -2
- package/dist/calcite/{p-08d33cff.system.entry.js → p-320e8c6b.system.entry.js} +2 -2
- package/dist/calcite/{p-86c1da3b.system.js → p-323d70d2.system.js} +1 -1
- package/dist/calcite/{p-c9df277f.system.entry.js → p-32949a93.system.entry.js} +2 -2
- package/dist/calcite/{p-a32cac6b.js → p-33fa3953.js} +2 -2
- package/dist/calcite/{p-f5fddea4.system.entry.js → p-3905ddf3.system.entry.js} +2 -2
- package/dist/calcite/{p-a1aa7ee6.entry.js → p-3a59b5a1.entry.js} +2 -2
- package/dist/calcite/p-3a7f7a68.system.entry.js +6 -0
- package/dist/calcite/{p-e828a3b7.system.entry.js → p-3ea7d99a.system.entry.js} +3 -3
- package/dist/calcite/{p-f668746f.entry.js → p-4072948a.entry.js} +2 -2
- package/dist/calcite/{p-668c6c3f.system.entry.js → p-40b6fe5e.system.entry.js} +2 -2
- package/dist/calcite/{p-ca63fb4e.entry.js → p-46892cf3.entry.js} +2 -2
- package/dist/calcite/{p-60ed92d7.system.entry.js → p-4827d22a.system.entry.js} +2 -2
- package/dist/calcite/{p-3b9eeea0.system.js → p-485e8d2e.system.js} +2 -2
- package/dist/calcite/{p-d2ab4bdc.system.js → p-495a7226.system.js} +1 -1
- package/dist/calcite/{p-e22b4af5.entry.js → p-4a49edc5.entry.js} +2 -2
- package/dist/calcite/{p-bc258f16.system.js → p-4b5d0a42.system.js} +1 -1
- package/dist/calcite/{p-d6831fe3.system.entry.js → p-4c6d2b3a.system.entry.js} +2 -2
- package/dist/calcite/{p-37711534.js → p-4d99711e.js} +1 -1
- package/dist/calcite/{p-afa91b41.system.entry.js → p-4d9cb2c7.system.entry.js} +2 -2
- package/dist/calcite/{p-74b61b36.system.entry.js → p-4dbc4763.system.entry.js} +2 -2
- package/dist/calcite/{p-aa416cb5.system.entry.js → p-50bb7a81.system.entry.js} +2 -2
- package/dist/calcite/p-56deb86e.system.entry.js +6 -0
- package/dist/calcite/{p-d941f3d7.system.js → p-579c853a.system.js} +1 -1
- package/dist/calcite/{p-adab454f.entry.js → p-599897dd.entry.js} +2 -2
- package/dist/calcite/{p-7792e0a6.system.js → p-5a6073a2.system.js} +1 -1
- package/dist/calcite/{p-61d0aee5.system.entry.js → p-5b92d6f9.system.entry.js} +2 -2
- package/dist/calcite/{p-4ff43ccd.entry.js → p-5cf12919.entry.js} +2 -2
- package/dist/calcite/{p-a5684301.entry.js → p-5dc08c33.entry.js} +2 -2
- package/dist/calcite/{p-580abf04.entry.js → p-5e0365ce.entry.js} +2 -2
- package/dist/calcite/{p-404c5ccb.entry.js → p-5e455a89.entry.js} +2 -2
- package/dist/calcite/{p-8a72d959.entry.js → p-5f6e8d64.entry.js} +2 -2
- package/dist/calcite/{p-d281f769.js → p-6072f4ab.js} +1 -1
- package/dist/calcite/{p-ccdbf308.entry.js → p-60db8925.entry.js} +2 -2
- package/dist/calcite/{p-16eceb49.system.entry.js → p-61b480c8.system.entry.js} +2 -2
- package/dist/calcite/{p-4cc55c6b.system.js → p-62ff4f74.system.js} +1 -1
- package/dist/calcite/{p-9eadec21.system.entry.js → p-630f3586.system.entry.js} +2 -2
- package/dist/calcite/p-659a15e3.system.js +6 -0
- package/dist/calcite/{p-b1c5f13a.entry.js → p-67c1c5d8.entry.js} +2 -2
- package/dist/calcite/{p-4b7d8730.entry.js → p-6a59012e.entry.js} +2 -2
- package/dist/calcite/p-6a69ad9d.entry.js +6 -0
- package/dist/calcite/{p-c74e6ff5.system.entry.js → p-6b35a0af.system.entry.js} +2 -2
- package/dist/calcite/{p-d5f69973.entry.js → p-6b971467.entry.js} +2 -2
- package/dist/calcite/{p-f5da0db4.system.entry.js → p-7251b953.system.entry.js} +2 -2
- package/dist/calcite/{p-a540ae2e.system.entry.js → p-749ecd38.system.entry.js} +2 -2
- package/dist/calcite/{p-437d9469.entry.js → p-7515efd0.entry.js} +2 -2
- package/dist/calcite/p-751c3908.entry.js +6 -0
- package/dist/calcite/{p-f6f30d24.js → p-751d41dc.js} +2 -2
- package/dist/calcite/{p-33ee66c9.system.entry.js → p-756c53b3.system.entry.js} +2 -2
- package/dist/calcite/{p-6c6dcd8d.system.js → p-759b254c.system.js} +1 -1
- package/dist/calcite/{p-ac8db979.system.entry.js → p-766ad7af.system.entry.js} +2 -2
- package/dist/calcite/{p-3789d49d.system.entry.js → p-7984de31.system.entry.js} +2 -2
- package/dist/calcite/{p-33845d5b.system.entry.js → p-7ae271f6.system.entry.js} +2 -2
- package/dist/calcite/{p-96941e56.entry.js → p-7b3b8b2b.entry.js} +2 -2
- package/dist/calcite/{p-9f224e5a.entry.js → p-7c923e16.entry.js} +2 -2
- package/dist/calcite/{p-b850c351.entry.js → p-7c95a2c8.entry.js} +2 -2
- package/dist/calcite/{p-c64bb5ab.entry.js → p-7ced0a89.entry.js} +2 -2
- package/dist/calcite/{p-b2dd4d80.system.entry.js → p-7fd9edfb.system.entry.js} +2 -2
- package/dist/calcite/{p-abd4e5a8.js → p-7fdef884.js} +1 -1
- package/dist/calcite/{p-5d4ed662.system.entry.js → p-81f3c8b0.system.entry.js} +2 -2
- package/dist/calcite/{p-07dd470c.entry.js → p-85061f09.entry.js} +2 -2
- package/dist/calcite/p-857f115c.entry.js +6 -0
- package/dist/calcite/{p-b4195586.entry.js → p-85fe33c3.entry.js} +2 -2
- package/dist/calcite/{p-a0fed957.system.js → p-865fc8c9.system.js} +2 -2
- package/dist/calcite/{p-7b4c1ad2.entry.js → p-8811f227.entry.js} +2 -2
- package/dist/calcite/{p-2234a2fa.entry.js → p-8b18f06c.entry.js} +2 -2
- package/dist/calcite/{p-35b01278.system.js → p-8c827e5b.system.js} +3 -3
- package/dist/calcite/{p-fbde199c.system.entry.js → p-8df656ff.system.entry.js} +2 -2
- package/dist/calcite/{p-bf548bd9.entry.js → p-8f2098be.entry.js} +2 -2
- package/dist/calcite/{p-864d818a.system.js → p-93370d01.system.js} +2 -2
- package/dist/calcite/{p-b496305b.system.entry.js → p-94fe3d6e.system.entry.js} +2 -2
- package/dist/calcite/{p-20c0dc2d.system.entry.js → p-96927e88.system.entry.js} +2 -2
- package/dist/calcite/{p-38d46205.js → p-97448516.js} +1 -1
- package/dist/calcite/{p-c1b32a3d.entry.js → p-99528159.entry.js} +2 -2
- package/dist/calcite/{p-4bc6cf58.system.entry.js → p-9c96f19a.system.entry.js} +2 -2
- package/dist/calcite/{p-f89e6de1.js → p-9d51f0ee.js} +1 -1
- package/dist/calcite/{p-b0aeacc3.system.entry.js → p-9ea447b7.system.entry.js} +2 -2
- package/dist/calcite/{p-21c25c2d.entry.js → p-9f1ae644.entry.js} +2 -2
- package/dist/calcite/{p-5bcb3550.system.js → p-a07fbcff.system.js} +2 -2
- package/dist/calcite/{p-63f9e247.js → p-a13a90cc.js} +2 -2
- package/dist/calcite/{p-5bf1d9dd.entry.js → p-a522ae1f.entry.js} +2 -2
- package/dist/calcite/{p-b52a5633.entry.js → p-add22ccd.entry.js} +2 -2
- package/dist/calcite/{p-748fa3dd.system.entry.js → p-aeaa724b.system.entry.js} +3 -3
- package/dist/calcite/p-aecb7f5f.js +6 -0
- package/dist/calcite/{p-3d9d8cc2.system.entry.js → p-b1b63d8f.system.entry.js} +2 -2
- package/dist/calcite/{p-45157ebd.entry.js → p-b1d099f2.entry.js} +2 -2
- package/dist/calcite/{p-a105b7a9.entry.js → p-b1d55cbe.entry.js} +2 -2
- package/dist/calcite/{p-b87c3776.system.js → p-b2c115ab.system.js} +2 -2
- package/dist/calcite/{p-1af1f3c4.system.entry.js → p-b3b9f8f2.system.entry.js} +2 -2
- package/dist/calcite/{p-a3789d06.system.entry.js → p-b4bc2ba2.system.entry.js} +3 -3
- package/dist/calcite/{p-fba03004.entry.js → p-b4f4164f.entry.js} +2 -2
- package/dist/calcite/{p-fc0b8a95.entry.js → p-b9c0cc97.entry.js} +2 -2
- package/dist/calcite/{p-1c7df5d0.entry.js → p-bb958d57.entry.js} +2 -2
- package/dist/calcite/{p-499e3e8e.js → p-be20f015.js} +1 -1
- package/dist/calcite/{p-0ee2d220.js → p-bfe4a296.js} +2 -2
- package/dist/calcite/{p-ce8b973f.system.entry.js → p-c09cd0ff.system.entry.js} +2 -2
- package/dist/calcite/{p-7bf92781.entry.js → p-c3a6ab2b.entry.js} +2 -2
- package/dist/calcite/{p-ea2143ca.entry.js → p-c5df45de.entry.js} +2 -2
- package/dist/calcite/{p-f9b4f2b0.entry.js → p-ca3425b9.entry.js} +2 -2
- package/dist/calcite/{p-693b6420.system.entry.js → p-cbea5d0d.system.entry.js} +2 -2
- package/dist/calcite/{p-328830de.system.entry.js → p-cc769a35.system.entry.js} +2 -2
- package/dist/calcite/{p-59f13078.system.entry.js → p-cec0b647.system.entry.js} +2 -2
- package/dist/calcite/{p-c4814258.entry.js → p-d233312f.entry.js} +2 -2
- package/dist/calcite/p-d5046ede.entry.js +6 -0
- package/dist/calcite/{p-78dc480f.system.entry.js → p-d5b92e1d.system.entry.js} +2 -2
- package/dist/calcite/{p-0e02d130.system.entry.js → p-d825626c.system.entry.js} +2 -2
- package/dist/calcite/{p-ae90837b.system.entry.js → p-d8e35501.system.entry.js} +2 -2
- package/dist/calcite/{p-2a743b41.system.entry.js → p-d91629e3.system.entry.js} +2 -2
- package/dist/calcite/{p-a60d4cb7.js → p-d9a0e8d9.js} +1 -1
- package/dist/calcite/{p-904f11d1.js → p-da921532.js} +1 -1
- package/dist/calcite/{p-7e9cc96c.system.entry.js → p-dbe09fe1.system.entry.js} +2 -2
- package/dist/calcite/{p-4b7bc432.system.entry.js → p-ddaf278a.system.entry.js} +2 -2
- package/dist/calcite/{p-2dee422c.system.entry.js → p-de1770bb.system.entry.js} +2 -2
- package/dist/calcite/{p-49228240.js → p-de3ab3bb.js} +1 -1
- package/dist/calcite/{p-733efb75.system.entry.js → p-df0f9934.system.entry.js} +2 -2
- package/dist/calcite/{p-a4ea532b.entry.js → p-e31a217b.entry.js} +2 -2
- package/dist/calcite/{p-0e005277.entry.js → p-e32e2227.entry.js} +2 -2
- package/dist/calcite/p-e3449d19.system.js +6 -0
- package/dist/calcite/{p-d3040412.js → p-e66da40a.js} +2 -2
- package/dist/calcite/{p-5c848d3b.system.entry.js → p-e67e6121.system.entry.js} +2 -2
- package/dist/calcite/{p-c117dcf5.system.entry.js → p-e684050d.system.entry.js} +2 -2
- package/dist/calcite/{p-b05e7ca1.system.entry.js → p-e8db06af.system.entry.js} +2 -2
- package/dist/calcite/{p-bbe16621.js → p-e96e6a73.js} +1 -1
- package/dist/calcite/{p-05e6e44e.entry.js → p-e972d854.entry.js} +2 -2
- package/dist/calcite/{p-7c185bac.system.js → p-e991a73f.system.js} +1 -1
- package/dist/calcite/{p-cd0cfb2f.system.entry.js → p-ea84499f.system.entry.js} +2 -2
- package/dist/calcite/{p-83666d45.js → p-eaf4b4e0.js} +2 -2
- package/dist/calcite/{p-72a89fd7.entry.js → p-ec57a76a.entry.js} +2 -2
- package/dist/calcite/{p-4d6c3948.entry.js → p-f2aa0ebb.entry.js} +2 -2
- package/dist/calcite/{p-d38ba3ff.entry.js → p-f4ba73c4.entry.js} +2 -2
- package/dist/calcite/{p-a019237b.entry.js → p-f82b2ab0.entry.js} +2 -2
- package/dist/calcite/{p-56f528e7.system.entry.js → p-fc8525a0.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-603be21c.js → ExpandToggle-0e8197f5.js} +5 -5
- package/dist/cjs/{Heading-e26750e9.js → Heading-81ea78ba.js} +2 -2
- package/dist/cjs/{array-181cd592.js → array-181fe80c.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -152
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -35
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -9
- 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 +13 -14
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{conditionalSlot-02fc5606.js → conditionalSlot-c88c5ae4.js} +3 -3
- package/dist/cjs/{debounce-e4dd028c.js → debounce-5f743c00.js} +1 -1
- package/dist/cjs/{dom-e0f73c63.js → dom-6e05c46f.js} +2 -2
- package/dist/cjs/{forIn-36af86fa.js → filter-7d4f5286.js} +142 -4
- package/dist/cjs/{floating-ui-7f8ad32d.js → floating-ui-6a55f508.js} +2 -2
- package/dist/cjs/{form-59d6059f.js → form-69a13bb5.js} +3 -3
- package/dist/cjs/{guid-955076f7.js → guid-be70cd59.js} +1 -1
- package/dist/cjs/{index-305cfbf8.js → index-161c312d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-300a5a8c.js → interactive-5b50d1dc.js} +1 -1
- package/dist/cjs/{interfaces-f4ba9171.js → interfaces-b292f344.js} +1 -1
- package/dist/cjs/{key-47458bff.js → key-e2ce3429.js} +1 -1
- package/dist/cjs/{label-71cc342a.js → label-7a2d25cf.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-197adffa.js → locale-2df33b41.js} +2 -2
- package/dist/cjs/{math-0d3c02ac.js → math-c7b453a3.js} +1 -1
- package/dist/cjs/{observers-338f5a0e.js → observers-4af8e9eb.js} +1 -1
- package/dist/cjs/{resources-e62b43d8.js → resources-0ec45064.js} +1 -1
- package/dist/cjs/{resources-377246d0.js → resources-e57d36f7.js} +3 -3
- package/dist/cjs/{resources-3aa3e75b.js → resources-f790112f.js} +5 -5
- package/dist/cjs/{resources-375506a4.js → resources-fb2d094b.js} +1 -1
- package/dist/cjs/{sortable.esm-cd2f8082.js → sortable.esm-542390e8.js} +1 -1
- package/dist/cjs/{utils-5f59cc7c.js → utils-7ac530dd.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +6 -32
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +3 -1
- package/dist/collection/components/shell/shell.css +4 -0
- package/dist/collection/components/shell/shell.js +7 -3
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +12 -13
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +3 -142
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +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 +2 -2
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +5 -3
- 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 +9 -10
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +741 -195
- package/dist/components/filter2.js +186 -0
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +14 -40
- package/dist/esm/{ExpandToggle-9a766aef.js → ExpandToggle-32403ce8.js} +5 -5
- package/dist/esm/{Heading-1d8ac13b.js → Heading-a9ab89d5.js} +2 -2
- package/dist/esm/{array-01c0fc97.js → array-d75bd72e.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -151
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +8 -35
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +11 -9
- 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 +13 -14
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{conditionalSlot-c6d33dce.js → conditionalSlot-1bf8fa95.js} +3 -3
- package/dist/esm/{debounce-3e0197e5.js → debounce-7fbb2181.js} +1 -1
- package/dist/esm/{dom-d90fe08d.js → dom-796bedfe.js} +2 -2
- package/dist/{components/forIn.js → esm/filter-03334acb.js} +142 -3
- package/dist/esm/{floating-ui-46c5b613.js → floating-ui-e347c202.js} +2 -2
- package/dist/esm/{form-3b0e9050.js → form-4ca0d7b1.js} +3 -3
- package/dist/esm/{guid-ac825a40.js → guid-b66e2624.js} +1 -1
- package/dist/esm/{index-a3160f12.js → index-125082eb.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-b44d43a3.js → interactive-010acdfb.js} +1 -1
- package/dist/esm/{interfaces-3a88d705.js → interfaces-b69e1ef5.js} +1 -1
- package/dist/esm/{key-95b5c356.js → key-44ba709a.js} +1 -1
- package/dist/esm/{label-78d76445.js → label-a26004cb.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-855e3c53.js → locale-8e785c01.js} +2 -2
- package/dist/esm/{math-4579adc8.js → math-06b7ae0e.js} +1 -1
- package/dist/esm/{observers-365eaca9.js → observers-20a0920e.js} +1 -1
- package/dist/esm/{resources-832f46ae.js → resources-1370200e.js} +1 -1
- package/dist/esm/{resources-5b92e29d.js → resources-1f5c1d91.js} +1 -1
- package/dist/esm/{resources-4b4a5920.js → resources-379daa10.js} +3 -3
- package/dist/esm/{resources-994e0a78.js → resources-41e347a4.js} +5 -5
- package/dist/esm/{sortable.esm-4ec6af7d.js → sortable.esm-ceaf31d6.js} +1 -1
- package/dist/esm/{utils-21e6f8f9.js → utils-dafc2a36.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-9a766aef.js → ExpandToggle-32403ce8.js} +2 -2
- package/dist/esm-es5/Heading-a9ab89d5.js +6 -0
- package/dist/esm-es5/{array-01c0fc97.js → array-d75bd72e.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.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 +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- 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-c6d33dce.js → conditionalSlot-1bf8fa95.js} +2 -2
- package/dist/esm-es5/{debounce-3e0197e5.js → debounce-7fbb2181.js} +1 -1
- package/dist/esm-es5/{dom-d90fe08d.js → dom-796bedfe.js} +2 -2
- package/dist/esm-es5/filter-03334acb.js +6 -0
- package/dist/esm-es5/{floating-ui-46c5b613.js → floating-ui-e347c202.js} +2 -2
- package/dist/esm-es5/{form-3b0e9050.js → form-4ca0d7b1.js} +2 -2
- package/dist/esm-es5/{guid-ac825a40.js → guid-b66e2624.js} +1 -1
- package/dist/esm-es5/{index-a3160f12.js → index-125082eb.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-b44d43a3.js → interactive-010acdfb.js} +1 -1
- package/dist/esm-es5/{interfaces-3a88d705.js → interfaces-b69e1ef5.js} +1 -1
- package/dist/esm-es5/{key-95b5c356.js → key-44ba709a.js} +1 -1
- package/dist/esm-es5/{label-78d76445.js → label-a26004cb.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-855e3c53.js → locale-8e785c01.js} +2 -2
- package/dist/esm-es5/{math-4579adc8.js → math-06b7ae0e.js} +1 -1
- package/dist/esm-es5/{observers-365eaca9.js → observers-20a0920e.js} +1 -1
- package/dist/esm-es5/{resources-832f46ae.js → resources-1370200e.js} +1 -1
- package/dist/esm-es5/{resources-5b92e29d.js → resources-1f5c1d91.js} +1 -1
- package/dist/esm-es5/{resources-4b4a5920.js → resources-379daa10.js} +2 -2
- package/dist/esm-es5/{resources-994e0a78.js → resources-41e347a4.js} +2 -2
- package/dist/esm-es5/{sortable.esm-4ec6af7d.js → sortable.esm-ceaf31d6.js} +1 -1
- package/dist/esm-es5/{utils-21e6f8f9.js → utils-dafc2a36.js} +1 -1
- package/dist/extras/docs-json.json +24 -8
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/shell/resources.d.ts +2 -0
- package/dist/types/components/shell/shell.d.ts +4 -2
- package/dist/types/components/stepper-item/stepper-item.d.ts +0 -1
- package/hydrate/index.js +18 -42
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-0fa03f2b.js +0 -6
- package/dist/calcite/p-123213d5.entry.js +0 -6
- package/dist/calcite/p-1b89f988.system.entry.js +0 -6
- package/dist/calcite/p-3ef08257.entry.js +0 -6
- package/dist/calcite/p-a8b2237b.js +0 -6
- package/dist/calcite/p-aa8fc73f.entry.js +0 -6
- package/dist/calcite/p-adeecd96.entry.js +0 -6
- package/dist/calcite/p-c6ca0a3f.system.js +0 -6
- package/dist/calcite/p-c8c7e371.system.js +0 -6
- package/dist/calcite/p-e7ed03fe.entry.js +0 -6
- package/dist/calcite/p-f810e95d.system.entry.js +0 -6
- package/dist/esm/forIn-47801022.js +0 -620
- package/dist/esm-es5/Heading-1d8ac13b.js +0 -6
- package/dist/esm-es5/forIn-47801022.js +0 -6
|
@@ -2,5 +2,5 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t)
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-beta.
|
|
6
|
-
*/System.register(["./p-8f1ef9e3.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.a}],execute:function(){var r=this;t({a:kt,c:Et,f:Pt,p:Ot});function n(t){return t.split("-")[0]}function i(t){return t.split("-")[1]}function a(t){return["top","bottom"].includes(n(t))?"x":"y"}function o(t){return t==="y"?"height":"width"}function l(t,e,r){var l=t.reference,s=t.floating;var f=l.x+l.width/2-s.width/2;var u=l.y+l.height/2-s.height/2;var c=a(e);var d=o(c);var v=l[d]/2-s[d]/2;var p=n(e);var h=c==="x";var g;switch(p){case"top":g={x:f,y:l.y-s.height};break;case"bottom":g={x:f,y:l.y+l.height};break;case"right":g={x:l.x+l.width,y:u};break;case"left":g={x:l.x-s.width,y:u};break;default:g={x:l.x,y:l.y}}switch(i(e)){case"start":g[c]-=v*(r&&h?-1:1);break;case"end":g[c]+=v*(r&&h?-1:1);break}return g}var s=function(t,e,n){return __awaiter(r,void 0,void 0,(function(){var r,i,a,o,s,f,u,c,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T;var E,k;return __generator(this,(function(D){switch(D.label){case 0:r=n.placement,i=r===void 0?"bottom":r,a=n.strategy,o=a===void 0?"absolute":a,s=n.middleware,f=s===void 0?[]:s,u=n.platform;return[4,u.isRTL==null?void 0:u.isRTL(e)];case 1:c=D.sent();return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 2:d=D.sent();v=l(d,i,c),p=v.x,h=v.y;g=i;m={};y=0;_=0;D.label=3;case 3:if(!(_<f.length))return[3,11];w=f[_],b=w.name,x=w.fn;return[4,x({x:p,y:h,initialPlacement:i,placement:g,strategy:o,middlewareData:m,rects:d,platform:u,elements:{reference:t,floating:e}})];case 4:A=D.sent(),R=A.x,P=A.y,L=A.data,O=A.reset;p=R!=null?R:p;h=P!=null?P:h;m=__assign(__assign({},m),(E={},E[b]=__assign(__assign({},m[b]),L),E));if(!(O&&y<=50))return[3,10];y++;if(!(typeof O==="object"))return[3,9];if(O.placement){g=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 5:T=D.sent();return[3,7];case 6:T=O.rects;D.label=7;case 7:d=T;D.label=8;case 8:k=l(d,g,c),p=k.x,h=k.y;D.label=9;case 9:_=-1;return[3,10];case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:g,strategy:o,middlewareData:m}]}}))}))};function f(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function u(t){return typeof t!=="number"?f(t):{top:t,right:t,bottom:t,left:t}}function c(t){return __assign(__assign({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}function d(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,l,s,f,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,S,H,W;var C,j;return __generator(this,(function(M){switch(M.label){case 0:if(e===void 0){e={}}n=t.x,i=t.y,a=t.platform,o=t.rects,l=t.elements,s=t.strategy;f=e.boundary,d=f===void 0?"clippingAncestors":f,v=e.rootBoundary,p=v===void 0?"viewport":v,h=e.elementContext,g=h===void 0?"floating":h,m=e.altBoundary,y=m===void 0?false:m,_=e.padding,w=_===void 0?0:_;b=u(w);x=g==="floating"?"reference":"floating";A=l[y?x:g];P=c;O=(L=a).getClippingRect;C={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((r=M.sent())!=null?r:true))return[3,2];T=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)];case 3:E=M.sent();M.label=4;case 4:T=E;M.label=5;case 5:return[4,O.apply(L,[(C.element=T,C.boundary=d,C.rootBoundary=p,C.strategy=s,C)])];case 6:R=P.apply(void 0,[M.sent()]);D=c;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];W=(H=a).convertOffsetParentRelativeRectToViewportRelativeRect;j={rect:g==="floating"?__assign(__assign({},o.floating),{x:n,y:i}):o.reference};return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)];case 7:return[4,W.apply(H,[(j.offsetParent=M.sent(),j.strategy=s,j)])];case 8:S=M.sent();return[3,10];case 9:S=o[g];M.label=10;case 10:k=D.apply(void 0,[S]);return[2,{top:R.top-k.top+b.top,bottom:k.bottom-R.bottom+b.bottom,left:R.left-k.left+b.left,right:k.right-R.right+b.right}]}}))}))}var v=Math.min;var p=Math.max;function h(t,e,r){return p(t,v(e,r))}var g=function(t){return{name:"arrow",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,l,s,f,c,d,v,p,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,S,H,W,C;var j,M;return __generator(this,(function(F){switch(F.label){case 0:r=t!=null?t:{},n=r.element,l=r.padding,s=l===void 0?0:l;f=e.x,c=e.y,d=e.placement,v=e.rects,p=e.platform;if(n==null){return[2,{}]}g=u(s);m={x:f,y:c};y=a(d);_=i(d);w=o(y);return[4,p.getDimensions(n)];case 1:b=F.sent();x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=v.reference[w]+v.reference[y]-m[y]-v.floating[w];P=m[y]-v.reference[y];return[4,p.getOffsetParent==null?void 0:p.getOffsetParent(n)];case 2:L=F.sent();O=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0;if(O===0){O=v.floating[w]}T=R/2-P/2;E=g[x];k=O-b[w]-g[A];D=O/2-b[w]/2+T;S=h(E,D,k);H=_==="start"?g[x]:g[A];W=H>0&&D!==S&&v.reference[w]<=v.floating[w];C=W?D<E?E-D:k-D:0;return[2,(j={},j[y]=m[y]-C,j.data=(M={},M[y]=S,M.centerOffset=D-S,M),j)]}}))}))}}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(function(t){return m[t]}))}function _(t,e,r){if(r===void 0){r=false}var n=i(t);var l=a(t);var s=o(l);var f=l==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){f=y(f)}return{main:f,cross:y(f)}}var w={start:"end",end:"start"};function b(t){return t.replace(/start|end/g,(function(t){return w[t]}))}var x=["top","right","bottom","left"];var A=x.reduce((function(t,e){return t.concat(e,e+"-start",e+"-end")}),[]);function R(t,e,r){var a=t?__spreadArray(__spreadArray([],r.filter((function(e){return i(e)===t})),true),r.filter((function(e){return i(e)!==t})),true):r.filter((function(t){return n(t)===t}));return a.filter((function(r){if(t){return i(r)===t||(e?b(r)!==r:false)}return true}))}var P=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,y,w,b,x,P,L,O,T,E,k,D,S,H,W,C,j,M,F,N,V;return __generator(this,(function(B){switch(B.label){case 0:s=e.x,f=e.y,u=e.rects,c=e.middlewareData,v=e.placement,p=e.platform,h=e.elements;g=t.alignment,m=g===void 0?null:g,y=t.allowedPlacements,w=y===void 0?A:y,b=t.autoAlignment,x=b===void 0?true:b,P=__rest(t,["alignment","allowedPlacements","autoAlignment"]);L=R(m,x,w);return[4,d(e,P)];case 1:O=B.sent();T=(r=(i=c.autoPlacement)==null?void 0:i.index)!=null?r:0;E=L[T];if(E==null){return[2,{}]}H=_;W=[E,u];return[4,p.isRTL==null?void 0:p.isRTL(h.floating)];case 2:k=H.apply(void 0,W.concat([B.sent()])),D=k.main,S=k.cross;if(v!==E){return[2,{x:s,y:f,reset:{placement:L[0]}}]}C=[O[n(E)],O[D],O[S]];j=__spreadArray(__spreadArray([],(a=(o=c.autoPlacement)==null?void 0:o.overflows)!=null?a:[],true),[{placement:E,overflows:C}],false);M=L[T+1];if(M){return[2,{data:{index:T+1,overflows:j},reset:{placement:M}}]}F=j.slice().sort((function(t,e){return t.overflows[0]-e.overflows[0]}));N=(l=F.find((function(t){var e=t.overflows;return e.every((function(t){return t<=0}))})))==null?void 0:l.placement;V=N!=null?N:F[0].placement;if(V!==v){return[2,{data:{index:T+1,overflows:j},reset:{placement:V}}]}return[2,{}]}}))}))}}};function L(t){var e=y(t);return[b(t),e,b(e)]}var O=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,w,b,x,A,R,P,O,T,E,k,D,S,H,W,C,j,M,F,N,V,B,z;return __generator(this,(function(I){switch(I.label){case 0:i=e.placement,a=e.middlewareData,o=e.rects,l=e.initialPlacement,s=e.platform,f=e.elements;u=t.mainAxis,c=u===void 0?true:u,v=t.crossAxis,p=v===void 0?true:v,h=t.fallbackPlacements,g=t.fallbackStrategy,m=g===void 0?"bestFit":g,w=t.flipAlignment,b=w===void 0?true:w,x=__rest(t,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]);A=n(i);R=A===l;P=h||(R||!b?[y(l)]:L(l));O=__spreadArray([l],P,true);return[4,d(e,x)];case 1:T=I.sent();E=[];k=((r=a.flip)==null?void 0:r.overflows)||[];if(c){E.push(T[A])}if(!p)return[3,3];W=_;C=[i,o];return[4,s.isRTL==null?void 0:s.isRTL(f.floating)];case 2:D=W.apply(void 0,C.concat([I.sent()])),S=D.main,H=D.cross;E.push(T[S],T[H]);I.label=3;case 3:k=__spreadArray(__spreadArray([],k,true),[{placement:i,overflows:E}],false);if(!E.every((function(t){return t<=0}))){F=((j=(M=a.flip)==null?void 0:M.index)!=null?j:0)+1;N=O[F];if(N){return[2,{data:{index:F,overflows:k},reset:{placement:N}}]}V="bottom";switch(m){case"bestFit":{z=(B=k.map((function(t){return[t,t.overflows.filter((function(t){return t>0})).reduce((function(t,e){return t+e}),0)]})).sort((function(t,e){return t[1]-e[1]}))[0])==null?void 0:B[0].placement;if(z){V=z}break}case"initialPlacement":V=l;break}if(i!==V){return[2,{reset:{placement:V}}]}}return[2,{}]}}))}))}}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return x.some((function(e){return t[e]>=0}))}var k=function(t){var e=t===void 0?{}:t,r=e.strategy,n=r===void 0?"referenceHidden":r,i=__rest(e,["strategy"]);return{name:"hide",fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a,o,a,o;return __generator(this,(function(l){switch(l.label){case 0:e=t.rects;r=n;switch(r){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,d(t,__assign(__assign({},i),{elementContext:"reference"}))];case 2:a=l.sent();o=T(a,e.reference);return[2,{data:{referenceHiddenOffsets:o,referenceHidden:E(o)}}];case 3:return[4,d(t,__assign(__assign({},i),{altBoundary:true}))];case 4:a=l.sent();o=T(a,e.floating);return[2,{data:{escapedOffsets:o,escaped:E(o)}}];case 5:{return[2,{}]}l.label=6;case 6:return[2]}}))}))}}};function D(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o,l,s,f,u,c,d,v,p,h,g,m,y;return __generator(this,(function(_){switch(_.label){case 0:r=t.placement,o=t.platform,l=t.elements;return[4,o.isRTL==null?void 0:o.isRTL(l.floating)];case 1:s=_.sent();f=n(r);u=i(r);c=a(r)==="x";d=["left","top"].includes(f)?-1:1;v=s&&c?-1:1;p=typeof e==="function"?e(t):e;h=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},p),g=h.mainAxis,m=h.crossAxis,y=h.alignmentAxis;if(u&&typeof y==="number"){m=u==="end"?y*-1:y}return[2,c?{x:m*v,y:g*d}:{x:g*d,y:m*v}]}}))}))}var S=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(a){switch(a.label){case 0:r=e.x,n=e.y;return[4,D(e,t)];case 1:i=a.sent();return[2,{x:r+i.x,y:n+i.y,data:i}]}}))}))}}};function H(t){return t==="x"?"y":"x"}var W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,o,l,s,f,u,c,v,p,g,m,y,_,w,b,x,A,R,P,x,A,L,O,T;var E;return __generator(this,(function(k){switch(k.label){case 0:r=e.x,i=e.y,o=e.placement;l=t.mainAxis,s=l===void 0?true:l,f=t.crossAxis,u=f===void 0?false:f,c=t.limiter,v=c===void 0?{fn:function(t){var e=t.x,r=t.y;return{x:e,y:r}}}:c,p=__rest(t,["mainAxis","crossAxis","limiter"]);g={x:r,y:i};return[4,d(e,p)];case 1:m=k.sent();y=a(n(o));_=H(y);w=g[y];b=g[_];if(s){x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=w+m[x];P=w-m[A];w=h(R,w,P)}if(u){x=_==="y"?"top":"left";A=_==="y"?"bottom":"right";L=b+m[x];O=b-m[A];b=h(L,b,O)}T=v.fn(__assign(__assign({},e),(E={},E[y]=w,E[_]=b,E)));return[2,__assign(__assign({},T),{data:{x:T.x-r,y:T.y-i}})]}}))}))}}};function C(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function j(t){if(t==null){return window}if(!C(t)){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function M(t){return j(t).getComputedStyle(t)}function F(t){return C(t)?"":t?(t.nodeName||"").toLowerCase():""}function N(){var t=navigator.userAgentData;if(t!=null&&t.brands){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function V(t){return t instanceof j(t).HTMLElement}function B(t){return t instanceof j(t).Element}function z(t){return t instanceof j(t).Node}function I(t){if(typeof ShadowRoot==="undefined"){return false}var e=j(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function X(t){var e=M(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Y(t){return["table","td","th"].includes(F(t))}function q(t){var e=/firefox/i.test(N());var r=M(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":false)}function G(){return!/^((?!chrome|android).)*safari/i.test(N())}var J=Math.min;var K=Math.max;var Q=Math.round;function U(t,e,r){var n,i,a,o;if(e===void 0){e=false}if(r===void 0){r=false}var l=t.getBoundingClientRect();var s=1;var f=1;if(e&&V(t)){s=t.offsetWidth>0?Q(l.width)/t.offsetWidth||1:1;f=t.offsetHeight>0?Q(l.height)/t.offsetHeight||1:1}var u=B(t)?j(t):window;var c=!G()&&r;var d=(l.left+(c?(n=(i=u.visualViewport)==null?void 0:i.offsetLeft)!=null?n:0:0))/s;var v=(l.top+(c?(a=(o=u.visualViewport)==null?void 0:o.offsetTop)!=null?a:0:0))/f;var p=l.width/s;var h=l.height/f;return{width:p,height:h,top:v,right:d+p,bottom:v+h,left:d,x:d,y:v}}function Z(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){if(B(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tt(t){return U(Z(t)).left+$(t).scrollLeft}function et(t){var e=U(t);return Q(e.width)!==t.offsetWidth||Q(e.height)!==t.offsetHeight}function rt(t,e,r){var n=V(e);var i=Z(e);var a=U(t,n&&et(e),r==="fixed");var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(n||!n&&r!=="fixed"){if(F(e)!=="body"||X(i)){o=$(e)}if(V(e)){var s=U(e,true);l.x=s.x+e.clientLeft;l.y=s.y+e.clientTop}else if(i){l.x=tt(i)}}return{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function nt(t){if(F(t)==="html"){return t}return t.assignedSlot||t.parentNode||(I(t)?t.host:null)||Z(t)}function it(t){if(!V(t)||getComputedStyle(t).position==="fixed"){return null}return t.offsetParent}function at(t){var e=nt(t);if(I(e)){e=e.host}while(V(e)&&!["html","body"].includes(F(e))){if(q(e)){return e}else{e=e.parentNode}}return null}function ot(t){var e=j(t);var r=it(t);while(r&&Y(r)&&getComputedStyle(r).position==="static"){r=it(r)}if(r&&(F(r)==="html"||F(r)==="body"&&getComputedStyle(r).position==="static"&&!q(r))){return e}return r||at(t)||e}function lt(t){if(V(t)){return{width:t.offsetWidth,height:t.offsetHeight}}var e=U(t);return{width:e.width,height:e.height}}function st(t){var e=t.rect,r=t.offsetParent,n=t.strategy;var i=V(r);var a=Z(r);if(r===a){return e}var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&n!=="fixed"){if(F(r)!=="body"||X(a)){o=$(r)}if(V(r)){var s=U(r,true);l.x=s.x+r.clientLeft;l.y=s.y+r.clientTop}}return __assign(__assign({},e),{x:e.x-o.scrollLeft+l.x,y:e.y-o.scrollTop+l.y})}function ft(t,e){var r=j(t);var n=Z(t);var i=r.visualViewport;var a=n.clientWidth;var o=n.clientHeight;var l=0;var s=0;if(i){a=i.width;o=i.height;var f=G();if(f||!f&&e==="fixed"){l=i.offsetLeft;s=i.offsetTop}}return{width:a,height:o,x:l,y:s}}function ut(t){var e;var r=Z(t);var n=$(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var a=K(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var o=K(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var l=-n.scrollLeft+tt(t);var s=-n.scrollTop;if(M(i||r).direction==="rtl"){l+=K(r.clientWidth,i?i.clientWidth:0)-a}return{width:a,height:o,x:l,y:s}}function ct(t){var e=nt(t);if(["html","body","#document"].includes(F(e))){return t.ownerDocument.body}if(V(e)&&X(e)){return e}return ct(e)}function dt(t,e){var r;if(e===void 0){e=[]}var n=ct(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var a=j(n);var o=i?[a].concat(a.visualViewport||[],X(n)?n:[]):n;var l=e.concat(o);return i?l:l.concat(dt(o))}function vt(t,e){var r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e)){return true}else if(r&&I(r)){var n=e;do{if(n&&t===n){return true}n=n.parentNode||n.host}while(n)}return false}function pt(t,e){var r=U(t,false,e==="fixed");var n=r.top+t.clientTop;var i=r.left+t.clientLeft;return{top:n,left:i,x:i,y:n,right:i+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function ht(t,e,r){if(e==="viewport"){return c(ft(t,r))}if(B(e)){return pt(e,r)}return c(ut(Z(t)))}function gt(t){var e=dt(t);var r=["absolute","fixed"].includes(M(t).position);var n=r&&V(t)?ot(t):t;if(!B(n)){return[]}return e.filter((function(t){return B(t)&&vt(t,n)&&F(t)!=="body"}))}function mt(t){var e=t.element,r=t.boundary,n=t.rootBoundary,i=t.strategy;var a=r==="clippingAncestors"?gt(e):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var l=o[0];var s=o.reduce((function(t,r){var n=ht(e,r,i);t.top=K(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=K(n.left,t.left);return t}),ht(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var yt={getClippingRect:mt,convertOffsetParentRelativeRectToViewportRelativeRect:st,isElement:B,getDimensions:lt,getOffsetParent:ot,getDocumentElement:Z,getElementRects:function(t){var e=t.reference,r=t.floating,n=t.strategy;return{reference:rt(e,ot(r),n),floating:__assign(__assign({},lt(r)),{x:0,y:0})}},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return M(t).direction==="rtl"}};function _t(t,e,r,n){if(n===void 0){n={}}var i=n.ancestorScroll,a=i===void 0?true:i,o=n.ancestorResize,l=o===void 0?true:o,s=n.elementResize,f=s===void 0?true:s,u=n.animationFrame,c=u===void 0?false:u;var d=a&&!c;var v=l&&!c;var p=d||v?__spreadArray(__spreadArray([],B(t)?dt(t):[],true),dt(e),true):[];p.forEach((function(t){d&&t.addEventListener("scroll",r,{passive:true});v&&t.addEventListener("resize",r)}));var h=null;if(f){var g=true;h=new ResizeObserver((function(){if(!g){r()}g=false}));B(t)&&!c&&h.observe(t);h.observe(e)}var m;var y=c?U(t):null;if(c){_()}function _(){var e=U(t);if(y&&(e.x!==y.x||e.y!==y.y||e.width!==y.width||e.height!==y.height)){r()}y=e;m=requestAnimationFrame(_)}r();return function(){var t;p.forEach((function(t){d&&t.removeEventListener("scroll",r);v&&t.removeEventListener("resize",r)}));(t=h)==null?void 0:t.disconnect();h=null;if(c){cancelAnimationFrame(m)}}}var wt=function(t,e,r){return s(t,e,__assign({platform:yt},r))};var bt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var xt=t("d","bottom-start");var At=t("F",{animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"});function Rt(t){var e=t.placement,r=t.disableFlip,n=t.flipPlacements,i=t.offsetDistance,a=t.offsetSkidding,o=t.arrowEl,l=t.type;var s=[W(),k()];if(l==="menu"){return __spreadArray(__spreadArray([],s,true),[O({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})],false)}if(l==="popover"||l==="tooltip"){var f=__spreadArray(__spreadArray([],s,true),[S({mainAxis:typeof i==="number"?i:0,crossAxis:typeof a==="number"?a:0})],false);if(e==="auto"||e==="auto-start"||e==="auto-end"){f.push(P({alignment:e==="auto-start"?"start":e==="auto-end"?"end":null}))}else if(!r){f.push(O(n?{fallbackPlacements:n}:{}))}if(o){f.push(g({element:o}))}return f}return[]}function Pt(t,e){var r=t.filter((function(t){return bt.includes(t)}));if(r.length!==t.length){console.warn("".concat(e.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(bt.map((function(t){return'"'.concat(t,'"')})).join(", ").trim()),{el:e})}return r}function Lt(t,r){var n=["left","right"];if(e(t)==="rtl"){n.reverse()}return r.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function Ot(t){var e=t.referenceEl,r=t.floatingEl,n=t.overlayPositioning,i=n===void 0?"absolute":n,a=t.placement,o=t.disableFlip,l=t.flipPlacements,s=t.offsetDistance,f=t.offsetSkidding,u=t.arrowEl,c=t.type;return __awaiter(this,void 0,void 0,(function(){var t,n,d,v,p,h,g,m,y,_,w,b,x,A;return __generator(this,(function(R){switch(R.label){case 0:if(!e||!r){return[2,null]}return[4,wt(e,r,{strategy:i,placement:a==="auto"||a==="auto-start"||a==="auto-end"?undefined:Lt(r,a),middleware:Rt({placement:a,disableFlip:o,flipPlacements:l,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:c})})];case 1:n=R.sent(),d=n.x,v=n.y,p=n.placement,h=n.strategy,g=n.middlewareData;if(g===null||g===void 0?void 0:g.arrow){m=g.arrow,y=m.x,_=m.y;Object.assign(u.style,{left:y!=null?"".concat(y,"px"):"",top:_!=null?"".concat(_,"px"):""})}w=(t=g===null||g===void 0?void 0:g.hide)===null||t===void 0?void 0:t.referenceHidden;b=w?"hidden":null;x=b?"none":null;r.setAttribute("data-placement",p);A="translate(".concat(Math.round(d),"px,").concat(Math.round(v),"px)");Object.assign(r.style,{visibility:b,pointerEvents:x,position:h,top:"0",left:"0",transform:A});return[2]}}))}))}var Tt=new WeakMap;function Et(t,e,r){if(!r||!e){return}kt(t,e,r);Tt.set(t,_t(e,r,(function(){if(t.open){t.reposition()}})))}function kt(t,e,r){if(!r||!e){return}var n=Tt.get(t);if(n){n()}Tt.delete(t)}var Dt=4;var St=t("b",Math.ceil(Math.hypot(Dt,Dt)))}}}));
|
|
5
|
+
* v1.0.0-beta.90
|
|
6
|
+
*/System.register(["./p-0b2b216f.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.a}],execute:function(){var r=this;t({a:kt,c:Et,f:Pt,p:Ot});function n(t){return t.split("-")[0]}function i(t){return t.split("-")[1]}function a(t){return["top","bottom"].includes(n(t))?"x":"y"}function o(t){return t==="y"?"height":"width"}function l(t,e,r){var l=t.reference,s=t.floating;var f=l.x+l.width/2-s.width/2;var u=l.y+l.height/2-s.height/2;var c=a(e);var d=o(c);var v=l[d]/2-s[d]/2;var p=n(e);var h=c==="x";var g;switch(p){case"top":g={x:f,y:l.y-s.height};break;case"bottom":g={x:f,y:l.y+l.height};break;case"right":g={x:l.x+l.width,y:u};break;case"left":g={x:l.x-s.width,y:u};break;default:g={x:l.x,y:l.y}}switch(i(e)){case"start":g[c]-=v*(r&&h?-1:1);break;case"end":g[c]+=v*(r&&h?-1:1);break}return g}var s=function(t,e,n){return __awaiter(r,void 0,void 0,(function(){var r,i,a,o,s,f,u,c,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T;var E,k;return __generator(this,(function(D){switch(D.label){case 0:r=n.placement,i=r===void 0?"bottom":r,a=n.strategy,o=a===void 0?"absolute":a,s=n.middleware,f=s===void 0?[]:s,u=n.platform;return[4,u.isRTL==null?void 0:u.isRTL(e)];case 1:c=D.sent();return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 2:d=D.sent();v=l(d,i,c),p=v.x,h=v.y;g=i;m={};y=0;_=0;D.label=3;case 3:if(!(_<f.length))return[3,11];w=f[_],b=w.name,x=w.fn;return[4,x({x:p,y:h,initialPlacement:i,placement:g,strategy:o,middlewareData:m,rects:d,platform:u,elements:{reference:t,floating:e}})];case 4:A=D.sent(),R=A.x,P=A.y,L=A.data,O=A.reset;p=R!=null?R:p;h=P!=null?P:h;m=__assign(__assign({},m),(E={},E[b]=__assign(__assign({},m[b]),L),E));if(!(O&&y<=50))return[3,10];y++;if(!(typeof O==="object"))return[3,9];if(O.placement){g=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 5:T=D.sent();return[3,7];case 6:T=O.rects;D.label=7;case 7:d=T;D.label=8;case 8:k=l(d,g,c),p=k.x,h=k.y;D.label=9;case 9:_=-1;return[3,10];case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:g,strategy:o,middlewareData:m}]}}))}))};function f(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function u(t){return typeof t!=="number"?f(t):{top:t,right:t,bottom:t,left:t}}function c(t){return __assign(__assign({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}function d(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,l,s,f,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,S,H,W;var C,j;return __generator(this,(function(M){switch(M.label){case 0:if(e===void 0){e={}}n=t.x,i=t.y,a=t.platform,o=t.rects,l=t.elements,s=t.strategy;f=e.boundary,d=f===void 0?"clippingAncestors":f,v=e.rootBoundary,p=v===void 0?"viewport":v,h=e.elementContext,g=h===void 0?"floating":h,m=e.altBoundary,y=m===void 0?false:m,_=e.padding,w=_===void 0?0:_;b=u(w);x=g==="floating"?"reference":"floating";A=l[y?x:g];P=c;O=(L=a).getClippingRect;C={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((r=M.sent())!=null?r:true))return[3,2];T=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)];case 3:E=M.sent();M.label=4;case 4:T=E;M.label=5;case 5:return[4,O.apply(L,[(C.element=T,C.boundary=d,C.rootBoundary=p,C.strategy=s,C)])];case 6:R=P.apply(void 0,[M.sent()]);D=c;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];W=(H=a).convertOffsetParentRelativeRectToViewportRelativeRect;j={rect:g==="floating"?__assign(__assign({},o.floating),{x:n,y:i}):o.reference};return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)];case 7:return[4,W.apply(H,[(j.offsetParent=M.sent(),j.strategy=s,j)])];case 8:S=M.sent();return[3,10];case 9:S=o[g];M.label=10;case 10:k=D.apply(void 0,[S]);return[2,{top:R.top-k.top+b.top,bottom:k.bottom-R.bottom+b.bottom,left:R.left-k.left+b.left,right:k.right-R.right+b.right}]}}))}))}var v=Math.min;var p=Math.max;function h(t,e,r){return p(t,v(e,r))}var g=function(t){return{name:"arrow",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,l,s,f,c,d,v,p,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,S,H,W,C;var j,M;return __generator(this,(function(F){switch(F.label){case 0:r=t!=null?t:{},n=r.element,l=r.padding,s=l===void 0?0:l;f=e.x,c=e.y,d=e.placement,v=e.rects,p=e.platform;if(n==null){return[2,{}]}g=u(s);m={x:f,y:c};y=a(d);_=i(d);w=o(y);return[4,p.getDimensions(n)];case 1:b=F.sent();x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=v.reference[w]+v.reference[y]-m[y]-v.floating[w];P=m[y]-v.reference[y];return[4,p.getOffsetParent==null?void 0:p.getOffsetParent(n)];case 2:L=F.sent();O=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0;if(O===0){O=v.floating[w]}T=R/2-P/2;E=g[x];k=O-b[w]-g[A];D=O/2-b[w]/2+T;S=h(E,D,k);H=_==="start"?g[x]:g[A];W=H>0&&D!==S&&v.reference[w]<=v.floating[w];C=W?D<E?E-D:k-D:0;return[2,(j={},j[y]=m[y]-C,j.data=(M={},M[y]=S,M.centerOffset=D-S,M),j)]}}))}))}}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(function(t){return m[t]}))}function _(t,e,r){if(r===void 0){r=false}var n=i(t);var l=a(t);var s=o(l);var f=l==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){f=y(f)}return{main:f,cross:y(f)}}var w={start:"end",end:"start"};function b(t){return t.replace(/start|end/g,(function(t){return w[t]}))}var x=["top","right","bottom","left"];var A=x.reduce((function(t,e){return t.concat(e,e+"-start",e+"-end")}),[]);function R(t,e,r){var a=t?__spreadArray(__spreadArray([],r.filter((function(e){return i(e)===t})),true),r.filter((function(e){return i(e)!==t})),true):r.filter((function(t){return n(t)===t}));return a.filter((function(r){if(t){return i(r)===t||(e?b(r)!==r:false)}return true}))}var P=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,y,w,b,x,P,L,O,T,E,k,D,S,H,W,C,j,M,F,N,V;return __generator(this,(function(B){switch(B.label){case 0:s=e.x,f=e.y,u=e.rects,c=e.middlewareData,v=e.placement,p=e.platform,h=e.elements;g=t.alignment,m=g===void 0?null:g,y=t.allowedPlacements,w=y===void 0?A:y,b=t.autoAlignment,x=b===void 0?true:b,P=__rest(t,["alignment","allowedPlacements","autoAlignment"]);L=R(m,x,w);return[4,d(e,P)];case 1:O=B.sent();T=(r=(i=c.autoPlacement)==null?void 0:i.index)!=null?r:0;E=L[T];if(E==null){return[2,{}]}H=_;W=[E,u];return[4,p.isRTL==null?void 0:p.isRTL(h.floating)];case 2:k=H.apply(void 0,W.concat([B.sent()])),D=k.main,S=k.cross;if(v!==E){return[2,{x:s,y:f,reset:{placement:L[0]}}]}C=[O[n(E)],O[D],O[S]];j=__spreadArray(__spreadArray([],(a=(o=c.autoPlacement)==null?void 0:o.overflows)!=null?a:[],true),[{placement:E,overflows:C}],false);M=L[T+1];if(M){return[2,{data:{index:T+1,overflows:j},reset:{placement:M}}]}F=j.slice().sort((function(t,e){return t.overflows[0]-e.overflows[0]}));N=(l=F.find((function(t){var e=t.overflows;return e.every((function(t){return t<=0}))})))==null?void 0:l.placement;V=N!=null?N:F[0].placement;if(V!==v){return[2,{data:{index:T+1,overflows:j},reset:{placement:V}}]}return[2,{}]}}))}))}}};function L(t){var e=y(t);return[b(t),e,b(e)]}var O=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,w,b,x,A,R,P,O,T,E,k,D,S,H,W,C,j,M,F,N,V,B,z;return __generator(this,(function(I){switch(I.label){case 0:i=e.placement,a=e.middlewareData,o=e.rects,l=e.initialPlacement,s=e.platform,f=e.elements;u=t.mainAxis,c=u===void 0?true:u,v=t.crossAxis,p=v===void 0?true:v,h=t.fallbackPlacements,g=t.fallbackStrategy,m=g===void 0?"bestFit":g,w=t.flipAlignment,b=w===void 0?true:w,x=__rest(t,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]);A=n(i);R=A===l;P=h||(R||!b?[y(l)]:L(l));O=__spreadArray([l],P,true);return[4,d(e,x)];case 1:T=I.sent();E=[];k=((r=a.flip)==null?void 0:r.overflows)||[];if(c){E.push(T[A])}if(!p)return[3,3];W=_;C=[i,o];return[4,s.isRTL==null?void 0:s.isRTL(f.floating)];case 2:D=W.apply(void 0,C.concat([I.sent()])),S=D.main,H=D.cross;E.push(T[S],T[H]);I.label=3;case 3:k=__spreadArray(__spreadArray([],k,true),[{placement:i,overflows:E}],false);if(!E.every((function(t){return t<=0}))){F=((j=(M=a.flip)==null?void 0:M.index)!=null?j:0)+1;N=O[F];if(N){return[2,{data:{index:F,overflows:k},reset:{placement:N}}]}V="bottom";switch(m){case"bestFit":{z=(B=k.map((function(t){return[t,t.overflows.filter((function(t){return t>0})).reduce((function(t,e){return t+e}),0)]})).sort((function(t,e){return t[1]-e[1]}))[0])==null?void 0:B[0].placement;if(z){V=z}break}case"initialPlacement":V=l;break}if(i!==V){return[2,{reset:{placement:V}}]}}return[2,{}]}}))}))}}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return x.some((function(e){return t[e]>=0}))}var k=function(t){var e=t===void 0?{}:t,r=e.strategy,n=r===void 0?"referenceHidden":r,i=__rest(e,["strategy"]);return{name:"hide",fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a,o,a,o;return __generator(this,(function(l){switch(l.label){case 0:e=t.rects;r=n;switch(r){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,d(t,__assign(__assign({},i),{elementContext:"reference"}))];case 2:a=l.sent();o=T(a,e.reference);return[2,{data:{referenceHiddenOffsets:o,referenceHidden:E(o)}}];case 3:return[4,d(t,__assign(__assign({},i),{altBoundary:true}))];case 4:a=l.sent();o=T(a,e.floating);return[2,{data:{escapedOffsets:o,escaped:E(o)}}];case 5:{return[2,{}]}l.label=6;case 6:return[2]}}))}))}}};function D(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o,l,s,f,u,c,d,v,p,h,g,m,y;return __generator(this,(function(_){switch(_.label){case 0:r=t.placement,o=t.platform,l=t.elements;return[4,o.isRTL==null?void 0:o.isRTL(l.floating)];case 1:s=_.sent();f=n(r);u=i(r);c=a(r)==="x";d=["left","top"].includes(f)?-1:1;v=s&&c?-1:1;p=typeof e==="function"?e(t):e;h=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},p),g=h.mainAxis,m=h.crossAxis,y=h.alignmentAxis;if(u&&typeof y==="number"){m=u==="end"?y*-1:y}return[2,c?{x:m*v,y:g*d}:{x:g*d,y:m*v}]}}))}))}var S=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(a){switch(a.label){case 0:r=e.x,n=e.y;return[4,D(e,t)];case 1:i=a.sent();return[2,{x:r+i.x,y:n+i.y,data:i}]}}))}))}}};function H(t){return t==="x"?"y":"x"}var W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,o,l,s,f,u,c,v,p,g,m,y,_,w,b,x,A,R,P,x,A,L,O,T;var E;return __generator(this,(function(k){switch(k.label){case 0:r=e.x,i=e.y,o=e.placement;l=t.mainAxis,s=l===void 0?true:l,f=t.crossAxis,u=f===void 0?false:f,c=t.limiter,v=c===void 0?{fn:function(t){var e=t.x,r=t.y;return{x:e,y:r}}}:c,p=__rest(t,["mainAxis","crossAxis","limiter"]);g={x:r,y:i};return[4,d(e,p)];case 1:m=k.sent();y=a(n(o));_=H(y);w=g[y];b=g[_];if(s){x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=w+m[x];P=w-m[A];w=h(R,w,P)}if(u){x=_==="y"?"top":"left";A=_==="y"?"bottom":"right";L=b+m[x];O=b-m[A];b=h(L,b,O)}T=v.fn(__assign(__assign({},e),(E={},E[y]=w,E[_]=b,E)));return[2,__assign(__assign({},T),{data:{x:T.x-r,y:T.y-i}})]}}))}))}}};function C(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function j(t){if(t==null){return window}if(!C(t)){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function M(t){return j(t).getComputedStyle(t)}function F(t){return C(t)?"":t?(t.nodeName||"").toLowerCase():""}function N(){var t=navigator.userAgentData;if(t!=null&&t.brands){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function V(t){return t instanceof j(t).HTMLElement}function B(t){return t instanceof j(t).Element}function z(t){return t instanceof j(t).Node}function I(t){if(typeof ShadowRoot==="undefined"){return false}var e=j(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function X(t){var e=M(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Y(t){return["table","td","th"].includes(F(t))}function q(t){var e=/firefox/i.test(N());var r=M(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":false)}function G(){return!/^((?!chrome|android).)*safari/i.test(N())}var J=Math.min;var K=Math.max;var Q=Math.round;function U(t,e,r){var n,i,a,o;if(e===void 0){e=false}if(r===void 0){r=false}var l=t.getBoundingClientRect();var s=1;var f=1;if(e&&V(t)){s=t.offsetWidth>0?Q(l.width)/t.offsetWidth||1:1;f=t.offsetHeight>0?Q(l.height)/t.offsetHeight||1:1}var u=B(t)?j(t):window;var c=!G()&&r;var d=(l.left+(c?(n=(i=u.visualViewport)==null?void 0:i.offsetLeft)!=null?n:0:0))/s;var v=(l.top+(c?(a=(o=u.visualViewport)==null?void 0:o.offsetTop)!=null?a:0:0))/f;var p=l.width/s;var h=l.height/f;return{width:p,height:h,top:v,right:d+p,bottom:v+h,left:d,x:d,y:v}}function Z(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){if(B(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tt(t){return U(Z(t)).left+$(t).scrollLeft}function et(t){var e=U(t);return Q(e.width)!==t.offsetWidth||Q(e.height)!==t.offsetHeight}function rt(t,e,r){var n=V(e);var i=Z(e);var a=U(t,n&&et(e),r==="fixed");var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(n||!n&&r!=="fixed"){if(F(e)!=="body"||X(i)){o=$(e)}if(V(e)){var s=U(e,true);l.x=s.x+e.clientLeft;l.y=s.y+e.clientTop}else if(i){l.x=tt(i)}}return{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function nt(t){if(F(t)==="html"){return t}return t.assignedSlot||t.parentNode||(I(t)?t.host:null)||Z(t)}function it(t){if(!V(t)||getComputedStyle(t).position==="fixed"){return null}return t.offsetParent}function at(t){var e=nt(t);if(I(e)){e=e.host}while(V(e)&&!["html","body"].includes(F(e))){if(q(e)){return e}else{e=e.parentNode}}return null}function ot(t){var e=j(t);var r=it(t);while(r&&Y(r)&&getComputedStyle(r).position==="static"){r=it(r)}if(r&&(F(r)==="html"||F(r)==="body"&&getComputedStyle(r).position==="static"&&!q(r))){return e}return r||at(t)||e}function lt(t){if(V(t)){return{width:t.offsetWidth,height:t.offsetHeight}}var e=U(t);return{width:e.width,height:e.height}}function st(t){var e=t.rect,r=t.offsetParent,n=t.strategy;var i=V(r);var a=Z(r);if(r===a){return e}var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&n!=="fixed"){if(F(r)!=="body"||X(a)){o=$(r)}if(V(r)){var s=U(r,true);l.x=s.x+r.clientLeft;l.y=s.y+r.clientTop}}return __assign(__assign({},e),{x:e.x-o.scrollLeft+l.x,y:e.y-o.scrollTop+l.y})}function ft(t,e){var r=j(t);var n=Z(t);var i=r.visualViewport;var a=n.clientWidth;var o=n.clientHeight;var l=0;var s=0;if(i){a=i.width;o=i.height;var f=G();if(f||!f&&e==="fixed"){l=i.offsetLeft;s=i.offsetTop}}return{width:a,height:o,x:l,y:s}}function ut(t){var e;var r=Z(t);var n=$(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var a=K(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var o=K(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var l=-n.scrollLeft+tt(t);var s=-n.scrollTop;if(M(i||r).direction==="rtl"){l+=K(r.clientWidth,i?i.clientWidth:0)-a}return{width:a,height:o,x:l,y:s}}function ct(t){var e=nt(t);if(["html","body","#document"].includes(F(e))){return t.ownerDocument.body}if(V(e)&&X(e)){return e}return ct(e)}function dt(t,e){var r;if(e===void 0){e=[]}var n=ct(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var a=j(n);var o=i?[a].concat(a.visualViewport||[],X(n)?n:[]):n;var l=e.concat(o);return i?l:l.concat(dt(o))}function vt(t,e){var r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e)){return true}else if(r&&I(r)){var n=e;do{if(n&&t===n){return true}n=n.parentNode||n.host}while(n)}return false}function pt(t,e){var r=U(t,false,e==="fixed");var n=r.top+t.clientTop;var i=r.left+t.clientLeft;return{top:n,left:i,x:i,y:n,right:i+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function ht(t,e,r){if(e==="viewport"){return c(ft(t,r))}if(B(e)){return pt(e,r)}return c(ut(Z(t)))}function gt(t){var e=dt(t);var r=["absolute","fixed"].includes(M(t).position);var n=r&&V(t)?ot(t):t;if(!B(n)){return[]}return e.filter((function(t){return B(t)&&vt(t,n)&&F(t)!=="body"}))}function mt(t){var e=t.element,r=t.boundary,n=t.rootBoundary,i=t.strategy;var a=r==="clippingAncestors"?gt(e):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var l=o[0];var s=o.reduce((function(t,r){var n=ht(e,r,i);t.top=K(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=K(n.left,t.left);return t}),ht(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var yt={getClippingRect:mt,convertOffsetParentRelativeRectToViewportRelativeRect:st,isElement:B,getDimensions:lt,getOffsetParent:ot,getDocumentElement:Z,getElementRects:function(t){var e=t.reference,r=t.floating,n=t.strategy;return{reference:rt(e,ot(r),n),floating:__assign(__assign({},lt(r)),{x:0,y:0})}},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return M(t).direction==="rtl"}};function _t(t,e,r,n){if(n===void 0){n={}}var i=n.ancestorScroll,a=i===void 0?true:i,o=n.ancestorResize,l=o===void 0?true:o,s=n.elementResize,f=s===void 0?true:s,u=n.animationFrame,c=u===void 0?false:u;var d=a&&!c;var v=l&&!c;var p=d||v?__spreadArray(__spreadArray([],B(t)?dt(t):[],true),dt(e),true):[];p.forEach((function(t){d&&t.addEventListener("scroll",r,{passive:true});v&&t.addEventListener("resize",r)}));var h=null;if(f){var g=true;h=new ResizeObserver((function(){if(!g){r()}g=false}));B(t)&&!c&&h.observe(t);h.observe(e)}var m;var y=c?U(t):null;if(c){_()}function _(){var e=U(t);if(y&&(e.x!==y.x||e.y!==y.y||e.width!==y.width||e.height!==y.height)){r()}y=e;m=requestAnimationFrame(_)}r();return function(){var t;p.forEach((function(t){d&&t.removeEventListener("scroll",r);v&&t.removeEventListener("resize",r)}));(t=h)==null?void 0:t.disconnect();h=null;if(c){cancelAnimationFrame(m)}}}var wt=function(t,e,r){return s(t,e,__assign({platform:yt},r))};var bt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var xt=t("d","bottom-start");var At=t("F",{animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"});function Rt(t){var e=t.placement,r=t.disableFlip,n=t.flipPlacements,i=t.offsetDistance,a=t.offsetSkidding,o=t.arrowEl,l=t.type;var s=[W(),k()];if(l==="menu"){return __spreadArray(__spreadArray([],s,true),[O({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})],false)}if(l==="popover"||l==="tooltip"){var f=__spreadArray(__spreadArray([],s,true),[S({mainAxis:typeof i==="number"?i:0,crossAxis:typeof a==="number"?a:0})],false);if(e==="auto"||e==="auto-start"||e==="auto-end"){f.push(P({alignment:e==="auto-start"?"start":e==="auto-end"?"end":null}))}else if(!r){f.push(O(n?{fallbackPlacements:n}:{}))}if(o){f.push(g({element:o}))}return f}return[]}function Pt(t,e){var r=t.filter((function(t){return bt.includes(t)}));if(r.length!==t.length){console.warn("".concat(e.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(bt.map((function(t){return'"'.concat(t,'"')})).join(", ").trim()),{el:e})}return r}function Lt(t,r){var n=["left","right"];if(e(t)==="rtl"){n.reverse()}return r.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function Ot(t){var e=t.referenceEl,r=t.floatingEl,n=t.overlayPositioning,i=n===void 0?"absolute":n,a=t.placement,o=t.disableFlip,l=t.flipPlacements,s=t.offsetDistance,f=t.offsetSkidding,u=t.arrowEl,c=t.type;return __awaiter(this,void 0,void 0,(function(){var t,n,d,v,p,h,g,m,y,_,w,b,x,A;return __generator(this,(function(R){switch(R.label){case 0:if(!e||!r){return[2,null]}return[4,wt(e,r,{strategy:i,placement:a==="auto"||a==="auto-start"||a==="auto-end"?undefined:Lt(r,a),middleware:Rt({placement:a,disableFlip:o,flipPlacements:l,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:c})})];case 1:n=R.sent(),d=n.x,v=n.y,p=n.placement,h=n.strategy,g=n.middlewareData;if(g===null||g===void 0?void 0:g.arrow){m=g.arrow,y=m.x,_=m.y;Object.assign(u.style,{left:y!=null?"".concat(y,"px"):"",top:_!=null?"".concat(_,"px"):""})}w=(t=g===null||g===void 0?void 0:g.hide)===null||t===void 0?void 0:t.referenceHidden;b=w?"hidden":null;x=b?"none":null;r.setAttribute("data-placement",p);A="translate(".concat(Math.round(d),"px,").concat(Math.round(v),"px)");Object.assign(r.style,{visibility:b,pointerEvents:x,position:h,top:"0",left:"0",transform:A});return[2]}}))}))}var Tt=new WeakMap;function Et(t,e,r){if(!r||!e){return}kt(t,e,r);Tt.set(t,_t(e,r,(function(){if(t.open){t.reposition()}})))}function kt(t,e,r){if(!r||!e){return}var n=Tt.get(t);if(n){n()}Tt.delete(t)}var Dt=4;var St=t("b",Math.ceil(Math.hypot(Dt,Dt)))}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.90
|
|
5
5
|
*/
|
|
6
|
-
System.register(["./p-
|
|
6
|
+
System.register(["./p-323d70d2.system.js"],(function(a){"use strict";var t,i,e;return{setters:[function(a){t=a.r;i=a.h;e=a.g}],execute:function(){var n="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:0;inline-size:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{z-index:0;background-color:var(--calcite-ui-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;-webkit-animation:looping-progress-bar-ani 2200ms linear infinite;animation:looping-progress-bar-ani 2200ms linear infinite}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium)}@-webkit-keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}";var r=a("calcite_progress",function(){function a(a){t(this,a);this.type="determinate";this.value=0;this.reversed=false}a.prototype.render=function(){var a=this.type==="determinate";var t=a?{width:"".concat(this.value*100,"%")}:{};return i("div",{"aria-label":this.label||this.text,"aria-valuemax":1,"aria-valuemin":0,"aria-valuenow":this.value,role:"progressbar"},i("div",{class:"track"},i("div",{class:{bar:true,indeterminate:this.type==="indeterminate",reversed:this.reversed},style:t})),this.text?i("div",{class:"text"},this.text):null)};Object.defineProperty(a.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return a}());r.style=n}}}));
|
|
@@ -2,6 +2,6 @@ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setP
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-beta.
|
|
5
|
+
* v1.0.0-beta.90
|
|
6
6
|
*/System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n=e("N","calcite");var a;var i;var l=false;var $=false;var o=typeof window!=="undefined"?window:{};var s=e("d",o.document||{head:{}});var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var u=true;var c=e("p",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=p(e,n);var $=h(t,i);var o=m(n);f.ael(l,a,$,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return f.rel(l,a,$,o)}))}))}};var h=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){ze(e)}}};var p=function(e,t){if(t&4)return s;if(t&8)return o;if(t&16)return s.body;return e};var m=function(e){return(e&2)!==0};var g="r";var y="o";var b="s";var w="t";var N="s-id";var x="sty-id";var R="c-id";var S="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var _="http://www.w3.org/1999/xlink";var k=function(e,t){if(t===void 0){t=""}{return function(){return}}};var L=function(e,t){{return function(){return}}};var A=new WeakMap;var C=function(e,t,r){var n=Be.get(e);if(v&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Be.set(e,n)};var E=function(e,t,r,n){var a=j(t);var i=Be.get(a);e=e.nodeType===11?e:s;if(i){if(typeof i==="string"){e=e.head||e;var l=A.get(e);var $=void 0;if(!l){A.set(e,l=new Set)}if(!l.has(a)){if(e.host&&($=e.querySelector("[".concat(x,'="').concat(a,'"]')))){$.innerHTML=i}else{{$=s.createElement("style");$.innerHTML=i}e.insertBefore($,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var I=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=k("attachStyles",t.$tagName$);var i=E(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var j=function(e,t){return"sc-"+e.$tagName$};var T=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var P={};var M="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var z=function(e){return e!=null};var U=function(e){e=typeof e;return e==="object"||e==="function"};var q=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=false;var $=false;var o=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!U(a)){a=String(a)}if(l&&$){o[o.length-1].$text$+=a}else{o.push(l?B(null,a):a)}$=l}}};s(r);if(t){if(t.key){i=t.key}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,o,W)}var u=B(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}{u.$key$=i}return u}));var B=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var V=e("H",{});var H=function(e){return e&&e.$tag$===V};var W={forEach:function(e,t){return e.map(F).forEach(t)},map:function(e,t){return e.map(F).map(t).map(D)}};var F=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var D=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return q.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=B(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var G=function(e,t,r,n,a,i){if(r!==n){var l=Oe(e,t);var $=t.toLowerCase();if(t==="class"){var s=e.classList;var u=K(r);var c=K(n);s.remove.apply(s,u.filter((function(e){return e&&!c.includes(e)})));s.add.apply(s,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Oe(o,$)){t=$.slice(2)}else{t=$[2]+t.slice(3)}if(r){f.rel(e,t,r,false)}if(n){f.ael(e,t,n,false)}}else{var d=U(n);if((l||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var h=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=h){e[t]=h}}else{e[t]=n}}catch(e){}}var p=false;{if($!==($=$.replace(/^xlink\:?/,""))){t=$;p=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(_,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){n=n===true?"":n;if(p){e.setAttributeNS(_,t,n)}else{e.setAttribute(t,n)}}}}};var J=/\s/;var K=function(e){return!e?[]:e.split(J)};var Q=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||P;var l=t.$attrs$||P;{for(n in i){if(!(n in l)){G(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){G(a,n,i[n],l[n],r,t.$flags$)}};var X=function(e,t,r,n){var i=t.$children$[r];var $=0;var o;var f;if(i.$text$!==null){o=i.$elm$=s.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=s.createElementNS(l?M:O,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{Q(null,i,l)}if(z(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for($=0;$<i.$children$.length;++$){f=X(e,i,$);if(f){o.appendChild(f)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var Y=function(e,t,r,n,a,l){var $=e;var o;if($.shadowRoot&&$.tagName===i){$=$.shadowRoot}for(;a<=l;++a){if(n[a]){o=X(null,r,a);if(o){n[a].$elm$=o;$.insertBefore(o,t)}}}};var Z=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;ne(n);a.remove()}}};var ee=function(e,t,r,n){var a=0;var i=0;var l=0;var $=0;var o=t.length-1;var s=t[0];var f=t[o];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=o&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--o]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(te(s,c)){re(s,c);s=t[++a];c=n[++i]}else if(te(f,v)){re(f,v);f=t[--o];v=n[--u]}else if(te(s,v)){re(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=n[--u]}else if(te(f,c)){re(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--o];c=n[++i]}else{l=-1;{for($=a;$<=o;++$){if(t[$]&&t[$].$key$!==null&&t[$].$key$===c.$key$){l=$;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=X(t&&t[i],r,l)}else{re(h,c);t[l]=undefined;d=h.$elm$}c=n[++i]}else{d=X(t&&t[i],r,i);c=n[++i]}if(d){{s.$elm$.parentNode.insertBefore(d,s.$elm$)}}}}if(a>o){Y(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){Z(t,a,o)}};var te=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var re=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var $=t.$text$;if($===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{Q(e,t,l)}}if(n!==null&&a!==null){ee(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}Y(r,null,t,a,0,a.length-1)}else if(n!==null){Z(n,0,n.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==$){r.data=$}};var ne=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(ne)}};var ae=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||B(null,null);var $=H(t)?t:q(null,null,t);i=r.tagName;if(n.$attrsToReflect$){$.$attrs$=$.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return $.$attrs$[n]=r[t]}))}$.$tag$=null;$.$flags$|=4;e.$vnode$=$;$.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}re(l,$)};var ie=e("g",(function(e){return Te(e).$hostElement$}));var le=e("c",(function(e,t,r){var n=ie(e);return{emit:function(e){return $e(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var $e=function(e,t,r){var n=f.ce(t,r);e.dispatchEvent(n);return n};var oe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var se=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}oe(e,e.$ancestorComponent$);var r=function(){return fe(e,t)};return Je(r)};var fe=function(e,t){var r=k("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return pe(n,t,r)}));e.$queuedListeners$=null}}{a=pe(n,"componentWillLoad")}}{a=me(a,(function(){return pe(n,"componentWillRender")}))}r();return me(a,(function(){return ue(e,n,t)}))};var ue=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,$,o;return __generator(this,(function(s){r=e.$hostElement$;a=k("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){I(e)}l=k("render",e.$cmpMeta$.$tagName$);{ce(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{$=r["s-p"];o=function(){return ve(e)};if($.length===0){o()}else{Promise.all($).then(o);e.$flags$|=4;$.length=0}}return[2]}))}))};var ce=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{ae(e,t)}}}}catch(t){ze(t,e.$hostElement$)}return null};var ve=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=k("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{pe(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{ge(r)}{pe(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){he()}}}else{n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Ge((function(){return se(e,false)}))}e.$flags$&=~(4|512)}};var de=e("f",(function(e){{var t=Te(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){se(t,false)}return r}}));var he=function(e){{ge(s.documentElement)}Ge((function(){return $e(o,"appload",{detail:{namespace:n}})}))};var pe=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){ze(e)}}return undefined};var me=function(e,t){return e&&e.then?e.then(t):t()};var ge=function(e){return e.setAttribute("calcite-hydrated","")};var ye=function(e,t,r,n){var a=k("hydrateClient",t);var i=e.shadowRoot;var l=[];var $=[];var o=i?[]:null;var c=n.$vnode$=B(t,null);if(!f.$orgLocNodes$){we(s.body,f.$orgLocNodes$=new Map)}e[N]=r;e.removeAttribute(N);be(c,l,$,o,e,e,r);l.map((function(e){var r=e.$hostId$+"."+e.$nodeId$;var n=f.$orgLocNodes$.get(r);var a=e.$elm$;if(n&&u&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}f.$orgLocNodes$.delete(r)}));if(i){o.map((function(e){if(e){i.appendChild(e)}}))}a()};var be=function(e,t,r,n,a,i,l){var $;var o;var f;var u;if(i.nodeType===1){$=i.getAttribute(R);if($){o=$.split(".");if(o[0]===l||o[0]==="0"){f={$flags$:0,$hostId$:o[0],$nodeId$:o[1],$depth$:o[2],$index$:o[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(f);i.removeAttribute(R);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;e=f;if(n&&f.$depth$==="0"){n[f.$index$]=f.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){be(e,t,r,n,a,i.childNodes[u],l)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){be(e,t,r,n,a,i.shadowRoot.childNodes[u],l)}}}else if(i.nodeType===8){o=i.nodeValue.split(".");if(o[1]===l||o[1]==="0"){$=o[0];f={$flags$:0,$hostId$:o[1],$nodeId$:o[2],$depth$:o[3],$index$:o[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if($===w){f.$elm$=i.nextSibling;if(f.$elm$&&f.$elm$.nodeType===3){f.$text$=f.$elm$.textContent;t.push(f);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;if(n&&f.$depth$==="0"){n[f.$index$]=f.$elm$}}}else if(f.$hostId$===l){if($===b){f.$tag$="slot";if(o[5]){i["s-sn"]=f.$name$=o[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){f.$elm$=s.createElement(f.$tag$);if(f.$name$){f.$elm$.setAttribute("name",f.$name$)}i.parentNode.insertBefore(f.$elm$,i);i.remove();if(f.$depth$==="0"){n[f.$index$]=f.$elm$}}r.push(f);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f}else if($===g){if(n){i.remove()}}}}}else if(e&&e.$tag$==="style"){var c=B(null,i.textContent);c.$elm$=i;c.$index$="0";e.$children$=[c]}};var we=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){we(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){we(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===y){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Ne=function(e,t){if(e!=null&&!U(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var xe=function(e,t){return Te(e).$instanceValues$.get(t)};var Re=function(e,t,r,n){var a=Te(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var $=a.$flags$;var o=a.$lazyInstance$;r=Ne(r,n.$members$[t][0]);var s=Number.isNaN(l)&&Number.isNaN(r);var f=r!==l&&!s;if((!($&8)||l===undefined)&&f){a.$instanceValues$.set(t,r);if(o){if(n.$watchers$&&$&128){var u=n.$watchers$[t];if(u){u.map((function(e){try{o[e](r,l,t)}catch(e){ze(e,i)}}))}}if(($&(2|16))===2){if(o.componentShouldUpdate){if(o.componentShouldUpdate(r,l,t)===false){return}}se(a,false)}}}};var Se=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return xe(this,n)},set:function(e){Re(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=Te(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;f.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var _e=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,$,o,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=qe(n);if(!i.then)return[3,2];e=L();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Se(i,n,2);i.isProxied=true}r=k("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){ze(e)}{t.$flags$&=~8}{t.$flags$|=128}r();ke(t.$lazyInstance$);if(i.style){a=i.style;l=j(n);if(!Be.has(l)){$=k("registerStyles",n.$tagName$);C(l,a,!!(n.$flags$&1));$()}}f.label=3;case 3:o=t.$ancestorComponent$;s=function(){return se(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}return[2]}}))}))};var ke=function(e){{pe(e,"connectedCallback")}};var Le=function(e){if((f.$flags$&1)===0){var t=Te(e);var r=t.$cmpMeta$;var n=k("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(N);if(a){if(r.$flags$&1){var i=E(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}ye(e,r.$tagName$,a,t)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){oe(t,t.$ancestorComponent$=l);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{_e(e,t,r)}}else{d(e,t,r.$listeners$);ke(t.$lazyInstance$)}n()}};var Ae=function(e){if((f.$flags$&1)===0){var t=Te(e);var r=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{pe(r,"disconnectedCallback")}}};var Ce=e("b",(function(e,t){if(t===void 0){t={}}var r=k();var n=[];var a=t.exclude||[];var i=o.customElements;var l=s.head;var $=l.querySelector("meta[charset]");var u=s.createElement("style");var c=[];var v=s.querySelectorAll("[".concat(x,"]"));var d;var h=true;var p=0;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",s.baseURI).href;{f.$flags$|=2}{for(;p<v.length;p++){C(v[p].getAttribute(x),T(v[p].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var $=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Me(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{f.jmp((function(){return Le(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return Ae(e)}))};t.prototype.componentOnReady=function(){return Te(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Se($,r,1))}}))}));{u.innerHTML=n+S;u.setAttribute("data-styles","");l.insertBefore(u,$?$.nextSibling:l.firstChild)}h=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return d=setTimeout(he,30)}))}}r()}));var Ee=e("a",(function(e){var t=new URL(e,f.$resourcesUrl$);return t.origin!==o.location.origin?t.href:t.pathname}));var Ie=e("F",(function(e,t){return t}));var je=new WeakMap;var Te=function(e){return je.get(e)};var Pe=e("r",(function(e,t){return je.set(t.$lazyInstance$=e,t)}));var Me=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}d(e,r,t.$listeners$);return je.set(e,r)};var Oe=function(e,t){return t in e};var ze=function(e,t){return(0,console.error)(e,t)};var Ue=new Map;var qe=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Ue.get(i);if(l){return l[a]}
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{Ue.set(i,e)}return e[a]}),ze)};var Be=new Map;var Ve=[];var He=[];var We=function(e,t){return function(r){e.push(r);if(!$){$=true;if(t&&f.$flags$&4){Ge(De)}else{f.raf(De)}}}};var Fe=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){ze(e)}}e.length=0};var De=function(){Fe(Ve);{Fe(He);if($=Ve.length>0){f.raf(De)}}};var Ge=function(e){return c().then(e)};var Je=We(He,true)}}}));
|
|
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t ins
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-beta.
|
|
6
|
-
*/System.register(["./p-
|
|
5
|
+
* v1.0.0-beta.90
|
|
6
|
+
*/System.register(["./p-323d70d2.system.js","./p-0c5ffab1.system.js","./p-865fc8c9.system.js","./p-308ddc30.system.js","./p-2cfdb770.system.js","./p-0b2b216f.system.js"],(function(t){"use strict";var e,i,n,a,o,r,c,s,l,u,h,f,d,m;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g},function(t){r=t.g},function(t){c=t.c;s=t.d;l=t.H},function(t){u=t.c;h=t.d;f=t.g},function(t){d=t.u},function(t){m=t.t}],execute:function(){var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var p=t("calcite_checkbox",function(){function t(t){var n=this;e(this,t);this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",7);this.calciteCheckboxChange=i(this,"calciteCheckboxChange",7);this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",7);this.checked=false;this.disabled=false;this.hovered=false;this.indeterminate=false;this.required=false;this.scale="m";this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z";this.indeterminatePath="M13 8v1H3V8z";this.getPath=function(){return n.indeterminate?n.indeterminatePath:n.checked?n.checkedPath:""};this.toggle=function(){if(!n.disabled){n.checked=!n.checked;n.setFocus();n.indeterminate=false;n.calciteCheckboxChange.emit()}};this.keyDownHandler=function(t){if(t.key===" "||t.key==="Enter"){n.toggle();t.preventDefault()}};this.clickHandler=function(){n.toggle()};this.onToggleBlur=function(){n.calciteInternalCheckboxBlur.emit(false)};this.onToggleFocus=function(){n.calciteInternalCheckboxFocus.emit(true)};this.onLabelClick=function(){n.toggle()}}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.toggleEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.connectedCallback=function(){this.guid=this.el.id||"calcite-checkbox-".concat(r());u(this);c(this)};t.prototype.disconnectedCallback=function(){h(this);s(this)};t.prototype.componentDidRender=function(){d(this)};t.prototype.render=function(){var t=this;return n(a,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},n("div",{"aria-checked":m(this.checked),"aria-label":f(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:function(e){return t.toggleEl=e},role:"checkbox",tabIndex:this.disabled?undefined:0},n("svg",{class:"check-svg",viewBox:"0 0 16 16"},n("path",{d:this.getPath()})),n("slot",null)),n(l,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());p.style=b}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.90
|
|
5
5
|
*/
|
|
6
|
-
import{a as n}from"./p-
|
|
6
|
+
import{a as n}from"./p-be20f015.js";import{a as t}from"./p-0490bbfe.js";const e={},a={};async function r(o){const s=function(n=""){return t.indexOf(n)>-1?n:((n=n.toLowerCase()).includes("-")&&(n=n.replace(/(\w+)-(\w+)/,((n,t,e)=>`${t}-${e.toUpperCase()}`)),t.includes(n)||(n=n.split("-")[0])),t.includes(n)?n:"en")}(o);if(e[s])return e[s];a[s]||(a[s]=fetch(n(`./assets/date-picker/nls/${s}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${s}" not found or invalid, falling back to english`),r("en")))));const i=await a[s];return e[s]=i,i}function o(n,t,e){const a=n.getTime(),r=!(t instanceof Date)||a>=t.getTime(),o=!(e instanceof Date)||a<=e.getTime();return r&&o}function s(n,t,e){if(!(n instanceof Date))return null;const a=n.getTime(),r=t instanceof Date&&a<t.getTime(),o=e instanceof Date&&a>e.getTime();return r?t:o?e:n}function i(n){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const t=n.split(/[: T-]/).map(parseFloat),e=new Date(t[0],(t[1]||1)-1,t[2]||1);if(e.setFullYear(t[0]),isNaN(e.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return e}function u(n){return"string"==typeof n?n:n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function f(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function c(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function p(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function D(n,t){return String(n).split("").map((n=>t.numerals[n])).join("")}function l(n,t){return parseInt(n.split("").map((n=>"0123456789"[t.numerals.indexOf(n)])).filter((n=>n)).join(""))}function w(n,t){const{separator:e,unitOrder:a}=t,r=d(a),o=function(n=""){return n.replace(/[\u0660-\u0669]/g,(n=>n.charCodeAt(0)-1632)).replace(/[\u06f0-\u06f9]/g,(n=>n.charCodeAt(0)-1776))}(n).split(e);return{day:parseInt(o[r.indexOf("d")]),month:parseInt(o[r.indexOf("m")])-1,year:parseInt(o[r.indexOf("y")])}}function d(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function h(n,t){return(n.getTime()-t.getTime())/864e5}const m=2,g={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{m as H,g as T,i as a,s as b,h as c,u as d,d as e,c as f,r as g,l as h,o as i,D as l,p as n,w as p,f as s}
|
|
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t ins
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-beta.
|
|
6
|
-
*/System.register(["./p-86c1da3b.system.js","./p-7792e0a6.system.js","./p-8f1ef9e3.system.js","./p-c6ca0a3f.system.js","./p-47e17bfe.system.js","./p-d2ab4bdc.system.js"],(function(t){"use strict";var e,i,n,a,o,c,s,l,r;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.g},function(t){o=t.S},function(t){c=t.s;s=t.g},function(t){l=t.c;r=t.d},function(){},function(){}],execute:function(){var m={close:"Close"};var f={title:"title",message:"message",link:"link",actionsEnd:"actions-end"};var u={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"};var d="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;-ms-flex-align:center;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([open]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-block-size:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";var p=t("calcite_notice",function(){function t(t){var n=this;e(this,t);this.calciteNoticeClose=i(this,"calciteNoticeClose",7);this.calciteNoticeOpen=i(this,"calciteNoticeOpen",7);this.active=false;this.open=false;this.color="blue";this.dismissible=false;this.closable=false;this.intlClose=m.close;this.scale="m";this.width="auto";this.close=function(){n.open=false;n.calciteNoticeClose.emit()}}t.prototype.activeHandler=function(t){this.open=t};t.prototype.openHandler=function(t){this.active=t};t.prototype.updateRequestedIcon=function(){this.requestedIcon=c(o,this.icon,this.color)};t.prototype.connectedCallback=function(){l(this);var t=this.active||this.open;if(t){this.activeHandler(t);this.openHandler(t)}};t.prototype.disconnectedCallback=function(){r(this)};t.prototype.componentWillLoad=function(){this.requestedIcon=c(o,this.icon,this.color)};t.prototype.render=function(){var t=this;var e=this.el;var i=n("button",{"aria-label":this.intlClose,class:u.close,onClick:this.close,ref:function(e){return t.closeButton=e}},n("calcite-icon",{icon:"x",scale:this.scale==="l"?"m":"s"}));var a=s(e,f.actionsEnd);return n("div",{class:u.container},this.requestedIcon?n("div",{class:u.icon},n("calcite-icon",{icon:this.requestedIcon,scale:this.scale==="l"?"m":"s"})):null,n("div",{class:u.content},n("slot",{name:f.title}),n("slot",{name:f.message}),n("slot",{name:f.link})),a?n("div",{class:u.actionsEnd},n("slot",{name:f.actionsEnd})):null,this.closable||this.dismissible?i:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.el.querySelector("calcite-link");if(!this.closeButton&&!t){return[2]}if(t){t.setFocus()}else if(this.closeButton){this.closeButton.focus()}return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["openHandler"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}},enumerable:false,configurable:true});return t}());p.style=d}}}));
|
|
5
|
+
* v1.0.0-beta.90
|
|
6
|
+
*/System.register(["./p-323d70d2.system.js","./p-5a6073a2.system.js","./p-0b2b216f.system.js","./p-e3449d19.system.js","./p-0c5ffab1.system.js","./p-495a7226.system.js"],(function(t){"use strict";var e,i,n,a,o,c,s,l,r;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.g},function(t){o=t.S},function(t){c=t.s;s=t.g},function(t){l=t.c;r=t.d},function(){},function(){}],execute:function(){var m={close:"Close"};var f={title:"title",message:"message",link:"link",actionsEnd:"actions-end"};var u={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"};var d="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;-ms-flex-align:center;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([open]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-block-size:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";var p=t("calcite_notice",function(){function t(t){var n=this;e(this,t);this.calciteNoticeClose=i(this,"calciteNoticeClose",7);this.calciteNoticeOpen=i(this,"calciteNoticeOpen",7);this.active=false;this.open=false;this.color="blue";this.dismissible=false;this.closable=false;this.intlClose=m.close;this.scale="m";this.width="auto";this.close=function(){n.open=false;n.calciteNoticeClose.emit()}}t.prototype.activeHandler=function(t){this.open=t};t.prototype.openHandler=function(t){this.active=t};t.prototype.updateRequestedIcon=function(){this.requestedIcon=c(o,this.icon,this.color)};t.prototype.connectedCallback=function(){l(this);var t=this.active||this.open;if(t){this.activeHandler(t);this.openHandler(t)}};t.prototype.disconnectedCallback=function(){r(this)};t.prototype.componentWillLoad=function(){this.requestedIcon=c(o,this.icon,this.color)};t.prototype.render=function(){var t=this;var e=this.el;var i=n("button",{"aria-label":this.intlClose,class:u.close,onClick:this.close,ref:function(e){return t.closeButton=e}},n("calcite-icon",{icon:"x",scale:this.scale==="l"?"m":"s"}));var a=s(e,f.actionsEnd);return n("div",{class:u.container},this.requestedIcon?n("div",{class:u.icon},n("calcite-icon",{icon:this.requestedIcon,scale:this.scale==="l"?"m":"s"})):null,n("div",{class:u.content},n("slot",{name:f.title}),n("slot",{name:f.message}),n("slot",{name:f.link})),a?n("div",{class:u.actionsEnd},n("slot",{name:f.actionsEnd})):null,this.closable||this.dismissible?i:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.el.querySelector("calcite-link");if(!this.closeButton&&!t){return[2]}if(t){t.setFocus()}else if(this.closeButton){this.closeButton.focus()}return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["openHandler"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}},enumerable:false,configurable:true});return t}());p.style=d}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.90
|
|
5
5
|
*/
|
|
6
|
-
import{r as a,c as t,h as i,H as n,g as e}from"./p-
|
|
6
|
+
import{r as a,c as t,h as i,H as n,g as e}from"./p-be20f015.js";import{c as o}from"./p-de3ab3bb.js";const r=class{constructor(i){a(this,i),this.calciteRadioButtonGroupChange=t(this,"calciteRadioButtonGroupChange",7),this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.required=!1,this.scale="m",this.mutationObserver=o("mutation",(()=>this.passPropsToRadioButtons())),this.passPropsToRadioButtons=()=>{const a=this.el.querySelectorAll("calcite-radio-button");a.length>0&&a.forEach((a=>{a.disabled=this.disabled||a.disabled,a.hidden=this.hidden,a.name=this.name,a.required=this.required,a.scale=this.scale}))}}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){var a;this.passPropsToRadioButtons(),null===(a=this.mutationObserver)||void 0===a||a.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var a;null===(a=this.mutationObserver)||void 0===a||a.disconnect()}radioButtonChangeHandler(a){this.calciteRadioButtonGroupChange.emit(a.target.value)}render(){return i(n,{role:"radiogroup"},i("slot",null))}get el(){return e(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};r.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;max-inline-size:100vw}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";export{r as calcite_radio_button_group}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.90
|
|
5
|
+
*/
|
|
6
|
+
System.register(["./p-323d70d2.system.js","./p-0b2b216f.system.js","./p-e3449d19.system.js","./p-06f79335.system.js","./p-0c5ffab1.system.js","./p-495a7226.system.js"],(function(t){"use strict";var e,a,n,i,o,r,l,s,c,d,m;return{setters:[function(t){e=t.r;a=t.h;n=t.F;i=t.g;o=t.c;r=t.f},function(t){l=t.g;s=t.a},function(t){c=t.c;d=t.d},function(t){m=t.c},function(){},function(){}],execute:function(){var p={main:"main",mainReversed:"main--reversed",content:"content",contentBehind:"content--behind",footer:"footer"};var f={centerRow:"center-row",primaryPanel:"primary-panel",contextualPanel:"contextual-panel",panelStart:"panel-start",panelEnd:"panel-end",header:"header",footer:"footer"};var h="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;z-index:0;border-width:0px;display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing);z-index:2}";var u=t("calcite_shell",function(){function t(t){e(this,t);this.contentBehind=false}t.prototype.connectedCallback=function(){c(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.renderHeader=function(){var t=!!l(this.el,f.header);return t?a("slot",{key:"header",name:f.header}):null};t.prototype.renderContent=function(){var t;var e=a("slot",{key:"default-slot"});var n=a("slot",{key:"center-row-slot",name:f.centerRow});var i="content-container";var o=!!this.contentBehind?[a("div",{class:(t={},t[p.content]=true,t[p.contentBehind]=true,t),key:i},e),n]:[a("div",{class:p.content,key:i},e,n)];return o};t.prototype.renderFooter=function(){var t=!!l(this.el,f.footer);return t?a("div",{class:p.footer,key:"footer"},a("slot",{name:f.footer})):null};t.prototype.renderMain=function(){var t;var e=l(this.el,f.primaryPanel);var n=(t={},t[p.main]=true,t[p.mainReversed]=(e===null||e===void 0?void 0:e.position)==="end",t);return a("div",{class:n},a("slot",{name:f.primaryPanel}),a("slot",{name:f.panelStart}),this.renderContent(),a("slot",{name:f.panelEnd}),a("slot",{name:f.contextualPanel}))};t.prototype.render=function(){return a(n,null,this.renderHeader(),this.renderMain(),this.renderFooter())};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());u.style=h;var w={actionBarContainer:"action-bar-container",content:"content"};var b={actionBar:"action-bar"};var x="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@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)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";var v=t("calcite_shell_center_row",function(){function t(t){e(this,t);this.detached=false;this.heightScale="s";this.position="end"}t.prototype.connectedCallback=function(){c(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.render=function(){var t=this.el;var e=a("div",{class:w.content},a("slot",null));var i=l(t,b.actionBar);var o=i?a("div",{class:w.actionBarContainer,key:"action-bar"},a("slot",{name:b.actionBar})):null;var r=[o,e];if((i===null||i===void 0?void 0:i.position)==="end"){r.reverse()}return a(n,null,r)};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());v.style=x;var y={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentDetached:"content--detached",separator:"separator"};var k={actionBar:"action-bar",header:"header"};var g={resize:"Resize"};var D="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;z-index:10;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var z=t("calcite_shell_panel",function(){function t(t){var a=this;e(this,t);this.calciteShellPanelToggle=o(this,"calciteShellPanelToggle",7);this.collapsed=false;this.detached=false;this.detachedHeightScale="l";this.widthScale="m";this.intlResize=g.resize;this.resizable=false;this.contentWidth=null;this.initialContentWidth=null;this.initialClientX=null;this.contentWidthMax=null;this.contentWidthMin=null;this.step=1;this.stepMultiplier=10;this.storeContentEl=function(t){a.contentEl=t};this.getKeyAdjustedWidth=function(t){var e=t.key;var n=a,i=n.el,o=n.step,r=n.stepMultiplier,l=n.contentWidthMin,c=n.contentWidthMax,d=n.initialContentWidth,m=n.position;var p=o*r;var f=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"];if(f.indexOf(e)>-1){t.preventDefault()}var h=s(i);var u=["ArrowLeft","ArrowRight"];var w=h==="rtl"&&u.includes(e)?-1:1;var b=e==="ArrowUp"||(m==="end"?e===u[0]:e===u[1]);if(b){var x=t.shiftKey?p:o;return d+w*x}var v=e==="ArrowDown"||(m==="end"?e===u[1]:e===u[0]);if(v){var x=t.shiftKey?p:o;return d-w*x}if(typeof l==="number"&&e==="Home"){return l}if(typeof c==="number"&&e==="End"){return c}if(e==="PageDown"){return d-p}if(e==="PageUp"){return d+p}return null};this.separatorKeyDown=function(t){a.setInitialContentWidth();var e=a.getKeyAdjustedWidth(t);if(typeof e==="number"){a.setContentWidth(e)}};this.separatorPointerMove=function(t){t.preventDefault();var e=a,n=e.el,i=e.initialContentWidth,o=e.position,r=e.initialClientX;var l=t.clientX-r;var c=s(n);var d=c==="rtl"?-1:1;var m=o==="end"?-d*l:d*l;var p=i+m;a.setContentWidth(p)};this.separatorPointerUp=function(t){t.preventDefault();document.removeEventListener("pointerup",a.separatorPointerUp);document.removeEventListener("pointermove",a.separatorPointerMove)};this.setInitialContentWidth=function(){var t;a.initialContentWidth=(t=a.contentEl)===null||t===void 0?void 0:t.getBoundingClientRect().width};this.separatorPointerDown=function(t){t.preventDefault();var e=a.separatorEl;e&&document.activeElement!==e&&e.focus();a.setInitialContentWidth();a.initialClientX=t.clientX;document.addEventListener("pointerup",a.separatorPointerUp);document.addEventListener("pointermove",a.separatorPointerMove)};this.connectSeparator=function(t){a.disconnectSeparator();a.separatorEl=t;t.addEventListener("pointerdown",a.separatorPointerDown)};this.disconnectSeparator=function(){var t;(t=a.separatorEl)===null||t===void 0?void 0:t.removeEventListener("pointerdown",a.separatorPointerDown)}}t.prototype.watchHandler=function(){this.calciteShellPanelToggle.emit()};t.prototype.connectedCallback=function(){c(this)};t.prototype.disconnectedCallback=function(){d(this);this.disconnectSeparator()};t.prototype.componentDidLoad=function(){this.updateAriaValues()};t.prototype.renderHeader=function(){var t=this.el;var e=l(t,k.header);return e?a("div",{class:y.contentHeader,key:"header"},a("slot",{name:k.header})):null};t.prototype.render=function(){var t,e;var n=this,i=n.collapsed,o=n.detached,r=n.position,l=n.initialContentWidth,s=n.contentWidth,c=n.contentWidthMax,d=n.contentWidthMin,m=n.intlResize,p=n.resizable;var f=!o&&p;var h=a("div",{class:(t={},t[y.content]=true,t[y.contentDetached]=o,t),hidden:i,key:"content",ref:this.storeContentEl,style:f&&s?{width:"".concat(s,"px")}:null},this.renderHeader(),a("div",{class:y.contentBody},a("slot",null)));var u=f?a("div",{"aria-label":m,"aria-orientation":"horizontal","aria-valuemax":c,"aria-valuemin":d,"aria-valuenow":s!==null&&s!==void 0?s:l,class:y.separator,key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null;var w=a("slot",{key:"action-bar",name:k.actionBar});var b=[w,h,u];if(r==="end"){b.reverse()}return a("div",{class:(e={},e[y.container]=true,e)},b)};t.prototype.setContentWidth=function(t){var e=this,a=e.contentWidthMax,n=e.contentWidthMin;var i=Math.round(t);this.contentWidth=typeof a==="number"&&typeof n==="number"?m(i,n,a):i};t.prototype.updateAriaValues=function(){var t=this.contentEl;var e=t&&getComputedStyle(t);if(!e){return}var a=parseInt(e.getPropertyValue("max-width"),10);var n=parseInt(e.getPropertyValue("min-width"),10);var i=parseInt(e.getPropertyValue("width"),10);if(typeof i==="number"&&!isNaN(i)){this.initialContentWidth=i}if(typeof a==="number"&&!isNaN(a)){this.contentWidthMax=a}if(typeof n==="number"&&!isNaN(n)){this.contentWidthMin=n}r(this)};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{collapsed:["watchHandler"]}},enumerable:false,configurable:true});return t}());z.style=D}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,a,e
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,a,n,e){function i(t){return t instanceof n?t:new n((function(a){a(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{l(e.next(t))}catch(t){o(t)}}function c(t){try{l(e["throw"](t))}catch(t){o(t)}}function l(t){t.done?n(t.value):i(t.value).then(r,c)}l((e=e.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,i,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(a){return l([t,a])}}function l(r){if(e)throw new TypeError("Generator is already executing.");while(n)try{if(e=1,i&&(o=r[0]&2?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;if(i=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;i=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=a.call(t,n)}catch(t){r=[6,t];i=0}finally{e=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-beta.
|
|
6
|
-
*/System.register(["./p-
|
|
5
|
+
* v1.0.0-beta.90
|
|
6
|
+
*/System.register(["./p-323d70d2.system.js","./p-485e8d2e.system.js","./p-0b2b216f.system.js","./p-e3449d19.system.js","./p-62ff4f74.system.js","./p-759b254c.system.js","./p-0c5ffab1.system.js","./p-495a7226.system.js"],(function(t){"use strict";var a,n,e,i,o,r,c,l,s,p,d;return{setters:[function(t){a=t.r;n=t.c;e=t.h;i=t.H;o=t.g},function(t){r=t.t;c=t.E},function(t){l=t.f;s=t.g},function(t){p=t.c;d=t.d},function(){},function(){},function(){},function(){}],execute:function(){var u={actionGroupBottom:"action-group--bottom",container:"container"};var f={expand:"Expand",collapse:"Collapse"};var m={expandTooltip:"expand-tooltip"};var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px}:host([layout=horizontal]) .container{-ms-flex-direction:row;flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";var x=t("calcite_action_pad",function(){function t(t){var e=this;a(this,t);this.calciteActionPadToggle=n(this,"calciteActionPadToggle",7);this.expandDisabled=false;this.expanded=false;this.layout="vertical";this.actionMenuOpenChangeHandler=function(t){if(t.detail){var a=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!a.includes(t)){t.menuOpen=false}}))}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionPadToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandedHandler=function(t){r({parent:this.el,expanded:t})};t.prototype.connectedCallback=function(){p(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.componentWillLoad=function(){var t=this,a=t.el,n=t.expanded;r({parent:a,expanded:n})};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(n){switch(n.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,l(this.expandToggleEl)];case 1:n.sent();return[2];case 2:(a=this.el)===null||a===void 0?void 0:a.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,a=t.expanded,n=t.expandDisabled,i=t.intlExpand,o=t.intlCollapse,r=t.el,l=t.position,p=t.toggleExpand,d=t.scale,b=t.layout;var x=s(r,m.expandTooltip);var h=i||f.expand;var w=o||f.collapse;var y=!n?e(c,{el:r,expanded:a,intlCollapse:w,intlExpand:h,position:l,ref:this.setExpandToggleRef,scale:d,toggle:p,tooltip:x}):null;return y?e("calcite-action-group",{class:u.actionGroupBottom,layout:b,scale:d},e("slot",{name:m.expandTooltip}),y):null};t.prototype.render=function(){return e(i,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},e("div",{class:u.container},e("slot",null),this.renderBottomActionGroup()))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}());x.style=b}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.90
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as a,g as s}from"./p-499e3e8e.js";import{s as n,t as o,g as l}from"./p-1f4f5c19.js";import{S as r}from"./p-f89e6de1.js";import"./p-912b88e8.js";const c={slow:14e3,medium:1e4,fast:6e3},d=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",7),this.calciteAlertClose=e(this,"calciteAlertClose",7),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",7),this.calciteAlertOpen=e(this,"calciteAlertOpen",7),this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",7),this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",7),this.active=!1,this.autoDismiss=!1,this.autoDismissDuration=this.autoDismiss?"medium":null,this.color="blue",this.intlClose="Close",this.placement="bottom",this.scale="m",this.queue=[],this.queueLength=0,this.queued=!1,this.setContainerEl=t=>{this.containerEl=t,this.containerEl.addEventListener("transitionstart",this.transitionStartHandler)},this.autoDismissTimeoutId=null,this.trackTimer=Date.now(),this.activeTransitionProp="opacity",this.closeAlert=()=>{this.autoDismissTimeoutId=null,this.queued=!1,this.active=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.transitionStartHandler=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.active?this.onBeforeOpen():this.onBeforeClose())},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.active?this.onOpen():this.onClose())}}watchActive(){this.active&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.active||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}updateRequestedIcon(){this.requestedIcon=n(r,this.icon,this.color)}updateDuration(){this.autoDismiss&&this.autoDismissTimeoutId&&(window.clearTimeout(this.autoDismissTimeoutId),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),c[this.autoDismissDuration]-(Date.now()-this.trackTimer)))}connectedCallback(){this.active&&!this.queued&&this.calciteInternalAlertRegister.emit()}componentWillLoad(){this.requestedIcon=n(r,this.icon,this.color)}disconnectedCallback(){var t;window.clearTimeout(this.autoDismissTimeoutId),null===(t=this.containerEl)||void 0===t||t.removeEventListener("transitionstart",this.transitionStartHandler)}render(){const t=i("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),e="+"+(this.queueLength>2?this.queueLength-1:1),s=i("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},i("calcite-chip",{scale:this.scale,value:e},e)),{active:n,autoDismiss:l,label:r,placement:c,queued:d,requestedIcon:m}=this,h=l?"alert":"alertdialog",u=!n;return i(a,{"aria-hidden":o(u),"aria-label":r,"calcite-hydrated-hidden":u,role:h},i("div",{class:{container:!0,queued:d,[c]:!0},onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},m?i("div",{class:"alert-icon"},i("calcite-icon",{icon:m,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"alert-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),s,l?null:t,n&&!d&&l?i("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.active&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){const t=l(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoDismiss&&!this.autoDismissTimeoutId&&(this.trackTimer=Date.now(),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),c[this.autoDismissDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}get el(){return s(this)}static get watchers(){return{active:["watchActive"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}}};d.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;margin-block:0px;margin-inline:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);-webkit-border-before:0px solid transparent;border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);-webkit-border-after:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([active]) .container:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([active]) .container:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:active{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;inset-inline:0px;display:block;inline-size:100%;overflow:hidden;inset-block-start:-2px;block-size:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}';export{d as calcite_alert}
|
|
6
|
+
import{r as t,c as e,h as i,H as a,g as s}from"./p-be20f015.js";import{s as n,t as o,g as l}from"./p-18d50ab7.js";import{S as r}from"./p-9d51f0ee.js";import"./p-01e752f7.js";const c={slow:14e3,medium:1e4,fast:6e3},d=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",7),this.calciteAlertClose=e(this,"calciteAlertClose",7),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",7),this.calciteAlertOpen=e(this,"calciteAlertOpen",7),this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",7),this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",7),this.active=!1,this.autoDismiss=!1,this.autoDismissDuration=this.autoDismiss?"medium":null,this.color="blue",this.intlClose="Close",this.placement="bottom",this.scale="m",this.queue=[],this.queueLength=0,this.queued=!1,this.setContainerEl=t=>{this.containerEl=t,this.containerEl.addEventListener("transitionstart",this.transitionStartHandler)},this.autoDismissTimeoutId=null,this.trackTimer=Date.now(),this.activeTransitionProp="opacity",this.closeAlert=()=>{this.autoDismissTimeoutId=null,this.queued=!1,this.active=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.transitionStartHandler=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.active?this.onBeforeOpen():this.onBeforeClose())},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.active?this.onOpen():this.onClose())}}watchActive(){this.active&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.active||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}updateRequestedIcon(){this.requestedIcon=n(r,this.icon,this.color)}updateDuration(){this.autoDismiss&&this.autoDismissTimeoutId&&(window.clearTimeout(this.autoDismissTimeoutId),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),c[this.autoDismissDuration]-(Date.now()-this.trackTimer)))}connectedCallback(){this.active&&!this.queued&&this.calciteInternalAlertRegister.emit()}componentWillLoad(){this.requestedIcon=n(r,this.icon,this.color)}disconnectedCallback(){var t;window.clearTimeout(this.autoDismissTimeoutId),null===(t=this.containerEl)||void 0===t||t.removeEventListener("transitionstart",this.transitionStartHandler)}render(){const t=i("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),e="+"+(this.queueLength>2?this.queueLength-1:1),s=i("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},i("calcite-chip",{scale:this.scale,value:e},e)),{active:n,autoDismiss:l,label:r,placement:c,queued:d,requestedIcon:m}=this,h=l?"alert":"alertdialog",u=!n;return i(a,{"aria-hidden":o(u),"aria-label":r,"calcite-hydrated-hidden":u,role:h},i("div",{class:{container:!0,queued:d,[c]:!0},onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},m?i("div",{class:"alert-icon"},i("calcite-icon",{icon:m,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"alert-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),s,l?null:t,n&&!d&&l?i("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.active&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){const t=l(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoDismiss&&!this.autoDismissTimeoutId&&(this.trackTimer=Date.now(),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),c[this.autoDismissDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}get el(){return s(this)}static get watchers(){return{active:["watchActive"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}}};d.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;margin-block:0px;margin-inline:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);-webkit-border-before:0px solid transparent;border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);-webkit-border-after:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([active]) .container:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([active]) .container:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:active{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;inset-inline:0px;display:block;inline-size:100%;overflow:hidden;inset-block-start:-2px;block-size:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}';export{d as calcite_alert}
|