@esri/calcite-components 1.0.0-next.582 → 1.0.0-next.591
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/assets/icon/heart16.json +1 -0
- package/dist/calcite/assets/icon/heart16F.json +1 -0
- package/dist/calcite/assets/icon/heart24.json +1 -0
- package/dist/calcite/assets/icon/heart24F.json +1 -0
- package/dist/calcite/assets/icon/heart32.json +1 -0
- package/dist/calcite/assets/icon/heart32F.json +1 -0
- package/dist/calcite/assets/icon/i12X16.json +1 -0
- package/dist/calcite/assets/icon/i12X24.json +1 -0
- package/dist/calcite/assets/icon/i12X32.json +1 -0
- package/dist/calcite/assets/icon/i12XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i12XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i12XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i14X16.json +1 -0
- package/dist/calcite/assets/icon/i14X24.json +1 -0
- package/dist/calcite/assets/icon/i14X32.json +1 -0
- package/dist/calcite/assets/icon/i14XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i14XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i14XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i18X16.json +1 -0
- package/dist/calcite/assets/icon/i18X24.json +1 -0
- package/dist/calcite/assets/icon/i18X32.json +1 -0
- package/dist/calcite/assets/icon/i18XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i18XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i18XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i1X16.json +1 -0
- package/dist/calcite/assets/icon/i1X24.json +1 -0
- package/dist/calcite/assets/icon/i1X32.json +1 -0
- package/dist/calcite/assets/icon/i1XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i1XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i1XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i2X16.json +1 -0
- package/dist/calcite/assets/icon/i2X24.json +1 -0
- package/dist/calcite/assets/icon/i2X32.json +1 -0
- package/dist/calcite/assets/icon/i2XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i2XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i2XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i4X16.json +1 -0
- package/dist/calcite/assets/icon/i4X24.json +1 -0
- package/dist/calcite/assets/icon/i4X32.json +1 -0
- package/dist/calcite/assets/icon/i4XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i4XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i4XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i8X16.json +1 -0
- package/dist/calcite/assets/icon/i8X24.json +1 -0
- package/dist/calcite/assets/icon/i8X32.json +1 -0
- package/dist/calcite/assets/icon/i8XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i8XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i8XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/rhombus16.json +1 -0
- package/dist/calcite/assets/icon/rhombus24.json +1 -0
- package/dist/calcite/assets/icon/rhombus32.json +1 -0
- package/dist/calcite/assets/icon/rosette16.json +1 -0
- package/dist/calcite/assets/icon/rosette24.json +1 -0
- package/dist/calcite/assets/icon/rosette32.json +1 -0
- package/dist/calcite/assets/icon/roundedRectangle16.json +1 -0
- package/dist/calcite/assets/icon/roundedRectangle24.json +1 -0
- package/dist/calcite/assets/icon/roundedRectangle32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- 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-ca359984.entry.js → p-025d5627.entry.js} +2 -2
- package/dist/calcite/{p-f99d102f.system.js → p-03a312d6.system.js} +2 -2
- package/dist/calcite/{p-57651170.system.js → p-08d6befb.system.js} +1 -1
- package/dist/calcite/p-09d8ccfe.entry.js +6 -0
- package/dist/calcite/p-0a3088e1.entry.js +6 -0
- package/dist/calcite/p-0a51e54a.system.entry.js +6 -0
- package/dist/calcite/p-0ba9b8ba.system.entry.js +6 -0
- package/dist/calcite/p-0bb06c8e.system.entry.js +6 -0
- package/dist/calcite/p-0c9b9641.system.entry.js +6 -0
- package/dist/calcite/{p-cd5b7657.system.js → p-11a42bba.system.js} +2 -2
- package/dist/calcite/{p-12e50576.js → p-11c0afdd.js} +1 -1
- package/dist/calcite/{p-a055dba3.system.js → p-12bf747d.system.js} +1 -1
- package/dist/calcite/p-147a36dd.system.entry.js +6 -0
- package/dist/calcite/p-18cd493a.system.entry.js +6 -0
- package/dist/calcite/p-19db2717.system.entry.js +6 -0
- package/dist/calcite/p-1bc7684a.system.entry.js +6 -0
- package/dist/calcite/{p-0ecf827d.js → p-1c7b4f91.js} +1 -1
- package/dist/calcite/p-1cada3fb.system.entry.js +6 -0
- package/dist/calcite/p-208b6f5b.system.entry.js +6 -0
- package/dist/calcite/p-2311cf72.entry.js +6 -0
- package/dist/calcite/{p-18c10a64.system.js → p-255d50f3.system.js} +1 -1
- package/dist/calcite/p-2598f546.system.entry.js +6 -0
- package/dist/calcite/p-2659b40a.js +6 -0
- package/dist/calcite/p-27d5b749.system.entry.js +6 -0
- package/dist/calcite/{p-17ed4384.entry.js → p-284aa1c1.entry.js} +2 -2
- package/dist/calcite/p-2b605055.system.entry.js +6 -0
- package/dist/calcite/p-2b80e573.system.entry.js +6 -0
- package/dist/calcite/p-2be442b6.entry.js +6 -0
- package/dist/calcite/p-2f2c7215.entry.js +6 -0
- package/dist/calcite/p-30d702b8.system.entry.js +6 -0
- package/dist/calcite/{p-a8cae99f.entry.js → p-32f91823.entry.js} +2 -2
- package/dist/calcite/p-33177ed0.system.entry.js +6 -0
- package/dist/calcite/p-33ec68cd.entry.js +6 -0
- package/dist/calcite/{p-1b1b7f95.entry.js → p-3464c876.entry.js} +2 -2
- package/dist/calcite/{p-2d8d2bc3.js → p-34e3947b.js} +1 -1
- package/dist/calcite/p-353f51e6.js +6 -0
- package/dist/calcite/p-367263d3.system.entry.js +6 -0
- package/dist/calcite/{p-a28a85ba.js → p-3a5177e1.js} +1 -1
- package/dist/calcite/p-3c3ad70b.system.entry.js +6 -0
- package/dist/calcite/p-3dce59b2.system.entry.js +6 -0
- package/dist/calcite/{p-20d51326.js → p-3e839bb2.js} +1 -1
- package/dist/calcite/{p-f2a116c3.js → p-3ec1cb66.js} +1 -1
- package/dist/calcite/p-40d81bf5.system.entry.js +6 -0
- package/dist/calcite/{p-9bd2efca.system.js → p-429573be.system.js} +1 -1
- package/dist/calcite/{p-661d0327.system.entry.js → p-42aea2d0.system.entry.js} +2 -2
- package/dist/calcite/{p-bfa635aa.entry.js → p-42d77212.entry.js} +2 -2
- package/dist/calcite/p-43bae778.system.entry.js +6 -0
- package/dist/calcite/{p-bd3f71b3.js → p-452549ba.js} +2 -2
- package/dist/calcite/{p-d53af3e2.system.entry.js → p-46175024.system.entry.js} +2 -2
- package/dist/calcite/{p-4e349099.entry.js → p-47fe0351.entry.js} +2 -2
- package/dist/calcite/{p-b4d6884d.system.js → p-483efc2f.system.js} +1 -1
- package/dist/calcite/p-48574e5f.system.entry.js +6 -0
- package/dist/calcite/p-49146ea5.entry.js +6 -0
- package/dist/calcite/{p-603b4125.js → p-4a64c51c.js} +2 -2
- package/dist/calcite/p-4a8c8709.system.js +6 -0
- package/dist/calcite/p-4b2fa149.entry.js +6 -0
- package/dist/calcite/p-4b755de3.system.entry.js +6 -0
- package/dist/calcite/p-4f5d68e1.entry.js +6 -0
- package/dist/calcite/p-500f82ee.system.entry.js +6 -0
- package/dist/calcite/p-506018d1.entry.js +6 -0
- package/dist/calcite/p-50b908ad.entry.js +6 -0
- package/dist/calcite/{p-d6a1ad38.system.js → p-50e5c399.system.js} +1 -1
- package/dist/calcite/p-5122f645.entry.js +6 -0
- package/dist/calcite/{p-c14b6d51.system.js → p-51be0565.system.js} +1 -1
- package/dist/calcite/{p-31fe9129.entry.js → p-53581040.entry.js} +2 -2
- package/dist/calcite/{p-1b5b4129.entry.js → p-5589873b.entry.js} +2 -2
- package/dist/calcite/p-597e5a16.js +6 -0
- package/dist/calcite/{p-545ce743.js → p-5a18add9.js} +1 -1
- package/dist/calcite/{p-5fa63bed.js → p-5a5de09f.js} +1 -1
- package/dist/calcite/p-5aaaac1c.js +6 -0
- package/dist/calcite/p-5c0085ee.system.entry.js +6 -0
- package/dist/calcite/p-5d053b2f.system.entry.js +6 -0
- package/dist/calcite/{p-f3a4b03b.entry.js → p-5e4ecfa3.entry.js} +2 -2
- package/dist/calcite/{p-29c8e1a6.js → p-5e729ef6.js} +2 -2
- package/dist/calcite/{p-ca32932f.system.js → p-6015a727.system.js} +2 -2
- package/dist/calcite/{p-d21fd180.js → p-627c694c.js} +1 -1
- package/dist/calcite/{p-d5fc1f81.js → p-63718a44.js} +2 -2
- package/dist/calcite/p-63839f21.entry.js +6 -0
- package/dist/calcite/{p-182f08ed.js → p-6406231a.js} +2 -2
- package/dist/calcite/{p-c9b78750.js → p-66cb8205.js} +1 -1
- package/dist/calcite/p-66e25c83.system.entry.js +6 -0
- package/dist/calcite/{p-a91a76fb.entry.js → p-698a6a88.entry.js} +2 -2
- package/dist/calcite/{p-ab4a4f6e.system.js → p-6a1f134b.system.js} +2 -2
- package/dist/calcite/p-6b9cfbc9.entry.js +6 -0
- package/dist/calcite/p-6d8ff198.system.entry.js +6 -0
- package/dist/calcite/{p-f88c62d6.js → p-75604e66.js} +2 -2
- package/dist/calcite/p-77fda96a.entry.js +6 -0
- package/dist/calcite/p-78384902.entry.js +6 -0
- package/dist/calcite/p-7a67415d.entry.js +6 -0
- package/dist/calcite/p-7b3a2e0d.system.entry.js +6 -0
- package/dist/calcite/{p-c278dfc3.entry.js → p-7d39792d.entry.js} +2 -2
- package/dist/calcite/p-7e68b3e4.js +6 -0
- package/dist/calcite/p-7ecbd0c0.system.entry.js +6 -0
- package/dist/calcite/{p-5ef4827c.entry.js → p-7f4def9c.entry.js} +2 -2
- package/dist/calcite/{p-9deaec06.entry.js → p-80eb1003.entry.js} +2 -2
- package/dist/calcite/p-81da4da3.system.entry.js +6 -0
- package/dist/calcite/p-8398f1ec.entry.js +6 -0
- package/dist/calcite/{p-dfcb7ee3.system.entry.js → p-83c72dbb.system.entry.js} +2 -2
- package/dist/calcite/p-86bdc319.system.entry.js +6 -0
- package/dist/calcite/p-89b7c30c.entry.js +6 -0
- package/dist/calcite/p-8db74f6c.entry.js +6 -0
- package/dist/calcite/{p-94d37793.system.js → p-8ef22aa5.system.js} +1 -1
- package/dist/calcite/{p-d0734575.system.js → p-91f18e2f.system.js} +1 -1
- package/dist/calcite/p-92fd3026.system.entry.js +6 -0
- package/dist/calcite/{p-274dbad7.entry.js → p-9507ff20.entry.js} +2 -2
- package/dist/calcite/{p-279abaf1.system.js → p-95b0bdfa.system.js} +2 -2
- package/dist/calcite/p-95d28736.entry.js +6 -0
- package/dist/calcite/p-9677fbdb.entry.js +6 -0
- package/dist/calcite/{p-9281e57d.system.js → p-98086395.system.js} +1 -1
- package/dist/calcite/p-9a8bc555.entry.js +6 -0
- package/dist/calcite/p-9c83fe59.entry.js +6 -0
- package/dist/calcite/p-9de90e82.system.entry.js +6 -0
- package/dist/calcite/p-9eaeebda.system.js +6 -0
- package/dist/calcite/p-9fee4712.entry.js +6 -0
- package/dist/calcite/p-a6a5f435.entry.js +6 -0
- package/dist/calcite/{p-ad64211a.js → p-a714a841.js} +2 -2
- package/dist/calcite/p-a7621e7e.system.entry.js +6 -0
- package/dist/calcite/{p-7c8377f5.system.js → p-aaa324f3.system.js} +1 -1
- package/dist/calcite/p-b5ec2dc4.entry.js +6 -0
- package/dist/calcite/p-b62cb8fa.system.entry.js +6 -0
- package/dist/calcite/{p-6f56e56c.entry.js → p-b7b295e6.entry.js} +2 -2
- package/dist/calcite/p-b953dddf.system.entry.js +6 -0
- package/dist/calcite/p-b98988fe.system.entry.js +6 -0
- package/dist/calcite/{p-c8dab959.system.js → p-b9e73da9.system.js} +1 -1
- package/dist/calcite/p-bb0fefae.system.entry.js +6 -0
- package/dist/calcite/{p-ea23aca2.js → p-bd0a9278.js} +1 -1
- package/dist/calcite/p-be035275.system.entry.js +6 -0
- package/dist/calcite/{p-58b5721c.system.entry.js → p-befd8508.system.entry.js} +2 -2
- package/dist/calcite/{p-b555b13d.js → p-bf495102.js} +1 -1
- package/dist/calcite/{p-694ff37b.system.js → p-c1493788.system.js} +2 -2
- package/dist/calcite/p-c18cdc94.system.entry.js +6 -0
- package/dist/calcite/p-c24119de.system.entry.js +6 -0
- package/dist/calcite/{p-f135bf99.entry.js → p-c271626d.entry.js} +2 -2
- package/dist/calcite/p-c3597a0f.entry.js +6 -0
- package/dist/calcite/{p-0ff77d9e.system.js → p-c3b6fa6e.system.js} +1 -1
- package/dist/calcite/p-c53bcdfd.system.js +6 -0
- package/dist/calcite/p-c5d232b5.entry.js +6 -0
- package/dist/calcite/{p-99a31d6b.system.js → p-c9fdb4e7.system.js} +1 -1
- package/dist/calcite/p-ca9980d9.system.entry.js +6 -0
- package/dist/calcite/{p-f700fbe6.entry.js → p-cae41cf0.entry.js} +2 -2
- package/dist/calcite/p-cb2ae2b3.entry.js +6 -0
- package/dist/calcite/p-cd54fec4.system.entry.js +6 -0
- package/dist/calcite/p-cf2a2d6b.entry.js +6 -0
- package/dist/calcite/p-d37e8c16.entry.js +6 -0
- package/dist/calcite/{p-5cbd1d05.entry.js → p-d8ac938c.entry.js} +2 -2
- package/dist/calcite/p-d8b9b76d.system.entry.js +6 -0
- package/dist/calcite/{p-61b467ff.entry.js → p-da2cb40f.entry.js} +2 -2
- package/dist/calcite/p-dc5c0b55.entry.js +6 -0
- package/dist/calcite/{p-73be60ce.js → p-ddb3de1b.js} +1 -1
- package/dist/calcite/p-de47c58a.system.entry.js +6 -0
- package/dist/calcite/p-dfdf0722.system.entry.js +6 -0
- package/dist/calcite/{p-098ff3d1.system.js → p-e0ea716d.system.js} +1 -1
- package/dist/calcite/{p-48c54c7d.system.entry.js → p-e1cfdc4f.system.entry.js} +2 -2
- package/dist/calcite/p-e1f0e955.system.entry.js +6 -0
- package/dist/calcite/p-e20a6a0a.entry.js +6 -0
- package/dist/calcite/p-e233dbb9.entry.js +6 -0
- package/dist/calcite/p-e3630229.entry.js +6 -0
- package/dist/calcite/{p-7dc5887a.system.entry.js → p-e3ea1fcf.system.entry.js} +2 -2
- package/dist/calcite/p-e632dfcd.system.entry.js +6 -0
- package/dist/calcite/{p-7bc15ada.system.js → p-e95cbe81.system.js} +1 -1
- package/dist/calcite/p-e9839b8d.entry.js +6 -0
- package/dist/calcite/p-e9bbcfca.system.entry.js +6 -0
- package/dist/calcite/p-e9ff1274.entry.js +6 -0
- package/dist/calcite/p-ea510d57.system.entry.js +6 -0
- package/dist/calcite/p-ee676611.system.entry.js +6 -0
- package/dist/calcite/p-ef7deab6.system.entry.js +6 -0
- package/dist/calcite/{p-4f5cb52e.system.js → p-f0bf4471.system.js} +2 -2
- package/dist/calcite/p-f5716270.entry.js +6 -0
- package/dist/calcite/{p-1afc3e11.js → p-f5ed8311.js} +1 -1
- package/dist/calcite/p-f61726b5.system.js +6 -0
- package/dist/calcite/{p-18729d36.entry.js → p-f81dc6dd.entry.js} +2 -2
- package/dist/calcite/p-f91b05e7.entry.js +6 -0
- package/dist/calcite/{p-0cc2b66e.system.js → p-fb18785d.system.js} +2 -2
- package/dist/calcite/p-fc6dc88d.system.js +6 -0
- package/dist/calcite/{p-1fe080cb.js → p-fcdd8aa5.js} +1 -1
- package/dist/calcite/{p-0cc68113.system.js → p-fcf79734.system.js} +1 -1
- package/dist/calcite/p-fd163fa4.system.entry.js +6 -0
- package/dist/calcite/{p-7c44afe7.js → p-fee01bc3.js} +1 -1
- package/dist/cjs/{ExpandToggle-54212980.js → ExpandToggle-fcb43d53.js} +5 -5
- package/dist/cjs/{Heading-5929aab8.js → Heading-ce160f8e.js} +2 -2
- package/dist/cjs/{app-globals-aca3470f.js → app-globals-668eee5e.js} +8 -4
- package/dist/cjs/{array-3ee32b53.js → array-9cf5b027.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action.cjs.entry.js +23 -9
- package/dist/cjs/calcite-alert.cjs.entry.js +8 -8
- package/dist/cjs/calcite-avatar.cjs.entry.js +10 -11
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +25 -24
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +25 -23
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +23 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -16
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +33 -27
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +39 -32
- package/dist/cjs/calcite-input-text.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +83 -58
- package/dist/cjs/calcite-input.cjs.entry.js +40 -33
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +9 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -12
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-popover_2.cjs.entry.js +23 -21
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +21 -13
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +22 -20
- package/dist/cjs/calcite-tree_2.cjs.entry.js +13 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-de7d5c07.js → conditionalSlot-58574bf4.js} +3 -3
- package/dist/cjs/{debounce-e972ebe7.js → debounce-0b1514d7.js} +1 -1
- package/dist/cjs/{dom-8cac60ba.js → dom-699a586a.js} +3 -3
- package/dist/cjs/{filter-644f7cdb.js → filter-34536126.js} +2 -2
- package/dist/cjs/{floating-ui-d083f38f.js → floating-ui-880cd922.js} +5 -51
- package/dist/cjs/{form-fa762a8b.js → form-48cc9c12.js} +3 -3
- package/dist/cjs/{locale-554a2c95.js → globalAttributes-ecb4e82c.js} +75 -2
- package/dist/cjs/{guid-6dcc12e9.js → guid-9aa34489.js} +1 -1
- package/dist/cjs/{index-5412affa.js → index-00cc8a14.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-40b9e879.js → interactive-0e71d74d.js} +1 -1
- package/dist/cjs/{interfaces-1b0e0a36.js → interfaces-f0a71749.js} +1 -1
- package/dist/cjs/{key-ad8390a1.js → key-f88d783b.js} +1 -1
- package/dist/cjs/{label-77feed87.js → label-e6e6b625.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{math-418e778f.js → math-2cc4dae7.js} +1 -1
- package/dist/cjs/{observers-5771e68f.js → observers-fcf86bf2.js} +1 -1
- package/dist/cjs/{openCloseComponent-bccbbdd3.js → openCloseComponent-13872644.js} +1 -1
- package/dist/cjs/{resources-d8d4848e.js → resources-22801dc0.js} +1 -1
- package/dist/cjs/{resources-7a37c911.js → resources-2515810c.js} +6 -6
- package/dist/cjs/{resources-c46cc45d.js → resources-795c87e8.js} +1 -1
- package/dist/cjs/{resources-0ad083b0.js → resources-83603040.js} +1 -1
- package/dist/cjs/{resources-d11b3479.js → resources-bd3d9d2d.js} +5 -5
- package/dist/cjs/{resources-b0dcd1b8.js → resources-e6b451dc.js} +1 -1
- package/dist/cjs/{sortable.esm-2c0694bc.js → sortable.esm-4c346007.js} +1 -1
- package/dist/cjs/{utils-1f0ae80b.js → utils-f49f1738.js} +1 -1
- package/dist/collection/components/accordion/accordion.css +5 -0
- package/dist/collection/components/accordion/accordion.e2e.js +183 -0
- 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.css +6 -2
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +8 -0
- 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.css +5 -0
- package/dist/collection/components/action/action.e2e.js +93 -0
- package/dist/collection/components/action/action.js +16 -4
- package/dist/collection/components/action/resources.js +4 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -0
- package/dist/collection/components/action-bar/action-bar.e2e.js +290 -0
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- 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.css +5 -0
- package/dist/collection/components/action-group/action-group.e2e.js +23 -0
- 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.css +5 -0
- package/dist/collection/components/action-menu/action-menu.e2e.js +153 -0
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -0
- package/dist/collection/components/action-pad/action-pad.e2e.js +178 -0
- 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.css +5 -0
- package/dist/collection/components/alert/alert.e2e.js +294 -0
- package/dist/collection/components/alert/alert.js +3 -3
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -0
- package/dist/collection/components/avatar/avatar.e2e.js +55 -0
- package/dist/collection/components/avatar/avatar.js +9 -10
- package/dist/collection/components/avatar/avatar.spec.js +42 -0
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +6 -1
- package/dist/collection/components/block/block.e2e.js +194 -0
- package/dist/collection/components/block/block.js +4 -4
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -0
- package/dist/collection/components/block-section/block-section.e2e.js +132 -0
- 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.css +9 -6
- package/dist/collection/components/button/button.e2e.js +529 -0
- package/dist/collection/components/button/button.js +5 -5
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +9 -0
- package/dist/collection/components/card/card.e2e.js +87 -0
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -0
- package/dist/collection/components/checkbox/checkbox.e2e.js +105 -0
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/chip/chip.css +5 -0
- package/dist/collection/components/chip/chip.e2e.js +149 -0
- 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.css +5 -0
- package/dist/collection/components/color-picker/color-picker.e2e.js +1068 -0
- package/dist/collection/components/color-picker/color-picker.js +15 -11
- 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/utils.spec.js +66 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +281 -0
- 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.css +5 -0
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +71 -0
- 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.css +5 -0
- package/dist/collection/components/combobox/combobox.e2e.js +1043 -0
- package/dist/collection/components/combobox/combobox.js +15 -14
- 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.css +7 -4
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +7 -0
- package/dist/collection/components/combobox-item/combobox-item.js +5 -5
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -0
- 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.css +5 -0
- package/dist/collection/components/date-picker/date-picker.e2e.js +195 -0
- package/dist/collection/components/date-picker/date-picker.js +28 -15
- 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/utils.spec.js +55 -0
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -0
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +16 -0
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -0
- 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.css +5 -0
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +72 -0
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +8 -18
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -0
- package/dist/collection/components/dropdown/dropdown.e2e.js +1030 -0
- package/dist/collection/components/dropdown/dropdown.js +16 -14
- 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.css +5 -0
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +5 -0
- 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.css +9 -8
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +6 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -0
- package/dist/collection/components/fab/fab.e2e.js +114 -0
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -0
- package/dist/collection/components/filter/filter.e2e.js +205 -0
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -0
- package/dist/collection/components/flow/flow.e2e.js +166 -0
- 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.css +5 -0
- package/dist/collection/components/flow-item/flow-item.e2e.js +70 -0
- package/dist/collection/components/flow-item/flow-item.js +55 -9
- 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/functional/Heading.spec.js +33 -0
- package/dist/collection/components/graph/graph.css +5 -0
- package/dist/collection/components/graph/graph.e2e.js +69 -0
- package/dist/collection/components/graph/graph.js +3 -3
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -0
- package/dist/collection/components/handle/handle.e2e.js +30 -0
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/heart16.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart16F.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart24.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart24F.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart32.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart32F.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rhombus16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rhombus24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rhombus32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rosette16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rosette24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rosette32.json +1 -0
- package/dist/collection/components/icon/assets/icon/roundedRectangle16.json +1 -0
- package/dist/collection/components/icon/assets/icon/roundedRectangle24.json +1 -0
- package/dist/collection/components/icon/assets/icon/roundedRectangle32.json +1 -0
- package/dist/collection/components/icon/icon.css +5 -0
- package/dist/collection/components/icon/icon.e2e.js +75 -0
- 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/icon/utils.spec.js +61 -0
- package/dist/collection/components/inline-editable/inline-editable.css +5 -0
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +327 -0
- 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.css +5 -0
- package/dist/collection/components/input/input.e2e.js +1192 -0
- package/dist/collection/components/input/input.js +35 -21
- 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.css +5 -0
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +295 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +42 -27
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -0
- package/dist/collection/components/input-message/input-message.e2e.js +122 -0
- 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.css +5 -0
- package/dist/collection/components/input-number/input-number.e2e.js +1004 -0
- package/dist/collection/components/input-number/input-number.js +34 -20
- 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.css +5 -0
- package/dist/collection/components/input-text/input-text.e2e.js +276 -0
- package/dist/collection/components/input-text/input-text.js +6 -6
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -0
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +241 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +66 -21
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +5 -0
- package/dist/collection/components/label/label.e2e.js +156 -0
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -0
- package/dist/collection/components/link/link.e2e.js +257 -0
- package/dist/collection/components/link/link.js +3 -3
- package/dist/collection/components/list/list.css +5 -0
- package/dist/collection/components/list/list.e2e.js +32 -0
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -0
- package/dist/collection/components/list-item/list-item.e2e.js +46 -0
- 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.css +5 -0
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +16 -0
- package/dist/collection/components/list-item-group/list-item-group.js +2 -2
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +9 -4
- package/dist/collection/components/loader/loader.e2e.js +49 -0
- package/dist/collection/components/loader/loader.js +2 -2
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +5 -0
- package/dist/collection/components/modal/modal.e2e.js +382 -0
- package/dist/collection/components/modal/modal.js +5 -5
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -0
- package/dist/collection/components/notice/notice.e2e.js +127 -0
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -0
- package/dist/collection/components/option/option.e2e.js +56 -0
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -0
- package/dist/collection/components/option-group/option-group.e2e.js +26 -0
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -0
- package/dist/collection/components/pagination/pagination.e2e.js +208 -0
- package/dist/collection/components/pagination/pagination.js +7 -7
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -0
- package/dist/collection/components/panel/panel.e2e.js +279 -0
- package/dist/collection/components/panel/panel.js +24 -5
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -0
- package/dist/collection/components/pick-list/pick-list.e2e.js +157 -0
- package/dist/collection/components/pick-list/pick-list.js +3 -3
- 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/shared-list-tests.js +463 -0
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -0
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +54 -0
- package/dist/collection/components/pick-list-group/pick-list-group.js +2 -2
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -0
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +124 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
- 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.css +5 -0
- package/dist/collection/components/popover/popover.e2e.js +454 -0
- package/dist/collection/components/popover/popover.js +15 -13
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.css +5 -0
- package/dist/collection/components/popover-manager/popover-manager.e2e.js +38 -0
- package/dist/collection/components/popover-manager/popover-manager.js +2 -2
- package/dist/collection/components/progress/progress.css +7 -1
- package/dist/collection/components/progress/progress.e2e.js +7 -0
- package/dist/collection/components/progress/progress.js +3 -3
- package/dist/collection/components/radio-button/radio-button.css +5 -0
- package/dist/collection/components/radio-button/radio-button.e2e.js +332 -0
- 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.css +5 -0
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +384 -0
- 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.css +5 -0
- package/dist/collection/components/radio-group/radio-group.e2e.js +258 -0
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/radio-group-item/radio-group-item.css +5 -0
- package/dist/collection/components/radio-group-item/radio-group-item.e2e.js +92 -0
- 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.css +5 -0
- package/dist/collection/components/rating/rating.e2e.js +450 -0
- 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.css +5 -0
- package/dist/collection/components/scrim/scrim.e2e.js +122 -0
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -0
- package/dist/collection/components/select/select.e2e.js +266 -0
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -0
- package/dist/collection/components/shell/shell.e2e.js +126 -0
- 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.css +5 -0
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +66 -0
- 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.css +5 -0
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +282 -0
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -0
- package/dist/collection/components/slider/slider.e2e.js +645 -0
- package/dist/collection/components/slider/slider.js +7 -7
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -0
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +57 -0
- package/dist/collection/components/sortable-list/sortable-list.js +5 -5
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -0
- package/dist/collection/components/split-button/split-button.e2e.js +206 -0
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -0
- package/dist/collection/components/stepper/stepper.e2e.js +558 -0
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +6 -2
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +6 -0
- package/dist/collection/components/stepper-item/stepper-item.js +2 -2
- package/dist/collection/components/switch/switch.css +5 -0
- package/dist/collection/components/switch/switch.e2e.js +91 -0
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -0
- package/dist/collection/components/tab/tab.e2e.js +49 -0
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -0
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +143 -0
- package/dist/collection/components/tab-nav/tab-nav.js +12 -3
- package/dist/collection/components/tab-title/tab-title.css +6 -2
- package/dist/collection/components/tab-title/tab-title.e2e.js +222 -0
- package/dist/collection/components/tab-title/tab-title.js +25 -3
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -0
- package/dist/collection/components/tabs/tabs.e2e.js +281 -0
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -0
- package/dist/collection/components/tile/tile.e2e.js +79 -0
- 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.css +5 -0
- package/dist/collection/components/tile-select/tile-select.e2e.js +133 -0
- 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.css +5 -0
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +14 -0
- 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.css +5 -0
- package/dist/collection/components/time-picker/time-picker.e2e.js +737 -0
- package/dist/collection/components/time-picker/time-picker.js +47 -25
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -0
- package/dist/collection/components/tip/tip.e2e.js +42 -0
- package/dist/collection/components/tip/tip.js +2 -2
- package/dist/collection/components/tip-group/tip-group.css +5 -0
- package/dist/collection/components/tip-group/tip-group.e2e.js +6 -0
- 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.css +5 -0
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +176 -0
- package/dist/collection/components/tip-manager/tip-manager.js +2 -2
- package/dist/collection/components/tip-manager/tip-manager.spec.js +13 -0
- package/dist/collection/components/tooltip/TooltipManager.js +7 -7
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -0
- package/dist/collection/components/tooltip/tooltip.e2e.js +359 -0
- package/dist/collection/components/tooltip/tooltip.js +12 -10
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +5 -0
- package/dist/collection/components/tooltip-manager/tooltip-manager.e2e.js +19 -0
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -2
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -0
- package/dist/collection/components/tree/tree.e2e.js +586 -0
- 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.css +16 -8
- package/dist/collection/components/tree-item/tree-item.e2e.js +302 -0
- package/dist/collection/components/tree-item/tree-item.js +5 -2
- 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.css +5 -0
- package/dist/collection/components/value-list/value-list.e2e.js +205 -0
- package/dist/collection/components/value-list/value-list.js +3 -3
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -0
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +96 -0
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/demos/_assets/demo-dom-swapper.js +45 -0
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +24 -0
- package/dist/collection/demos/_assets/head.js +48 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/tests/commonTests.js +596 -0
- package/dist/collection/tests/utils.js +182 -0
- 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/date.spec.js +153 -0
- package/dist/collection/utils/dom.e2e.js +107 -0
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +273 -0
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +2 -1
- package/dist/collection/utils/floating-ui.spec.js +23 -0
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +16 -0
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalAttributes.spec.js +36 -0
- package/dist/collection/utils/globalScript.js +7 -3
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +7 -0
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +20 -0
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +188 -0
- package/dist/collection/utils/locale.js +10 -1
- package/dist/collection/utils/locale.spec.js +44 -0
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +8 -0
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +113 -0
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/popper.js +121 -0
- 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 +2 -2
- package/dist/components/action-menu.js +3 -3
- package/dist/components/action.js +18 -4
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +6 -6
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +3 -3
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +4 -4
- package/dist/components/calcite-avatar.js +10 -11
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +5 -5
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- 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 +12 -11
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +6 -6
- package/dist/components/calcite-combobox.js +16 -15
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +4 -4
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +3 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +39 -21
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +2 -2
- package/dist/components/calcite-input-date-picker.js +32 -25
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +26 -18
- package/dist/components/calcite-input-text.js +7 -7
- package/dist/components/calcite-input-time-picker.js +33 -18
- 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 +3 -3
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +3 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +6 -6
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +8 -9
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +4 -4
- package/dist/components/calcite-popover-manager.js +3 -3
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +9 -10
- package/dist/components/calcite-sortable-list.js +6 -6
- package/dist/components/calcite-split-button.js +3 -3
- package/dist/components/calcite-stepper-item.js +3 -3
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +3 -3
- package/dist/components/calcite-tooltip.js +2 -367
- package/dist/components/calcite-tree-item.js +6 -3
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +4 -4
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +9 -3
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +18 -14
- 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 +17 -15
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +4 -51
- package/dist/components/form.js +1 -1
- package/dist/components/globalAttributes.js +258 -2
- package/dist/components/graph.js +4 -4
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +7 -3
- package/dist/components/input.js +26 -18
- 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 +3 -3
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +4 -4
- package/dist/components/loader.js +3 -3
- 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 +6 -4
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +16 -14
- package/dist/components/progress.js +4 -4
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +3 -3
- package/dist/components/tab-nav.js +8 -5
- package/dist/components/tab-title.js +9 -4
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +38 -25
- package/dist/components/tooltip.js +375 -0
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +441 -382
- package/dist/esm/{ExpandToggle-5dec20d4.js → ExpandToggle-2e4189cd.js} +5 -5
- package/dist/esm/{Heading-35286d74.js → Heading-2bc1bea6.js} +2 -2
- package/dist/esm/{app-globals-426f10d1.js → app-globals-82059e09.js} +8 -4
- package/dist/esm/{array-ff3ae451.js → array-08fbb3f5.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-action-bar.entry.js +12 -12
- package/dist/esm/calcite-action-group.entry.js +10 -10
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -11
- package/dist/esm/calcite-action.entry.js +23 -9
- package/dist/esm/calcite-alert.entry.js +8 -8
- package/dist/esm/calcite-avatar.entry.js +10 -11
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip.entry.js +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +16 -15
- package/dist/esm/calcite-combobox_3.entry.js +25 -24
- package/dist/esm/calcite-date-picker_4.entry.js +28 -18
- package/dist/esm/calcite-dropdown_3.entry.js +25 -23
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +23 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +14 -15
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +33 -27
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-number.entry.js +29 -22
- package/dist/esm/calcite-input-text.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker_2.entry.js +68 -43
- package/dist/esm/calcite-input.entry.js +29 -22
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +9 -9
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +8 -9
- package/dist/esm/calcite-panel.entry.js +14 -12
- package/dist/esm/calcite-pick-list_3.entry.js +15 -15
- package/dist/esm/calcite-popover_2.entry.js +23 -21
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +8 -8
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +21 -13
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip_2.entry.js +22 -20
- package/dist/esm/calcite-tree_2.entry.js +13 -10
- package/dist/esm/calcite-value-list_2.entry.js +14 -14
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-aa5fce99.js → conditionalSlot-a0ea6d66.js} +3 -3
- package/dist/esm/{debounce-c6ed39b7.js → debounce-69f262c1.js} +1 -1
- package/dist/esm/{dom-911900d4.js → dom-831ad333.js} +3 -3
- package/dist/esm/{filter-1c3959b4.js → filter-9e7dace0.js} +2 -2
- package/dist/esm/{floating-ui-96107985.js → floating-ui-298370ea.js} +5 -52
- package/dist/esm/{form-88d4f177.js → form-f108307b.js} +3 -3
- package/dist/{components/locale.js → esm/globalAttributes-2291d4b1.js} +73 -3
- package/dist/esm/{guid-55509439.js → guid-9cefc065.js} +1 -1
- package/dist/esm/{index-97813f72.js → index-0c0c17d1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-1b52954c.js → interactive-ae0a4398.js} +1 -1
- package/dist/esm/{interfaces-6ec5b73c.js → interfaces-19157cc4.js} +1 -1
- package/dist/esm/{key-ce5f60d6.js → key-7e74c6b9.js} +1 -1
- package/dist/esm/{label-2d423b2b.js → label-330899e1.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{math-0bd49a82.js → math-8ba11ebb.js} +1 -1
- package/dist/esm/{observers-404bdaf4.js → observers-efe84af7.js} +1 -1
- package/dist/esm/{openCloseComponent-13961e76.js → openCloseComponent-1efe5f75.js} +1 -1
- package/dist/esm/{resources-8839ba26.js → resources-313a3903.js} +1 -1
- package/dist/esm/{resources-324a37ea.js → resources-8e2f225d.js} +1 -1
- package/dist/esm/{resources-b9a5671b.js → resources-8ef0e6e7.js} +3 -3
- package/dist/esm/{resources-ac142922.js → resources-9a47246f.js} +1 -1
- package/dist/esm/{resources-a5c530b8.js → resources-c153dd11.js} +5 -5
- package/dist/esm/{resources-9fd9c4c9.js → resources-e24d0cb2.js} +1 -1
- package/dist/esm/{sortable.esm-ed460da3.js → sortable.esm-bb283cee.js} +1 -1
- package/dist/esm/{utils-3c7d8c1c.js → utils-2ea7c354.js} +1 -1
- package/dist/esm-es5/ExpandToggle-2e4189cd.js +6 -0
- package/dist/esm-es5/{Heading-35286d74.js → Heading-2bc1bea6.js} +2 -2
- package/dist/esm-es5/app-globals-82059e09.js +6 -0
- package/dist/esm-es5/{array-ff3ae451.js → array-08fbb3f5.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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-aa5fce99.js → conditionalSlot-a0ea6d66.js} +2 -2
- package/dist/esm-es5/{debounce-c6ed39b7.js → debounce-69f262c1.js} +1 -1
- package/dist/esm-es5/{dom-911900d4.js → dom-831ad333.js} +2 -2
- package/dist/esm-es5/{filter-1c3959b4.js → filter-9e7dace0.js} +2 -2
- package/dist/esm-es5/{floating-ui-96107985.js → floating-ui-298370ea.js} +2 -2
- package/dist/esm-es5/{form-88d4f177.js → form-f108307b.js} +2 -2
- package/dist/esm-es5/globalAttributes-2291d4b1.js +6 -0
- package/dist/esm-es5/{guid-55509439.js → guid-9cefc065.js} +1 -1
- package/dist/esm-es5/{index-97813f72.js → index-0c0c17d1.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-1b52954c.js → interactive-ae0a4398.js} +1 -1
- package/dist/esm-es5/{interfaces-6ec5b73c.js → interfaces-19157cc4.js} +1 -1
- package/dist/esm-es5/{key-ce5f60d6.js → key-7e74c6b9.js} +1 -1
- package/dist/esm-es5/{label-2d423b2b.js → label-330899e1.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{math-0bd49a82.js → math-8ba11ebb.js} +1 -1
- package/dist/esm-es5/{observers-404bdaf4.js → observers-efe84af7.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-13961e76.js → openCloseComponent-1efe5f75.js} +1 -1
- package/dist/esm-es5/{resources-8839ba26.js → resources-313a3903.js} +1 -1
- package/dist/esm-es5/{resources-324a37ea.js → resources-8e2f225d.js} +1 -1
- package/dist/esm-es5/resources-8ef0e6e7.js +6 -0
- package/dist/esm-es5/{resources-ac142922.js → resources-9a47246f.js} +1 -1
- package/dist/esm-es5/{resources-a5c530b8.js → resources-c153dd11.js} +2 -2
- package/dist/esm-es5/{resources-9fd9c4c9.js → resources-e24d0cb2.js} +1 -1
- package/dist/esm-es5/{sortable.esm-ed460da3.js → sortable.esm-bb283cee.js} +1 -1
- package/dist/esm-es5/{utils-3c7d8c1c.js → utils-2ea7c354.js} +1 -1
- package/dist/extras/docs-json.json +260 -161
- 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/action/action.d.ts +2 -1
- package/dist/types/components/action/resources.d.ts +3 -0
- package/dist/types/components/action-bar/action-bar.d.ts +1 -5
- package/dist/types/components/avatar/avatar.d.ts +1 -2
- package/dist/types/components/color-picker/color-picker.d.ts +3 -2
- package/dist/types/components/combobox/combobox.d.ts +4 -4
- package/dist/types/components/date-picker/date-picker.d.ts +11 -2
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -2
- package/dist/types/components/dropdown/dropdown.d.ts +1 -0
- package/dist/types/components/filter/filter.d.ts +1 -2
- package/dist/types/components/flow-item/flow-item.d.ts +12 -0
- package/dist/types/components/input/input.d.ts +10 -2
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +11 -2
- package/dist/types/components/input-number/input-number.d.ts +11 -4
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +15 -4
- package/dist/types/components/pagination/pagination.d.ts +2 -1
- package/dist/types/components/panel/panel.d.ts +7 -1
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components/tab-nav/tab-nav.d.ts +1 -0
- package/dist/types/components/tab-title/tab-title.d.ts +6 -0
- package/dist/types/components/time-picker/time-picker.d.ts +9 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +49 -13
- package/dist/types/preact.d.ts +7 -3
- package/dist/types/utils/floating-ui.d.ts +1 -0
- package/dist/types/utils/locale.d.ts +22 -0
- package/hydrate/index.js +574 -507
- package/package.json +21 -22
- package/readme.md +2 -2
- package/dist/calcite/p-020b7335.entry.js +0 -6
- package/dist/calcite/p-044a36ff.entry.js +0 -6
- package/dist/calcite/p-0628d4fa.entry.js +0 -6
- package/dist/calcite/p-0837835e.entry.js +0 -6
- package/dist/calcite/p-0919bd04.system.entry.js +0 -6
- package/dist/calcite/p-0e7f3d68.system.entry.js +0 -6
- package/dist/calcite/p-122ff199.entry.js +0 -6
- package/dist/calcite/p-16337b72.system.entry.js +0 -6
- package/dist/calcite/p-17871ec0.entry.js +0 -6
- package/dist/calcite/p-185e4033.entry.js +0 -6
- package/dist/calcite/p-1c7b839d.entry.js +0 -6
- package/dist/calcite/p-1d56b5d1.entry.js +0 -6
- package/dist/calcite/p-204db6f8.system.entry.js +0 -6
- package/dist/calcite/p-2505662a.system.entry.js +0 -6
- package/dist/calcite/p-2a6d26fa.entry.js +0 -6
- package/dist/calcite/p-2dff9777.entry.js +0 -6
- package/dist/calcite/p-2e0eddd9.entry.js +0 -6
- package/dist/calcite/p-2e6208da.entry.js +0 -6
- package/dist/calcite/p-35b725c5.system.entry.js +0 -6
- package/dist/calcite/p-362eec7f.system.entry.js +0 -6
- package/dist/calcite/p-374eb734.js +0 -6
- package/dist/calcite/p-3964bca6.entry.js +0 -6
- package/dist/calcite/p-3c3cd88e.entry.js +0 -6
- package/dist/calcite/p-3ce7c235.system.entry.js +0 -6
- package/dist/calcite/p-3d8c351b.system.js +0 -6
- package/dist/calcite/p-40fcd81b.system.entry.js +0 -6
- package/dist/calcite/p-41ced97d.entry.js +0 -6
- package/dist/calcite/p-41d7a335.entry.js +0 -6
- package/dist/calcite/p-42d329b3.system.js +0 -6
- package/dist/calcite/p-433128a1.entry.js +0 -6
- package/dist/calcite/p-442f4954.entry.js +0 -6
- package/dist/calcite/p-45c6d6e7.entry.js +0 -6
- package/dist/calcite/p-4d4e57ed.entry.js +0 -6
- package/dist/calcite/p-4e5ee7b0.system.entry.js +0 -6
- package/dist/calcite/p-4ea8ee10.system.entry.js +0 -6
- package/dist/calcite/p-4ef2ed85.js +0 -6
- package/dist/calcite/p-4f29fc37.system.entry.js +0 -6
- package/dist/calcite/p-5560ff32.entry.js +0 -6
- package/dist/calcite/p-582b01c7.entry.js +0 -6
- package/dist/calcite/p-5948bb1f.system.entry.js +0 -6
- package/dist/calcite/p-5ef87b07.entry.js +0 -6
- package/dist/calcite/p-605b39af.entry.js +0 -6
- package/dist/calcite/p-65671b2f.system.entry.js +0 -6
- package/dist/calcite/p-66764961.system.entry.js +0 -6
- package/dist/calcite/p-6701137d.system.entry.js +0 -6
- package/dist/calcite/p-678a91c5.system.entry.js +0 -6
- package/dist/calcite/p-68f946ff.system.entry.js +0 -6
- package/dist/calcite/p-6bf804dd.system.js +0 -6
- package/dist/calcite/p-6c1a2d2b.system.entry.js +0 -6
- package/dist/calcite/p-6dfa7697.entry.js +0 -6
- package/dist/calcite/p-6e5eb5b2.system.entry.js +0 -6
- package/dist/calcite/p-6fc3d49c.js +0 -6
- package/dist/calcite/p-72cfbf77.system.js +0 -6
- package/dist/calcite/p-7424691d.entry.js +0 -6
- package/dist/calcite/p-782a99bd.system.entry.js +0 -6
- package/dist/calcite/p-7c1aef18.system.entry.js +0 -6
- package/dist/calcite/p-7fa6d3b0.js +0 -6
- package/dist/calcite/p-8102a036.system.entry.js +0 -6
- package/dist/calcite/p-81298e69.system.entry.js +0 -6
- package/dist/calcite/p-81de2b34.entry.js +0 -6
- package/dist/calcite/p-8368023a.system.js +0 -6
- package/dist/calcite/p-84f7d73f.system.entry.js +0 -6
- package/dist/calcite/p-85ecce0d.system.entry.js +0 -6
- package/dist/calcite/p-888f9bcc.system.entry.js +0 -6
- package/dist/calcite/p-8a95a841.system.entry.js +0 -6
- package/dist/calcite/p-8b3e9377.system.entry.js +0 -6
- package/dist/calcite/p-8ef605cf.system.entry.js +0 -6
- package/dist/calcite/p-9b8801d0.system.entry.js +0 -6
- package/dist/calcite/p-9d7ea9bc.system.entry.js +0 -6
- package/dist/calcite/p-a26537de.system.entry.js +0 -6
- package/dist/calcite/p-aa17cea2.entry.js +0 -6
- package/dist/calcite/p-abe5dc8f.entry.js +0 -6
- package/dist/calcite/p-ae698fec.system.entry.js +0 -6
- package/dist/calcite/p-b029b317.entry.js +0 -6
- package/dist/calcite/p-b254146a.system.entry.js +0 -6
- package/dist/calcite/p-b34556f5.system.entry.js +0 -6
- package/dist/calcite/p-b3c01d69.system.entry.js +0 -6
- package/dist/calcite/p-b85b77f4.system.entry.js +0 -6
- package/dist/calcite/p-b9109e51.system.entry.js +0 -6
- package/dist/calcite/p-b95ae634.system.entry.js +0 -6
- package/dist/calcite/p-bf97e224.entry.js +0 -6
- package/dist/calcite/p-c095a9cd.entry.js +0 -6
- package/dist/calcite/p-c19c1492.system.entry.js +0 -6
- package/dist/calcite/p-c43b5d4a.system.entry.js +0 -6
- package/dist/calcite/p-c73c6312.entry.js +0 -6
- package/dist/calcite/p-c9f7a134.system.entry.js +0 -6
- package/dist/calcite/p-ca696651.system.js +0 -6
- package/dist/calcite/p-cc11b456.entry.js +0 -6
- package/dist/calcite/p-d062dc3d.system.entry.js +0 -6
- package/dist/calcite/p-d07137ec.entry.js +0 -6
- package/dist/calcite/p-d1379efd.js +0 -6
- package/dist/calcite/p-d256d6b7.system.entry.js +0 -6
- package/dist/calcite/p-d4bee283.system.entry.js +0 -6
- package/dist/calcite/p-d6bf0b00.system.entry.js +0 -6
- package/dist/calcite/p-d994cde9.entry.js +0 -6
- package/dist/calcite/p-ddb43295.system.entry.js +0 -6
- package/dist/calcite/p-df3081ca.entry.js +0 -6
- package/dist/calcite/p-e2504e6f.system.entry.js +0 -6
- package/dist/calcite/p-e61da410.system.entry.js +0 -6
- package/dist/calcite/p-e6aa9c0c.js +0 -6
- package/dist/calcite/p-ecd09941.entry.js +0 -6
- package/dist/calcite/p-f2ec06b1.system.entry.js +0 -6
- package/dist/calcite/p-f34efde2.system.entry.js +0 -6
- package/dist/calcite/p-f4e90521.entry.js +0 -6
- package/dist/calcite/p-f5d5b66e.system.entry.js +0 -6
- package/dist/calcite/p-f8907fe2.system.entry.js +0 -6
- package/dist/cjs/globalAttributes-cca5e885.js +0 -71
- package/dist/esm/globalAttributes-9cbae7de.js +0 -68
- package/dist/esm/locale-f712f91a.js +0 -254
- package/dist/esm-es5/ExpandToggle-5dec20d4.js +0 -6
- package/dist/esm-es5/app-globals-426f10d1.js +0 -6
- package/dist/esm-es5/globalAttributes-9cbae7de.js +0 -6
- package/dist/esm-es5/locale-f712f91a.js +0 -6
- package/dist/esm-es5/resources-b9a5671b.js +0 -6
|
@@ -1,254 +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.582
|
|
5
|
-
*/
|
|
6
|
-
import { n as numberKeys } from './key-ce5f60d6.js';
|
|
7
|
-
|
|
8
|
-
// regex for number sanitization
|
|
9
|
-
const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
|
|
10
|
-
const decimalOnlyAtEndOfString = /(?!^\.)\.$/;
|
|
11
|
-
const allHyphensExceptTheStart = /(?!^-)-/g;
|
|
12
|
-
const isNegativeDecimalOnlyZeros = /^-\b0\b\.?0*$/;
|
|
13
|
-
// adopted from https://stackoverflow.com/a/66939244
|
|
14
|
-
class BigDecimal {
|
|
15
|
-
constructor(input) {
|
|
16
|
-
if (input instanceof BigDecimal) {
|
|
17
|
-
return input;
|
|
18
|
-
}
|
|
19
|
-
const [integers, decimals] = String(input).split(".").concat("");
|
|
20
|
-
this.value =
|
|
21
|
-
BigInt(integers + decimals.padEnd(BigDecimal.DECIMALS, "0").slice(0, BigDecimal.DECIMALS)) +
|
|
22
|
-
BigInt(BigDecimal.ROUNDED && decimals[BigDecimal.DECIMALS] >= "5");
|
|
23
|
-
this.isNegative = input.charAt(0) === "-";
|
|
24
|
-
}
|
|
25
|
-
static _divRound(dividend, divisor) {
|
|
26
|
-
return BigDecimal.fromBigInt(dividend / divisor + (BigDecimal.ROUNDED ? ((dividend * BigInt(2)) / divisor) % BigInt(2) : BigInt(0)));
|
|
27
|
-
}
|
|
28
|
-
static fromBigInt(bigint) {
|
|
29
|
-
return Object.assign(Object.create(BigDecimal.prototype), { value: bigint });
|
|
30
|
-
}
|
|
31
|
-
toString() {
|
|
32
|
-
const s = this.value
|
|
33
|
-
.toString()
|
|
34
|
-
.replace(new RegExp("-", "g"), "")
|
|
35
|
-
.padStart(BigDecimal.DECIMALS + 1, "0");
|
|
36
|
-
const i = s.slice(0, -BigDecimal.DECIMALS);
|
|
37
|
-
const d = s.slice(-BigDecimal.DECIMALS).replace(/\.?0+$/, "");
|
|
38
|
-
const value = i.concat(d.length ? "." + d : "");
|
|
39
|
-
return (this.isNegative ? "-" : "").concat(value);
|
|
40
|
-
}
|
|
41
|
-
formatToParts(locale, numberingSystem) {
|
|
42
|
-
const formatter = createLocaleNumberFormatter(locale, numberingSystem);
|
|
43
|
-
const s = this.value
|
|
44
|
-
.toString()
|
|
45
|
-
.replace(new RegExp("-", "g"), "")
|
|
46
|
-
.padStart(BigDecimal.DECIMALS + 1, "0");
|
|
47
|
-
const i = s.slice(0, -BigDecimal.DECIMALS);
|
|
48
|
-
const d = s.slice(-BigDecimal.DECIMALS).replace(/\.?0+$/, "");
|
|
49
|
-
const parts = formatter.formatToParts(BigInt(i));
|
|
50
|
-
this.isNegative && parts.unshift({ type: "minusSign", value: getMinusSign(locale) });
|
|
51
|
-
if (d.length) {
|
|
52
|
-
parts.push({ type: "decimal", value: getDecimalSeparator(locale) });
|
|
53
|
-
d.split("").forEach((char) => parts.push({ type: "fraction", value: char }));
|
|
54
|
-
}
|
|
55
|
-
return parts;
|
|
56
|
-
}
|
|
57
|
-
add(num) {
|
|
58
|
-
return BigDecimal.fromBigInt(this.value + new BigDecimal(num).value);
|
|
59
|
-
}
|
|
60
|
-
subtract(num) {
|
|
61
|
-
return BigDecimal.fromBigInt(this.value - new BigDecimal(num).value);
|
|
62
|
-
}
|
|
63
|
-
multiply(num) {
|
|
64
|
-
return BigDecimal._divRound(this.value * new BigDecimal(num).value, BigDecimal.SHIFT);
|
|
65
|
-
}
|
|
66
|
-
divide(num) {
|
|
67
|
-
return BigDecimal._divRound(this.value * BigDecimal.SHIFT, new BigDecimal(num).value);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
// Configuration: constants
|
|
71
|
-
BigDecimal.DECIMALS = 100; // number of decimals on all instances
|
|
72
|
-
BigDecimal.ROUNDED = true; // numbers are truncated (false) or rounded (true)
|
|
73
|
-
BigDecimal.SHIFT = BigInt("1" + "0".repeat(BigDecimal.DECIMALS)); // derived constant
|
|
74
|
-
function isValidNumber(numberString) {
|
|
75
|
-
return !(!numberString || isNaN(Number(numberString)));
|
|
76
|
-
}
|
|
77
|
-
function parseNumberString(numberString) {
|
|
78
|
-
if (!numberString || !stringContainsNumbers(numberString)) {
|
|
79
|
-
return "";
|
|
80
|
-
}
|
|
81
|
-
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
82
|
-
let containsDecimal = false;
|
|
83
|
-
const result = nonExpoNumString
|
|
84
|
-
.split("")
|
|
85
|
-
.filter((value, i) => {
|
|
86
|
-
if (value.match(/\./g) && !containsDecimal) {
|
|
87
|
-
containsDecimal = true;
|
|
88
|
-
return true;
|
|
89
|
-
}
|
|
90
|
-
if (value.match(/\-/g) && i === 0) {
|
|
91
|
-
return true;
|
|
92
|
-
}
|
|
93
|
-
return numberKeys.includes(value);
|
|
94
|
-
})
|
|
95
|
-
.reduce((string, part) => string + part);
|
|
96
|
-
return isValidNumber(result) ? new BigDecimal(result).toString() : "";
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
function sanitizeDecimalString(decimalString) {
|
|
100
|
-
return decimalString.replace(decimalOnlyAtEndOfString, "");
|
|
101
|
-
}
|
|
102
|
-
function sanitizeNegativeString(negativeString) {
|
|
103
|
-
return negativeString.replace(allHyphensExceptTheStart, "");
|
|
104
|
-
}
|
|
105
|
-
function sanitizeLeadingZeroString(zeroString) {
|
|
106
|
-
return zeroString.replace(allLeadingZerosOptionallyNegative, "$1");
|
|
107
|
-
}
|
|
108
|
-
function sanitizeNumberString(numberString) {
|
|
109
|
-
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
110
|
-
const sanitizedValue = sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(nonExpoNumString)));
|
|
111
|
-
return isValidNumber(sanitizedValue)
|
|
112
|
-
? isNegativeDecimalOnlyZeros.test(sanitizedValue)
|
|
113
|
-
? sanitizedValue
|
|
114
|
-
: new BigDecimal(sanitizedValue).toString()
|
|
115
|
-
: nonExpoNumString;
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
function sanitizeExponentialNumberString(numberString, func) {
|
|
119
|
-
if (!numberString) {
|
|
120
|
-
return numberString;
|
|
121
|
-
}
|
|
122
|
-
const firstE = numberString.toLowerCase().indexOf("e") + 1;
|
|
123
|
-
return numberString
|
|
124
|
-
.replace(/[eE]*$/g, "")
|
|
125
|
-
.substring(0, firstE)
|
|
126
|
-
.concat(numberString.slice(firstE).replace(/[eE]/g, ""))
|
|
127
|
-
.split(/[eE]/)
|
|
128
|
-
.map((section, i) => (i === 1 ? func(section.replace(/\./g, "")) : func(section)))
|
|
129
|
-
.join("e")
|
|
130
|
-
.replace(/^e/, "1e");
|
|
131
|
-
}
|
|
132
|
-
function stringContainsNumbers(string) {
|
|
133
|
-
return numberKeys.some((number) => string.includes(number));
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
const locales = [
|
|
137
|
-
"ar",
|
|
138
|
-
"bg",
|
|
139
|
-
"bs",
|
|
140
|
-
"ca",
|
|
141
|
-
"cs",
|
|
142
|
-
"da",
|
|
143
|
-
"de",
|
|
144
|
-
"de-CH",
|
|
145
|
-
"el",
|
|
146
|
-
"en",
|
|
147
|
-
"en-AU",
|
|
148
|
-
"en-CA",
|
|
149
|
-
"en-GB",
|
|
150
|
-
"es",
|
|
151
|
-
"es-MX",
|
|
152
|
-
"et",
|
|
153
|
-
"fi",
|
|
154
|
-
"fr",
|
|
155
|
-
"fr-CH",
|
|
156
|
-
"he",
|
|
157
|
-
"hi",
|
|
158
|
-
"hr",
|
|
159
|
-
"hu",
|
|
160
|
-
"id",
|
|
161
|
-
"it",
|
|
162
|
-
"it-CH",
|
|
163
|
-
"ja",
|
|
164
|
-
"ko",
|
|
165
|
-
"lt",
|
|
166
|
-
"lv",
|
|
167
|
-
"mk",
|
|
168
|
-
"nb",
|
|
169
|
-
"nl",
|
|
170
|
-
"pl",
|
|
171
|
-
"pt",
|
|
172
|
-
"pt-PT",
|
|
173
|
-
"ro",
|
|
174
|
-
"ru",
|
|
175
|
-
"sk",
|
|
176
|
-
"sl",
|
|
177
|
-
"sr",
|
|
178
|
-
"sv",
|
|
179
|
-
"th",
|
|
180
|
-
"tr",
|
|
181
|
-
"uk",
|
|
182
|
-
"vi",
|
|
183
|
-
"zh-CN",
|
|
184
|
-
"zh-HK",
|
|
185
|
-
"zh-TW"
|
|
186
|
-
];
|
|
187
|
-
const allDecimalsExceptLast = new RegExp(`[.](?=.*[.])`, "g");
|
|
188
|
-
const everythingExceptNumbersDecimalsAndMinusSigns = new RegExp("[^0-9-.]", "g");
|
|
189
|
-
const defaultGroupSeparator = new RegExp(",", "g");
|
|
190
|
-
const browserNumberingSystem = new Intl.NumberFormat().resolvedOptions().numberingSystem;
|
|
191
|
-
const defaultNumberingSystem = browserNumberingSystem === "arab" ? "latn" : browserNumberingSystem;
|
|
192
|
-
function createLocaleNumberFormatter(locale, numberingSystem = defaultNumberingSystem) {
|
|
193
|
-
return new Intl.NumberFormat(locale, {
|
|
194
|
-
minimumFractionDigits: 0,
|
|
195
|
-
maximumFractionDigits: 20,
|
|
196
|
-
numberingSystem
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
function delocalizeNumberString(numberString, locale) {
|
|
200
|
-
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
201
|
-
const delocalizedNumberString = nonExpoNumString
|
|
202
|
-
.replace(getMinusSign(locale), "-")
|
|
203
|
-
.replace(getGroupSeparator(locale), "")
|
|
204
|
-
.replace(getDecimalSeparator(locale), ".")
|
|
205
|
-
.replace(allDecimalsExceptLast, "")
|
|
206
|
-
.replace(everythingExceptNumbersDecimalsAndMinusSigns, "");
|
|
207
|
-
return isValidNumber(delocalizedNumberString) ? delocalizedNumberString : nonExpoNumString;
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
function getGroupSeparator(locale) {
|
|
211
|
-
const formatter = createLocaleNumberFormatter(locale);
|
|
212
|
-
const parts = formatter.formatToParts(1234567);
|
|
213
|
-
const value = parts.find((part) => part.type === "group").value;
|
|
214
|
-
// change whitespace group characters that don't render correctly
|
|
215
|
-
return value.trim().length === 0 ? " " : value;
|
|
216
|
-
}
|
|
217
|
-
function getDecimalSeparator(locale) {
|
|
218
|
-
const formatter = createLocaleNumberFormatter(locale);
|
|
219
|
-
const parts = formatter.formatToParts(1.1);
|
|
220
|
-
return parts.find((part) => part.type === "decimal").value;
|
|
221
|
-
}
|
|
222
|
-
function getMinusSign(locale) {
|
|
223
|
-
const formatter = createLocaleNumberFormatter(locale);
|
|
224
|
-
const parts = formatter.formatToParts(-9);
|
|
225
|
-
return parts.find((part) => part.type === "minusSign").value;
|
|
226
|
-
}
|
|
227
|
-
function localizeNumberString(numberString, locale, displayGroupSeparator = false, numberingSystem) {
|
|
228
|
-
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
229
|
-
if (nonExpoNumString) {
|
|
230
|
-
const sanitizedNumberString = sanitizeDecimalString(nonExpoNumString.replace(defaultGroupSeparator, ""));
|
|
231
|
-
if (isValidNumber(sanitizedNumberString)) {
|
|
232
|
-
const parts = new BigDecimal(sanitizedNumberString).formatToParts(locale, numberingSystem);
|
|
233
|
-
const localizedNumberString = parts
|
|
234
|
-
.map(({ type, value }) => {
|
|
235
|
-
switch (type) {
|
|
236
|
-
case "group":
|
|
237
|
-
return displayGroupSeparator ? getGroupSeparator(locale) : "";
|
|
238
|
-
case "decimal":
|
|
239
|
-
return getDecimalSeparator(locale);
|
|
240
|
-
case "minusSign":
|
|
241
|
-
return getMinusSign(locale);
|
|
242
|
-
default:
|
|
243
|
-
return value;
|
|
244
|
-
}
|
|
245
|
-
})
|
|
246
|
-
.reduce((string, part) => string + part);
|
|
247
|
-
return localizedNumberString;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
return nonExpoNumString;
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
export { locales as a, delocalizeNumberString as d, getDecimalSeparator as g, isValidNumber as i, localizeNumberString as l, parseNumberString as p, sanitizeNumberString as s };
|
|
@@ -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.582
|
|
5
|
-
*/
|
|
6
|
-
import{f as forceUpdate,h}from"./index-97813f72.js";import{a as getElementDir}from"./dom-911900d4.js";import{S as SLOTS}from"./resources-9fd9c4c9.js";import{S as SLOTS$1}from"./resources-8839ba26.js";var overflowActionsDebounceInMs=150;var groupBufferPx=2;var getAverage=function(t){return t.reduce((function(t,e){return t+e}),0)/t.length};var geActionDimensions=function(t){var e=t===null||t===void 0?void 0:t.length;return{actionWidth:e?getAverage(t.map((function(t){return t.clientWidth||0}))):0,actionHeight:e?getAverage(t.map((function(t){return t.clientHeight||0}))):0}};var getMaxActionCount=function(t){var e=t.width,n=t.actionWidth,o=t.layout,r=t.height,i=t.actionHeight,a=t.groupCount;var c=o==="horizontal"?e:r;var l=o==="horizontal"?n:i;return Math.floor((c-a*groupBufferPx)/l)};var getOverflowCount=function(t){var e=t.layout,n=t.actionCount,o=t.actionWidth,r=t.width,i=t.actionHeight,a=t.height,c=t.groupCount;return Math.max(n-getMaxActionCount({width:r,actionWidth:o,layout:e,height:a,actionHeight:i,groupCount:c}),0)};var queryActions=function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===SLOTS.trigger:true}))};var overflowActions=function(t){var e=t.actionGroups,n=t.expanded,o=t.overflowCount;var r=o;e.reverse().forEach((function(t){var e=0;var o=queryActions(t).reverse();o.forEach((function(t){if(t.slot===SLOTS$1.menuActions){t.removeAttribute("slot");t.textEnabled=n}}));if(r>0){o.some((function(t){var n=o.filter((function(t){return!t.slot}));if(n.length>1&&o.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",SLOTS$1.menuActions);e++;if(e>1){r--}}return r<1}))}forceUpdate(t)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function toggleChildActionText(t){var e=t.parent,n=t.expanded;queryActions(e).filter((function(t){return t.slot!==SLOTS$1.menuActions})).forEach((function(t){return t.textEnabled=n}));e.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(t){return t.expanded=n}))}var setTooltipReference=function(t){var e=t.tooltip,n=t.referenceElement,o=t.expanded,r=t.ref;if(e){e.referenceElement=!o&&n?n:null}if(r){r(n)}return n};var ExpandToggle=function(t){var e=t.expanded,n=t.intlExpand,o=t.intlCollapse,r=t.toggle,i=t.el,a=t.position,c=t.tooltip,l=t.ref,u=t.scale;var s=getElementDir(i)==="rtl";var f=e?o:n;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){v.reverse()}var g=getCalcitePosition(a,i)==="end";var d=g?v[1]:v[0];var p=g?v[0]:v[1];var m=h("calcite-action",{icon:e?d:p,onClick:r,ref:function(t){return setTooltipReference({tooltip:c,referenceElement:t,expanded:e,ref:l})},scale:u,text:f,textEnabled:e});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as b,geActionDimensions as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
|
|
@@ -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.582
|
|
5
|
-
*/
|
|
6
|
-
import{d as darkTheme,a as autoTheme}from"./resources-324a37ea.js";function initThemeChangeEvent(){var e=document.body.classList;var t=window.matchMedia("(prefers-color-scheme: dark)").matches;var n=function(){return e.contains(darkTheme)||e.contains(autoTheme)&&t?"dark":"light"};var r=function(e){return document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:true,detail:{theme:e}}))};var a=function(e){i!==e&&r(e);i=e};var i=n();r(i);window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(e){return a(e.matches?"dark":"light")}));new MutationObserver((function(){return a(n())})).observe(document.body,{attributes:true,attributeFilter:["class"]})}function appGlobalScript(){if(isBrowser()){if(document.readyState==="interactive"){initThemeChangeEvent()}else{document.addEventListener("DOMContentLoaded",(function(){return initThemeChangeEvent()}),{once:true})}}}var isBrowser=new Function("try {return this===window;}catch(e){ return false;}");var globalScripts=appGlobalScript;export{globalScripts 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.582
|
|
5
|
-
*/
|
|
6
|
-
import{c as createObserver}from"./observers-404bdaf4.js";var allowedGlobalAttributes=["lang"];var elementToComponentAndObserverOptionsMap=new Map;var mutationObserver;function updateGlobalAttributes(t,e){var r=t.el;var o={};e.filter((function(t){return!!allowedGlobalAttributes.includes(t)&&!!r.hasAttribute(t)})).forEach((function(t){var e=r.getAttribute(t);if(e!==null){o[t]=e}}));t.globalAttributes=o}function processMutations(t){t.forEach((function(t){var e=t.target;var r=elementToComponentAndObserverOptionsMap.get(e),o=r[0],a=r[1];updateGlobalAttributes(o,a.attributeFilter)}))}function watchGlobalAttributes(t,e){var r=t.el;var o={attributeFilter:e};elementToComponentAndObserverOptionsMap.set(r,[t,o]);updateGlobalAttributes(t,e);if(!mutationObserver){mutationObserver=createObserver("mutation",processMutations)}mutationObserver.observe(r,o)}function unwatchGlobalAttributes(t){elementToComponentAndObserverOptionsMap.delete(t.el);processMutations(mutationObserver.takeRecords());mutationObserver.disconnect();for(var e=0,r=elementToComponentAndObserverOptionsMap.entries();e<r.length;e++){var o=r[e],a=o[0],n=o[1],s=n[1];mutationObserver.observe(a,s)}}export{unwatchGlobalAttributes as u,watchGlobalAttributes as w};
|
|
@@ -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.582
|
|
5
|
-
*/
|
|
6
|
-
import{n as numberKeys}from"./key-ce5f60d6.js";var allLeadingZerosOptionallyNegative=/^([-0])0+(?=\d)/;var decimalOnlyAtEndOfString=/(?!^\.)\.$/;var allHyphensExceptTheStart=/(?!^-)-/g;var isNegativeDecimalOnlyZeros=/^-\b0\b\.?0*$/;var BigDecimal=function(){function e(r){if(r instanceof e){return r}var t=String(r).split(".").concat(""),n=t[0],i=t[1];this.value=BigInt(n+i.padEnd(e.DECIMALS,"0").slice(0,e.DECIMALS))+BigInt(e.ROUNDED&&i[e.DECIMALS]>="5");this.isNegative=r.charAt(0)==="-"}e._divRound=function(r,t){return e.fromBigInt(r/t+(e.ROUNDED?r*BigInt(2)/t%BigInt(2):BigInt(0)))};e.fromBigInt=function(r){return Object.assign(Object.create(e.prototype),{value:r})};e.prototype.toString=function(){var r=this.value.toString().replace(new RegExp("-","g"),"").padStart(e.DECIMALS+1,"0");var t=r.slice(0,-e.DECIMALS);var n=r.slice(-e.DECIMALS).replace(/\.?0+$/,"");var i=t.concat(n.length?"."+n:"");return(this.isNegative?"-":"").concat(i)};e.prototype.formatToParts=function(r,t){var n=createLocaleNumberFormatter(r,t);var i=this.value.toString().replace(new RegExp("-","g"),"").padStart(e.DECIMALS+1,"0");var a=i.slice(0,-e.DECIMALS);var u=i.slice(-e.DECIMALS).replace(/\.?0+$/,"");var o=n.formatToParts(BigInt(a));this.isNegative&&o.unshift({type:"minusSign",value:getMinusSign(r)});if(u.length){o.push({type:"decimal",value:getDecimalSeparator(r)});u.split("").forEach((function(e){return o.push({type:"fraction",value:e})}))}return o};e.prototype.add=function(r){return e.fromBigInt(this.value+new e(r).value)};e.prototype.subtract=function(r){return e.fromBigInt(this.value-new e(r).value)};e.prototype.multiply=function(r){return e._divRound(this.value*new e(r).value,e.SHIFT)};e.prototype.divide=function(r){return e._divRound(this.value*e.SHIFT,new e(r).value)};return e}();BigDecimal.DECIMALS=100;BigDecimal.ROUNDED=true;BigDecimal.SHIFT=BigInt("1"+"0".repeat(BigDecimal.DECIMALS));function isValidNumber(e){return!(!e||isNaN(Number(e)))}function parseNumberString(e){if(!e||!stringContainsNumbers(e)){return""}return sanitizeExponentialNumberString(e,(function(e){var r=false;var t=e.split("").filter((function(e,t){if(e.match(/\./g)&&!r){r=true;return true}if(e.match(/\-/g)&&t===0){return true}return numberKeys.includes(e)})).reduce((function(e,r){return e+r}));return isValidNumber(t)?new BigDecimal(t).toString():""}))}function sanitizeDecimalString(e){return e.replace(decimalOnlyAtEndOfString,"")}function sanitizeNegativeString(e){return e.replace(allHyphensExceptTheStart,"")}function sanitizeLeadingZeroString(e){return e.replace(allLeadingZerosOptionallyNegative,"$1")}function sanitizeNumberString(e){return sanitizeExponentialNumberString(e,(function(e){var r=sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(e)));return isValidNumber(r)?isNegativeDecimalOnlyZeros.test(r)?r:new BigDecimal(r).toString():e}))}function sanitizeExponentialNumberString(e,r){if(!e){return e}var t=e.toLowerCase().indexOf("e")+1;return e.replace(/[eE]*$/g,"").substring(0,t).concat(e.slice(t).replace(/[eE]/g,"")).split(/[eE]/).map((function(e,t){return t===1?r(e.replace(/\./g,"")):r(e)})).join("e").replace(/^e/,"1e")}function stringContainsNumbers(e){return numberKeys.some((function(r){return e.includes(r)}))}var locales=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];var allDecimalsExceptLast=new RegExp("[.](?=.*[.])","g");var everythingExceptNumbersDecimalsAndMinusSigns=new RegExp("[^0-9-.]","g");var defaultGroupSeparator=new RegExp(",","g");var browserNumberingSystem=(new Intl.NumberFormat).resolvedOptions().numberingSystem;var defaultNumberingSystem=browserNumberingSystem==="arab"?"latn":browserNumberingSystem;function createLocaleNumberFormatter(e,r){if(r===void 0){r=defaultNumberingSystem}return new Intl.NumberFormat(e,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:r})}function delocalizeNumberString(e,r){return sanitizeExponentialNumberString(e,(function(e){var t=e.replace(getMinusSign(r),"-").replace(getGroupSeparator(r),"").replace(getDecimalSeparator(r),".").replace(allDecimalsExceptLast,"").replace(everythingExceptNumbersDecimalsAndMinusSigns,"");return isValidNumber(t)?t:e}))}function getGroupSeparator(e){var r=createLocaleNumberFormatter(e);var t=r.formatToParts(1234567);var n=t.find((function(e){return e.type==="group"})).value;return n.trim().length===0?" ":n}function getDecimalSeparator(e){var r=createLocaleNumberFormatter(e);var t=r.formatToParts(1.1);return t.find((function(e){return e.type==="decimal"})).value}function getMinusSign(e){var r=createLocaleNumberFormatter(e);var t=r.formatToParts(-9);return t.find((function(e){return e.type==="minusSign"})).value}function localizeNumberString(e,r,t,n){if(t===void 0){t=false}return sanitizeExponentialNumberString(e,(function(e){if(e){var i=sanitizeDecimalString(e.replace(defaultGroupSeparator,""));if(isValidNumber(i)){var a=new BigDecimal(i).formatToParts(r,n);var u=a.map((function(e){var n=e.type,i=e.value;switch(n){case"group":return t?getGroupSeparator(r):"";case"decimal":return getDecimalSeparator(r);case"minusSign":return getMinusSign(r);default:return i}})).reduce((function(e,r){return e+r}));return u}}return e}))}export{locales as a,delocalizeNumberString as d,getDecimalSeparator as g,isValidNumber as i,localizeNumberString as l,parseNumberString as p,sanitizeNumberString as s};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):a(e.value).then(i,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(e){return function(t){return s([e,t])}}function s(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.582
|
|
6
|
-
*/import{a as getAssetPath}from"./index-97813f72.js";import{a as locales}from"./locale-f712f91a.js";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,t){if(t===void 0){t=false}if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var n=e.split(/[: T-]/).map(parseFloat);var r=new Date(n[0],(n[1]||1)-1,n[2]||1);r.setFullYear(n[0]);if(isNaN(r.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}if(t){return setEndOfDay(r)}return r}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)}function setEndOfDay(e){e.setHours(23,59,59,999);return e}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 getValueAsDateRange(e){return e.map((function(e,t){return dateFromISO(e,t===1)}))}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,getLocaleData as c,dateToISO as d,sameDate as e,getDaysDiff as f,getValueAsDateRange as g,getOrder as h,inRange as i,prevMonth as j,parseNumber as k,localizeNumber as l,nextMonth as n,parseDateString as p,setEndOfDay as s};
|