@esri/calcite-components 1.0.0-next.526 → 1.0.0-next.527
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-7a8d28de.system.entry.js → p-0000b1fb.system.entry.js} +2 -2
- package/dist/calcite/{p-95e45377.system.entry.js → p-0335cb48.system.entry.js} +2 -2
- package/dist/calcite/{p-88fc77b3.system.entry.js → p-07d1e877.system.entry.js} +2 -2
- package/dist/calcite/{p-9dfc7cb4.entry.js → p-086f7621.entry.js} +2 -2
- package/dist/calcite/{p-df900387.system.entry.js → p-09dffacc.system.entry.js} +2 -2
- package/dist/calcite/{p-2e15006e.system.entry.js → p-0a02900a.system.entry.js} +2 -2
- package/dist/calcite/{p-f9b0a3ad.js → p-0b28a8cb.js} +2 -2
- package/dist/calcite/{p-18d9c7ba.system.js → p-0ce74632.system.js} +1 -1
- package/dist/calcite/{p-223b3651.entry.js → p-0d2723a0.entry.js} +2 -2
- package/dist/calcite/{p-9847037e.js → p-109cf8aa.js} +1 -1
- package/dist/calcite/{p-eb497eea.system.js → p-10cd15d2.system.js} +1 -1
- package/dist/calcite/{p-0dc31465.entry.js → p-110d776d.entry.js} +2 -2
- package/dist/calcite/{p-48d65c35.entry.js → p-12c57d6f.entry.js} +2 -2
- package/dist/calcite/{p-f890e594.system.js → p-13dc0b05.system.js} +2 -2
- package/dist/calcite/{p-41597f70.entry.js → p-141789d2.entry.js} +2 -2
- package/dist/calcite/{p-8b77efe4.system.entry.js → p-1456f5e3.system.entry.js} +3 -3
- package/dist/calcite/{p-e3956843.entry.js → p-1493f2cc.entry.js} +2 -2
- package/dist/calcite/{p-3d516fe1.system.entry.js → p-1abf6ae3.system.entry.js} +2 -2
- package/dist/calcite/{p-cc6f5b33.system.entry.js → p-1be7a573.system.entry.js} +3 -3
- package/dist/calcite/p-1bf520ff.js +6 -0
- package/dist/calcite/p-1cb505a1.system.js +6 -0
- package/dist/calcite/{p-2e6f5adb.system.entry.js → p-1d50dab6.system.entry.js} +2 -2
- package/dist/calcite/{p-c80b52a2.system.js → p-1d851a8c.system.js} +1 -1
- package/dist/calcite/{p-ddb47bc2.system.entry.js → p-1f0bc04b.system.entry.js} +2 -2
- package/dist/calcite/{p-dad7749f.system.entry.js → p-1f2f816d.system.entry.js} +2 -2
- package/dist/calcite/{p-93034e45.entry.js → p-2227a5ff.entry.js} +2 -2
- package/dist/calcite/{p-901c30c8.entry.js → p-2284ad7b.entry.js} +2 -2
- package/dist/calcite/{p-79a14a65.entry.js → p-25de35f8.entry.js} +2 -2
- package/dist/calcite/p-271d0522.entry.js +6 -0
- package/dist/calcite/{p-9ccf4ed0.js → p-28c21ccb.js} +2 -2
- package/dist/calcite/{p-2fe520b3.js → p-29aa48fe.js} +1 -1
- package/dist/calcite/{p-decc6ee0.system.entry.js → p-2b2f9001.system.entry.js} +3 -3
- package/dist/calcite/{p-817211c8.system.entry.js → p-2e583f8c.system.entry.js} +2 -2
- package/dist/calcite/{p-0f17c882.system.js → p-2fd8d946.system.js} +2 -2
- package/dist/calcite/{p-5f01ad6d.system.entry.js → p-31ddbc30.system.entry.js} +2 -2
- package/dist/calcite/{p-f88438f1.system.entry.js → p-3249cbf3.system.entry.js} +2 -2
- package/dist/calcite/{p-4752a1b0.system.js → p-32c8b37e.system.js} +2 -2
- package/dist/calcite/{p-0b14744a.system.entry.js → p-33d7c05a.system.entry.js} +2 -2
- package/dist/calcite/{p-7937dbb8.system.entry.js → p-3a935dda.system.entry.js} +2 -2
- package/dist/calcite/{p-749502bb.js → p-3beaba73.js} +2 -2
- package/dist/calcite/{p-5a81c869.system.entry.js → p-3cbb5454.system.entry.js} +2 -2
- package/dist/calcite/{p-c9192eb6.system.entry.js → p-3e1e1d06.system.entry.js} +2 -2
- package/dist/calcite/{p-1199b603.entry.js → p-3e50cfed.entry.js} +2 -2
- package/dist/calcite/{p-82db6d9e.entry.js → p-40270039.entry.js} +2 -2
- package/dist/calcite/{p-b000d807.system.entry.js → p-40ca3077.system.entry.js} +2 -2
- package/dist/calcite/{p-2f8ce2e6.entry.js → p-412cebe0.entry.js} +2 -2
- package/dist/calcite/{p-85979b0a.entry.js → p-41561717.entry.js} +2 -2
- package/dist/calcite/{p-f044f1d9.entry.js → p-4264017e.entry.js} +2 -2
- package/dist/calcite/{p-ebc08c74.system.entry.js → p-4395d3d1.system.entry.js} +2 -2
- package/dist/calcite/{p-2034562f.system.entry.js → p-474b7fc7.system.entry.js} +2 -2
- package/dist/calcite/{p-06aa0b3e.entry.js → p-4b579b50.entry.js} +2 -2
- package/dist/calcite/{p-81c2d895.js → p-4c5ef622.js} +1 -1
- package/dist/calcite/{p-684eefca.entry.js → p-4e03e694.entry.js} +2 -2
- package/dist/calcite/{p-423e498d.entry.js → p-4f01f56b.entry.js} +2 -2
- package/dist/calcite/{p-30c68bc9.entry.js → p-4f525c18.entry.js} +2 -2
- package/dist/calcite/{p-9154da5e.entry.js → p-4ffb23b6.entry.js} +2 -2
- package/dist/calcite/{p-9e15d186.system.js → p-50a80d83.system.js} +2 -2
- package/dist/calcite/{p-3d3300b2.system.entry.js → p-52d20823.system.entry.js} +2 -2
- package/dist/calcite/{p-2fd6fbef.entry.js → p-561be616.entry.js} +2 -2
- package/dist/calcite/{p-cb95a31d.entry.js → p-56eca217.entry.js} +2 -2
- package/dist/calcite/p-57bca17f.js +6 -0
- package/dist/calcite/{p-c23c3d55.system.entry.js → p-5a0b3fba.system.entry.js} +3 -3
- package/dist/calcite/{p-c76ce817.entry.js → p-5aa0bb7a.entry.js} +2 -2
- package/dist/calcite/{p-7fb66a2a.system.js → p-5ae77eb8.system.js} +1 -1
- package/dist/calcite/{p-03dc5f0d.system.entry.js → p-5db4c7eb.system.entry.js} +2 -2
- package/dist/calcite/{p-b57a0b90.system.entry.js → p-617567c9.system.entry.js} +2 -2
- package/dist/calcite/{p-1a9135ac.system.entry.js → p-6199f9a1.system.entry.js} +2 -2
- package/dist/calcite/{p-ef0ccae2.entry.js → p-61a46fd1.entry.js} +2 -2
- package/dist/calcite/{p-c1b07049.system.js → p-627dd249.system.js} +1 -1
- package/dist/calcite/{p-614efe1c.system.entry.js → p-68e3f18f.system.entry.js} +2 -2
- package/dist/calcite/{p-8e873b10.js → p-696613e2.js} +1 -1
- package/dist/calcite/{p-26b64490.system.entry.js → p-69ba0372.system.entry.js} +2 -2
- package/dist/calcite/{p-9341c28b.entry.js → p-6a5bf6d8.entry.js} +2 -2
- package/dist/calcite/{p-e1c001eb.system.entry.js → p-6e499c18.system.entry.js} +2 -2
- package/dist/calcite/p-6e67516e.entry.js +6 -0
- package/dist/calcite/{p-56360fc0.system.js → p-74cc8251.system.js} +1 -1
- package/dist/calcite/{p-31cc806d.entry.js → p-76f39d6d.entry.js} +2 -2
- package/dist/calcite/{p-c2d97a7d.js → p-7884c587.js} +2 -2
- package/dist/calcite/{p-e68b5bca.entry.js → p-798609b8.entry.js} +2 -2
- package/dist/calcite/{p-8ca747ff.system.entry.js → p-7b4db37b.system.entry.js} +2 -2
- package/dist/calcite/{p-e74ab87f.system.entry.js → p-7b8bc34f.system.entry.js} +2 -2
- package/dist/calcite/{p-32251433.entry.js → p-7c9f19b6.entry.js} +2 -2
- package/dist/calcite/p-7feece1f.system.js +6 -0
- package/dist/calcite/{p-eb12bb34.system.entry.js → p-86219b49.system.entry.js} +2 -2
- package/dist/calcite/{p-7aa36e87.system.js → p-8b5218df.system.js} +1 -1
- package/dist/calcite/{p-31c433f9.system.entry.js → p-8b86c9b9.system.entry.js} +2 -2
- package/dist/calcite/{p-07e3fdce.js → p-8d7e0710.js} +2 -2
- package/dist/calcite/{p-dbf7db0a.system.entry.js → p-8d87d9c2.system.entry.js} +2 -2
- package/dist/calcite/{p-b00f2097.system.entry.js → p-8f246815.system.entry.js} +2 -2
- package/dist/calcite/{p-1ad1ac19.entry.js → p-8f7c3cfe.entry.js} +2 -2
- package/dist/calcite/{p-d7576ccb.system.entry.js → p-927876ce.system.entry.js} +2 -2
- package/dist/calcite/p-9280d637.system.entry.js +6 -0
- package/dist/calcite/{p-47e792ae.system.entry.js → p-94ab8662.system.entry.js} +2 -2
- package/dist/calcite/{p-69bc73bd.entry.js → p-94ff783f.entry.js} +2 -2
- package/dist/calcite/{p-c1bfeb36.entry.js → p-950e0e93.entry.js} +2 -2
- package/dist/calcite/{p-34698eb2.system.entry.js → p-9644ae2d.system.entry.js} +2 -2
- package/dist/calcite/{p-d40546e1.system.js → p-968a0291.system.js} +1 -1
- package/dist/calcite/{p-08ad35f4.entry.js → p-96b18931.entry.js} +2 -2
- package/dist/calcite/{p-0327ca6c.entry.js → p-96fa2fa9.entry.js} +2 -2
- package/dist/calcite/{p-ff46f161.js → p-9ec55b93.js} +1 -1
- package/dist/calcite/{p-8eef0062.entry.js → p-a016a439.entry.js} +2 -2
- package/dist/calcite/{p-a3a72920.system.entry.js → p-a22071ba.system.entry.js} +2 -2
- package/dist/calcite/{p-e84608d9.system.entry.js → p-a2ac46e5.system.entry.js} +2 -2
- package/dist/calcite/p-a3aa933e.system.js +6 -0
- package/dist/calcite/{p-078bb92c.system.js → p-a43c4e5c.system.js} +2 -2
- package/dist/calcite/{p-ca5a45bc.system.js → p-a5b8138f.system.js} +1 -1
- package/dist/calcite/{p-ae185f62.entry.js → p-a5dd3c64.entry.js} +2 -2
- package/dist/calcite/{p-87fdb93b.entry.js → p-a6fc75f0.entry.js} +2 -2
- package/dist/calcite/{p-9fc5b1e1.system.js → p-a76afde9.system.js} +1 -1
- package/dist/calcite/{p-8e324f38.js → p-ac60d687.js} +1 -1
- package/dist/calcite/{p-57d694f8.entry.js → p-ad7c82f2.entry.js} +2 -2
- package/dist/calcite/{p-acfb673b.js → p-ae0fadcd.js} +1 -1
- package/dist/calcite/{p-2cf06e5e.system.js → p-aedb60f4.system.js} +1 -1
- package/dist/calcite/{p-3811cc2b.entry.js → p-af39928b.entry.js} +2 -2
- package/dist/calcite/{p-fd9dea29.system.entry.js → p-b66e55c1.system.entry.js} +2 -2
- package/dist/calcite/{p-7d4ac280.js → p-b8ec1ee3.js} +2 -2
- package/dist/calcite/{p-be59287e.entry.js → p-bafad71c.entry.js} +2 -2
- package/dist/calcite/{p-9ca6cdf6.entry.js → p-bb397f2b.entry.js} +2 -2
- package/dist/calcite/{p-2bed0710.system.entry.js → p-bcc69065.system.entry.js} +2 -2
- package/dist/calcite/{p-2759af0f.js → p-bd04c4c2.js} +2 -2
- package/dist/calcite/{p-972ef358.entry.js → p-bf9a2229.entry.js} +2 -2
- package/dist/calcite/{p-8ac9ae5e.system.js → p-c60542ac.system.js} +1 -1
- package/dist/calcite/p-c6e4f69d.system.js +6 -0
- package/dist/calcite/p-c77d363d.system.js +6 -0
- package/dist/calcite/{p-30c72a00.entry.js → p-c8b832d4.entry.js} +2 -2
- package/dist/calcite/{p-50a5fcce.entry.js → p-c969c0dd.entry.js} +2 -2
- package/dist/calcite/{p-dc32fdae.entry.js → p-ca13dcc3.entry.js} +2 -2
- package/dist/calcite/{p-3f335d5b.entry.js → p-cbc170b4.entry.js} +2 -2
- package/dist/calcite/{p-795b7504.system.js → p-ce03edf2.system.js} +2 -2
- package/dist/calcite/{p-9a570509.system.entry.js → p-ce92db86.system.entry.js} +2 -2
- package/dist/calcite/{p-b2d9d2ac.system.entry.js → p-cec9e2d8.system.entry.js} +2 -2
- package/dist/calcite/{p-d04555be.system.entry.js → p-cf9b6a4e.system.entry.js} +2 -2
- package/dist/calcite/{p-10655074.entry.js → p-d3fc614c.entry.js} +2 -2
- package/dist/calcite/{p-71b20e15.system.entry.js → p-d53ef75f.system.entry.js} +2 -2
- package/dist/calcite/{p-3c77e470.system.entry.js → p-d5c98b10.system.entry.js} +2 -2
- package/dist/calcite/{p-ae1770fe.js → p-d5d9b16a.js} +2 -2
- package/dist/calcite/{p-badf92df.entry.js → p-d72cc2f5.entry.js} +2 -2
- package/dist/calcite/{p-7eff71d7.system.js → p-d83f5a90.system.js} +1 -1
- package/dist/calcite/{p-76baee80.js → p-d9a2af68.js} +1 -1
- package/dist/calcite/{p-ac7278a8.entry.js → p-dd5dd011.entry.js} +2 -2
- package/dist/calcite/{p-368b2477.entry.js → p-dd861519.entry.js} +2 -2
- package/dist/calcite/p-de0ca7ef.js +6 -0
- package/dist/calcite/{p-67a107ec.entry.js → p-df8388eb.entry.js} +2 -2
- package/dist/calcite/p-dfbd9678.entry.js +6 -0
- package/dist/calcite/{p-f6d381a5.system.js → p-dffc7781.system.js} +2 -2
- package/dist/calcite/{p-7fabce90.js → p-e0b5af2f.js} +1 -1
- package/dist/calcite/{p-d6f48163.system.entry.js → p-e13207b3.system.entry.js} +2 -2
- package/dist/calcite/{p-4a7a715f.entry.js → p-e1a9a0a6.entry.js} +2 -2
- package/dist/calcite/{p-0399a558.js → p-e2551700.js} +1 -1
- package/dist/calcite/{p-371af101.system.entry.js → p-e2e42d1c.system.entry.js} +2 -2
- package/dist/calcite/{p-2707e45e.system.entry.js → p-e30116a3.system.entry.js} +2 -2
- package/dist/calcite/{p-92dc0870.js → p-e3c5162b.js} +1 -1
- package/dist/calcite/{p-a195d863.js → p-e48baff4.js} +1 -1
- package/dist/calcite/{p-b8d0fe99.system.entry.js → p-e785ad22.system.entry.js} +2 -2
- package/dist/calcite/{p-cca83eab.system.entry.js → p-ea448cea.system.entry.js} +2 -2
- package/dist/calcite/{p-b77dfa07.system.entry.js → p-eab272ad.system.entry.js} +2 -2
- package/dist/calcite/{p-dbe816ed.js → p-eaf81da6.js} +1 -1
- package/dist/calcite/p-ec5b1e4c.entry.js +6 -0
- package/dist/calcite/{p-2d9f618c.system.entry.js → p-f18bccce.system.entry.js} +2 -2
- package/dist/calcite/{p-a390c95b.entry.js → p-f25fac94.entry.js} +2 -2
- package/dist/calcite/{p-132926ab.system.js → p-f316a9cb.system.js} +1 -1
- package/dist/calcite/{p-54f421a4.system.entry.js → p-f4d4eea3.system.entry.js} +2 -2
- package/dist/calcite/{p-2750dd50.entry.js → p-f5bfe785.entry.js} +2 -2
- package/dist/calcite/{p-2614c642.system.entry.js → p-f5e6c994.system.entry.js} +2 -2
- package/dist/calcite/{p-f75b6b59.entry.js → p-f719b048.entry.js} +2 -2
- package/dist/calcite/{p-376f9e5c.entry.js → p-fdede1dc.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-b508cb3e.js → ExpandToggle-175d2a88.js} +5 -5
- package/dist/cjs/{Heading-106d8e60.js → Heading-07f6e507.js} +2 -2
- package/dist/cjs/{array-df0f3516.js → array-5f6f2f8d.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 +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +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 +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +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 +87 -22
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-e320cfcf.js → conditionalSlot-545adbed.js} +3 -3
- package/dist/cjs/{debounce-cc350849.js → debounce-f6dfd147.js} +1 -1
- package/dist/cjs/{dom-0e7d9c7d.js → dom-df252740.js} +2 -2
- package/dist/cjs/{forIn-59050a09.js → forIn-30e36ce8.js} +2 -2
- package/dist/cjs/{form-b15430cb.js → form-f99eabe2.js} +3 -3
- package/dist/cjs/{guid-2113cf74.js → guid-65bced2c.js} +1 -1
- package/dist/cjs/{index-13c90b70.js → index-3658e369.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-afb83e90.js → interactive-59d3556e.js} +1 -1
- package/dist/cjs/{interfaces-55a7770a.js → interfaces-b5ae4475.js} +1 -1
- package/dist/cjs/{key-b0086062.js → key-60c93976.js} +1 -1
- package/dist/cjs/{label-aa8c56ff.js → label-b984c34e.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-e8e29bd9.js → locale-bae540a6.js} +2 -2
- package/dist/cjs/{math-55d62797.js → math-6366040c.js} +1 -1
- package/dist/cjs/{observers-89dc5318.js → observers-58b14ab6.js} +1 -1
- package/dist/cjs/{popper-a2876841.js → popper-44a40e44.js} +2 -2
- package/dist/cjs/{resources-e912174e.js → resources-068421be.js} +1 -1
- package/dist/cjs/{resources-aadce9d6.js → resources-acd03476.js} +12 -6
- package/dist/cjs/{resources-0516ef74.js → resources-e94e8b87.js} +3 -3
- package/dist/cjs/{resources-891b815e.js → resources-f9c296b8.js} +1 -1
- package/dist/cjs/{sortable.esm-753762a6.js → sortable.esm-ba27559d.js} +1 -1
- package/dist/cjs/{utils-cb25eece.js → utils-8d0a1c67.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 +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +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-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +5 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -2
- 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/interfaces.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/interfaces.js +6 -0
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +49 -0
- package/dist/collection/components/value-list/value-list.js +101 -11
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- 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 +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/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-number.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +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 +3 -3
- package/dist/components/calcite-value-list.js +81 -12
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/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 +8 -3
- 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 +84 -14
- package/dist/esm/{ExpandToggle-0d865830.js → ExpandToggle-5c61686e.js} +5 -5
- package/dist/esm/{Heading-7d5bd9e8.js → Heading-8425a7e1.js} +2 -2
- package/dist/esm/{array-616eac11.js → array-09d74e81.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 +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +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 +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +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 +87 -22
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-0f0912e9.js → conditionalSlot-f36411ae.js} +3 -3
- package/dist/esm/{debounce-b2e0808f.js → debounce-7d145585.js} +1 -1
- package/dist/esm/{dom-d2889a90.js → dom-75716651.js} +2 -2
- package/dist/esm/{forIn-4710c92c.js → forIn-2483e41a.js} +2 -2
- package/dist/esm/{form-1c03942a.js → form-5ec62601.js} +3 -3
- package/dist/esm/{guid-df484cfb.js → guid-93082955.js} +1 -1
- package/dist/esm/{index-9d2575b7.js → index-9c745913.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-a3e9dca3.js → interactive-3530ddc5.js} +1 -1
- package/dist/esm/{interfaces-8ba89ded.js → interfaces-e0d55e31.js} +1 -1
- package/dist/esm/{key-378eeb03.js → key-b656a79c.js} +1 -1
- package/dist/esm/{label-756e1a14.js → label-88b50772.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-421f4492.js → locale-477f3004.js} +2 -2
- package/dist/esm/{math-1e5e3ee8.js → math-f257ec90.js} +1 -1
- package/dist/esm/{observers-1c235636.js → observers-7556ab5f.js} +1 -1
- package/dist/esm/{popper-7ab11cb1.js → popper-613e2d79.js} +2 -2
- package/dist/esm/{resources-289a45dd.js → resources-0314f628.js} +1 -1
- package/dist/esm/{resources-e5c38386.js → resources-26fbd006.js} +1 -1
- package/dist/esm/{resources-e3c4f6d3.js → resources-bcdb90a6.js} +12 -7
- package/dist/esm/{resources-3e642151.js → resources-e9604412.js} +3 -3
- package/dist/esm/{sortable.esm-6666efc9.js → sortable.esm-3e043a27.js} +1 -1
- package/dist/esm/{utils-09bcdea3.js → utils-44af2207.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-0d865830.js → ExpandToggle-5c61686e.js} +2 -2
- package/dist/esm-es5/{Heading-7d5bd9e8.js → Heading-8425a7e1.js} +2 -2
- package/dist/esm-es5/{array-616eac11.js → array-09d74e81.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +3 -3
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-0f0912e9.js → conditionalSlot-f36411ae.js} +2 -2
- package/dist/esm-es5/{debounce-b2e0808f.js → debounce-7d145585.js} +1 -1
- package/dist/esm-es5/{dom-d2889a90.js → dom-75716651.js} +2 -2
- package/dist/esm-es5/{forIn-4710c92c.js → forIn-2483e41a.js} +2 -2
- package/dist/esm-es5/{form-1c03942a.js → form-5ec62601.js} +2 -2
- package/dist/esm-es5/{guid-df484cfb.js → guid-93082955.js} +1 -1
- package/dist/esm-es5/{index-9d2575b7.js → index-9c745913.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-a3e9dca3.js → interactive-3530ddc5.js} +1 -1
- package/dist/esm-es5/{interfaces-8ba89ded.js → interfaces-e0d55e31.js} +1 -1
- package/dist/esm-es5/{key-378eeb03.js → key-b656a79c.js} +1 -1
- package/dist/esm-es5/{label-756e1a14.js → label-88b50772.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-421f4492.js → locale-477f3004.js} +2 -2
- package/dist/esm-es5/{math-1e5e3ee8.js → math-f257ec90.js} +1 -1
- package/dist/esm-es5/{observers-1c235636.js → observers-7556ab5f.js} +1 -1
- package/dist/esm-es5/{popper-7ab11cb1.js → popper-613e2d79.js} +2 -2
- package/dist/esm-es5/{resources-289a45dd.js → resources-0314f628.js} +1 -1
- package/dist/esm-es5/{resources-e5c38386.js → resources-26fbd006.js} +1 -1
- package/dist/esm-es5/resources-bcdb90a6.js +6 -0
- package/dist/esm-es5/{resources-3e642151.js → resources-e9604412.js} +2 -2
- package/dist/esm-es5/{sortable.esm-6666efc9.js → sortable.esm-3e043a27.js} +1 -1
- package/dist/esm-es5/{utils-09bcdea3.js → utils-44af2207.js} +1 -1
- package/dist/extras/docs-json.json +65 -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/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/pick-list/shared-list-render.d.ts +2 -0
- package/dist/types/components/value-list/interfaces.d.ts +1 -0
- package/dist/types/components/value-list/utils.d.ts +8 -0
- package/dist/types/components/value-list/value-list.d.ts +30 -0
- package/dist/types/components.d.ts +32 -0
- package/hydrate/index.js +87 -13
- package/package.json +1 -1
- package/dist/calcite/p-106ac1dd.system.js +0 -6
- package/dist/calcite/p-1657205f.js +0 -6
- package/dist/calcite/p-19169b40.entry.js +0 -6
- package/dist/calcite/p-194794e8.js +0 -6
- package/dist/calcite/p-1ee05c64.system.js +0 -6
- package/dist/calcite/p-26dcff9a.system.js +0 -6
- package/dist/calcite/p-2f9bfc56.entry.js +0 -6
- package/dist/calcite/p-7af3b119.system.js +0 -6
- package/dist/calcite/p-837fec69.system.js +0 -6
- package/dist/calcite/p-8837a4d0.entry.js +0 -6
- package/dist/calcite/p-99f36ffc.system.entry.js +0 -6
- package/dist/calcite/p-c0e2383f.js +0 -6
- package/dist/calcite/p-e4950e37.entry.js +0 -6
- package/dist/esm-es5/resources-e3c4f6d3.js +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-07-
|
|
2
|
+
"timestamp": "2022-07-12T23:43:12",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "2.16.1",
|
|
@@ -21176,6 +21176,70 @@
|
|
|
21176
21176
|
"optional": true,
|
|
21177
21177
|
"required": false
|
|
21178
21178
|
},
|
|
21179
|
+
{
|
|
21180
|
+
"name": "intlDragHandleActive",
|
|
21181
|
+
"type": "string",
|
|
21182
|
+
"mutable": false,
|
|
21183
|
+
"attr": "intl-drag-handle-active",
|
|
21184
|
+
"reflectToAttr": false,
|
|
21185
|
+
"docs": "When \"drag-enabled\" is true and active, specifies accessible context to the component.\n\nUse ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.",
|
|
21186
|
+
"docsTags": [],
|
|
21187
|
+
"values": [
|
|
21188
|
+
{
|
|
21189
|
+
"type": "string"
|
|
21190
|
+
}
|
|
21191
|
+
],
|
|
21192
|
+
"optional": true,
|
|
21193
|
+
"required": false
|
|
21194
|
+
},
|
|
21195
|
+
{
|
|
21196
|
+
"name": "intlDragHandleChange",
|
|
21197
|
+
"type": "string",
|
|
21198
|
+
"mutable": false,
|
|
21199
|
+
"attr": "intl-drag-handle-change",
|
|
21200
|
+
"reflectToAttr": false,
|
|
21201
|
+
"docs": "When \"drag-enabled\" is true and active, specifies accessible context to the `calcite-value-list-item`'s new position.\n\nUse ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.",
|
|
21202
|
+
"docsTags": [],
|
|
21203
|
+
"values": [
|
|
21204
|
+
{
|
|
21205
|
+
"type": "string"
|
|
21206
|
+
}
|
|
21207
|
+
],
|
|
21208
|
+
"optional": true,
|
|
21209
|
+
"required": false
|
|
21210
|
+
},
|
|
21211
|
+
{
|
|
21212
|
+
"name": "intlDragHandleCommit",
|
|
21213
|
+
"type": "string",
|
|
21214
|
+
"mutable": false,
|
|
21215
|
+
"attr": "intl-drag-handle-commit",
|
|
21216
|
+
"reflectToAttr": false,
|
|
21217
|
+
"docs": "When \"drag-enabled\" is true and active, specifies accessible context to the `calcite-value-list-item`'s current position after commit.\n\nUse ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.",
|
|
21218
|
+
"docsTags": [],
|
|
21219
|
+
"values": [
|
|
21220
|
+
{
|
|
21221
|
+
"type": "string"
|
|
21222
|
+
}
|
|
21223
|
+
],
|
|
21224
|
+
"optional": true,
|
|
21225
|
+
"required": false
|
|
21226
|
+
},
|
|
21227
|
+
{
|
|
21228
|
+
"name": "intlDragHandleIdle",
|
|
21229
|
+
"type": "string",
|
|
21230
|
+
"mutable": false,
|
|
21231
|
+
"attr": "intl-drag-handle-idle",
|
|
21232
|
+
"reflectToAttr": false,
|
|
21233
|
+
"docs": "When \"drag-enabled\" is true and active, specifies accessible context to the `calcite-value-list-item`'s initial position.\n\nUse ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.",
|
|
21234
|
+
"docsTags": [],
|
|
21235
|
+
"values": [
|
|
21236
|
+
{
|
|
21237
|
+
"type": "string"
|
|
21238
|
+
}
|
|
21239
|
+
],
|
|
21240
|
+
"optional": true,
|
|
21241
|
+
"required": false
|
|
21242
|
+
},
|
|
21179
21243
|
{
|
|
21180
21244
|
"name": "loading",
|
|
21181
21245
|
"type": "boolean",
|
package/dist/loader/cdn.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.527
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.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.527
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -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.527
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/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.527
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -13,6 +13,7 @@ export declare function calciteInternalListItemValueChangeHandler<T extends List
|
|
|
13
13
|
export declare function calciteListFocusOutHandler<T extends Lists>(this: List<T>, event: FocusEvent): void;
|
|
14
14
|
export declare function keyDownHandler<T extends Lists>(this: List<T>, event: KeyboardEvent): void;
|
|
15
15
|
export declare function moveItemIndex<T extends Lists>(list: List<T>, item: ListItemElement<T>, direction: "up" | "down"): number;
|
|
16
|
+
export declare function getItemIndex<T extends Lists>(list: List<T>, item: ListItemElement<T>): number;
|
|
16
17
|
export declare function internalCalciteListChangeEvent<T extends Lists>(this: List<T>): void;
|
|
17
18
|
export declare function removeItem<T extends Lists, U extends ListItemElement<T>>(this: List<T>, event: CustomEvent): void;
|
|
18
19
|
export declare function setFocus<T extends Lists>(this: List<T>, focusId: ListFocusId): Promise<void>;
|
|
@@ -11,6 +11,8 @@ interface ListProps extends DOMAttributes<any> {
|
|
|
11
11
|
filterPlaceholder: string;
|
|
12
12
|
el: HTMLCalcitePickListElement | HTMLCalciteValueListElement;
|
|
13
13
|
setFilterEl: (el: HTMLCalciteFilterElement) => void;
|
|
14
|
+
dragEnabled?: boolean;
|
|
15
|
+
storeAssistiveEl?: (el: HTMLSpanElement) => void;
|
|
14
16
|
}
|
|
15
17
|
export declare const List: FunctionalComponent<{
|
|
16
18
|
props: ListProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type DragStatus = "idle" | "active" | "change" | "commit";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DragStatus } from "./interfaces";
|
|
2
|
+
import { ValueList } from "./value-list";
|
|
3
|
+
export declare function getScreenReaderText(item: HTMLCalciteValueListItemElement, status: DragStatus, valueList: ValueList<HTMLCalciteValueListItemElement>): string;
|
|
4
|
+
export declare function getHandleAndItemElement(event: KeyboardEvent | FocusEvent): {
|
|
5
|
+
handle: HTMLCalciteHandleElement;
|
|
6
|
+
item: HTMLCalciteValueListItemElement;
|
|
7
|
+
};
|
|
8
|
+
export declare function replacePlaceholders(text: string, label: string, position: number, total: number): string;
|
|
@@ -45,6 +45,30 @@ export declare class ValueList<ItemElement extends HTMLCalciteValueListItemEleme
|
|
|
45
45
|
* When true and single-selection is enabled, the selection changes when navigating `calcite-value-list-item`s via keyboard.
|
|
46
46
|
*/
|
|
47
47
|
selectionFollowsFocus: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s initial position.
|
|
50
|
+
*
|
|
51
|
+
* Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
52
|
+
*/
|
|
53
|
+
intlDragHandleIdle?: string;
|
|
54
|
+
/**
|
|
55
|
+
* When "drag-enabled" is true and active, specifies accessible context to the component.
|
|
56
|
+
*
|
|
57
|
+
* Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
58
|
+
*/
|
|
59
|
+
intlDragHandleActive?: string;
|
|
60
|
+
/**
|
|
61
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s new position.
|
|
62
|
+
*
|
|
63
|
+
* Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
64
|
+
*/
|
|
65
|
+
intlDragHandleChange?: string;
|
|
66
|
+
/**
|
|
67
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s current position after commit.
|
|
68
|
+
*
|
|
69
|
+
* Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
70
|
+
*/
|
|
71
|
+
intlDragHandleCommit?: string;
|
|
48
72
|
selectedValues: Map<string, ItemElement>;
|
|
49
73
|
dataForFilter: ItemData;
|
|
50
74
|
items: ItemElement[];
|
|
@@ -54,6 +78,7 @@ export declare class ValueList<ItemElement extends HTMLCalciteValueListItemEleme
|
|
|
54
78
|
el: HTMLCalciteValueListElement;
|
|
55
79
|
emitCalciteListChange: () => void;
|
|
56
80
|
filterEl: HTMLCalciteFilterElement;
|
|
81
|
+
assistiveTextEl: HTMLSpanElement;
|
|
57
82
|
connectedCallback(): void;
|
|
58
83
|
componentDidLoad(): void;
|
|
59
84
|
componentDidRender(): void;
|
|
@@ -83,6 +108,7 @@ export declare class ValueList<ItemElement extends HTMLCalciteValueListItemEleme
|
|
|
83
108
|
handleFilter: any;
|
|
84
109
|
getItemData: any;
|
|
85
110
|
keyDownHandler: (event: KeyboardEvent) => void;
|
|
111
|
+
handleBlur(): void;
|
|
86
112
|
/** Returns the currently selected items */
|
|
87
113
|
getSelectedItems(): Promise<Map<string, HTMLCalciteValueListItemElement>>;
|
|
88
114
|
/**
|
|
@@ -92,5 +118,9 @@ export declare class ValueList<ItemElement extends HTMLCalciteValueListItemEleme
|
|
|
92
118
|
*/
|
|
93
119
|
setFocus(focusId?: ListFocusId): Promise<void>;
|
|
94
120
|
getIconType(): ICON_TYPES | null;
|
|
121
|
+
updateScreenReaderText(text: string): void;
|
|
122
|
+
updateHandleAriaLabel(handleElement: HTMLSpanElement, text: string): void;
|
|
123
|
+
storeAssistiveEl: (el: HTMLSpanElement) => void;
|
|
124
|
+
handleFocusIn: (event: FocusEvent) => void;
|
|
95
125
|
render(): VNode;
|
|
96
126
|
}
|
|
@@ -3747,6 +3747,22 @@ export namespace Components {
|
|
|
3747
3747
|
* The component's group identifier. To drag elements from one list into another, both lists must have the same group value.
|
|
3748
3748
|
*/
|
|
3749
3749
|
"group"?: string;
|
|
3750
|
+
/**
|
|
3751
|
+
* When "drag-enabled" is true and active, specifies accessible context to the component. Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
3752
|
+
*/
|
|
3753
|
+
"intlDragHandleActive"?: string;
|
|
3754
|
+
/**
|
|
3755
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s new position. Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
3756
|
+
*/
|
|
3757
|
+
"intlDragHandleChange"?: string;
|
|
3758
|
+
/**
|
|
3759
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s current position after commit. Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
3760
|
+
*/
|
|
3761
|
+
"intlDragHandleCommit"?: string;
|
|
3762
|
+
/**
|
|
3763
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s initial position. Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
3764
|
+
*/
|
|
3765
|
+
"intlDragHandleIdle"?: string;
|
|
3750
3766
|
/**
|
|
3751
3767
|
* When true, a busy indicator is displayed.
|
|
3752
3768
|
*/
|
|
@@ -8353,6 +8369,22 @@ declare namespace LocalJSX {
|
|
|
8353
8369
|
* The component's group identifier. To drag elements from one list into another, both lists must have the same group value.
|
|
8354
8370
|
*/
|
|
8355
8371
|
"group"?: string;
|
|
8372
|
+
/**
|
|
8373
|
+
* When "drag-enabled" is true and active, specifies accessible context to the component. Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
8374
|
+
*/
|
|
8375
|
+
"intlDragHandleActive"?: string;
|
|
8376
|
+
/**
|
|
8377
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s new position. Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
8378
|
+
*/
|
|
8379
|
+
"intlDragHandleChange"?: string;
|
|
8380
|
+
/**
|
|
8381
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s current position after commit. Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
8382
|
+
*/
|
|
8383
|
+
"intlDragHandleCommit"?: string;
|
|
8384
|
+
/**
|
|
8385
|
+
* When "drag-enabled" is true and active, specifies accessible context to the `calcite-value-list-item`'s initial position. Use ${position} of ${total} as placeholder for displaying indices and ${item.label} as placeholder for displaying label of `calcite-value-list-item`.
|
|
8386
|
+
*/
|
|
8387
|
+
"intlDragHandleIdle"?: string;
|
|
8356
8388
|
/**
|
|
8357
8389
|
* When true, a busy indicator is displayed.
|
|
8358
8390
|
*/
|
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.527
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -24076,6 +24076,10 @@ function moveItemIndex(list, item, direction) {
|
|
|
24076
24076
|
}
|
|
24077
24077
|
return index;
|
|
24078
24078
|
}
|
|
24079
|
+
function getItemIndex(list, item) {
|
|
24080
|
+
const { items } = list;
|
|
24081
|
+
return items.indexOf(item);
|
|
24082
|
+
}
|
|
24079
24083
|
function filterOutDisabled(items) {
|
|
24080
24084
|
return items.filter((item) => !item.disabled);
|
|
24081
24085
|
}
|
|
@@ -24240,10 +24244,11 @@ function getItemData() {
|
|
|
24240
24244
|
}));
|
|
24241
24245
|
}
|
|
24242
24246
|
|
|
24243
|
-
const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl }, ...rest }) => {
|
|
24247
|
+
const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl, dragEnabled, storeAssistiveEl }, ...rest }) => {
|
|
24244
24248
|
const defaultSlot = hAsync("slot", null);
|
|
24245
24249
|
return (hAsync(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
24246
24250
|
hAsync("section", null,
|
|
24251
|
+
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
24247
24252
|
hAsync("header", { class: { [CSS$j.sticky]: true } },
|
|
24248
24253
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
24249
24254
|
hAsync("slot", { name: SLOTS$b.menuActions })),
|
|
@@ -34560,6 +34565,50 @@ var ICON_TYPES;
|
|
|
34560
34565
|
ICON_TYPES["grip"] = "grip";
|
|
34561
34566
|
})(ICON_TYPES || (ICON_TYPES = {}));
|
|
34562
34567
|
|
|
34568
|
+
function getScreenReaderText(item, status, valueList) {
|
|
34569
|
+
const { items, intlDragHandleIdle, intlDragHandleActive, intlDragHandleChange, intlDragHandleCommit } = valueList;
|
|
34570
|
+
const total = items.length;
|
|
34571
|
+
const position = getItemIndex(valueList, item) + 1;
|
|
34572
|
+
if (status === "idle") {
|
|
34573
|
+
const idleText = intlDragHandleIdle
|
|
34574
|
+
? replacePlaceholders(intlDragHandleIdle, item.label, position, total)
|
|
34575
|
+
: `${item.label}, press space and use arrow keys to reorder content. Current position ${position} of ${total}.`;
|
|
34576
|
+
return idleText;
|
|
34577
|
+
}
|
|
34578
|
+
else if (status === "active") {
|
|
34579
|
+
const activeText = intlDragHandleActive
|
|
34580
|
+
? replacePlaceholders(intlDragHandleActive, item.label, position, total)
|
|
34581
|
+
: `Reordering ${item.label}, current position ${position} of ${total}.`;
|
|
34582
|
+
return activeText;
|
|
34583
|
+
}
|
|
34584
|
+
else if (status === "change") {
|
|
34585
|
+
const changeText = intlDragHandleChange
|
|
34586
|
+
? replacePlaceholders(intlDragHandleChange, item.label, position, total)
|
|
34587
|
+
: `${item.label}, new position ${position} of ${total}. Press space to confirm.`;
|
|
34588
|
+
return changeText;
|
|
34589
|
+
}
|
|
34590
|
+
else {
|
|
34591
|
+
const commitText = intlDragHandleCommit
|
|
34592
|
+
? replacePlaceholders(intlDragHandleCommit, item.label, position, total)
|
|
34593
|
+
: `${item.label}, current position ${position} of ${total}.`;
|
|
34594
|
+
return commitText;
|
|
34595
|
+
}
|
|
34596
|
+
}
|
|
34597
|
+
function getHandleAndItemElement(event) {
|
|
34598
|
+
const handle = event
|
|
34599
|
+
.composedPath()
|
|
34600
|
+
.find((item) => { var _a; return ((_a = item.dataset) === null || _a === void 0 ? void 0 : _a.jsHandle) !== undefined; });
|
|
34601
|
+
const item = event
|
|
34602
|
+
.composedPath()
|
|
34603
|
+
.find((item) => { var _a; return ((_a = item.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "calcite-value-list-item"; });
|
|
34604
|
+
return { handle, item };
|
|
34605
|
+
}
|
|
34606
|
+
function replacePlaceholders(text, label, position, total) {
|
|
34607
|
+
const replacePosition = text.replace("${position}", position.toString());
|
|
34608
|
+
const replaceLabel = replacePosition.replace("${item.label}", label);
|
|
34609
|
+
return replaceLabel.replace("${total}", total.toString());
|
|
34610
|
+
}
|
|
34611
|
+
|
|
34563
34612
|
const valueListCss = "@-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*/.sc-calcite-value-list: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*/.calcite-animate.sc-calcite-value-list{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*/.calcite-animate__in.sc-calcite-value-list{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-value-list:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-h{display:none}/*!@:host*/.sc-calcite-value-list-h{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host **/.sc-calcite-value-list-h *.sc-calcite-value-list{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-h[disabled] .sc-calcite-value-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-h [calcite-hydrated][disabled].sc-calcite-value-list{opacity:1}/*!@calcite-value-list-item:last-of-type*/calcite-value-list-item.sc-calcite-value-list:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([filter-enabled]) header*/[filter-enabled].sc-calcite-value-list-h header.sc-calcite-value-list{margin-bottom:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([filter-enabled]) header.sticky-pos*/[filter-enabled].sc-calcite-value-list-h header.sticky-pos.sc-calcite-value-list{position:-webkit-sticky;position:sticky;top:0px;z-index:10}/*!@calcite-filter*/calcite-filter.sc-calcite-value-list{margin-bottom:1px}";
|
|
34564
34613
|
|
|
34565
34614
|
/**
|
|
@@ -34621,18 +34670,18 @@ class ValueList {
|
|
|
34621
34670
|
this.handleFilter = handleFilter.bind(this);
|
|
34622
34671
|
this.getItemData = getItemData.bind(this);
|
|
34623
34672
|
this.keyDownHandler = (event) => {
|
|
34624
|
-
const
|
|
34625
|
-
|
|
34626
|
-
.
|
|
34627
|
-
|
|
34628
|
-
|
|
34629
|
-
.find((item) => { var _a; return ((_a = item.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "calcite-value-list-item"; });
|
|
34630
|
-
// Only trigger keyboard sorting when the internal drag handle is focused and activated
|
|
34631
|
-
if (!handleElement || !item.handleActivated) {
|
|
34673
|
+
const { handle, item } = getHandleAndItemElement(event);
|
|
34674
|
+
if (handle && !item.handleActivated && event.key === " ") {
|
|
34675
|
+
this.updateScreenReaderText(getScreenReaderText(item, "commit", this));
|
|
34676
|
+
}
|
|
34677
|
+
if (!handle || !item.handleActivated) {
|
|
34632
34678
|
keyDownHandler.call(this, event);
|
|
34633
34679
|
return;
|
|
34634
34680
|
}
|
|
34635
34681
|
const { items } = this;
|
|
34682
|
+
if (event.key === " ") {
|
|
34683
|
+
this.updateScreenReaderText(getScreenReaderText(item, "active", this));
|
|
34684
|
+
}
|
|
34636
34685
|
if ((event.key !== "ArrowUp" && event.key !== "ArrowDown") || items.length <= 1) {
|
|
34637
34686
|
return;
|
|
34638
34687
|
}
|
|
@@ -34651,8 +34700,18 @@ class ValueList {
|
|
|
34651
34700
|
}
|
|
34652
34701
|
this.items = this.getItems();
|
|
34653
34702
|
this.calciteListOrderChange.emit(this.items.map(({ value }) => value));
|
|
34654
|
-
requestAnimationFrame(() =>
|
|
34703
|
+
requestAnimationFrame(() => handle === null || handle === void 0 ? void 0 : handle.focus());
|
|
34655
34704
|
item.handleActivated = true;
|
|
34705
|
+
this.updateHandleAriaLabel(handle, getScreenReaderText(item, "change", this));
|
|
34706
|
+
};
|
|
34707
|
+
this.storeAssistiveEl = (el) => {
|
|
34708
|
+
this.assistiveTextEl = el;
|
|
34709
|
+
};
|
|
34710
|
+
this.handleFocusIn = (event) => {
|
|
34711
|
+
const { handle, item } = getHandleAndItemElement(event);
|
|
34712
|
+
if (!(item === null || item === void 0 ? void 0 : item.handleActivated) && item && handle) {
|
|
34713
|
+
this.updateHandleAriaLabel(handle, getScreenReaderText(item, "idle", this));
|
|
34714
|
+
}
|
|
34656
34715
|
};
|
|
34657
34716
|
}
|
|
34658
34717
|
// --------------------------------------------------------------------------
|
|
@@ -34729,6 +34788,11 @@ class ValueList {
|
|
|
34729
34788
|
(_a = this.sortable) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
34730
34789
|
this.sortable = null;
|
|
34731
34790
|
}
|
|
34791
|
+
handleBlur() {
|
|
34792
|
+
if (this.dragEnabled) {
|
|
34793
|
+
this.updateScreenReaderText("");
|
|
34794
|
+
}
|
|
34795
|
+
}
|
|
34732
34796
|
// --------------------------------------------------------------------------
|
|
34733
34797
|
//
|
|
34734
34798
|
// Public Methods
|
|
@@ -34758,8 +34822,14 @@ class ValueList {
|
|
|
34758
34822
|
}
|
|
34759
34823
|
return type;
|
|
34760
34824
|
}
|
|
34825
|
+
updateScreenReaderText(text) {
|
|
34826
|
+
this.assistiveTextEl.textContent = text;
|
|
34827
|
+
}
|
|
34828
|
+
updateHandleAriaLabel(handleElement, text) {
|
|
34829
|
+
handleElement.ariaLabel = text;
|
|
34830
|
+
}
|
|
34761
34831
|
render() {
|
|
34762
|
-
return hAsync(List, { onKeyDown: this.keyDownHandler, props: this });
|
|
34832
|
+
return (hAsync(List, { onBlur: this.handleBlur, onFocusin: this.handleFocusIn, onKeyDown: this.keyDownHandler, props: this }));
|
|
34763
34833
|
}
|
|
34764
34834
|
get el() { return getElement(this); }
|
|
34765
34835
|
static get style() { return valueListCss; }
|
|
@@ -34775,6 +34845,10 @@ class ValueList {
|
|
|
34775
34845
|
"loading": [516],
|
|
34776
34846
|
"multiple": [516],
|
|
34777
34847
|
"selectionFollowsFocus": [4, "selection-follows-focus"],
|
|
34848
|
+
"intlDragHandleIdle": [1, "intl-drag-handle-idle"],
|
|
34849
|
+
"intlDragHandleActive": [1, "intl-drag-handle-active"],
|
|
34850
|
+
"intlDragHandleChange": [1, "intl-drag-handle-change"],
|
|
34851
|
+
"intlDragHandleCommit": [1, "intl-drag-handle-commit"],
|
|
34778
34852
|
"selectedValues": [32],
|
|
34779
34853
|
"dataForFilter": [32],
|
|
34780
34854
|
"getSelectedItems": [64],
|
|
@@ -34909,7 +34983,7 @@ class ValueListItem {
|
|
|
34909
34983
|
renderHandle() {
|
|
34910
34984
|
const { icon } = this;
|
|
34911
34985
|
if (icon === ICON_TYPES$1.grip) {
|
|
34912
|
-
return (hAsync("span", {
|
|
34986
|
+
return (hAsync("span", { class: {
|
|
34913
34987
|
[CSS$h.handle]: true,
|
|
34914
34988
|
[CSS$h.handleActivated]: this.handleActivated
|
|
34915
34989
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function u(e){try{c(r["throw"](e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,u)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){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(e){return function(t){return c([e,t])}}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=t.call(e,n)}catch(e){o=[6,e];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.526
|
|
6
|
-
*/System.register(["./p-eb497eea.system.js","./p-0f17c882.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.a},function(e){n=e.a}],execute:function(){e({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(e){if(e===void 0){e=""}if(n.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!n.includes(e)){e=e.split("-")[0]}}return n.includes(e)?e:"en"}var i={};var a={};function o(e){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(c){switch(c.label){case 0:n=r(e);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(t("./assets/date-picker/nls/".concat(n,".json"))).then((function(e){return e.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(e,t,n){var r=e.getTime();var i=!(t instanceof Date)||r>=t.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function c(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var i=t instanceof Date&&r<t.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return t}if(a){return n}return e}function f(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function s(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function h(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function p(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function v(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function g(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function d(e,t){var n=t.separator,r=t.unitOrder;var i=w(r);var a=m(e).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function w(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function y(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var b=e("H",2);var D=e("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.526
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-a195d863.js";function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const a=(r,a)=>{const e=`h${r.level}`;return delete r.level,t(e,{...r},a)};export{a as H,r 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.526
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,f as a,h as i,g as e,c as s,H as n}from"./p-a195d863.js";import{g as l}from"./p-acfb673b.js";import{c as r}from"./p-8e873b10.js";import{h}from"./p-749502bb.js";import{d as o,c}from"./p-76baee80.js";import{c as m,d}from"./p-7d4ac280.js";import{c as u,d as b,a as p,H as f}from"./p-ae1770fe.js";import{u as v}from"./p-2fe520b3.js";function g(t,a,i){const e=a[0]-t[0];return e?(3*(a[1]-t[1])/e-i)/2:i}function x(t,a,i,e,s){const[n,l]=t,[r,h]=a,o=(r-n)/3;return`C ${s([n+o,l+o*i]).join(",")} ${s([r-o,h-o*e]).join(",")} ${s([r,h]).join(",")}`}const _=class{constructor(i){t(this,i),this.data=[],this.graphId=`calcite-graph-${l()}`,this.resizeObserver=r("resize",(()=>a(this)))}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:t,colorStops:a,el:e,highlightMax:s,highlightMin:n,min:l,max:r}=this,h=this.graphId,{clientHeight:o,clientWidth:c}=e;if(!t||0===t.length)return i("svg",{class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c});const{min:m,max:d}=function(t){const[a,i]=t[0];return t.reduce((({min:t,max:a},[i,e])=>({min:[Math.min(t[0],i),Math.min(t[1],e)],max:[Math.max(a[0],i),Math.max(a[1],e)]})),{min:[a,i],max:[a,i]})}(t);let u=m,b=d;(l<m[0]||l>m[0])&&(u=[l,0]),(r>d[0]||r<d[0])&&(b=[r,d[1]]);const p=function({width:t,height:a,min:i,max:e}){const s=e[0]-i[0],n=e[1]-i[1];return e=>[(e[0]-i[0])/s*t,a-e[1]/n*a]}({min:u,max:b,width:c,height:o}),[f]=p([n,b[1]]),[v]=p([s,b[1]]),_=function({data:t,min:a,max:i,t:e}){if(0===t.length)return"";const[s,n]=e(t[0]),[l,r]=e(a),[h]=e(i);let o,c,m;const d=t.reduce(((a,i,s)=>{if(c=t[s-2],m=t[s-1],s>1){const t=function(t,a,i){const e=a[0]-t[0],s=i[0]-a[0],n=(a[1]-t[1])/(e||s<0&&0),l=(i[1]-a[1])/(s||e<0&&0),r=(n*s+l*e)/(e+s);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(r))||0}(c,m,i),s=void 0===o?g(c,m,t):o,n=x(c,m,s,t,e);return o=t,`${a} ${n}`}return a}),`M ${l},${r} L ${l},${n} L ${s},${n}`),u=t[t.length-1];return`${d} ${x(m,u,o,g(m,u,o),e)} L ${h},${r} Z`}({data:t,min:m,max:d,t:p}),k=a?`url(#linear-gradient-${h})`:void 0;return i("svg",{class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},a?i("defs",null,i("linearGradient",{id:`linear-gradient-${h}`,x1:"0",x2:"1",y1:"0",y2:"0"},a.map((({offset:t,color:a,opacity:e})=>i("stop",{offset:100*t+"%","stop-color":a,"stop-opacity":e}))))):null,void 0!==n?[i("mask",{height:"100%",id:`${h}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${h}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${f+1},0\n L ${v-1},0\n L ${v-1},${o}\n L ${f+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${h}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${v+1},0\n L ${c},0\n L ${c},${o}\n L ${v+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:_,fill:k,mask:`url(#${h}1)`}),i("path",{class:"graph-path--highlight",d:_,fill:k,mask:`url(#${h}2)`}),i("path",{class:"graph-path",d:_,fill:k,mask:`url(#${h}3)`})]:i("path",{class:"graph-path",d:_,fill:k}))}get el(){return e(this)}};function k(t){return Array.isArray(t)}_.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;height:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";const w=class{constructor(a){t(this,a),this.calciteSliderInput=s(this,"calciteSliderInput",7),this.calciteSliderChange=s(this,"calciteSliderChange",7),this.calciteSliderUpdate=s(this,"calciteSliderUpdate",7),this.disabled=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.value=0,this.scale="m",this.guid=`calcite-slider-${l()}`,this.activeProp="value",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[],this.dragUpdate=t=>{if(t.preventDefault(),this.dragProp){const a=this.translate(t.clientX||t.pageX);if(k(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=a-this.minValueDragRange,i=a+this.maxValueDragRange;i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange&&(this.minValue=this.clamp(t,"minValue"),this.maxValue=this.clamp(i,"maxValue"))}else this.minValueDragRange=a-this.minValue,this.maxValueDragRange=this.maxValue-a,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue(this.dragProp,this.clamp(a,this.dragProp))}},this.dragEnd=t=>{this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null},this.storeTrackRef=t=>{this.trackEl=t}}histogramWatcher(t){this.hasHistogram=!!t}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){this.setMinMaxFromValue(),this.setValueFromMinMax(),m(this),u(this)}disconnectedCallback(){d(this),b(this),this.removeDragListeners()}componentWillLoad(){this.tickValues=this.generateTickValues(),k(this.value)||(this.value=this.clamp(this.value)),p(this,this.value),this.snap&&!k(this.value)&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),k(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),v(this)}render(){const t=this.el.id||this.guid,a=k(this.value)?"maxValue":"value",e=k(this.value)?this.maxValue:this.value,s=this.minValue||this.min,l=this.shouldUseMinValue(),r=100*this.getUnitInterval(l?this.minValue:s),h=100*this.getUnitInterval(e),o=this.shouldMirror(),c=`${o?100-r:r}%`,m=`${o?h:100-h}%`,d=k(this.value),u=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"})),b=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e),i("div",{class:"handle"})),p=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e)),v=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}),i("div",{class:"handle-extension"})),g=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),x=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e),i("div",{class:"handle"}),i("div",{class:"handle-extension"})),_=i("div",{"aria-disabled":this.disabled,"aria-label":d?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:()=>this.dragStart(a),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},e?e.toLocaleString():e),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},e?e.toLocaleString():e)),w=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("div",{class:"handle"})),y=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()),i("div",{class:"handle"})),$=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString())),D=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),V=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:c},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));return i(n,{id:t,onTouchStart:this.handleTouchStart},i("div",{class:{container:!0,"container--range":d,[`scale--${this.scale}`]:!0}},this.renderGraph(),i("div",{class:"track",ref:this.storeTrackRef},i("div",{class:"track__range",onPointerDown:()=>this.dragStart("minMaxValue"),style:{left:`${o?100-h:r}%`,right:`${o?r:100-h}%`}}),i("div",{class:"ticks"},this.tickValues.map((t=>{const a=100*this.getUnitInterval(t)+"%";let n=t>=s&&t<=e;return l&&(n=t>=this.minValue&&t<=this.maxValue),i("span",{class:{tick:!0,"tick--active":n},style:{left:o?"":a,right:o?a:""}},this.renderTickLabel(t))})))),i("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&d&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&d&&y,this.precise&&!this.labelHandles&&d&&D,this.precise&&this.labelHandles&&d&&V,this.hasHistogram&&!this.precise&&this.labelHandles&&d&&$,!this.precise&&!this.labelHandles&&u,!this.hasHistogram&&!this.precise&&this.labelHandles&&b,!this.hasHistogram&&this.precise&&!this.labelHandles&&v,this.hasHistogram&&this.precise&&!this.labelHandles&&g,!this.hasHistogram&&this.precise&&this.labelHandles&&x,this.hasHistogram&&!this.precise&&this.labelHandles&&p,this.hasHistogram&&this.precise&&this.labelHandles&&_,i(f,{component:this}))))}renderGraph(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:k(this.value)?this.maxValue:this.value,highlightMin:k(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const a=k(this.value),e=t===this.min,s=t===this.max,n=i("span",{class:{tick__label:!0,"tick__label--min":e,"tick__label--max":s}},t.toLocaleString());return this.labelTicks&&!this.hasHistogram&&!a||this.labelTicks&&!this.hasHistogram&&a&&!this.precise&&!this.labelHandles||this.labelTicks&&!this.hasHistogram&&a&&!this.precise&&this.labelHandles||this.labelTicks&&!this.hasHistogram&&a&&this.precise&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(e||s)?n:null}keyDownHandler(t){const a=this.shouldMirror(),{activeProp:i,max:e,min:s,pageStep:n,step:l}=this,r=this[i],h=t.key;if("Enter"===h||" "===h)return void t.preventDefault();let c;if("ArrowUp"===h||"ArrowRight"===h?c=r+l*(a&&"ArrowRight"===h?-1:1):"ArrowDown"===h||"ArrowLeft"===h?c=r-l*(a&&"ArrowLeft"===h?-1:1):"PageUp"===h?n&&(c=r+n):"PageDown"===h?n&&(c=r-n):"Home"===h?c=s:"End"===h&&(c=e),isNaN(c))return;t.preventDefault();const m=Number(c.toFixed(o(l)));this.setValue(i,this.clamp(m,i))}clickHandler(t){this.focusActiveHandle(t.clientX)}pointerDownHandler(t){const a=this.translate(t.clientX||t.pageX);let i="value";k(this.value)&&(i=a>=this.minValue&&a<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-a)<Math.abs(this.minValue-a)||a>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[i],this.dragStart(i),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue(i,this.clamp(a,i))}handleTouchStart(t){t.preventDefault()}async setFocus(){const t=this.minHandle?this.minHandle:this.maxHandle;null==t||t.focus()}setValueFromMinMax(){const{minValue:t,maxValue:a}=this;"number"==typeof t&&"number"==typeof a&&(this.value=[t,a])}setMinMaxFromValue(){const{value:t}=this;k(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!k(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}generateTickValues(){const t=[];let a=this.min;for(;this.ticks&&a<this.max+this.ticks;)t.push(Math.min(a,this.max)),a+=this.ticks;return t}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,document.addEventListener("pointermove",this.dragUpdate),document.addEventListener("pointerup",this.dragEnd),document.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit(),this.calciteSliderUpdate.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){document.removeEventListener("pointermove",this.dragUpdate),document.removeEventListener("pointerup",this.dragEnd),document.removeEventListener("pointercancel",this.dragEnd)}setValue(t,a){this[t]!==a&&(this[t]=a,this.dragProp||this.emitChange(),this.emitInput())}clamp(t,a){return t=c(t,this.min,this.max),"maxValue"===a&&(t=Math.max(t,this.minValue)),"minValue"===a&&(t=Math.min(t,this.maxValue)),t}translate(t){const a=this.max-this.min,{left:i,width:e}=this.trackEl.getBoundingClientRect(),s=(t-i)/e,n=this.shouldMirror(),l=this.clamp(this.min+a*(n?1-s:s));let r=Number(l.toFixed(o(this.step)));return this.snap&&this.step&&(r=this.getClosestStep(r)),r}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(o(this.step))),this.step){const a=Math.round(t/this.step)*this.step;t=Number(this.clamp(a).toFixed(o(this.step)))}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,a){return Math.abs(t.getBoundingClientRect().left-a)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const a=this.el.shadowRoot.querySelector(`.handle__label--${t}`),i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=i.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);a.style.transform=`translateX(${n}px)`,e.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,a=this.shouldMirror(),i=a?"value":"minValue",e=a?"minValue":"value",s=t.querySelector(`.handle__label--${i}`),n=t.querySelector(`.handle__label--${i}.static`),l=t.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${e}`),o=t.querySelector(`.handle__label--${e}.static`),c=t.querySelector(`.handle__label--${e}.transformed`),m=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),d=this.getFontSizeForElement(s),u=this.getRangeLabelOverlap(l,c),b=s,p=d/2;if(u>0){if(b.classList.add("hyphen","hyphen--wrap"),0===m&&0===r){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const a=this.getHostOffset(l.getBoundingClientRect().left+t-p,l.getBoundingClientRect().right+t-p);let i=u/2;const e=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);0!==a&&(t+=a,i+=a),0!==e&&(t+=e,i+=e),s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`,h.style.transform=`translateX(${i}px)`,c.style.transform=`translateX(${i}px)`}else if(r>0||m>0)s.style.transform=`translateX(${r+p}px)`,h.style.transform=`translateX(${u+m}px)`,c.style.transform=`translateX(${u+m}px)`;else if(r<0||m<0){let t=Math.abs(r)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`}}else b.classList.remove("hyphen","hyphen--wrap"),s.style.transform=`translateX(${r}px)`,l.style.transform=`translateX(${r}px)`,h.style.transform=`translateX(${m}px)`,c.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){const t=k(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const a=this.el.shadowRoot.querySelector(".thumb--minValue"),i=this.el.shadowRoot.querySelector(".thumb--value"),e=this.el.shadowRoot.querySelector(".tick__label--min"),s=this.el.shadowRoot.querySelector(".tick__label--max");!a&&i&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),a&&i&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,a)||this.isMinTickLabelObscured(e,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,a)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(t,a){const i=this.el.getBoundingClientRect();return t+7<i.left?i.left-t-7:a-7>i.right?7-(a-i.right):0}getRangeLabelOverlap(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(i.right+s-e.left,0)}isMinTickLabelObscured(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect();return h(i,e)}isMaxTickLabelObscured(t,a){const i=t.getBoundingClientRect(),e=a.getBoundingClientRect();return h(i,e)}get el(){return e(this)}static get watchers(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};w.style='@charset "UTF-8";@-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}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;width:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:"";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{_ as calcite_graph,w as calcite_slider}
|
|
@@ -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.526
|
|
5
|
-
*/
|
|
6
|
-
import{f as t,g as i,t as s}from"./p-749502bb.js";import{g as n}from"./p-9847037e.js";import{d as e}from"./p-92dc0870.js";import{h as o,H as a}from"./p-a195d863.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"},l=3;function h(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const u=["ArrowUp","ArrowDown"];function d(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(A.bind(this),0)}function f(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}function m(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}function p(i){const{selectedValues:s}=this,{item:n,value:e,selected:o,shiftPressed:a}=i.detail;o?(this.multiple&&a&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&a&&this.selectSiblings(n,!0)),this.multiple||(C(n,o),o&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function v(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function g(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||F(s).forEach((i=>{C(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function b(i){const{key:s,target:n}=i;if(!function(t){return!!u.find((i=>i===t))}(s))return;const{items:e,multiple:o,selectionFollowsFocus:a}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;i.preventDefault();const l=e[w(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>C(t,t===l))),!o&&a&&(l.selected=!0),t(l)}function w(t,i,s){const{items:e}=t,{length:o}=e,a=e.indexOf(i),c="up"===s?-1:1;let r=1,l=n(a+c*r++,o);const h=l;for(;e[l].disabled&&(l=n(a+c*r++,o),l!==h););return l}function F(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListChange.emit(this.selectedValues)}function y(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function C(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function k(i){var s;if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:n,multiple:e,selectionFollowsFocus:o}=this;if(0===n.length)return;if(e)return null===(s=F(n)[0])||void 0===s?void 0:s.setFocus();const a=F(n),c=a.find((t=>t.selected))||a[0];return o&&c&&(c.selected=!0),c.setFocus()}function x(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,C(t,!1)),t.selected&&(i=!0,C(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||C(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function E(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let S;function L(t){const{filteredItems:s}=t.currentTarget,n=s.map((t=>t.value));let e=!1;S||(S=new Set);const o=this.items.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&S.add(i);const s=n.includes(t.value);return t.hidden=!s,e||(e=s&&t.selected),s}));S.forEach((t=>{const s=o.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),S.clear(),o.length>0&&!e&&!this.multiple&&C(o[0],!0)}function P(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var T;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(T||(T={}));const U=({props:{disabled:t,loading:i,filterEnabled:n,dataForFilter:e,handleFilter:c,filterPlaceholder:r,setFilterEl:l},...h})=>{const u=o("slot",null);return o(a,{"aria-busy":s(i),role:"menu",...h},o("section",null,o("header",{class:{"sticky-pos":!0}},n?o("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,ref:l}):null,o("slot",{name:"menu-actions"})),i?o("calcite-scrim",{loading:i}):null,u))},q={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},D={checked:"check",remove:"x"},H={actionsEnd:"actions-end",actionsStart:"actions-start"},M={remove:"Remove"};export{q as C,l as H,T as I,U as L,H as S,M as T,j as a,w as b,f as c,I as d,m as e,g as f,P as g,L as h,d as i,p as j,b as k,v as l,h as m,x as n,k as o,r as p,c as q,y as r,E as s,D as t}
|