@esri/calcite-components 1.0.0-next.458 → 1.0.0-next.459
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-d3d83d67.js → p-0126bff9.js} +1 -1
- package/dist/calcite/{p-b671d379.system.entry.js → p-02e4351c.system.entry.js} +2 -2
- package/dist/calcite/{p-86482360.system.entry.js → p-037568a7.system.entry.js} +2 -2
- package/dist/calcite/{p-c26f3455.system.entry.js → p-04e67f9e.system.entry.js} +2 -2
- package/dist/calcite/{p-b2f6d8f9.entry.js → p-06bc176d.entry.js} +2 -2
- package/dist/calcite/{p-2b87b37a.entry.js → p-09d47623.entry.js} +2 -2
- package/dist/calcite/p-0acb6441.js +6 -0
- package/dist/calcite/{p-0202a9cd.entry.js → p-0b6a5aa1.entry.js} +2 -2
- package/dist/calcite/{p-6595def1.js → p-0ba4f28c.js} +1 -1
- package/dist/calcite/{p-8c55972c.system.entry.js → p-0d46f764.system.entry.js} +3 -3
- package/dist/calcite/{p-1473e33a.system.entry.js → p-0de6ce19.system.entry.js} +2 -2
- package/dist/calcite/{p-c641f70d.system.entry.js → p-0ebc70d0.system.entry.js} +2 -2
- package/dist/calcite/{p-f6e509e4.entry.js → p-0f3514ec.entry.js} +2 -2
- package/dist/calcite/{p-c82cca0f.entry.js → p-0ffc0646.entry.js} +2 -2
- package/dist/calcite/{p-5bf469c7.entry.js → p-1035f856.entry.js} +2 -2
- package/dist/calcite/{p-73a6c097.entry.js → p-12db163b.entry.js} +2 -2
- package/dist/calcite/{p-ab440fa0.entry.js → p-12ea7354.entry.js} +2 -2
- package/dist/calcite/{p-728796a9.entry.js → p-13bc5c8a.entry.js} +2 -2
- package/dist/calcite/{p-58e221a2.entry.js → p-1491e0e9.entry.js} +2 -2
- package/dist/calcite/{p-8516cff1.system.entry.js → p-176fcae3.system.entry.js} +2 -2
- package/dist/calcite/{p-13d6d8f2.system.entry.js → p-19ec14ec.system.entry.js} +2 -2
- package/dist/calcite/{p-27fb5943.entry.js → p-1c3258b2.entry.js} +2 -2
- package/dist/calcite/{p-2142f911.entry.js → p-1dd61abd.entry.js} +2 -2
- package/dist/calcite/{p-d3516561.system.entry.js → p-1dda8719.system.entry.js} +2 -2
- package/dist/calcite/{p-d5db200b.system.entry.js → p-20929616.system.entry.js} +2 -2
- package/dist/calcite/p-211040cb.js +6 -0
- package/dist/calcite/{p-66ca31d1.system.entry.js → p-214f8257.system.entry.js} +2 -2
- package/dist/calcite/{p-311c3ca4.entry.js → p-28a5bf1f.entry.js} +2 -2
- package/dist/calcite/{p-c35f0c78.entry.js → p-2a52d465.entry.js} +2 -2
- package/dist/calcite/p-2ad1f2b7.system.js +6 -0
- package/dist/calcite/{p-c9a868f5.system.entry.js → p-2b7f61c5.system.entry.js} +2 -2
- package/dist/calcite/{p-fb15d29b.system.entry.js → p-2bfd46fc.system.entry.js} +2 -2
- package/dist/calcite/{p-1982d900.js → p-2c98d043.js} +1 -1
- package/dist/calcite/{p-0037696c.system.js → p-361d11c5.system.js} +1 -1
- package/dist/calcite/{p-d92890da.js → p-3785808d.js} +2 -2
- package/dist/calcite/{p-a446f53a.entry.js → p-3a487b70.entry.js} +2 -2
- package/dist/calcite/{p-fe8e86d6.system.entry.js → p-3d73b8b2.system.entry.js} +2 -2
- package/dist/calcite/{p-f5b89b65.system.js → p-3f1d5edc.system.js} +2 -2
- package/dist/calcite/{p-990b10b5.system.entry.js → p-3f377098.system.entry.js} +2 -2
- package/dist/calcite/{p-b7ae73e8.system.js → p-4352d90d.system.js} +2 -2
- package/dist/calcite/{p-839973a5.system.js → p-451177a1.system.js} +1 -1
- package/dist/calcite/{p-7f6a8bec.system.js → p-4511f2a4.system.js} +2 -2
- package/dist/calcite/{p-f609eb15.system.entry.js → p-46acea09.system.entry.js} +2 -2
- package/dist/calcite/{p-51422be3.system.entry.js → p-4a7d873a.system.entry.js} +2 -2
- package/dist/calcite/{p-bb41b4fc.system.entry.js → p-4a7ebe74.system.entry.js} +2 -2
- package/dist/calcite/{p-8287997e.system.entry.js → p-4b1e4096.system.entry.js} +2 -2
- package/dist/calcite/{p-fcb43abc.entry.js → p-4c0c3d30.entry.js} +2 -2
- package/dist/calcite/{p-f82ac3f3.entry.js → p-4d4e9cdc.entry.js} +2 -2
- package/dist/calcite/{p-95fa44ea.entry.js → p-4d5e6128.entry.js} +2 -2
- package/dist/calcite/p-4debe1e8.system.js +6 -0
- package/dist/calcite/{p-78c74d9d.entry.js → p-4e314477.entry.js} +2 -2
- package/dist/calcite/{p-7f254ff1.system.entry.js → p-4e891a9a.system.entry.js} +2 -2
- package/dist/calcite/{p-c6e6bca5.system.js → p-4f08c0de.system.js} +1 -1
- package/dist/calcite/{p-4d2d878e.system.entry.js → p-50c26c47.system.entry.js} +2 -2
- package/dist/calcite/{p-e9a5d21d.entry.js → p-540bc168.entry.js} +2 -2
- package/dist/calcite/{p-6369b874.entry.js → p-551fba7a.entry.js} +2 -2
- package/dist/calcite/{p-1c97124f.entry.js → p-5742d1ac.entry.js} +2 -2
- package/dist/calcite/{p-be1d8b7f.system.js → p-58b12ded.system.js} +1 -1
- package/dist/calcite/{p-89c4afbc.entry.js → p-597cf9da.entry.js} +2 -2
- package/dist/calcite/{p-2b55a7ce.system.entry.js → p-5a6def90.system.entry.js} +2 -2
- package/dist/calcite/{p-a9743145.js → p-5c56f12f.js} +2 -2
- package/dist/calcite/{p-d64ac20d.entry.js → p-625e8bae.entry.js} +2 -2
- package/dist/calcite/{p-e26a8656.system.entry.js → p-656feb55.system.entry.js} +2 -2
- package/dist/calcite/{p-6747f780.entry.js → p-675c1ee3.entry.js} +2 -2
- package/dist/calcite/{p-c52a5098.system.entry.js → p-67b7be6a.system.entry.js} +2 -2
- package/dist/calcite/{p-7ba9ea1d.system.js → p-69bea004.system.js} +1 -1
- package/dist/calcite/{p-72a91e86.entry.js → p-6ac63a99.entry.js} +2 -2
- package/dist/calcite/{p-fd95ba03.entry.js → p-6b60ff9d.entry.js} +2 -2
- package/dist/calcite/{p-9951d5b0.entry.js → p-6d3a7108.entry.js} +2 -2
- package/dist/calcite/{p-e6adfb6c.system.entry.js → p-6dcab596.system.entry.js} +2 -2
- package/dist/calcite/{p-96911f30.js → p-70984488.js} +1 -1
- package/dist/calcite/{p-7502fa11.system.js → p-70d8a8be.system.js} +1 -1
- package/dist/calcite/{p-a4d7fb61.system.entry.js → p-70e1f392.system.entry.js} +2 -2
- package/dist/calcite/{p-917a3fa6.system.entry.js → p-718fc1a8.system.entry.js} +2 -2
- package/dist/calcite/{p-9e349f61.js → p-759949cf.js} +1 -1
- package/dist/calcite/{p-ba66b545.entry.js → p-77c94c31.entry.js} +2 -2
- package/dist/calcite/{p-fe5de827.system.entry.js → p-791b61a7.system.entry.js} +2 -2
- package/dist/calcite/{p-7b7320de.js → p-7944989c.js} +1 -1
- package/dist/calcite/{p-8c584dfd.system.entry.js → p-7a4bb209.system.entry.js} +2 -2
- package/dist/calcite/{p-eca07dc9.system.js → p-7bee9ade.system.js} +2 -2
- package/dist/calcite/{p-6705d170.system.entry.js → p-7c4c35b3.system.entry.js} +3 -3
- package/dist/calcite/{p-4afb39c2.system.entry.js → p-7d596ef7.system.entry.js} +2 -2
- package/dist/calcite/{p-0965ddf4.system.entry.js → p-7e512070.system.entry.js} +2 -2
- package/dist/calcite/{p-db2e671d.entry.js → p-7ef8ff36.entry.js} +2 -2
- package/dist/calcite/{p-4ca864d0.js → p-7f70f8d9.js} +2 -2
- package/dist/calcite/{p-9a9ebfb9.system.entry.js → p-80ff1868.system.entry.js} +2 -2
- package/dist/calcite/{p-8d10363d.js → p-81587315.js} +1 -1
- package/dist/calcite/{p-396bbb1d.entry.js → p-822f35c2.entry.js} +2 -2
- package/dist/calcite/{p-54beb0a5.js → p-8362cc8b.js} +1 -1
- package/dist/calcite/{p-b3f11234.system.entry.js → p-839a5eda.system.entry.js} +2 -2
- package/dist/calcite/{p-449e2a0f.system.entry.js → p-87367100.system.entry.js} +2 -2
- package/dist/calcite/{p-d3f1111a.system.entry.js → p-87a21886.system.entry.js} +2 -2
- package/dist/calcite/{p-187991a9.system.js → p-8e1a20c4.system.js} +1 -1
- package/dist/calcite/{p-b51f5998.system.entry.js → p-92db2c1e.system.entry.js} +2 -2
- package/dist/calcite/{p-a07cb4aa.entry.js → p-967c56fb.entry.js} +2 -2
- package/dist/calcite/{p-a4d8d545.system.entry.js → p-990b8d25.system.entry.js} +2 -2
- package/dist/calcite/{p-003cbc30.system.entry.js → p-99ac3e20.system.entry.js} +2 -2
- package/dist/calcite/{p-4a520df5.js → p-9a3154ef.js} +2 -2
- package/dist/calcite/{p-f1d7727f.js → p-9e1e8009.js} +1 -1
- package/dist/calcite/{p-0e940d4c.entry.js → p-9e79168d.entry.js} +2 -2
- package/dist/calcite/{p-6984bdf5.system.js → p-9f144ea4.system.js} +2 -2
- package/dist/calcite/{p-38d225dd.js → p-a1ce9d78.js} +1 -1
- package/dist/calcite/{p-5276995a.entry.js → p-a22c115b.entry.js} +2 -2
- package/dist/calcite/{p-2cb059dc.entry.js → p-a344800f.entry.js} +2 -2
- package/dist/calcite/{p-90292adb.system.entry.js → p-a34c9ee4.system.entry.js} +2 -2
- package/dist/calcite/{p-f1375f36.system.entry.js → p-a3b377a1.system.entry.js} +2 -2
- package/dist/calcite/{p-4abf65f0.system.entry.js → p-a6b369ad.system.entry.js} +3 -3
- package/dist/calcite/{p-4ed04962.entry.js → p-aaa09620.entry.js} +2 -2
- package/dist/calcite/{p-86d937a5.entry.js → p-aed899d3.entry.js} +2 -2
- package/dist/calcite/{p-613e31a4.entry.js → p-b2478a53.entry.js} +2 -2
- package/dist/calcite/{p-91eca97d.system.entry.js → p-b266ed0e.system.entry.js} +2 -2
- package/dist/calcite/{p-14fc2c18.system.entry.js → p-b4ebb58c.system.entry.js} +2 -2
- package/dist/calcite/{p-0496f33e.system.entry.js → p-b7d6346e.system.entry.js} +2 -2
- package/dist/calcite/p-b849e1c5.system.js +6 -0
- package/dist/calcite/{p-58060f08.entry.js → p-b9df0b6a.entry.js} +2 -2
- package/dist/calcite/{p-429f5c1e.entry.js → p-bbc887aa.entry.js} +2 -2
- package/dist/calcite/{p-8c4bf166.js → p-bc1c8a45.js} +1 -1
- package/dist/calcite/p-bea38e5a.entry.js +6 -0
- package/dist/calcite/{p-4e9e4fc5.system.entry.js → p-c1fd8e59.system.entry.js} +2 -2
- package/dist/calcite/{p-1b99dca4.entry.js → p-c45a683c.entry.js} +2 -2
- package/dist/calcite/{p-1e4e7f36.entry.js → p-c4fcc910.entry.js} +2 -2
- package/dist/calcite/{p-a0b723c2.js → p-c7c38b13.js} +2 -2
- package/dist/calcite/{p-43715a1e.system.js → p-c8785e1d.system.js} +2 -2
- package/dist/calcite/p-cb4022b5.js +6 -0
- package/dist/calcite/{p-35b9d7a2.system.entry.js → p-cd8c6924.system.entry.js} +2 -2
- package/dist/calcite/{p-ca2ce54b.system.js → p-cfc452c1.system.js} +1 -1
- package/dist/calcite/{p-8bad9d11.entry.js → p-d07962eb.entry.js} +2 -2
- package/dist/calcite/{p-ed664514.system.entry.js → p-d0a90e73.system.entry.js} +2 -2
- package/dist/calcite/{p-b5fa37ca.entry.js → p-d1730314.entry.js} +2 -2
- package/dist/calcite/{p-aaedf237.entry.js → p-d1a49288.entry.js} +2 -2
- package/dist/calcite/{p-a77350ca.entry.js → p-d2a2fa6b.entry.js} +2 -2
- package/dist/calcite/{p-af740f4c.system.entry.js → p-d2af12b8.system.entry.js} +2 -2
- package/dist/calcite/{p-a0ddb505.system.entry.js → p-d628397c.system.entry.js} +2 -2
- package/dist/calcite/p-d8369363.system.js +6 -0
- package/dist/calcite/{p-b7a6ed73.js → p-d88317ca.js} +1 -1
- package/dist/calcite/{p-bc35f977.system.js → p-da342229.system.js} +2 -2
- package/dist/calcite/{p-e2391739.entry.js → p-dabc255a.entry.js} +2 -2
- package/dist/calcite/{p-7f5d5fd4.js → p-db471a1f.js} +2 -2
- package/dist/calcite/{p-89ef9bdf.entry.js → p-df417516.entry.js} +2 -2
- package/dist/calcite/{p-0091f128.system.entry.js → p-e0dc5dc8.system.entry.js} +2 -2
- package/dist/calcite/{p-a676c521.system.entry.js → p-e3b05112.system.entry.js} +2 -2
- package/dist/calcite/{p-39822347.system.js → p-e5770202.system.js} +1 -1
- package/dist/calcite/p-e5789562.entry.js +6 -0
- package/dist/calcite/{p-7d9e16b7.system.js → p-e75153b6.system.js} +1 -1
- package/dist/calcite/{p-e79b9e5a.system.entry.js → p-e8178f8f.system.entry.js} +2 -2
- package/dist/calcite/{p-649adb77.entry.js → p-e8fc73e1.entry.js} +2 -2
- package/dist/calcite/{p-ab4ffc37.entry.js → p-e968289d.entry.js} +2 -2
- package/dist/calcite/{p-263088ac.system.entry.js → p-ecaeafde.system.entry.js} +2 -2
- package/dist/calcite/{p-862f3914.system.entry.js → p-edeb451d.system.entry.js} +2 -2
- package/dist/calcite/{p-c0b586a7.system.js → p-eedf1ee5.system.js} +1 -1
- package/dist/calcite/{p-3147c503.js → p-f0e938f9.js} +1 -1
- package/dist/calcite/{p-df80de02.entry.js → p-f36b31ce.entry.js} +2 -2
- package/dist/calcite/{p-c09aa21b.system.js → p-f3872f06.system.js} +1 -1
- package/dist/calcite/{p-eccd4955.entry.js → p-f3b9a437.entry.js} +2 -2
- package/dist/calcite/p-f48fe444.js +6 -0
- package/dist/calcite/{p-630b23a0.system.entry.js → p-f4f7d0df.system.entry.js} +2 -2
- package/dist/calcite/{p-16ee5f7c.system.js → p-f554b8a0.system.js} +1 -1
- package/dist/calcite/{p-baaa0893.system.js → p-f71f70b0.system.js} +1 -1
- package/dist/calcite/{p-32688dae.system.js → p-f7bedb6f.system.js} +2 -2
- package/dist/calcite/{p-62831498.js → p-f9212054.js} +2 -2
- package/dist/calcite/{p-276c1e1d.entry.js → p-fa386ba2.entry.js} +2 -2
- package/dist/calcite/{p-d693ace4.entry.js → p-fde372d5.entry.js} +2 -2
- package/dist/calcite/{p-6f8dd452.entry.js → p-ff1bfa14.entry.js} +2 -2
- package/dist/calcite/{p-54c662aa.system.entry.js → p-fff22da4.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-ff6bbb45.js → ExpandToggle-3293132f.js} +5 -5
- package/dist/cjs/{Heading-07ac390e.js → Heading-31d957eb.js} +2 -2
- package/dist/cjs/{array-2f515a27.js → array-cf338d95.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +4 -4
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +7 -7
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{conditionalSlot-5d2966dc.js → conditionalSlot-4d237b7f.js} +3 -3
- package/dist/cjs/{debounce-fc133c41.js → debounce-343d0d27.js} +1 -1
- package/dist/cjs/{dom-459c1e3a.js → dom-c50928fb.js} +2 -2
- package/dist/cjs/{forIn-066a2fb4.js → forIn-120174dc.js} +2 -2
- package/dist/cjs/{form-03f2ac06.js → form-7d548ddd.js} +4 -3
- package/dist/cjs/{guid-795cd6e1.js → guid-65d65acf.js} +1 -1
- package/dist/cjs/{index-da6117db.js → index-b30e5e45.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-f5299f15.js → interactive-11930d92.js} +1 -1
- package/dist/cjs/{interfaces-82503b32.js → interfaces-a7d90c67.js} +1 -1
- package/dist/cjs/{label-e08e09e7.js → label-d546ea41.js} +11 -12
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-0d3ac422.js → locale-3c1ccaf4.js} +2 -2
- package/dist/cjs/{math-62fdf327.js → math-6b9bdc03.js} +1 -1
- package/dist/cjs/{number-b4a3cef8.js → number-bd568499.js} +1 -1
- package/dist/cjs/{observers-44068930.js → observers-de054ab1.js} +1 -1
- package/dist/cjs/{popper-00fc07f9.js → popper-61b33986.js} +2 -2
- package/dist/cjs/{resources-b9fabebd.js → resources-69bcb260.js} +1 -1
- package/dist/cjs/{resources-0f43f491.js → resources-a339c692.js} +1 -1
- package/dist/cjs/{resources-f138d2f5.js → resources-a69cf958.js} +3 -3
- package/dist/cjs/{resources-7dfe7632.js → resources-af31d5ef.js} +5 -5
- package/dist/cjs/{sortable.esm-720b9235.js → sortable.esm-2e59f342.js} +1 -1
- package/dist/cjs/{utils-1eb74218.js → utils-0ab3436e.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +2 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/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/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +2 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +10 -11
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +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.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-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +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-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +2 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +10 -11
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +12 -12
- package/dist/esm/{ExpandToggle-ebc62970.js → ExpandToggle-0c1a75fa.js} +5 -5
- package/dist/esm/{Heading-aa3b5d2e.js → Heading-e6f0d74c.js} +2 -2
- package/dist/esm/{array-731411cc.js → array-6390ea15.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +4 -4
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +7 -7
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +10 -10
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{conditionalSlot-48b00717.js → conditionalSlot-aa55c307.js} +3 -3
- package/dist/esm/{debounce-cb8d37a8.js → debounce-24fd6987.js} +1 -1
- package/dist/esm/{dom-94d25839.js → dom-007cca49.js} +2 -2
- package/dist/esm/{forIn-d72aa1f9.js → forIn-9b372567.js} +2 -2
- package/dist/esm/{form-53008de9.js → form-2754118d.js} +4 -3
- package/dist/esm/{guid-233b4434.js → guid-dfde737e.js} +1 -1
- package/dist/esm/{index-87f22d23.js → index-89a9f296.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-151be02c.js → interactive-62ba087c.js} +1 -1
- package/dist/esm/{interfaces-b72f6217.js → interfaces-eaf769f8.js} +1 -1
- package/dist/esm/{label-cd49fa53.js → label-93e82ac4.js} +11 -12
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-c8e74ce2.js → locale-972a2a90.js} +2 -2
- package/dist/esm/{math-7d849570.js → math-34418d48.js} +1 -1
- package/dist/esm/{number-99a22bce.js → number-eda996fb.js} +1 -1
- package/dist/esm/{observers-2946c37e.js → observers-8f19877a.js} +1 -1
- package/dist/esm/{popper-1681f929.js → popper-d60b65c9.js} +2 -2
- package/dist/esm/{resources-57da8856.js → resources-41a0e85b.js} +5 -5
- package/dist/esm/{resources-ce90885a.js → resources-691159b9.js} +1 -1
- package/dist/esm/{resources-d0446b56.js → resources-d91168ce.js} +1 -1
- package/dist/esm/{resources-251a4947.js → resources-daaa86d9.js} +3 -3
- package/dist/esm/{sortable.esm-0d8acd0f.js → sortable.esm-4eb1a8e1.js} +1 -1
- package/dist/esm/{utils-2efb2b95.js → utils-dc4a35cb.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-ebc62970.js → ExpandToggle-0c1a75fa.js} +2 -2
- package/dist/esm-es5/{Heading-aa3b5d2e.js → Heading-e6f0d74c.js} +2 -2
- package/dist/esm-es5/{array-731411cc.js → array-6390ea15.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-48b00717.js → conditionalSlot-aa55c307.js} +2 -2
- package/dist/esm-es5/{debounce-cb8d37a8.js → debounce-24fd6987.js} +1 -1
- package/dist/esm-es5/{dom-94d25839.js → dom-007cca49.js} +2 -2
- package/dist/esm-es5/{forIn-d72aa1f9.js → forIn-9b372567.js} +2 -2
- package/dist/esm-es5/form-2754118d.js +6 -0
- package/dist/esm-es5/{guid-233b4434.js → guid-dfde737e.js} +1 -1
- package/dist/esm-es5/{index-87f22d23.js → index-89a9f296.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-151be02c.js → interactive-62ba087c.js} +1 -1
- package/dist/esm-es5/{interfaces-b72f6217.js → interfaces-eaf769f8.js} +1 -1
- package/dist/esm-es5/label-93e82ac4.js +6 -0
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-c8e74ce2.js → locale-972a2a90.js} +2 -2
- package/dist/esm-es5/{math-7d849570.js → math-34418d48.js} +1 -1
- package/dist/esm-es5/{number-99a22bce.js → number-eda996fb.js} +1 -1
- package/dist/esm-es5/{observers-2946c37e.js → observers-8f19877a.js} +1 -1
- package/dist/esm-es5/{popper-1681f929.js → popper-d60b65c9.js} +2 -2
- package/dist/esm-es5/{resources-57da8856.js → resources-41a0e85b.js} +2 -2
- package/dist/esm-es5/{resources-ce90885a.js → resources-691159b9.js} +1 -1
- package/dist/esm-es5/{resources-d0446b56.js → resources-d91168ce.js} +1 -1
- package/dist/esm-es5/{resources-251a4947.js → resources-daaa86d9.js} +2 -2
- package/dist/esm-es5/{sortable.esm-0d8acd0f.js → sortable.esm-4eb1a8e1.js} +1 -1
- package/dist/esm-es5/{utils-2efb2b95.js → utils-dc4a35cb.js} +1 -1
- package/dist/extras/docs-json.json +1 -1
- 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/hydrate/index.js +12 -12
- package/package.json +1 -1
- package/dist/calcite/p-06524bec.system.js +0 -6
- package/dist/calcite/p-193bfbe9.js +0 -6
- package/dist/calcite/p-20552651.js +0 -6
- package/dist/calcite/p-3517fef5.system.js +0 -6
- package/dist/calcite/p-46af5547.system.js +0 -6
- package/dist/calcite/p-885066e3.js +0 -6
- package/dist/calcite/p-be64b96d.js +0 -6
- package/dist/calcite/p-d8e0f32c.system.js +0 -6
- package/dist/calcite/p-e2165f27.entry.js +0 -6
- package/dist/calcite/p-ebb79a61.entry.js +0 -6
- package/dist/esm-es5/form-53008de9.js +0 -6
- package/dist/esm-es5/label-cd49fa53.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.459
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -9284,24 +9284,21 @@ function hasAncestorCustomElements(label, componentEl) {
|
|
|
9284
9284
|
*/
|
|
9285
9285
|
function connectLabel(component) {
|
|
9286
9286
|
const labelEl = findLabelForComponent(component.el);
|
|
9287
|
-
if (onLabelClickMap.has(labelEl)) {
|
|
9287
|
+
if (onLabelClickMap.has(labelEl) || (!labelEl && unlabeledComponents.has(component))) {
|
|
9288
9288
|
return;
|
|
9289
9289
|
}
|
|
9290
9290
|
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
9291
9291
|
if (labelEl) {
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
9297
|
-
};
|
|
9298
|
-
addClickEventListenerToComponentLabel();
|
|
9292
|
+
component.labelEl = labelEl;
|
|
9293
|
+
const boundOnLabelClick = onLabelClick.bind(component);
|
|
9294
|
+
onLabelClickMap.set(component.labelEl, boundOnLabelClick);
|
|
9295
|
+
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
9299
9296
|
unlabeledComponents.delete(component);
|
|
9300
9297
|
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
9301
9298
|
onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
|
|
9302
9299
|
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
9303
9300
|
}
|
|
9304
|
-
else if (!
|
|
9301
|
+
else if (!unlabeledComponents.has(component)) {
|
|
9305
9302
|
boundOnLabelDisconnected();
|
|
9306
9303
|
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
9307
9304
|
}
|
|
@@ -9313,6 +9310,8 @@ function disconnectLabel(component) {
|
|
|
9313
9310
|
unlabeledComponents.delete(component);
|
|
9314
9311
|
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
9315
9312
|
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
9313
|
+
onLabelConnectedMap.delete(component);
|
|
9314
|
+
onLabelDisconnectedMap.delete(component);
|
|
9316
9315
|
if (!component.labelEl) {
|
|
9317
9316
|
return;
|
|
9318
9317
|
}
|
|
@@ -9344,7 +9343,7 @@ function onLabelConnected() {
|
|
|
9344
9343
|
}
|
|
9345
9344
|
function onLabelDisconnected() {
|
|
9346
9345
|
unlabeledComponents.add(this);
|
|
9347
|
-
const boundOnLabelConnected = onLabelConnected.bind(this);
|
|
9346
|
+
const boundOnLabelConnected = onLabelConnectedMap.get(this) || onLabelConnected.bind(this);
|
|
9348
9347
|
onLabelConnectedMap.set(this, boundOnLabelConnected);
|
|
9349
9348
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
9350
9349
|
}
|
|
@@ -9705,6 +9704,7 @@ function connectForm(component) {
|
|
|
9705
9704
|
}
|
|
9706
9705
|
const boundOnFormReset = (component.onFormReset || onFormReset).bind(component);
|
|
9707
9706
|
form.addEventListener("reset", boundOnFormReset);
|
|
9707
|
+
onFormResetMap.set(component.el, boundOnFormReset);
|
|
9708
9708
|
formComponentSet.add(el);
|
|
9709
9709
|
}
|
|
9710
9710
|
function onFormReset() {
|
|
@@ -17297,7 +17297,7 @@ class DatePickerMonth {
|
|
|
17297
17297
|
if (day - 6 === startOfWeek) {
|
|
17298
17298
|
return days;
|
|
17299
17299
|
}
|
|
17300
|
-
for (let i = lastDate.getDay(); i >=
|
|
17300
|
+
for (let i = Math.abs(lastDate.getDay() - startOfWeek); i >= 0; i--) {
|
|
17301
17301
|
days.push(date - i);
|
|
17302
17302
|
}
|
|
17303
17303
|
return days;
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{c(r.next(t))}catch(t){a(t)}}function u(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.458
|
|
6
|
-
*/System.register(["./p-0037696c.system.js","./p-eca07dc9.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:f,b:c,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var i={};var a={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(c){switch(c.label){case 0:n=r(t);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,a[n]];case 1:u=c.sent();i[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var i=!(e instanceof Date)||r>=e.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function c(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var i=e instanceof Date&&r<e.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return e}if(a){return n}return t}function f(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var i=w(r);var a=m(t).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-38d225dd.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const n=`h${e.level}`;return delete e.level,t(n,Object.assign({},e),r)};export{r as H,e as c}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
import{q as n,c as e}from"./p-a9743145.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,o=new WeakMap,l=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&n(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const o=e(t,"calcite-label");return!o||function(n,e){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(e),a.indexOf(n))};return n.addEventListener(c,a,{once:!0}),e.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),n.removeEventListener(c,a),t.filter((t=>t!==e&&t!==n)).filter((n=>{var e;return null===(e=n.tagName)||void 0===e?void 0:e.includes("-")})).length>0}(o,t)?null:o})(t.el);if(a.has(c))return;const s=f.bind(t);c?((()=>{t.labelEl=c;const n=d.bind(t);a.set(t.labelEl,n),t.labelEl.addEventListener("calciteInternalLabelClick",n)})(),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",o.get(t)),l.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)):c||i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",l.get(t)))}function r(n){if(i.delete(n),document.removeEventListener("calciteInternalLabelConnected",o.get(n)),document.removeEventListener("calciteInternaLabelDisconnected",l.get(n)),!n.labelEl)return;const e=a.get(n.labelEl);n.labelEl.removeEventListener("calciteInternalLabelClick",e),a.delete(n.labelEl)}function u(n){var e,t;return n.label||(null===(t=null===(e=n.labelEl)||void 0===e?void 0:e.textContent)||void 0===t?void 0:t.trim())||""}function d(n){this.disabled||this.el.contains(n.detail.sourceEvent.target)||this.onLabelClick(n)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const n=b.bind(this);o.set(this,n),document.addEventListener("calciteInternalLabelConnected",n)}export{c as a,s as c,r as d,u as g,t as l}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-0037696c.system.js","./p-6984bdf5.system.js","./p-c0b586a7.system.js","./p-c6e6bca5.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.f;n=t.h},function(t){r=t.a},function(t){o=t.S},function(t){i=t.S}],execute:function(){t("t",p);var c=t("o",150);var a=2;var u=function(t){var e=t.height,n=t.actionHeight,r=t.groupCount;return Math.floor((e-r*a)/n)};var l=t("g",(function(t){var e=t.actionCount,n=t.actionHeight,r=t.height,o=t.groupCount;return Math.max(e-u({height:r,actionHeight:n,groupCount:o}),0)}));var f=t("q",(function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===o.trigger:true}))}));var s=t("a",(function(t){var n=t.actionGroups,r=t.expanded,o=t.overflowCount;var c=o;n.reverse().forEach((function(t){var n=0;var o=f(t).reverse();o.forEach((function(t){if(t.slot===i.menuActions){t.removeAttribute("slot");t.textEnabled=r}}));if(c>0){o.some((function(t){var e=o.filter((function(t){return!t.slot}));if(e.length>1&&o.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",i.menuActions);n++;if(n>1){c--}}return c<1}))}e(t)}))}));var v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function h(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function p(t){var e=t.parent,n=t.expanded;f(e).filter((function(t){return t.slot!==i.menuActions})).forEach((function(t){return t.textEnabled=n}));e.querySelectorAll("calcite-action-group").forEach((function(t){return t.expanded=n}))}var d=function(t){var e=t.tooltip,n=t.referenceElement,r=t.expanded,o=t.ref;if(e){e.referenceElement=!r&&n?n:null}if(o){o(n)}return n};var g=t("E",(function(t){var e=t.expanded,o=t.intlExpand,i=t.intlCollapse,c=t.toggle,a=t.el,u=t.position,l=t.tooltip,f=t.ref,s=t.scale;var p=r(a)==="rtl";var g=e?i:o;var m=[v.chevronsLeft,v.chevronsRight];if(p){m.reverse()}var x=h(u,a)==="end";var E=x?m[1]:m[0];var b=x?m[0]:m[1];var y=n("calcite-action",{icon:e?E:b,onClick:c,ref:function(t){return d({tooltip:l,referenceElement:t,expanded:e,ref:f})},scale:s,text:g,textEnabled:e});return y}))}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-6984bdf5.system.js","./p-0037696c.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.c},function(e){n=e.h}],execute:function(){e({a:d,c:c,d:l});var r="hidden-form-input";function a(e){return"checked"in e}var u=new WeakMap;var o=new WeakSet;function i(e,t){var n="calciteInternalFormComponentRegister";var r=false;e.addEventListener(n,(function(e){r=e.composedPath().some((function(e){return o.has(e)}));e.stopPropagation()}),{once:true});t.dispatchEvent(new CustomEvent(n,{bubbles:true,composed:true}));return r}function c(e){var n=e.el,r=e.value;var u=t(n,"form");if(!u||i(u,n)){return}e.formEl=u;e.defaultValue=r;if(a(e)){e.defaultChecked=e.checked}var c=(e.onFormReset||f).bind(e);u.addEventListener("reset",c);o.add(n)}function f(){if(a(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue}function l(e){var t=e.el,n=e.formEl;if(!n){return}var r=u.get(t);n.removeEventListener("reset",r);u.delete(t);e.formEl=null;o.delete(t)}function d(e,t){e.defaultValue=t}function s(e){var t=e.el,n=e.formEl,a=e.name,u=e.value;var o=t.ownerDocument;var i=t.querySelectorAll('input[slot="'.concat(r,'"]'));if(!n||!a){i.forEach((function(e){return e.remove()}));return}var c=Array.isArray(u)?u:[u];var f=[];var l=new Set;i.forEach((function(t){var n=c.find((function(e){return e==t.value}));if(n!=null){l.add(n);v(e,t,n)}else{f.push(t)}}));var d;c.forEach((function(t){if(l.has(t)){return}var n=f.pop();if(!n){n=o.createElement("input");n.slot=r}if(!d){d=o.createDocumentFragment()}d.append(n);v(e,n,t)}));if(d){t.append(d)}f.forEach((function(e){return e.remove()}))}function v(e,t,n){var r;var u=e.defaultValue,o=e.disabled,i=e.name,c=e.required;t.defaultValue=u;t.disabled=o;t.name=i;t.required=c;t.tabIndex=-1;if(a(e)){t.defaultChecked=e.defaultChecked;t.value=e.checked?n||"on":"";if(!o&&!e.checked){t.disabled=true}}else{t.value=n||""}(r=e.syncHiddenFormInput)===null||r===void 0?void 0:r.call(e,t)}var m=e("H",(function(e){var t=e.component;s(t);return n("slot",{name:r})}))}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
import{c as n}from"./p-a9743145.js";import{h as t}from"./p-38d225dd.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,u=n(o,"form");if(!u||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(u,o))return;t.formEl=u,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const c=(t.onFormReset||s).bind(t);u.addEventListener("reset",c),i.add(o)}function s(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function u(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function c(n,t){n.defaultValue=t}function l(n,t,o){var i;const{defaultValue:r,disabled:s,name:u,required:c}=n;t.defaultValue=r,t.disabled=s,t.name=u,t.required=c,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",s||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const a=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,s=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void s.forEach((n=>n.remove()));const u=Array.isArray(i)?i:[i],c=[],a=new Set;let f;s.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(a.add(e),l(n,t,e)):c.push(t)})),u.forEach((t=>{if(a.has(t))return;let e=c.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),l(n,e,t)})),f&&t.append(f),c.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{a as H,c as a,r as c,u as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-38d225dd.js";import{c as o}from"./p-96911f30.js";const n=new Set;let s;const c={childList:!0};function f(t){s||(s=o("mutation",r)),s.observe(t.el,c)}function i(t){n.delete(t.el),r(s.takeRecords()),s.disconnect();for(const[t]of n.entries())s.observe(t,c)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-6984bdf5.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.q;n=e.c}],execute:function(){e({c:f,d:m,g:b});var r="calciteInternalLabelClick";var a=e("l","calciteInternalLabelConnected");var i=e("a","calciteInternaLabelDisconnected");var l="calcite-label";var c=new WeakMap;var o=new WeakMap;var v=new WeakMap;var s=new Set;var u=function(e){var r=e.id;var a=r&&t(e,{selector:"".concat(l,'[for="').concat(r,'"]')});if(a){return a}var i=n(e,l);if(!i||d(i,e)){return null}return i};function d(e,t){var n;var r="custom-element-ancestor-check";var a=function(r){r.stopImmediatePropagation();var a=r.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};e.addEventListener(r,a,{once:true});t.dispatchEvent(new CustomEvent(r,{composed:true,bubbles:true}));e.removeEventListener(r,a);var i=n.filter((function(n){return n!==t&&n!==e})).filter((function(e){var t;return(t=e.tagName)===null||t===void 0?void 0:t.includes("-")}));return i.length>0}function f(e){var t=u(e.el);if(c.has(t)){return}var n=L.bind(e);if(t){var l=function(){e.labelEl=t;var n=E.bind(e);c.set(e.labelEl,n);e.labelEl.addEventListener(r,n)};l();s.delete(e);document.removeEventListener(a,o.get(e));v.set(e,n);document.addEventListener(i,n)}else if(!t&&!s.has(e)){n();document.removeEventListener(i,v.get(e))}}function m(e){s.delete(e);document.removeEventListener(a,o.get(e));document.removeEventListener(i,v.get(e));if(!e.labelEl){return}var t=c.get(e.labelEl);e.labelEl.removeEventListener(r,t);c.delete(e.labelEl)}function b(e){var t,n;return e.label||((n=(t=e.labelEl)===null||t===void 0?void 0:t.textContent)===null||n===void 0?void 0:n.trim())||""}function E(e){if(this.disabled){return}var t=this.el.contains(e.detail.sourceEvent.target);if(t){return}this.onLabelClick(e)}function h(){if(s.has(this)){f(this)}}function L(){s.add(this);var e=h.bind(this);o.set(this,e);document.addEventListener(a,e)}}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as a,g as n}from"./p-38d225dd.js";import{f as o,n as r,g as c,a as s,C as l,k as m}from"./p-a9743145.js";import{c as d,d as h}from"./p-be64b96d.js";import"./p-3147c503.js";import"./p-96911f30.js";var f;!function(t){t.Single="single",t.Multi="multi",t.Children="children",t.MultiChildren="multi-children",t.Ancestors="ancestors"}(f||(f={}));const p=class{constructor(i){t(this,i),this.calciteTreeSelect=e(this,"calciteTreeSelect",7),this.lines=!1,this.inputEnabled=!1,this.scale="m",this.selectionMode=f.Single}componentWillRender(){const t=this.el.parentElement.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}render(){return i(a,{"aria-multiselectable":this.child?void 0:(this.selectionMode===f.Multi||this.selectionMode===f.MultiChildren).toString(),role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const t=this.el.querySelector("calcite-tree-item[selected]")||this.el.querySelector("calcite-tree-item");o(t)}}onFocusIn(t){(t.relatedTarget===this.el||!this.el.contains(t.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(t){!this.el.contains(t.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onClick(t){const e=t.target,i=r(e.querySelectorAll("calcite-tree-item"));if(this.child)return;if(this.child||(t.preventDefault(),t.stopPropagation()),this.selectionMode===f.Ancestors&&!this.child)return void this.updateAncestorTree(t);const a=t.detail.modifyCurrentSelection&&(this.selectionMode===f.Multi||this.selectionMode===f.MultiChildren),n=this.selectionMode===f.MultiChildren||this.selectionMode===f.Children,o=!a&&((this.selectionMode===f.Single||this.selectionMode===f.Multi)&&i.length<=0||this.selectionMode===f.Children||this.selectionMode===f.MultiChildren),c=this.selectionMode===f.Children||this.selectionMode===f.MultiChildren;if(!this.child){const s=[];null!==this.selectionMode&&(!e.hasChildren||e.hasChildren&&(this.selectionMode===f.Children||this.selectionMode===f.MultiChildren))&&s.push(e),n&&i.forEach((t=>{s.push(t)})),o&&r(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((t=>{s.includes(t)||(t.selected=!1)})),c&&!t.detail.forceToggle&&(e.expanded=!0),a&&window.getSelection().removeAllRanges(),s.forEach(a&&e.selected||n&&t.detail.forceToggle?t=>{t.selected=!1}:t=>{t.selected=!0})}this.calciteTreeSelect.emit({selected:r(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected))})}keyDownHandler(t){var e;const i=this.el.closest("calcite-tree:not([child])"),a=t.target;if(i===this.el&&"CALCITE-TREE-ITEM"===a.tagName&&this.el.contains(a))switch(t.key){case"ArrowDown":const i=a.nextElementSibling;i&&i.matches("calcite-tree-item")&&(i.focus(),t.preventDefault());break;case"ArrowLeft":if(a.hasChildren&&a.expanded){a.expanded=!1,t.preventDefault();break}const n=a.parentElement.closest("calcite-tree-item");if(n&&(!a.hasChildren||!1===a.expanded)){n.focus(),t.preventDefault();break}break;case"ArrowRight":if(!a.hasChildren)break;a.expanded&&document.activeElement===a?(null===(e=a.querySelector("calcite-tree-item"))||void 0===e||e.focus(),t.preventDefault()):(a.expanded=!0,t.preventDefault());break;case"ArrowUp":const o=a.previousElementSibling;o&&o.matches("calcite-tree-item")&&(o.focus(),t.preventDefault())}}updateAncestorTree(t){const e=t.target,i=e.querySelectorAll("calcite-tree-item"),a=[];let n=e.parentElement.closest("calcite-tree-item");for(;n;)a.push(n),n=n.parentElement.closest("calcite-tree-item");e.selected=!e.selected,e.indeterminate=!1,(null==i?void 0:i.length)&&i.forEach((t=>{t.selected=e.selected,t.indeterminate=!1})),a&&a.forEach((t=>{const e=r(t.querySelectorAll("calcite-tree-item")),i=e.filter((t=>t.selected));if(0===i.length)return t.selected=!1,void(t.indeterminate=!1);const a=i.length<e.length;t.indeterminate=a,t.selected=!a})),this.calciteTreeSelect.emit({selected:r(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected))})}getRootTabIndex(){return this.child?-1:0}get el(){return n(this)}};p.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;outline:2px solid transparent;outline-offset:2px}";const k=class{constructor(i){t(this,i),this.calciteTreeItemSelect=e(this,"calciteTreeItemSelect",7),this.selected=!1,this.expanded=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.iconClickHandler=t=>{t.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=t=>t.stopPropagation(),this.updateParentIsExpanded=(t,e)=>{c(t,"children",{all:!0,selector:"calcite-tree-item"}).forEach((t=>t.parentExpanded=e))},this.updateAncestorTree=()=>{if(this.selected&&this.selectionMode===f.Ancestors){const t=[];let e=this.parentTreeItem;for(;e;)t.push(e),e=e.parentElement.closest("calcite-tree-item");t.forEach((t=>t.indeterminate=!0))}}}expandedHandler(t){this.updateParentIsExpanded(this.el,t)}getselectionMode(){this.isSelectionMultiLike=this.selectionMode===f.Multi||this.selectionMode===f.MultiChildren}connectedCallback(){if(this.parentTreeItem=this.el.parentElement.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:t}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,t)}d(this)}disconnectedCallback(){h(this)}componentWillRender(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let t,e=this.el.closest("calcite-tree");if(e)for(this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;e&&(t=e.parentElement.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}componentDidLoad(){this.updateAncestorTree()}render(){const t="rtl"===s(this.el),e=this.selectionMode===f.Single||this.selectionMode===f.Children,n=this.selectionMode===f.Multi||this.selectionMode===f.MultiChildren,o=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[l.rtl]:t},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"s"}):null,r=i("slot",{key:"default-slot"}),c=this.selectionMode===f.Ancestors?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),r):null,m=e?"bullet-point":n?"check":null,d=m?i("calcite-icon",{class:{"bullet-point":"bullet-point"===m,checkmark:"check"===m,[l.rtl]:t},icon:m,scale:"s"}):null,h=!(this.parentExpanded||1===this.depth);return i(a,{"aria-expanded":this.hasChildren?this.expanded.toString():void 0,"aria-hidden":h.toString(),"aria-selected":this.selected?"true":n?"false":void 0,"calcite-hydrated-hidden":h,role:"treeitem",tabindex:this.parentExpanded||1===this.depth?"0":"-1"},i("div",{class:{"node-container":!0,[l.rtl]:t},"data-selection-mode":this.selectionMode,ref:t=>this.defaultSlotWrapper=t},o,d,c||r),i("div",{class:{"children-container":!0,[l.rtl]:t},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,ref:t=>this.childrenSlotWrapper=t,role:this.hasChildren?"group":void 0},i("slot",{name:"children"})))}onClick(t){const[e]=m(this.el,"a");e&&"a"!==t.composedPath()[0].tagName.toLowerCase()&&window.open(e.href,""===e.target?"_self":e.target),this.calciteTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode===f.Ancestors||this.isSelectionMultiLike,forceToggle:!1})}keyDownHandler(t){let e;switch(t.key){case" ":this.calciteTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),t.preventDefault();break;case"Enter":const i=r(this.el.children).find((t=>t.matches("a")));i?(i.click(),this.selected=!0):this.calciteTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),t.preventDefault();break;case"Home":e=this.el.closest("calcite-tree:not([child])"),e.querySelector("calcite-tree-item").focus();break;case"End":e=this.el.closest("calcite-tree:not([child])");let a=e.children[e.children.length-1],n=r(a.children).find((t=>t.matches("calcite-tree")));for(;n;)a=n.children[e.children.length-1],n=r(a.children).find((t=>t.matches("calcite-tree")));a.focus()}}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],selectionMode:["getselectionMode"]}}};k.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;max-width:100%;cursor:pointer;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-container{--calcite-tree-padding-y:0.25rem}:host([scale=s]) .node-container .checkbox,:host([scale=s]) .node-container .chevron,:host([scale=s]) .node-container .checkmark,:host([scale=s]) .node-container .bullet-point{margin-inline:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-container{--calcite-tree-padding-y:0.5rem}:host([scale=m]) .node-container .checkbox,:host([scale=m]) .node-container .chevron,:host([scale=m]) .node-container .checkmark,:host([scale=m]) .node-container .bullet-point{margin-inline:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-container{--calcite-tree-padding-y:0.75rem}:host([scale=l]) .node-container .checkbox,:host([scale=l]) .node-container .chevron,:host([scale=l]) .node-container .checkmark,:host([scale=l]) .node-container .bullet-point{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;top:0px;width:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;height:96%;content:"";background-color:var(--calcite-ui-border-2);z-index:-1}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-width:0px;max-width:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){width:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.checkbox{outline:2px solid transparent;outline-offset:2px;line-height:0}.checkbox-label{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.children-container{position:relative;height:0px;overflow:hidden;-webkit-margin-start:1.25rem;margin-inline-start:1.25rem;-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;-webkit-transform-origin:top;transform-origin:top}:host([expanded])>.children-container{-webkit-transform:scaleY(1);transform:scaleY(1);opacity:1;height:auto}.node-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--calcite-tree-padding-y) 0}.node-container .checkmark,.node-container .bullet-point{opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus) .node-container .checkmark,:host(:focus) .node-container .bullet-point{opacity:1}:host([selected])>.node-container,:host([selected])>.node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected])>.node-container .bullet-point,:host([selected])>.node-container .checkmark,:host([selected])>.node-container:hover .bullet-point,:host([selected])>.node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host(:not([has-children])):host([scale=s])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}:host([has-children])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-margin-start:0;margin-inline-start:0}:host([has-children])>.node-container .bullet-point,:host([has-children])>.node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]))>.node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected])>.node-container[data-selection-mode=children],:host([has-children][selected])>.node-container[data-selection-mode=multi-children]{color:var(--calcite-ui-brand)}.chevron{position:relative;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.calcite--rtl .chevron{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host([expanded])>.node-container>.chevron{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}';export{p as calcite_tree,k as calcite_tree_item}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,F as a,g as n}from"./p-38d225dd.js";import{C as s,I as o,S as l}from"./p-8c4bf166.js";import{g as r,f as c}from"./p-a9743145.js";import{g as m}from"./p-1982d900.js";import{g as h}from"./p-3147c503.js";import{c as p}from"./p-96911f30.js";import{c as u,d}from"./p-be64b96d.js";const f=["ArrowUp","ArrowDown"],b=["ArrowUp","ArrowDown","End","Home"],x=class{constructor(e){t(this,e),this.calciteActionMenuOpenChange=i(this,"calciteActionMenuOpenChange",7),this.expanded=!1,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.actionElements=[],this.mutationObserver=p("mutation",(()=>this.getActions())),this.guid=`calcite-action-menu-${h()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.activeMenuItemIndex=-1,this.connectMenuButtonEl=()=>{const{el:t,menuButtonId:i,menuId:e,open:a,label:n}=this,s=r(t,l.trigger)||this.defaultMenuButtonEl;this.menuButtonEl!==s&&(this.disconnectMenuButtonEl(),this.menuButtonEl=s,this.setTooltipReferenceElement(),s&&(s.active=a,s.setAttribute("aria-controls",e),s.setAttribute("aria-expanded",a.toString()),s.setAttribute("aria-haspopup","true"),s.id||(s.id=i),s.label||(s.label=n),s.text||(s.text=n),s.addEventListener("click",this.menuButtonClick),s.addEventListener("keydown",this.menuButtonKeyDown),s.addEventListener("keyup",this.menuButtonKeyUp)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("click",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown),t.removeEventListener("keyup",this.menuButtonKeyUp))},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e}=this;t&&(t.referenceElement=i?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:a}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===a},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.getActions=()=>{const{el:t}=this,i=r(t,{all:!0,matches:"calcite-action"});this.updateActions(i),this.actionElements=i,this.connectMenuButtonEl()},this.menuButtonKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;this.isValidKey(i,f)&&(t.preventDefault(),e.length&&(this.toggleOpen(!0),this.handleActionNavigation(i,e)))},this.menuButtonKeyDown=t=>{const{key:i}=t;this.isValidKey(i,f)&&t.preventDefault()},this.menuActionsContainerKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:a}=this;if("Tab"!==i)if(" "!==i&&"Enter"!==i)this.isValidKey(i,b)&&t.preventDefault();else{t.preventDefault();const i=e[a];i?i.click():this.toggleOpen(!1)}else this.open=!1},this.menuActionsContainerKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;"Escape"!==i?this.isValidKey(i,b)&&(t.preventDefault(),e.length&&this.handleActionNavigation(i,e)):this.toggleOpen(!1)},this.handleActionNavigation=(t,i)=>{const e=this.activeMenuItemIndex;"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1),"ArrowUp"===t&&(this.activeMenuItemIndex=m(Math.max(e-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=m(e+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t}}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.getActions(),u(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.disconnectMenuButtonEl(),d(this)}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpenChange.emit(t)}closeCalciteActionMenuOnClick(t){t.composedPath().includes(this.el)||(this.open=!1)}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){c(this.open?this.menuEl:this.menuButtonEl)}renderMenuButton(){const{label:t,scale:i}=this;return e("slot",{name:l.trigger},e("calcite-action",{class:s.defaultTrigger,icon:o.menu,ref:this.setDefaultMenuButtonEl,scale:i,text:t}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:a,menuId:n,menuButtonEl:o,label:l,placement:r,overlayPositioning:c,flipPlacements:m}=this,h=t[i];return e("calcite-popover",{disablePointer:!0,flipPlacements:m,label:l,offsetDistance:0,open:a,overlayPositioning:c,placement:r,referenceElement:o},e("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==o?void 0:o.id,class:s.menu,id:n,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:t=>this.menuEl=t,role:"menu",tabIndex:-1},e("slot",null)))}render(){return e(a,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:l.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};x.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{x as calcite_action_menu}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
import{c as closestElementCrossShadowBoundary}from"./dom-94d25839.js";import{h}from"./index-87f22d23.js";var hiddenFormInputSlotName="hidden-form-input";function isCheckable(e){return"checked"in e}var onFormResetMap=new WeakMap;var formComponentSet=new WeakSet;function hasRegisteredFormComponentParent(e,n){var t="calciteInternalFormComponentRegister";var r=false;e.addEventListener(t,(function(e){r=e.composedPath().some((function(e){return formComponentSet.has(e)}));e.stopPropagation()}),{once:true});n.dispatchEvent(new CustomEvent(t,{bubbles:true,composed:true}));return r}function connectForm(e){var n=e.el,t=e.value;var r=closestElementCrossShadowBoundary(n,"form");if(!r||hasRegisteredFormComponentParent(r,n)){return}e.formEl=r;e.defaultValue=t;if(isCheckable(e)){e.defaultChecked=e.checked}var o=(e.onFormReset||onFormReset).bind(e);r.addEventListener("reset",o);formComponentSet.add(n)}function onFormReset(){if(isCheckable(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue}function disconnectForm(e){var n=e.el,t=e.formEl;if(!t){return}var r=onFormResetMap.get(n);t.removeEventListener("reset",r);onFormResetMap.delete(n);e.formEl=null;formComponentSet.delete(n)}function afterConnectDefaultValueSet(e,n){e.defaultValue=n}function syncHiddenFormInput(e){var n=e.el,t=e.formEl,r=e.name,o=e.value;var a=n.ownerDocument;var d=n.querySelectorAll('input[slot="'.concat(hiddenFormInputSlotName,'"]'));if(!t||!r){d.forEach((function(e){return e.remove()}));return}var u=Array.isArray(o)?o:[o];var i=[];var l=new Set;d.forEach((function(n){var t=u.find((function(e){return e==n.value}));if(t!=null){l.add(t);defaultSyncHiddenFormInput(e,n,t)}else{i.push(n)}}));var c;u.forEach((function(n){if(l.has(n)){return}var t=i.pop();if(!t){t=a.createElement("input");t.slot=hiddenFormInputSlotName}if(!c){c=a.createDocumentFragment()}c.append(t);defaultSyncHiddenFormInput(e,t,n)}));if(c){n.append(c)}i.forEach((function(e){return e.remove()}))}function defaultSyncHiddenFormInput(e,n,t){var r;var o=e.defaultValue,a=e.disabled,d=e.name,u=e.required;n.defaultValue=o;n.disabled=a;n.name=d;n.required=u;n.tabIndex=-1;if(isCheckable(e)){n.defaultChecked=e.defaultChecked;n.value=e.checked?t||"on":"";if(!a&&!e.checked){n.disabled=true}}else{n.value=t||""}(r=e.syncHiddenFormInput)===null||r===void 0?void 0:r.call(e,n)}var HiddenFormInputSlot=function(e){var n=e.component;syncHiddenFormInput(n);return h("slot",{name:hiddenFormInputSlotName})};export{HiddenFormInputSlot as H,afterConnectDefaultValueSet as a,connectForm as c,disconnectForm as d};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.458
|
|
5
|
-
*/
|
|
6
|
-
import{q as queryElementRoots,c as closestElementCrossShadowBoundary}from"./dom-94d25839.js";var labelClickEvent="calciteInternalLabelClick";var labelConnectedEvent="calciteInternalLabelConnected";var labelDisconnectedEvent="calciteInternaLabelDisconnected";var labelTagName="calcite-label";var onLabelClickMap=new WeakMap;var onLabelConnectedMap=new WeakMap;var onLabelDisconnectedMap=new WeakMap;var unlabeledComponents=new Set;var findLabelForComponent=function(e){var n=e.id;var t=n&&queryElementRoots(e,{selector:"".concat(labelTagName,'[for="').concat(n,'"]')});if(t){return t}var a=closestElementCrossShadowBoundary(e,labelTagName);if(!a||hasAncestorCustomElements(a,e)){return null}return a};function hasAncestorCustomElements(e,n){var t;var a="custom-element-ancestor-check";var l=function(a){a.stopImmediatePropagation();var l=a.composedPath();t=l.slice(l.indexOf(n),l.indexOf(e))};e.addEventListener(a,l,{once:true});n.dispatchEvent(new CustomEvent(a,{composed:true,bubbles:true}));e.removeEventListener(a,l);var o=t.filter((function(t){return t!==n&&t!==e})).filter((function(e){var n;return(n=e.tagName)===null||n===void 0?void 0:n.includes("-")}));return o.length>0}function connectLabel(e){var n=findLabelForComponent(e.el);if(onLabelClickMap.has(n)){return}var t=onLabelDisconnected.bind(e);if(n){var a=function(){e.labelEl=n;var t=onLabelClick.bind(e);onLabelClickMap.set(e.labelEl,t);e.labelEl.addEventListener(labelClickEvent,t)};a();unlabeledComponents.delete(e);document.removeEventListener(labelConnectedEvent,onLabelConnectedMap.get(e));onLabelDisconnectedMap.set(e,t);document.addEventListener(labelDisconnectedEvent,t)}else if(!n&&!unlabeledComponents.has(e)){t();document.removeEventListener(labelDisconnectedEvent,onLabelDisconnectedMap.get(e))}}function disconnectLabel(e){unlabeledComponents.delete(e);document.removeEventListener(labelConnectedEvent,onLabelConnectedMap.get(e));document.removeEventListener(labelDisconnectedEvent,onLabelDisconnectedMap.get(e));if(!e.labelEl){return}var n=onLabelClickMap.get(e.labelEl);e.labelEl.removeEventListener(labelClickEvent,n);onLabelClickMap.delete(e.labelEl)}function getLabelText(e){var n,t;return e.label||((t=(n=e.labelEl)===null||n===void 0?void 0:n.textContent)===null||t===void 0?void 0:t.trim())||""}function onLabelClick(e){if(this.disabled){return}var n=this.el.contains(e.detail.sourceEvent.target);if(n){return}this.onLabelClick(e)}function onLabelConnected(){if(unlabeledComponents.has(this)){connectLabel(this)}}function onLabelDisconnected(){unlabeledComponents.add(this);var e=onLabelConnected.bind(this);onLabelConnectedMap.set(this,e);document.addEventListener(labelConnectedEvent,e)}export{labelDisconnectedEvent as a,connectLabel as c,disconnectLabel as d,getLabelText as g,labelConnectedEvent as l};
|