@esri/calcite-components 1.0.0-next.632 → 1.0.0-next.634
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/index.esm.js +1 -1
- package/dist/calcite/{p-aa51a6fe.entry.js → p-091c5cce.entry.js} +2 -2
- package/dist/calcite/{p-ccfb0c33.entry.js → p-0c2f17ae.entry.js} +2 -2
- package/dist/calcite/{p-19cc591c.entry.js → p-0f9820a6.entry.js} +2 -2
- package/dist/calcite/{p-3a6d68f7.js → p-15022cca.js} +2 -2
- package/dist/calcite/{p-5a898bf0.entry.js → p-1641222a.entry.js} +2 -2
- package/dist/calcite/{p-72483730.entry.js → p-19003ab3.entry.js} +2 -2
- package/dist/calcite/{p-e0a6c5f6.entry.js → p-1955c220.entry.js} +2 -2
- package/dist/calcite/{p-c16b33a2.entry.js → p-1ade2485.entry.js} +2 -2
- package/dist/calcite/{p-36130c21.entry.js → p-1bf32f54.entry.js} +2 -2
- package/dist/calcite/{p-8a5c4f98.entry.js → p-1d6a3729.entry.js} +2 -2
- package/dist/calcite/{p-c1b5f59b.js → p-1fcec990.js} +1 -1
- package/dist/calcite/{p-993ed98a.js → p-283f5c09.js} +1 -1
- package/dist/calcite/{p-fa1bce97.entry.js → p-2b318f6c.entry.js} +2 -2
- package/dist/calcite/{p-25af79f0.js → p-3248b760.js} +1 -1
- package/dist/calcite/p-363d6d79.entry.js +6 -0
- package/dist/calcite/{p-c32059c0.js → p-3a0ebd79.js} +2 -2
- package/dist/calcite/{p-87b36f4c.js → p-3ac19fc5.js} +1 -1
- package/dist/calcite/{p-5701017a.js → p-3ae26798.js} +1 -1
- package/dist/calcite/{p-f8f5f22a.js → p-3bd2a45e.js} +1 -1
- package/dist/calcite/{p-b585f1f3.js → p-3e516c7f.js} +1 -1
- package/dist/calcite/{p-86905fb5.js → p-40ac55d4.js} +1 -1
- package/dist/calcite/{p-350020e2.entry.js → p-43ad384d.entry.js} +2 -2
- package/dist/calcite/{p-afebb7a3.entry.js → p-45934568.entry.js} +2 -2
- package/dist/calcite/p-45c22e35.entry.js +6 -0
- package/dist/calcite/{p-632f9793.entry.js → p-45e94405.entry.js} +2 -2
- package/dist/calcite/{p-26221fd5.js → p-4fb26ddc.js} +1 -1
- package/dist/calcite/{p-93225a57.entry.js → p-53a18a5d.entry.js} +2 -2
- package/dist/calcite/{p-5230ef12.entry.js → p-54747397.entry.js} +2 -2
- package/dist/calcite/{p-86f57b82.entry.js → p-5aaca94e.entry.js} +2 -2
- package/dist/calcite/p-5ef82018.entry.js +6 -0
- package/dist/calcite/{p-19398bcf.js → p-60b58be2.js} +2 -2
- package/dist/calcite/{p-d6764232.entry.js → p-61ff7d33.entry.js} +2 -2
- package/dist/calcite/p-63901ce6.entry.js +6 -0
- package/dist/calcite/{p-7f6763de.entry.js → p-65af369a.entry.js} +2 -2
- package/dist/calcite/{p-64240045.entry.js → p-6633dd22.entry.js} +2 -2
- package/dist/calcite/{p-2b0bfca8.js → p-6791bba7.js} +1 -1
- package/dist/calcite/{p-d874cc53.entry.js → p-68ac060f.entry.js} +2 -2
- package/dist/calcite/{p-0303fbae.js → p-693aae03.js} +1 -1
- package/dist/calcite/{p-ce7061ee.entry.js → p-6e4a7bd1.entry.js} +2 -2
- package/dist/calcite/{p-a2c795b0.js → p-71442073.js} +2 -2
- package/dist/calcite/{p-655ce86d.js → p-77fd410f.js} +2 -2
- package/dist/calcite/{p-735321ab.entry.js → p-7811fc62.entry.js} +2 -2
- package/dist/calcite/{p-9c51f83f.entry.js → p-7c84cdd0.entry.js} +2 -2
- package/dist/calcite/{p-c114d6e9.entry.js → p-7d6f058f.entry.js} +2 -2
- package/dist/calcite/{p-52aed615.entry.js → p-81648a65.entry.js} +2 -2
- package/dist/calcite/{p-0cc25e53.entry.js → p-8463b612.entry.js} +2 -2
- package/dist/calcite/{p-d97fdcf6.entry.js → p-84d1aa8c.entry.js} +2 -2
- package/dist/calcite/{p-1c57926c.entry.js → p-891c863d.entry.js} +2 -2
- package/dist/calcite/{p-974f4b48.entry.js → p-8a0dcc5a.entry.js} +2 -2
- package/dist/calcite/p-8aaed1cd.entry.js +6 -0
- package/dist/calcite/{p-941b9462.entry.js → p-8c7c815d.entry.js} +2 -2
- package/dist/calcite/{p-c68d9538.js → p-8fd4a94b.js} +1 -1
- package/dist/calcite/{p-a3581d8b.entry.js → p-93eeb8dc.entry.js} +2 -2
- package/dist/calcite/{p-5c59c177.entry.js → p-95ea2591.entry.js} +2 -2
- package/dist/calcite/p-99fbd79f.entry.js +6 -0
- package/dist/calcite/p-9e88aa1d.js +6 -0
- package/dist/calcite/{p-abd72bf2.entry.js → p-9f0364e4.entry.js} +2 -2
- package/dist/calcite/{p-330e5c6b.entry.js → p-a00ebc99.entry.js} +2 -2
- package/dist/calcite/{p-2a801870.entry.js → p-a16fb01b.entry.js} +2 -2
- package/dist/calcite/{p-a4d69d65.js → p-a1df68f2.js} +1 -1
- package/dist/calcite/p-a859d62c.js +6 -0
- package/dist/calcite/{p-6a830477.js → p-a93c20e4.js} +2 -2
- package/dist/calcite/{p-189303c9.entry.js → p-aa828b48.entry.js} +2 -2
- package/dist/calcite/{p-361465b8.js → p-ad93f824.js} +2 -2
- package/dist/calcite/{p-afbfdab9.entry.js → p-b1b9a8cb.entry.js} +2 -2
- package/dist/calcite/{p-1ab525eb.entry.js → p-b949f88e.entry.js} +2 -2
- package/dist/calcite/{p-1c198c5b.entry.js → p-bbbb8e7b.entry.js} +2 -2
- package/dist/calcite/{p-c76023f1.entry.js → p-be329084.entry.js} +2 -2
- package/dist/calcite/{p-b4ff31d9.entry.js → p-beb4d321.entry.js} +2 -2
- package/dist/calcite/{p-2c20351d.entry.js → p-c51dd881.entry.js} +2 -2
- package/dist/calcite/{p-e09be3fb.js → p-c5471b9c.js} +1 -1
- package/dist/calcite/{p-201012c5.js → p-c6f2847f.js} +1 -1
- package/dist/calcite/{p-3611f963.entry.js → p-c8ce3c7f.entry.js} +2 -2
- package/dist/calcite/{p-89c053a0.entry.js → p-cd548d63.entry.js} +2 -2
- package/dist/calcite/{p-3529e57a.entry.js → p-cdff6a3b.entry.js} +2 -2
- package/dist/calcite/{p-37f4fbf6.entry.js → p-cfcc6d04.entry.js} +2 -2
- package/dist/calcite/{p-c8d99abf.entry.js → p-d51b3c13.entry.js} +2 -2
- package/dist/calcite/{p-ac61efff.js → p-d9315abb.js} +2 -2
- package/dist/calcite/{p-96fc45cf.entry.js → p-daf31f54.entry.js} +2 -2
- package/dist/calcite/{p-85bdbb11.entry.js → p-def7411e.entry.js} +2 -2
- package/dist/calcite/{p-ac6e713f.js → p-e0446d31.js} +2 -2
- package/dist/calcite/{p-4e6971c2.js → p-e8fe4f12.js} +1 -1
- package/dist/calcite/{p-9472a5ac.entry.js → p-ea84f206.entry.js} +2 -2
- package/dist/calcite/{p-93d60f5a.entry.js → p-f20871da.entry.js} +2 -2
- package/dist/calcite/{p-d65d3da1.entry.js → p-f21e4981.entry.js} +2 -2
- package/dist/calcite/{p-3ff080f1.entry.js → p-f33f79fe.entry.js} +2 -2
- package/dist/calcite/{p-49fe7966.entry.js → p-f554f86a.entry.js} +2 -2
- package/dist/calcite/{p-5527ebc8.js → p-fe757481.js} +2 -2
- package/dist/calcite/{p-fe0be6d9.js → p-ff11b325.js} +2 -2
- package/dist/cjs/{ExpandToggle-a2268518.js → ExpandToggle-3e3214db.js} +5 -5
- package/dist/cjs/{Heading-db8d4197.js → Heading-f9512062.js} +2 -2
- package/dist/cjs/{app-globals-7147e11d.js → app-globals-686edd04.js} +2 -2
- package/dist/cjs/{array-9ea80372.js → array-c5663245.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-message.cjs.entry.js +12 -7
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +10 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-fd337152.js → conditionalSlot-80ddc591.js} +13 -3
- package/dist/cjs/{debounce-f8c7e9b6.js → debounce-0aa10d54.js} +1 -1
- package/dist/cjs/{dom-f7828144.js → dom-48b6e7ea.js} +3 -3
- package/dist/cjs/{filter-f3c0b4f6.js → filter-a0be9143.js} +2 -2
- package/dist/cjs/{floating-ui-83c6ed49.js → floating-ui-e113e507.js} +4 -4
- package/dist/cjs/{form-b6275ade.js → form-6a1ae142.js} +3 -3
- package/dist/cjs/{guid-42c9f5bc.js → guid-e8bdff74.js} +1 -1
- package/dist/cjs/{index-97bc3529.js → index-cb33237a.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-394db149.js → interactive-58feb714.js} +1 -1
- package/dist/cjs/{interfaces-15a95c78.js → interfaces-514b6336.js} +1 -1
- package/dist/cjs/{key-ef1b5c40.js → key-28925014.js} +1 -1
- package/dist/cjs/{label-5277de10.js → label-db8e5611.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-d6c8629d.js → locale-4712da13.js} +37 -49
- package/dist/cjs/{math-7661c5a9.js → math-21003c2e.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-16ccc341.js → nonChromiumPlatformUtils-6028edcd.js} +6 -6
- package/dist/cjs/{observers-f0edd5b4.js → observers-82e08d22.js} +1 -1
- package/dist/cjs/{openCloseComponent-3619e10f.js → openCloseComponent-6fef593d.js} +1 -1
- package/dist/cjs/{resources-d8cb9314.js → resources-160d3f9d.js} +3 -3
- package/dist/cjs/{resources-05aec36a.js → resources-5722680b.js} +1 -1
- package/dist/cjs/{resources-8411fe4f.js → resources-b0c6c049.js} +5 -5
- package/dist/cjs/{resources-84367026.js → resources-b3ffaf81.js} +1 -1
- package/dist/cjs/{resources-cce171b0.js → resources-c1ff1f36.js} +1 -1
- package/dist/cjs/{resources-d8e09445.js → resources-f96b551b.js} +1 -1
- package/dist/cjs/{sortable.esm-7aed4258.js → sortable.esm-497a0105.js} +1 -1
- package/dist/cjs/{utils-8cc6d606.js → utils-3a948a07.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +2 -2
- 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/resources.js +1 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- 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/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.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/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/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.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/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/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/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +6 -16
- package/dist/collection/components/input-message/input-message.js +14 -3
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +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.css +0 -7
- package/dist/collection/components/loader/loader.js +14 -3
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/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 +2 -2
- 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/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/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/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/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.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/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +11 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +29 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +3 -3
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +33 -46
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +8 -3
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +11 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +8 -3
- package/dist/components/locale.js +34 -46
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/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 +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-de7eb89e.js → ExpandToggle-57ea743b.js} +5 -5
- package/dist/esm/{Heading-ce81383b.js → Heading-b8ffad61.js} +2 -2
- package/dist/esm/{app-globals-f6046b49.js → app-globals-d3678e8d.js} +2 -2
- package/dist/esm/{array-93ad10ae.js → array-a0914ee7.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +10 -10
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +11 -11
- package/dist/esm/calcite-dropdown_3.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +15 -15
- package/dist/esm/calcite-input-message.entry.js +12 -7
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +10 -5
- package/dist/esm/calcite-modal.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +11 -11
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +9 -9
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +7 -7
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-7cbade1a.js → conditionalSlot-cd228b87.js} +13 -3
- package/dist/esm/{debounce-3c83dd2d.js → debounce-9d3ac120.js} +1 -1
- package/dist/esm/{dom-d49f0f97.js → dom-6f749d3c.js} +3 -3
- package/dist/esm/{filter-677a7c1c.js → filter-ccedb60a.js} +2 -2
- package/dist/esm/{floating-ui-a29cecf4.js → floating-ui-c9d7a2d3.js} +4 -4
- package/dist/esm/{form-274603f8.js → form-9f9f8ce0.js} +3 -3
- package/dist/esm/{guid-4f56580f.js → guid-2e58a3a3.js} +1 -1
- package/dist/esm/{index-39e12ba3.js → index-d119a9b1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-0aa06ff9.js → interactive-091db0ac.js} +1 -1
- package/dist/esm/{interfaces-171ceb04.js → interfaces-d136299b.js} +1 -1
- package/dist/esm/{key-0dc0bbf3.js → key-88203e10.js} +1 -1
- package/dist/esm/{label-c2d65977.js → label-470d0c8c.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-67e8291a.js → locale-1513e269.js} +37 -49
- package/dist/esm/{math-6a19492f.js → math-920d7bd4.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-db4caf57.js → nonChromiumPlatformUtils-30a26773.js} +6 -6
- package/dist/esm/{observers-74d18f51.js → observers-533bc15c.js} +1 -1
- package/dist/esm/{openCloseComponent-733f7ffb.js → openCloseComponent-39f37c0e.js} +1 -1
- package/dist/esm/{resources-663172e7.js → resources-2d0f02a9.js} +5 -5
- package/dist/esm/{resources-fa77b6f3.js → resources-4ad697f1.js} +1 -1
- package/dist/esm/{resources-d2959b68.js → resources-78021ac2.js} +1 -1
- package/dist/esm/{resources-cc0585cf.js → resources-788711e6.js} +1 -1
- package/dist/esm/{resources-a12626f7.js → resources-c1440888.js} +1 -1
- package/dist/esm/{resources-8da94c50.js → resources-dd20ee16.js} +3 -3
- package/dist/esm/{sortable.esm-a150fbaf.js → sortable.esm-820523a0.js} +1 -1
- package/dist/esm/{utils-a448267c.js → utils-248398b5.js} +1 -1
- package/dist/extras/docs-json.json +24 -4
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/input-message/input-message.d.ts +6 -1
- package/dist/types/components/loader/loader.d.ts +6 -1
- package/dist/types/components.d.ts +8 -0
- package/dist/types/utils/conditionalSlot.d.ts +16 -0
- package/dist/types/utils/dom.d.ts +34 -0
- package/dist/types/utils/locale.d.ts +1 -2
- package/dist/types/utils/number.d.ts +13 -8
- package/hydrate/index.js +62 -54
- package/package.json +1 -1
- package/dist/calcite/p-18a62c19.entry.js +0 -6
- package/dist/calcite/p-3d4b7f7b.entry.js +0 -6
- package/dist/calcite/p-718b55be.entry.js +0 -6
- package/dist/calcite/p-76a6b73b.entry.js +0 -6
- package/dist/calcite/p-926bad07.entry.js +0 -6
- package/dist/calcite/p-9bf9e663.js +0 -6
- package/dist/calcite/p-b8180034.entry.js +0 -6
- package/dist/calcite/p-c5c895c6.js +0 -6
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
|
-
import { n as numberKeys } from './key-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
8
|
-
import { c as closestElementCrossShadowBoundary, b as containsCrossShadowBoundary } from './dom-
|
|
6
|
+
import { n as numberKeys } from './key-88203e10.js';
|
|
7
|
+
import { c as createObserver } from './observers-533bc15c.js';
|
|
8
|
+
import { c as closestElementCrossShadowBoundary, b as containsCrossShadowBoundary } from './dom-6f749d3c.js';
|
|
9
9
|
|
|
10
|
+
const defaultMinusSignRegex = new RegExp("-", "g");
|
|
11
|
+
const unnecessaryDecimalRegex = new RegExp("\\.?0+$");
|
|
10
12
|
// adopted from https://stackoverflow.com/a/66939244
|
|
11
13
|
class BigDecimal {
|
|
12
14
|
constructor(input) {
|
|
15
|
+
this.add = (num) => BigDecimal.fromBigInt(this.value + new BigDecimal(num).value);
|
|
16
|
+
this.subtract = (num) => BigDecimal.fromBigInt(this.value - new BigDecimal(num).value);
|
|
17
|
+
this.multiply = (num) => BigDecimal._divRound(this.value * new BigDecimal(num).value, BigDecimal.SHIFT);
|
|
18
|
+
this.divide = (num) => BigDecimal._divRound(this.value * BigDecimal.SHIFT, new BigDecimal(num).value);
|
|
13
19
|
if (input instanceof BigDecimal) {
|
|
14
20
|
return input;
|
|
15
21
|
}
|
|
@@ -19,65 +25,47 @@ class BigDecimal {
|
|
|
19
25
|
BigInt(BigDecimal.ROUNDED && decimals[BigDecimal.DECIMALS] >= "5");
|
|
20
26
|
this.isNegative = input.charAt(0) === "-";
|
|
21
27
|
}
|
|
22
|
-
|
|
23
|
-
return BigDecimal.fromBigInt(dividend / divisor + (BigDecimal.ROUNDED ? ((dividend * BigInt(2)) / divisor) % BigInt(2) : BigInt(0)));
|
|
24
|
-
}
|
|
25
|
-
static fromBigInt(bigint) {
|
|
26
|
-
return Object.assign(Object.create(BigDecimal.prototype), { value: bigint });
|
|
27
|
-
}
|
|
28
|
-
toString() {
|
|
28
|
+
getIntegersAndDecimals() {
|
|
29
29
|
const s = this.value
|
|
30
30
|
.toString()
|
|
31
|
-
.replace(
|
|
31
|
+
.replace(defaultMinusSignRegex, "")
|
|
32
32
|
.padStart(BigDecimal.DECIMALS + 1, "0");
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
const integers = s.slice(0, -BigDecimal.DECIMALS);
|
|
34
|
+
const decimals = s.slice(-BigDecimal.DECIMALS).replace(unnecessaryDecimalRegex, "");
|
|
35
|
+
return { integers, decimals };
|
|
36
|
+
}
|
|
37
|
+
toString() {
|
|
38
|
+
const { integers, decimals } = this.getIntegersAndDecimals();
|
|
39
|
+
return `${this.isNegative ? "-" : ""}${integers}${decimals.length ? "." + decimals : ""}`;
|
|
37
40
|
}
|
|
38
41
|
formatToParts(formatter) {
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const parts = formatter.formatToParts(BigInt(i));
|
|
46
|
-
this.isNegative && parts.unshift({ type: "minusSign", value: numberStringFormatter.minusSign });
|
|
47
|
-
if (d.length) {
|
|
48
|
-
parts.push({ type: "decimal", value: numberStringFormatter.decimal });
|
|
49
|
-
d.split("").forEach((char) => parts.push({ type: "fraction", value: char }));
|
|
42
|
+
const { integers, decimals } = this.getIntegersAndDecimals();
|
|
43
|
+
const parts = formatter.numberFormatter.formatToParts(BigInt(integers));
|
|
44
|
+
this.isNegative && parts.unshift({ type: "minusSign", value: formatter.minusSign });
|
|
45
|
+
if (decimals.length) {
|
|
46
|
+
parts.push({ type: "decimal", value: formatter.decimal });
|
|
47
|
+
decimals.split("").forEach((char) => parts.push({ type: "fraction", value: char }));
|
|
50
48
|
}
|
|
51
49
|
return parts;
|
|
52
50
|
}
|
|
53
51
|
format(formatter) {
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return `${
|
|
63
|
-
}
|
|
64
|
-
add(num) {
|
|
65
|
-
return BigDecimal.fromBigInt(this.value + new BigDecimal(num).value);
|
|
66
|
-
}
|
|
67
|
-
subtract(num) {
|
|
68
|
-
return BigDecimal.fromBigInt(this.value - new BigDecimal(num).value);
|
|
69
|
-
}
|
|
70
|
-
multiply(num) {
|
|
71
|
-
return BigDecimal._divRound(this.value * new BigDecimal(num).value, BigDecimal.SHIFT);
|
|
72
|
-
}
|
|
73
|
-
divide(num) {
|
|
74
|
-
return BigDecimal._divRound(this.value * BigDecimal.SHIFT, new BigDecimal(num).value);
|
|
52
|
+
const { integers, decimals } = this.getIntegersAndDecimals();
|
|
53
|
+
const integersFormatted = `${this.isNegative ? formatter.minusSign : ""}${formatter.numberFormatter.format(BigInt(integers))}`;
|
|
54
|
+
const decimalsFormatted = decimals.length
|
|
55
|
+
? `${formatter.decimal}${decimals
|
|
56
|
+
.split("")
|
|
57
|
+
.map((char) => formatter.numberFormatter.format(Number(char)))
|
|
58
|
+
.join("")}`
|
|
59
|
+
: "";
|
|
60
|
+
return `${integersFormatted}${decimalsFormatted}`;
|
|
75
61
|
}
|
|
76
62
|
}
|
|
77
63
|
// Configuration: constants
|
|
78
64
|
BigDecimal.DECIMALS = 100; // number of decimals on all instances
|
|
79
65
|
BigDecimal.ROUNDED = true; // numbers are truncated (false) or rounded (true)
|
|
80
66
|
BigDecimal.SHIFT = BigInt("1" + "0".repeat(BigDecimal.DECIMALS)); // derived constant
|
|
67
|
+
BigDecimal._divRound = (dividend, divisor) => BigDecimal.fromBigInt(dividend / divisor + (BigDecimal.ROUNDED ? ((dividend * BigInt(2)) / divisor) % BigInt(2) : BigInt(0)));
|
|
68
|
+
BigDecimal.fromBigInt = (bigint) => Object.assign(Object.create(BigDecimal.prototype), { value: bigint });
|
|
81
69
|
function isValidNumber(numberString) {
|
|
82
70
|
return !(!numberString || isNaN(Number(numberString)));
|
|
83
71
|
}
|
|
@@ -339,7 +327,7 @@ class NumberStringFormat {
|
|
|
339
327
|
this.localize = (numberString) => this._numberFormatOptions
|
|
340
328
|
? sanitizeExponentialNumberString(numberString, (nonExpoNumString) => isValidNumber(nonExpoNumString.trim())
|
|
341
329
|
? new BigDecimal(nonExpoNumString.trim())
|
|
342
|
-
.format(this
|
|
330
|
+
.format(this)
|
|
343
331
|
.replace(new RegExp(`[${this._actualGroup}]`, "g"), this._group)
|
|
344
332
|
: nonExpoNumString)
|
|
345
333
|
: numberString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
package/dist/esm/{nonChromiumPlatformUtils-db4caf57.js → nonChromiumPlatformUtils-30a26773.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
|
-
import { e as rectToClientRect } from './floating-ui-
|
|
7
|
-
import './dom-
|
|
8
|
-
import './resources-
|
|
9
|
-
import './guid-
|
|
10
|
-
import './debounce-
|
|
6
|
+
import { e as rectToClientRect } from './floating-ui-c9d7a2d3.js';
|
|
7
|
+
import './dom-6f749d3c.js';
|
|
8
|
+
import './resources-c1440888.js';
|
|
9
|
+
import './guid-2e58a3a3.js';
|
|
10
|
+
import './debounce-9d3ac120.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* This module provides utils to fix positioning across shadow DOM in non-Chromium browsers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* This utility ensures observers are created only for browser contexts.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
const componentToTransitionListeners = new WeakMap();
|
|
7
7
|
function transitionStart(event) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
|
-
import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-
|
|
7
|
-
import { g as getRoundRobinIndex } from './array-
|
|
8
|
-
import { d as debounce } from './debounce-
|
|
9
|
-
import { h, H as Host } from './index-
|
|
6
|
+
import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-6f749d3c.js';
|
|
7
|
+
import { g as getRoundRobinIndex } from './array-a0914ee7.js';
|
|
8
|
+
import { d as debounce } from './debounce-9d3ac120.js';
|
|
9
|
+
import { h, H as Host } from './index-d119a9b1.js';
|
|
10
10
|
|
|
11
11
|
const CSS$2 = {
|
|
12
12
|
heading: "heading",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
const SLOTS = {
|
|
7
7
|
menuActions: "menu-actions",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
const autoTheme = "calcite-theme-auto";
|
|
7
7
|
const darkTheme = "calcite-theme-dark";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
|
-
import { a as getAssetPath } from './index-
|
|
7
|
-
import { n as numberStringFormatter, g as getSupportedLocale } from './locale-
|
|
6
|
+
import { a as getAssetPath } from './index-d119a9b1.js';
|
|
7
|
+
import { n as numberStringFormatter, g as getSupportedLocale } from './locale-1513e269.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Check if date is within a min and max
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-11-
|
|
2
|
+
"timestamp": "2022-11-17T18:48:54",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "2.18.1",
|
|
@@ -11545,8 +11545,18 @@
|
|
|
11545
11545
|
"attr": "active",
|
|
11546
11546
|
"reflectToAttr": true,
|
|
11547
11547
|
"docs": "When `true`, the component is active.",
|
|
11548
|
-
"docsTags": [
|
|
11548
|
+
"docsTags": [
|
|
11549
|
+
{
|
|
11550
|
+
"name": "deprecated",
|
|
11551
|
+
"text": "use global `hidden` attribute instead."
|
|
11552
|
+
},
|
|
11553
|
+
{
|
|
11554
|
+
"name": "mdn",
|
|
11555
|
+
"text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
|
|
11556
|
+
}
|
|
11557
|
+
],
|
|
11549
11558
|
"default": "false",
|
|
11559
|
+
"deprecation": "use global `hidden` attribute instead.",
|
|
11550
11560
|
"values": [
|
|
11551
11561
|
{
|
|
11552
11562
|
"type": "boolean"
|
|
@@ -14302,7 +14312,7 @@
|
|
|
14302
14312
|
"docsTags": [],
|
|
14303
14313
|
"usage": {
|
|
14304
14314
|
"Basic": "You can use the `active` attribute to toggle visibility:\n\n```html\n<calcite-loader text=\"Fetching data...\" active></calcite-loader>\n```\n",
|
|
14305
|
-
"Compact": "For instances when you don't have room for the full loader, you can use the smaller `inline` version of the loader. The inline version is meant to sit to the left of text:\n\n```html\n<p><calcite-loader
|
|
14315
|
+
"Compact": "For instances when you don't have room for the full loader, you can use the smaller `inline` version of the loader. The inline version is meant to sit to the left of text:\n\n```html\n<p><calcite-loader inline></calcite-loader> Inline loader</p>\n```\n",
|
|
14306
14316
|
"Determinate": "If you can calculate your progress, it's best to use the determinate version of the loader. Update the `value` of the element when progress is made. This will display a progress bar along the perimeter of the loader showing 32% complete:\n\n```html\n<calcite-loader type=\"determinate\" value=\"32\" active></calcite-loader>\n```\n"
|
|
14307
14317
|
},
|
|
14308
14318
|
"props": [
|
|
@@ -14313,8 +14323,18 @@
|
|
|
14313
14323
|
"attr": "active",
|
|
14314
14324
|
"reflectToAttr": true,
|
|
14315
14325
|
"docs": "When `true`, the component is active.",
|
|
14316
|
-
"docsTags": [
|
|
14326
|
+
"docsTags": [
|
|
14327
|
+
{
|
|
14328
|
+
"name": "deprecated",
|
|
14329
|
+
"text": "use global `hidden` attribute instead."
|
|
14330
|
+
},
|
|
14331
|
+
{
|
|
14332
|
+
"name": "mdn",
|
|
14333
|
+
"text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
|
|
14334
|
+
}
|
|
14335
|
+
],
|
|
14317
14336
|
"default": "false",
|
|
14337
|
+
"deprecation": "use global `hidden` attribute instead.",
|
|
14318
14338
|
"values": [
|
|
14319
14339
|
{
|
|
14320
14340
|
"type": "boolean"
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.634
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -5,7 +5,12 @@ import { Scale, Status } from "../interfaces";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class InputMessage {
|
|
7
7
|
el: HTMLCalciteInputMessageElement;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* When `true`, the component is active.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated use global `hidden` attribute instead.
|
|
12
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
13
|
+
*/
|
|
9
14
|
active: boolean;
|
|
10
15
|
/** Specifies an icon to display. */
|
|
11
16
|
icon: boolean | string;
|
|
@@ -2,7 +2,12 @@ import { VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
3
|
export declare class Loader {
|
|
4
4
|
el: HTMLCalciteLoaderElement;
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* When `true`, the component is active.
|
|
7
|
+
*
|
|
8
|
+
* @deprecated use global `hidden` attribute instead.
|
|
9
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
10
|
+
*/
|
|
6
11
|
active: boolean;
|
|
7
12
|
/** When `true`, displays smaller and appears to the left of the text. */
|
|
8
13
|
inline: boolean;
|
|
@@ -1932,6 +1932,8 @@ export namespace Components {
|
|
|
1932
1932
|
interface CalciteInputMessage {
|
|
1933
1933
|
/**
|
|
1934
1934
|
* When `true`, the component is active.
|
|
1935
|
+
* @deprecated use global `hidden` attribute instead.
|
|
1936
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
1935
1937
|
*/
|
|
1936
1938
|
"active": boolean;
|
|
1937
1939
|
/**
|
|
@@ -2441,6 +2443,8 @@ export namespace Components {
|
|
|
2441
2443
|
interface CalciteLoader {
|
|
2442
2444
|
/**
|
|
2443
2445
|
* When `true`, the component is active.
|
|
2446
|
+
* @deprecated use global `hidden` attribute instead.
|
|
2447
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
2444
2448
|
*/
|
|
2445
2449
|
"active": boolean;
|
|
2446
2450
|
/**
|
|
@@ -7103,6 +7107,8 @@ declare namespace LocalJSX {
|
|
|
7103
7107
|
interface CalciteInputMessage {
|
|
7104
7108
|
/**
|
|
7105
7109
|
* When `true`, the component is active.
|
|
7110
|
+
* @deprecated use global `hidden` attribute instead.
|
|
7111
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
7106
7112
|
*/
|
|
7107
7113
|
"active"?: boolean;
|
|
7108
7114
|
/**
|
|
@@ -7583,6 +7589,8 @@ declare namespace LocalJSX {
|
|
|
7583
7589
|
interface CalciteLoader {
|
|
7584
7590
|
/**
|
|
7585
7591
|
* When `true`, the component is active.
|
|
7592
|
+
* @deprecated use global `hidden` attribute instead.
|
|
7593
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
7586
7594
|
*/
|
|
7587
7595
|
"active"?: boolean;
|
|
7588
7596
|
/**
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Defines interface for components with a dynamically changing slot.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
5
|
+
*
|
|
6
|
+
* ```
|
|
7
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
8
|
+
* ```
|
|
3
9
|
*/
|
|
4
10
|
export interface ConditionalSlotComponent {
|
|
5
11
|
/**
|
|
@@ -11,11 +17,21 @@ export interface ConditionalSlotComponent {
|
|
|
11
17
|
* Helper to set up a conditional slot component on connectedCallback.
|
|
12
18
|
*
|
|
13
19
|
* @param component
|
|
20
|
+
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
21
|
+
*
|
|
22
|
+
* ```
|
|
23
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
24
|
+
* ```
|
|
14
25
|
*/
|
|
15
26
|
export declare function connectConditionalSlotComponent(component: ConditionalSlotComponent): void;
|
|
16
27
|
/**
|
|
17
28
|
* Helper to tear down a conditional slot component on disconnectedCallback.
|
|
18
29
|
*
|
|
19
30
|
* @param component
|
|
31
|
+
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
32
|
+
*
|
|
33
|
+
* ```
|
|
34
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
35
|
+
* ```
|
|
20
36
|
*/
|
|
21
37
|
export declare function disconnectConditionalSlotComponent(component: ConditionalSlotComponent): void;
|
|
@@ -51,6 +51,18 @@ interface GetSlottedOptions {
|
|
|
51
51
|
matches?: string;
|
|
52
52
|
selector?: string;
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Gets slotted elements for a named slot.
|
|
56
|
+
*
|
|
57
|
+
* @param element
|
|
58
|
+
* @param slotName
|
|
59
|
+
* @param options
|
|
60
|
+
* @deprecated Use `onSlotchange` event instead.
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
* <slot onSlotchange={(event) => this.myElements = slotChangeGetAssignedElements(event)} />}
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
54
66
|
export declare function getSlotted<T extends Element = Element>(element: Element, slotName: string | string[] | (GetSlottedOptions & {
|
|
55
67
|
all: true;
|
|
56
68
|
}), options: GetSlottedOptions & {
|
|
@@ -69,6 +81,28 @@ export declare function intersects(rect1: DOMRect, rect2: DOMRect): boolean;
|
|
|
69
81
|
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
70
82
|
*/
|
|
71
83
|
export declare function toAriaBoolean(value: boolean): string;
|
|
84
|
+
/**
|
|
85
|
+
* This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned element.
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @param event
|
|
92
|
+
* @returns {boolean} Whether the slot has any assigned elements.
|
|
93
|
+
*/
|
|
94
|
+
export declare function slotChangeHasAssignedElement(event: Event): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* This helper returns the assigned elements on a `slot` element from the `onSlotchange` event.
|
|
97
|
+
*
|
|
98
|
+
* ```
|
|
99
|
+
* <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
102
|
+
* @param event
|
|
103
|
+
* @returns {boolean} Whether the slot has any assigned elements.
|
|
104
|
+
*/
|
|
105
|
+
export declare function slotChangeGetAssignedElements(event: Event): Element[];
|
|
72
106
|
/**
|
|
73
107
|
* This helper returns true if the pointer event fired from the primary button of the device.
|
|
74
108
|
*
|
|
@@ -67,7 +67,7 @@ export interface NumberStringFormatOptions extends Intl.NumberFormatOptions {
|
|
|
67
67
|
/**
|
|
68
68
|
* This util formats and parses numbers for localization
|
|
69
69
|
*/
|
|
70
|
-
declare class NumberStringFormat {
|
|
70
|
+
export declare class NumberStringFormat {
|
|
71
71
|
/**
|
|
72
72
|
* The actual group separator for the specified locale.
|
|
73
73
|
* Some white space group separators don't render correctly in the browser,
|
|
@@ -96,4 +96,3 @@ declare class NumberStringFormat {
|
|
|
96
96
|
localize: (numberString: string) => string;
|
|
97
97
|
}
|
|
98
98
|
export declare const numberStringFormatter: NumberStringFormat;
|
|
99
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NumberStringFormat } from "./locale";
|
|
1
2
|
export declare class BigDecimal {
|
|
2
3
|
value: bigint;
|
|
3
4
|
isNegative: boolean;
|
|
@@ -5,15 +6,19 @@ export declare class BigDecimal {
|
|
|
5
6
|
static ROUNDED: boolean;
|
|
6
7
|
static SHIFT: bigint;
|
|
7
8
|
constructor(input: string | BigDecimal);
|
|
8
|
-
static _divRound(dividend: bigint, divisor: bigint)
|
|
9
|
-
static fromBigInt(bigint: bigint)
|
|
9
|
+
static _divRound: (dividend: bigint, divisor: bigint) => bigint;
|
|
10
|
+
static fromBigInt: (bigint: bigint) => bigint;
|
|
11
|
+
getIntegersAndDecimals(): {
|
|
12
|
+
integers: string;
|
|
13
|
+
decimals: string;
|
|
14
|
+
};
|
|
10
15
|
toString(): string;
|
|
11
|
-
formatToParts(formatter:
|
|
12
|
-
format(formatter:
|
|
13
|
-
add(num: string)
|
|
14
|
-
subtract(num: string)
|
|
15
|
-
multiply(num: string)
|
|
16
|
-
divide(num: string)
|
|
16
|
+
formatToParts(formatter: NumberStringFormat): Intl.NumberFormatPart[];
|
|
17
|
+
format(formatter: NumberStringFormat): string;
|
|
18
|
+
add: (num: string) => bigint;
|
|
19
|
+
subtract: (num: string) => bigint;
|
|
20
|
+
multiply: (num: string) => bigint;
|
|
21
|
+
divide: (num: string) => bigint;
|
|
17
22
|
}
|
|
18
23
|
export declare function isValidNumber(numberString: string): boolean;
|
|
19
24
|
export declare function parseNumberString(numberString?: string): string;
|