@esri/calcite-components 1.5.0-next.2 → 1.5.0-next.3
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/index.esm.js +2 -2
- package/dist/calcite/{p-13464270.js → p-008d578c.js} +2 -2
- package/dist/calcite/{p-5d509f73.js → p-04278e22.js} +1 -1
- package/dist/calcite/{p-c31f46f9.js → p-091fd402.js} +2 -2
- package/dist/calcite/{p-b9438138.js → p-0a3314f8.js} +2 -2
- package/dist/calcite/{p-e8880b82.js → p-101b234f.js} +2 -2
- package/dist/calcite/{p-71a80d9c.js → p-10ac9980.js} +2 -2
- package/dist/calcite/{p-7a6ff0f1.js → p-11e156b7.js} +2 -2
- package/dist/calcite/{p-ae17f167.entry.js → p-121495ce.entry.js} +2 -2
- package/dist/calcite/{p-4239ff60.js → p-121719fb.js} +2 -2
- package/dist/calcite/{p-c31511a4.js → p-12b442a2.js} +2 -2
- package/dist/calcite/{p-f2a314c8.entry.js → p-134963cf.entry.js} +2 -2
- package/dist/calcite/{p-8365c4f2.js → p-137edb31.js} +2 -2
- package/dist/calcite/{p-8b59f122.entry.js → p-164ef792.entry.js} +2 -2
- package/dist/calcite/{p-87cb6caa.js → p-187b9f88.js} +1 -1
- package/dist/calcite/{p-c5a09832.js → p-1880b676.js} +2 -2
- package/dist/calcite/{p-1da65bff.js → p-18dbbb72.js} +1 -1
- package/dist/calcite/{p-deaa5c6e.js → p-1e9bf083.js} +2 -2
- package/dist/calcite/{p-26ff8257.js → p-21a7e201.js} +2 -2
- package/dist/calcite/{p-447792c0.js → p-22e5b579.js} +2 -2
- package/dist/calcite/{p-ff5aa8ee.entry.js → p-257d4e73.entry.js} +2 -2
- package/dist/calcite/p-27c54e54.entry.js +6 -0
- package/dist/calcite/{p-53047265.js → p-2c60840f.js} +1 -1
- package/dist/calcite/{p-cfd10f3e.js → p-2de1bc72.js} +2 -2
- package/dist/calcite/{p-ff1f4f2d.entry.js → p-2ec1f3ea.entry.js} +2 -2
- package/dist/calcite/{p-21d34f78.entry.js → p-2ecaa811.entry.js} +2 -2
- package/dist/calcite/{p-90bfb41d.entry.js → p-3124550d.entry.js} +2 -2
- package/dist/calcite/{p-b765b963.entry.js → p-32306f3c.entry.js} +2 -2
- package/dist/calcite/{p-b448269e.entry.js → p-329ee5a1.entry.js} +2 -2
- package/dist/calcite/p-33c98b54.entry.js +6 -0
- package/dist/calcite/{p-39c78d61.entry.js → p-3515e752.entry.js} +2 -2
- package/dist/calcite/{p-f0b9a991.entry.js → p-35caddf6.entry.js} +2 -2
- package/dist/calcite/{p-0b6648e5.entry.js → p-37ef2c1e.entry.js} +2 -2
- package/dist/calcite/{p-7304b129.js → p-388d8657.js} +2 -2
- package/dist/calcite/{p-e84f5ea7.js → p-38f81766.js} +2 -2
- package/dist/calcite/{p-ceb4c931.js → p-3ae8a203.js} +2 -2
- package/dist/calcite/{p-637f18b3.js → p-416b5855.js} +2 -2
- package/dist/calcite/{p-7ccb3067.js → p-463767e8.js} +2 -2
- package/dist/calcite/{p-d05e5931.js → p-468ed2b6.js} +1 -1
- package/dist/calcite/{p-226c147b.js → p-48b6506e.js} +2 -2
- package/dist/calcite/{p-90d0a4d6.entry.js → p-49f6cfe8.entry.js} +2 -2
- package/dist/calcite/{p-22e69f05.js → p-4c109220.js} +2 -2
- package/dist/calcite/{p-acd53a3d.entry.js → p-4e8345b3.entry.js} +2 -2
- package/dist/calcite/{p-e81318c0.js → p-51f2b056.js} +2 -2
- package/dist/calcite/{p-2e4ccee6.entry.js → p-5213d3c2.entry.js} +2 -2
- package/dist/calcite/{p-a7515261.js → p-54396627.js} +1 -1
- package/dist/calcite/{p-9593e1f9.entry.js → p-54b68720.entry.js} +2 -2
- package/dist/calcite/{p-f1836535.entry.js → p-566ee4fb.entry.js} +2 -2
- package/dist/calcite/{p-daef4807.js → p-5836bd17.js} +2 -2
- package/dist/calcite/{p-a7f0a1ad.entry.js → p-593adedd.entry.js} +2 -2
- package/dist/calcite/{p-806601c7.entry.js → p-5a2116d2.entry.js} +2 -2
- package/dist/calcite/{p-56ae9ae2.entry.js → p-5d129fbc.entry.js} +2 -2
- package/dist/calcite/{p-9e801922.entry.js → p-5e5cf331.entry.js} +2 -2
- package/dist/calcite/{p-8c072fe6.js → p-608cffa9.js} +2 -2
- package/dist/calcite/{p-f0a4fb1c.entry.js → p-67362b05.entry.js} +2 -2
- package/dist/calcite/{p-47ebedce.entry.js → p-6caf8b90.entry.js} +2 -2
- package/dist/calcite/{p-b0194f1c.js → p-6dde09f4.js} +2 -2
- package/dist/calcite/{p-2356c226.entry.js → p-72775fa5.entry.js} +2 -2
- package/dist/calcite/{p-7eef9fb3.entry.js → p-73639fac.entry.js} +2 -2
- package/dist/calcite/{p-7389b779.js → p-756da051.js} +2 -2
- package/dist/calcite/{p-95af4ca6.js → p-772dc41f.js} +2 -2
- package/dist/calcite/{p-9d20754b.js → p-7850b5bf.js} +2 -2
- package/dist/calcite/{p-b1d6ccfc.entry.js → p-7873f1a4.entry.js} +2 -2
- package/dist/calcite/{p-4111269d.entry.js → p-78cbf703.entry.js} +2 -2
- package/dist/calcite/{p-d8839a42.js → p-7d70cba4.js} +2 -2
- package/dist/calcite/{p-2c6222ab.js → p-7daac611.js} +2 -2
- package/dist/calcite/{p-8abceca2.js → p-8064cd9c.js} +2 -2
- package/dist/calcite/{p-eb6ce775.js → p-80b67c87.js} +2 -2
- package/dist/calcite/{p-08adc2c8.entry.js → p-83918ff1.entry.js} +2 -2
- package/dist/calcite/{p-f8da7c37.js → p-85af2cc9.js} +1 -1
- package/dist/calcite/{p-dc9f0e2f.js → p-866a1b23.js} +2 -2
- package/dist/calcite/{p-3666329d.js → p-86f7bf8c.js} +2 -2
- package/dist/calcite/{p-60e0df72.js → p-8a25a2ad.js} +2 -2
- package/dist/calcite/{p-69c0dff0.entry.js → p-8c25733e.entry.js} +2 -2
- package/dist/calcite/{p-25939b44.entry.js → p-933af3c8.entry.js} +2 -2
- package/dist/calcite/{p-1b3d3a98.js → p-942cd7f8.js} +1 -1
- package/dist/calcite/p-9466975b.js +6 -0
- package/dist/calcite/{p-c0ecdc77.js → p-963ee9d6.js} +2 -2
- package/dist/calcite/{p-a12e8e1b.entry.js → p-97c5fb74.entry.js} +2 -2
- package/dist/calcite/{p-952bf2cd.js → p-9a285cfc.js} +2 -2
- package/dist/calcite/{p-02f2afb5.entry.js → p-9a29eddd.entry.js} +2 -2
- package/dist/calcite/{p-79cf9a50.entry.js → p-9ac1589d.entry.js} +2 -2
- package/dist/calcite/{p-04c1d8e4.entry.js → p-9aff565b.entry.js} +2 -2
- package/dist/calcite/{p-f77e9d63.js → p-9b86fb06.js} +2 -2
- package/dist/calcite/{p-b7ab94f7.js → p-9c0d7cd4.js} +2 -2
- package/dist/calcite/{p-1f1633a4.js → p-9c2cde2b.js} +2 -2
- package/dist/calcite/{p-07974044.js → p-9cfcd91f.js} +1 -1
- package/dist/calcite/{p-a3219c80.entry.js → p-9d3a7da7.entry.js} +2 -2
- package/dist/calcite/{p-bca7786e.entry.js → p-9e8f66a9.entry.js} +2 -2
- package/dist/calcite/{p-e68678be.entry.js → p-9f83c8ec.entry.js} +2 -2
- package/dist/calcite/p-a1e17623.entry.js +6 -0
- package/dist/calcite/{p-c960bc96.js → p-a30b6d39.js} +2 -2
- package/dist/calcite/{p-ed41d7be.entry.js → p-a50922d0.entry.js} +2 -2
- package/dist/calcite/{p-439a5758.js → p-a886e972.js} +2 -2
- package/dist/calcite/p-ab57b0ce.js +6 -0
- package/dist/calcite/{p-752bdaea.entry.js → p-abec95ac.entry.js} +2 -2
- package/dist/calcite/{p-4a80e813.js → p-abeff317.js} +2 -2
- package/dist/calcite/{p-2c637090.js → p-b0abfc57.js} +2 -2
- package/dist/calcite/{p-643760cd.js → p-b38ee013.js} +1 -1
- package/dist/calcite/{p-27863f70.js → p-b448b71e.js} +2 -2
- package/dist/calcite/{p-77dcb1b3.js → p-b4860869.js} +1 -1
- package/dist/calcite/{p-0a4b4b69.js → p-b6237f9b.js} +2 -2
- package/dist/calcite/{p-0593eb33.js → p-b656fc7b.js} +1 -1
- package/dist/calcite/{p-7d88bc53.entry.js → p-b9f343ba.entry.js} +2 -2
- package/dist/calcite/{p-fc1c96b9.entry.js → p-bbc4622f.entry.js} +2 -2
- package/dist/calcite/{p-378effaa.js → p-bd0ca506.js} +2 -2
- package/dist/calcite/p-bd1a6997.js +6 -0
- package/dist/calcite/{p-2e7c1e63.js → p-bddc40f7.js} +2 -2
- package/dist/calcite/{p-10c1ee32.entry.js → p-c0d4ed5a.entry.js} +2 -2
- package/dist/calcite/{p-622f1ba7.js → p-c2b7024f.js} +2 -2
- package/dist/calcite/p-c4433d62.entry.js +6 -0
- package/dist/calcite/{p-ca8cc20e.entry.js → p-c45c393a.entry.js} +2 -2
- package/dist/calcite/p-cb6c8443.js +6 -0
- package/dist/calcite/{p-250f5f1d.js → p-cbce26d9.js} +2 -2
- package/dist/calcite/{p-6bc0ee2a.entry.js → p-cc086648.entry.js} +2 -2
- package/dist/calcite/{p-6000474d.js → p-cc6d3680.js} +2 -2
- package/dist/calcite/{p-a486b294.js → p-cd0e0878.js} +2 -2
- package/dist/calcite/{p-185367ec.entry.js → p-ce90c75b.entry.js} +2 -2
- package/dist/calcite/{p-713aa40a.js → p-cefb9028.js} +2 -2
- package/dist/calcite/{p-98e377a7.js → p-cf377921.js} +2 -2
- package/dist/calcite/{p-0a2f0d5c.entry.js → p-d1496d1c.entry.js} +2 -2
- package/dist/calcite/{p-601e6686.js → p-d4470fa9.js} +2 -2
- package/dist/calcite/{p-9bb8d973.js → p-d44dcbe2.js} +2 -2
- package/dist/calcite/{p-710d652b.entry.js → p-d4cadd8a.entry.js} +2 -2
- package/dist/calcite/{p-cbf13653.entry.js → p-d4cf5746.entry.js} +2 -2
- package/dist/calcite/{p-bf1ec764.js → p-db6d31be.js} +2 -2
- package/dist/calcite/{p-36b02daf.js → p-e345755c.js} +1 -1
- package/dist/calcite/{p-9203113d.entry.js → p-e47153e7.entry.js} +2 -2
- package/dist/calcite/{p-009b2815.js → p-e4d2aec5.js} +2 -2
- package/dist/calcite/{p-f2d8d3e2.js → p-e522f7eb.js} +2 -2
- package/dist/calcite/{p-5b1df99c.entry.js → p-e5485664.entry.js} +2 -2
- package/dist/calcite/{p-ecf15ba7.js → p-e649e313.js} +2 -2
- package/dist/calcite/{p-fca49af0.entry.js → p-e6c5231d.entry.js} +2 -2
- package/dist/calcite/{p-9621dc3d.entry.js → p-e7016464.entry.js} +2 -2
- package/dist/calcite/{p-9bb0d6a1.js → p-e815cafa.js} +2 -2
- package/dist/calcite/{p-fe334709.js → p-e8c2f550.js} +1 -1
- package/dist/calcite/{p-497e9490.js → p-eb7d0b42.js} +1 -1
- package/dist/calcite/{p-cd1ee477.js → p-ebb84082.js} +2 -2
- package/dist/calcite/p-ee2b3bef.entry.js +6 -0
- package/dist/calcite/{p-3ccb9094.js → p-f2c3f053.js} +2 -2
- package/dist/calcite/{p-48f345ad.entry.js → p-f4b6b83d.entry.js} +2 -2
- package/dist/calcite/{p-248b09f3.js → p-f5a5652c.js} +1 -1
- package/dist/calcite/{p-f2c059e9.entry.js → p-f70ea221.entry.js} +2 -2
- package/dist/calcite/{p-72cfb910.js → p-f96d4cd9.js} +2 -2
- package/dist/calcite/{p-85fbc80a.entry.js → p-f985221b.entry.js} +2 -2
- package/dist/calcite/{p-0e9eb706.entry.js → p-faac1635.entry.js} +2 -2
- package/dist/calcite/{p-b80948fe.entry.js → p-fb930c9f.entry.js} +2 -2
- package/dist/calcite/{p-e8f98cad.js → p-fd56f80c.js} +2 -2
- package/dist/calcite/{p-62ef726d.entry.js → p-fd99b31e.entry.js} +2 -2
- package/dist/calcite/{p-a18f72d9.entry.js → p-fe84ed6e.entry.js} +2 -2
- package/dist/calcite/{p-89b3591a.entry.js → p-feee09f3.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-84b7195c.js → ExpandToggle-8db548f6.js} +5 -5
- package/dist/cjs/{FloatingArrow-92682b60.js → FloatingArrow-22c0d1c3.js} +2 -2
- package/dist/cjs/{Heading-c9622c73.js → Heading-e9633d44.js} +2 -2
- package/dist/cjs/{app-globals-0197152b.js → app-globals-cb698128.js} +2 -2
- package/dist/cjs/{ar-057d0135.js → ar-1706b8a8.js} +16 -16
- package/dist/cjs/{array-ac309ecc.js → array-5b1bfeaf.js} +1 -1
- package/dist/cjs/{bg-12b0ac46.js → bg-b63f7be7.js} +16 -16
- package/dist/cjs/{browser-13db55af.js → browser-64394442.js} +1 -1
- package/dist/cjs/{bs-19741f8c.js → bs-04f3cd11.js} +16 -16
- package/dist/cjs/{ca-906127c4.js → ca-8f1e2d8a.js} +16 -16
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +23 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-f15b8a68.js → calcite-input-time-picker.calcite-time-picker-535ff529.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-869d8a76.js → composed-offset-position.esm-5eddd255.js} +1 -1
- package/dist/cjs/{conditionalSlot-63b19e25.js → conditionalSlot-3d86b720.js} +3 -3
- package/dist/cjs/{cs-1017e11b.js → cs-8b285546.js} +16 -16
- package/dist/cjs/{da-6f605ddd.js → da-46cd75f5.js} +16 -16
- package/dist/cjs/{de-8b83b2aa.js → de-18fbaa5f.js} +16 -16
- package/dist/cjs/{de-at-9b6befda.js → de-at-df2817ed.js} +16 -16
- package/dist/cjs/{de-ch-89b68831.js → de-ch-bbf88b74.js} +16 -16
- package/dist/cjs/{debounce-1eb5fae2.js → debounce-e09471b5.js} +1 -1
- package/dist/cjs/{dom-42dabaf2.js → dom-4f7774f5.js} +3 -3
- package/dist/cjs/{el-15bb7d34.js → el-853e25d3.js} +16 -16
- package/dist/cjs/{en-au-239a6657.js → en-au-a03356d0.js} +16 -16
- package/dist/cjs/{en-ca-b7b30541.js → en-ca-25a7048a.js} +16 -16
- package/dist/cjs/{en-gb-a3628c92.js → en-gb-d50b971a.js} +16 -16
- package/dist/cjs/{es-c7fa206a.js → es-d13b5666.js} +16 -16
- package/dist/cjs/{es-mx-84a64b47.js → es-mx-56cbf823.js} +16 -16
- package/dist/cjs/{et-70c57f77.js → et-358e30b3.js} +16 -16
- package/dist/cjs/{fi-b9a105df.js → fi-b310fb67.js} +16 -16
- package/dist/cjs/{filter-e702266b.js → filter-f4c5783a.js} +2 -2
- package/dist/cjs/{floating-ui-6d60268d.js → floating-ui-427918f2.js} +111 -65
- package/dist/cjs/{focusTrapComponent-69c80ef0.js → focusTrapComponent-35b117bd.js} +2 -2
- package/dist/cjs/{form-bc18d8c5.js → form-ce32cfbf.js} +3 -3
- package/dist/cjs/{fr-0efb8d91.js → fr-a9841cc7.js} +16 -16
- package/dist/cjs/{fr-ch-b34ca4e1.js → fr-ch-a7d04a56.js} +16 -16
- package/dist/cjs/{guid-13035076.js → guid-6463d06f.js} +1 -1
- package/dist/cjs/{he-5706bff2.js → he-c6a4f14b.js} +16 -16
- package/dist/cjs/{hi-b1548147.js → hi-7eb85ede.js} +16 -16
- package/dist/cjs/{hr-83898a11.js → hr-af7040b3.js} +16 -16
- package/dist/cjs/{hu-514951a0.js → hu-c0d32e2d.js} +16 -16
- package/dist/cjs/{id-acd8a39d.js → id-0bdb21c3.js} +16 -16
- package/dist/cjs/{index-b91c10b3.js → index-faff3ea7.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-7ff38ff7.js → interactive-274d5a97.js} +2 -2
- package/dist/cjs/{it-cca7c760.js → it-7b33afef.js} +16 -16
- package/dist/cjs/{it-ch-c42d7e19.js → it-ch-b2e28928.js} +16 -16
- package/dist/cjs/{ja-fe87ff1c.js → ja-04d8e3ea.js} +16 -16
- package/dist/cjs/{key-3fc8a11f.js → key-b220b977.js} +1 -1
- package/dist/cjs/{ko-8f4dadd2.js → ko-4f4f01b5.js} +16 -16
- package/dist/cjs/{label-678a4785.js → label-e4873c18.js} +2 -2
- package/dist/cjs/{loadable-99302fa8.js → loadable-ef6d5cc8.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-094508f4.js → locale-5ac724e1.js} +4 -4
- package/dist/cjs/{lt-b0acac32.js → lt-50a7db08.js} +16 -16
- package/dist/cjs/{lv-afa48cad.js → lv-1155f3b9.js} +16 -16
- package/dist/cjs/{math-59198773.js → math-0a4032a3.js} +1 -1
- package/dist/cjs/{mk-7a53edfe.js → mk-baad9b0b.js} +16 -16
- package/dist/cjs/{nb-ffe8cba6.js → nb-c83020cb.js} +16 -16
- package/dist/cjs/{nl-faa5db30.js → nl-b92cf9ec.js} +16 -16
- package/dist/cjs/{observers-481d4a66.js → observers-f5516ae9.js} +1 -1
- package/dist/cjs/{openCloseComponent-0bde404e.js → openCloseComponent-baf5c8ce.js} +2 -2
- package/dist/cjs/{pl-5c002238.js → pl-5855bec7.js} +16 -16
- package/dist/cjs/{pt-br-da69c115.js → pt-br-8ea8a02c.js} +16 -16
- package/dist/cjs/{pt-1f5e54e5.js → pt-e96b9501.js} +16 -16
- package/dist/cjs/{resources-46ce085b.js → resources-0b44176c.js} +5 -5
- package/dist/cjs/{resources-1d7aaca8.js → resources-1d5866d0.js} +1 -1
- package/dist/cjs/{resources-30cab3c7.js → resources-23333a3d.js} +1 -1
- package/dist/cjs/{resources-90dd6ceb.js → resources-3a317e26.js} +1 -1
- package/dist/cjs/{resources-588d425d.js → resources-a3ff1d21.js} +1 -1
- package/dist/cjs/{resources-1c27e741.js → resources-be56c993.js} +1 -1
- package/dist/cjs/{ro-e04fb1e6.js → ro-e834f1f2.js} +16 -16
- package/dist/cjs/{ru-e7b0e1de.js → ru-7acd763a.js} +16 -16
- package/dist/cjs/{sk-10c4a9b8.js → sk-607f65c5.js} +16 -16
- package/dist/cjs/{sl-d2b5a3d7.js → sl-9d818d00.js} +16 -16
- package/dist/cjs/{sortableComponent-71a4da4a.js → sortableComponent-54dedb9a.js} +2 -2
- package/dist/cjs/{sr-b98773f1.js → sr-0d3e23b9.js} +16 -16
- package/dist/cjs/{sv-b4369047.js → sv-1ce46da3.js} +16 -16
- package/dist/cjs/{t9n-ac1691f4.js → t9n-ad9ef1e8.js} +3 -3
- package/dist/cjs/{th-6a24b050.js → th-de330447.js} +16 -16
- package/dist/cjs/{throttle-7e348ba1.js → throttle-98d8e92d.js} +2 -2
- package/dist/cjs/{tr-178c510c.js → tr-724049d6.js} +16 -16
- package/dist/cjs/{uk-7841700c.js → uk-dc518983.js} +16 -16
- package/dist/cjs/{utils-b179d25d.js → utils-a61da72c.js} +1 -1
- package/dist/cjs/{utils-29a19aab.js → utils-d8837cb7.js} +3 -3
- package/dist/cjs/{vi-db7b8657.js → vi-2c4ded32.js} +16 -16
- package/dist/cjs/{zh-cn-9354886c.js → zh-cn-0045e3a2.js} +16 -16
- package/dist/cjs/{zh-hk-0cb1f9f8.js → zh-hk-208ed9df.js} +16 -16
- package/dist/cjs/{zh-tw-1128405e.js → zh-tw-3c4476e2.js} +16 -16
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.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 +18 -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/resources.js +1 -1
- package/dist/collection/components/button/button.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/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.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/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/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/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.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/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/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.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/utils.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/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.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/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/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/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/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/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/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.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/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.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/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.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/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.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/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.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/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/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/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.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/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.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/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.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/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.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/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.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 +13 -2
- 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-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.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-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.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 +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-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- 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-text-area.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.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.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/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.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/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +107 -61
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.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/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.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/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.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/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.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/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-eea2109c.js → ExpandToggle-ce05f4e5.js} +5 -5
- package/dist/esm/{FloatingArrow-5f2a46fa.js → FloatingArrow-85b77902.js} +2 -2
- package/dist/esm/{Heading-c11cdc37.js → Heading-b015d907.js} +2 -2
- package/dist/esm/{app-globals-e0a623b7.js → app-globals-ac11969b.js} +2 -2
- package/dist/esm/{ar-cef1dde5.js → ar-45b68bba.js} +16 -16
- package/dist/esm/{array-acbeed62.js → array-8e9c3bf7.js} +1 -1
- package/dist/esm/{bg-9b44401c.js → bg-cfd74026.js} +16 -16
- package/dist/esm/{browser-5b51d471.js → browser-16f56395.js} +1 -1
- package/dist/esm/{bs-a27c8bf0.js → bs-712b6c51.js} +16 -16
- package/dist/esm/{ca-65fb7537.js → ca-307a69ed.js} +16 -16
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +23 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +19 -19
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +14 -14
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +19 -19
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-ad0bcf24.js → calcite-input-time-picker.calcite-time-picker-34b7a5e4.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -16
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +13 -13
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +5 -5
- package/dist/esm/calcite-stepper_2.entry.js +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-a93f1605.js → composed-offset-position.esm-28d2f177.js} +1 -1
- package/dist/esm/{conditionalSlot-ecfe1ebc.js → conditionalSlot-304803d7.js} +3 -3
- package/dist/esm/{cs-fceef9a7.js → cs-f09f3a36.js} +16 -16
- package/dist/esm/{da-ce6e44a1.js → da-4bbdc8a4.js} +16 -16
- package/dist/esm/{de-3dbd4c82.js → de-39b09377.js} +16 -16
- package/dist/esm/{de-at-8f8448b6.js → de-at-5945098f.js} +16 -16
- package/dist/esm/{de-ch-e612ac0d.js → de-ch-45402424.js} +16 -16
- package/dist/esm/{debounce-9571c7e8.js → debounce-6c20945f.js} +1 -1
- package/dist/esm/{dom-80fa9ebb.js → dom-0ce209ee.js} +3 -3
- package/dist/esm/{el-75cf46b3.js → el-65fd3967.js} +16 -16
- package/dist/esm/{en-au-4bb2b262.js → en-au-45ed6e13.js} +16 -16
- package/dist/esm/{en-ca-a1a11e06.js → en-ca-d011b76f.js} +16 -16
- package/dist/esm/{en-gb-4d8d02c8.js → en-gb-38624e8d.js} +16 -16
- package/dist/esm/{es-fe478c8e.js → es-6cd0ad6a.js} +16 -16
- package/dist/esm/{es-mx-d68cea08.js → es-mx-c90a1a76.js} +16 -16
- package/dist/esm/{et-57544106.js → et-9fd05f47.js} +16 -16
- package/dist/esm/{fi-3c6f37fa.js → fi-bd690ea1.js} +16 -16
- package/dist/esm/{filter-025296b0.js → filter-01913f2b.js} +2 -2
- package/dist/esm/{floating-ui-d44c6b7a.js → floating-ui-323f9e15.js} +111 -65
- package/dist/esm/{focusTrapComponent-a1345901.js → focusTrapComponent-cbba6c19.js} +2 -2
- package/dist/esm/{form-9c275054.js → form-553e2401.js} +3 -3
- package/dist/esm/{fr-0c7ebe58.js → fr-c3c42b2a.js} +16 -16
- package/dist/esm/{fr-ch-235dc628.js → fr-ch-44ec0737.js} +16 -16
- package/dist/esm/{guid-daec2c55.js → guid-eb322ca8.js} +1 -1
- package/dist/esm/{he-61422d53.js → he-82eeee85.js} +16 -16
- package/dist/esm/{hi-31d7e854.js → hi-ba6ff07c.js} +16 -16
- package/dist/esm/{hr-bb8d02da.js → hr-5e37e16a.js} +16 -16
- package/dist/esm/{hu-40c67d8a.js → hu-796d9665.js} +16 -16
- package/dist/esm/{id-242878a3.js → id-be79b147.js} +16 -16
- package/dist/esm/{index-6e7d6f56.js → index-c380df3d.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-8d2ae5e3.js → interactive-0abc87c1.js} +2 -2
- package/dist/esm/{it-8427791f.js → it-a4761158.js} +16 -16
- package/dist/esm/{it-ch-05662049.js → it-ch-8d76ac69.js} +16 -16
- package/dist/esm/{ja-0bd1e93f.js → ja-21ea3b6a.js} +16 -16
- package/dist/esm/{key-d72fcd57.js → key-c189cfe7.js} +1 -1
- package/dist/esm/{ko-d8f1952a.js → ko-f359afee.js} +16 -16
- package/dist/esm/{label-be1153d7.js → label-4c68af4b.js} +2 -2
- package/dist/esm/{loadable-3dad5c05.js → loadable-8215a0e9.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-81eea538.js → locale-5bb13642.js} +4 -4
- package/dist/esm/{lt-f843cd42.js → lt-420506bc.js} +16 -16
- package/dist/esm/{lv-57a0c207.js → lv-55e394aa.js} +16 -16
- package/dist/esm/{math-7f973104.js → math-65490645.js} +1 -1
- package/dist/esm/{mk-e25f7921.js → mk-01a633aa.js} +16 -16
- package/dist/esm/{nb-54cfbed9.js → nb-5d7a0447.js} +16 -16
- package/dist/esm/{nl-0e7abdff.js → nl-45f23786.js} +16 -16
- package/dist/esm/{observers-eb4861d8.js → observers-d57467d9.js} +1 -1
- package/dist/esm/{openCloseComponent-e378352f.js → openCloseComponent-35ce8be2.js} +2 -2
- package/dist/esm/{pl-a2f03b53.js → pl-3b34626d.js} +16 -16
- package/dist/esm/{pt-ed3a6ada.js → pt-9f986d3e.js} +16 -16
- package/dist/esm/{pt-br-3a63cbea.js → pt-br-dce2707b.js} +16 -16
- package/dist/esm/{resources-2886fb44.js → resources-00045b22.js} +1 -1
- package/dist/esm/{resources-1dc11a69.js → resources-22b3f34e.js} +1 -1
- package/dist/esm/{resources-e0eb52e1.js → resources-3e606688.js} +1 -1
- package/dist/esm/{resources-6810cd3b.js → resources-450f79fd.js} +1 -1
- package/dist/esm/{resources-1447ec86.js → resources-bda9d403.js} +1 -1
- package/dist/esm/{resources-555d2604.js → resources-f99f0a95.js} +5 -5
- package/dist/esm/{ro-aa2665e8.js → ro-73dac598.js} +16 -16
- package/dist/esm/{ru-1c8d4af1.js → ru-d45ccef8.js} +16 -16
- package/dist/esm/{sk-e9a35722.js → sk-82dcbe44.js} +16 -16
- package/dist/esm/{sl-dcab6585.js → sl-da3f4c6f.js} +16 -16
- package/dist/esm/{sortableComponent-affbaac7.js → sortableComponent-71b24897.js} +2 -2
- package/dist/esm/{sr-588d2355.js → sr-9b07a9d4.js} +16 -16
- package/dist/esm/{sv-28a4771c.js → sv-f0a9e71e.js} +16 -16
- package/dist/esm/{t9n-e3d3c650.js → t9n-42b29350.js} +3 -3
- package/dist/esm/{th-951c30f1.js → th-50d50762.js} +16 -16
- package/dist/esm/{throttle-9cb9c964.js → throttle-5b1d09f8.js} +2 -2
- package/dist/esm/{tr-a2e039d6.js → tr-4c871d34.js} +16 -16
- package/dist/esm/{uk-06878908.js → uk-5535ee1c.js} +16 -16
- package/dist/esm/{utils-4de9cdc5.js → utils-54e8f716.js} +1 -1
- package/dist/esm/{utils-732e76b1.js → utils-a3f5f080.js} +3 -3
- package/dist/esm/{vi-06d82b31.js → vi-b4fde93f.js} +16 -16
- package/dist/esm/{zh-cn-45dcda14.js → zh-cn-2d8fecfd.js} +16 -16
- package/dist/esm/{zh-hk-8466bd3d.js → zh-hk-f1ebc46c.js} +16 -16
- package/dist/esm/{zh-tw-c0dcdc36.js → zh-tw-36641a05.js} +16 -16
- 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/alert/alert.d.ts +2 -1
- package/dist/types/components/alert/interfaces.d.ts +3 -0
- package/hydrate/index.js +42 -43
- package/package.json +3 -3
- package/dist/calcite/p-1a48fe90.entry.js +0 -6
- package/dist/calcite/p-30c929e3.entry.js +0 -6
- package/dist/calcite/p-338db205.js +0 -6
- package/dist/calcite/p-86c4288b.js +0 -6
- package/dist/calcite/p-b0d08631.js +0 -6
- package/dist/calcite/p-b534273f.entry.js +0 -6
- package/dist/calcite/p-b811cbfe.js +0 -6
- package/dist/calcite/p-db5d3568.entry.js +0 -6
- package/dist/calcite/p-e54830c9.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -10448,6 +10448,9 @@ class Alert {
|
|
|
10448
10448
|
setComponentLoaded(this);
|
|
10449
10449
|
}
|
|
10450
10450
|
disconnectedCallback() {
|
|
10451
|
+
window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister", {
|
|
10452
|
+
detail: { alert: this.el }
|
|
10453
|
+
}));
|
|
10451
10454
|
window.clearTimeout(this.autoCloseTimeoutId);
|
|
10452
10455
|
window.clearTimeout(this.queueTimeout);
|
|
10453
10456
|
disconnectOpenCloseComponent(this);
|
|
@@ -10499,6 +10502,14 @@ class Alert {
|
|
|
10499
10502
|
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
10500
10503
|
this.determineActiveAlert();
|
|
10501
10504
|
}
|
|
10505
|
+
// Event is dispatched on the window because the element is not in the DOM so bubbling won't occur.
|
|
10506
|
+
alertUnregister(event) {
|
|
10507
|
+
const queue = this.queue.filter((el) => el !== event.detail.alert);
|
|
10508
|
+
this.queue = queue;
|
|
10509
|
+
window.dispatchEvent(new CustomEvent("calciteInternalAlertSync", {
|
|
10510
|
+
detail: { queue }
|
|
10511
|
+
}));
|
|
10512
|
+
}
|
|
10502
10513
|
//--------------------------------------------------------------------------
|
|
10503
10514
|
//
|
|
10504
10515
|
// Public Methods
|
|
@@ -10588,7 +10599,7 @@ class Alert {
|
|
|
10588
10599
|
"requestedIcon": [32],
|
|
10589
10600
|
"setFocus": [64]
|
|
10590
10601
|
},
|
|
10591
|
-
"$listeners$": [[8, "calciteInternalAlertSync", "alertSync"], [8, "calciteInternalAlertRegister", "alertRegister"]],
|
|
10602
|
+
"$listeners$": [[8, "calciteInternalAlertSync", "alertSync"], [8, "calciteInternalAlertRegister", "alertRegister"], [8, "calciteInternalAlertUnregister", "alertUnregister"]],
|
|
10592
10603
|
"$lazyBundleId$": "-",
|
|
10593
10604
|
"$attrsToReflect$": [["open", "open"], ["autoClose", "auto-close"], ["autoCloseDuration", "auto-close-duration"], ["kind", "kind"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["numberingSystem", "numbering-system"], ["placement", "placement"], ["scale", "scale"]]
|
|
10594
10605
|
}; }
|
|
@@ -17238,7 +17249,7 @@ const arrow = options => ({
|
|
|
17238
17249
|
[axis]: coords[axis] - alignmentOffset,
|
|
17239
17250
|
data: {
|
|
17240
17251
|
[axis]: offset,
|
|
17241
|
-
centerOffset: center - offset
|
|
17252
|
+
centerOffset: center - offset + alignmentOffset
|
|
17242
17253
|
}
|
|
17243
17254
|
};
|
|
17244
17255
|
}
|
|
@@ -17762,7 +17773,13 @@ function isNode(value) {
|
|
|
17762
17773
|
return value instanceof getWindow(value).Node;
|
|
17763
17774
|
}
|
|
17764
17775
|
function getNodeName(node) {
|
|
17765
|
-
|
|
17776
|
+
if (isNode(node)) {
|
|
17777
|
+
return (node.nodeName || '').toLowerCase();
|
|
17778
|
+
}
|
|
17779
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
17780
|
+
// returning `#document` an infinite loop won't occur.
|
|
17781
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
17782
|
+
return '#document';
|
|
17766
17783
|
}
|
|
17767
17784
|
|
|
17768
17785
|
function isHTMLElement(value) {
|
|
@@ -17776,8 +17793,7 @@ function isShadowRoot(node) {
|
|
|
17776
17793
|
if (typeof ShadowRoot === 'undefined') {
|
|
17777
17794
|
return false;
|
|
17778
17795
|
}
|
|
17779
|
-
|
|
17780
|
-
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
17796
|
+
return node instanceof getWindow(node).ShadowRoot || node instanceof ShadowRoot;
|
|
17781
17797
|
}
|
|
17782
17798
|
function isOverflowElement(element) {
|
|
17783
17799
|
const {
|
|
@@ -17809,6 +17825,10 @@ function isLastTraversableNode(node) {
|
|
|
17809
17825
|
const min = Math.min;
|
|
17810
17826
|
const max = Math.max;
|
|
17811
17827
|
const round = Math.round;
|
|
17828
|
+
const createEmptyCoords = v => ({
|
|
17829
|
+
x: v,
|
|
17830
|
+
y: v
|
|
17831
|
+
});
|
|
17812
17832
|
|
|
17813
17833
|
function getCssDimensions(element) {
|
|
17814
17834
|
const css = getComputedStyle$1(element);
|
|
@@ -17827,7 +17847,7 @@ function getCssDimensions(element) {
|
|
|
17827
17847
|
return {
|
|
17828
17848
|
width,
|
|
17829
17849
|
height,
|
|
17830
|
-
|
|
17850
|
+
$: shouldFallback
|
|
17831
17851
|
};
|
|
17832
17852
|
}
|
|
17833
17853
|
|
|
@@ -17835,23 +17855,19 @@ function unwrapElement(element) {
|
|
|
17835
17855
|
return !isElement(element) ? element.contextElement : element;
|
|
17836
17856
|
}
|
|
17837
17857
|
|
|
17838
|
-
const FALLBACK_SCALE = {
|
|
17839
|
-
x: 1,
|
|
17840
|
-
y: 1
|
|
17841
|
-
};
|
|
17842
17858
|
function getScale(element) {
|
|
17843
17859
|
const domElement = unwrapElement(element);
|
|
17844
17860
|
if (!isHTMLElement(domElement)) {
|
|
17845
|
-
return
|
|
17861
|
+
return createEmptyCoords(1);
|
|
17846
17862
|
}
|
|
17847
17863
|
const rect = domElement.getBoundingClientRect();
|
|
17848
17864
|
const {
|
|
17849
17865
|
width,
|
|
17850
17866
|
height,
|
|
17851
|
-
|
|
17867
|
+
$
|
|
17852
17868
|
} = getCssDimensions(domElement);
|
|
17853
|
-
let x = (
|
|
17854
|
-
let y = (
|
|
17869
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
17870
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
17855
17871
|
|
|
17856
17872
|
// 0, NaN, or Infinity should always fallback to 1.
|
|
17857
17873
|
|
|
@@ -17867,10 +17883,7 @@ function getScale(element) {
|
|
|
17867
17883
|
};
|
|
17868
17884
|
}
|
|
17869
17885
|
|
|
17870
|
-
const noOffsets =
|
|
17871
|
-
x: 0,
|
|
17872
|
-
y: 0
|
|
17873
|
-
};
|
|
17886
|
+
const noOffsets = /*#__PURE__*/createEmptyCoords(0);
|
|
17874
17887
|
function getVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
17875
17888
|
var _win$visualViewport, _win$visualViewport2;
|
|
17876
17889
|
if (isFixed === void 0) {
|
|
@@ -17898,7 +17911,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
17898
17911
|
}
|
|
17899
17912
|
const clientRect = element.getBoundingClientRect();
|
|
17900
17913
|
const domElement = unwrapElement(element);
|
|
17901
|
-
let scale =
|
|
17914
|
+
let scale = createEmptyCoords(1);
|
|
17902
17915
|
if (includeScale) {
|
|
17903
17916
|
if (offsetParent) {
|
|
17904
17917
|
if (isElement(offsetParent)) {
|
|
@@ -17921,14 +17934,14 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
17921
17934
|
const iframeScale = getScale(currentIFrame);
|
|
17922
17935
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
17923
17936
|
const css = getComputedStyle(currentIFrame);
|
|
17924
|
-
iframeRect.
|
|
17925
|
-
iframeRect.
|
|
17937
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
17938
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
17926
17939
|
x *= iframeScale.x;
|
|
17927
17940
|
y *= iframeScale.y;
|
|
17928
17941
|
width *= iframeScale.x;
|
|
17929
17942
|
height *= iframeScale.y;
|
|
17930
|
-
x +=
|
|
17931
|
-
y +=
|
|
17943
|
+
x += left;
|
|
17944
|
+
y += top;
|
|
17932
17945
|
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
17933
17946
|
}
|
|
17934
17947
|
}
|
|
@@ -17972,14 +17985,8 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
17972
17985
|
scrollLeft: 0,
|
|
17973
17986
|
scrollTop: 0
|
|
17974
17987
|
};
|
|
17975
|
-
let scale =
|
|
17976
|
-
|
|
17977
|
-
y: 1
|
|
17978
|
-
};
|
|
17979
|
-
const offsets = {
|
|
17980
|
-
x: 0,
|
|
17981
|
-
y: 0
|
|
17982
|
-
};
|
|
17988
|
+
let scale = createEmptyCoords(1);
|
|
17989
|
+
const offsets = createEmptyCoords(0);
|
|
17983
17990
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
17984
17991
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
17985
17992
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -18045,9 +18052,7 @@ function getParentNode(node) {
|
|
|
18045
18052
|
function getNearestOverflowAncestor(node) {
|
|
18046
18053
|
const parentNode = getParentNode(node);
|
|
18047
18054
|
if (isLastTraversableNode(parentNode)) {
|
|
18048
|
-
|
|
18049
|
-
// check, so it's either the <html> or <body> element.
|
|
18050
|
-
return parentNode.ownerDocument.body;
|
|
18055
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
18051
18056
|
}
|
|
18052
18057
|
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
18053
18058
|
return parentNode;
|
|
@@ -18099,10 +18104,7 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
18099
18104
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
18100
18105
|
const top = clientRect.top + element.clientTop;
|
|
18101
18106
|
const left = clientRect.left + element.clientLeft;
|
|
18102
|
-
const scale = isHTMLElement(element) ? getScale(element) :
|
|
18103
|
-
x: 1,
|
|
18104
|
-
y: 1
|
|
18105
|
-
};
|
|
18107
|
+
const scale = isHTMLElement(element) ? getScale(element) : createEmptyCoords(1);
|
|
18106
18108
|
const width = element.clientWidth * scale.x;
|
|
18107
18109
|
const height = element.clientHeight * scale.y;
|
|
18108
18110
|
const x = left * scale.x;
|
|
@@ -18253,10 +18255,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
18253
18255
|
scrollLeft: 0,
|
|
18254
18256
|
scrollTop: 0
|
|
18255
18257
|
};
|
|
18256
|
-
const offsets =
|
|
18257
|
-
x: 0,
|
|
18258
|
-
y: 0
|
|
18259
|
-
};
|
|
18258
|
+
const offsets = createEmptyCoords(0);
|
|
18260
18259
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
18261
18260
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
18262
18261
|
scroll = getNodeScroll(offsetParent);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.5.0-next.
|
|
3
|
+
"version": "1.5.0-next.3",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"url": "git+https://github.com/Esri/calcite-components.git"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@floating-ui/dom": "1.
|
|
62
|
+
"@floating-ui/dom": "1.4.1",
|
|
63
63
|
"@stencil/core": "2.22.3",
|
|
64
64
|
"@types/color": "3.0.3",
|
|
65
65
|
"color": "4.2.3",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"volta": {
|
|
84
84
|
"extends": "../../package.json"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "c2eb43ff3de88aaffb5ec659388c20938df04f07"
|
|
87
87
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as a,h as i,H as o,a as e}from"./p-77dcb1b3.js";import{c as n,d as r}from"./p-b811cbfe.js";import{s,g as c}from"./p-2c637090.js";import{s as l,a as d,c as p}from"./p-fe334709.js";import{c as m,d as h}from"./p-a486b294.js";import{u,c as f,d as g,s as x}from"./p-b9438138.js";import{t as b,E as y}from"./p-e84f5ea7.js";import{c as w}from"./p-07974044.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-d05e5931.js";import"./p-36b02daf.js";import"./p-248b09f3.js";const v="expand-tooltip",k=class{constructor(i){t(this,i),this.calciteActionPadToggle=a(this,"calciteActionPadToggle",6),this.mutationObserver=w("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const a=s(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(a)},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(t){b({el:this.el,expanded:t})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){n(this),m(this),f(this)}disconnectedCallback(){h(this),g(this),r(this)}async componentWillLoad(){l(this);const{el:t,expanded:a}=this;b({el:t,expanded:a}),await x(this)}componentDidLoad(){d(this)}async setFocus(){await p(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,messages:o,el:e,position:n,toggleExpand:r,scale:s,layout:l}=this,d=c(e,v),p=a?null:i(y,{el:e,expanded:t,intlCollapse:o.collapse,intlExpand:o.expand,position:n,scale:s,toggle:r,tooltip:d,ref:this.setExpandToggleRef});return p?i("calcite-action-group",{class:"action-group--bottom",layout:l,scale:s},i("slot",{name:v}),p):null}render(){return i(o,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{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 *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{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:inline-flex;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);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{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}";export{k as calcite_action_pad}
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-c31511a4.js";import"./p-77dcb1b3.js";import"./p-cd1ee477.js";import"./p-2c637090.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-26ff8257.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";import"./p-c31f46f9.js";import"./p-fe334709.js";import"./p-a486b294.js";import"./p-07974044.js";import"./p-27863f70.js";import"./p-b9438138.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{b as t}from"./p-2c637090.js";import{g as n,a as e}from"./p-f8da7c37.js";import{d as o}from"./p-5d509f73.js";function r(t){return t.split("-")[1]}function i(t){return"y"===t?"height":"width"}function a(t){return t.split("-")[0]}function l(t){return["top","bottom"].includes(a(t))?"x":"y"}function s(t,n,e){let{reference:o,floating:s}=t;const c=o.x+o.width/2-s.width/2,f=o.y+o.height/2-s.height/2,u=l(n),d=i(u),m=o[d]/2-s[d]/2,p="x"===u;let y;switch(a(n)){case"top":y={x:c,y:o.y-s.height};break;case"bottom":y={x:c,y:o.y+o.height};break;case"right":y={x:o.x+o.width,y:f};break;case"left":y={x:o.x-s.width,y:f};break;default:y={x:o.x,y:o.y}}switch(r(n)){case"start":y[u]-=m*(e&&p?-1:1);break;case"end":y[u]+=m*(e&&p?-1:1)}return y}function c(t,n){return"function"==typeof t?t(n):t}function f(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function u(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function d(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:s}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=c(n,t),h=f(g),x=l[y?"floating"===p?"reference":"floating":p],b=u(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:m,strategy:s})),w="floating"===p?{...a.floating,x:o,y:r}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),A=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},k=u(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:v,strategy:s}):w);return{top:(b.top-k.top+h.top)/A.y,bottom:(k.bottom-b.bottom+h.bottom)/A.y,left:(b.left-k.left+h.left)/A.x,right:(k.right-b.right+h.right)/A.x}}const m=Math.min,p=Math.max;function y(t,n,e){return p(t,m(n,e))}const g=["top","right","bottom","left"],h=g.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),x={left:"right",right:"left",bottom:"top",top:"bottom"};function b(t){return t.replace(/left|right|bottom|top/g,(t=>x[t]))}function w(t,n,e){void 0===e&&(e=!1);const o=r(t),a=l(t),s=i(a);let c="x"===a?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=b(c)),{main:c,cross:b(c)}}const v={start:"end",end:"start"};function A(t){return t.replace(/start|end/g,(t=>v[t]))}const k=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:i,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:x=!0,...v}=c(t,n),k=a(o),P=a(s)===s,S=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=y||(P||!x?[b(s)]:function(t){const n=b(t);return[A(t),n,A(n)]}(s));y||"none"===h||D.push(...function(t,n,e,o){const i=r(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(a(t),"start"===e,o);return i&&(l=l.map((t=>t+"-"+i)),n&&(l=l.concat(l.map(A)))),l}(s,x,h,S));const R=[s,...D],C=await d(n,v),F=[];let M=(null==(e=i.flip)?void 0:e.overflows)||[];if(m&&F.push(C[k]),p){const{main:t,cross:n}=w(o,l,S);F.push(C[t],C[n])}if(M=[...M,{placement:o,overflows:F}],!F.every((t=>t<=0))){var E,O;const t=((null==(E=i.flip)?void 0:E.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(O=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:O.placement;if(!e)switch(g){case"bestFit":{var j;const t=null==(j=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:j[0];t&&(e=t);break}case"initialPlacement":e=s}if(o!==e)return{reset:{placement:e}}}return{}}}};function P(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function S(t){return g.some((n=>t[n]>=0))}const D=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=c(t,n);switch(o){case"referenceHidden":{const t=P(await d(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=P(await d(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},R=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,i=await async function(t,n){const{placement:e,platform:o,elements:i}=t,s=await(null==o.isRTL?void 0:o.isRTL(i.floating)),f=a(e),u=r(e),d="x"===l(e),m=["left","top"].includes(f)?-1:1,p=s&&d?-1:1,y=c(n,t);let{mainAxis:g,crossAxis:h,alignmentAxis:x}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return u&&"number"==typeof x&&(h="end"===u?-1*x:x),d?{x:h*p,y:g*m}:{x:g*m,y:h*p}}(n,t);return{x:e+i.x,y:o+i.y,data:i}}}};function C(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function F(t){return C(t).getComputedStyle(t)}function M(t){return t instanceof C(t).Node}function E(t){return M(t)?(t.nodeName||"").toLowerCase():""}function O(t){return t instanceof C(t).HTMLElement}function j(t){return t instanceof C(t).Element}function T(t){return"undefined"!=typeof ShadowRoot&&(t instanceof C(t).ShadowRoot||t instanceof ShadowRoot)}function z(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=F(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function B(t){return["table","td","th"].includes(E(t))}function L(t){const n=$(),e=F(t);return"none"!==e.transform||"none"!==e.perspective||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function $(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function H(t){return["html","body","#document"].includes(E(t))}const N=Math.min,I=Math.max,W=Math.round;function V(t){const n=F(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=O(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=W(e)!==i||W(o)!==a;return l&&(e=i,o=a),{width:e,height:o,fallback:l}}function q(t){return j(t)?t:t.contextElement}const G={x:1,y:1};function U(t){const n=q(t);if(!O(n))return G;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=V(n);let a=(i?W(e.width):e.width)/o,l=(i?W(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const X={x:0,y:0};function Y(t,n,e){var o,r;if(void 0===n&&(n=!0),!$())return X;const i=t?C(t):window;return!e||n&&e!==i?X:{x:(null==(o=i.visualViewport)?void 0:o.offsetLeft)||0,y:(null==(r=i.visualViewport)?void 0:r.offsetTop)||0}}function _(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=q(t);let a=G;n&&(o?j(o)&&(a=U(o)):a=U(t));const l=Y(i,e,o);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&j(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=U(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,s*=t.x,c*=t.y,f*=t.x,d*=t.y,s+=n.x,c+=n.y,e=C(e).frameElement}}return u({width:f,height:d,x:s,y:c})}function J(t){return((M(t)?t.ownerDocument:t.document)||window.document).documentElement}function K(t){return j(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Q(t){return _(J(t)).left+K(t).scrollLeft}function Z(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||T(t)&&t.host||J(t);return T(n)?n.host:n}function tt(t){const n=Z(t);return H(n)?n.ownerDocument.body:O(n)&&z(n)?n:tt(n)}function nt(t,n){var e;void 0===n&&(n=[]);const o=tt(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],z(o)?o:[]):n.concat(o,nt(o))}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=J(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=$();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=J(t),e=K(t),o=t.ownerDocument.body,r=I(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=I(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Q(t);const l=-e.scrollTop;return"rtl"===F(o).direction&&(a+=I(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(J(t));else if(j(n))o=function(t,n){const e=_(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=O(t)?U(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Y(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return u(o)}function ot(t,n){const e=Z(t);return!(e===n||!j(e)||H(e))&&("fixed"===F(e).position||ot(e,n))}function rt(t,n){return O(t)&&"fixed"!==F(t).position?n?n(t):t.offsetParent:null}function it(t,n){const e=C(t);if(!O(t))return e;let o=rt(t,n);for(;o&&B(o)&&"static"===F(o).position;)o=rt(o,n);return o&&("html"===E(o)||"body"===E(o)&&"static"===F(o).position&&!L(o))?e:o||function(t){let n=Z(t);for(;O(n)&&!H(n);){if(L(n))return n;n=Z(n)}return null}(t)||e}function at(t,n,e){const o=O(n),r=J(n),i="fixed"===e,a=_(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(o||!o&&!i)if(("body"!==E(n)||z(r))&&(l=K(n)),O(n)){const t=_(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&(s.x=Q(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}const lt={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=nt(t).filter((t=>j(t)&&"body"!==E(t))),r=null;const i="fixed"===F(t).position;let a=i?Z(t):t;for(;j(a)&&!H(a);){const n=F(a),e=L(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||z(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=Z(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=et(n,e,r);return t.top=I(o.top,t.top),t.right=N(o.right,t.right),t.bottom=N(o.bottom,t.bottom),t.left=I(o.left,t.left),t}),et(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=O(e),i=J(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==E(e)||z(i))&&(a=K(e)),O(e))){const t=_(e);l=U(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:j,getDimensions:function(t){return V(t)},getOffsetParent:it,getDocumentElement:J,getScale:U,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||it,i=this.getDimensions;return{reference:at(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===F(t).direction};const st={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},ct=async function(){if(st.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(n())||function(){const t=e();return t?.brands?!!t.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-87cb6caa.js"),n=lt.getOffsetParent;lt.getOffsetParent=e=>n(e,t)}}(),ft=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ut="bottom-start",dt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function mt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:s,arrowEl:u,type:p}){const g=[(void 0===x&&(x={}),{name:"shift",options:x,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=c(x,t),u={x:n,y:e},m=await d(t,f),p=l(a(o)),g="x"===p?"y":"x";let h=u[p],b=u[g];r&&(h=y(h+m["y"===p?"top":"left"],h,h-m["y"===p?"bottom":"right"])),i&&(b=y(b+m["y"===g?"top":"left"],b,b-m["y"===g?"bottom":"right"]));const w=s.fn({...t,[p]:h,[g]:b});return{...w,data:{x:w.x-n,y:w.y-e}}}}),D()];var x;if("menu"===p)return[...g,k({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===p||"tooltip"===p){const p=[...g,R({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof s?s:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?p.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:l,middlewareData:s,placement:f,platform:u,elements:m}=n,{crossAxis:p=!1,alignment:y,allowedPlacements:g=h,autoAlignment:x=!0,...b}=c(t,n),v=void 0!==y||g===h?function(t,n,e){return(t?[...e.filter((n=>r(n)===t)),...e.filter((n=>r(n)!==t))]:e.filter((t=>a(t)===t))).filter((e=>!t||r(e)===t||!!n&&A(e)!==e))}(y||null,x,g):g,k=await d(n,b),P=(null==(e=s.autoPlacement)?void 0:e.index)||0,S=v[P];if(null==S)return{};const{main:D,cross:R}=w(S,l,await(null==u.isRTL?void 0:u.isRTL(m.floating)));if(f!==S)return{reset:{placement:v[0]}};const C=[k[a(S)],k[D],k[R]],F=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:S,overflows:C}],M=v[P+1];if(M)return{data:{index:P+1,overflows:F},reset:{placement:M}};const E=F.map((t=>{const n=r(t.placement);return[t.placement,n&&p?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),O=(null==(i=E.filter((t=>t[2].slice(0,r(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||E[0][0];return O!==f?{data:{index:P+1,overflows:F},reset:{placement:O}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||p.push(k(e?{fallbackPlacements:e}:{})),u&&p.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:a,rects:s,platform:u,elements:d}=n,{element:p,padding:g=0}=c(t,n)||{};if(null==p)return{};const h=f(g),x={x:e,y:o},b=l(a),w=i(b),v=await u.getDimensions(p),A="y"===b,k=A?"top":"left",P=A?"bottom":"right",S=A?"clientHeight":"clientWidth",D=s.reference[w]+s.reference[b]-x[b]-s.floating[w],R=x[b]-s.reference[b],C=await(null==u.getOffsetParent?void 0:u.getOffsetParent(p));let F=C?C[S]:0;F&&await(null==u.isElement?void 0:u.isElement(C))||(F=d.floating[S]||s.floating[w]);const M=D/2-R/2,E=F/2-v[w]/2-1,O=m(h[k],E),j=m(h[P],E),T=O,z=F-v[w]-j,B=F/2-v[w]/2+M,L=y(T,B,z),$=null!=r(a)&&B!=L&&s.reference[w]/2-(B<T?O:j)-v[w]/2<0;return{[b]:x[b]-($?B<T?T-B:z-B:0),data:{[b]:L,centerOffset:B-L}}}}))({element:u})),p}return[]}function pt(t,n){const e=t.filter((t=>ft.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ft.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function yt(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function gt(t,n,e=!1){if(t.open)return e?ht(t,n):bt(t,n)}const ht=o(bt,100,{leading:!0,maxWait:100}),xt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};async function bt(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:f,type:u}){if(!n||!e)return null;await ct;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let f=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=s(f,o,c),m=o,p={},y=0;for(let e=0;e<l.length;e++){const{name:i,fn:g}=l[e],{x:h,y:x,data:b,reset:w}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:a,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...b}},w&&y<=50&&(y++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(f=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:u,y:d}=s(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:yt(e,r),middleware:mt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=xt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,b=x?"none":null;e.setAttribute("data-placement",p);const w=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:b,position:y,top:"0",left:"0",transform:w})}const wt=new WeakMap;function vt(t,n,e){e&&n&&(At(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),wt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r||i?[...j(t)?nt(t):t.contextElement?nt(t.contextElement):[],...nt(n)]:[];s.forEach((t=>{const n=!j(t)&&t.toString().includes("V");!r||l&&!n||t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let c,f=null;a&&(f=new ResizeObserver((()=>{e()})),j(t)&&!l&&f.observe(t),j(t)||!t.contextElement||l||f.observe(t.contextElement),f.observe(n));let u=l?_(t):null;return l&&function n(){const o=_(t);!u||o.x===u.x&&o.y===u.y&&o.width===u.width&&o.height===u.height||e(),u=o,c=requestAnimationFrame(n)}(),e(),()=>{var t;s.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(c)}}(n,e,(()=>t.reposition()))))}function At(t,n,e){if(!e||!n)return;const o=wt.get(t);o&&o(),wt.delete(t)}const kt=Math.ceil(Math.hypot(4,4));export{dt as F,At as a,kt as b,vt as c,ut as d,pt as f,gt as r}
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{g as n}from"./p-77dcb1b3.js";import{n as t,g as e}from"./p-a486b294.js";function a(n,t,e){if(!n)return;const a=n.getTime(),r=!(t instanceof Date)||a>=t.getTime(),o=!(e instanceof Date)||a<=e.getTime();return r&&o}function r(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 o(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),a=new Date(e[0],(e[1]||1)-1,e[2]||1);if(a.setFullYear(e[0]),isNaN(a.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?y(a):a}function s(n,t){if(!t)return null;const{separator:e}=t,a=function(n,t){const{day:e,month:a,year:r}=f(n,t);return{day:parseInt(e),month:parseInt(a)-1,year:parseInt(r)}}(n,t),{day:r,month:o}=a,s=i(a.year,t),u=new Date(s,o,r);u.setFullYear(s);const c=r>0,d=o>-1,l=!isNaN(u.getTime()),D=n.split(e).filter((n=>n)).length>2,p=s.toString().length>0;return c&&d&&l&&D&&p?u:null}function i(n,t){return c(n,t,"read")}function u(n,t){return c(n,t,"write")}function c(n,t,e){return"buddhist"!==t["default-calendar"]?n:n+543*("read"===e?-1:1)}function f(n,e){const{separator:a,unitOrder:r}=e,o=m(r),s=n.split(a).map((n=>t.delocalize(n)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function d(n){return n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function l(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function D(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 m(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function w(n,t){return(n.getTime()-t.getTime())/864e5}function y(n){return n.setHours(23,59,59,999),n}const h={},b={};async function g(t){const a=e(t);if(h[a])return h[a];b[a]||(b[a]=fetch(n(`./assets/date-picker/nls/${a}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${a}" not found or invalid, falling back to english`),g("en")))));const r=await b[a];return h[a]=r,r}function I(n){return n.map(((n,t)=>o(n,1===t)))}export{s as a,d as b,o as c,f as d,g as e,r as f,I as g,w as h,a as i,l as j,m as k,u as l,i as m,p as n,D as p,y as s}
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-77dcb1b3.js";const e={width:12,height:6,strokeWidth:1},i=({floatingLayout:i,key:o,ref:r})=>{const{width:a,height:h,strokeWidth:s}=e,d=a/2,n="vertical"===i,c=`M0,0 H${a} L${a-d},${h} Q${d},${h} ${d},${h} Z`;return t("svg",{"aria-hidden":"true",class:"calcite-floating-ui-arrow",height:a,key:o,ref:r,viewBox:`0 0 ${a} ${a+(n?0:s)}`,width:a+(n?s:0)},s>0&&t("path",{class:"calcite-floating-ui-arrow__stroke",d:c,fill:"none","stroke-width":s+1}),t("path",{d:c,stroke:"none"}))};export{i as F}
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,F as a,a as n}from"./p-77dcb1b3.js";import{s as o,p as s,t as r}from"./p-2c637090.js";import{c,u as l,d}from"./p-26ff8257.js";import{s as h,a as m,c as p}from"./p-fe334709.js";import{c as f}from"./p-07974044.js";import{S as u}from"./p-248b09f3.js";import{H as g}from"./p-b7ab94f7.js";import{S as b,C as x,I as v}from"./p-0593eb33.js";import{c as y,d as k}from"./p-a486b294.js";import{c as z,s as w,d as S,u as j}from"./p-b9438138.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";const C=class{constructor(i){t(this,i),this.calcitePanelClose=e(this,"calcitePanelClose",6),this.calcitePanelScroll=e(this,"calcitePanelScroll",6),this.resizeObserver=f("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:t}=this;t&&"number"==typeof t.scrollHeight&&"number"==typeof t.offsetHeight&&(t.tabIndex=t.scrollHeight>t.offsetHeight?0:-1)},this.setContainerRef=t=>{this.containerEl=t},this.setCloseRef=t=>{this.closeButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{this.closable&&"Escape"===t.key&&!t.defaultPrevented&&(this.close(),t.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasStartActions=!!e.length},this.handleHeaderActionsEndSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasEndActions=!!e.length},this.handleHeaderMenuActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasMenuItems=!!e.length},this.handleActionBarSlotChange=t=>{const e=o(t).filter((t=>t?.matches("calcite-action-bar")));e.forEach((t=>t.layout="horizontal")),this.hasActionBar=!!e.length},this.handleHeaderContentSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasHeaderContent=!!e.length},this.handleFooterSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterContent=!!e.length},this.handleFooterActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterActions=!!e.length},this.handleFabSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFab=!!e.length},this.setPanelScrollEl=t=>{this.panelScrollEl=t,this.resizeObserver?.disconnect(),t&&(this.resizeObserver?.observe(t),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){c(this),y(this),z(this)}async componentWillLoad(){h(this),await w(this)}componentDidLoad(){m(this)}componentDidRender(){l(this)}disconnectedCallback(){d(this),k(this),S(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){j(this,this.effectiveLocale)}async setFocus(){await p(this),s(this.containerEl)}async scrollContentTo(t){this.panelScrollEl?.scrollTo(t)}renderHeaderContent(){const{heading:t,headingLevel:e,description:a,hasHeaderContent:n}=this,o=t?i(g,{class:x.heading,level:e},t):null,s=a?i("span",{class:x.description},a):null;return n||!o&&!s?null:i("div",{class:x.headerContent,key:"header-content"},o,s)}renderActionBar(){return i("div",{class:x.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:b.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:x.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:b.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:t}=this;return i("div",{class:{[x.headerActionsStart]:!0,[x.headerActions]:!0},hidden:!t,key:"header-actions-start"},i("slot",{name:b.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:t,hasEndActions:e,messages:a,closable:n,hasMenuItems:o}=this,s=a.close,r=n?i("calcite-action",{"aria-label":s,"data-test":"close",icon:v.close,onClick:t,text:s,ref:this.setCloseRef}):null,c=i("slot",{name:b.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[x.headerActionsEnd]:!0,[x.headerActions]:!0},hidden:!(e||r||o),key:"header-actions-end"},c,this.renderMenu(),r)}renderMenu(){const{hasMenuItems:t,messages:e,menuOpen:a}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!t,key:"menu",label:e.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:v.menu,slot:u.trigger,text:e.options}),i("slot",{name:b.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:t,hasStartActions:e,hasEndActions:a,closable:n,hasMenuItems:o}=this,s=this.renderHeaderContent();return i("header",{class:x.header,hidden:!(t||s||e||a||n||o)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),s,this.renderHeaderActionsEnd())}renderFooterNode(){const{hasFooterContent:t,hasFooterActions:e}=this;return i("footer",{class:x.footer,hidden:!(t||e)},i("slot",{key:"footer-slot",name:b.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:b.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){const{hasFab:t}=this,e=i("slot",{key:"default-slot"}),a=t?i("section",{class:x.contentContainer},e):e;return i("div",{class:{[x.contentWrapper]:!0,[x.contentContainer]:!t,[x.contentHeight]:t},onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},a,this.renderFab())}renderFab(){return i("div",{class:x.fabContainer,hidden:!this.hasFab},i("slot",{name:b.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:t,panelKeyDownHandler:e,closed:n,closable:o}=this,s=i("article",{"aria-busy":r(t),class:x.container,hidden:n,onKeyDown:e,tabIndex:o?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderActionBar(),this.renderContent(),this.renderFooterNode());return i(a,null,t?i("calcite-scrim",{loading:t}):null,s)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{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 *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{border-block-end:1px solid;z-index:var(--calcite-app-z-index-header);inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.action-bar-container{border-block-end:1px solid;z-index:var(--calcite-app-z-index-header);inline-size:100%;border-block-end-color:var(--calcite-ui-border-3)}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{border-block-start:1px solid;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;padding:var(--calcite-panel-footer-padding)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";export{C as calcite_panel}
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-77dcb1b3.js";import{c as o}from"./p-07974044.js";const n=new Set;let c;const s={childList:!0};function f(t){c||(c=o("mutation",r)),c.observe(t.el,s)}function i(t){n.delete(t.el),r(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as i,H as a,a as e,f as n}from"./p-77dcb1b3.js";import{t as o}from"./p-2c637090.js";import{g as r}from"./p-a7515261.js";import{c,d as s,u as l}from"./p-26ff8257.js";import{s as d,a as u,c as h}from"./p-fe334709.js";import{c as b,d as p}from"./p-a486b294.js";import{c as m}from"./p-07974044.js";import{u as f,c as v,s as g,d as x}from"./p-b9438138.js";import"./p-53047265.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";const y=class{constructor(i){t(this,i),this.mutationObserver=m("mutation",(()=>n(this))),this.guid=`calcite-action-${r()}`,this.indicatorId=`${this.guid}-indicator`,this.buttonId=`${this.guid}-button`,this.handleTooltipSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-tooltip")))[0];i&&(i.referenceElement=this.buttonEl)},this.active=!1,this.alignment=void 0,this.appearance="solid",this.compact=!1,this.disabled=!1,this.icon=void 0,this.iconFlipRtl=!1,this.indicator=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){c(this),b(this),v(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){d(this),await g(this)}componentDidLoad(){u(this)}disconnectedCallback(){s(this),p(this),x(this),this.mutationObserver?.disconnect()}componentDidRender(){l(this)}async setFocus(){await h(this),this.buttonEl?.focus()}renderTextContainer(){const{text:t,textEnabled:a}=this;return t?i("div",{class:{"text-container":!0,"text-container--visible":a},key:"text-container"},t):null}renderIndicatorText(){const{indicator:t,messages:a,indicatorId:e,buttonId:n}=this;return i("div",{"aria-labelledby":n,"aria-live":"polite",class:"indicator-text",id:e,role:"region"},t?a.indicator:null)}renderIconContainer(){const{loading:t,icon:a,scale:e,el:n,iconFlipRtl:o}=this,r="l"===e?"m":"s",c=t?i("calcite-loader",{inline:!0,label:this.messages.loading,scale:"l"===e?"l":"m"}):null,s=a?i("calcite-icon",{flipRtl:o,icon:a,scale:r}):null,l=c||s,d=l||n.children?.length,u=i("div",{class:{"slot-container":!0,"slot-container--hidden":t}},i("slot",null));return d?i("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},l,u):null}render(){const{active:t,compact:e,disabled:n,loading:r,textEnabled:c,label:s,text:l,indicator:d,indicatorId:u,buttonId:h,messages:b}=this,p=`${s||l}${d?` (${b.indicator})`:""}`,m={button:!0,"button--text-visible":c,"button--compact":e};return i(a,null,i("button",{"aria-busy":o(r),"aria-controls":d?u:null,"aria-disabled":o(n),"aria-label":p,"aria-pressed":o(t),class:m,disabled:n,id:h,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()),i("slot",{name:"tooltip",onSlotchange:this.handleTooltipSlotChange}),this.renderIndicatorText())}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{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 *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}.button .text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1;margin-inline-end:1rem}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=transparent]) .button,:host([active][appearance=transparent]) .button:hover,:host([active][appearance=transparent]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=transparent][loading]) .button,:host([appearance=transparent][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}';export{y as calcite_action}
|
|
@@ -1,6 +0,0 @@
|
|
|
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.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as a,a as s}from"./p-77dcb1b3.js";import{d as n,e as o,t as l,g as r}from"./p-2c637090.js";import{s as c,a as d,c as h}from"./p-fe334709.js";import{c as m,d as u,n as p}from"./p-a486b294.js";import{c as g,d as f}from"./p-deaa5c6e.js";import{c as v,s as b,d as k,u as w}from"./p-b9438138.js";import{K as x}from"./p-497e9490.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-d05e5931.js";import"./p-07974044.js";const y={slow:14e3,medium:1e4,fast:6e3},z=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",6),this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t,g(this)},this.closeAlert=()=>{this.autoCloseTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=n(t)},this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin,e=y[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)},this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1,this.requestedIcon=void 0}openHandler(){this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=o(x,this.icon,this.kind)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),y[this.autoCloseDuration]))}connectedCallback(){m(this),v(this),this.open&&!this.queued&&(this.openHandler(),this.calciteInternalAlertRegister.emit()),g(this)}async componentWillLoad(){c(this),this.requestedIcon=o(x,this.icon,this.kind),await b(this)}componentDidLoad(){d(this)}disconnectedCallback(){window.clearTimeout(this.autoCloseTimeoutId),window.clearTimeout(this.queueTimeout),f(this),u(this),k(this),this.slottedInShell=!1}render(){const{hasEndActions:t}=this,e=i("button",{"aria-label":this.messages.close,class:"alert-close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"}));p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const s=p.numberFormatter.format(this.queueLength>2?this.queueLength-1:1),n=i("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},i("calcite-chip",{scale:this.scale,value:s},s)),{open:o,autoClose:r,label:c,placement:d,queued:h,requestedIcon:m,iconFlipRtl:u}=this,g=r?"alert":"alertdialog",f=!o,v=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler});return i(a,{"aria-hidden":l(f),"aria-label":c,"calcite-hydrated-hidden":f,role:g},i("div",{class:{container:!0,queued:h,[d]:!0,"slotted-in-shell":this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},m?i("div",{class:"alert-icon"},i("calcite-icon",{flipRtl:u,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"})),i("div",{class:"actions-end",hidden:!t},v),this.queueLength>1?n:null,e,o&&!h&&r?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.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){await h(this);const t=r(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){w(this,this.effectiveLocale)}determineActiveAlert(){this.queue?.[0]===this.el&&(this.openAlert(),this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),y[this.autoCloseDuration])))}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)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};z.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}: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]){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;z-index:var(--calcite-app-z-index-toast);margin-block:0px;margin-inline:auto;display:flex;align-items: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);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline: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;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]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{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}[hidden]{display:none}.container{display:flex;inline-size:100%;align-items:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{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);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;flex-direction:column;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 0;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{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);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px;border-start-start-radius:var(--calcite-border-radius);border-end-start-radius:var(--calcite-border-radius)}.alert-close{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);flex:0 0 auto;cursor:pointer;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);border-start-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:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;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;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-close])>.alert-queue-count{border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;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);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .alert-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-ui-info)}:host([kind=info]) .container .alert-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-ui-success)}:host([kind=success]) .container .alert-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([auto-close-duration=fast]) .alert-dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .alert-dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .alert-dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .alert-dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .alert-dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .alert-dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container.slotted-in-shell{position:absolute}';export{z as calcite_alert}
|