@esri/calcite-components 1.5.0-next.4 → 1.5.0-next.6
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-bc26f966.js → p-03d4b8a6.js} +2 -2
- package/dist/calcite/{p-5c6cb671.entry.js → p-03f0b988.entry.js} +2 -2
- package/dist/calcite/{p-3e74b762.js → p-0828de9f.js} +2 -2
- package/dist/calcite/{p-171f9573.js → p-0bb8c87d.js} +2 -2
- package/dist/calcite/{p-e5f3c511.js → p-0e7f5ff2.js} +2 -2
- package/dist/calcite/{p-b8bed9ad.js → p-0e885cd8.js} +2 -2
- package/dist/calcite/{p-77f63499.entry.js → p-106bc1c1.entry.js} +2 -2
- package/dist/calcite/{p-20cbe085.js → p-12b955d2.js} +1 -1
- package/dist/calcite/{p-6208d429.entry.js → p-1565dba6.entry.js} +2 -2
- package/dist/calcite/{p-d6775b93.js → p-15c8b02c.js} +1 -1
- package/dist/calcite/{p-3369ede1.entry.js → p-169f08c3.entry.js} +2 -2
- package/dist/calcite/{p-0210e840.entry.js → p-18212a71.entry.js} +2 -2
- package/dist/calcite/{p-41712dc0.entry.js → p-197c9a13.entry.js} +2 -2
- package/dist/calcite/p-1bdd12ef.entry.js +6 -0
- package/dist/calcite/{p-c98932ac.js → p-1c0703e5.js} +2 -2
- package/dist/calcite/{p-313f245b.entry.js → p-1cee0767.entry.js} +2 -2
- package/dist/calcite/{p-819d8358.js → p-1efec33f.js} +2 -2
- package/dist/calcite/{p-e7606d01.entry.js → p-2020c86e.entry.js} +2 -2
- package/dist/calcite/{p-10fea07e.js → p-233ef900.js} +2 -2
- package/dist/calcite/{p-8c5ad359.js → p-241913b7.js} +2 -2
- package/dist/calcite/{p-c6eadbf0.entry.js → p-24433916.entry.js} +2 -2
- package/dist/calcite/{p-a9ac5c35.js → p-25523df6.js} +2 -2
- package/dist/calcite/p-2907f4fe.entry.js +6 -0
- package/dist/calcite/{p-3b175dde.entry.js → p-29d104a0.entry.js} +2 -2
- package/dist/calcite/{p-4230e6c9.js → p-2a18bb95.js} +2 -2
- package/dist/calcite/{p-5671ae2e.js → p-2a7df787.js} +2 -2
- package/dist/calcite/{p-d4919db4.entry.js → p-2ac0b902.entry.js} +2 -2
- package/dist/calcite/{p-bb203532.js → p-2b9f5cff.js} +2 -2
- package/dist/calcite/{p-63242d07.js → p-2bab61fb.js} +2 -2
- package/dist/calcite/{p-fbdb06e0.entry.js → p-2d0498ce.entry.js} +2 -2
- package/dist/calcite/{p-f158e12d.entry.js → p-3173b3b2.entry.js} +2 -2
- package/dist/calcite/{p-17f9b672.js → p-3466798f.js} +2 -2
- package/dist/calcite/{p-9759fc98.js → p-36297148.js} +1 -1
- package/dist/calcite/{p-aad7ec0d.js → p-378b325c.js} +2 -2
- package/dist/calcite/{p-785387e6.entry.js → p-39de87c6.entry.js} +2 -2
- package/dist/calcite/{p-6a81490e.js → p-3adee803.js} +2 -2
- package/dist/calcite/{p-77298851.entry.js → p-3b9f549a.entry.js} +2 -2
- package/dist/calcite/{p-d94ce01e.js → p-3c54bbd4.js} +2 -2
- package/dist/calcite/{p-b696940c.js → p-3cce94e2.js} +2 -2
- package/dist/calcite/p-3de27d1c.entry.js +6 -0
- package/dist/calcite/{p-396b97c0.entry.js → p-4335756c.entry.js} +2 -2
- package/dist/calcite/{p-927e46b7.js → p-4387c42d.js} +2 -2
- package/dist/calcite/{p-7b372a44.entry.js → p-43ebb0e1.entry.js} +2 -2
- package/dist/calcite/{p-100d6abb.entry.js → p-453def5a.entry.js} +2 -2
- package/dist/calcite/p-45f4e747.entry.js +6 -0
- package/dist/calcite/{p-392e9db8.entry.js → p-472a9167.entry.js} +2 -2
- package/dist/calcite/p-4918349a.js +6 -0
- package/dist/calcite/{p-df61af68.entry.js → p-4b8edc06.entry.js} +2 -2
- package/dist/calcite/{p-1550d063.js → p-4b9211fd.js} +1 -1
- package/dist/calcite/{p-6628066e.entry.js → p-4d8e9351.entry.js} +2 -2
- package/dist/calcite/{p-ed298fd1.js → p-4fbdccbf.js} +2 -2
- package/dist/calcite/{p-f28e2ecc.js → p-51d18db5.js} +2 -2
- package/dist/calcite/{p-244d1f29.entry.js → p-51fb5048.entry.js} +2 -2
- package/dist/calcite/{p-454b3a3a.entry.js → p-525c19b8.entry.js} +2 -2
- package/dist/calcite/{p-1ceee705.entry.js → p-527b2960.entry.js} +2 -2
- package/dist/calcite/{p-bbb74ace.js → p-53488293.js} +2 -2
- package/dist/calcite/{p-e1dc1d19.entry.js → p-53e84d6c.entry.js} +2 -2
- package/dist/calcite/{p-1de055d9.entry.js → p-5770bec1.entry.js} +2 -2
- package/dist/calcite/{p-a53663bc.js → p-58263b08.js} +1 -1
- package/dist/calcite/{p-ae02d755.js → p-5b7bb5e7.js} +2 -2
- package/dist/calcite/{p-4b72d1ed.js → p-617ca97e.js} +2 -2
- package/dist/calcite/{p-66e56e9b.entry.js → p-62d9fdbd.entry.js} +2 -2
- package/dist/calcite/{p-5671cec2.entry.js → p-630fe66f.entry.js} +2 -2
- package/dist/calcite/{p-0c62c93a.js → p-6390fe18.js} +2 -2
- package/dist/calcite/{p-db46880b.entry.js → p-64e3a306.entry.js} +2 -2
- package/dist/calcite/{p-c8628cde.js → p-674a3ba7.js} +2 -2
- package/dist/calcite/{p-07689794.js → p-6bf36a87.js} +2 -2
- package/dist/calcite/{p-08cf9014.js → p-6c697a5d.js} +2 -2
- package/dist/calcite/{p-1c6cf7e8.js → p-6d4dd060.js} +2 -2
- package/dist/calcite/{p-9bac2804.js → p-6dfbc873.js} +2 -2
- package/dist/calcite/{p-d73fde02.js → p-72d5c28e.js} +2 -2
- package/dist/calcite/{p-e51aceb3.js → p-74debf74.js} +2 -2
- package/dist/calcite/{p-eed23d62.js → p-774d072e.js} +2 -2
- package/dist/calcite/{p-128c964b.entry.js → p-7cc2f752.entry.js} +2 -2
- package/dist/calcite/{p-a56fe1f7.js → p-8412e551.js} +1 -1
- package/dist/calcite/{p-8f0f60d4.js → p-873b5d46.js} +2 -2
- package/dist/calcite/{p-52f813ec.entry.js → p-8968d573.entry.js} +2 -2
- package/dist/calcite/p-8b1d518b.js +6 -0
- package/dist/calcite/{p-c1848732.js → p-8ddb2ae1.js} +1 -1
- package/dist/calcite/{p-ef244b9a.js → p-8dfb8e55.js} +2 -2
- package/dist/calcite/{p-b4e69c2f.js → p-90a039f7.js} +2 -2
- package/dist/calcite/{p-2e1778f8.js → p-90a09339.js} +1 -1
- package/dist/calcite/{p-34ed2168.js → p-90ea442b.js} +2 -2
- package/dist/calcite/{p-fbba3d00.entry.js → p-90f8f9eb.entry.js} +2 -2
- package/dist/calcite/{p-bc15a8c6.js → p-95c2e9e9.js} +2 -2
- package/dist/calcite/{p-f175de16.js → p-9820a7b9.js} +1 -1
- package/dist/calcite/{p-9a4fdac7.entry.js → p-986ed455.entry.js} +2 -2
- package/dist/calcite/p-99e66817.entry.js +6 -0
- package/dist/calcite/{p-26c6bcf1.js → p-9c8d9897.js} +2 -2
- package/dist/calcite/{p-50624216.js → p-9e2db34b.js} +2 -2
- package/dist/calcite/{p-6511330e.entry.js → p-9e74fa17.entry.js} +2 -2
- package/dist/calcite/{p-19719f09.js → p-a4331c98.js} +2 -2
- package/dist/calcite/{p-1b22626a.entry.js → p-a8ab327f.entry.js} +2 -2
- package/dist/calcite/{p-145ee561.js → p-a8ac8484.js} +2 -2
- package/dist/calcite/{p-a7de4540.entry.js → p-abf81014.entry.js} +2 -2
- package/dist/calcite/{p-3333277a.js → p-acb7f263.js} +1 -1
- package/dist/calcite/{p-6ae8ae83.entry.js → p-afc01973.entry.js} +2 -2
- package/dist/calcite/{p-f6ccfae9.js → p-b0ecb7bf.js} +2 -2
- package/dist/calcite/{p-06b82d00.js → p-b1a8c6d8.js} +2 -2
- package/dist/calcite/{p-4ce28e86.js → p-b3df3463.js} +2 -2
- package/dist/calcite/{p-2f6f0f62.entry.js → p-b4e0219c.entry.js} +2 -2
- package/dist/calcite/{p-792eb55b.entry.js → p-b5e7e70e.entry.js} +2 -2
- package/dist/calcite/{p-7549eee8.js → p-b5ffaf93.js} +2 -2
- package/dist/calcite/{p-ce4a5db5.js → p-b76b7e5f.js} +2 -2
- package/dist/calcite/{p-fc6d4563.js → p-b86039b3.js} +2 -2
- package/dist/calcite/{p-a8d4c15a.js → p-b94484ea.js} +2 -2
- package/dist/calcite/{p-6eba965d.js → p-bb2a3343.js} +2 -2
- package/dist/calcite/{p-175f6531.js → p-bc06529d.js} +2 -2
- package/dist/calcite/p-bc440c4c.entry.js +6 -0
- package/dist/calcite/{p-984a8919.js → p-bc7e62c8.js} +2 -2
- package/dist/calcite/{p-54973b7f.entry.js → p-bd7f60e6.entry.js} +2 -2
- package/dist/calcite/{p-5515a69c.js → p-c176f46c.js} +2 -2
- package/dist/calcite/{p-80086780.entry.js → p-c2f3066b.entry.js} +2 -2
- package/dist/calcite/{p-f57f4b49.entry.js → p-c3af3f14.entry.js} +2 -2
- package/dist/calcite/{p-658b35b3.entry.js → p-c4ddc25e.entry.js} +2 -2
- package/dist/calcite/{p-c121d63d.js → p-c77494db.js} +2 -2
- package/dist/calcite/{p-815882f3.entry.js → p-c80fae9d.entry.js} +2 -2
- package/dist/calcite/{p-a787d09e.entry.js → p-c9d7ae20.entry.js} +2 -2
- package/dist/calcite/{p-67356414.js → p-ca21f1ff.js} +2 -2
- package/dist/calcite/{p-817e9691.entry.js → p-ca8d3606.entry.js} +2 -2
- package/dist/calcite/{p-6397975b.entry.js → p-cb39f913.entry.js} +2 -2
- package/dist/calcite/{p-b9d8e974.js → p-cd289192.js} +2 -2
- package/dist/calcite/{p-5b4ab7c1.js → p-cec72942.js} +2 -2
- package/dist/calcite/{p-3a4b94d4.js → p-d29af7b7.js} +2 -2
- package/dist/calcite/{p-fae15c43.entry.js → p-d43700c2.entry.js} +2 -2
- package/dist/calcite/{p-5bb5d019.entry.js → p-d737b079.entry.js} +2 -2
- package/dist/calcite/{p-e3479c79.js → p-d8bd8114.js} +1 -1
- package/dist/calcite/{p-f35fd371.js → p-da14b072.js} +2 -2
- package/dist/calcite/{p-f8bfdbe4.js → p-da2d526e.js} +1 -1
- package/dist/calcite/{p-dcdaa909.js → p-da94c02f.js} +2 -2
- package/dist/calcite/{p-1eb33dae.entry.js → p-db466fd6.entry.js} +2 -2
- package/dist/calcite/{p-bc98ae13.js → p-dcf595df.js} +1 -1
- package/dist/calcite/{p-64176d3c.js → p-e0ab263f.js} +2 -2
- package/dist/calcite/{p-428b49a8.js → p-e3040742.js} +2 -2
- package/dist/calcite/{p-9dbbe0f6.entry.js → p-e43c927b.entry.js} +2 -2
- package/dist/calcite/{p-6cc841ca.js → p-e68f9140.js} +1 -1
- package/dist/calcite/{p-e3aeb727.js → p-e8e9c90e.js} +2 -2
- package/dist/calcite/{p-565e2516.js → p-e8fa31a9.js} +2 -2
- package/dist/calcite/{p-d61ff31d.entry.js → p-ee15a23b.entry.js} +2 -2
- package/dist/calcite/{p-fda70763.js → p-f13beb85.js} +2 -2
- package/dist/calcite/{p-83eecff7.entry.js → p-f65a7542.entry.js} +2 -2
- package/dist/calcite/{p-48f9da5a.entry.js → p-f7c20d71.entry.js} +2 -2
- package/dist/calcite/{p-902b4f6e.js → p-f9c1832e.js} +1 -1
- package/dist/calcite/{p-29b2baef.js → p-f9e32c47.js} +1 -1
- package/dist/calcite/{p-13f08df5.entry.js → p-fb20cb05.entry.js} +2 -2
- package/dist/calcite/p-fbd4800b.js +6 -0
- package/dist/calcite/p-fc792df7.entry.js +6 -0
- package/dist/calcite/{p-add2d209.entry.js → p-fd019188.entry.js} +2 -2
- package/dist/calcite/{p-5240eb84.entry.js → p-feee48db.entry.js} +2 -2
- package/dist/calcite/{p-24f0918b.entry.js → p-fff104a9.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-a02d545e.js → ExpandToggle-d419e61e.js} +5 -5
- package/dist/cjs/{FloatingArrow-d01f82a5.js → FloatingArrow-6d8d4cdb.js} +2 -2
- package/dist/cjs/{Heading-17e5f9e8.js → Heading-a9371ff5.js} +2 -2
- package/dist/cjs/{app-globals-de7b2ef4.js → app-globals-175b996c.js} +2 -2
- package/dist/cjs/{ar-759e9322.js → ar-14977cbf.js} +16 -16
- package/dist/cjs/{array-ab3fe676.js → array-d6506ef5.js} +1 -1
- package/dist/cjs/{bg-889c3a5b.js → bg-e25651b2.js} +16 -16
- package/dist/cjs/{browser-e19cdff7.js → browser-66309954.js} +1 -1
- package/dist/cjs/{bs-42adb170.js → bs-2bb291b0.js} +16 -16
- package/dist/cjs/{ca-69438428.js → ca-955c2404.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 +12 -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 +29 -29
- 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 +20 -19
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-10b10082.js → calcite-input-time-picker.calcite-time-picker-f383963c.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input.cjs.entry.js +15 -15
- 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 +13 -49
- 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-9d74c110.js → composed-offset-position.esm-699e15a0.js} +1 -1
- package/dist/cjs/{conditionalSlot-46364346.js → conditionalSlot-7b1f98cc.js} +3 -3
- package/dist/cjs/{cs-913f1e61.js → cs-fe2b9aa9.js} +16 -16
- package/dist/cjs/{da-eed634ae.js → da-0050b2b0.js} +16 -16
- package/dist/cjs/{de-0b8518cc.js → de-6c94f32a.js} +16 -16
- package/dist/cjs/{de-at-1b8ed8e8.js → de-at-c76c68c4.js} +16 -16
- package/dist/cjs/{de-ch-13b4bab2.js → de-ch-6f20087c.js} +16 -16
- package/dist/cjs/{debounce-4ea8fc9f.js → debounce-d9e346ff.js} +1 -1
- package/dist/cjs/{dom-172e7e6c.js → dom-56cb4723.js} +3 -3
- package/dist/cjs/{el-0f583dec.js → el-5499a14c.js} +16 -16
- package/dist/cjs/{en-au-6b0a5437.js → en-au-7877ff39.js} +16 -16
- package/dist/cjs/{en-ca-c50f0386.js → en-ca-e45b43bb.js} +16 -16
- package/dist/cjs/{en-gb-7334a92b.js → en-gb-a7c55fba.js} +16 -16
- package/dist/cjs/{es-989c9378.js → es-f8a69397.js} +16 -16
- package/dist/cjs/{es-mx-81bdfda2.js → es-mx-99754540.js} +16 -16
- package/dist/cjs/{et-613a8fe6.js → et-7dbd592f.js} +16 -16
- package/dist/cjs/{fi-377558f0.js → fi-77de949d.js} +16 -16
- package/dist/cjs/{filter-daf274df.js → filter-6797a4a3.js} +2 -2
- package/dist/cjs/{floating-ui-166e982a.js → floating-ui-fc6d18c8.js} +113 -102
- package/dist/cjs/{focusTrapComponent-fc83be77.js → focusTrapComponent-6e8bd2cf.js} +2 -2
- package/dist/cjs/{form-d71f5659.js → form-cb942742.js} +3 -3
- package/dist/cjs/{fr-2bebf67b.js → fr-2399770a.js} +16 -16
- package/dist/cjs/{fr-ch-0361effd.js → fr-ch-7da38816.js} +16 -16
- package/dist/cjs/{guid-e3b0f9c0.js → guid-9e1ea275.js} +1 -1
- package/dist/cjs/{he-2e3024b5.js → he-bab28eeb.js} +16 -16
- package/dist/cjs/{hi-93e7a909.js → hi-045998f7.js} +16 -16
- package/dist/cjs/{hr-ce281283.js → hr-c0aaaa9a.js} +16 -16
- package/dist/cjs/{hu-c4cb11eb.js → hu-c90e2d27.js} +16 -16
- package/dist/cjs/{id-0f33ccc1.js → id-9ec3d6ac.js} +16 -16
- package/dist/cjs/{index-76fa2411.js → index-7daec7f5.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-861e900a.js → interactive-233151c7.js} +2 -2
- package/dist/cjs/{it-34aeb52b.js → it-348bc76d.js} +16 -16
- package/dist/cjs/{it-ch-1323bd29.js → it-ch-ae4a4c91.js} +16 -16
- package/dist/cjs/{ja-353f2f63.js → ja-dc764220.js} +16 -16
- package/dist/cjs/{key-d666db2b.js → key-cf18e770.js} +1 -1
- package/dist/cjs/{ko-4fdbc0b2.js → ko-af6bb19e.js} +16 -16
- package/dist/cjs/{label-0199f47e.js → label-957ed122.js} +2 -2
- package/dist/cjs/{loadable-f2c974fb.js → loadable-632ad866.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-33de0a01.js → locale-ff4222b7.js} +4 -4
- package/dist/cjs/{lt-6d530c2b.js → lt-84c132ad.js} +16 -16
- package/dist/cjs/{lv-134c2e1d.js → lv-e225c9ff.js} +16 -16
- package/dist/cjs/{math-fe0a1def.js → math-8c40a33f.js} +1 -1
- package/dist/cjs/{mk-96865a6b.js → mk-52d02d02.js} +16 -16
- package/dist/cjs/{nb-9ad166a2.js → nb-efe27588.js} +16 -16
- package/dist/cjs/{nl-1e2ad0e8.js → nl-dd7cad01.js} +16 -16
- package/dist/cjs/{observers-9daeae07.js → observers-85d8f58b.js} +1 -1
- package/dist/cjs/{openCloseComponent-069372e0.js → openCloseComponent-41a560eb.js} +2 -2
- package/dist/cjs/{pl-08b16c3c.js → pl-675e901f.js} +16 -16
- package/dist/cjs/{pt-a255d0ef.js → pt-0aecaf16.js} +16 -16
- package/dist/cjs/{pt-br-f64f01cd.js → pt-br-c31b8f64.js} +16 -16
- package/dist/cjs/{resources-b16e80ae.js → resources-0e23c5e4.js} +1 -1
- package/dist/cjs/{resources-085f6812.js → resources-0eb26839.js} +5 -5
- package/dist/cjs/{resources-bd52c31c.js → resources-a9a11d1b.js} +1 -1
- package/dist/cjs/{resources-6439c31b.js → resources-e3f7374e.js} +1 -1
- package/dist/cjs/{resources-e725d8d7.js → resources-e7cb4369.js} +1 -1
- package/dist/cjs/{resources-ca186efb.js → resources-fac413f2.js} +1 -1
- package/dist/cjs/{ro-edf05b0f.js → ro-3afff2bd.js} +16 -16
- package/dist/cjs/{ru-a2693a5f.js → ru-61f4dfba.js} +16 -16
- package/dist/cjs/{sk-06b58193.js → sk-e5a9244f.js} +16 -16
- package/dist/cjs/{sl-9213cb1b.js → sl-9c99e5d2.js} +16 -16
- package/dist/cjs/{sortableComponent-cdb2eaca.js → sortableComponent-10017d2c.js} +2 -2
- package/dist/cjs/{sr-88f291fb.js → sr-a7edaab8.js} +16 -16
- package/dist/cjs/{sv-7647128b.js → sv-39b64fcb.js} +16 -16
- package/dist/cjs/{t9n-bdd24266.js → t9n-414df300.js} +3 -3
- package/dist/cjs/{th-9f7e053c.js → th-a7b672dd.js} +16 -16
- package/dist/cjs/{throttle-5e8e1bc3.js → throttle-30d8f24b.js} +2 -2
- package/dist/cjs/{tr-12055864.js → tr-5dcced80.js} +16 -16
- package/dist/cjs/{uk-b63f5eed.js → uk-bdc55886.js} +16 -16
- package/dist/cjs/{utils-6983361f.js → utils-ac1c1369.js} +3 -3
- package/dist/cjs/{utils-698b2a78.js → utils-dd74e9de.js} +1 -1
- package/dist/cjs/{vi-5ee47715.js → vi-463648db.js} +16 -16
- package/dist/cjs/{zh-cn-2bb0b7ba.js → zh-cn-7ed2b7c5.js} +16 -16
- package/dist/cjs/{zh-hk-74e7b7a8.js → zh-hk-77bb120e.js} +16 -16
- package/dist/cjs/{zh-tw-54d44dd1.js → zh-tw-242d4d30.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 +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/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 +36 -16
- 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 +2 -2
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +2 -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 +2 -2
- 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.css +3 -2
- package/dist/collection/components/tree-item/tree-item.js +4 -40
- 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 +110 -99
- 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 +2 -2
- package/dist/components/FloatingArrow.js +2 -2
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +2 -2
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- 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 +2 -2
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +4 -4
- 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 +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +3 -3
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +2 -2
- package/dist/components/calcite-flow.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-input-date-picker.js +3 -2
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +2 -2
- package/dist/components/calcite-input-time-picker.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +2 -2
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control.js +2 -2
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stack.js +2 -2
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +6 -42
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +2 -2
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +20 -18
- 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 +2 -2
- 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 +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +110 -99
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +2 -2
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- 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 +2 -2
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +2 -101
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +3 -3
- package/dist/components/input.js +3 -3
- 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 +2 -2
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/openCloseComponent.js +2 -2
- package/dist/components/panel.js +2 -2
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.js +2 -2
- 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 +2 -2
- package/dist/components/shared-list-render.js +2 -2
- 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 +2 -2
- package/dist/components/t9n.js +2 -2
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +2 -2
- 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 +3 -3
- package/dist/components/utils3.js +2 -2
- 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-b5db4e73.js → ExpandToggle-0634d06b.js} +5 -5
- package/dist/esm/{FloatingArrow-a2a03b2b.js → FloatingArrow-bb209bd4.js} +2 -2
- package/dist/esm/{Heading-308ae5e8.js → Heading-16f97d89.js} +2 -2
- package/dist/esm/{app-globals-b4e40fb5.js → app-globals-abd4cea8.js} +2 -2
- package/dist/esm/{ar-f1df113c.js → ar-7a4c0145.js} +16 -16
- package/dist/esm/{array-868bcad6.js → array-3bed55e6.js} +1 -1
- package/dist/esm/{bg-24c97057.js → bg-bd04bd42.js} +16 -16
- package/dist/esm/{browser-fabb40ea.js → browser-df935989.js} +1 -1
- package/dist/esm/{bs-d5152514.js → bs-ab594d45.js} +16 -16
- package/dist/esm/{ca-85ca5d97.js → ca-ada59200.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 +12 -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 +29 -29
- 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 +20 -19
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +15 -15
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-16ad32d5.js → calcite-input-time-picker.calcite-time-picker-ba1fc48f.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -16
- package/dist/esm/calcite-input.entry.js +15 -15
- 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 +13 -49
- 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-e1d1c8cb.js → composed-offset-position.esm-8fd9f5e8.js} +1 -1
- package/dist/esm/{conditionalSlot-70f9c6b9.js → conditionalSlot-d9595c56.js} +3 -3
- package/dist/esm/{cs-8464e57b.js → cs-56367bc5.js} +16 -16
- package/dist/esm/{da-d909749b.js → da-c7fd795e.js} +16 -16
- package/dist/esm/{de-e44ba6fa.js → de-19edcfe6.js} +16 -16
- package/dist/esm/{de-at-b9e1b519.js → de-at-30b8fe89.js} +16 -16
- package/dist/esm/{de-ch-eedcdb7c.js → de-ch-cde91103.js} +16 -16
- package/dist/esm/{debounce-2c05db70.js → debounce-6f28bb3a.js} +1 -1
- package/dist/esm/{dom-46ce50e3.js → dom-32d8fda0.js} +3 -3
- package/dist/esm/{el-5c207807.js → el-e649c671.js} +16 -16
- package/dist/esm/{en-au-4bc52435.js → en-au-41f530ef.js} +16 -16
- package/dist/esm/{en-ca-a3115fef.js → en-ca-330b369a.js} +16 -16
- package/dist/esm/{en-gb-8cdd5770.js → en-gb-58c447ad.js} +16 -16
- package/dist/esm/{es-d69c4843.js → es-c196bbeb.js} +16 -16
- package/dist/esm/{es-mx-351c2321.js → es-mx-97b79340.js} +16 -16
- package/dist/esm/{et-e0ec4a8f.js → et-40479997.js} +16 -16
- package/dist/esm/{fi-d1c0c39c.js → fi-8e3fe2c5.js} +16 -16
- package/dist/esm/{filter-d6dfba45.js → filter-526b9ead.js} +2 -2
- package/dist/esm/{floating-ui-c6caafab.js → floating-ui-46967d70.js} +113 -102
- package/dist/esm/{focusTrapComponent-9fdb270f.js → focusTrapComponent-9a5fc3f9.js} +2 -2
- package/dist/esm/{form-455904de.js → form-a9842e3a.js} +3 -3
- package/dist/esm/{fr-4922faa0.js → fr-441bbac9.js} +16 -16
- package/dist/esm/{fr-ch-ffbacbb2.js → fr-ch-ed07dec7.js} +16 -16
- package/dist/esm/{guid-5ee19f82.js → guid-73cdda8d.js} +1 -1
- package/dist/esm/{he-5d31ffcc.js → he-a3bc7e41.js} +16 -16
- package/dist/esm/{hi-c4da825c.js → hi-97248a52.js} +16 -16
- package/dist/esm/{hr-ba73a61a.js → hr-a930ab0b.js} +16 -16
- package/dist/esm/{hu-9fefeda2.js → hu-5d7f7f79.js} +16 -16
- package/dist/esm/{id-fd3d895d.js → id-ebcfcd64.js} +16 -16
- package/dist/esm/{index-12e4b2be.js → index-a76cd421.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-bfeaf984.js → interactive-f9a8de04.js} +2 -2
- package/dist/esm/{it-5f64b833.js → it-a8cd1fcb.js} +16 -16
- package/dist/esm/{it-ch-053a58f7.js → it-ch-ee2352b3.js} +16 -16
- package/dist/esm/{ja-5f048c53.js → ja-4d533fda.js} +16 -16
- package/dist/esm/{key-7d1cd3bd.js → key-c7e1a33a.js} +1 -1
- package/dist/esm/{ko-45f6610f.js → ko-7771bdb5.js} +16 -16
- package/dist/esm/{label-e9150360.js → label-56bef351.js} +2 -2
- package/dist/esm/{loadable-4c99c073.js → loadable-3db46c6d.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-5245ba39.js → locale-92c3ec22.js} +4 -4
- package/dist/esm/{lt-1a912a37.js → lt-1b1c9f0d.js} +16 -16
- package/dist/esm/{lv-931af546.js → lv-bb38b175.js} +16 -16
- package/dist/esm/{math-114e4229.js → math-61a37c59.js} +1 -1
- package/dist/esm/{mk-a5ee1808.js → mk-1a74b31c.js} +16 -16
- package/dist/esm/{nb-086209bf.js → nb-999751e3.js} +16 -16
- package/dist/esm/{nl-ccdeee01.js → nl-57a4bacb.js} +16 -16
- package/dist/esm/{observers-291157a3.js → observers-b01bb06e.js} +1 -1
- package/dist/esm/{openCloseComponent-8158490f.js → openCloseComponent-e8229bea.js} +2 -2
- package/dist/esm/{pl-7f98799f.js → pl-3bb69f36.js} +16 -16
- package/dist/esm/{pt-8179bcd1.js → pt-3daacbcd.js} +16 -16
- package/dist/esm/{pt-br-2427ac92.js → pt-br-4f02c654.js} +16 -16
- package/dist/esm/{resources-dcff07fa.js → resources-0d5f5a6d.js} +1 -1
- package/dist/esm/{resources-62418c43.js → resources-3ec3f2b6.js} +1 -1
- package/dist/esm/{resources-b1020247.js → resources-6d0339b1.js} +5 -5
- package/dist/esm/{resources-4248ce57.js → resources-a6174b0b.js} +1 -1
- package/dist/esm/{resources-05cee1a1.js → resources-a69b80ea.js} +1 -1
- package/dist/esm/{resources-c8b43840.js → resources-fb6d719c.js} +1 -1
- package/dist/esm/{ro-2129b78e.js → ro-e8975e28.js} +16 -16
- package/dist/esm/{ru-54c8154a.js → ru-aedd07ed.js} +16 -16
- package/dist/esm/{sk-678a3b80.js → sk-e4390307.js} +16 -16
- package/dist/esm/{sl-586eff47.js → sl-0c46eeab.js} +16 -16
- package/dist/esm/{sortableComponent-f2f72558.js → sortableComponent-4ec779c7.js} +2 -2
- package/dist/esm/{sr-536dd9f0.js → sr-e37c77b4.js} +16 -16
- package/dist/esm/{sv-84df6ac5.js → sv-e5e49409.js} +16 -16
- package/dist/esm/{t9n-9f99cef7.js → t9n-fb7161f1.js} +3 -3
- package/dist/esm/{th-d45eca68.js → th-003afb63.js} +16 -16
- package/dist/esm/{throttle-38e2717c.js → throttle-b4a77f45.js} +2 -2
- package/dist/esm/{tr-0ca52564.js → tr-c6aa71bd.js} +16 -16
- package/dist/esm/{uk-3470243e.js → uk-c78eb617.js} +16 -16
- package/dist/esm/{utils-83780950.js → utils-1dd96741.js} +3 -3
- package/dist/esm/{utils-90291fdc.js → utils-cda850b4.js} +1 -1
- package/dist/esm/{vi-971040f2.js → vi-b886c04c.js} +16 -16
- package/dist/esm/{zh-cn-7b676a1a.js → zh-cn-a83c7d85.js} +16 -16
- package/dist/esm/{zh-hk-2cf7e141.js → zh-hk-6560b6a9.js} +16 -16
- package/dist/esm/{zh-tw-119b9d0f.js → zh-tw-7f50b3f6.js} +16 -16
- package/dist/extras/docs-json.d.ts +148 -0
- package/dist/extras/docs-json.json +25227 -0
- package/dist/extras/translations-json.json +1 -0
- package/dist/extras/vscode-data.json +6728 -0
- 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/date-picker/date-picker.d.ts +6 -4
- package/dist/types/components/tree-item/tree-item.d.ts +2 -26
- package/dist/types/components.d.ts +4 -0
- package/dist/types/preact.d.ts +445 -0
- package/dist/types/utils/floating-ui.d.ts +50 -51
- package/hydrate/index.js +134 -155
- package/package.json +5 -3
- package/readme.md +2 -2
- package/dist/calcite/p-386f62e0.js +0 -6
- package/dist/calcite/p-536af17f.entry.js +0 -6
- package/dist/calcite/p-6e162845.js +0 -6
- package/dist/calcite/p-71dd3346.entry.js +0 -6
- package/dist/calcite/p-7824761f.entry.js +0 -6
- package/dist/calcite/p-97d31eac.js +0 -6
- package/dist/calcite/p-ca97c1d9.entry.js +0 -6
- package/dist/calcite/p-d93d1322.entry.js +0 -6
- package/dist/calcite/p-da0621da.entry.js +0 -6
- package/dist/calcite/p-dc56d76a.entry.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.6
|
|
5
5
|
*/
|
|
6
|
-
import{b as t}from"./p-50624216.js";import{g as n,a as e}from"./p-e3479c79.js";import{d as o}from"./p-1550d063.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],w=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})),v="floating"===p?{...a.floating,x:o,y:r}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},P=u(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:s}):v);return{top:(w.top-P.top+h.top)/A.y,bottom:(P.bottom-w.bottom+h.bottom)/A.y,left:(w.left-P.left+h.left)/A.x,right:(P.right-w.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 w(t){return t.replace(/left|right|bottom|top/g,(t=>x[t]))}function v(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=w(c)),{main:c,cross:w(c)}}const b={start:"end",end:"start"};function A(t){return t.replace(/start|end/g,(t=>b[t]))}const P=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,...b}=c(t,n),P=a(o),k=a(s)===s,S=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=y||(k||!x?[w(s)]:function(t){const n=w(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 M=[s,...D],R=await d(n,b),C=[];let F=(null==(e=i.flip)?void 0:e.overflows)||[];if(m&&C.push(R[P]),p){const{main:t,cross:n}=v(o,l,S);C.push(R[t],R[n])}if(F=[...F,{placement:o,overflows:C}],!C.every((t=>t<=0))){var O,E;const t=((null==(O=i.flip)?void 0:O.index)||0)+1,n=M[t];if(n)return{data:{index:t,overflows:F},reset:{placement:n}};let e=null==(E=F.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:E.placement;if(!e)switch(g){case"bestFit":{var T;const t=null==(T=F.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:T[0];t&&(e=t);break}case"initialPlacement":e=s}if(o!==e)return{reset:{placement:e}}}return{}}}};function k(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=k(await d(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=k(await d(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},M=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 R(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){return R(t).getComputedStyle(t)}function F(t){return t instanceof R(t).Node}function O(t){return F(t)?(t.nodeName||"").toLowerCase():"#document"}function E(t){return t instanceof R(t).HTMLElement}function T(t){return t instanceof R(t).Element}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof R(t).ShadowRoot||t instanceof ShadowRoot)}function $(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=C(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function z(t){return["table","td","th"].includes(O(t))}function B(t){const n=L(),e=C(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 L(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function H(t){return["html","body","#document"].includes(O(t))}const I=Math.min,N=Math.max,W=Math.round,q=Math.floor,G=t=>({x:t,y:t});function U(t){const n=C(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=E(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,$:l}}function V(t){return T(t)?t:t.contextElement}function X(t){const n=V(t);if(!E(n))return G(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=U(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 Y=G(0);function _(t,n,e){var o,r;if(void 0===n&&(n=!0),!L())return Y;const i=t?R(t):window;return!e||n&&e!==i?Y:{x:(null==(o=i.visualViewport)?void 0:o.offsetLeft)||0,y:(null==(r=i.visualViewport)?void 0:r.offsetTop)||0}}function J(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=V(t);let a=G(1);n&&(o?T(o)&&(a=X(o)):a=X(t));const l=_(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=R(i),n=o&&T(o)?R(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=X(e),n=e.getBoundingClientRect(),o=getComputedStyle(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,d*=t.y,s+=r,c+=i,e=R(e).frameElement}}return u({width:f,height:d,x:s,y:c})}function K(t){return((F(t)?t.ownerDocument:t.document)||window.document).documentElement}function Q(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(t){return J(K(t)).left+Q(t).scrollLeft}function tt(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||K(t);return j(n)?n.host:n}function nt(t){const n=tt(t);return H(n)?t.ownerDocument?t.ownerDocument.body:t.body:E(n)&&$(n)?n:nt(n)}function et(t,n){var e;void 0===n&&(n=[]);const o=nt(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=R(o);return r?n.concat(i,i.visualViewport||[],$(o)?o:[]):n.concat(o,et(o))}function ot(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=R(t),o=K(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=L();(!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=K(t),e=Q(t),o=t.ownerDocument.body,r=N(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=N(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Z(t);const l=-e.scrollTop;return"rtl"===C(o).direction&&(a+=N(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(K(t));else if(T(n))o=function(t,n){const e=J(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=E(t)?X(t):G(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=_(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return u(o)}function rt(t,n){const e=tt(t);return!(e===n||!T(e)||H(e))&&("fixed"===C(e).position||rt(e,n))}function it(t,n){return E(t)&&"fixed"!==C(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=R(t);if(!E(t))return e;let o=it(t,n);for(;o&&z(o)&&"static"===C(o).position;)o=it(o,n);return o&&("html"===O(o)||"body"===O(o)&&"static"===C(o).position&&!B(o))?e:o||function(t){let n=tt(t);for(;E(n)&&!H(n);){if(B(n))return n;n=tt(n)}return null}(t)||e}function lt(t,n,e){const o=E(n),r=K(n),i="fixed"===e,a=J(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const s=G(0);if(o||!o&&!i)if(("body"!==O(n)||$(r))&&(l=Q(n)),E(n)){const t=J(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&(s.x=Z(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}const st={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=et(t).filter((t=>T(t)&&"body"!==O(t))),r=null;const i="fixed"===C(t).position;let a=i?tt(t):t;for(;T(a)&&!H(a);){const n=C(a),e=B(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||$(a)&&!e&&rt(t,a))?o=o.filter((t=>t!==a)):r=n,a=tt(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=ot(n,e,r);return t.top=N(o.top,t.top),t.right=I(o.right,t.right),t.bottom=I(o.bottom,t.bottom),t.left=N(o.left,t.left),t}),ot(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=E(e),i=K(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=G(1);const s=G(0);if((r||!r&&"fixed"!==o)&&(("body"!==O(e)||$(i))&&(a=Q(e)),E(e))){const t=J(e);l=X(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:T,getDimensions:function(t){return U(t)},getOffsetParent:at,getDocumentElement:K,getScale:X,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:lt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===C(t).direction};const ct={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},ft=async function(){if(ct.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-f175de16.js"),n=st.getOffsetParent;st.getOffsetParent=e=>n(e,t)}}(),ut=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],dt="bottom-start",mt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function pt({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],w=u[g];r&&(h=y(h+m["y"===p?"top":"left"],h,h-m["y"===p?"bottom":"right"])),i&&(w=y(w+m["y"===g?"top":"left"],w,w-m["y"===g?"bottom":"right"]));const v=s.fn({...t,[p]:h,[g]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),D()];var x;if("menu"===p)return[...g,P({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===p||"tooltip"===p){const p=[...g,M({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,...w}=c(t,n),b=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,P=await d(n,w),k=(null==(e=s.autoPlacement)?void 0:e.index)||0,S=b[k];if(null==S)return{};const{main:D,cross:M}=v(S,l,await(null==u.isRTL?void 0:u.isRTL(m.floating)));if(f!==S)return{reset:{placement:b[0]}};const R=[P[a(S)],P[D],P[M]],C=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:S,overflows:R}],F=b[k+1];if(F)return{data:{index:k+1,overflows:C},reset:{placement:F}};const O=C.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])),E=(null==(i=O.filter((t=>t[2].slice(0,r(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||O[0][0];return E!==f?{data:{index:k+1,overflows:C},reset:{placement:E}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||p.push(P(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},w=l(a),v=i(w),b=await u.getDimensions(p),A="y"===w,P=A?"top":"left",k=A?"bottom":"right",S=A?"clientHeight":"clientWidth",D=s.reference[v]+s.reference[w]-x[w]-s.floating[v],M=x[w]-s.reference[w],R=await(null==u.getOffsetParent?void 0:u.getOffsetParent(p));let C=R?R[S]:0;C&&await(null==u.isElement?void 0:u.isElement(R))||(C=d.floating[S]||s.floating[v]);const F=D/2-M/2,O=C/2-b[v]/2-1,E=m(h[P],O),T=m(h[k],O),j=E,$=C-b[v]-T,z=C/2-b[v]/2+F,B=y(j,z,$),L=null!=r(a)&&z!=B&&s.reference[v]/2-(z<j?E:T)-b[v]/2<0?z<j?j-z:$-z:0;return{[w]:x[w]-L,data:{[w]:B,centerOffset:z-B+L}}}}))({element:u})),p}return[]}function yt(t,n){const e=t.filter((t=>ut.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ut.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function gt(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 ht(t,n,e=!1){if(t.open)return e?xt(t,n):vt(t,n)}const xt=o(vt,100,{leading:!0,maxWait:100}),wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};async function vt(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 ft;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:st,...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:w,reset:v}=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],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):v.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:gt(e,r),middleware:pt({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=wt[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,w=x?"none":null;e.setAttribute("data-placement",p);const v=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:w,position:y,top:"0",left:"0",transform:v})}const bt=new WeakMap;function At(t,n,e){e&&n&&(Pt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),bt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,c=V(t),f=r||i?[...c?et(c):[],...et(n)]:[];f.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));const u=c&&l?function(t,n){let e,o=null;const r=K(t);function i(){clearTimeout(e),o&&o.disconnect(),o=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();const{left:c,top:f,width:u,height:d}=t.getBoundingClientRect();if(l||n(),!u||!d)return;const m=q(f),p=q(r.clientWidth-(c+u)),y=q(r.clientHeight-(f+d)),g=q(c);let h=!0;o=new IntersectionObserver((t=>{const n=t[0].intersectionRatio;if(n!==s){if(!h)return a();0===n?e=setTimeout((()=>{a(!1,1e-7)}),100):a(!1,n)}h=!1}),{rootMargin:-m+"px "+-p+"px "+-y+"px "+-g+"px",threshold:s}),o.observe(t)}(!0),i}(c,e):null;let d,m=null;a&&(m=new ResizeObserver(e),c&&!s&&m.observe(c),m.observe(n));let p=s?J(t):null;return s&&function n(){const o=J(t);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||e(),p=o,d=requestAnimationFrame(n)}(),e(),()=>{f.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),u&&u(),m&&m.disconnect(),m=null,s&&cancelAnimationFrame(d)}}(n,e,(()=>t.reposition()))))}function Pt(t,n,e){if(!e||!n)return;const o=bt.get(t);o&&o(),bt.delete(t)}const kt=Math.ceil(Math.hypot(4,4));export{mt as F,Pt as a,kt as b,At as c,dt as d,yt as f,ht as r}
|
|
6
|
+
import{b as t}from"./p-9e2db34b.js";import{g as n,a as e}from"./p-d8bd8114.js";import{d as o}from"./p-4b9211fd.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},P=u(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:v,strategy:s}):w);return{top:(b.top-P.top+h.top)/A.y,bottom:(P.bottom-b.bottom+h.bottom)/A.y,left:(b.left-P.left+h.left)/A.x,right:(P.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 P=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),P=a(o),k=a(s)===s,S=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=y||(k||!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 M=[s,...D],R=await d(n,v),C=[];let F=(null==(e=i.flip)?void 0:e.overflows)||[];if(m&&C.push(R[P]),p){const{main:t,cross:n}=w(o,l,S);C.push(R[t],R[n])}if(F=[...F,{placement:o,overflows:C}],!C.every((t=>t<=0))){var O,E;const t=((null==(O=i.flip)?void 0:O.index)||0)+1,n=M[t];if(n)return{data:{index:t,overflows:F},reset:{placement:n}};let e=null==(E=F.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:E.placement;if(!e)switch(g){case"bestFit":{var T;const t=null==(T=F.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:T[0];t&&(e=t);break}case"initialPlacement":e=s}if(o!==e)return{reset:{placement:e}}}return{}}}};function k(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=k(await d(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=k(await d(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},M=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 R(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){return R(t).getComputedStyle(t)}function F(t){return t instanceof R(t).Node}function O(t){return F(t)?(t.nodeName||"").toLowerCase():"#document"}function E(t){return t instanceof R(t).HTMLElement}function T(t){return t instanceof R(t).Element}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof R(t).ShadowRoot||t instanceof ShadowRoot)}function $(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=C(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function z(t){return["table","td","th"].includes(O(t))}function B(t){const n=L(),e=C(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 L(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function H(t){return["html","body","#document"].includes(O(t))}const I=Math.min,N=Math.max,W=Math.round,q=Math.floor,G=t=>({x:t,y:t});function U(t){const n=C(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=E(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,$:l}}function V(t){return T(t)?t:t.contextElement}function X(t){const n=V(t);if(!E(n))return G(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=U(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 Y=G(0);function _(t,n,e){var o,r;if(void 0===n&&(n=!0),!L())return Y;const i=t?R(t):window;return!e||n&&e!==i?Y:{x:(null==(o=i.visualViewport)?void 0:o.offsetLeft)||0,y:(null==(r=i.visualViewport)?void 0:r.offsetTop)||0}}function J(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=V(t);let a=G(1);n&&(o?T(o)&&(a=X(o)):a=X(t));const l=_(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=R(i),n=o&&T(o)?R(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=X(e),n=e.getBoundingClientRect(),o=getComputedStyle(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,d*=t.y,s+=r,c+=i,e=R(e).frameElement}}return u({width:f,height:d,x:s,y:c})}function K(t){return((F(t)?t.ownerDocument:t.document)||window.document).documentElement}function Q(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(t){return J(K(t)).left+Q(t).scrollLeft}function tt(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||K(t);return j(n)?n.host:n}function nt(t){const n=tt(t);return H(n)?t.ownerDocument?t.ownerDocument.body:t.body:E(n)&&$(n)?n:nt(n)}function et(t,n){var e;void 0===n&&(n=[]);const o=nt(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=R(o);return r?n.concat(i,i.visualViewport||[],$(o)?o:[]):n.concat(o,et(o))}function ot(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=R(t),o=K(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=L();(!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=K(t),e=Q(t),o=t.ownerDocument.body,r=N(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=N(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Z(t);const l=-e.scrollTop;return"rtl"===C(o).direction&&(a+=N(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(K(t));else if(T(n))o=function(t,n){const e=J(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=E(t)?X(t):G(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=_(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return u(o)}function rt(t,n){const e=tt(t);return!(e===n||!T(e)||H(e))&&("fixed"===C(e).position||rt(e,n))}function it(t,n){return E(t)&&"fixed"!==C(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=R(t);if(!E(t))return e;let o=it(t,n);for(;o&&z(o)&&"static"===C(o).position;)o=it(o,n);return o&&("html"===O(o)||"body"===O(o)&&"static"===C(o).position&&!B(o))?e:o||function(t){let n=tt(t);for(;E(n)&&!H(n);){if(B(n))return n;n=tt(n)}return null}(t)||e}function lt(t,n,e){const o=E(n),r=K(n),i="fixed"===e,a=J(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const s=G(0);if(o||!o&&!i)if(("body"!==O(n)||$(r))&&(l=Q(n)),E(n)){const t=J(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&(s.x=Z(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}const st={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=et(t).filter((t=>T(t)&&"body"!==O(t))),r=null;const i="fixed"===C(t).position;let a=i?tt(t):t;for(;T(a)&&!H(a);){const n=C(a),e=B(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||$(a)&&!e&&rt(t,a))?o=o.filter((t=>t!==a)):r=n,a=tt(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=ot(n,e,r);return t.top=N(o.top,t.top),t.right=I(o.right,t.right),t.bottom=I(o.bottom,t.bottom),t.left=N(o.left,t.left),t}),ot(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=E(e),i=K(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=G(1);const s=G(0);if((r||!r&&"fixed"!==o)&&(("body"!==O(e)||$(i))&&(a=Q(e)),E(e))){const t=J(e);l=X(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:T,getDimensions:function(t){return U(t)},getOffsetParent:at,getDocumentElement:K,getScale:X,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:lt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===C(t).direction};const ct={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},ft=async function(){if(ct.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-9820a7b9.js"),n=st.getOffsetParent;st.getOffsetParent=e=>n(e,t)}}(),ut=async(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 ft;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:st,...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:xt(e,r),middleware:gt({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=wt[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(dt,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})},dt="data-placement",mt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],pt="bottom-start",yt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function gt({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,P({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===p||"tooltip"===p){const p=[...g,M({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,P=await d(n,b),k=(null==(e=s.autoPlacement)?void 0:e.index)||0,S=v[k];if(null==S)return{};const{main:D,cross:M}=w(S,l,await(null==u.isRTL?void 0:u.isRTL(m.floating)));if(f!==S)return{reset:{placement:v[0]}};const R=[P[a(S)],P[D],P[M]],C=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:S,overflows:R}],F=v[k+1];if(F)return{data:{index:k+1,overflows:C},reset:{placement:F}};const O=C.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])),E=(null==(i=O.filter((t=>t[2].slice(0,r(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||O[0][0];return E!==f?{data:{index:k+1,overflows:C},reset:{placement:E}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||p.push(P(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,P=A?"top":"left",k=A?"bottom":"right",S=A?"clientHeight":"clientWidth",D=s.reference[w]+s.reference[b]-x[b]-s.floating[w],M=x[b]-s.reference[b],R=await(null==u.getOffsetParent?void 0:u.getOffsetParent(p));let C=R?R[S]:0;C&&await(null==u.isElement?void 0:u.isElement(R))||(C=d.floating[S]||s.floating[w]);const F=D/2-M/2,O=C/2-v[w]/2-1,E=m(h[P],O),T=m(h[k],O),j=E,$=C-v[w]-T,z=C/2-v[w]/2+F,B=y(j,z,$),L=null!=r(a)&&z!=B&&s.reference[w]/2-(z<j?E:T)-v[w]/2<0?z<j?j-z:$-z:0;return{[b]:x[b]-L,data:{[b]:B,centerOffset:z-B+L}}}}))({element:u})),p}return[]}function ht(t,n){const e=t.filter((t=>mt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${mt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function xt(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 bt(t,n,e=!1){if(!t.open)return;const r=e?function(t){let n=At.get(t);return n||(n=o(ut,100,{leading:!0,maxWait:100}),At.set(t,n),n)}(t):ut;return r(t,n)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,At=new WeakMap;function Pt(t,n,e){e&&n&&(kt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,c=V(t),f=r||i?[...c?et(c):[],...et(n)]:[];f.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));const u=c&&l?function(t,n){let e,o=null;const r=K(t);function i(){clearTimeout(e),o&&o.disconnect(),o=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();const{left:c,top:f,width:u,height:d}=t.getBoundingClientRect();if(l||n(),!u||!d)return;const m=q(f),p=q(r.clientWidth-(c+u)),y=q(r.clientHeight-(f+d)),g=q(c);let h=!0;o=new IntersectionObserver((t=>{const n=t[0].intersectionRatio;if(n!==s){if(!h)return a();0===n?e=setTimeout((()=>{a(!1,1e-7)}),100):a(!1,n)}h=!1}),{rootMargin:-m+"px "+-p+"px "+-y+"px "+-g+"px",threshold:s}),o.observe(t)}(!0),i}(c,e):null;let d,m=null;a&&(m=new ResizeObserver(e),c&&!s&&m.observe(c),m.observe(n));let p=s?J(t):null;return s&&function n(){const o=J(t);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||e(),p=o,d=requestAnimationFrame(n)}(),e(),()=>{f.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),u&&u(),m&&m.disconnect(),m=null,s&&cancelAnimationFrame(d)}}(n,e,(()=>t.reposition()))))}function kt(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),At.get(t)?.cancel(),At.delete(t))}const St=Math.ceil(Math.hypot(4,4));export{yt as F,kt as a,St as b,Pt as c,pt as d,ht as f,bt as r}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.6
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-2b9f5cff.js";import"./p-f9c1832e.js";import"./p-b0ecb7bf.js";import"./p-9e2db34b.js";import"./p-f9e32c47.js";import"./p-8ddb2ae1.js";import"./p-4918349a.js";import"./p-d8bd8114.js";import"./p-acb7f263.js";import"./p-ca21f1ff.js";import"./p-8412e551.js";import"./p-241913b7.js";import"./p-da2d526e.js";import"./p-c77494db.js";import"./p-e3040742.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(a,null,!0);export default a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.6
|
|
5
5
|
*/
|
|
6
|
-
import{d as
|
|
6
|
+
import{d as e}from"./p-2b9f5cff.js";import"./p-f9c1832e.js";import"./p-b0ecb7bf.js";import"./p-9e2db34b.js";import"./p-f9e32c47.js";import"./p-8ddb2ae1.js";import"./p-4918349a.js";import"./p-d8bd8114.js";import"./p-acb7f263.js";import"./p-ca21f1ff.js";import"./p-8412e551.js";import"./p-241913b7.js";import"./p-da2d526e.js";import"./p-c77494db.js";import"./p-e3040742.js";var o={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(o,null,!0);export default o;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.5.0-next.6
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as a,h as i,H as e,a as o}from"./p-f9c1832e.js";import{c as n,d as s}from"./p-8b1d518b.js";import{s as r,g as c}from"./p-9e2db34b.js";import{a as l,s as d,c as h}from"./p-8412e551.js";import{c as p,d as m}from"./p-241913b7.js";import{c as u}from"./p-da2d526e.js";import{u as f,c as g,s as x,d as b}from"./p-e3040742.js";import{t as y,o as v,q as w,g as D,a as j,E as _,b as z}from"./p-d29af7b7.js";import{d as k}from"./p-4b9211fd.js";import"./p-f9e32c47.js";import"./p-8ddb2ae1.js";import"./p-acb7f263.js";import"./p-36297148.js";import"./p-90a09339.js";const C="bottom-actions",H="expand-tooltip",A=class{constructor(i){t(this,i),this.calciteActionBarToggle=a(this,"calciteActionBarToggle",6),this.mutationObserver=u("mutation",(()=>{const{el:t,expanded:a}=this;y({el:t,expanded:a}),this.overflowActions()})),this.resizeObserver=u("resize",(t=>this.resizeHandlerEntries(t))),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.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:a,height:i}=t.contentRect;this.resize({width:a,height:i})},this.resize=k((({width:t,height:a})=>{const{el:i,expanded:e,expandDisabled:o,layout:n,overflowActionsDisabled:s}=this;if(s||"vertical"===n&&!a||"horizontal"===n&&!t)return;const r=w(i),l=o?r.length:r.length+1,d=Array.from(i.querySelectorAll("calcite-action-group"));this.setGroupLayout(d);const h=c(i,C)||!o?d.length+1:d.length,{actionHeight:p,actionWidth:m}=D(r),u=z({layout:n,actionCount:l,actionHeight:p,actionWidth:m,height:a,width:t,groupCount:h});j({actionGroups:d,expanded:e,overflowCount:u})}),v),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const a=r(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(a)},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}expandHandler(){this.overflowActions()}expandedHandler(){const{el:t,expanded:a}=this;y({el:t,expanded:a}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:a}=this;l(this),y({el:t,expanded:a}),this.overflowActions()}connectedCallback(){const{el:t,expanded:a}=this;p(this),g(this),y({el:t,expanded:a}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.overflowActions(),n(this)}async componentWillLoad(){d(this),await x(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),s(this),m(this),b(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await h(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,el:e,position:o,toggleExpand:n,scale:s,layout:r,messages:l}=this,d=c(e,H),h=a?null:i(_,{el:e,expanded:t,intlCollapse:l.collapse,intlExpand:l.expand,position:o,scale:s,toggle:n,tooltip:d,ref:this.setExpandToggleRef});return c(e,C)||h?i("calcite-action-group",{class:"action-group--bottom",layout:r,scale:s},i("slot",{name:C}),i("slot",{name:H}),h):null}render(){return i(e,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.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{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--bottom{flex-grow:1;justify-content:flex-end}";export{A as calcite_action_bar}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.6
|
|
5
5
|
*/
|
|
6
|
-
import{d as a}from"./p-
|
|
6
|
+
import{d as a}from"./p-2b9f5cff.js";import"./p-f9c1832e.js";import"./p-b0ecb7bf.js";import"./p-9e2db34b.js";import"./p-f9e32c47.js";import"./p-8ddb2ae1.js";import"./p-4918349a.js";import"./p-d8bd8114.js";import"./p-acb7f263.js";import"./p-ca21f1ff.js";import"./p-8412e551.js";import"./p-241913b7.js";import"./p-da2d526e.js";import"./p-c77494db.js";import"./p-e3040742.js";var s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),_="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),e=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,t=function(a,t){return e.test(t)?s[a.month()]:_[a.month()]};t.s=_,t.f=s;var o={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:t,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(a){return a+"."}};a.locale(o,null,!0);export default o;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.6
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,h as i,H as e,a as n,c as a,F as o}from"./p-902b4f6e.js";import{s as r,j as s,f as c,b as l}from"./p-50624216.js";import{s as h,a as d,c as m}from"./p-a56fe1f7.js";import{c as u,d as p}from"./p-8c5ad359.js";import{u as f,c as v,s as g,d as b}from"./p-428b49a8.js";import{c as y}from"./p-f8bfdbe4.js";import{C as x}from"./p-c1848732.js";import"./p-29b2baef.js";import"./p-3333277a.js";const w=["lang","role"],k=new Map;let D;function z(t,i,e=!1){const{el:n}=t,a=e?t.globalAttributes:{};i.filter((t=>!!w.includes(t)&&!!n.hasAttribute(t))).forEach((t=>{const i=n.getAttribute(t);null!==i&&(a[t]=i)})),t.globalAttributes=a}function _(t){t.forEach((({target:t})=>{const[i,e]=k.get(t);z(i,e.attributeFilter)}))}const C=class{constructor(i){t(this,i),this.menuItems=[],this.handleMenuSlotChange=t=>{this.menuItems=r(t),this.setMenuItemLayout(this.menuItems,this.layout)},this.label=void 0,this.layout="horizontal",this.messageOverrides=void 0,this.messages=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.globalAttributes={role:"menubar"}}handleLayoutChange(t){this.setMenuItemLayout(this.menuItems,t)}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){u(this),v(this),function(t,i){const{el:e}=t,n={attributeFilter:i};k.set(e,[t,n]),z(t,i,!0),D||(D=y("mutation",_)),D.observe(e,n)}(this,["role"])}async componentWillLoad(){h(this),await g(this)}componentDidLoad(){d(this)}disconnectedCallback(){p(this),b(this),function(t){k.delete(t.el),_(D.takeRecords()),D.disconnect();for(const[t,[,i]]of k.entries())D.observe(t,i)}(this)}async setFocus(){await m(this),this.el.focus()}calciteInternalNavMenuItemKeyEvent(t){const i=t.target,e=t.detail.children,n=t.detail.event.key;t.stopPropagation(),"ArrowDown"===n?"vertical"===i.layout?s(this.menuItems,i,"next",!1):t.detail.isSubmenuOpen&&e[0].setFocus():"ArrowUp"===n?"vertical"===this.layout?s(this.menuItems,i,"previous",!1):t.detail.isSubmenuOpen&&e[e.length-1].setFocus():"ArrowRight"===n?"horizontal"===this.layout?s(this.menuItems,i,"next",!1):t.detail.isSubmenuOpen&&e[0].setFocus():"ArrowLeft"===n?"horizontal"===this.layout?s(this.menuItems,i,"previous",!1):t.detail.isSubmenuOpen&&this.focusParentElement(t.target):"Escape"===n&&this.focusParentElement(t.target),t.preventDefault()}focusParentElement(t){const i=t.parentElement;i&&(c(i),i.open=!1)}setMenuItemLayout(t,i){t.forEach((t=>{t.layout=i,"menubar"===this.globalAttributes.role&&(t.isTopLevelItem=!0,t.topLevelMenuLayout=this.layout)}))}render(){return i(e,null,i("ul",{"aria-label":this.label,...this.globalAttributes},i("slot",{onSlotchange:this.handleMenuSlotChange})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{layout:["handleLayoutChange"],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}}: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:flex}ul{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}";const L="dropdown-action",I="icon",j="icon--breadcrumb",M="icon--dropdown",A="icon--end",S="icon--start",$=class{constructor(i){t(this,i),this.calciteInternalMenuItemKeyEvent=a(this,"calciteInternalMenuItemKeyEvent",7),this.calciteMenuItemSelect=a(this,"calciteMenuItemSelect",7),this.clickHandler=t=>{(this.href&&t.target===this.dropdownActionEl||!this.href&&this.hasSubmenu)&&(this.open=!this.open),this.selectMenuItem(t)},this.handleMenuItemSlotChange=t=>{this.submenuItems=r(t),this.submenuItems.forEach((t=>{t.topLevelMenuLayout||(t.topLevelMenuLayout=this.topLevelMenuLayout)})),this.hasSubmenu=this.submenuItems.length>0},this.keyDownHandler=async t=>{if(" "===t.key||"Enter"===t.key)this.selectMenuItem(t),this.hasSubmenu&&(!this.href||this.href&&t.target===this.dropdownActionEl)&&(this.open=!this.open),t.preventDefault();else if("Escape"===t.key){if(this.open)return void(this.open=!1);this.calciteInternalMenuItemKeyEvent.emit({event:t}),t.preventDefault()}else if("ArrowDown"===t.key||"ArrowUp"===t.key){if(t.preventDefault(),(t.target===this.dropdownActionEl||!this.href)&&this.hasSubmenu&&!this.open&&"horizontal"===this.layout)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:this.open&&this.hasSubmenu})}else if("ArrowLeft"===t.key)t.preventDefault(),this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:!0});else if("ArrowRight"===t.key){if(t.preventDefault(),(t.target===this.dropdownActionEl||!this.href)&&this.hasSubmenu&&!this.open&&"vertical"===this.layout)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:this.open&&this.hasSubmenu})}},this.active=void 0,this.breadcrumb=void 0,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.isTopLevelItem=!1,this.label=void 0,this.layout=void 0,this.messageOverrides=void 0,this.messages=void 0,this.open=!1,this.rel=void 0,this.target=void 0,this.text=void 0,this.topLevelMenuLayout=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasSubmenu=!1,this.submenuItems=void 0}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}async setFocus(){await m(this),this.anchorEl.focus()}handleClickOut(t){"vertical"!==this.topLevelMenuLayout&&this.hasSubmenu&&this.open&&!t.composedPath().includes(this.el)&&(this.open=!1)}handleFocusOut(t){"vertical"===this.topLevelMenuLayout||this.el.contains(t.relatedTarget)||(this.open=!1)}connectedCallback(){u(this),v(this)}async componentWillLoad(){h(this),await g(this)}componentDidLoad(){d(this)}disconnectedCallback(){p(this),b(this)}blurHandler(){this.isFocused=!1}focusHandler(t){const i=t.target;this.isFocused=!0,i.open&&!this.open&&(i.open=!1)}selectMenuItem(t){t.target!==this.dropdownActionEl&&this.calciteMenuItemSelect.emit()}renderIconStart(){return i("calcite-icon",{class:`${I} ${S}`,flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,key:S,scale:"s"})}renderIconEnd(){return i("calcite-icon",{class:`${I} ${A}`,flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,key:A,scale:"s"})}renderBreadcrumbIcon(t){return i("calcite-icon",{class:`${I} ${j}`,icon:"rtl"===t?"chevron-left":"chevron-right",key:j,scale:"s"})}renderDropdownIcon(t){return i("calcite-icon",{class:`${I} ${M}`,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:M,scale:"s"})}renderDropdownAction(t){return i("calcite-action",{class:L,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:L,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,text:this.messages.open,ref:t=>this.dropdownActionEl=t})}renderSubmenuItems(t){return i("calcite-menu",{class:{"dropdown-menu-items":!0,open:this.open,nested:!this.isTopLevelItem,[x.rtl]:"rtl"===t,"dropdown--vertical":"vertical"===this.topLevelMenuLayout},label:this.messages.submenu,layout:"vertical",role:"menu"},i("slot",{name:"submenu-item",onSlotchange:this.handleMenuItemSlotChange}))}renderItemContent(t){return i(o,null,this.iconStart&&this.renderIconStart(),i("div",{class:"text-container"},i("span",null,this.text)),this.iconEnd&&this.renderIconEnd(),this.breadcrumb?this.renderBreadcrumbIcon(t):null,!this.href&&this.hasSubmenu?this.renderDropdownIcon(t):null)}render(){const t=l(this.el);return i(e,{onBlur:this.blurHandler,onFocus:this.focusHandler},i("li",{class:{container:!0,"parent--vertical":"vertical"===this.topLevelMenuLayout},role:"none"},i("div",{class:"item-content"},i("a",{"aria-current":!!this.isFocused&&"page","aria-expanded":this.open,"aria-haspopup":this.hasSubmenu,"aria-label":this.label,class:{"layout--vertical":"vertical"===this.layout,content:!0},href:this.href,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,rel:this.rel,role:"menuitem",tabIndex:this.isTopLevelItem?0:-1,target:this.target,ref:t=>this.anchorEl=t},this.renderItemContent(t),!this.href||"vertical"!==this.topLevelMenuLayout&&this.isTopLevelItem?null:i("calcite-icon",{class:"hover-href-icon",icon:"rtl"===t?"arrow-left":"arrow-right",scale:"s"})),this.href&&this.hasSubmenu?this.renderDropdownAction(t):null),this.renderSubmenuItems(t)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};$.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{position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);padding-inline:1rem;font-size:var(--calcite-font-size-0);color:var(--calcite-ui-text-2);outline:2px solid transparent;outline-offset:2px;text-decoration:none;border-block-end:0.125rem solid transparent;padding-block-start:0.125rem}.content:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2)}.content:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2);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 )}.content:active{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:0.25rem solid transparent}:host([active]) .content{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-brand)}:host([active]) .content .icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}.icon--start{margin-inline-end:0.75rem}.icon--end{margin-inline-start:0.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}:host([layout=vertical]) .icon--dropdown{inset-inline-start:0.25rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}:host([breadcrumb]) .content{padding-inline-end:0.75rem}calcite-action{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-ui-foreground-1)}calcite-action:after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:"";inset-block:0.75rem;background-color:var(--calcite-ui-border-3)}calcite-action:hover:after{block-size:100%;inset-block:0}.content:focus~calcite-action,.content:hover~calcite-action{color:var(--calcite-ui-text-1);border-inline-start:1px solid var(--calcite-ui-border-3)}.container:hover .dropdown-action{background-color:var(--calcite-ui-foreground-2)}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-ui-border-3);background:var(--calcite-ui-foreground-1);inset-block-start:100%;z-index:var(--calcite-app-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translateX(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;border-radius:0px;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.75rem}.dropdown-menu-items.nested.calcite--rtl{transform:translateX(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:0.25rem;margin-inline-start:auto;padding-inline-start:2rem;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-0.25rem;opacity:1}';export{C as calcite_menu,$ as calcite_menu_item}
|
|
6
|
+
import{r as t,h as i,H as e,a as n,c as a,F as o}from"./p-f9c1832e.js";import{s as r,j as s,f as c,b as l}from"./p-9e2db34b.js";import{s as h,a as d,c as m}from"./p-8412e551.js";import{c as u,d as p}from"./p-241913b7.js";import{u as f,c as v,s as g,d as b}from"./p-e3040742.js";import{c as y}from"./p-da2d526e.js";import{C as x}from"./p-8ddb2ae1.js";import"./p-f9e32c47.js";import"./p-acb7f263.js";const w=["lang","role"],k=new Map;let D;function z(t,i,e=!1){const{el:n}=t,a=e?t.globalAttributes:{};i.filter((t=>!!w.includes(t)&&!!n.hasAttribute(t))).forEach((t=>{const i=n.getAttribute(t);null!==i&&(a[t]=i)})),t.globalAttributes=a}function _(t){t.forEach((({target:t})=>{const[i,e]=k.get(t);z(i,e.attributeFilter)}))}const C=class{constructor(i){t(this,i),this.menuItems=[],this.handleMenuSlotChange=t=>{this.menuItems=r(t),this.setMenuItemLayout(this.menuItems,this.layout)},this.label=void 0,this.layout="horizontal",this.messageOverrides=void 0,this.messages=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.globalAttributes={role:"menubar"}}handleLayoutChange(t){this.setMenuItemLayout(this.menuItems,t)}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){u(this),v(this),function(t,i){const{el:e}=t,n={attributeFilter:i};k.set(e,[t,n]),z(t,i,!0),D||(D=y("mutation",_)),D.observe(e,n)}(this,["role"])}async componentWillLoad(){h(this),await g(this)}componentDidLoad(){d(this)}disconnectedCallback(){p(this),b(this),function(t){k.delete(t.el),_(D.takeRecords()),D.disconnect();for(const[t,[,i]]of k.entries())D.observe(t,i)}(this)}async setFocus(){await m(this),this.el.focus()}calciteInternalNavMenuItemKeyEvent(t){const i=t.target,e=t.detail.children,n=t.detail.event.key;t.stopPropagation(),"ArrowDown"===n?"vertical"===i.layout?s(this.menuItems,i,"next",!1):t.detail.isSubmenuOpen&&e[0].setFocus():"ArrowUp"===n?"vertical"===this.layout?s(this.menuItems,i,"previous",!1):t.detail.isSubmenuOpen&&e[e.length-1].setFocus():"ArrowRight"===n?"horizontal"===this.layout?s(this.menuItems,i,"next",!1):t.detail.isSubmenuOpen&&e[0].setFocus():"ArrowLeft"===n?"horizontal"===this.layout?s(this.menuItems,i,"previous",!1):t.detail.isSubmenuOpen&&this.focusParentElement(t.target):"Escape"===n&&this.focusParentElement(t.target),t.preventDefault()}focusParentElement(t){const i=t.parentElement;i&&(c(i),i.open=!1)}setMenuItemLayout(t,i){t.forEach((t=>{t.layout=i,"menubar"===this.globalAttributes.role&&(t.isTopLevelItem=!0,t.topLevelMenuLayout=this.layout)}))}render(){return i(e,null,i("ul",{"aria-label":this.label,...this.globalAttributes},i("slot",{onSlotchange:this.handleMenuSlotChange})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{layout:["handleLayoutChange"],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}}: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:flex}ul{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}";const L="dropdown-action",I="icon",j="icon--breadcrumb",M="icon--dropdown",A="icon--end",S="icon--start",$=class{constructor(i){t(this,i),this.calciteInternalMenuItemKeyEvent=a(this,"calciteInternalMenuItemKeyEvent",7),this.calciteMenuItemSelect=a(this,"calciteMenuItemSelect",7),this.clickHandler=t=>{(this.href&&t.target===this.dropdownActionEl||!this.href&&this.hasSubmenu)&&(this.open=!this.open),this.selectMenuItem(t)},this.handleMenuItemSlotChange=t=>{this.submenuItems=r(t),this.submenuItems.forEach((t=>{t.topLevelMenuLayout||(t.topLevelMenuLayout=this.topLevelMenuLayout)})),this.hasSubmenu=this.submenuItems.length>0},this.keyDownHandler=async t=>{if(" "===t.key||"Enter"===t.key)this.selectMenuItem(t),this.hasSubmenu&&(!this.href||this.href&&t.target===this.dropdownActionEl)&&(this.open=!this.open),t.preventDefault();else if("Escape"===t.key){if(this.open)return void(this.open=!1);this.calciteInternalMenuItemKeyEvent.emit({event:t}),t.preventDefault()}else if("ArrowDown"===t.key||"ArrowUp"===t.key){if(t.preventDefault(),(t.target===this.dropdownActionEl||!this.href)&&this.hasSubmenu&&!this.open&&"horizontal"===this.layout)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:this.open&&this.hasSubmenu})}else if("ArrowLeft"===t.key)t.preventDefault(),this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:!0});else if("ArrowRight"===t.key){if(t.preventDefault(),(t.target===this.dropdownActionEl||!this.href)&&this.hasSubmenu&&!this.open&&"vertical"===this.layout)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:this.open&&this.hasSubmenu})}},this.active=void 0,this.breadcrumb=void 0,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.isTopLevelItem=!1,this.label=void 0,this.layout=void 0,this.messageOverrides=void 0,this.messages=void 0,this.open=!1,this.rel=void 0,this.target=void 0,this.text=void 0,this.topLevelMenuLayout=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasSubmenu=!1,this.submenuItems=void 0}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}async setFocus(){await m(this),this.anchorEl.focus()}handleClickOut(t){"vertical"!==this.topLevelMenuLayout&&this.hasSubmenu&&this.open&&!t.composedPath().includes(this.el)&&(this.open=!1)}handleFocusOut(t){"vertical"===this.topLevelMenuLayout||this.el.contains(t.relatedTarget)||(this.open=!1)}connectedCallback(){u(this),v(this)}async componentWillLoad(){h(this),await g(this)}componentDidLoad(){d(this)}disconnectedCallback(){p(this),b(this)}blurHandler(){this.isFocused=!1}focusHandler(t){const i=t.target;this.isFocused=!0,i.open&&!this.open&&(i.open=!1)}selectMenuItem(t){t.target!==this.dropdownActionEl&&this.calciteMenuItemSelect.emit()}renderIconStart(){return i("calcite-icon",{class:`${I} ${S}`,flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,key:S,scale:"s"})}renderIconEnd(){return i("calcite-icon",{class:`${I} ${A}`,flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,key:A,scale:"s"})}renderBreadcrumbIcon(t){return i("calcite-icon",{class:`${I} ${j}`,icon:"rtl"===t?"chevron-left":"chevron-right",key:j,scale:"s"})}renderDropdownIcon(t){return i("calcite-icon",{class:`${I} ${M}`,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:M,scale:"s"})}renderDropdownAction(t){return i("calcite-action",{class:L,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:L,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,text:this.messages.open,ref:t=>this.dropdownActionEl=t})}renderSubmenuItems(t){return i("calcite-menu",{class:{"dropdown-menu-items":!0,open:this.open,nested:!this.isTopLevelItem,[x.rtl]:"rtl"===t,"dropdown--vertical":"vertical"===this.topLevelMenuLayout},label:this.messages.submenu,layout:"vertical",role:"menu"},i("slot",{name:"submenu-item",onSlotchange:this.handleMenuItemSlotChange}))}renderItemContent(t){return i(o,null,this.iconStart&&this.renderIconStart(),i("div",{class:"text-container"},i("span",null,this.text)),this.iconEnd&&this.renderIconEnd(),this.breadcrumb?this.renderBreadcrumbIcon(t):null,!this.href&&this.hasSubmenu?this.renderDropdownIcon(t):null)}render(){const t=l(this.el);return i(e,{onBlur:this.blurHandler,onFocus:this.focusHandler},i("li",{class:{container:!0,"parent--vertical":"vertical"===this.topLevelMenuLayout},role:"none"},i("div",{class:"item-content"},i("a",{"aria-current":!!this.isFocused&&"page","aria-expanded":this.open,"aria-haspopup":this.hasSubmenu,"aria-label":this.label,class:{"layout--vertical":"vertical"===this.layout,content:!0},href:this.href,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,rel:this.rel,role:"menuitem",tabIndex:this.isTopLevelItem?0:-1,target:this.target,ref:t=>this.anchorEl=t},this.renderItemContent(t),!this.href||"vertical"!==this.topLevelMenuLayout&&this.isTopLevelItem?null:i("calcite-icon",{class:"hover-href-icon",icon:"rtl"===t?"arrow-left":"arrow-right",scale:"s"})),this.href&&this.hasSubmenu?this.renderDropdownAction(t):null),this.renderSubmenuItems(t)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};$.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{position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);padding-inline:1rem;font-size:var(--calcite-font-size-0);color:var(--calcite-ui-text-2);outline:2px solid transparent;outline-offset:2px;text-decoration:none;border-block-end:0.125rem solid transparent;padding-block-start:0.125rem}.content:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2)}.content:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2);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 )}.content:active{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:0.25rem solid transparent}:host([active]) .content{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-brand)}:host([active]) .content .icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}.icon--start{margin-inline-end:0.75rem}.icon--end{margin-inline-start:0.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}:host([layout=vertical]) .icon--dropdown{inset-inline-start:0.25rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}:host([breadcrumb]) .content{padding-inline-end:0.75rem}calcite-action{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-ui-foreground-1)}calcite-action:after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:"";inset-block:0.75rem;background-color:var(--calcite-ui-border-3)}calcite-action:hover:after{block-size:100%;inset-block:0}.content:focus~calcite-action,.content:hover~calcite-action{color:var(--calcite-ui-text-1);border-inline-start:1px solid var(--calcite-ui-border-3)}.container:hover .dropdown-action{background-color:var(--calcite-ui-foreground-2)}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-ui-border-3);background:var(--calcite-ui-foreground-1);inset-block-start:100%;z-index:var(--calcite-app-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translateX(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;border-radius:0px;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.75rem}.dropdown-menu-items.nested.calcite--rtl{transform:translateX(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:0.25rem;margin-inline-start:auto;padding-inline-start:2rem;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-0.25rem;opacity:1}';export{C as calcite_menu,$ as calcite_menu_item}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.6
|
|
5
5
|
*/
|
|
6
|
-
import{d as i,i as n}from"./p-
|
|
6
|
+
import{d as i,i as n}from"./p-4b9211fd.js";function t(t,r,a){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return n(a)&&(e="leading"in a?!!a.leading:e,o="trailing"in a?!!a.trailing:o),i(t,r,{leading:e,maxWait:r,trailing:o})}export{t}
|