@esri/calcite-components 1.0.0-next.488 → 1.0.0-next.490
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-44684845.system.entry.js → p-01a88ea6.system.entry.js} +2 -2
- package/dist/calcite/{p-f5413766.system.entry.js → p-01f116b2.system.entry.js} +2 -2
- package/dist/calcite/{p-bd0e47eb.system.js → p-049c8e69.system.js} +1 -1
- package/dist/calcite/{p-db82aae1.entry.js → p-053c3f00.entry.js} +2 -2
- package/dist/calcite/{p-a49f6137.entry.js → p-07930122.entry.js} +2 -2
- package/dist/calcite/{p-4a65e8c1.entry.js → p-090b5217.entry.js} +2 -2
- package/dist/calcite/{p-121254be.entry.js → p-1349096e.entry.js} +2 -2
- package/dist/calcite/{p-7f9f8682.entry.js → p-13f98f55.entry.js} +2 -2
- package/dist/calcite/{p-825f5820.js → p-16965c48.js} +2 -2
- package/dist/calcite/{p-7c7f1dd5.system.entry.js → p-1a2c91ef.system.entry.js} +2 -2
- package/dist/calcite/{p-3618037a.system.entry.js → p-1c6ffcca.system.entry.js} +2 -2
- package/dist/calcite/{p-61fb2381.system.entry.js → p-1e081d85.system.entry.js} +2 -2
- package/dist/calcite/{p-b753306c.entry.js → p-202b58f4.entry.js} +2 -2
- package/dist/calcite/{p-de3bcbec.entry.js → p-214756d0.entry.js} +2 -2
- package/dist/calcite/{p-f9ced2fb.js → p-22909d45.js} +1 -1
- package/dist/calcite/{p-67c42bea.entry.js → p-2579b2d1.entry.js} +2 -2
- package/dist/calcite/{p-fd042c04.system.entry.js → p-257c1fb4.system.entry.js} +2 -2
- package/dist/calcite/{p-a74fd918.js → p-27bfc124.js} +2 -2
- package/dist/calcite/{p-fe382a3c.system.entry.js → p-27d8cc9e.system.entry.js} +2 -2
- package/dist/calcite/{p-5a33d925.system.entry.js → p-27fe59f4.system.entry.js} +2 -2
- package/dist/calcite/{p-fb1094e7.system.entry.js → p-2978b7fb.system.entry.js} +2 -2
- package/dist/calcite/{p-413dca71.entry.js → p-2b664a35.entry.js} +2 -2
- package/dist/calcite/{p-92a4761a.system.entry.js → p-2db05617.system.entry.js} +2 -2
- package/dist/calcite/{p-4f5d63d1.entry.js → p-30480c1c.entry.js} +2 -2
- package/dist/calcite/{p-1629959f.system.entry.js → p-32ecd882.system.entry.js} +2 -2
- package/dist/calcite/{p-e7ed4c1b.entry.js → p-341e1319.entry.js} +2 -2
- package/dist/calcite/{p-be3823bc.js → p-35100ef4.js} +1 -1
- package/dist/calcite/{p-dee86106.entry.js → p-375c6bfd.entry.js} +2 -2
- package/dist/calcite/{p-76bf0000.system.js → p-384190eb.system.js} +1 -1
- package/dist/calcite/{p-3f45166c.entry.js → p-3a74f6c9.entry.js} +2 -2
- package/dist/calcite/p-3bb86ca6.entry.js +6 -0
- package/dist/calcite/{p-3ab72d10.entry.js → p-3beb4365.entry.js} +2 -2
- package/dist/calcite/{p-0d9b0ee6.system.entry.js → p-3c081576.system.entry.js} +2 -2
- package/dist/calcite/{p-6ef0e446.entry.js → p-3c363f82.entry.js} +2 -2
- package/dist/calcite/{p-f961d5c6.entry.js → p-3cfc1b72.entry.js} +2 -2
- package/dist/calcite/{p-83552065.system.entry.js → p-401b48af.system.entry.js} +2 -2
- package/dist/calcite/{p-449cda9c.system.entry.js → p-40ae2af0.system.entry.js} +2 -2
- package/dist/calcite/{p-57c95461.entry.js → p-40c2094b.entry.js} +2 -2
- package/dist/calcite/{p-52532b4a.system.js → p-4140640c.system.js} +2 -2
- package/dist/calcite/{p-c7d50007.entry.js → p-41dfce79.entry.js} +2 -2
- package/dist/calcite/{p-716ea77a.system.entry.js → p-4316da89.system.entry.js} +2 -2
- package/dist/calcite/{p-25757ebd.system.js → p-436be3a9.system.js} +1 -1
- package/dist/calcite/{p-aca5a0bf.js → p-444d99f2.js} +2 -2
- package/dist/calcite/{p-e062efd7.entry.js → p-489d2596.entry.js} +2 -2
- package/dist/calcite/p-4e4f02bf.js +6 -0
- package/dist/calcite/{p-8d5d6d14.system.entry.js → p-51530489.system.entry.js} +2 -2
- package/dist/calcite/{p-687fcea3.entry.js → p-52eeba71.entry.js} +2 -2
- package/dist/calcite/{p-d60a9e9c.system.entry.js → p-542efb77.system.entry.js} +2 -2
- package/dist/calcite/{p-32bedf85.system.entry.js → p-55a52d58.system.entry.js} +2 -2
- package/dist/calcite/{p-cc2d37da.entry.js → p-563c2e89.entry.js} +2 -2
- package/dist/calcite/{p-5d41e02d.system.entry.js → p-56e7ead2.system.entry.js} +3 -3
- package/dist/calcite/{p-08d0589a.system.js → p-5976323a.system.js} +2 -2
- package/dist/calcite/{p-0e4f675d.entry.js → p-5e087841.entry.js} +2 -2
- package/dist/calcite/{p-df11a835.js → p-5ed400f7.js} +1 -1
- package/dist/calcite/{p-11917018.entry.js → p-6026b3ec.entry.js} +2 -2
- package/dist/calcite/{p-6fbc60d4.entry.js → p-61f0db73.entry.js} +2 -2
- package/dist/calcite/{p-4ea86fbd.system.js → p-631027cd.system.js} +2 -2
- package/dist/calcite/{p-bcb26976.system.js → p-63c74827.system.js} +2 -2
- package/dist/calcite/{p-c2bcde7d.entry.js → p-6512881b.entry.js} +2 -2
- package/dist/calcite/{p-ceb31e3f.system.entry.js → p-6580d874.system.entry.js} +2 -2
- package/dist/calcite/{p-6fb14af3.system.js → p-6afc38b9.system.js} +1 -1
- package/dist/calcite/{p-1fb80a29.system.entry.js → p-6cab7958.system.entry.js} +2 -2
- package/dist/calcite/{p-6011d699.system.js → p-6cd5eb69.system.js} +1 -1
- package/dist/calcite/{p-5c2b4b69.entry.js → p-6d9288fb.entry.js} +2 -2
- package/dist/calcite/{p-2295c7b9.system.js → p-6dfaf689.system.js} +1 -1
- package/dist/calcite/p-6e7fa11d.system.entry.js +6 -0
- package/dist/calcite/p-7294c1ca.entry.js +6 -0
- package/dist/calcite/{p-b60f4719.js → p-73a82a74.js} +2 -2
- package/dist/calcite/{p-c6240aba.entry.js → p-73ca7b3c.entry.js} +2 -2
- package/dist/calcite/p-7485b46d.js +6 -0
- package/dist/calcite/{p-aff39f1a.entry.js → p-75981446.entry.js} +2 -2
- package/dist/calcite/{p-59b08f08.system.entry.js → p-76ee6412.system.entry.js} +2 -2
- package/dist/calcite/{p-4938d844.entry.js → p-774da2e8.entry.js} +2 -2
- package/dist/calcite/{p-5223c3d2.system.entry.js → p-77a238d1.system.entry.js} +2 -2
- package/dist/calcite/{p-30c437eb.system.entry.js → p-796acd46.system.entry.js} +2 -2
- package/dist/calcite/{p-b4fc91f4.system.js → p-7af97b1e.system.js} +1 -1
- package/dist/calcite/p-80e3bdcd.system.entry.js +6 -0
- package/dist/calcite/p-84228e1c.system.entry.js +6 -0
- package/dist/calcite/{p-7a1c727a.entry.js → p-87410e9a.entry.js} +2 -2
- package/dist/calcite/{p-306d81b3.entry.js → p-897206a3.entry.js} +2 -2
- package/dist/calcite/{p-ff50c78b.js → p-89905f85.js} +1 -1
- package/dist/calcite/{p-57fc876a.system.entry.js → p-8a61cdca.system.entry.js} +2 -2
- package/dist/calcite/p-8ab94605.js +6 -0
- package/dist/calcite/p-8c541f50.system.entry.js +6 -0
- package/dist/calcite/{p-779767ad.system.entry.js → p-90599e0b.system.entry.js} +2 -2
- package/dist/calcite/{p-468bfd57.entry.js → p-908088d8.entry.js} +2 -2
- package/dist/calcite/p-91d076ae.system.entry.js +6 -0
- package/dist/calcite/{p-6c106fc6.entry.js → p-950fc0bf.entry.js} +2 -2
- package/dist/calcite/{p-137d82de.system.entry.js → p-9795f716.entry.js} +2 -2
- package/dist/calcite/{p-e68b2c54.system.entry.js → p-98e8c9b3.system.entry.js} +2 -2
- package/dist/calcite/{p-33534286.js → p-9a4875cc.js} +2 -2
- package/dist/calcite/{p-f2731744.system.entry.js → p-9d9be6c5.system.entry.js} +2 -2
- package/dist/calcite/{p-80a119fe.system.js → p-9decfc21.system.js} +1 -1
- package/dist/calcite/{p-61b74a21.system.js → p-a1464c87.system.js} +1 -1
- package/dist/calcite/{p-ea05668b.js → p-a25a1e37.js} +1 -1
- package/dist/calcite/{p-4f2bbb53.system.entry.js → p-ad41ea8c.system.entry.js} +2 -2
- package/dist/calcite/{p-f4cf092d.js → p-ad6d7fca.js} +2 -2
- package/dist/calcite/{p-312366c5.system.entry.js → p-ae269f71.system.entry.js} +3 -3
- package/dist/calcite/{p-ee091910.system.entry.js → p-ae5bf822.system.entry.js} +2 -2
- package/dist/calcite/{p-c7233011.system.js → p-b03f17b7.system.js} +1 -1
- package/dist/calcite/{p-85397f80.system.entry.js → p-b14fd728.system.entry.js} +2 -2
- package/dist/calcite/{p-79794c8a.entry.js → p-b1b6822a.entry.js} +2 -2
- package/dist/calcite/{p-80344791.entry.js → p-b30c1530.entry.js} +2 -2
- package/dist/calcite/p-b3187a24.system.js +6 -0
- package/dist/calcite/p-b7440f90.system.js +6 -0
- package/dist/calcite/{p-79980682.system.js → p-b7c77c7e.system.js} +1 -1
- package/dist/calcite/{p-8c709270.system.entry.js → p-b90d8163.system.entry.js} +2 -2
- package/dist/calcite/{p-3cc112a4.system.js → p-b9c052fc.system.js} +2 -2
- package/dist/calcite/{p-20a62160.js → p-ba26216a.js} +2 -2
- package/dist/calcite/{p-e94cdc7a.system.entry.js → p-bba15d03.system.entry.js} +2 -2
- package/dist/calcite/{p-f5e2c499.entry.js → p-bef7f036.entry.js} +2 -2
- package/dist/calcite/{p-7f3c3879.system.entry.js → p-bf806b8e.system.entry.js} +2 -2
- package/dist/calcite/{p-639ed431.system.js → p-c26af4e6.system.js} +1 -1
- package/dist/calcite/{p-0af7b542.system.entry.js → p-c2e2d513.system.entry.js} +2 -2
- package/dist/calcite/{p-ad31b535.js → p-c3f093de.js} +1 -1
- package/dist/calcite/{p-eb431423.system.entry.js → p-c57d70ad.system.entry.js} +2 -2
- package/dist/calcite/{p-14d1b367.system.entry.js → p-c6ed410d.system.entry.js} +2 -2
- package/dist/calcite/{p-a04ac7f9.system.js → p-c7917cb3.system.js} +2 -2
- package/dist/calcite/p-c8d465bc.system.entry.js +6 -0
- package/dist/calcite/{p-9a24a1aa.system.entry.js → p-c9c6d5e4.system.entry.js} +2 -2
- package/dist/calcite/{p-8b93ba20.system.entry.js → p-ca0f1a32.system.entry.js} +2 -2
- package/dist/calcite/p-caedf1e6.js +6 -0
- package/dist/calcite/{p-58895d86.system.entry.js → p-cb9cc6aa.system.entry.js} +2 -2
- package/dist/calcite/{p-98c651fd.entry.js → p-ceb49deb.entry.js} +2 -2
- package/dist/calcite/{p-5bc4f8d7.system.js → p-d0b38612.system.js} +2 -2
- package/dist/calcite/{p-25eda613.system.entry.js → p-d270f67a.system.entry.js} +2 -2
- package/dist/calcite/{p-499d8120.system.entry.js → p-d2ec4355.system.entry.js} +3 -3
- package/dist/calcite/{p-2a7aca15.system.entry.js → p-d42c183b.system.entry.js} +2 -2
- package/dist/calcite/{p-88566e70.entry.js → p-d44868e4.entry.js} +2 -2
- package/dist/calcite/{p-f6bce16c.entry.js → p-dcf1dbbd.entry.js} +2 -2
- package/dist/calcite/{p-3b6fdbee.js → p-dd11c436.js} +1 -1
- package/dist/calcite/{p-bc556e66.system.entry.js → p-decd45c7.system.entry.js} +2 -2
- package/dist/calcite/{p-675467d2.system.entry.js → p-df54e7f3.system.entry.js} +2 -2
- package/dist/calcite/{p-78815767.js → p-dff85b20.js} +1 -1
- package/dist/calcite/{p-ba3dc576.js → p-e0b96842.js} +1 -1
- package/dist/calcite/{p-8cf287bf.entry.js → p-e0f4b1d1.entry.js} +2 -2
- package/dist/calcite/{p-47051274.system.entry.js → p-e2aba8af.system.entry.js} +2 -2
- package/dist/calcite/p-e2b35fa4.system.js +6 -0
- package/dist/calcite/{p-5ac65dc2.system.entry.js → p-e3878078.system.entry.js} +2 -2
- package/dist/calcite/p-e5fd25f1.entry.js +6 -0
- package/dist/calcite/{p-18bce02e.js → p-e6bda758.js} +1 -1
- package/dist/calcite/{p-eebe9864.system.js → p-e7a5d582.system.js} +1 -1
- package/dist/calcite/{p-ec3e6596.system.entry.js → p-e88289ee.system.entry.js} +2 -2
- package/dist/calcite/{p-b8687c2c.entry.js → p-e9cc04cb.entry.js} +2 -2
- package/dist/calcite/{p-507f7fbe.entry.js → p-eacf5990.entry.js} +2 -2
- package/dist/calcite/{p-a26f832c.entry.js → p-f1ff6e62.entry.js} +2 -2
- package/dist/calcite/{p-173bbf3b.js → p-f2717b95.js} +1 -1
- package/dist/calcite/p-f27db684.entry.js +6 -0
- package/dist/calcite/p-f36096df.system.js +6 -0
- package/dist/calcite/p-f89092de.system.js +6 -0
- package/dist/calcite/p-f8daecab.entry.js +6 -0
- package/dist/calcite/{p-20d2ec6e.js → p-f9344855.js} +1 -1
- package/dist/calcite/{p-f060b744.entry.js → p-f962b5ea.entry.js} +2 -2
- package/dist/calcite/{p-ca576c86.entry.js → p-f96f100c.entry.js} +2 -2
- package/dist/calcite/{p-739afb20.system.entry.js → p-f9dee24e.system.entry.js} +2 -2
- package/dist/calcite/{p-211d5e59.entry.js → p-fa1390d4.entry.js} +2 -2
- package/dist/calcite/{p-8c5cde1a.system.entry.js → p-fa35c6fc.system.entry.js} +2 -2
- package/dist/calcite/{p-bfee221e.entry.js → p-fd6222bc.entry.js} +2 -2
- package/dist/calcite/{p-9c9bf3b8.entry.js → p-fe06c00f.entry.js} +2 -2
- package/dist/calcite/{p-01b79423.entry.js → p-fe4de7f8.entry.js} +2 -2
- package/dist/calcite/{p-e9311dbb.entry.js → p-fedcf768.entry.js} +2 -2
- package/dist/calcite/{p-fda57ea1.entry.js → p-ffc22a31.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-af60dec9.js → ExpandToggle-2a005bcc.js} +5 -5
- package/dist/cjs/{Heading-a8f9d035.js → Heading-81d1b724.js} +3 -3
- package/dist/cjs/{array-6c6877ac.js → array-27825873.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +8 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +10 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +27 -27
- package/dist/cjs/calcite-input.cjs.entry.js +21 -22
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +4 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{conditionalSlot-f68aea87.js → conditionalSlot-cfc04f3f.js} +3 -3
- package/dist/cjs/{debounce-e1ab05b1.js → debounce-715920b7.js} +1 -1
- package/dist/cjs/{dom-5c913f38.js → dom-1f568880.js} +2 -2
- package/dist/cjs/{forIn-94e4d5e2.js → forIn-4d7fff60.js} +2 -2
- package/dist/cjs/{form-2e6fe159.js → form-6263b4e4.js} +3 -3
- package/dist/cjs/{guid-45d89733.js → guid-01dcd6c8.js} +1 -1
- package/dist/cjs/{index-9b34e0e5.js → index-98855d1a.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-2690a597.js → interactive-83e6a508.js} +1 -1
- package/dist/cjs/{interfaces-1d5ce8ff.js → interfaces-5ef4e800.js} +1 -1
- package/dist/cjs/{label-3ec3afea.js → label-f9cebda4.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-79f0914a.js +266 -0
- package/dist/cjs/{math-4f97caf4.js → math-74f4dd6f.js} +1 -1
- package/dist/cjs/{observers-9d25c5ee.js → observers-489d77d0.js} +1 -1
- package/dist/cjs/{popper-0ed440cb.js → popper-730543cb.js} +2 -2
- package/dist/cjs/{resources-9e682ad5.js → resources-00dcaa95.js} +1 -1
- package/dist/cjs/{resources-90907a34.js → resources-8ff24084.js} +3 -3
- package/dist/cjs/{resources-aa40e03a.js → resources-c72dab2d.js} +7 -19
- package/dist/cjs/{resources-fa8d65f4.js → resources-d84f402e.js} +1 -1
- package/dist/cjs/{sortable.esm-a9ece37f.js → sortable.esm-3fabe923.js} +1 -1
- package/dist/cjs/{utils-5aefc328.js → utils-a48dd241.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +2 -2
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +6 -6
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +4 -0
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -15
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +1 -3
- package/dist/collection/components/tooltip/tooltip.js +15 -15
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +6 -8
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +71 -8
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +2 -2
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +8 -8
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +2 -3
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +137 -7
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +3 -15
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +85 -36
- package/dist/esm/{ExpandToggle-6478e592.js → ExpandToggle-ad30e34a.js} +5 -5
- package/dist/esm/{Heading-ca0e7050.js → Heading-32fa5b5d.js} +3 -3
- package/dist/esm/{array-305ebd5a.js → array-0c596ae9.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +8 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +10 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
- package/dist/esm/calcite-input.entry.js +10 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +4 -5
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +12 -12
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{conditionalSlot-ec51cfa0.js → conditionalSlot-944dab4b.js} +3 -3
- package/dist/esm/{debounce-4bd674bc.js → debounce-910c1ab1.js} +1 -1
- package/dist/esm/{dom-e6ce5de3.js → dom-28487dc4.js} +2 -2
- package/dist/esm/{forIn-d410fb06.js → forIn-95085efc.js} +2 -2
- package/dist/esm/{form-a7692077.js → form-fe63857e.js} +3 -3
- package/dist/esm/{guid-8bd0db05.js → guid-6ba67091.js} +1 -1
- package/dist/esm/{index-187e1294.js → index-56fd82e1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-4cbd9633.js → interactive-2c41fb4c.js} +1 -1
- package/dist/esm/{interfaces-7f1717a6.js → interfaces-0c4d560c.js} +1 -1
- package/dist/esm/{label-29d446bc.js → label-5607e4e5.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-39f45a3d.js +256 -0
- package/dist/esm/{math-2de10ffc.js → math-6a0b3bbb.js} +1 -1
- package/dist/esm/{observers-98afca41.js → observers-e4e00801.js} +1 -1
- package/dist/esm/{popper-68560617.js → popper-76b95014.js} +2 -2
- package/dist/esm/{resources-a161697f.js → resources-29f8c68f.js} +7 -19
- package/dist/esm/{resources-de3e21d1.js → resources-3078f46e.js} +3 -3
- package/dist/esm/{resources-b1613b6c.js → resources-be5f4680.js} +1 -1
- package/dist/esm/{resources-172086a3.js → resources-e1a14987.js} +1 -1
- package/dist/esm/{sortable.esm-9d820e78.js → sortable.esm-6c2ca4ca.js} +1 -1
- package/dist/esm/{utils-b917d8cb.js → utils-8563c84b.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-6478e592.js → ExpandToggle-ad30e34a.js} +2 -2
- package/dist/esm-es5/Heading-32fa5b5d.js +6 -0
- package/dist/esm-es5/{array-305ebd5a.js → array-0c596ae9.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +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.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-ec51cfa0.js → conditionalSlot-944dab4b.js} +2 -2
- package/dist/esm-es5/{debounce-4bd674bc.js → debounce-910c1ab1.js} +1 -1
- package/dist/esm-es5/{dom-e6ce5de3.js → dom-28487dc4.js} +2 -2
- package/dist/esm-es5/{forIn-d410fb06.js → forIn-95085efc.js} +2 -2
- package/dist/esm-es5/{form-a7692077.js → form-fe63857e.js} +2 -2
- package/dist/esm-es5/{guid-8bd0db05.js → guid-6ba67091.js} +1 -1
- package/dist/esm-es5/{index-187e1294.js → index-56fd82e1.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-4cbd9633.js → interactive-2c41fb4c.js} +1 -1
- package/dist/esm-es5/{interfaces-7f1717a6.js → interfaces-0c4d560c.js} +1 -1
- package/dist/esm-es5/{label-29d446bc.js → label-5607e4e5.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/locale-39f45a3d.js +6 -0
- package/dist/esm-es5/{math-2de10ffc.js → math-6a0b3bbb.js} +1 -1
- package/dist/esm-es5/{observers-98afca41.js → observers-e4e00801.js} +1 -1
- package/dist/esm-es5/{popper-68560617.js → popper-76b95014.js} +2 -2
- package/dist/esm-es5/{resources-a161697f.js → resources-29f8c68f.js} +3 -3
- package/dist/esm-es5/{resources-de3e21d1.js → resources-3078f46e.js} +2 -2
- package/dist/esm-es5/{resources-b1613b6c.js → resources-be5f4680.js} +1 -1
- package/dist/esm-es5/{resources-172086a3.js → resources-e1a14987.js} +1 -1
- package/dist/esm-es5/{sortable.esm-9d820e78.js → sortable.esm-6c2ca4ca.js} +1 -1
- package/dist/esm-es5/{utils-b917d8cb.js → utils-8563c84b.js} +1 -1
- package/dist/extras/docs-json.json +9 -9
- 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/tooltip/tooltip.d.ts +8 -8
- package/dist/types/components.d.ts +16 -16
- package/dist/types/utils/locale.d.ts +1 -0
- package/dist/types/utils/number.d.ts +16 -0
- package/hydrate/index.js +85 -36
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-0509b7b8.entry.js +0 -6
- package/dist/calcite/p-09097732.system.js +0 -6
- package/dist/calcite/p-2e791566.js +0 -6
- package/dist/calcite/p-345a0c7f.entry.js +0 -6
- package/dist/calcite/p-39e612a5.js +0 -6
- package/dist/calcite/p-44f3d1ac.system.entry.js +0 -6
- package/dist/calcite/p-571ad5f6.system.entry.js +0 -6
- package/dist/calcite/p-5d6fd14b.entry.js +0 -6
- package/dist/calcite/p-758d18d4.system.entry.js +0 -6
- package/dist/calcite/p-762d293b.system.js +0 -6
- package/dist/calcite/p-76ea21e2.entry.js +0 -6
- package/dist/calcite/p-796b9c63.js +0 -6
- package/dist/calcite/p-83dd4e96.js +0 -6
- package/dist/calcite/p-84cb2c2d.system.js +0 -6
- package/dist/calcite/p-a88f94f5.system.js +0 -6
- package/dist/calcite/p-b10d42b9.entry.js +0 -6
- package/dist/calcite/p-c0dcc142.js +0 -6
- package/dist/calcite/p-d1778dc9.system.entry.js +0 -6
- package/dist/calcite/p-de2cb0a7.entry.js +0 -6
- package/dist/calcite/p-e5d0e40b.system.js +0 -6
- package/dist/calcite/p-e7da2a89.system.js +0 -6
- package/dist/calcite/p-f16a2f4e.system.entry.js +0 -6
- package/dist/cjs/locale-a4ee8295.js +0 -131
- package/dist/cjs/number-7d3a3d83.js +0 -85
- package/dist/components/number.js +0 -77
- package/dist/esm/locale-3b69e26e.js +0 -126
- package/dist/esm/number-6b272200.js +0 -77
- package/dist/esm-es5/Heading-ca0e7050.js +0 -6
- package/dist/esm-es5/locale-3b69e26e.js +0 -6
- package/dist/esm-es5/number-6b272200.js +0 -6
|
@@ -1,126 +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.488
|
|
5
|
-
*/
|
|
6
|
-
import { a as sanitizeExponentialNumberString, i as isValidNumber, b as sanitizeDecimalString } from './number-6b272200.js';
|
|
7
|
-
|
|
8
|
-
const locales = [
|
|
9
|
-
"ar",
|
|
10
|
-
"bg",
|
|
11
|
-
"bs",
|
|
12
|
-
"ca",
|
|
13
|
-
"cs",
|
|
14
|
-
"da",
|
|
15
|
-
"de",
|
|
16
|
-
"de-CH",
|
|
17
|
-
"el",
|
|
18
|
-
"en",
|
|
19
|
-
"en-AU",
|
|
20
|
-
"en-CA",
|
|
21
|
-
"en-GB",
|
|
22
|
-
"es",
|
|
23
|
-
"es-MX",
|
|
24
|
-
"et",
|
|
25
|
-
"fi",
|
|
26
|
-
"fr",
|
|
27
|
-
"fr-CH",
|
|
28
|
-
"he",
|
|
29
|
-
"hi",
|
|
30
|
-
"hr",
|
|
31
|
-
"hu",
|
|
32
|
-
"id",
|
|
33
|
-
"it",
|
|
34
|
-
"it-CH",
|
|
35
|
-
"ja",
|
|
36
|
-
"ko",
|
|
37
|
-
"lt",
|
|
38
|
-
"lv",
|
|
39
|
-
"mk",
|
|
40
|
-
"nb",
|
|
41
|
-
"nl",
|
|
42
|
-
"pl",
|
|
43
|
-
"pt",
|
|
44
|
-
"pt-PT",
|
|
45
|
-
"ro",
|
|
46
|
-
"ru",
|
|
47
|
-
"sk",
|
|
48
|
-
"sl",
|
|
49
|
-
"sr",
|
|
50
|
-
"sv",
|
|
51
|
-
"th",
|
|
52
|
-
"tr",
|
|
53
|
-
"uk",
|
|
54
|
-
"vi",
|
|
55
|
-
"zh-CN",
|
|
56
|
-
"zh-HK",
|
|
57
|
-
"zh-TW"
|
|
58
|
-
];
|
|
59
|
-
const allDecimalsExceptLast = new RegExp(`[.](?=.*[.])`, "g");
|
|
60
|
-
const everythingExceptNumbersDecimalsAndMinusSigns = new RegExp("[^0-9-.]", "g");
|
|
61
|
-
const defaultGroupSeparator = new RegExp(",", "g");
|
|
62
|
-
const defaultNumberingSystem = new Intl.NumberFormat().resolvedOptions().numberingSystem;
|
|
63
|
-
function createLocaleNumberFormatter(locale, numberingSystem = defaultNumberingSystem) {
|
|
64
|
-
return new Intl.NumberFormat(locale, {
|
|
65
|
-
minimumFractionDigits: 0,
|
|
66
|
-
maximumFractionDigits: 20,
|
|
67
|
-
numberingSystem
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
function delocalizeNumberString(numberString, locale) {
|
|
71
|
-
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
72
|
-
const delocalizedNumberString = nonExpoNumString
|
|
73
|
-
.replace(getMinusSign(locale), "-")
|
|
74
|
-
.replace(getGroupSeparator(locale), "")
|
|
75
|
-
.replace(getDecimalSeparator(locale), ".")
|
|
76
|
-
.replace(allDecimalsExceptLast, "")
|
|
77
|
-
.replace(everythingExceptNumbersDecimalsAndMinusSigns, "");
|
|
78
|
-
return isValidNumber(delocalizedNumberString) ? delocalizedNumberString : nonExpoNumString;
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
function getGroupSeparator(locale) {
|
|
82
|
-
const formatter = createLocaleNumberFormatter(locale);
|
|
83
|
-
const parts = formatter.formatToParts(1234567);
|
|
84
|
-
const value = parts.find((part) => part.type === "group").value;
|
|
85
|
-
// change whitespace group characters that don't render correctly
|
|
86
|
-
return value.trim().length === 0 ? " " : value;
|
|
87
|
-
}
|
|
88
|
-
function getDecimalSeparator(locale) {
|
|
89
|
-
const formatter = createLocaleNumberFormatter(locale);
|
|
90
|
-
const parts = formatter.formatToParts(1.1);
|
|
91
|
-
return parts.find((part) => part.type === "decimal").value;
|
|
92
|
-
}
|
|
93
|
-
function getMinusSign(locale) {
|
|
94
|
-
const formatter = createLocaleNumberFormatter(locale);
|
|
95
|
-
const parts = formatter.formatToParts(-9);
|
|
96
|
-
return parts.find((part) => part.type === "minusSign").value;
|
|
97
|
-
}
|
|
98
|
-
function localizeNumberString(numberString, locale, displayGroupSeparator = false, numberingSystem) {
|
|
99
|
-
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
100
|
-
if (nonExpoNumString) {
|
|
101
|
-
const number = Number(sanitizeDecimalString(nonExpoNumString.replace(defaultGroupSeparator, "")));
|
|
102
|
-
if (!isNaN(number)) {
|
|
103
|
-
const formatter = createLocaleNumberFormatter(locale, numberingSystem);
|
|
104
|
-
const parts = formatter.formatToParts(number);
|
|
105
|
-
const localizedNumberString = parts
|
|
106
|
-
.map(({ type, value }) => {
|
|
107
|
-
switch (type) {
|
|
108
|
-
case "group":
|
|
109
|
-
return displayGroupSeparator ? getGroupSeparator(locale) : "";
|
|
110
|
-
case "decimal":
|
|
111
|
-
return getDecimalSeparator(locale);
|
|
112
|
-
case "minusSign":
|
|
113
|
-
return getMinusSign(locale);
|
|
114
|
-
default:
|
|
115
|
-
return value;
|
|
116
|
-
}
|
|
117
|
-
})
|
|
118
|
-
.reduce((string, part) => string + part);
|
|
119
|
-
return localizedNumberString;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
return nonExpoNumString;
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export { locales as a, delocalizeNumberString as d, getDecimalSeparator as g, localizeNumberString as l };
|
|
@@ -1,77 +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.488
|
|
5
|
-
*/
|
|
6
|
-
function isActivationKey(key) {
|
|
7
|
-
return key === "Enter" || key === " ";
|
|
8
|
-
}
|
|
9
|
-
const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
|
10
|
-
|
|
11
|
-
function isValidNumber(numberString) {
|
|
12
|
-
return !(!numberString || isNaN(Number(numberString)));
|
|
13
|
-
}
|
|
14
|
-
function parseNumberString(numberString) {
|
|
15
|
-
if (!numberString || !stringContainsNumbers(numberString)) {
|
|
16
|
-
return "";
|
|
17
|
-
}
|
|
18
|
-
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
19
|
-
let containsDecimal = false;
|
|
20
|
-
const result = nonExpoNumString
|
|
21
|
-
.split("")
|
|
22
|
-
.filter((value, i) => {
|
|
23
|
-
if (value.match(/\./g) && !containsDecimal) {
|
|
24
|
-
containsDecimal = true;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
if (value.match(/\-/g) && i === 0) {
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
return numberKeys.includes(value);
|
|
31
|
-
})
|
|
32
|
-
.reduce((string, part) => string + part);
|
|
33
|
-
return isValidNumber(result) ? Number(result).toString() : "";
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
function sanitizeDecimalString(decimalString) {
|
|
37
|
-
const decimalAtEndOfStringButNotStart = /(?!^\.)\.$/;
|
|
38
|
-
return decimalString.replace(decimalAtEndOfStringButNotStart, "");
|
|
39
|
-
}
|
|
40
|
-
function sanitizeNegativeString(negativeString) {
|
|
41
|
-
const allHyphensExceptTheStart = /(?!^-)-/g;
|
|
42
|
-
return negativeString.replace(allHyphensExceptTheStart, "");
|
|
43
|
-
}
|
|
44
|
-
function sanitizeLeadingZeroString(zeroString) {
|
|
45
|
-
const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
|
|
46
|
-
return zeroString.replace(allLeadingZerosOptionallyNegative, "$1");
|
|
47
|
-
}
|
|
48
|
-
function sanitizeNumberString(numberString) {
|
|
49
|
-
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
50
|
-
const sanitizedValue = sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(nonExpoNumString)));
|
|
51
|
-
const isNegativeDecimalOnlyZeros = /^-\b0\b\.?0*$/;
|
|
52
|
-
return isValidNumber(sanitizedValue)
|
|
53
|
-
? isNegativeDecimalOnlyZeros.test(sanitizedValue)
|
|
54
|
-
? sanitizedValue
|
|
55
|
-
: Number(sanitizedValue).toString()
|
|
56
|
-
: nonExpoNumString;
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
function sanitizeExponentialNumberString(numberString, func) {
|
|
60
|
-
if (!numberString) {
|
|
61
|
-
return numberString;
|
|
62
|
-
}
|
|
63
|
-
const firstE = numberString.toLowerCase().indexOf("e") + 1;
|
|
64
|
-
return numberString
|
|
65
|
-
.replace(/[eE]*$/g, "")
|
|
66
|
-
.substring(0, firstE)
|
|
67
|
-
.concat(numberString.slice(firstE).replace(/[eE]/g, ""))
|
|
68
|
-
.split(/[eE]/)
|
|
69
|
-
.map((section, i) => (i === 1 ? func(section.replace(/\./g, "")) : func(section)))
|
|
70
|
-
.join("e")
|
|
71
|
-
.replace(/^e/, "1e");
|
|
72
|
-
}
|
|
73
|
-
function stringContainsNumbers(string) {
|
|
74
|
-
return numberKeys.some((number) => string.includes(number));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export { sanitizeExponentialNumberString as a, sanitizeDecimalString as b, isActivationKey as c, isValidNumber as i, numberKeys as n, 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.488
|
|
5
|
-
*/
|
|
6
|
-
import{h}from"./index-187e1294.js";function constrainHeadingLevel(e){return Math.min(Math.max(Math.ceil(e),1),6)}var Heading=function(e,n){var a="h".concat(e.level);delete e.level;return h(a,Object.assign({},e),n)};export{Heading as H,constrainHeadingLevel as c};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.488
|
|
5
|
-
*/
|
|
6
|
-
import{a as sanitizeExponentialNumberString,i as isValidNumber,b as sanitizeDecimalString}from"./number-6b272200.js";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 defaultNumberingSystem=(new Intl.NumberFormat).resolvedOptions().numberingSystem;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 a=t.find((function(e){return e.type==="group"})).value;return a.trim().length===0?" ":a}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,a){if(t===void 0){t=false}return sanitizeExponentialNumberString(e,(function(e){if(e){var n=Number(sanitizeDecimalString(e.replace(defaultGroupSeparator,"")));if(!isNaN(n)){var i=createLocaleNumberFormatter(r,a);var u=i.formatToParts(n);var o=u.map((function(e){var a=e.type,n=e.value;switch(a){case"group":return t?getGroupSeparator(r):"";case"decimal":return getDecimalSeparator(r);case"minusSign":return getMinusSign(r);default:return n}})).reduce((function(e,r){return e+r}));return o}}return e}))}export{locales as a,delocalizeNumberString as d,getDecimalSeparator as g,localizeNumberString as l};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.488
|
|
5
|
-
*/
|
|
6
|
-
function isActivationKey(e){return e==="Enter"||e===" "}var numberKeys=["0","1","2","3","4","5","6","7","8","9"];function isValidNumber(e){return!(!e||isNaN(Number(e)))}function parseNumberString(e){if(!e||!stringContainsNumbers(e)){return""}return sanitizeExponentialNumberString(e,(function(e){var n=false;var r=e.split("").filter((function(e,r){if(e.match(/\./g)&&!n){n=true;return true}if(e.match(/\-/g)&&r===0){return true}return numberKeys.includes(e)})).reduce((function(e,n){return e+n}));return isValidNumber(r)?Number(r).toString():""}))}function sanitizeDecimalString(e){var n=/(?!^\.)\.$/;return e.replace(n,"")}function sanitizeNegativeString(e){var n=/(?!^-)-/g;return e.replace(n,"")}function sanitizeLeadingZeroString(e){var n=/^([-0])0+(?=\d)/;return e.replace(n,"$1")}function sanitizeNumberString(e){return sanitizeExponentialNumberString(e,(function(e){var n=sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(e)));var r=/^-\b0\b\.?0*$/;return isValidNumber(n)?r.test(n)?n:Number(n).toString():e}))}function sanitizeExponentialNumberString(e,n){if(!e){return e}var r=e.toLowerCase().indexOf("e")+1;return e.replace(/[eE]*$/g,"").substring(0,r).concat(e.slice(r).replace(/[eE]/g,"")).split(/[eE]/).map((function(e,r){return r===1?n(e.replace(/\./g,"")):n(e)})).join("e").replace(/^e/,"1e")}function stringContainsNumbers(e){return numberKeys.some((function(n){return e.includes(n)}))}export{sanitizeExponentialNumberString as a,sanitizeDecimalString as b,isActivationKey as c,isValidNumber as i,numberKeys as n,parseNumberString as p,sanitizeNumberString as s};
|