@esri/calcite-components 1.0.0-next.574 → 1.0.0-next.575
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-02874e66.js → p-021b8d3a.js} +1 -1
- package/dist/calcite/{p-94929da9.js → p-02bae850.js} +1 -1
- package/dist/calcite/{p-e0f33780.system.js → p-02dd96dc.system.js} +2 -2
- package/dist/calcite/{p-26edc3fe.entry.js → p-048fc2b1.entry.js} +2 -2
- package/dist/calcite/{p-5f34cff7.entry.js → p-05298030.entry.js} +2 -2
- package/dist/calcite/{p-4f151515.entry.js → p-0a31040d.entry.js} +2 -2
- package/dist/calcite/{p-d4772885.entry.js → p-0b9cdd99.entry.js} +2 -2
- package/dist/calcite/{p-9644cf90.system.entry.js → p-0bc769f9.system.entry.js} +2 -2
- package/dist/calcite/p-0db3959f.system.js +6 -0
- package/dist/calcite/p-0dccfc0d.system.js +6 -0
- package/dist/calcite/{p-29bcb552.system.entry.js → p-0e56f9d0.system.entry.js} +2 -2
- package/dist/calcite/{p-1cd25094.system.js → p-0ea1e89f.system.js} +2 -2
- package/dist/calcite/{p-7ac38b2b.entry.js → p-0f920881.entry.js} +2 -2
- package/dist/calcite/{p-398ddb30.system.js → p-10af7d69.system.js} +1 -1
- package/dist/calcite/{p-c2d7f995.entry.js → p-10e8ded5.entry.js} +2 -2
- package/dist/calcite/{p-e7dc1543.system.js → p-1172c83b.system.js} +1 -1
- package/dist/calcite/{p-0943dc72.system.entry.js → p-16475c29.system.entry.js} +2 -2
- package/dist/calcite/{p-f28e72db.system.js → p-16e79b75.system.js} +1 -1
- package/dist/calcite/{p-c9d74771.system.js → p-17941fe3.system.js} +2 -2
- package/dist/calcite/p-18652d99.entry.js +6 -0
- package/dist/calcite/{p-f2592bd5.entry.js → p-18e1ea52.entry.js} +2 -2
- package/dist/calcite/{p-b248c3b2.entry.js → p-1b1a32c3.entry.js} +2 -2
- package/dist/calcite/{p-5c4421dc.entry.js → p-1b498862.entry.js} +2 -2
- package/dist/calcite/{p-2501e910.system.entry.js → p-1b7d10da.system.entry.js} +2 -2
- package/dist/calcite/{p-854fabb7.system.entry.js → p-1bef5a3f.system.entry.js} +2 -2
- package/dist/calcite/{p-1038133f.system.js → p-1e0a104f.system.js} +1 -1
- package/dist/calcite/{p-b8810eb8.entry.js → p-208e8780.entry.js} +2 -2
- package/dist/calcite/{p-c9f24014.js → p-21cbe438.js} +2 -2
- package/dist/calcite/{p-cd1e35ee.system.entry.js → p-235ee54c.system.entry.js} +3 -3
- package/dist/calcite/{p-a7579427.js → p-24eed939.js} +2 -2
- package/dist/calcite/{p-3058a676.entry.js → p-27698f5e.entry.js} +2 -2
- package/dist/calcite/{p-2c75a894.system.js → p-293e7b0a.system.js} +1 -1
- package/dist/calcite/{p-cc5b9672.system.js → p-2a0c0ee2.system.js} +1 -1
- package/dist/calcite/{p-bf1c3465.system.entry.js → p-2b668e43.system.entry.js} +2 -2
- package/dist/calcite/{p-dabfab4d.entry.js → p-2f723d68.entry.js} +2 -2
- package/dist/calcite/{p-df16481d.system.entry.js → p-2fd7c7ae.system.entry.js} +2 -2
- package/dist/calcite/{p-abe3683b.js → p-304c0bad.js} +1 -1
- package/dist/calcite/{p-ca9d349d.entry.js → p-31b6bdff.entry.js} +2 -2
- package/dist/calcite/{p-68dfd0e8.system.entry.js → p-329cfb9a.system.entry.js} +2 -2
- package/dist/calcite/{p-f1873d3e.js → p-35033e8c.js} +1 -1
- package/dist/calcite/{p-ad63ba8c.js → p-384f95a0.js} +1 -1
- package/dist/calcite/{p-cdd4697e.system.entry.js → p-3a99a843.system.entry.js} +2 -2
- package/dist/calcite/{p-0ddc8a53.entry.js → p-3b4df340.entry.js} +2 -2
- package/dist/calcite/{p-d70de307.js → p-3e50c254.js} +2 -2
- package/dist/calcite/{p-729414c5.js → p-405c2447.js} +1 -1
- package/dist/calcite/{p-bd0c7dee.entry.js → p-40dc3c53.entry.js} +2 -2
- package/dist/calcite/{p-b2649312.entry.js → p-40f7c2fe.entry.js} +2 -2
- package/dist/calcite/{p-6f45df0b.system.js → p-42b7c9f2.system.js} +1 -1
- package/dist/calcite/{p-d3bb2db1.entry.js → p-42bc2dda.entry.js} +2 -2
- package/dist/calcite/{p-293f1130.system.js → p-42ee1466.system.js} +1 -1
- package/dist/calcite/{p-c8d7baeb.system.entry.js → p-439163a6.system.entry.js} +2 -2
- package/dist/calcite/{p-af602be9.entry.js → p-445c6332.entry.js} +2 -2
- package/dist/calcite/{p-3bbdf28c.js → p-44b00194.js} +2 -2
- package/dist/calcite/{p-43ba6532.system.entry.js → p-451282a9.system.entry.js} +3 -3
- package/dist/calcite/{p-396820b7.system.js → p-46eb0393.system.js} +1 -1
- package/dist/calcite/{p-b4c56282.system.entry.js → p-47bc01f6.system.entry.js} +2 -2
- package/dist/calcite/{p-d0fbf0a6.entry.js → p-495ed3ba.entry.js} +2 -2
- package/dist/calcite/{p-dae459bf.entry.js → p-49da7be4.entry.js} +2 -2
- package/dist/calcite/{p-a8a53704.entry.js → p-49f98e08.entry.js} +2 -2
- package/dist/calcite/{p-128f6135.system.entry.js → p-4ac0e367.system.entry.js} +2 -2
- package/dist/calcite/{p-8079a79c.system.entry.js → p-4bfcc295.system.entry.js} +2 -2
- package/dist/calcite/{p-0a4974cc.entry.js → p-4cba45ba.entry.js} +2 -2
- package/dist/calcite/{p-e1d7243b.system.js → p-4e98be27.system.js} +1 -1
- package/dist/calcite/{p-b26e592b.entry.js → p-5136f464.entry.js} +2 -2
- package/dist/calcite/{p-13e8eef6.js → p-51d229c9.js} +1 -1
- package/dist/calcite/{p-08a5a1c1.entry.js → p-5775e85e.entry.js} +2 -2
- package/dist/calcite/{p-c93fd4d4.system.entry.js → p-58186ac1.system.entry.js} +2 -2
- package/dist/calcite/{p-cbe27383.entry.js → p-5931e75b.entry.js} +2 -2
- package/dist/calcite/{p-a898954c.system.entry.js → p-5a205948.system.entry.js} +2 -2
- package/dist/calcite/{p-2aa5b545.system.js → p-5acae1f7.system.js} +1 -1
- package/dist/calcite/p-5d759ad9.js +6 -0
- package/dist/calcite/{p-0aeae19a.js → p-5e50d23e.js} +2 -2
- package/dist/calcite/{p-aafc1a2f.entry.js → p-5ebace76.entry.js} +2 -2
- package/dist/calcite/{p-a598a7dd.system.entry.js → p-61243d3b.system.entry.js} +2 -2
- package/dist/calcite/{p-cf3fb5a0.system.entry.js → p-631fbbda.system.entry.js} +2 -2
- package/dist/calcite/{p-a026e825.entry.js → p-638a8324.entry.js} +2 -2
- package/dist/calcite/{p-6f71dc54.system.js → p-641ac4a5.system.js} +1 -1
- package/dist/calcite/{p-4f264208.system.entry.js → p-66ae2175.system.entry.js} +2 -2
- package/dist/calcite/{p-420ccddd.js → p-66c3dbb4.js} +1 -1
- package/dist/calcite/p-68c13116.entry.js +6 -0
- package/dist/calcite/{p-dca7a79c.entry.js → p-68dd2730.entry.js} +2 -2
- package/dist/calcite/{p-7647ee97.system.entry.js → p-6920ed2c.system.entry.js} +2 -2
- package/dist/calcite/{p-ebe41e88.entry.js → p-6927aafe.entry.js} +2 -2
- package/dist/calcite/{p-b855c064.entry.js → p-6a8a220c.entry.js} +2 -2
- package/dist/calcite/{p-31a68d51.system.js → p-6bdd3114.system.js} +1 -1
- package/dist/calcite/{p-a9f20b18.system.entry.js → p-6d7afda8.system.entry.js} +2 -2
- package/dist/calcite/{p-337a24eb.system.js → p-7245c69a.system.js} +1 -1
- package/dist/calcite/{p-4b20dd06.system.entry.js → p-72c413b1.system.entry.js} +2 -2
- package/dist/calcite/{p-b21f44b7.js → p-73e7fba7.js} +1 -1
- package/dist/calcite/{p-defa0c9d.system.js → p-742fbce6.system.js} +1 -1
- package/dist/calcite/{p-dda4734d.system.entry.js → p-7a6a6b5a.system.entry.js} +2 -2
- package/dist/calcite/{p-49114c42.entry.js → p-7b3704a3.entry.js} +2 -2
- package/dist/calcite/p-7bcd4eba.system.entry.js +6 -0
- package/dist/calcite/{p-d0ea54b5.system.entry.js → p-7cd4ed61.system.entry.js} +2 -2
- package/dist/calcite/{p-2256fb5a.js → p-7e64039f.js} +1 -1
- package/dist/calcite/{p-405f0063.system.entry.js → p-7f322a18.system.entry.js} +3 -3
- package/dist/calcite/{p-32bbc891.entry.js → p-82f8e8f6.entry.js} +2 -2
- package/dist/calcite/{p-b91d70ea.system.js → p-846a7cba.system.js} +1 -1
- package/dist/calcite/{p-58cdd975.system.entry.js → p-86b08ec1.system.entry.js} +2 -2
- package/dist/calcite/{p-5418d810.entry.js → p-871586f9.entry.js} +2 -2
- package/dist/calcite/{p-9e267363.entry.js → p-87e0fa10.entry.js} +2 -2
- package/dist/calcite/{p-1352c084.system.js → p-880b36c4.system.js} +1 -1
- package/dist/calcite/{p-f2564d1d.system.js → p-88196b85.system.js} +2 -2
- package/dist/calcite/{p-551a2e01.system.entry.js → p-889d43b2.system.entry.js} +2 -2
- package/dist/calcite/{p-edcb605e.system.entry.js → p-8aef679b.system.entry.js} +2 -2
- package/dist/calcite/{p-54949aeb.entry.js → p-8d1213d0.entry.js} +2 -2
- package/dist/calcite/{p-4d8ba58f.js → p-90d39ac5.js} +2 -2
- package/dist/calcite/{p-d064ce65.entry.js → p-92b4c746.entry.js} +2 -2
- package/dist/calcite/{p-f5f0e229.entry.js → p-93358ad8.entry.js} +2 -2
- package/dist/calcite/{p-ba9faef1.system.entry.js → p-94e6cb1f.system.entry.js} +2 -2
- package/dist/calcite/{p-904eb1df.js → p-956c4822.js} +1 -1
- package/dist/calcite/{p-8c4dde60.system.entry.js → p-9582760f.system.entry.js} +2 -2
- package/dist/calcite/{p-ee2ba171.system.js → p-958a75e7.system.js} +2 -2
- package/dist/calcite/p-9818a4fa.js +6 -0
- package/dist/calcite/{p-31ed467b.entry.js → p-9a124416.entry.js} +2 -2
- package/dist/calcite/{p-d9f72aca.system.entry.js → p-9b52f8f7.system.entry.js} +2 -2
- package/dist/calcite/p-9c70f344.js +6 -0
- package/dist/calcite/{p-d6933313.entry.js → p-9cb163c3.entry.js} +2 -2
- package/dist/calcite/{p-9646400a.entry.js → p-9d048518.entry.js} +2 -2
- package/dist/calcite/{p-cf3ea746.entry.js → p-a2636e1b.entry.js} +2 -2
- package/dist/calcite/{p-6aa7147a.system.js → p-a3dc1e3c.system.js} +2 -2
- package/dist/calcite/{p-69607178.system.entry.js → p-a5019f1d.system.entry.js} +2 -2
- package/dist/calcite/{p-588da538.entry.js → p-a5599295.entry.js} +2 -2
- package/dist/calcite/{p-81606519.system.entry.js → p-a6672ad2.system.entry.js} +2 -2
- package/dist/calcite/{p-42028ad9.system.entry.js → p-a670045a.system.entry.js} +2 -2
- package/dist/calcite/{p-f2d22297.entry.js → p-a6e27d7e.entry.js} +2 -2
- package/dist/calcite/{p-2f662260.entry.js → p-a91e5259.entry.js} +2 -2
- package/dist/calcite/{p-df2b9dd8.system.js → p-ac3bd150.system.js} +2 -2
- package/dist/calcite/{p-ad5972fc.system.entry.js → p-acac5884.system.entry.js} +2 -2
- package/dist/calcite/{p-d69d2ceb.system.entry.js → p-acb7bc02.system.entry.js} +2 -2
- package/dist/calcite/{p-aa13a6c2.system.entry.js → p-ae3d726b.system.entry.js} +2 -2
- package/dist/calcite/{p-c6005ea4.system.entry.js → p-b0470b79.system.entry.js} +3 -3
- package/dist/calcite/{p-02bf316f.entry.js → p-b104ed79.entry.js} +2 -2
- package/dist/calcite/{p-9525e397.entry.js → p-b5719109.entry.js} +2 -2
- package/dist/calcite/{p-14f4fac9.entry.js → p-b5cca66d.entry.js} +2 -2
- package/dist/calcite/{p-9c6a2350.js → p-b6a56f50.js} +2 -2
- package/dist/calcite/{p-2b26e70c.system.js → p-b79cd85e.system.js} +2 -2
- package/dist/calcite/{p-04324ff6.system.js → p-bb9400ea.system.js} +2 -2
- package/dist/calcite/{p-9d72faa2.system.entry.js → p-bc6abd5f.system.entry.js} +2 -2
- package/dist/calcite/{p-a4a1dbb7.system.entry.js → p-bce5d6bd.system.entry.js} +2 -2
- package/dist/calcite/{p-7de25c76.js → p-be19f9d6.js} +1 -1
- package/dist/calcite/{p-58cd6a25.entry.js → p-be6ec4a1.entry.js} +2 -2
- package/dist/calcite/{p-c769a124.js → p-bf6554fd.js} +1 -1
- package/dist/calcite/{p-97b5b5ac.system.entry.js → p-c092e880.system.entry.js} +2 -2
- package/dist/calcite/{p-5f8c7a97.system.entry.js → p-c0950673.system.entry.js} +2 -2
- package/dist/calcite/{p-a8f9c6d6.system.entry.js → p-c3e4223a.system.entry.js} +2 -2
- package/dist/calcite/{p-7170dae4.entry.js → p-c4d071d8.entry.js} +2 -2
- package/dist/calcite/{p-bbd25093.entry.js → p-c6ed47c4.entry.js} +2 -2
- package/dist/calcite/{p-27323b2b.entry.js → p-c7b30178.entry.js} +2 -2
- package/dist/calcite/{p-96f59f09.system.entry.js → p-cd0eb510.system.entry.js} +2 -2
- package/dist/calcite/{p-a67f40e6.entry.js → p-cdd370af.entry.js} +2 -2
- package/dist/calcite/{p-4e3bb2b5.system.entry.js → p-cf07e8d6.system.entry.js} +2 -2
- package/dist/calcite/{p-32c72e8d.system.entry.js → p-d241a2ac.system.entry.js} +2 -2
- package/dist/calcite/{p-ffab28ce.system.js → p-d2815485.system.js} +2 -2
- package/dist/calcite/{p-afb86c1a.js → p-d3c25f7c.js} +1 -1
- package/dist/calcite/p-d5551128.js +6 -0
- package/dist/calcite/{p-258f25b4.system.entry.js → p-d59ec373.system.entry.js} +2 -2
- package/dist/calcite/{p-e7f9f911.entry.js → p-d86a073f.entry.js} +2 -2
- package/dist/calcite/{p-b73dc693.system.entry.js → p-d971b686.system.entry.js} +2 -2
- package/dist/calcite/{p-1c325f2a.system.entry.js → p-d9b45067.system.entry.js} +2 -2
- package/dist/calcite/{p-01e1f264.entry.js → p-da6a0913.entry.js} +2 -2
- package/dist/calcite/{p-5da3e726.js → p-da94850f.js} +1 -1
- package/dist/calcite/{p-66a2952f.entry.js → p-db3dfce8.entry.js} +2 -2
- package/dist/calcite/{p-1b724a77.system.entry.js → p-e0ede12c.system.entry.js} +2 -2
- package/dist/calcite/{p-0ccdf105.js → p-e82cbd07.js} +2 -2
- package/dist/calcite/{p-3dc32ec2.system.entry.js → p-e9eda792.system.entry.js} +2 -2
- package/dist/calcite/{p-c54ba294.entry.js → p-eaa95d60.entry.js} +2 -2
- package/dist/calcite/{p-63e0068e.system.entry.js → p-eb98d3b4.system.entry.js} +3 -3
- package/dist/calcite/{p-1c0cfd52.js → p-ec837f19.js} +1 -1
- package/dist/calcite/{p-9d562b85.system.entry.js → p-f0a0767e.system.entry.js} +2 -2
- package/dist/calcite/{p-9f9dfe99.system.entry.js → p-f113931d.system.entry.js} +2 -2
- package/dist/calcite/{p-567888cc.system.js → p-f5136f1e.system.js} +2 -2
- package/dist/calcite/{p-96f9d00c.system.entry.js → p-f615f64c.system.entry.js} +2 -2
- package/dist/calcite/{p-27894e89.entry.js → p-f71aba0f.entry.js} +2 -2
- package/dist/calcite/{p-a716e34c.system.entry.js → p-f9a1a48a.system.entry.js} +2 -2
- package/dist/calcite/{p-a6e30a8f.system.entry.js → p-faa559cc.system.entry.js} +2 -2
- package/dist/calcite/{p-2d018297.system.entry.js → p-fc2ca3d5.system.entry.js} +2 -2
- package/dist/calcite/{p-9ebe47e9.entry.js → p-fe729df2.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-d01ba222.js → ExpandToggle-c45fbbbc.js} +5 -5
- package/dist/cjs/{Heading-5c8ae7c7.js → Heading-6a79a833.js} +2 -2
- package/dist/cjs/{app-globals-ac11ea69.js → app-globals-a76c821d.js} +2 -2
- package/dist/cjs/{array-1b1fee7a.js → array-1b1371d7.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +39 -21
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -10
- 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 +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- 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 +6 -6
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-d467cd45.js → conditionalSlot-63f9e933.js} +3 -3
- package/dist/cjs/{debounce-fdf01cb6.js → debounce-db04f159.js} +1 -1
- package/dist/cjs/{dom-3eb34325.js → dom-530979d1.js} +3 -3
- package/dist/cjs/{filter-55af528e.js → filter-ecca08af.js} +2 -2
- package/dist/cjs/{floating-ui-7329e890.js → floating-ui-52045ddd.js} +2 -2
- package/dist/cjs/{form-80db0b5f.js → form-39dc7b34.js} +3 -3
- package/dist/cjs/{guid-dc7f4ae8.js → guid-dcb35406.js} +1 -1
- package/dist/cjs/{index-371fa05d.js → index-cb24c63e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-0d5bf080.js → interactive-a60436a3.js} +1 -1
- package/dist/cjs/{interfaces-05dc4281.js → interfaces-26e59473.js} +1 -1
- package/dist/cjs/{key-7782fce0.js → key-9929dd90.js} +1 -1
- package/dist/cjs/{label-7d957162.js → label-410fae8b.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-c6c7e842.js → locale-686dc2e3.js} +2 -2
- package/dist/cjs/{math-77342528.js → math-d8584afe.js} +1 -1
- package/dist/cjs/{observers-42cebe54.js → observers-19af4c36.js} +1 -1
- package/dist/cjs/{openCloseComponent-d46fe480.js → openCloseComponent-9d03a227.js} +1 -1
- package/dist/cjs/{resources-ea6e7974.js → resources-4e4da352.js} +1 -1
- package/dist/cjs/{resources-6b16c623.js → resources-5256314c.js} +1 -1
- package/dist/cjs/{resources-4c96ffc6.js → resources-55988950.js} +1 -1
- package/dist/cjs/{resources-8d1dd980.js → resources-5bdfd65f.js} +1 -1
- package/dist/cjs/{resources-b5b9e02b.js → resources-cde318ce.js} +5 -5
- package/dist/cjs/{resources-08cedc9e.js → resources-d5c40764.js} +3 -3
- package/dist/cjs/{sortable.esm-e02e39de.js → sortable.esm-6a92fbe9.js} +1 -1
- package/dist/cjs/{utils-bdda9970.js → utils-cfd975aa.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/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/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/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/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-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +54 -13
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/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 +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/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/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/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/resources.js +1 -1
- package/dist/collection/utils/theme.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-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +31 -12
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +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/filter2.js +1 -1
- package/dist/components/floating-ui.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/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.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/resources4.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +31 -13
- package/dist/esm/{ExpandToggle-f1f93ed7.js → ExpandToggle-15ecef16.js} +5 -5
- package/dist/esm/{Heading-17772655.js → Heading-6a5e0377.js} +2 -2
- package/dist/esm/{app-globals-fd18e0c0.js → app-globals-fbcabc45.js} +2 -2
- package/dist/esm/{array-23601dc0.js → array-27566b5b.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +7 -7
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +10 -10
- package/dist/esm/calcite-dropdown_3.entry.js +10 -10
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +11 -11
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +13 -13
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +39 -21
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +10 -10
- 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 +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- 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 +6 -6
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -7
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-e4e51860.js → conditionalSlot-c13d92d1.js} +3 -3
- package/dist/esm/{debounce-f443feec.js → debounce-d9899f3d.js} +1 -1
- package/dist/esm/{dom-a8dad893.js → dom-b4cfb8da.js} +3 -3
- package/dist/esm/{filter-093821c0.js → filter-29eaf535.js} +2 -2
- package/dist/esm/{floating-ui-26990792.js → floating-ui-8bb9239d.js} +2 -2
- package/dist/esm/{form-08fd9bc5.js → form-e37fbddc.js} +3 -3
- package/dist/esm/{guid-b990c4d2.js → guid-9e2ecde3.js} +1 -1
- package/dist/esm/{index-8b5f2ff9.js → index-9fe2230d.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-e72598f1.js → interactive-28ddc5e1.js} +1 -1
- package/dist/esm/{interfaces-58f534e2.js → interfaces-45ce0b9a.js} +1 -1
- package/dist/esm/{key-9cbf7b92.js → key-c9731545.js} +1 -1
- package/dist/esm/{label-cd0fc1fd.js → label-5630bed0.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-26bd4f96.js → locale-56d82fea.js} +2 -2
- package/dist/esm/{math-519aad80.js → math-d5b956eb.js} +1 -1
- package/dist/esm/{observers-b2199b39.js → observers-5ea25daa.js} +1 -1
- package/dist/esm/{openCloseComponent-6cc92b6d.js → openCloseComponent-903807f0.js} +1 -1
- package/dist/esm/{resources-222b83b4.js → resources-318310b4.js} +1 -1
- package/dist/esm/{resources-08de72a5.js → resources-442f824b.js} +3 -3
- package/dist/esm/{resources-fcc173ea.js → resources-4dd316b5.js} +1 -1
- package/dist/esm/{resources-0fcef459.js → resources-9b017e4f.js} +1 -1
- package/dist/esm/{resources-11a525a9.js → resources-a7473fbc.js} +5 -5
- package/dist/esm/{resources-5784443c.js → resources-f45c84b3.js} +1 -1
- package/dist/esm/{sortable.esm-b374e5fb.js → sortable.esm-eab40785.js} +1 -1
- package/dist/esm/{utils-e80bf55b.js → utils-f485eaeb.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-f1f93ed7.js → ExpandToggle-15ecef16.js} +2 -2
- package/dist/esm-es5/Heading-6a5e0377.js +6 -0
- package/dist/esm-es5/{app-globals-fd18e0c0.js → app-globals-fbcabc45.js} +2 -2
- package/dist/esm-es5/{array-23601dc0.js → array-27566b5b.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-item.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-text.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 +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-e4e51860.js → conditionalSlot-c13d92d1.js} +2 -2
- package/dist/esm-es5/{debounce-f443feec.js → debounce-d9899f3d.js} +1 -1
- package/dist/esm-es5/{dom-a8dad893.js → dom-b4cfb8da.js} +2 -2
- package/dist/esm-es5/{filter-093821c0.js → filter-29eaf535.js} +2 -2
- package/dist/esm-es5/{floating-ui-26990792.js → floating-ui-8bb9239d.js} +2 -2
- package/dist/esm-es5/{form-08fd9bc5.js → form-e37fbddc.js} +2 -2
- package/dist/esm-es5/{guid-b990c4d2.js → guid-9e2ecde3.js} +1 -1
- package/dist/esm-es5/{index-8b5f2ff9.js → index-9fe2230d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-e72598f1.js → interactive-28ddc5e1.js} +1 -1
- package/dist/esm-es5/{interfaces-58f534e2.js → interfaces-45ce0b9a.js} +1 -1
- package/dist/esm-es5/{key-9cbf7b92.js → key-c9731545.js} +1 -1
- package/dist/esm-es5/{label-cd0fc1fd.js → label-5630bed0.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-26bd4f96.js → locale-56d82fea.js} +2 -2
- package/dist/esm-es5/{math-519aad80.js → math-d5b956eb.js} +1 -1
- package/dist/esm-es5/{observers-b2199b39.js → observers-5ea25daa.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-6cc92b6d.js → openCloseComponent-903807f0.js} +1 -1
- package/dist/esm-es5/{resources-222b83b4.js → resources-318310b4.js} +1 -1
- package/dist/esm-es5/{resources-08de72a5.js → resources-442f824b.js} +2 -2
- package/dist/esm-es5/{resources-fcc173ea.js → resources-4dd316b5.js} +1 -1
- package/dist/esm-es5/{resources-0fcef459.js → resources-9b017e4f.js} +1 -1
- package/dist/esm-es5/{resources-11a525a9.js → resources-a7473fbc.js} +2 -2
- package/dist/esm-es5/{resources-5784443c.js → resources-f45c84b3.js} +1 -1
- package/dist/esm-es5/{sortable.esm-b374e5fb.js → sortable.esm-eab40785.js} +1 -1
- package/dist/esm-es5/{utils-e80bf55b.js → utils-f485eaeb.js} +1 -1
- package/dist/extras/docs-json.json +26 -2
- 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/input-time-picker/input-time-picker.d.ts +9 -2
- package/dist/types/components.d.ts +10 -0
- package/hydrate/index.js +32 -13
- package/package.json +1 -1
- package/dist/calcite/p-0472246a.js +0 -6
- package/dist/calcite/p-14e6ae5b.entry.js +0 -6
- package/dist/calcite/p-711c3499.js +0 -6
- package/dist/calcite/p-72f5d36b.system.entry.js +0 -6
- package/dist/calcite/p-8a55c80a.js +0 -6
- package/dist/calcite/p-b6dc1fbb.js +0 -6
- package/dist/calcite/p-bd1fb33a.entry.js +0 -6
- package/dist/calcite/p-ce3da917.system.js +0 -6
- package/dist/calcite/p-ef95d6d7.system.js +0 -6
- package/dist/esm-es5/Heading-17772655.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.575
|
|
5
5
|
*/
|
|
6
6
|
var componentToTransitionListeners=new WeakMap;function transitionStart(n){if(n.propertyName===this.openTransitionProp&&n.target===this.transitionEl){this.open?this.onBeforeOpen():this.onBeforeClose()}}function transitionEnd(n){if(n.propertyName===this.openTransitionProp&&n.target===this.transitionEl){this.open?this.onOpen():this.onClose()}}function connectOpenCloseComponent(n){disconnectOpenCloseComponent(n);if(n.transitionEl){var t=transitionStart.bind(n);var e=transitionEnd.bind(n);componentToTransitionListeners.set(n,[n.transitionEl,t,e]);n.transitionEl.addEventListener("transitionstart",t);n.transitionEl.addEventListener("transitionend",e)}}function disconnectOpenCloseComponent(n){if(!componentToTransitionListeners.has(n)){return}var t=componentToTransitionListeners.get(n),e=t[0],o=t[1],i=t[2];e.removeEventListener("transitionstart",o);e.removeEventListener("transitionend",i);componentToTransitionListeners.delete(n)}export{connectOpenCloseComponent as c,disconnectOpenCloseComponent as d};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.575
|
|
5
5
|
*/
|
|
6
6
|
var SLOTS={menuActions:"menu-actions",menuTooltip:"menu-tooltip"};var TEXT={more:"More"};var ICONS={menu:"ellipsis"};export{ICONS as I,SLOTS as S,TEXT as T};
|
|
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e ins
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.
|
|
6
|
-
*/import{a as getAssetPath}from"./index-
|
|
5
|
+
* v1.0.0-next.575
|
|
6
|
+
*/import{a as getAssetPath}from"./index-9fe2230d.js";import{a as locales}from"./locale-56d82fea.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.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(!locales.includes(e)){e=e.split("-")[0]}}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/date-picker/nls/".concat(t,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(t,'" not found or invalid, falling back to english'));return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var o=!(n instanceof Date)||r<=n.getTime();return a&&o}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var o=n instanceof Date&&r>n.getTime();if(a){return t}if(o){return n}return e}function dateFromISO(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 dateToISO(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 sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(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 nextMonth(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 localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(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 parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var o=replaceArabicNumerals(e).split(n);return{day:parseInt(o[a.indexOf("d")]),month:parseInt(o[a.indexOf("m")])-1,year:parseInt(o[a.indexOf("y")])}}function replaceArabicNumerals(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 getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.575
|
|
5
5
|
*/
|
|
6
6
|
var CSS={menu:"menu",defaultTrigger:"default-trigger"};var SLOTS={tooltip:"tooltip",trigger:"trigger"};var ICONS={menu:"ellipsis"};export{CSS as C,ICONS as I,SLOTS as S};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.575
|
|
5
5
|
*/
|
|
6
6
|
var autoTheme="calcite-theme-auto";var darkTheme="calcite-theme-dark";var lightTheme="calcite-theme-light";var CSS_UTILITY={autoTheme:autoTheme,darkTheme:darkTheme,lightTheme:lightTheme,rtl:"calcite--rtl"};var TEXT={loading:"Loading"};export{CSS_UTILITY as C,TEXT as T,autoTheme as a,darkTheme as d};
|
|
@@ -2,5 +2,5 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e)
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.
|
|
6
|
-
*/import{f as focusElement,g as getSlotted,t as toAriaBoolean}from"./dom-
|
|
5
|
+
* v1.0.0-next.575
|
|
6
|
+
*/import{f as focusElement,g as getSlotted,t as toAriaBoolean}from"./dom-b4cfb8da.js";import{g as getRoundRobinIndex}from"./array-27566b5b.js";import{d as debounce}from"./debounce-d9899f3d.js";import{h,H as Host}from"./index-9fe2230d.js";var CSS$2={heading:"heading",container:"container",indented:"container--indented"};var SLOTS$2={parentItem:"parent-item"};var HEADING_LEVEL=3;function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteInternalListItemValueChangeHandler(e){var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}e.stopPropagation()}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=i.contains(e.relatedTarget);if(l){return}filterOutDisabled(n).forEach((function(t){toggleSingleSelectItemTabbing(t,r.size===0?t.contains(e.target)||e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=moveItemIndex(this,i,t==="ArrowUp"?"up":"down");var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function moveItemIndex(e,t,i){var n=e.items;var a=n.length;var r=n.indexOf(t);var l=i==="up"?-1:1;var s=1;var o=getRoundRobinIndex(r+l*s++,a);var c=o;while(n[o].disabled){o=getRoundRobinIndex(r+l*s++,a);if(o===c){break}}return o}function getItemIndex(e,t){var i=e.items;return i.indexOf(t)}function filterOutDisabled(e){return e.filter((function(e){return!e.disabled}))}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"&&t.slot===SLOTS$2.parentItem){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(e.disabled){return}if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r,l,s;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:o.sent();return[2];case 2:i=this,n=i.items,a=i.multiple,r=i.selectionFollowsFocus;if(n.length===0){return[2]}if(a){return[2,(t=filterOutDisabled(n)[0])===null||t===void 0?void 0:t.setFocus()]}l=filterOutDisabled(n);s=l.find((function(e){return e.selected}))||l[0];if(r&&s){s.selected=true}return[2,s.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a&&!a.disabled){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=i.dragEnabled,d=i.storeAssistiveEl,f=__rest(e,["props"]);var v=h("slot",null);return h(Host,__assign({"aria-busy":toAriaBoolean(a),role:"menu"},f),h("section",null,u?h("span",{"aria-live":"assertive",class:"assistive-text",ref:d}):null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a?h("calcite-scrim",{loading:a}):null,v))};var CSS={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"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,HEADING_LEVEL as H,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,getItemData as b,moveItemIndex as c,deselectRemovedItems as d,initializeObserver as e,cleanUpObserver as f,getItemIndex as g,handleFilter as h,initialize as i,calciteListFocusOutHandler as j,keyDownHandler as k,calciteListItemChangeHandler as l,mutationObserverCallback as m,calciteInternalListItemValueChangeHandler as n,setUpItems as o,setFocus as p,SLOTS$2 as q,removeItem as r,selectSiblings as s,CSS$2 as t,ICONS as u};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.575
|
|
5
5
|
*/
|
|
6
6
|
var CSS={backButton:"back-button",container:"container",header:"header",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",contentContainer:"content-container",contentHeight:"content-height",fabContainer:"fab-container",footer:"footer"};var ICONS={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"};var SLOTS={headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};var TEXT={back:"Back",close:"Close",open:"Open",options:"Options"};var HEADING_LEVEL=3;export{CSS as C,HEADING_LEVEL as H,ICONS as I,SLOTS as S,TEXT as T};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.575
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(r){var e=r.r,n=r.g,t=r.b;return"#".concat(e.toString(16).padStart(2,"0")).concat(n.toString(16).padStart(2,"0")).concat(t.toString(16).padStart(2,"0")).toLowerCase()}var hexChar=/^[0-9A-F]$/i;var shortHandHex=/^#[0-9A-F]{3}$/i;var longhandHex=/^#[0-9A-F]{6}$/i;function isValidHex(r){return isShorthandHex(r)||isLonghandHex(r)}function isShorthandHex(r){return r&&r.length===4&&shortHandHex.test(r)}function isLonghandHex(r){return r&&r.length===7&&longhandHex.test(r)}function normalizeHex(r){r=r.toLowerCase();if(!r.startsWith("#")){r="#".concat(r)}if(isShorthandHex(r)){return rgbToHex(hexToRGB(r))}return r}function hexToRGB(r){if(!isValidHex(r)){return null}r=r.replace("#","");if(r.length===3){var e=r.split(""),n=e[0],t=e[1],o=e[2];var a=parseInt("".concat(n).concat(n),16);var s=parseInt("".concat(t).concat(t),16);var i=parseInt("".concat(o).concat(o),16);return{r:a,g:s,b:i}}var h=parseInt(r.slice(0,2),16);var l=parseInt(r.slice(2,4),16);var S=parseInt(r.slice(4,6),16);return{r:h,g:l,b:S}}var enumify=function(r){return r};var CSSColorMode=enumify({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"});var ObjectColorMode=enumify({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function parseMode(r){if(typeof r==="string"){if(r.startsWith("#")){var e=r.length;if(e===4||e===7){return CSSColorMode.HEX}if(e===5||e===9){return CSSColorMode.HEXA}}if(r.startsWith("rgba(")){return CSSColorMode.RGBA_CSS}if(r.startsWith("rgb(")){return CSSColorMode.RGB_CSS}if(r.startsWith("hsl(")){return CSSColorMode.HSL_CSS}if(r.startsWith("hsla(")){return CSSColorMode.HSLA_CSS}}if(typeof r==="object"){if(hasChannels(r,"r","g","b")){return hasChannels(r,"a")?ObjectColorMode.RGBA:ObjectColorMode.RGB}if(hasChannels(r,"h","s","l")){return hasChannels(r,"a")?ObjectColorMode.HSLA:ObjectColorMode.HSL}if(hasChannels(r,"h","s","v")){return hasChannels(r,"a")?ObjectColorMode.HSVA:ObjectColorMode.HSV}}return null}function hasChannels(r){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return e.every((function(e){return e&&r&&"".concat(e)in r}))}function colorEqual(r,e){return(r===null||r===void 0?void 0:r.rgbNumber())===(e===null||e===void 0?void 0:e.rgbNumber())}export{CSSColorMode as C,isLonghandHex as a,hexChar as b,colorEqual as c,hexToRGB as h,isValidHex as i,normalizeHex as n,parseMode as p,rgbToHex as r};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-08-
|
|
2
|
+
"timestamp": "2022-08-27T18:58:55",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "2.16.1",
|
|
@@ -8184,6 +8184,7 @@
|
|
|
8184
8184
|
"filePath": "./src/components/flow-item/flow-item.tsx",
|
|
8185
8185
|
"encapsulation": "shadow",
|
|
8186
8186
|
"tag": "calcite-flow-item",
|
|
8187
|
+
"readme": "# calcite-flow-item\n",
|
|
8187
8188
|
"docs": "",
|
|
8188
8189
|
"docsTags": [
|
|
8189
8190
|
{
|
|
@@ -12190,8 +12191,14 @@
|
|
|
12190
12191
|
"attr": "active",
|
|
12191
12192
|
"reflectToAttr": true,
|
|
12192
12193
|
"docs": "The active state of the time input",
|
|
12193
|
-
"docsTags": [
|
|
12194
|
+
"docsTags": [
|
|
12195
|
+
{
|
|
12196
|
+
"name": "deprecated",
|
|
12197
|
+
"text": "Use open instead."
|
|
12198
|
+
}
|
|
12199
|
+
],
|
|
12194
12200
|
"default": "false",
|
|
12201
|
+
"deprecation": "Use open instead.",
|
|
12195
12202
|
"values": [
|
|
12196
12203
|
{
|
|
12197
12204
|
"type": "boolean"
|
|
@@ -12425,6 +12432,23 @@
|
|
|
12425
12432
|
"optional": false,
|
|
12426
12433
|
"required": false
|
|
12427
12434
|
},
|
|
12435
|
+
{
|
|
12436
|
+
"name": "open",
|
|
12437
|
+
"type": "boolean",
|
|
12438
|
+
"mutable": true,
|
|
12439
|
+
"attr": "open",
|
|
12440
|
+
"reflectToAttr": true,
|
|
12441
|
+
"docs": "When true, displays the `calcite-time-picker` component.",
|
|
12442
|
+
"docsTags": [],
|
|
12443
|
+
"default": "false",
|
|
12444
|
+
"values": [
|
|
12445
|
+
{
|
|
12446
|
+
"type": "boolean"
|
|
12447
|
+
}
|
|
12448
|
+
],
|
|
12449
|
+
"optional": false,
|
|
12450
|
+
"required": false
|
|
12451
|
+
},
|
|
12428
12452
|
{
|
|
12429
12453
|
"name": "placement",
|
|
12430
12454
|
"type": "Placement | AutoPlacement | VariationPlacement | DeprecatedPlacement",
|
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.575
|
|
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.575
|
|
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.575
|
|
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.575
|
|
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';
|
|
@@ -6,9 +6,16 @@ import { FormComponent } from "../../utils/form";
|
|
|
6
6
|
import { InteractiveComponent } from "../../utils/interactive";
|
|
7
7
|
export declare class InputTimePicker implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
8
8
|
el: HTMLCalciteInputTimePickerElement;
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* The active state of the time input
|
|
11
|
+
*
|
|
12
|
+
* @deprecated Use open instead.
|
|
13
|
+
*/
|
|
10
14
|
active: boolean;
|
|
11
|
-
activeHandler(): void;
|
|
15
|
+
activeHandler(value: boolean): void;
|
|
16
|
+
/** When true, displays the `calcite-time-picker` component.*/
|
|
17
|
+
open: boolean;
|
|
18
|
+
openHandler(value: boolean): void;
|
|
12
19
|
/** The disabled state of the time input */
|
|
13
20
|
disabled: boolean;
|
|
14
21
|
/**
|
|
@@ -2172,6 +2172,7 @@ export namespace Components {
|
|
|
2172
2172
|
interface CalciteInputTimePicker {
|
|
2173
2173
|
/**
|
|
2174
2174
|
* The active state of the time input
|
|
2175
|
+
* @deprecated Use open instead.
|
|
2175
2176
|
*/
|
|
2176
2177
|
"active": boolean;
|
|
2177
2178
|
/**
|
|
@@ -2234,6 +2235,10 @@ export namespace Components {
|
|
|
2234
2235
|
* The name of the time input
|
|
2235
2236
|
*/
|
|
2236
2237
|
"name": string;
|
|
2238
|
+
/**
|
|
2239
|
+
* When true, displays the `calcite-time-picker` component.
|
|
2240
|
+
*/
|
|
2241
|
+
"open": boolean;
|
|
2237
2242
|
/**
|
|
2238
2243
|
* Determines where the popover will be positioned relative to the input.
|
|
2239
2244
|
* @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)
|
|
@@ -7206,6 +7211,7 @@ declare namespace LocalJSX {
|
|
|
7206
7211
|
interface CalciteInputTimePicker {
|
|
7207
7212
|
/**
|
|
7208
7213
|
* The active state of the time input
|
|
7214
|
+
* @deprecated Use open instead.
|
|
7209
7215
|
*/
|
|
7210
7216
|
"active"?: boolean;
|
|
7211
7217
|
/**
|
|
@@ -7268,6 +7274,10 @@ declare namespace LocalJSX {
|
|
|
7268
7274
|
* Fires when the time value is changed as a result of user input.
|
|
7269
7275
|
*/
|
|
7270
7276
|
"onCalciteInputTimePickerChange"?: (event: CalciteInputTimePickerCustomEvent<string>) => void;
|
|
7277
|
+
/**
|
|
7278
|
+
* When true, displays the `calcite-time-picker` component.
|
|
7279
|
+
*/
|
|
7280
|
+
"open"?: boolean;
|
|
7271
7281
|
/**
|
|
7272
7282
|
* Determines where the popover will be positioned relative to the input.
|
|
7273
7283
|
* @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)
|
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.575
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -22458,8 +22458,14 @@ class InputTimePicker {
|
|
|
22458
22458
|
// Properties
|
|
22459
22459
|
//
|
|
22460
22460
|
//--------------------------------------------------------------------------
|
|
22461
|
-
/**
|
|
22461
|
+
/**
|
|
22462
|
+
* The active state of the time input
|
|
22463
|
+
*
|
|
22464
|
+
* @deprecated Use open instead.
|
|
22465
|
+
*/
|
|
22462
22466
|
this.active = false;
|
|
22467
|
+
/** When true, displays the `calcite-time-picker` component.*/
|
|
22468
|
+
this.open = false;
|
|
22463
22469
|
/** The disabled state of the time input */
|
|
22464
22470
|
this.disabled = false;
|
|
22465
22471
|
/**
|
|
@@ -22502,14 +22508,14 @@ class InputTimePicker {
|
|
|
22502
22508
|
//
|
|
22503
22509
|
//--------------------------------------------------------------------------
|
|
22504
22510
|
this.calciteInternalInputBlurHandler = () => {
|
|
22505
|
-
this.
|
|
22511
|
+
this.open = false;
|
|
22506
22512
|
const shouldIncludeSeconds = this.shouldIncludeSeconds();
|
|
22507
22513
|
const localizedInputValue = localizeTimeString(this.calciteInputEl.value, this.locale, shouldIncludeSeconds);
|
|
22508
22514
|
this.setInputValue(localizedInputValue || localizeTimeString(this.value, this.locale, shouldIncludeSeconds));
|
|
22509
22515
|
};
|
|
22510
22516
|
this.calciteInternalInputFocusHandler = (event) => {
|
|
22511
22517
|
if (!this.readOnly) {
|
|
22512
|
-
this.
|
|
22518
|
+
this.open = true;
|
|
22513
22519
|
event.stopPropagation();
|
|
22514
22520
|
}
|
|
22515
22521
|
};
|
|
@@ -22538,8 +22544,8 @@ class InputTimePicker {
|
|
|
22538
22544
|
event.preventDefault();
|
|
22539
22545
|
}
|
|
22540
22546
|
}
|
|
22541
|
-
if (key === "Escape" && this.
|
|
22542
|
-
this.
|
|
22547
|
+
if (key === "Escape" && this.open) {
|
|
22548
|
+
this.open = false;
|
|
22543
22549
|
event.preventDefault();
|
|
22544
22550
|
}
|
|
22545
22551
|
};
|
|
@@ -22598,16 +22604,20 @@ class InputTimePicker {
|
|
|
22598
22604
|
}
|
|
22599
22605
|
};
|
|
22600
22606
|
}
|
|
22601
|
-
activeHandler() {
|
|
22607
|
+
activeHandler(value) {
|
|
22608
|
+
this.open = value;
|
|
22609
|
+
}
|
|
22610
|
+
openHandler(value) {
|
|
22611
|
+
this.active = value;
|
|
22602
22612
|
if (this.disabled || this.readOnly) {
|
|
22603
|
-
this.
|
|
22613
|
+
this.open = false;
|
|
22604
22614
|
return;
|
|
22605
22615
|
}
|
|
22606
22616
|
this.reposition();
|
|
22607
22617
|
}
|
|
22608
22618
|
handleDisabledAndReadOnlyChange(value) {
|
|
22609
22619
|
if (!value) {
|
|
22610
|
-
this.
|
|
22620
|
+
this.open = false;
|
|
22611
22621
|
}
|
|
22612
22622
|
}
|
|
22613
22623
|
localeWatcher(newLocale) {
|
|
@@ -22628,13 +22638,13 @@ class InputTimePicker {
|
|
|
22628
22638
|
timePickerBlurHandler(event) {
|
|
22629
22639
|
event.preventDefault();
|
|
22630
22640
|
event.stopPropagation();
|
|
22631
|
-
this.
|
|
22641
|
+
this.open = false;
|
|
22632
22642
|
}
|
|
22633
22643
|
timePickerFocusHandler(event) {
|
|
22634
22644
|
event.preventDefault();
|
|
22635
22645
|
event.stopPropagation();
|
|
22636
22646
|
if (!this.readOnly) {
|
|
22637
|
-
this.
|
|
22647
|
+
this.open = true;
|
|
22638
22648
|
}
|
|
22639
22649
|
}
|
|
22640
22650
|
// --------------------------------------------------------------------------
|
|
@@ -22664,11 +22674,18 @@ class InputTimePicker {
|
|
|
22664
22674
|
//
|
|
22665
22675
|
//--------------------------------------------------------------------------
|
|
22666
22676
|
connectedCallback() {
|
|
22677
|
+
const { active, open } = this;
|
|
22667
22678
|
if (this.value) {
|
|
22668
22679
|
this.setValue({ value: isValidTime(this.value) ? this.value : undefined, origin: "loading" });
|
|
22669
22680
|
}
|
|
22670
22681
|
connectLabel(this);
|
|
22671
22682
|
connectForm(this);
|
|
22683
|
+
if (open) {
|
|
22684
|
+
this.active = open;
|
|
22685
|
+
}
|
|
22686
|
+
else if (active) {
|
|
22687
|
+
this.open = active;
|
|
22688
|
+
}
|
|
22672
22689
|
}
|
|
22673
22690
|
componentDidLoad() {
|
|
22674
22691
|
this.setInputValue(this.localizedValue);
|
|
@@ -22687,11 +22704,12 @@ class InputTimePicker {
|
|
|
22687
22704
|
// --------------------------------------------------------------------------
|
|
22688
22705
|
render() {
|
|
22689
22706
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
22690
|
-
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { id: popoverId, label: "Time Picker", open: this.
|
|
22707
|
+
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { id: popoverId, label: "Time Picker", open: this.open, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, hAsync("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
22691
22708
|
}
|
|
22692
22709
|
get el() { return getElement(this); }
|
|
22693
22710
|
static get watchers() { return {
|
|
22694
22711
|
"active": ["activeHandler"],
|
|
22712
|
+
"open": ["openHandler"],
|
|
22695
22713
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
22696
22714
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
22697
22715
|
"locale": ["localeWatcher"],
|
|
@@ -22703,6 +22721,7 @@ class InputTimePicker {
|
|
|
22703
22721
|
"$tagName$": "calcite-input-time-picker",
|
|
22704
22722
|
"$members$": {
|
|
22705
22723
|
"active": [1540],
|
|
22724
|
+
"open": [1540],
|
|
22706
22725
|
"disabled": [516],
|
|
22707
22726
|
"readOnly": [4, "read-only"],
|
|
22708
22727
|
"intlHour": [1, "intl-hour"],
|
|
@@ -22730,7 +22749,7 @@ class InputTimePicker {
|
|
|
22730
22749
|
},
|
|
22731
22750
|
"$listeners$": [[0, "click", "clickHandler"], [0, "calciteInternalTimePickerBlur", "timePickerBlurHandler"], [0, "calciteInternalTimePickerFocus", "timePickerFocusHandler"]],
|
|
22732
22751
|
"$lazyBundleId$": "-",
|
|
22733
|
-
"$attrsToReflect$": [["active", "active"], ["disabled", "disabled"], ["required", "required"], ["scale", "scale"], ["placement", "placement"]]
|
|
22752
|
+
"$attrsToReflect$": [["active", "active"], ["open", "open"], ["disabled", "disabled"], ["required", "required"], ["scale", "scale"], ["placement", "placement"]]
|
|
22734
22753
|
}; }
|
|
22735
22754
|
}
|
|
22736
22755
|
|
package/package.json
CHANGED
|
@@ -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.574
|
|
5
|
-
*/
|
|
6
|
-
import{d as e,a as t}from"./p-904eb1df.js";function n(){const{classList:n}=document.body,o=window.matchMedia("(prefers-color-scheme: dark)").matches,r=()=>n.contains(e)||n.contains(t)&&o?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:!0,detail:{theme:e}})),a=e=>{s!==e&&c(e),s=e};let s=r();c(s),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>a(e.matches?"dark":"light"))),new MutationObserver((()=>a(r()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const o=Function("try {return this===window;}catch(e){ return false;}"),r=function(){o()&&("interactive"===document.readyState?n():document.addEventListener("DOMContentLoaded",(()=>n()),{once:!0}))};export{r as g}
|
|
@@ -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.574
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as n,g as a}from"./p-afb86c1a.js";import{g as s}from"./p-7de25c76.js";import{i as r}from"./p-d70de307.js";import{c as o,d as c,g as l}from"./p-0ccdf105.js";import{s as h,c as u,d as m,H as d}from"./p-8a55c80a.js";import{u as p}from"./p-b21f44b7.js";import{n as f,i as b}from"./p-2256fb5a.js";import"./p-a7579427.js";import"./p-904eb1df.js";function w(t,i=!0){try{const e={hour:"2-digit",minute:"2-digit",timeZone:"UTC"};return i&&(e.second="2-digit"),new Intl.DateTimeFormat(t,e)}catch(i){throw new Error(`Invalid locale supplied while attempting to create a DateTime formatter: ${t}`)}}function k(t){const i=t.toString();return t>=0&&t<=9?i.padStart(2,"0"):i}function v(t){return y("meridiem",w(t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function y(t,i){var e,n,a,s;if(!t||!i)return null;if("hourSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"hour"===t))),n=i.indexOf(i.find((({type:t})=>"minute"===t))),a=i[t+1];return a&&"literal"===a.type&&n-t==2&&(null===(e=a.value)||void 0===e?void 0:e.trim())||null}if("minuteSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"minute"===t))),e=i.indexOf(i.find((({type:t})=>"second"===t))),a=i[t+1];return a&&"literal"===a.type&&e-t==2&&(null===(n=a.value)||void 0===n?void 0:n.trim())||null}if("secondSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"second"===t))),e=i[t+1];return e&&"literal"===e.type&&(null===(a=e.value)||void 0===a?void 0:a.trim())||null}return(null===(s=i.find((({type:i})=>"meridiem"==t?"dayPeriod"===i:i===t)))||void 0===s?void 0:s.value)||null}function x(t){if(!t||t.startsWith(":")||t.endsWith(":"))return!1;const i=t.split(":");if(!(i.length>1&&i.length<4))return!1;const[e,n,a]=i,s=parseInt(i[0]),o=parseInt(i[1]),c=parseInt(i[2]),l=r(e)&&s>=0&&s<24,h=r(n)&&o>=0&&o<60,u=r(a)&&c>=0&&c<60;return!!(l&&h&&!a||l&&h&&u)||void 0}function g(t,i,e){if(!function(t,i){if("meridiem"===i)return"AM"===t||"PM"===t;if(!r(t))return!1;const e=Number(t);return"hour"===i?e>=0&&e<24:e>=0&&e<60}(t,i))return;const n=parseInt(t),a=new Date(Date.UTC(0,0,0,"hour"===i?n:"meridiem"===i?"AM"===t?0:12:0,"minute"===i?n:0,"second"===i?n:0));return a?y(i,w(e).formatToParts(a)):void 0}function D(t,i="en",e=!0){if(!x(t))return null;const{hour:n,minute:a,second:s="0"}=M(t),r=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(a),parseInt(s))),o=w(i,e);return(null==o?void 0:o.format(r))||null}function I(t,i="en"){if(!x(t))return null;const{hour:e,minute:n,second:a="0"}=M(t),s=new Date(Date.UTC(0,0,0,parseInt(e),parseInt(n),parseInt(a)));if(s){const t=w(i).formatToParts(s);return{localizedHour:y("hour",t),localizedHourSuffix:y("hourSuffix",t),localizedMinute:y("minute",t),localizedMinuteSuffix:y("minuteSuffix",t),localizedSecond:y("second",t),localizedSecondSuffix:y("secondSuffix",t),localizedMeridiem:y("meridiem",t)}}return null}function M(t){if(x(t)){const[i,e,n]=t.split(":");return{hour:i,minute:e,second:n}}return{hour:null,minute:null,second:null}}const A=class{constructor(e){t(this,e),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.active=!1,this.disabled=!1,this.readOnly=!1,this.locale=document.documentElement.lang||navigator.language||"en",this.required=!1,this.scale="m",this.placement="auto",this.step=60,this.value=null,this.internalValueChange=!1,this.previousValidValue=null,this.referenceElementId=`input-time-picker-${s()}`,this.calciteInternalInputBlurHandler=()=>{this.active=!1;const t=this.shouldIncludeSeconds(),i=D(this.calciteInputEl.value,this.locale,t);this.setInputValue(i||D(this.value,this.locale,t))},this.calciteInternalInputFocusHandler=t=>{this.readOnly||(this.active=!0,t.stopPropagation())},this.calciteInputInputHandler=t=>{this.setValue({value:t.target.value})},this.timePickerChangeHandler=t=>{t.stopPropagation(),this.setValue({value:t.target.value,origin:"time-picker"})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;i||("Enter"===e&&h(this)&&t.preventDefault(),"Escape"===e&&this.active&&(this.active=!1,t.preventDefault()))},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=({value:t,origin:i="input"})=>{const e=this.value,n=function(t){if(!x(t))return null;const[i,e,n]=t.split(":"),a=k(parseInt(i)),s=k(parseInt(e));return n?`${a}:${s}:${k(parseInt(n))}`:`${a}:${s}`}(t),a=D(n,this.locale,this.shouldIncludeSeconds());this.internalValueChange="external"!==i&&"loading"!==i;const s="loading"!==i&&"external"!==i&&(t!==this.previousValidValue&&!t||!(this.previousValidValue||!n)||n!==this.previousValidValue&&n);t?(s&&(this.previousValidValue=n),n&&n!==this.value&&(this.value=n),this.localizedValue=a):(this.value=t,this.localizedValue=null),"time-picker"!==i&&"external"!==i||this.setInputValue(a),s&&(this.calciteInputTimePickerChange.emit().defaultPrevented?(this.internalValueChange=!1,this.value=e,this.setInputValue(e),this.previousValidValue=e):this.previousValidValue=n)}}activeHandler(){this.disabled||this.readOnly?this.active=!1:this.reposition()}handleDisabledAndReadOnlyChange(t){t||(this.active=!1)}localeWatcher(t){this.setInputValue(D(this.value,t,this.shouldIncludeSeconds()))}valueWatcher(t){this.internalValueChange||this.setValue({value:t,origin:"external"}),this.internalValueChange=!1}clickHandler(t){t.composedPath().includes(this.calciteTimePickerEl)||this.setFocus()}timePickerBlurHandler(t){t.preventDefault(),t.stopPropagation(),this.active=!1}timePickerFocusHandler(t){t.preventDefault(),t.stopPropagation(),this.readOnly||(this.active=!0)}async setFocus(){var t;null===(t=this.calciteInputEl)||void 0===t||t.setFocus()}async reposition(){var t;null===(t=this.popoverEl)||void 0===t||t.reposition()}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){this.value&&this.setValue({value:x(this.value)?this.value:void 0,origin:"loading"}),o(this),u(this)}componentDidLoad(){this.setInputValue(this.localizedValue)}disconnectedCallback(){c(this),m(this)}componentDidRender(){p(this)}render(){const t=`${this.referenceElementId}-popover`;return e(n,{onKeyDown:this.keyDownHandler},e("div",{"aria-controls":t,"aria-haspopup":"dialog","aria-label":this.name,"aria-owns":t,id:this.referenceElementId,role:"combobox"},e("calcite-input",{disabled:this.disabled,icon:"clock",label:l(this),onCalciteInputInput:this.calciteInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:this.readOnly,ref:this.setCalciteInputEl,scale:this.scale,step:this.step})),e("calcite-popover",{id:t,label:"Time Picker",open:this.active,placement:this.placement,ref:this.setCalcitePopoverEl,referenceElement:this.referenceElementId,triggerDisabled:!0},e("calcite-time-picker",{intlHour:this.intlHour,intlHourDown:this.intlHourDown,intlHourUp:this.intlHourUp,intlMeridiem:this.intlMeridiem,intlMeridiemDown:this.intlMeridiemDown,intlMeridiemUp:this.intlMeridiemUp,intlMinute:this.intlMinute,intlMinuteDown:this.intlMinuteDown,intlMinuteUp:this.intlMinuteUp,intlSecond:this.intlSecond,intlSecondDown:this.intlSecondDown,intlSecondUp:this.intlSecondUp,lang:this.locale,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,ref:this.setCalciteTimePickerEl,scale:this.scale,step:this.step,value:this.value})),e(d,{component:this}))}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],locale:["localeWatcher"],value:["valueWatcher"]}}};A.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const z={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},S=class{constructor(e){t(this,e),this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6),this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6),this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6),this.intlHour="Hour",this.intlHourDown="Decrease hour",this.intlHourUp="Increase hour",this.intlMeridiem="AM/PM",this.intlMeridiemDown="Decrease AM/PM",this.intlMeridiemUp="Increase AM/PM",this.intlMinute="Minute",this.intlMinuteDown="Decrease minute",this.intlMinuteUp="Increase minute",this.intlSecond="Second",this.intlSecondDown="Decrease second",this.intlSecondUp="Increase second",this.locale=document.documentElement.lang||navigator.language||"en",this.scale="m",this.step=60,this.value=null,this.showSecond=this.step<60,this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setValuePart("hour",t)},this.decrementMeridiem=()=>{this.setValuePart("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(r(this[t])){const e=parseInt(this[t]);i=0===e?59:e-1}else i=59;this.setValuePart(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.activeEl=t.currentTarget},this.hourDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementHour()},this.hourKeyDownHandler=t=>{const{key:i}=t;if(f.includes(i)){const t=parseInt(i);let e;if(r(this.hour))switch(this.hourCycle){case"12":e="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":e="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else e=t;this.setValuePart("hour",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":t.preventDefault()}},this.hourUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementHour()},this.incrementMeridiem=()=>{this.setValuePart("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=r(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setValuePart("hour",t)},this.incrementMinuteOrSecond=t=>{const i=r(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setValuePart(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.meridiemDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(t.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":t.preventDefault()}},this.meridiemUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMeridiem()},this.minuteDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMinute()},this.minuteKeyDownHandler=t=>{const{key:i}=t;if(f.includes(i)){const t=parseInt(i);let e;if(r(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("minute",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":t.preventDefault()}},this.minuteUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMinute()},this.secondDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementSecond()},this.secondKeyDownHandler=t=>{const{key:i}=t;if(f.includes(i)){const t=parseInt(i);let e;if(r(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("second",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":t.preventDefault()}},this.secondUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementSecond()},this.setHourEl=t=>this.hourEl=t,this.setMeridiemEl=t=>this.meridiemEl=t,this.setMinuteEl=t=>this.minuteEl=t,this.setSecondEl=t=>this.secondEl=t,this.setValue=(t,i=!0)=>{if(x(t)){const{hour:i,minute:e,second:n}=M(t),{localizedHour:a,localizedHourSuffix:s,localizedMinute:o,localizedMinuteSuffix:c,localizedSecond:l,localizedSecondSuffix:h,localizedMeridiem:u}=I(t,this.locale);if(this.localizedHour=a,this.localizedHourSuffix=s,this.localizedMinute=o,this.localizedMinuteSuffix=c,this.localizedSecond=l,this.localizedSecondSuffix=h,this.hour=i,this.minute=e,this.second=n,u){this.localizedMeridiem=u,this.meridiem=function(t){if(!r(t))return null;const i=parseInt(t);return i>=0&&i<=11?"AM":"PM"}(this.hour);const i=function(t,i="en"){if(!x(t))return null;const{hour:e,minute:n,second:a="0"}=M(t),s=new Date(Date.UTC(0,0,0,parseInt(e),parseInt(n),parseInt(a)));return s?w(i).formatToParts(s):null}(t,this.locale);this.meridiemOrder=this.getMeridiemOrder(i)}}else this.hour=null,this.localizedHour=null,this.localizedHourSuffix=null,this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=null,this.localizedSecond=null,this.localizedSecondSuffix=null,this.meridiem=null,this.minute=null,this.second=null,this.value=null;i&&this.calciteInternalTimePickerChange.emit()},this.setValuePart=(t,i,e=!0)=>{var n,a;if("meridiem"===t){if(this.meridiem=i,r(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=k(t-12));break;case"PM":t<12&&(this.hour=k(t+12))}this.localizedHour=g(this.hour,"hour",this.locale)}}else this[t]="number"==typeof i?k(i):i,this[`localized${a=t,a.charAt(0).toUpperCase()+a.slice(1)}`]=g(this[t],t,this.locale);this.value=this.hour&&this.minute?`${this.hour}:${this.minute}:${this.second&&this.showSecond?this.second:"00"}`:null,this.localizedMeridiem=this.value?(null===(n=I(this.value,this.locale))||void 0===n?void 0:n.localizedMeridiem)||null:g(this.meridiem,"meridiem",this.locale),e&&this.calciteInternalTimePickerChange.emit()}}localeWatcher(t){this.hourCycle=v(t),this.setValue(this.value,!1)}valueWatcher(t){this.setValue(t,!1)}hostBlurHandler(){this.calciteInternalTimePickerBlur.emit()}hostFocusHandler(){this.calciteInternalTimePickerFocus.emit()}keyDownHandler(t){const{defaultPrevented:i,key:e}=t;if(!i)switch(this.activeEl){case this.hourEl:"ArrowRight"===e&&(this.setFocus("minute"),t.preventDefault());break;case this.minuteEl:switch(e){case"ArrowLeft":this.setFocus("hour"),t.preventDefault();break;case"ArrowRight":60!==this.step?(this.setFocus("second"),t.preventDefault()):"12"===this.hourCycle&&(this.setFocus("meridiem"),t.preventDefault())}break;case this.secondEl:switch(e){case"ArrowLeft":this.setFocus("minute"),t.preventDefault();break;case"ArrowRight":"12"===this.hourCycle&&(this.setFocus("meridiem"),t.preventDefault())}break;case this.meridiemEl:switch(e){case"ArrowLeft":60!==this.step?(this.setFocus("second"),t.preventDefault()):(this.setFocus("minute"),t.preventDefault())}}}async setFocus(t){var i;null===(i=this[`${t||"hour"}El`])||void 0===i||i.focus()}buttonActivated(t){const{key:i}=t;return" "===i&&t.preventDefault(),b(i)}getMeridiemOrder(t){return t&&"ar"!==this.locale&&"he"!==this.locale?t.findIndex((t=>t.value===this.localizedMeridiem)):0}connectedCallback(){this.setValue(this.value,!1),this.hourCycle=v(this.locale)}render(){const t=r(this.hour),i="s"===this.scale||"m"===this.scale?"s":"m",n=r(this.minute),a=r(this.second),s="12"===this.hourCycle;return e("div",{class:{[z.timePicker]:!0,[z.showMeridiem]:s,[z.showSecond]:this.showSecond,[z[`scale-${this.scale}`]]:!0},dir:"ltr"},e("div",{class:z.column,role:"group"},e("span",{"aria-label":this.intlHourUp,class:{[z.button]:!0,[z.buttonHourUp]:!0,[z.buttonTopLeft]:!0},onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.intlHour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":t&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:{[z.input]:!0,[z.hour]:!0},onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:this.setHourEl,role:"spinbutton",tabIndex:0},this.localizedHour||"--"),e("span",{"aria-label":this.intlHourDown,class:{[z.button]:!0,[z.buttonHourDown]:!0,[z.buttonBottomLeft]:!0},onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:i}))),e("span",{class:z.delimiter},this.localizedHourSuffix),e("div",{class:z.column,role:"group"},e("span",{"aria-label":this.intlMinuteUp,class:{[z.button]:!0,[z.buttonMinuteUp]:!0},onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.intlMinute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":n&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:{[z.input]:!0,[z.minute]:!0},onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:this.setMinuteEl,role:"spinbutton",tabIndex:0},this.localizedMinute||"--"),e("span",{"aria-label":this.intlMinuteDown,class:{[z.button]:!0,[z.buttonMinuteDown]:!0},onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.showSecond&&e("span",{class:z.delimiter},this.localizedMinuteSuffix),this.showSecond&&e("div",{class:z.column,role:"group"},e("span",{"aria-label":this.intlSecondUp,class:{[z.button]:!0,[z.buttonSecondUp]:!0},onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.intlSecond,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":a&&parseInt(this.second)||"0","aria-valuetext":this.second,class:{[z.input]:!0,[z.second]:!0},onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:this.setSecondEl,role:"spinbutton",tabIndex:0},this.localizedSecond||"--"),e("span",{"aria-label":this.intlSecondDown,class:{[z.button]:!0,[z.buttonSecondDown]:!0},onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.localizedSecondSuffix&&e("span",{class:z.delimiter},this.localizedSecondSuffix),s&&e("div",{class:{[z.column]:!0,[z.meridiemStart]:0===this.meridiemOrder},role:"group"},e("span",{"aria-label":this.intlMeridiemUp,class:{[z.button]:!0,[z.buttonMeridiemUp]:!0,[z.buttonTopRight]:!0},onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.intlMeridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"PM"===this.meridiem?"2":"1","aria-valuetext":this.meridiem,class:{[z.input]:!0,[z.meridiem]:!0},onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:this.setMeridiemEl,role:"spinbutton",tabIndex:0},this.localizedMeridiem||"--"),e("span",{"aria-label":this.intlMeridiemDown,class:{[z.button]:!0,[z.buttonMeridiemDown]:!0,[z.buttonBottomRight]:!0},onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:i}))))}get el(){return a(this)}static get watchers(){return{locale:["localeWatcher"],value:["valueWatcher"]}}};S.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-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);border-radius:var(--calcite-border-radius)}.time-picker .column{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time-picker .meridiem--start{-ms-flex-order:-1;order:-1}.time-picker .button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:0.75rem;padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1rem;padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1.25rem;padding-inline-end:1.25rem}";export{A as calcite_input_time_picker,S as calcite_time_picker}
|
|
@@ -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.574
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-afb86c1a.js";function a(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(a,r)=>{const e=`h${a.level}`;return delete a.level,t(e,{...a},r)};export{r as H,a as c}
|