@esri/calcite-components 1.5.0 → 1.5.1-next.0
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-7fd65338.js → p-04353e76.js} +3 -3
- package/dist/calcite/p-092ff805.js +6 -0
- package/dist/calcite/{p-6fe715b6.entry.js → p-097f5161.entry.js} +2 -2
- package/dist/calcite/{p-dd2b2c39.js → p-0be4cd2a.js} +2 -2
- package/dist/calcite/p-0c3f3f78.entry.js +6 -0
- package/dist/calcite/{p-208d996b.entry.js → p-0fc1a335.entry.js} +2 -2
- package/dist/calcite/{p-784dd443.entry.js → p-0fee7059.entry.js} +2 -2
- package/dist/calcite/{p-4aaf28e5.js → p-10741296.js} +2 -2
- package/dist/calcite/{p-8ef92a80.entry.js → p-117bb5b4.entry.js} +2 -2
- package/dist/calcite/{p-1dcba266.js → p-144232e0.js} +2 -2
- package/dist/calcite/{p-a3c1a8e9.entry.js → p-14b85f14.entry.js} +2 -2
- package/dist/calcite/{p-fdc4c73c.js → p-14db794e.js} +2 -2
- package/dist/calcite/{p-efdc0281.entry.js → p-15ef3ed0.entry.js} +2 -2
- package/dist/calcite/{p-46195eac.entry.js → p-1819fd91.entry.js} +2 -2
- package/dist/calcite/{p-91d6e90d.entry.js → p-1cca89ce.entry.js} +2 -2
- package/dist/calcite/{p-7d580749.js → p-1dbd37f5.js} +2 -2
- package/dist/calcite/p-1f30090b.entry.js +6 -0
- package/dist/calcite/{p-4d549633.js → p-21e813c9.js} +2 -2
- package/dist/calcite/{p-426178e4.entry.js → p-224ace4e.entry.js} +2 -2
- package/dist/calcite/{p-0f91dcca.js → p-24b81a4e.js} +2 -2
- package/dist/calcite/{p-23c18f39.entry.js → p-26036938.entry.js} +2 -2
- package/dist/calcite/{p-78b2ac58.entry.js → p-280f2f62.entry.js} +2 -2
- package/dist/calcite/{p-53422b6f.entry.js → p-29ac4a79.entry.js} +2 -2
- package/dist/calcite/{p-47dbe7c2.js → p-2a3a250a.js} +1 -1
- package/dist/calcite/{p-b1330d0e.js → p-2b34fe91.js} +1 -1
- package/dist/calcite/p-2c30189d.entry.js +6 -0
- package/dist/calcite/p-2cd08110.entry.js +6 -0
- package/dist/calcite/p-2e0a2f74.entry.js +6 -0
- package/dist/calcite/{p-1ec201a1.entry.js → p-2e354212.entry.js} +2 -2
- package/dist/calcite/p-2f32671f.entry.js +6 -0
- package/dist/calcite/{p-5c0860a8.js → p-300733db.js} +2 -2
- package/dist/calcite/{p-de55c665.js → p-3174a571.js} +2 -2
- package/dist/calcite/{p-e6131ab8.js → p-34799940.js} +2 -2
- package/dist/calcite/{p-156877f2.entry.js → p-35b39385.entry.js} +2 -2
- package/dist/calcite/{p-e5f1ff16.js → p-38bbd8b0.js} +2 -2
- package/dist/calcite/{p-078d63cc.js → p-38f1821b.js} +2 -2
- package/dist/calcite/{p-6deb15b9.js → p-3b492597.js} +2 -2
- package/dist/calcite/{p-106b0286.js → p-3cdbd1c5.js} +2 -2
- package/dist/calcite/{p-aea8d548.js → p-3d02d8d5.js} +2 -2
- package/dist/calcite/{p-46591114.js → p-41a49fd3.js} +2 -2
- package/dist/calcite/{p-b83d9eb3.js → p-435fa694.js} +2 -2
- package/dist/calcite/{p-f6698866.js → p-4658ff9f.js} +1 -1
- package/dist/calcite/{p-e9933ba0.entry.js → p-4690d2f9.entry.js} +2 -2
- package/dist/calcite/{p-92e57133.entry.js → p-4f48d2d3.entry.js} +2 -2
- package/dist/calcite/{p-1192e423.entry.js → p-5184ca68.entry.js} +2 -2
- package/dist/calcite/{p-0f3f4196.js → p-52844cc5.js} +2 -2
- package/dist/calcite/{p-b60c45a7.entry.js → p-529b26d7.entry.js} +2 -2
- package/dist/calcite/{p-336fc7ac.js → p-54f3b63c.js} +2 -2
- package/dist/calcite/{p-ddcd3b2c.js → p-57652aa7.js} +2 -2
- package/dist/calcite/{p-19a52eff.js → p-58e6580a.js} +2 -2
- package/dist/calcite/p-5946a67e.entry.js +6 -0
- package/dist/calcite/{p-6bb79e99.entry.js → p-5a2d6623.entry.js} +2 -2
- package/dist/calcite/{p-f7e51b9d.entry.js → p-5c7355d3.entry.js} +2 -2
- package/dist/calcite/{p-3a940fd3.js → p-6103d40e.js} +2 -2
- package/dist/calcite/{p-d1abb723.js → p-61323cd9.js} +2 -2
- package/dist/calcite/{p-a89c448b.js → p-62da44fa.js} +2 -2
- package/dist/calcite/{p-77bddbac.entry.js → p-638c9116.entry.js} +2 -2
- package/dist/calcite/{p-36b3b027.js → p-63e28f25.js} +2 -2
- package/dist/calcite/{p-27d57cf7.entry.js → p-653c0e4b.entry.js} +2 -2
- package/dist/calcite/{p-f57eb396.js → p-69a23ee0.js} +1 -1
- package/dist/calcite/{p-7c36053b.js → p-69bef96a.js} +2 -2
- package/dist/calcite/{p-2a5a2d2f.entry.js → p-6b046f17.entry.js} +2 -2
- package/dist/calcite/{p-57a9dde9.js → p-6be37da3.js} +2 -2
- package/dist/calcite/{p-865dbb48.js → p-750c4ac9.js} +1 -1
- package/dist/calcite/{p-054ba160.js → p-7776ba0c.js} +1 -1
- package/dist/calcite/{p-aaa16dee.entry.js → p-77e2a8fd.entry.js} +2 -2
- package/dist/calcite/{p-363df208.entry.js → p-7a797e5a.entry.js} +2 -2
- package/dist/calcite/{p-cc2fe7b7.js → p-7dc1a111.js} +2 -2
- package/dist/calcite/{p-50d4a239.entry.js → p-7eba835c.entry.js} +2 -2
- package/dist/calcite/{p-439f3259.entry.js → p-7f4c855b.entry.js} +2 -2
- package/dist/calcite/{p-c6c9ca25.js → p-7fb324cf.js} +2 -2
- package/dist/calcite/{p-6c699a0d.entry.js → p-845f5385.entry.js} +2 -2
- package/dist/calcite/p-845fb634.entry.js +6 -0
- package/dist/calcite/{p-7ea06544.js → p-84955180.js} +1 -1
- package/dist/calcite/{p-051a29d1.entry.js → p-84ad8f60.entry.js} +2 -2
- package/dist/calcite/{p-eec7b53e.entry.js → p-85315de7.entry.js} +2 -2
- package/dist/calcite/{p-09a4371e.entry.js → p-914f3109.entry.js} +2 -2
- package/dist/calcite/{p-2c56390d.js → p-9174ff58.js} +2 -2
- package/dist/calcite/{p-7edf646a.entry.js → p-919a4689.entry.js} +2 -2
- package/dist/calcite/{p-5975150d.entry.js → p-94d6eee9.entry.js} +2 -2
- package/dist/calcite/{p-27911fe3.js → p-94f496ad.js} +2 -2
- package/dist/calcite/{p-fe9dddf4.js → p-95effea5.js} +2 -2
- package/dist/calcite/{p-aab67713.entry.js → p-97ecf96f.entry.js} +2 -2
- package/dist/calcite/{p-aae305f8.js → p-9a7b16f3.js} +2 -2
- package/dist/calcite/{p-38a09ef6.js → p-9aa99bb3.js} +2 -2
- package/dist/calcite/{p-7e069e37.js → p-9b831320.js} +2 -2
- package/dist/calcite/{p-dd37361c.entry.js → p-9d4f81ef.entry.js} +2 -2
- package/dist/calcite/{p-8caf1ab0.entry.js → p-a041d768.entry.js} +2 -2
- package/dist/calcite/{p-594413da.entry.js → p-a12a187a.entry.js} +2 -2
- package/dist/calcite/p-a223209d.js +6 -0
- package/dist/calcite/{p-4f912bd8.entry.js → p-a2649dba.entry.js} +2 -2
- package/dist/calcite/{p-c22482cf.entry.js → p-a35263d2.entry.js} +2 -2
- package/dist/calcite/{p-5cb6940e.js → p-a5b3567d.js} +2 -2
- package/dist/calcite/{p-d16b44a4.js → p-a5d1d6fd.js} +2 -2
- package/dist/calcite/{p-dac27f1e.js → p-ac2ae787.js} +2 -2
- package/dist/calcite/{p-2f42c9b9.js → p-ad08c153.js} +2 -2
- package/dist/calcite/p-ae51ac4d.entry.js +6 -0
- package/dist/calcite/{p-a79d1d20.js → p-b131cc97.js} +2 -2
- package/dist/calcite/{p-b5204d19.js → p-b2093f74.js} +2 -2
- package/dist/calcite/{p-3385d204.entry.js → p-b2f667b5.entry.js} +2 -2
- package/dist/calcite/{p-fd156bb4.js → p-b353a4bf.js} +1 -1
- package/dist/calcite/{p-9ef74b9c.entry.js → p-b3de1481.entry.js} +2 -2
- package/dist/calcite/{p-d45b3da7.js → p-b478aeae.js} +2 -2
- package/dist/calcite/{p-f5a45ab6.js → p-b48e2ca4.js} +2 -2
- package/dist/calcite/{p-aa2248f0.entry.js → p-b4f99b24.entry.js} +2 -2
- package/dist/calcite/{p-c7d683a6.js → p-b5be7f42.js} +2 -2
- package/dist/calcite/{p-c9097600.entry.js → p-b77afe28.entry.js} +2 -2
- package/dist/calcite/{p-d1b8efb4.js → p-b92a1fa2.js} +2 -2
- package/dist/calcite/{p-45b3faf3.js → p-ba450dc5.js} +2 -2
- package/dist/calcite/p-c0e2352a.js +6 -0
- package/dist/calcite/{p-fb45e2f6.js → p-c19db2f5.js} +2 -2
- package/dist/calcite/{p-0320d585.entry.js → p-c57d690c.entry.js} +2 -2
- package/dist/calcite/{p-4f0a8f11.js → p-c6a2cae3.js} +2 -2
- package/dist/calcite/{p-60c643f4.js → p-c6a8952d.js} +2 -2
- package/dist/calcite/{p-f6a858c6.entry.js → p-c71e80d8.entry.js} +2 -2
- package/dist/calcite/{p-337b67b4.js → p-c866115b.js} +1 -1
- package/dist/calcite/{p-8a4ca024.entry.js → p-cb89af1d.entry.js} +2 -2
- package/dist/calcite/{p-24ca13e2.js → p-cd0c23d6.js} +2 -2
- package/dist/calcite/p-cdc3f280.entry.js +6 -0
- package/dist/calcite/{p-41b1321b.entry.js → p-ce58d21f.entry.js} +2 -2
- package/dist/calcite/{p-8195ddfa.js → p-d15719d4.js} +1 -1
- package/dist/calcite/{p-55c1076e.js → p-d170dbf7.js} +2 -2
- package/dist/calcite/{p-adcd2a69.entry.js → p-d2d821ec.entry.js} +2 -2
- package/dist/calcite/{p-399eddb7.js → p-d32d0087.js} +2 -2
- package/dist/calcite/{p-41ba50cf.js → p-d4fadb3c.js} +2 -2
- package/dist/calcite/{p-c280f5a2.js → p-d5c3bee4.js} +1 -1
- package/dist/calcite/{p-e2e520cb.js → p-d7d25b77.js} +1 -1
- package/dist/calcite/{p-0dc0cd78.js → p-d96082db.js} +2 -2
- package/dist/calcite/{p-dd6954f2.entry.js → p-dde6ec25.entry.js} +2 -2
- package/dist/calcite/{p-d8441934.entry.js → p-df47674a.entry.js} +2 -2
- package/dist/calcite/{p-ac9d2d24.js → p-df7700a5.js} +2 -2
- package/dist/calcite/{p-8c6907e5.js → p-dfbb877c.js} +2 -2
- package/dist/calcite/{p-220447a7.js → p-e04a8f6e.js} +2 -2
- package/dist/calcite/p-e12ee963.js +6 -0
- package/dist/calcite/{p-2d424b11.js → p-e298ebd6.js} +2 -2
- package/dist/calcite/{p-21ae4b68.js → p-e595b2d4.js} +2 -2
- package/dist/calcite/{p-ba804087.entry.js → p-e72686e9.entry.js} +2 -2
- package/dist/calcite/{p-ffd68761.entry.js → p-e76d0305.entry.js} +2 -2
- package/dist/calcite/{p-e5a02d98.js → p-e9ccfe07.js} +1 -1
- package/dist/calcite/{p-12b6dedc.entry.js → p-ee1f8b50.entry.js} +2 -2
- package/dist/calcite/p-ee88ea18.entry.js +6 -0
- package/dist/calcite/{p-6208554a.js → p-f38c6b84.js} +2 -2
- package/dist/calcite/{p-26d58913.js → p-f548b56e.js} +2 -2
- package/dist/calcite/{p-eea9518f.js → p-f7200ce4.js} +2 -2
- package/dist/calcite/{p-a01007d7.entry.js → p-f8bdb1c9.entry.js} +2 -2
- package/dist/calcite/{p-61cc42b8.js → p-f971ccec.js} +2 -2
- package/dist/calcite/{p-a5c47981.js → p-f9ef3fa5.js} +2 -2
- package/dist/calcite/{p-a11512bc.js → p-fc5d92f8.js} +2 -2
- package/dist/calcite/{p-86b0724c.js → p-fc626d9f.js} +1 -1
- package/dist/calcite/{p-3863ae4c.entry.js → p-fd3ec035.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-0e43fe29.js → ExpandToggle-653be9a2.js} +5 -5
- package/dist/cjs/{FloatingArrow-bc506725.js → FloatingArrow-bb98629d.js} +2 -2
- package/dist/cjs/{Heading-93968223.js → Heading-58d9199f.js} +2 -2
- package/dist/cjs/{app-globals-cf38df09.js → app-globals-cff70b2e.js} +2 -2
- package/dist/cjs/{ar-feb9ceca.js → ar-609e6228.js} +15 -15
- package/dist/cjs/{array-8236b65f.js → array-c97da00b.js} +1 -1
- package/dist/cjs/{bg-f89dfdac.js → bg-7d5cc53d.js} +15 -15
- package/dist/cjs/{bs-4b71f72f.js → bs-0d1f2bb5.js} +15 -15
- package/dist/cjs/{ca-45d0ed0c.js → ca-1934c1d1.js} +15 -15
- 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 +11 -11
- 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 +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +15 -17
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- 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 +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-30d9d752.js → calcite-input-time-picker.calcite-time-picker-cf72d58d.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
- 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 +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +23 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- 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 +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-07ff4561.js → conditionalSlot-7a06b01b.js} +3 -3
- package/dist/cjs/{cs-4b7798bd.js → cs-d754b964.js} +15 -15
- package/dist/cjs/{da-2466c137.js → da-6daa4e21.js} +15 -15
- package/dist/cjs/{de-at-70b170c7.js → de-at-7da8f76a.js} +15 -15
- package/dist/cjs/{de-4a4549ff.js → de-b0160697.js} +15 -15
- package/dist/cjs/{de-ch-a6327ea6.js → de-ch-3208ea0e.js} +15 -15
- package/dist/cjs/{debounce-20d3c430.js → debounce-b46acc60.js} +1 -1
- package/dist/cjs/{dom-b7601405.js → dom-d239030e.js} +3 -3
- package/dist/cjs/{el-8560472c.js → el-58bd1549.js} +15 -15
- package/dist/cjs/{en-au-d9fa0446.js → en-au-5f9deedf.js} +15 -15
- package/dist/cjs/{en-ca-7591f85e.js → en-ca-5118b847.js} +15 -15
- package/dist/cjs/{en-gb-5e40fe51.js → en-gb-281f6b7a.js} +15 -15
- package/dist/cjs/{es-8a460492.js → es-137f55eb.js} +15 -15
- package/dist/cjs/{es-mx-ae6f2d54.js → es-mx-2cf8c446.js} +15 -15
- package/dist/cjs/{et-78274162.js → et-a75c5571.js} +15 -15
- package/dist/cjs/{fi-61aad834.js → fi-35e99701.js} +15 -15
- package/dist/cjs/{filter-9d63d74c.js → filter-99037d25.js} +2 -2
- package/dist/cjs/{floating-ui-a0ae9786.js → floating-ui-2e192aed.js} +3 -3
- package/dist/cjs/{focusTrapComponent-7a217706.js → focusTrapComponent-6c7436a0.js} +2 -2
- package/dist/cjs/{form-c8a8a683.js → form-93f5d2a3.js} +3 -3
- package/dist/cjs/{fr-77009092.js → fr-c9b347ce.js} +15 -15
- package/dist/cjs/{fr-ch-5d01f51d.js → fr-ch-7ef26e9f.js} +15 -15
- package/dist/cjs/{guid-1a635f47.js → guid-405206fa.js} +1 -1
- package/dist/cjs/{he-7045f045.js → he-7818db15.js} +15 -15
- package/dist/cjs/{hi-074ec003.js → hi-717ab5ea.js} +15 -15
- package/dist/cjs/{hr-669decd6.js → hr-d6693164.js} +15 -15
- package/dist/cjs/{hu-134015d1.js → hu-2e483c27.js} +15 -15
- package/dist/cjs/{id-03937715.js → id-39e1b47b.js} +15 -15
- package/dist/cjs/{index-9f8ce657.js → index-4ef127a6.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-793314f0.js → interactive-e43cca2c.js} +1 -1
- package/dist/cjs/{it-ch-25c9e1e8.js → it-ch-6d9c32d3.js} +15 -15
- package/dist/cjs/{it-adbd27d2.js → it-e149a4bc.js} +15 -15
- package/dist/cjs/{ja-8ea54597.js → ja-5f62c23a.js} +15 -15
- package/dist/cjs/{key-e590036d.js → key-9b962086.js} +1 -1
- package/dist/cjs/{ko-788d1284.js → ko-b74565c0.js} +15 -15
- package/dist/cjs/{label-22e5c734.js → label-1c751208.js} +2 -2
- package/dist/cjs/{loadable-d46f87a1.js → loadable-9612f08e.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-7c3cc149.js → locale-ed9b43a1.js} +4 -4
- package/dist/cjs/{lt-67f272cf.js → lt-423a7064.js} +15 -15
- package/dist/cjs/{lv-607d835c.js → lv-51679d7f.js} +15 -15
- package/dist/cjs/{math-1f430ebd.js → math-7757f6f9.js} +1 -1
- package/dist/cjs/{mk-6c281ecb.js → mk-455f0098.js} +15 -15
- package/dist/cjs/{nb-770d2ac4.js → nb-c4d96ec0.js} +15 -15
- package/dist/cjs/{nl-08ac2b61.js → nl-e5a1f413.js} +15 -15
- package/dist/cjs/{observers-e29e2712.js → observers-37aeb9e9.js} +1 -1
- package/dist/cjs/{openCloseComponent-a4424982.js → openCloseComponent-ab74c170.js} +2 -2
- package/dist/cjs/{pl-a49d052b.js → pl-de0078f2.js} +15 -15
- package/dist/cjs/{pt-64426b43.js → pt-55270961.js} +15 -15
- package/dist/cjs/{pt-br-cad4fd70.js → pt-br-a4343991.js} +15 -15
- package/dist/cjs/{resources-53205b63.js → resources-0415b361.js} +5 -5
- package/dist/cjs/{resources-ae7ab81c.js → resources-2a7d8c55.js} +3 -1
- package/dist/cjs/{resources-e1ff380a.js → resources-304d2ccf.js} +1 -1
- package/dist/cjs/{resources-8b9a4cef.js → resources-5b794888.js} +1 -1
- package/dist/cjs/{resources-6411f940.js → resources-82518fe3.js} +1 -1
- package/dist/cjs/{resources-bb06ebc6.js → resources-a11328ed.js} +1 -1
- package/dist/cjs/{resources-53a07e71.js → resources-ef7496dd.js} +1 -1
- package/dist/cjs/{ro-2f98c827.js → ro-95569186.js} +15 -15
- package/dist/cjs/{ru-23622748.js → ru-086c7a66.js} +15 -15
- package/dist/cjs/{sk-dfa9ba58.js → sk-1fcb6755.js} +15 -15
- package/dist/cjs/{sl-8fb67a20.js → sl-5cc42baf.js} +15 -15
- package/dist/cjs/{sortableComponent-b6c07723.js → sortableComponent-680dcb95.js} +2 -2
- package/dist/cjs/{sr-515d97f2.js → sr-f89e097c.js} +15 -15
- package/dist/cjs/{sv-b977c7fd.js → sv-2089e9b1.js} +15 -15
- package/dist/cjs/{t9n-8444b9f7.js → t9n-516375d7.js} +3 -3
- package/dist/cjs/{th-a3d3bf05.js → th-817fafd6.js} +15 -15
- package/dist/cjs/{throttle-372c046a.js → throttle-7942849b.js} +2 -2
- package/dist/cjs/{tr-38ef1b42.js → tr-c939fc06.js} +15 -15
- package/dist/cjs/{uk-e9946342.js → uk-bc2c00ec.js} +15 -15
- package/dist/cjs/{utils-735c4640.js → utils-cf24aeaa.js} +1 -1
- package/dist/cjs/{utils-d6910e24.js → utils-ffeb3242.js} +3 -3
- package/dist/cjs/{vi-cb142c0e.js → vi-e204b466.js} +15 -15
- package/dist/cjs/{zh-cn-ac74a6ba.js → zh-cn-3fcf68c4.js} +15 -15
- package/dist/cjs/{zh-hk-2c3476ce.js → zh-hk-ef10e082.js} +15 -15
- package/dist/cjs/{zh-tw-d30b8d31.js → zh-tw-aacb6236.js} +15 -15
- 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 +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +4 -7
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.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.css +12 -2
- package/dist/collection/components/panel/panel.js +11 -8
- package/dist/collection/components/panel/resources.js +3 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +18 -27
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +440 -2
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- 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 +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +2 -2
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +13 -8
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-7b175b90.js → ExpandToggle-dc4b29e6.js} +5 -5
- package/dist/esm/{FloatingArrow-b489af34.js → FloatingArrow-c98ff5a2.js} +2 -2
- package/dist/esm/{Heading-2b21a618.js → Heading-04e79ec6.js} +2 -2
- package/dist/esm/{app-globals-a48f3e83.js → app-globals-cb0d71f2.js} +2 -2
- package/dist/esm/{ar-15616ec1.js → ar-37b15401.js} +15 -15
- package/dist/esm/{array-4223b6f0.js → array-b6f0a7f6.js} +1 -1
- package/dist/esm/{bg-f4b21801.js → bg-160f6962.js} +15 -15
- package/dist/esm/{bs-86d5c10b.js → bs-993d9544.js} +15 -15
- package/dist/esm/{ca-f13febc0.js → ca-1916af48.js} +15 -15
- 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 +11 -11
- 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 +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +15 -17
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- 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 +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-489befd9.js → calcite-input-time-picker.calcite-time-picker-65ddbb57.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +14 -14
- 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 +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +23 -21
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- 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 +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-cc89e8ef.js → conditionalSlot-0dd41c73.js} +3 -3
- package/dist/esm/{cs-bce281e9.js → cs-26665e87.js} +15 -15
- package/dist/esm/{da-0d993b88.js → da-9db49942.js} +15 -15
- package/dist/esm/{de-8667ef8e.js → de-3deb958f.js} +15 -15
- package/dist/esm/{de-at-e257aa1e.js → de-at-4e6a2189.js} +15 -15
- package/dist/esm/{de-ch-693581c0.js → de-ch-531815a3.js} +15 -15
- package/dist/esm/{debounce-000a3641.js → debounce-035a671d.js} +1 -1
- package/dist/esm/{dom-643f9db5.js → dom-707edbca.js} +3 -3
- package/dist/esm/{el-734a0b45.js → el-c166ad7f.js} +15 -15
- package/dist/esm/{en-au-21a88029.js → en-au-fb7e7d74.js} +15 -15
- package/dist/esm/{en-ca-7c451553.js → en-ca-c4601830.js} +15 -15
- package/dist/esm/{en-gb-3a9ebb11.js → en-gb-ae19198d.js} +15 -15
- package/dist/esm/{es-28e01407.js → es-9e2be3ac.js} +15 -15
- package/dist/esm/{es-mx-e8ee576f.js → es-mx-d6957da5.js} +15 -15
- package/dist/esm/{et-50dca0b7.js → et-2664164d.js} +15 -15
- package/dist/esm/{fi-7846b096.js → fi-30646eb5.js} +15 -15
- package/dist/esm/{filter-c0bfe264.js → filter-b1bfdcf7.js} +2 -2
- package/dist/esm/{floating-ui-f9c95380.js → floating-ui-1a7fe520.js} +3 -3
- package/dist/esm/{focusTrapComponent-ef3b7ceb.js → focusTrapComponent-2c6be6d7.js} +2 -2
- package/dist/esm/{form-840c542d.js → form-3555a3c1.js} +3 -3
- package/dist/esm/{fr-8484ea41.js → fr-900b64a1.js} +15 -15
- package/dist/esm/{fr-ch-0e71d973.js → fr-ch-b78c5c6b.js} +15 -15
- package/dist/esm/{guid-a50ade63.js → guid-d024e9ef.js} +1 -1
- package/dist/esm/{he-2e17f886.js → he-4cf56a98.js} +15 -15
- package/dist/esm/{hi-49ed1ab0.js → hi-95fcc135.js} +15 -15
- package/dist/esm/{hr-d63898c4.js → hr-d5085a32.js} +15 -15
- package/dist/esm/{hu-6891ede6.js → hu-4a79c16c.js} +15 -15
- package/dist/esm/{id-8887ce2b.js → id-f7cb3b13.js} +15 -15
- package/dist/esm/{index-53d57a76.js → index-c4010481.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-42caa6bb.js → interactive-c98ba50a.js} +1 -1
- package/dist/esm/{it-beeda80d.js → it-3c316ef5.js} +15 -15
- package/dist/esm/{it-ch-84f5d904.js → it-ch-626f55c6.js} +15 -15
- package/dist/esm/{ja-fa755c6a.js → ja-8ae683ee.js} +15 -15
- package/dist/esm/{key-9309ba10.js → key-30b154e6.js} +1 -1
- package/dist/esm/{ko-f51d506a.js → ko-56fa54da.js} +15 -15
- package/dist/esm/{label-0a990de0.js → label-2bcffed9.js} +2 -2
- package/dist/esm/{loadable-a5c3241b.js → loadable-6ef29e8b.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-9a7219c0.js → locale-c3441a6a.js} +4 -4
- package/dist/esm/{lt-79334e8b.js → lt-fdbd31d2.js} +15 -15
- package/dist/esm/{lv-eee00ef4.js → lv-a4cb55e3.js} +15 -15
- package/dist/esm/{math-d00a64e6.js → math-4cb82d56.js} +1 -1
- package/dist/esm/{mk-fbb581e1.js → mk-de18501f.js} +15 -15
- package/dist/esm/{nb-83bd1bff.js → nb-23fc2e54.js} +15 -15
- package/dist/esm/{nl-5b1e51b7.js → nl-c232add8.js} +15 -15
- package/dist/esm/{observers-09626586.js → observers-aaf6d781.js} +1 -1
- package/dist/esm/{openCloseComponent-9ea4c956.js → openCloseComponent-f4a3c0e6.js} +2 -2
- package/dist/esm/{pl-7a36d094.js → pl-434e19da.js} +15 -15
- package/dist/esm/{pt-c5e40af9.js → pt-801b7229.js} +15 -15
- package/dist/esm/{pt-br-276a2583.js → pt-br-92527c58.js} +15 -15
- package/dist/esm/{resources-686f5ee5.js → resources-006195c1.js} +1 -1
- package/dist/esm/{resources-dd40526d.js → resources-1a0cb949.js} +1 -1
- package/dist/esm/{resources-f2b31ab7.js → resources-52eb6494.js} +5 -5
- package/dist/esm/{resources-d81f3031.js → resources-7b7d3ce5.js} +1 -1
- package/dist/esm/{resources-55f4ce49.js → resources-7f015e54.js} +1 -1
- package/dist/esm/{resources-66c3dcf8.js → resources-8b6036ed.js} +3 -1
- package/dist/esm/{resources-0316be17.js → resources-9956f947.js} +1 -1
- package/dist/esm/{ro-cb0a3983.js → ro-20d39226.js} +15 -15
- package/dist/esm/{ru-477f2d4d.js → ru-9cc8c06d.js} +15 -15
- package/dist/esm/{sk-4129c24e.js → sk-133343f7.js} +15 -15
- package/dist/esm/{sl-2b11f4e8.js → sl-37a96050.js} +15 -15
- package/dist/esm/{sortableComponent-af34ee4d.js → sortableComponent-a8e3cbdb.js} +2 -2
- package/dist/esm/{sr-9f16ffc7.js → sr-d9b79d9e.js} +15 -15
- package/dist/esm/{sv-058f558b.js → sv-20f817fb.js} +15 -15
- package/dist/esm/{t9n-124a9106.js → t9n-796fe9cd.js} +3 -3
- package/dist/esm/{th-524474f4.js → th-2a2cf7fa.js} +15 -15
- package/dist/esm/{throttle-4ca3c342.js → throttle-5e95371f.js} +2 -2
- package/dist/esm/{tr-35d6a056.js → tr-1a3a138e.js} +15 -15
- package/dist/esm/{uk-65ab924f.js → uk-97a96a59.js} +15 -15
- package/dist/esm/{utils-0991d178.js → utils-96ff5cab.js} +1 -1
- package/dist/esm/{utils-da5047b5.js → utils-d1da45d9.js} +3 -3
- package/dist/esm/{vi-05ac5fba.js → vi-dabbb53f.js} +15 -15
- package/dist/esm/{zh-cn-9aaa0e76.js → zh-cn-b65f0886.js} +15 -15
- package/dist/esm/{zh-hk-5a43a6a4.js → zh-hk-0885c062.js} +15 -15
- package/dist/esm/{zh-tw-4f5f745f.js → zh-tw-637196fd.js} +15 -15
- package/dist/extras/docs-json.json +5 -13
- package/dist/extras/vscode-data.json +6804 -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/panel/panel.d.ts +1 -0
- package/dist/types/components/panel/resources.d.ts +2 -0
- package/hydrate/index.js +16 -14
- package/package.json +2 -2
- package/dist/calcite/p-19711271.entry.js +0 -6
- package/dist/calcite/p-423fab51.js +0 -6
- package/dist/calcite/p-44c47b37.entry.js +0 -6
- package/dist/calcite/p-625cae48.entry.js +0 -6
- package/dist/calcite/p-65b7b193.entry.js +0 -6
- package/dist/calcite/p-7a1a67c7.js +0 -6
- package/dist/calcite/p-7ece5924.js +0 -6
- package/dist/calcite/p-85a423e2.entry.js +0 -6
- package/dist/calcite/p-a8e7cfae.entry.js +0 -6
- package/dist/calcite/p-ab65d6da.entry.js +0 -6
- package/dist/calcite/p-ccfcc579.entry.js +0 -6
- package/dist/calcite/p-eb6f1695.entry.js +0 -6
- package/dist/calcite/p-eed92a6d.entry.js +0 -6
- package/dist/calcite/p-f7730431.js +0 -6
- package/dist/calcite/p-f7fd2d8b.entry.js +0 -6
- package/dist/components/tooltip.js +0 -446
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";function a(e,a,t,s){var m={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return a?(m[t][2]?m[t][2]:m[t][1]).replace("%d",e):(s?m[t][0]:m[t][1]).replace("%d",e)}var t={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},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"}};e.locale(t,null,!0);export default t;
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as e,F as s,a}from"./p-
|
|
6
|
+
import{r as t,c as i,h as e,F as s,a}from"./p-b353a4bf.js";import{s as o,a as n,c}from"./p-ac2ae787.js";import{n as r,c as l,d as h}from"./p-dfbb877c.js";import{u as p,c as d,s as u,d as g}from"./p-cd0c23d6.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-fc626d9f.js";import"./p-2b34fe91.js";const m="is-disabled",f="ellipsis",v=class{constructor(e){t(this,e),this.calcitePaginationChange=i(this,"calcitePaginationChange",6),this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()},this.groupSeparator=!1,this.messageOverrides=void 0,this.pageSize=20,this.numberingSystem=void 0,this.startItem=1,this.totalItems=0,this.scale="m",this.defaultMessages=void 0,this.effectiveLocale="",this.messages=void 0}onMessagesChange(){}effectiveLocaleChange(){p(this,this.effectiveLocale)}effectiveLocaleWatcher(){r.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}connectedCallback(){l(this),d(this)}async componentWillLoad(){await u(this),o(this)}componentDidLoad(){n(this)}disconnectedCallback(){h(this),g(this)}async setFocus(){await c(this),this.el.focus()}async nextPage(){this.startItem=Math.min(this.getLastStart(),this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}getLastStart(){const{totalItems:t,pageSize:i}=this;return 1+(t%i==0?t-i:Math.floor(t/i)*i)}showLeftEllipsis(){return Math.floor(this.startItem/this.pageSize)>3}showRightEllipsis(){return(this.totalItems-this.startItem)/this.pageSize>3}emitUpdate(){this.calcitePaginationChange.emit()}renderPages(){const t=this.getLastStart();let i,e;this.totalItems/this.pageSize<=5?(e=1+this.pageSize,i=t-this.pageSize):this.startItem/this.pageSize<4?(e=1+this.pageSize,i=1+4*this.pageSize):this.startItem+3*this.pageSize>=this.totalItems?(e=t-4*this.pageSize,i=t-this.pageSize):(e=this.startItem-this.pageSize,i=this.startItem+this.pageSize);const s=[];for(;e<=i;)s.push(e),e+=this.pageSize;return s.map((t=>this.renderPage(t)))}renderPage(t){const i=Math.floor(t/this.pageSize)+(1===this.pageSize?0:1);r.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const s=r.localize(i.toString()),a=t===this.startItem;return e("button",{"aria-current":a?"page":"false",class:{page:!0,"is-selected":a},onClick:()=>{this.startItem=t,this.emitUpdate()}},s)}renderLeftEllipsis(){if(this.totalItems/this.pageSize>5&&this.showLeftEllipsis())return e("span",{class:`${f} ellipsis--start`},"…")}renderRightEllipsis(){if(this.totalItems/this.pageSize>5&&this.showRightEllipsis())return e("span",{class:`${f} ellipsis--end`},"…")}render(){const{totalItems:t,pageSize:i,startItem:a}=this,o=1===i?a<=i:a<i,n=a+i>t;return e(s,null,e("button",{"aria-label":this.messages.previous,class:{previous:!0,[m]:o},disabled:o,onClick:this.previousClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"l"===this.scale?"m":"s"})),t>i?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),e("button",{"aria-label":this.messages.next,class:{next:!0,[m]:n},disabled:n,onClick:this.nextClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"l"===this.scale?"m":"s"})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"]}}};v.style=":host([scale=s]){--calcite-pagination-spacing-internal:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing-internal:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing-internal:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:flex;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.previous,.next,.page{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing-internal)}.ellipsis{display:flex;align-items:flex-end;color:var(--calcite-ui-text-3)}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_pagination}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
6
|
const e="calcite";let t,n,l=!1,s=!1;const o=e=>{const t=new URL(e,ye.t);return t.origin!==me.location.origin?t.href:t.pathname},i="s-id",c="sty-id",r="c-id",u="http://www.w3.org/1999/xlink",a={},f=e=>"object"==(e=typeof e)||"function"===e;function $(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const d=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1;const c=[],r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!f(l))&&(l+=""),o&&i?c[c.length-1].l+=l:c.push(o?h(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,p);const u=h(e,null);return u.o=t,c.length>0&&(u.i=c),u.u=s,u},h=(e,t)=>({$:0,h:e,l:t,m:null,i:null,o:null,u:null}),m={},p={forEach:(e,t)=>e.map(y).forEach(t),map:(e,t)=>e.map(y).map(t).map(w)},y=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.p,vtag:e.h,vtext:e.l}),w=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),d(e.vtag,t,...e.vchildren||[])}const t=h(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.u=e.vkey,t.p=e.vname,t},b=(e,t,n,l,s,o,i)=>{let c,u,a,f;if(1===o.nodeType){for(c=o.getAttribute(r),c&&(u=c.split("."),u[0]!==i&&"0"!==u[0]||(a={$:0,v:u[0],g:u[1],k:u[2],j:u[3],h:o.tagName.toLowerCase(),m:o,o:null,i:null,u:null,p:null,l:null},t.push(a),o.removeAttribute(r),e.i||(e.i=[]),e.i[a.j]=a,e=a,l&&"0"===a.k&&(l[a.j]=a.m))),f=o.childNodes.length-1;f>=0;f--)b(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)b(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)u=o.nodeValue.split("."),u[1]!==i&&"0"!==u[1]||(c=u[0],a={$:0,v:u[1],g:u[2],k:u[3],j:u[4],m:o,o:null,i:null,u:null,p:null,h:null,l:null},"t"===c?(a.m=o.nextSibling,a.m&&3===a.m.nodeType&&(a.l=a.m.textContent,t.push(a),o.remove(),e.i||(e.i=[]),e.i[a.j]=a,l&&"0"===a.k&&(l[a.j]=a.m))):a.v===i&&("s"===c?(a.h="slot",o["s-sn"]=u[5]?a.p=u[5]:"",o["s-sr"]=!0,l&&(a.m=pe.createElement(a.h),a.p&&a.m.setAttribute("name",a.p),o.parentNode.insertBefore(a.m,o),o.remove(),"0"===a.k&&(l[a.j]=a.m)),n.push(a),e.i||(e.i=[]),e.i[a.j]=a):"r"===c&&l&&o.remove()));else if(e&&"style"===e.h){const t=h(null,o.textContent);t.m=o,t.j="0",e.i=[t]}},v=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)v(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)v(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},g=e=>ce(e).S,k=(e,t,n)=>{const l=g(e);return{emit:e=>j(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},j=(e,t,n)=>{const l=ye.ce(t,n);return e.dispatchEvent(l),l},S=new WeakMap,x=(e,t,n)=>{let l=he.get(e);ve&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,he.set(e,l)},O=(e,t)=>{var n;let l=M(t);const s=he.get(l);if(e=11===e.nodeType?e:pe,s)if("string"==typeof s){let t,o=S.get(e=e.head||e);if(o||S.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${c}="${l}"]`)))t.innerHTML=s;else{t=pe.createElement("style"),t.innerHTML=s;const l=null!==(n=ye.O)&&void 0!==n?n:$(pe);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},M=e=>"sc-"+e.M,C=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,s,o)=>{if(n!==l){let i=ae(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=R(n),o=R(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=f(l);if((i||r&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!i||4&o||s)&&!r&&(l=!0===l?"":l,a?e.setAttributeNS(u,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ae(me,c)?c.slice(2):c[2]+t.slice(3),n&&ye.rel(e,t,n,!1),l&&ye.ael(e,t,l,!1)}},P=/\s/,R=e=>e?e.split(P):[],E=(e,t,n,l)=>{const s=11===t.m.nodeType&&t.m.host?t.m.host:t.m,o=e&&e.o||a,i=t.o||a;for(l in o)l in i||L(s,l,o[l],void 0,n,t.$);for(l in i)L(s,l,o[l],i[l],n,t.$)},F=(e,n,s)=>{const o=n.i[s];let i,c,r=0;if(null!==o.l)i=o.m=pe.createTextNode(o.l);else{if(l||(l="svg"===o.h),i=o.m=pe.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.h),l&&"foreignObject"===o.h&&(l=!1),E(null,o,l),null!=t&&i["s-si"]!==t&&i.classList.add(i["s-si"]=t),o.i)for(r=0;r<o.i.length;++r)c=F(e,o,r),c&&i.appendChild(c);"svg"===o.h?l=!1:"foreignObject"===i.tagName&&(l=!0)}return i},I=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=F(null,l,o),c&&(s[o].m=c,r.insertBefore(c,t)))},N=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.m,U(l),s.remove())},W=(e,t)=>e.h===t.h&&e.u===t.u,T=(e,t)=>{const n=t.m=e.m,s=e.i,o=t.i,i=t.h,c=t.l;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||E(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,u=0,a=t.length-1,f=t[0],$=t[a],d=l.length-1,h=l[0],m=l[d];for(;i<=a&&c<=d;)if(null==f)f=t[++i];else if(null==$)$=t[--a];else if(null==h)h=l[++c];else if(null==m)m=l[--d];else if(W(f,h))T(f,h),f=t[++i],h=l[++c];else if(W($,m))T($,m),$=t[--a],m=l[--d];else if(W(f,m))T(f,m),e.insertBefore(f.m,$.m.nextSibling),f=t[++i],m=l[--d];else if(W($,h))T($,h),e.insertBefore($.m,f.m),$=t[--a],h=l[++c];else{for(r=-1,u=i;u<=a;++u)if(t[u]&&null!==t[u].u&&t[u].u===h.u){r=u;break}r>=0?(o=t[r],o.h!==h.h?s=F(t&&t[c],n,r):(T(o,h),t[r]=void 0,s=o.m),h=l[++c]):(s=F(t&&t[c],n,c),h=l[++c]),s&&f.m.parentNode.insertBefore(s,f.m)}i>a?I(e,null==l[d+1]?null:l[d+1].m,n,l,c,d):c>d&&N(t,i,a)})(n,s,t,o):null!==o?(null!==e.l&&(n.textContent=""),I(n,null,t,o,0,o.length-1)):null!==s&&N(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.l!==c&&(n.data=c)},U=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(U)},A=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},D=(e,t)=>{if(e.$|=16,!(4&e.$))return A(e,e.L),Ce((()=>H(e,t)));e.$|=512},H=(e,t)=>{const n=e.P;let l;return t&&(e.$|=256,e.R&&(e.R.map((([e,t])=>G(n,e,t))),e.R=null),l=G(n,"componentWillLoad")),l=J(l,(()=>G(n,"componentWillRender"))),J(l,(()=>q(e,n,t)))},q=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.F,n=e.S,l=t.$,s=O(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);V(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>_(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},V=(e,l)=>{try{l=l.render(),e.$&=-17,e.$|=2,((e,l)=>{const s=e.S,o=e.F,i=e.I||h(null,null),c=(e=>e&&e.h===m)(l)?l:d(null,null,l);n=s.tagName,o.N&&(c.o=c.o||{},o.N.map((([e,t])=>c.o[t]=s[e]))),c.h=null,c.$|=4,e.I=c,c.m=i.m=s.shadowRoot||s,t=s["s-sc"],T(i,c)})(e,l)}catch(t){fe(t,e.S)}return null},_=e=>{const t=e.S,n=e.P,l=e.L;G(n,"componentDidRender"),64&e.$||(e.$|=64,K(t),G(n,"componentDidLoad"),e.W(t),l||B()),e.T(t),e.C&&(e.C(),e.C=void 0),512&e.$&&Oe((()=>D(e,!1))),e.$&=-517},z=e=>{{const t=ce(e),n=t.S.isConnected;return n&&2==(18&t.$)&&D(t,!1),n}},B=()=>{K(pe.documentElement),Oe((()=>j(me,"appload",{detail:{namespace:e}})))},G=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){fe(e)}},J=(e,t)=>e&&e.then?e.then(t):t(),K=e=>e.setAttribute("calcite-hydrated",""),Q=(e,t,n)=>{if(t.U){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.U),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ce(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ce(e),o=s.S,i=s.D.get(t),c=s.$,r=s.P;if(n=((e,t)=>null==e||f(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.D.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){fe(e,o)}}))}if(2==(18&c)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(n,i,t))return;D(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ce(this);return n.H.then((()=>n.P[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){ye.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.N.push([e,s]),s}))}}return e},X=e=>{G(e,"connectedCallback")},Y=e=>{if(0==(1&ye.$)){const t=ce(e),n=t.F,l=()=>{};if(1&t.$)te(e,t,n.q),X(t.P);else{let l;if(t.$|=1,l=e.getAttribute(i),l){if(1&n.$){const t=O(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],c=s?[]:null,r=l.I=h(t,null);ye.V||v(pe.body,ye.V=new Map),e[i]=n,e.removeAttribute(i),b(r,o,[],c,e,e,n),o.map((e=>{const n=e.v+"."+e.g,l=ye.V.get(n),o=e.m;l&&we&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),ye.V.delete(n)})),s&&c.map((e=>{e&&s.appendChild(e)}))})(e,n.M,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){A(t,t.L=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=de(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,Q(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(e){fe(e)}t.$&=-9,t.$|=128,e(),X(t.P)}if(s.style){let e=s.style;const t=M(n);if(!he.has(t)){const l=()=>{};x(t,e,!!(1&n.$)),l()}}}const o=t.L,i=()=>D(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},Z=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=me.customElements,i=pe.head,r=i.querySelector("meta[charset]"),u=pe.createElement("style"),a=[],f=pe.querySelectorAll(`[${c}]`);let d,h=!0,m=0;for(Object.assign(ye,t),ye.t=new URL(t.resourcesUrl||"./",pe.baseURI).href,ye.$|=2;m<f.length;m++)x(f[m].getAttribute(c),C(f[m].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],M:t[1],U:t[2],q:t[3]};n.U=t[2],n.q=t[3],n.N=[],n.A={};const i=n.M,c=class extends HTMLElement{constructor(e){super(e),ue(e=this,n),1&n.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)})}connectedCallback(){d&&(clearTimeout(d),d=null),h?a.push(this):ye.jmp((()=>Y(this)))}disconnectedCallback(){ye.jmp((()=>(()=>{if(0==(1&ye.$)){const e=ce(this),t=e.P;e._&&(e._.map((e=>e())),e._=void 0),G(t,"disconnectedCallback")}})()))}componentOnReady(){return ce(this).B}};n.G=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,Q(c,n,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const e=null!==(n=ye.O)&&void 0!==n?n:$(pe);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,r?r.nextSibling:i.firstChild)}h=!1,a.length?a.map((e=>e.connectedCallback())):ye.jmp((()=>d=setTimeout(B,30)))},ee=(e,t)=>t,te=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=le(e,n),i=ne(t,s),c=se(n);ye.ael(o,l,i,c),(t._=t._||[]).push((()=>ye.rel(o,l,i,c)))}))},ne=(e,t)=>n=>{try{256&e.$?e.P[t](n):(e.R=e.R||[]).push([t,n])}catch(e){fe(e)}},le=(e,t)=>4&t?pe:8&t?me:16&t?pe.body:e,se=e=>0!=(2&e),oe=e=>ye.O=e,ie=new WeakMap,ce=e=>ie.get(e),re=(e,t)=>ie.set(t.P=e,t),ue=(e,t)=>{const n={$:0,S:e,F:t,D:new Map};return n.H=new Promise((e=>n.T=e)),n.B=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],te(e,n,t.q),ie.set(e,n)},ae=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.M.replace(/-/g,"_"),n=e.G,l=$e.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>($e.set(n,e),e[t])),fe)
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},he=new Map,me="undefined"!=typeof window?window:{},pe=me.document||{head:{}},ye={$:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},we=!0,be=e=>Promise.resolve(e),ve=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ge=[],ke=[],je=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&ye.$?Oe(xe):ye.raf(xe))},Se=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},xe=()=>{Se(ge),Se(ke),(s=ge.length>0)&&ye.raf(xe)},Oe=e=>be().then(e),Me=je(ge,!1),Ce=je(ke,!0);export{ee as F,m as H,e as N,g as a,Z as b,k as c,pe as d,Me as e,z as f,o as g,d as h,be as p,re as r,oe as s}
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as i,a as s,F as n}from"./p-
|
|
6
|
+
import{r as t,c as e,h as i,a as s,F as n}from"./p-b353a4bf.js";import{c as a}from"./p-2b34fe91.js";import{d as o}from"./p-04353e76.js";import{c,d as r,a as l,H as h}from"./p-435fa694.js";import{c as d,d as p,u}from"./p-c866115b.js";import{c as m,d as b,g}from"./p-14db794e.js";import{s as f,a as v,c as C}from"./p-ac2ae787.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";const w=class{constructor(i){t(this,i),this.calciteInternalOptionChange=e(this,"calciteInternalOptionChange",6),this.mutationObserver=a("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(t,e,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";const x=class{constructor(i){t(this,i),this.calciteInternalOptionGroupChange=e(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return i(n,null,i("div",null,this.label),i("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};x.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function y(t){return"CALCITE-OPTION"===t.tagName}const z=class{constructor(i){t(this,i),this.calciteSelectChange=e(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=a("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>this.selectEl?.append(this.toNativeElement(t))))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((e=>e.selected=e.value===t))}selectedOptionHandler(t){this.value=t?.value}connectedCallback(){const{el:t}=this;this.mutationObserver?.observe(t,{subtree:!0,childList:!0}),d(this),m(this),c(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),p(this),b(this),r(this)}componentWillLoad(){f(this)}componentDidLoad(){v(this),l(this,this.selectedOption?.value??"")}componentDidRender(){u(this)}async setFocus(){await C(this),o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const e=t.target,i=this.componentToNativeEl.get(e);i&&(this.updateNativeElement(e,i),y(e)&&e.selected&&(this.deselectAllExcept(e),this.selectedOption=e))}onLabelClick(){this.setFocus()}updateNativeElement(t,e){if(e.disabled=t.disabled,e.label=t.label,y(t)){const i=e;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let e;this.componentToNativeEl.forEach(((i,s)=>{y(s)&&i===t&&(s.selected=!0,e=s,this.deselectAllExcept(s))})),e&&(this.selectedOption=e)}toNativeElement(t){if(y(t)){const e=document.createElement("option");return this.updateNativeElement(t,e),this.componentToNativeEl.set(t,e),e}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const e=document.createElement("optgroup");return this.updateNativeElement(t,e),Array.from(t.children).forEach((i=>{const s=this.toNativeElement(i);e.append(s),this.componentToNativeEl.set(t,s)})),this.componentToNativeEl.set(t,e),e}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((e=>{e!==t&&(e.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":g(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_option,x as calcite_option_group,z as calcite_select}
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{g as t}from"./p-
|
|
6
|
+
import{g as t}from"./p-69a23ee0.js";import{d as i,g as s,t as n}from"./p-04353e76.js";import{d as e}from"./p-d15719d4.js";import{h as a,H as o}from"./p-b353a4bf.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"};function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(F.bind(this),0),this.emitCalciteListFilter=e(A.bind(this),0)}function f(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function d(){this.mutationObserver?.disconnect()}function m(t){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=t.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(y(n,a),a&&i(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function g(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||x(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function v(t){const{key:s,target:n}=t;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:a,selectionFollowsFocus:o}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;t.preventDefault();const l=e[b(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!a&&o&&(l.selected=!0),i(l)}function b(i,s,n){const{items:e}=i,{length:a}=e,o=e.indexOf(s),c="up"===n?-1:1;let r=1,l=t(o+c*r++,a);const h=l;for(;e[l].disabled&&(l=t(o+c*r++,a),l!==h););return l}function w(t,i){const{items:s}=t;return s.indexOf(i)}function x(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListFilter.emit()}function F(){this.calciteListChange.emit(this.selectedValues)}function E(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function C(t){if(this.filterEnabled&&"filter"===t)return void await i(this.filterEl);const{items:s,multiple:n,selectionFollowsFocus:e}=this;if(0===s.length)return;if(n)return x(s)[0]?.setFocus();const a=x(s),o=a.find((t=>t.selected))||a[0];return e&&o&&(o.selected=!0),o.setFocus()}function k(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function S(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let L;function P(t=!1){const{filteredData:i,filterText:n}=this,e=i.map((t=>t.value));let a=!1;L||(L=new Set);const o=this.items?.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&L.add(i);const s=!n||e.includes(t.value);return t.hidden=!s,a||(a=s&&t.selected),s}))||[];L.forEach((t=>{const i=o.some((i=>t.contains(i)));if(t.hidden=!i,!i)return;const n=s(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),L.clear(),o.length>0&&!a&&!this.multiple&&y(o[0],!0),this.setFilteredItems(o),t&&this.emitCalciteListFilter()}function T(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:i,value:s}=t.currentTarget;this.filterText=s,this.filteredData=i,this.handleFilter(!0)}function U(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var q;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(q||(q={}));const M=({props:{disabled:t,loading:i,filterEnabled:s,dataForFilter:e,handleFilterEvent:c,filterPlaceholder:r,filterText:l,setFilterEl:h,dragEnabled:u,storeAssistiveEl:f},...d})=>{const m=a("slot",null);return a(o,{"aria-busy":n(i),role:"menu",...d},a("section",null,u?a("span",{"aria-live":"assertive",class:"assistive-text",ref:f}):null,a("header",{class:{"sticky-pos":!0}},s?a("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,value:l,ref:h}):null,a("slot",{name:"menu-actions"})),i?a("calcite-scrim",{loading:i}):null,m))},V={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},G={checked:"check",remove:"x"},H={actionsEnd:"actions-end",actionsStart:"actions-start"};export{V as C,q as I,M as L,H as S,j as a,D as b,U as c,I as d,b as e,f,w as g,P as h,u as i,T as j,v as k,d as l,l as m,g as n,m as o,p,k as q,E as r,S as s,C as t,r as u,c as v,G as w}
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";var m={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(m,null,!0);export default m;
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,c as t,h as i,a as s,H as r}from"./p-fd156bb4.js";import{k as o,w as n,t as a}from"./p-7fd65338.js";import{c,u as l,d as h}from"./p-337b67b4.js";import{n as p,c as d,d as m}from"./p-8c6907e5.js";import{s as u,a as b,c as g}from"./p-dac27f1e.js";import"./p-e5a02d98.js";import"./p-865dbb48.js";import"./p-86b0724c.js";import"./p-b1330d0e.js";const v=class{constructor(i){e(this,i),this.calciteStepperItemChange=t(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=t(this,"calciteInternalStepperItemChange",6),this.itemMap=new Map,this.items=[],this.enabledItems=[],this.icon=!1,this.layout="horizontal",this.numbered=!1,this.numberingSystem=void 0,this.selectedItem=null,this.scale="m"}numberingSystemChange(){this.setStepperItemNumberingSystem()}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:e=>{const t=e.currentTarget.assignedElements().filter((e=>"CALCITE-STEPPER-ITEM"===e?.tagName)),i=Array(t.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}})}calciteInternalStepperItemKeyEvent(e){const t=e.target;switch(e.detail.item.key){case"ArrowDown":case"ArrowRight":o(this.enabledItems,t,"next");break;case"ArrowUp":case"ArrowLeft":o(this.enabledItems,t,"previous");break;case"Home":o(this.enabledItems,t,"first");break;case"End":o(this.enabledItems,t,"last")}e.stopPropagation()}registerItem(e){const t=e.target,{content:i,position:s}=e.detail;this.itemMap.set(t,{position:s,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),e.stopPropagation()}updateItem(e){const{position:t}=e.detail;"number"==typeof t&&(this.currentPosition=t,this.selectedItem=e.target),this.calciteInternalStepperItemChange.emit({position:t})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const e=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof e&&this.updateStep(e)}async prevStep(){const e=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof e&&this.updateStep(e)}async goToStep(e){const t=e-1;this.currentPosition!==t&&this.updateStep(t)}async startStep(){const e=this.getEnabledStepIndex(0,"next");"number"==typeof e&&this.updateStep(e)}async endStep(){const e=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof e&&this.updateStep(e)}getEnabledStepIndex(e,t="next"){const{items:i,currentPosition:s}=this;let r=e;for(;i[r]?.disabled;)r+="previous"===t?-1:1;return r!==s&&r<i.length&&r>=0?r:null}updateStep(e){this.currentPosition=e,this.calciteInternalStepperItemChange.emit({position:e})}sortItems(){const{itemMap:e}=this;return Array.from(e.keys()).sort(((t,i)=>e.get(t).position-e.get(i).position))}filterItems(){return this.items.filter((e=>!e.disabled))}setStepperItemNumberingSystem(){this.items.forEach((e=>{e.numberingSystem=this.numberingSystem}))}get el(){return s(this)}static get watchers(){return{numberingSystem:["numberingSystemChange"]}}};v.style=':host{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]){flex:1 1 auto;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}:host([hidden]){display:none}[hidden]{display:none}';const f=class{constructor(i){e(this,i),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=t(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{this.disabled||"horizontal"===this.layout&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.layout="horizontal",this.icon=!1,this.iconFlipRtl=!1,this.numbered=!1,this.scale="m",this.numberingSystem=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(e){p.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){c(this),d(this)}componentWillLoad(){u(this),this.icon=n(this.el,"icon",!1),this.numbered=n(this.el,"numbered",!1),this.layout=n(this.el,"layout",!1),this.scale=n(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidLoad(){b(this)}componentDidRender(){l(this,!0)}disconnectedCallback(){h(this),m(this)}render(){return i(r,{"aria-expanded":a(this.selected),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){await g(this),("vertical"===this.layout?this.el:this.headerEl)?.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},p.numberFormatter.format(this.itemPosition+1)}get el(){return s(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};f.style=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_stepper,f as calcite_stepper_item}
|
|
6
|
+
import{r as e,c as t,h as i,a as s,H as r}from"./p-b353a4bf.js";import{k as o,w as n,t as a}from"./p-04353e76.js";import{c,u as l,d as h}from"./p-c866115b.js";import{n as p,c as d,d as m}from"./p-dfbb877c.js";import{s as u,a as b,c as g}from"./p-ac2ae787.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-fc626d9f.js";import"./p-2b34fe91.js";const v=class{constructor(i){e(this,i),this.calciteStepperItemChange=t(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=t(this,"calciteInternalStepperItemChange",6),this.itemMap=new Map,this.items=[],this.enabledItems=[],this.icon=!1,this.layout="horizontal",this.numbered=!1,this.numberingSystem=void 0,this.selectedItem=null,this.scale="m"}numberingSystemChange(){this.setStepperItemNumberingSystem()}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:e=>{const t=e.currentTarget.assignedElements().filter((e=>"CALCITE-STEPPER-ITEM"===e?.tagName)),i=Array(t.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}})}calciteInternalStepperItemKeyEvent(e){const t=e.target;switch(e.detail.item.key){case"ArrowDown":case"ArrowRight":o(this.enabledItems,t,"next");break;case"ArrowUp":case"ArrowLeft":o(this.enabledItems,t,"previous");break;case"Home":o(this.enabledItems,t,"first");break;case"End":o(this.enabledItems,t,"last")}e.stopPropagation()}registerItem(e){const t=e.target,{content:i,position:s}=e.detail;this.itemMap.set(t,{position:s,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),e.stopPropagation()}updateItem(e){const{position:t}=e.detail;"number"==typeof t&&(this.currentPosition=t,this.selectedItem=e.target),this.calciteInternalStepperItemChange.emit({position:t})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const e=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof e&&this.updateStep(e)}async prevStep(){const e=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof e&&this.updateStep(e)}async goToStep(e){const t=e-1;this.currentPosition!==t&&this.updateStep(t)}async startStep(){const e=this.getEnabledStepIndex(0,"next");"number"==typeof e&&this.updateStep(e)}async endStep(){const e=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof e&&this.updateStep(e)}getEnabledStepIndex(e,t="next"){const{items:i,currentPosition:s}=this;let r=e;for(;i[r]?.disabled;)r+="previous"===t?-1:1;return r!==s&&r<i.length&&r>=0?r:null}updateStep(e){this.currentPosition=e,this.calciteInternalStepperItemChange.emit({position:e})}sortItems(){const{itemMap:e}=this;return Array.from(e.keys()).sort(((t,i)=>e.get(t).position-e.get(i).position))}filterItems(){return this.items.filter((e=>!e.disabled))}setStepperItemNumberingSystem(){this.items.forEach((e=>{e.numberingSystem=this.numberingSystem}))}get el(){return s(this)}static get watchers(){return{numberingSystem:["numberingSystemChange"]}}};v.style=':host{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]){flex:1 1 auto;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}:host([hidden]){display:none}[hidden]{display:none}';const f=class{constructor(i){e(this,i),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=t(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{this.disabled||"horizontal"===this.layout&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.layout="horizontal",this.icon=!1,this.iconFlipRtl=!1,this.numbered=!1,this.scale="m",this.numberingSystem=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(e){p.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){c(this),d(this)}componentWillLoad(){u(this),this.icon=n(this.el,"icon",!1),this.numbered=n(this.el,"numbered",!1),this.layout=n(this.el,"layout",!1),this.scale=n(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidLoad(){b(this)}componentDidRender(){l(this,!0)}disconnectedCallback(){h(this),m(this)}render(){return i(r,{"aria-expanded":a(this.selected),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){await g(this),("vertical"===this.layout?this.el:this.headerEl)?.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},p.numberFormatter.format(this.itemPosition+1)}get el(){return s(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};f.style=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_stepper,f as calcite_stepper_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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
const e={actionBarContainer:"action-bar-container",backButton:"back-button",container:"container",header:"header",bottomSeparator:"bottom-separator",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",contentContainer:"content-container",fabContainer:"fab-container",footer:"footer"},t={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"},a={actionBar:"action-bar",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};export{e as C,t as I,a as S}
|
|
6
|
+
const e={actionBarContainer:"action-bar-container",backButton:"back-button",container:"container",header:"header",headerContainer:"header-container",bottomSeparator:"bottom-separator",topSeparator:"top-separator",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",contentContainer:"content-container",fabContainer:"fab-container",footer:"footer"},t={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"},a={actionBar:"action-bar",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};export{e as C,t as I,a as S}
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as i,a as o}from"./p-
|
|
6
|
+
import{r as t,c as e,h as i,a as o}from"./p-b353a4bf.js";import{c as n,d as a}from"./p-e12ee963.js";import{h as s,g as c}from"./p-04353e76.js";import{s as l,a as r,c as d}from"./p-ac2ae787.js";import{c as h,d as g}from"./p-dfbb877c.js";import{c as m,d as p,s as f,u}from"./p-cd0c23d6.js";import{K as v}from"./p-d7d25b77.js";import"./p-2b34fe91.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-fc626d9f.js";const b="actions-end",k=class{constructor(i){t(this,i),this.calciteNoticeClose=e(this,"calciteNoticeClose",6),this.calciteNoticeOpen=e(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=s(v,this.icon,this.kind)}connectedCallback(){n(this),h(this),m(this)}disconnectedCallback(){a(this),g(this),p(this)}async componentWillLoad(){l(this),this.requestedIcon=s(v,this.icon,this.kind),await f(this)}componentDidLoad(){r(this)}render(){const{el:t}=this,e=i("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=c(t,b);return i("div",{class:"container"},this.requestedIcon?i("div",{class:"notice-icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"notice-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),o?i("div",{class:"actions-end"},i("slot",{name:b})):null,this.closable?e:null)}async setFocus(){await d(this);const t=this.el.querySelector("calcite-link");if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){u(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_notice}
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";var o={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as _}from"./p-
|
|
6
|
+
import{d as _}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";var m={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};_.locale(m,null,!0);export default m;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v1.5.1-next.0
|
|
5
|
+
*/
|
|
6
|
+
import{h as t}from"./p-b353a4bf.js";function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const a=(r,a)=>{const e=r.level?`h${r.level}`:"div";return delete r.level,t(e,{...r},a)};export{a as H,r as c}
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,n){var a=r[n];return Array.isArray(a)&&(a=a[t?0:1]),a.replace("%d",e)}var n={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,!0);export default n;
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,h as e,F as i,a as n}from"./p-
|
|
6
|
+
import{r as t,h as e,F as i,a as n}from"./p-b353a4bf.js";import{c as o,d as s}from"./p-e12ee963.js";import{g as a}from"./p-04353e76.js";import{c,d as r,u as l}from"./p-c866115b.js";import"./p-2b34fe91.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";const d="content-start",h="content-end",p=class{constructor(e){t(this,e),this.active=!1,this.description=void 0,this.disabled=!1,this.embed=!1,this.focused=!1,this.heading=void 0,this.hidden=!1,this.href=void 0,this.icon=void 0,this.iconFlipRtl=!1}connectedCallback(){o(this),c(this)}disconnectedCallback(){s(this),r(this)}componentDidRender(){l(this)}renderTile(){const{icon:t,el:i,heading:n,description:o,iconFlipRtl:s}=this,c=n&&t&&!o;return e("div",{class:{container:!0,"large-visual":c}},t&&e("div",{class:"icon"},e("calcite-icon",{flipRtl:s,icon:t,scale:"l",style:c?{height:"64px",width:"64px"}:void 0})),e("div",{class:"content-container"},a(i,d)?e("div",{class:"content-slot-container"},e("slot",{name:d})):null,e("div",{class:"content"},n&&e("div",{class:"heading"},n),o&&e("div",{class:"description"},o)),a(i,h)?e("div",{class:"content-slot-container"},e("slot",{name:h})):null))}render(){return e(i,null,this.href?e("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())}get el(){return n(this)}};p.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([href]) .heading,:host([href]:hover) .heading{text-decoration-line:underline;color:var(--calcite-ui-text-link)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:flex;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_tile}
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as _}from"./p-
|
|
6
|
+
import{d as _}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";var m={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"周":_+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var r=100*_+m;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";var r={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};e.locale(r,null,!0);export default 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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,c as i,h as t,H as a,a as n}from"./p-fd156bb4.js";import{c as o,d as s}from"./p-7a1a67c7.js";import{f as c,g as r,t as l,b as d}from"./p-7fd65338.js";import{g as h}from"./p-e5a02d98.js";import{c as g,d as u,u as p}from"./p-337b67b4.js";import{c as m,d as f}from"./p-8c6907e5.js";import{u as b,c as v,d as x,s as w}from"./p-24ca13e2.js";import{H as k}from"./p-423fab51.js";import{c as y,s as z,a as C}from"./p-dac27f1e.js";import{i as j}from"./p-86b0724c.js";import"./p-b1330d0e.js";import"./p-865dbb48.js";const _="icon",L="icon",D="control",I="header-menu-actions",M={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},$=class{constructor(t){e(this,t),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.guid=h(),this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await y(this),c(this.el)}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){o(this),g(this),m(this),v(this)}disconnectedCallback(){u(this),f(this),x(this),s(this)}async componentWillLoad(){await w(this),z(this)}componentDidLoad(){C(this)}componentDidRender(){p(this)}renderScrim(){const{loading:e}=this,i=t("slot",null);return[e?t("calcite-scrim",{loading:e}):null,i]}renderIcon(){const{loading:e,messages:i,status:a}=this,n=!!r(this.el,L);return e?t("div",{class:_,key:"loader"},t("calcite-loader",{inline:!0,label:i.loading})):a?t("div",{class:_,key:"status-icon"},t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==a,invalid:"invalid"==a},icon:M[a],scale:"m"})):n?t("div",{class:_,key:"icon-slot"},t("slot",{key:"icon-slot",name:L})):null}renderTitle(){const{heading:e,headingLevel:i,description:a}=this;return e||a?t("div",{class:"title"},t(k,{class:"heading",level:i},e),a?t("div",{class:"description"},a):null):null}render(){const{collapsible:e,el:i,loading:n,open:o,messages:s}=this,c=o?s.collapse:s.expand,d=t("header",{class:"header"},this.renderIcon(),this.renderTitle()),h=!!r(i,D),g=!!r(i,I),u=o?M.opened:M.closed,{guid:p}=this,m=`${p}-region`,f=`${p}-button`,b=t("div",{class:"header-container"},this.dragHandle?t("calcite-handle",null):null,e?t("button",{"aria-controls":m,"aria-expanded":e?l(o):null,"aria-label":c,class:"toggle",id:f,onClick:this.onHeaderClick,title:c},d,h||g?null:t("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:u,scale:"s"})):d,h?t("div",{class:"control-container"},t("slot",{name:D})):null,g?t("calcite-action-menu",{label:s.options},t("slot",{name:I})):null);return t(a,null,t("article",{"aria-busy":l(n),class:{container:!0}},b,t("section",{"aria-expanded":l(o),"aria-labelledby":f,class:"content",hidden:!o,id:m},this.renderScrim())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};$.style=':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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([hidden]){display:none}[hidden]{display:none}';const q="toggle",O={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},S=class{constructor(t){e(this,t),this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",6),this.guid=h(),this.handleHeaderKeyDown=e=>{j(e.key)&&(this.toggleSection(),e.preventDefault(),e.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await y(this),c(this.el)}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){m(this),v(this)}async componentWillLoad(){await w(this),z(this)}componentDidLoad(){C(this)}disconnectedCallback(){f(this),x(this)}renderStatusIcon(){const{status:e}=this,i=O[e]??!1;return i?t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e},icon:i,scale:"s"}):null}render(){const{el:e,messages:i,open:n,text:o,toggleDisplay:s}=this,c=d(e),r=n?O.menuOpen:"rtl"===c?O.menuClosedLeft:O.menuClosedRight,h=n?i.collapse:i.expand,{guid:g}=this,u=`${g}-region`,p=`${g}-button`,m="switch"===s?t("div",{"aria-controls":u,"aria-label":h,class:{[q]:!0,"toggle--switch":!0},id:p,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:h},t("div",{class:"toggle--switch__content"},t("span",{class:"toggle--switch__text"},o)),t("calcite-switch",{checked:n,label:h,scale:"s",tabIndex:-1}),this.renderStatusIcon()):t("button",{"aria-controls":u,"aria-label":h,class:{"section-header":!0,[q]:!0},id:p,name:h,onClick:this.toggleSection},t("calcite-icon",{icon:r,scale:"s"}),t("span",{class:"section-header__text"},o),this.renderStatusIcon());return t(a,null,m,t("section",{"aria-expanded":l(n),"aria-labelledby":p,class:"content",hidden:!n,id:u},t("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};S.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}:host([hidden]){display:none}[hidden]{display:none}";export{$ as calcite_block,S as calcite_block_section}
|
|
6
|
+
import{r as e,c as i,h as t,H as a,a as n}from"./p-b353a4bf.js";import{c as o,d as s}from"./p-e12ee963.js";import{f as c,g as r,t as l,b as d}from"./p-04353e76.js";import{g as h}from"./p-e9ccfe07.js";import{c as g,d as u,u as p}from"./p-c866115b.js";import{c as m,d as f}from"./p-dfbb877c.js";import{u as b,c as v,d as x,s as w}from"./p-cd0c23d6.js";import{H as k}from"./p-c0e2352a.js";import{c as y,s as z,a as C}from"./p-ac2ae787.js";import{i as j}from"./p-fc626d9f.js";import"./p-2b34fe91.js";import"./p-750c4ac9.js";const _="icon",L="icon",D="control",I="header-menu-actions",M={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},$=class{constructor(t){e(this,t),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.guid=h(),this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await y(this),c(this.el)}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){o(this),g(this),m(this),v(this)}disconnectedCallback(){u(this),f(this),x(this),s(this)}async componentWillLoad(){await w(this),z(this)}componentDidLoad(){C(this)}componentDidRender(){p(this)}renderScrim(){const{loading:e}=this,i=t("slot",null);return[e?t("calcite-scrim",{loading:e}):null,i]}renderIcon(){const{loading:e,messages:i,status:a}=this,n=!!r(this.el,L);return e?t("div",{class:_,key:"loader"},t("calcite-loader",{inline:!0,label:i.loading})):a?t("div",{class:_,key:"status-icon"},t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==a,invalid:"invalid"==a},icon:M[a],scale:"m"})):n?t("div",{class:_,key:"icon-slot"},t("slot",{key:"icon-slot",name:L})):null}renderTitle(){const{heading:e,headingLevel:i,description:a}=this;return e||a?t("div",{class:"title"},t(k,{class:"heading",level:i},e),a?t("div",{class:"description"},a):null):null}render(){const{collapsible:e,el:i,loading:n,open:o,messages:s}=this,c=o?s.collapse:s.expand,d=t("header",{class:"header"},this.renderIcon(),this.renderTitle()),h=!!r(i,D),g=!!r(i,I),u=o?M.opened:M.closed,{guid:p}=this,m=`${p}-region`,f=`${p}-button`,b=t("div",{class:"header-container"},this.dragHandle?t("calcite-handle",null):null,e?t("button",{"aria-controls":m,"aria-expanded":e?l(o):null,"aria-label":c,class:"toggle",id:f,onClick:this.onHeaderClick,title:c},d,h||g?null:t("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:u,scale:"s"})):d,h?t("div",{class:"control-container"},t("slot",{name:D})):null,g?t("calcite-action-menu",{label:s.options},t("slot",{name:I})):null);return t(a,null,t("article",{"aria-busy":l(n),class:{container:!0}},b,t("section",{"aria-expanded":l(o),"aria-labelledby":f,class:"content",hidden:!o,id:m},this.renderScrim())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};$.style=':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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([hidden]){display:none}[hidden]{display:none}';const q="toggle",O={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},S=class{constructor(t){e(this,t),this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",6),this.guid=h(),this.handleHeaderKeyDown=e=>{j(e.key)&&(this.toggleSection(),e.preventDefault(),e.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await y(this),c(this.el)}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){m(this),v(this)}async componentWillLoad(){await w(this),z(this)}componentDidLoad(){C(this)}disconnectedCallback(){f(this),x(this)}renderStatusIcon(){const{status:e}=this,i=O[e]??!1;return i?t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e},icon:i,scale:"s"}):null}render(){const{el:e,messages:i,open:n,text:o,toggleDisplay:s}=this,c=d(e),r=n?O.menuOpen:"rtl"===c?O.menuClosedLeft:O.menuClosedRight,h=n?i.collapse:i.expand,{guid:g}=this,u=`${g}-region`,p=`${g}-button`,m="switch"===s?t("div",{"aria-controls":u,"aria-label":h,class:{[q]:!0,"toggle--switch":!0},id:p,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:h},t("div",{class:"toggle--switch__content"},t("span",{class:"toggle--switch__text"},o)),t("calcite-switch",{checked:n,label:h,scale:"s",tabIndex:-1}),this.renderStatusIcon()):t("button",{"aria-controls":u,"aria-label":h,class:{"section-header":!0,[q]:!0},id:p,name:h,onClick:this.toggleSection},t("calcite-icon",{icon:r,scale:"s"}),t("span",{class:"section-header__text"},o),this.renderStatusIcon());return t(a,null,m,t("section",{"aria-expanded":l(n),"aria-labelledby":p,class:"content",hidden:!n,id:u},t("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};S.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}:host([hidden]){display:none}[hidden]{display:none}";export{$ as calcite_block,S as calcite_block_section}
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0
|
|
4
|
+
* v1.5.1-next.0
|
|
5
5
|
*/
|
|
6
6
|
const n=/firefox/i.test(function(){const n=navigator.userAgentData;return n?.brands?n.brands.map((({brand:n,version:t})=>`${n}/${t}`)).join(" "):navigator.userAgent}()),t=n?new WeakMap:null;function i(){const{disabled:n}=this;n||HTMLElement.prototype.click.call(this)}function o(i){const o=i.target;if(n&&!t.get(o))return;const{disabled:e}=o;e&&i.preventDefault()}const e=["mousedown","mouseup","click"];function a(i){if(n&&!t.get(i.target))return;const{disabled:o}=i.target;o&&(i.stopImmediatePropagation(),i.preventDefault())}const c={capture:!0};function u(n,t=!1){if(n.disabled)return n.el.setAttribute("tabindex","-1"),n.el.setAttribute("aria-disabled","true"),n.el.contains(document.activeElement)&&document.activeElement.blur(),void r(n);s(n),"function"==typeof t?n.el.setAttribute("tabindex",t.call(n)?"0":"-1"):!0===t?n.el.setAttribute("tabindex","0"):!1===t&&n.el.removeAttribute("tabindex"),n.el.removeAttribute("aria-disabled")}function r(t){var u;t.el.click=i,(u=n?d(t):t.el)&&(u.addEventListener("pointerdown",o,c),e.forEach((n=>u.addEventListener(n,a,c))))}function d(n){return t.get(n.el)}function s(t){var i;delete t.el.click,(i=n?d(t):t.el)&&(i.removeEventListener("pointerdown",o,c),e.forEach((n=>i.removeEventListener(n,a,c))))}function f(i){i.disabled&&n&&(t.set(i.el,i.el.parentElement||i.el),r(i))}function b(i){n&&(t.delete(i.el),s(i))}export{f as c,b as d,u}
|