@esri/calcite-components 2.12.0 → 2.13.0-next.1
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-014feeab.entry.js +7 -0
- package/dist/calcite/p-02522147.js +7 -0
- package/dist/calcite/p-028278a3.js +7 -0
- package/dist/calcite/p-02d208fd.entry.js +7 -0
- package/dist/calcite/p-0677a447.entry.js +7 -0
- package/dist/calcite/p-07043a58.entry.js +7 -0
- package/dist/calcite/p-07043a58.entry.js.map +1 -0
- package/dist/calcite/p-07411877.entry.js +7 -0
- package/dist/calcite/p-07411877.entry.js.map +1 -0
- package/dist/calcite/p-076d5228.js +7 -0
- package/dist/calcite/p-0950b635.js +11 -0
- package/dist/calcite/p-09ba5be7.js +7 -0
- package/dist/calcite/p-0ae3cd17.entry.js +7 -0
- package/dist/calcite/p-0c86a89d.entry.js +7 -0
- package/dist/calcite/p-0d014579.entry.js +7 -0
- package/dist/calcite/p-0f08d617.entry.js +7 -0
- package/dist/calcite/p-120790ae.entry.js +7 -0
- package/dist/calcite/p-120790ae.entry.js.map +1 -0
- package/dist/calcite/p-14e8aea5.js +7 -0
- package/dist/calcite/p-150efaa4.js +7 -0
- package/dist/calcite/p-1556bef7.js +7 -0
- package/dist/calcite/p-1747ffb9.js +7 -0
- package/dist/calcite/p-17581615.js +8 -0
- package/dist/calcite/p-176e985b.js +7 -0
- package/dist/calcite/p-176e985b.js.map +1 -0
- package/dist/calcite/p-177c7f49.entry.js +7 -0
- package/dist/calcite/p-190c7317.entry.js +7 -0
- package/dist/calcite/p-190c7317.entry.js.map +1 -0
- package/dist/calcite/p-1d6e3a98.entry.js +7 -0
- package/dist/calcite/p-1d6e3a98.entry.js.map +1 -0
- package/dist/calcite/p-1fb3b19d.js +7 -0
- package/dist/calcite/p-21eb95f3.entry.js +7 -0
- package/dist/calcite/p-23ea44e9.js +7 -0
- package/dist/calcite/p-2873d01a.js +7 -0
- package/dist/calcite/p-2ab60da2.js +7 -0
- package/dist/calcite/p-2c7543fb.entry.js +7 -0
- package/dist/calcite/p-2d3f5f11.js +13 -0
- package/dist/calcite/p-2db9acc2.entry.js +7 -0
- package/dist/calcite/p-32322e15.entry.js +7 -0
- package/dist/calcite/p-32322e15.entry.js.map +1 -0
- package/dist/calcite/p-33434e45.js +7 -0
- package/dist/calcite/p-3660bb21.entry.js +7 -0
- package/dist/calcite/p-3660bb21.entry.js.map +1 -0
- package/dist/calcite/p-36ef85c1.js +7 -0
- package/dist/calcite/p-37761a16.js +7 -0
- package/dist/calcite/p-386a42f5.entry.js +7 -0
- package/dist/calcite/p-386a42f5.entry.js.map +1 -0
- package/dist/calcite/p-3927d405.js +7 -0
- package/dist/calcite/p-3a7b1de3.entry.js +7 -0
- package/dist/calcite/p-3a7b1de3.entry.js.map +1 -0
- package/dist/calcite/p-3bffea95.js +7 -0
- package/dist/calcite/p-3cd6ef65.js +7 -0
- package/dist/calcite/p-3cf89117.js +7 -0
- package/dist/calcite/p-3eddc208.js +7 -0
- package/dist/calcite/p-416a1dfa.js +7 -0
- package/dist/calcite/p-42729737.entry.js +7 -0
- package/dist/calcite/p-42729737.entry.js.map +1 -0
- package/dist/calcite/p-42c8bed7.js +7 -0
- package/dist/calcite/p-4310e573.entry.js +7 -0
- package/dist/calcite/p-4310e573.entry.js.map +1 -0
- package/dist/calcite/p-432012f7.js +7 -0
- package/dist/calcite/p-43b5ddd0.js +7 -0
- package/dist/calcite/p-44885066.js +7 -0
- package/dist/calcite/p-44b70c91.entry.js +7 -0
- package/dist/calcite/p-44b70c91.entry.js.map +1 -0
- package/dist/calcite/p-45dd419d.entry.js +7 -0
- package/dist/calcite/p-45dd419d.entry.js.map +1 -0
- package/dist/calcite/p-474b2038.entry.js +7 -0
- package/dist/calcite/p-474b2038.entry.js.map +1 -0
- package/dist/calcite/p-47ee0f17.js +7 -0
- package/dist/calcite/p-48c46ebf.js +7 -0
- package/dist/calcite/p-49fd34a7.js +7 -0
- package/dist/calcite/p-4a654c62.js +7 -0
- package/dist/calcite/p-4d68e650.entry.js +7 -0
- package/dist/calcite/p-4d68e650.entry.js.map +1 -0
- package/dist/calcite/p-4f800b41.js +7 -0
- package/dist/calcite/p-4fe16acc.entry.js +7 -0
- package/dist/calcite/p-4fe16acc.entry.js.map +1 -0
- package/dist/calcite/p-50fa027f.js +7 -0
- package/dist/calcite/p-51536b75.js +7 -0
- package/dist/calcite/p-52a3a1d9.js +7 -0
- package/dist/calcite/p-52d11871.entry.js +7 -0
- package/dist/calcite/p-52d11871.entry.js.map +1 -0
- package/dist/calcite/p-538e4de5.js +7 -0
- package/dist/calcite/p-54e1cc3e.js +7 -0
- package/dist/calcite/p-559d5428.entry.js +7 -0
- package/dist/calcite/p-5610eb3a.js +7 -0
- package/dist/calcite/p-567ec9ce.entry.js +7 -0
- package/dist/calcite/p-567ec9ce.entry.js.map +1 -0
- package/dist/calcite/p-58acfe5c.entry.js +7 -0
- package/dist/calcite/p-58acfe5c.entry.js.map +1 -0
- package/dist/calcite/p-5a798716.js +7 -0
- package/dist/calcite/p-5be8a330.entry.js +7 -0
- package/dist/calcite/p-5bfaa911.js +7 -0
- package/dist/calcite/p-5d583a26.js +7 -0
- package/dist/calcite/p-5d73097e.js +7 -0
- package/dist/calcite/p-5d73097e.js.map +1 -0
- package/dist/calcite/p-5e62f5d8.entry.js +7 -0
- package/dist/calcite/p-5fb11bc5.js +7 -0
- package/dist/calcite/p-605d2697.js +7 -0
- package/dist/calcite/p-62a45517.js +7 -0
- package/dist/calcite/p-658e49d1.js +7 -0
- package/dist/calcite/p-6861beb6.js +7 -0
- package/dist/calcite/p-6b034312.js +7 -0
- package/dist/calcite/p-6b71176c.entry.js +7 -0
- package/dist/calcite/p-6b71176c.entry.js.map +1 -0
- package/dist/calcite/p-6d0763d1.entry.js +7 -0
- package/dist/calcite/p-6f51e3ce.entry.js +7 -0
- package/dist/calcite/p-6f51e3ce.entry.js.map +1 -0
- package/dist/calcite/p-702f5524.js +7 -0
- package/dist/calcite/p-70bc9361.js +7 -0
- package/dist/calcite/p-71846dd7.js +7 -0
- package/dist/calcite/p-71a36eac.js +7 -0
- package/dist/calcite/p-75d13a9a.js +7 -0
- package/dist/calcite/p-75f53b08.js +7 -0
- package/dist/calcite/p-78a12803.js +7 -0
- package/dist/calcite/p-7aabb05b.entry.js +7 -0
- package/dist/calcite/p-7aabb05b.entry.js.map +1 -0
- package/dist/calcite/p-7b1011c9.entry.js +7 -0
- package/dist/calcite/p-7b1011c9.entry.js.map +1 -0
- package/dist/calcite/p-7cba7142.entry.js +7 -0
- package/dist/calcite/p-7f868c0b.entry.js +7 -0
- package/dist/calcite/p-7f868c0b.entry.js.map +1 -0
- package/dist/calcite/p-827c78ae.js +7 -0
- package/dist/calcite/p-83c2d42d.entry.js +7 -0
- package/dist/calcite/p-83c2d42d.entry.js.map +1 -0
- package/dist/calcite/p-85e31bce.entry.js +7 -0
- package/dist/calcite/p-85e31bce.entry.js.map +1 -0
- package/dist/calcite/p-86670483.js +7 -0
- package/dist/calcite/p-8f15a8b8.js +7 -0
- package/dist/calcite/p-9046ce3f.entry.js +7 -0
- package/dist/calcite/p-9172abf0.entry.js +7 -0
- package/dist/calcite/p-92a1d6d7.js +7 -0
- package/dist/calcite/p-92a1d6d7.js.map +1 -0
- package/dist/calcite/p-92e7212f.js +7 -0
- package/dist/calcite/p-9312cf69.js +7 -0
- package/dist/calcite/p-934d8e45.js +7 -0
- package/dist/calcite/p-94fb2301.js +7 -0
- package/dist/calcite/p-96bfb8d9.js +7 -0
- package/dist/calcite/p-97413600.entry.js +7 -0
- package/dist/calcite/p-97413600.entry.js.map +1 -0
- package/dist/calcite/p-99eb2c21.entry.js +7 -0
- package/dist/calcite/p-99eb2c21.entry.js.map +1 -0
- package/dist/calcite/p-9c2b501a.entry.js +7 -0
- package/dist/calcite/p-9c2b501a.entry.js.map +1 -0
- package/dist/calcite/p-a3136988.js +7 -0
- package/dist/calcite/p-a4561448.entry.js +7 -0
- package/dist/calcite/p-a4561448.entry.js.map +1 -0
- package/dist/calcite/p-a4601427.js +7 -0
- package/dist/calcite/p-a49d2b8e.entry.js +7 -0
- package/dist/calcite/p-a49d2b8e.entry.js.map +1 -0
- package/dist/calcite/p-a4f09346.entry.js +7 -0
- package/dist/calcite/p-a4f09346.entry.js.map +1 -0
- package/dist/calcite/p-a56530bf.entry.js +7 -0
- package/dist/calcite/p-aa6c227e.entry.js +7 -0
- package/dist/calcite/p-abb207ee.js +7 -0
- package/dist/calcite/p-ac61143e.js +7 -0
- package/dist/calcite/p-af2ce6e6.js +7 -0
- package/dist/calcite/p-b3f8b7ef.entry.js +7 -0
- package/dist/calcite/p-b466be7f.entry.js +7 -0
- package/dist/calcite/p-b466be7f.entry.js.map +1 -0
- package/dist/calcite/p-b693e6ed.js +7 -0
- package/dist/calcite/p-b6a71674.js +7 -0
- package/dist/calcite/p-b722d250.js +7 -0
- package/dist/calcite/p-b92ebeef.js +7 -0
- package/dist/calcite/p-b96aca55.entry.js +7 -0
- package/dist/calcite/p-b96aca55.entry.js.map +1 -0
- package/dist/calcite/p-ba1afe48.entry.js +7 -0
- package/dist/calcite/p-bac694f0.js +7 -0
- package/dist/calcite/p-bac694f0.js.map +1 -0
- package/dist/calcite/p-bbac8d98.entry.js +7 -0
- package/dist/calcite/p-bbac8d98.entry.js.map +1 -0
- package/dist/calcite/p-bd29fda5.js +7 -0
- package/dist/calcite/p-c49d0c9b.entry.js +7 -0
- package/dist/calcite/p-c49d0c9b.entry.js.map +1 -0
- package/dist/calcite/p-c4f58fae.js +7 -0
- package/dist/calcite/p-c64f7f92.js +7 -0
- package/dist/calcite/p-c7a88fda.entry.js +7 -0
- package/dist/calcite/p-c86e8125.entry.js +7 -0
- package/dist/calcite/p-c86e8125.entry.js.map +1 -0
- package/dist/calcite/p-c96353cc.js +7 -0
- package/dist/calcite/p-cbc54e80.js +12 -0
- package/dist/calcite/p-cc6a06c5.entry.js +7 -0
- package/dist/calcite/p-cc6a06c5.entry.js.map +1 -0
- package/dist/calcite/p-ce35a376.entry.js +7 -0
- package/dist/calcite/p-ce8096fa.entry.js +7 -0
- package/dist/calcite/p-d32e5254.js +7 -0
- package/dist/calcite/p-d3838c95.entry.js +7 -0
- package/dist/calcite/p-d3838c95.entry.js.map +1 -0
- package/dist/calcite/p-d402a243.entry.js +7 -0
- package/dist/calcite/p-d402a243.entry.js.map +1 -0
- package/dist/calcite/p-d5a775c7.js +7 -0
- package/dist/calcite/p-d8dcfc85.entry.js +7 -0
- package/dist/calcite/p-d8dcfc85.entry.js.map +1 -0
- package/dist/calcite/p-d90ec26a.js +7 -0
- package/dist/calcite/p-d95c083d.entry.js +7 -0
- package/dist/calcite/p-de896077.entry.js +7 -0
- package/dist/calcite/p-de896077.entry.js.map +1 -0
- package/dist/calcite/p-e1cb0cf6.js +7 -0
- package/dist/calcite/p-e369ccb4.js +7 -0
- package/dist/calcite/p-e48d8987.js +7 -0
- package/dist/calcite/p-e5c0ef5b.entry.js +7 -0
- package/dist/calcite/p-e5c0ef5b.entry.js.map +1 -0
- package/dist/calcite/p-e7a44987.js +7 -0
- package/dist/calcite/p-e880cc27.js +7 -0
- package/dist/calcite/p-ee30d343.entry.js +7 -0
- package/dist/calcite/p-ee30d343.entry.js.map +1 -0
- package/dist/calcite/p-ee3a83a3.entry.js +7 -0
- package/dist/calcite/p-efe5a7bb.entry.js +7 -0
- package/dist/calcite/p-efe5a7bb.entry.js.map +1 -0
- package/dist/calcite/p-f099b69b.js +7 -0
- package/dist/calcite/p-f19f6b4d.entry.js +7 -0
- package/dist/calcite/p-f19f6b4d.entry.js.map +1 -0
- package/dist/calcite/p-f51a68ab.js +7 -0
- package/dist/calcite/p-f602db57.js +7 -0
- package/dist/calcite/p-f8d7d444.entry.js +7 -0
- package/dist/calcite/p-fa6f9740.js +7 -0
- package/dist/calcite/p-fa8bedac.js +7 -0
- package/dist/calcite/p-fbf41cbc.js +7 -0
- package/dist/calcite/p-feb35427.js +7 -0
- package/dist/calcite/p-febdb64b.js +7 -0
- package/dist/calcite/p-ff633d19.js +7 -0
- package/dist/calcite/p-ffeaebe7.entry.js +7 -0
- package/dist/calcite/p-ffeaebe7.entry.js.map +1 -0
- package/dist/cjs/ExpandToggle-5d1a0e87.js +107 -0
- package/dist/cjs/ExpandToggle-5d1a0e87.js.map +1 -0
- package/dist/cjs/FloatingArrow-06622bb5.js +47 -0
- package/dist/cjs/FloatingArrow-06622bb5.js.map +1 -0
- package/dist/cjs/Heading-c3582328.js +22 -0
- package/dist/cjs/Heading-c3582328.js.map +1 -0
- package/dist/cjs/Validation-93d2dabf.js +18 -0
- package/dist/cjs/Validation-93d2dabf.js.map +1 -0
- package/dist/cjs/app-globals-53df6ff0.js +59 -0
- package/dist/cjs/app-globals-53df6ff0.js.map +1 -0
- package/dist/cjs/ar-5351f38f.js +107 -0
- package/dist/cjs/ar-5351f38f.js.map +1 -0
- package/dist/cjs/array-a9ec0037.js +14 -0
- package/dist/cjs/array-a9ec0037.js.map +1 -0
- package/dist/cjs/bg-23720568.js +85 -0
- package/dist/cjs/bg-23720568.js.map +1 -0
- package/dist/cjs/browser-192fd050.js +32 -0
- package/dist/cjs/browser-192fd050.js.map +1 -0
- package/dist/cjs/bs-d0d85a86.js +54 -0
- package/dist/cjs/bs-d0d85a86.js.map +1 -0
- package/dist/cjs/ca-ccdf8c30.js +74 -0
- package/dist/cjs/ca-ccdf8c30.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action.cjs.entry.js +14 -16
- package/dist/cjs/calcite-action.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +19 -21
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +19 -21
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card-group.cjs.entry.js +10 -16
- package/dist/cjs/calcite-card-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +15 -17
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +16 -18
- package/dist/cjs/calcite-carousel_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -16
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -13
- package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -17
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -20
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +26 -30
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +16 -22
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-dialog.cjs.entry.js +16 -16
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -15
- package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -17
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -16
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -5
- package/dist/cjs/calcite-graph_2.cjs.entry.js +18 -20
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +14 -16
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -19
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +28 -30
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +30 -32
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +24 -26
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-af9a540e.js +2915 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-af9a540e.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input.cjs.entry.js +30 -32
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +12 -18
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +18 -28
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +11 -11
- package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -16
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +17 -19
- package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -25
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-popover.cjs.entry.js +19 -19
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -15
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -19
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -16
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sheet.cjs.entry.js +11 -11
- package/dist/cjs/calcite-shell_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -13
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -12
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +14 -16
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -16
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +17 -19
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -17
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -16
- package/dist/cjs/calcite-table-row.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +23 -25
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -11
- package/dist/cjs/calcite-tile-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +11 -19
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -15
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -17
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -25
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/component-96607c76.js +30 -0
- package/dist/cjs/component-96607c76.js.map +1 -0
- package/dist/cjs/conditionalSlot-f4fb0efd.js +51 -0
- package/dist/cjs/conditionalSlot-f4fb0efd.js.map +1 -0
- package/dist/cjs/config-1debb24e.js +40 -0
- package/dist/cjs/config-1debb24e.js.map +1 -0
- package/dist/cjs/continent-64468a2b.js +36 -0
- package/dist/cjs/continent-64468a2b.js.map +1 -0
- package/dist/cjs/core-c9c58064.js +22 -0
- package/dist/cjs/core-c9c58064.js.map +1 -0
- package/dist/cjs/country-ff31f887.js +448 -0
- package/dist/cjs/country-ff31f887.js.map +1 -0
- package/dist/cjs/cs-a230abcc.js +150 -0
- package/dist/cjs/cs-a230abcc.js.map +1 -0
- package/dist/cjs/da-3330eef0.js +70 -0
- package/dist/cjs/da-3330eef0.js.map +1 -0
- package/dist/cjs/de-49e804ff.js +94 -0
- package/dist/cjs/de-49e804ff.js.map +1 -0
- package/dist/cjs/de-at-5c690615.js +93 -0
- package/dist/cjs/de-at-5c690615.js.map +1 -0
- package/dist/cjs/de-ch-95af2386.js +93 -0
- package/dist/cjs/de-ch-95af2386.js.map +1 -0
- package/dist/cjs/debounce-f870378c.js +506 -0
- package/dist/cjs/debounce-f870378c.js.map +1 -0
- package/dist/cjs/dom-1ff7fb61.js +1212 -0
- package/dist/cjs/dom-1ff7fb61.js.map +1 -0
- package/dist/cjs/el-b33cece5.js +69 -0
- package/dist/cjs/el-b33cece5.js.map +1 -0
- package/dist/cjs/en-au-ba517e98.js +69 -0
- package/dist/cjs/en-au-ba517e98.js.map +1 -0
- package/dist/cjs/en-ca-aceb761e.js +68 -0
- package/dist/cjs/en-ca-aceb761e.js.map +1 -0
- package/dist/cjs/en-gb-c0df945f.js +72 -0
- package/dist/cjs/en-gb-c0df945f.js.map +1 -0
- package/dist/cjs/es-8b03b095.js +69 -0
- package/dist/cjs/es-8b03b095.js.map +1 -0
- package/dist/cjs/es-mx-9ba508ec.js +68 -0
- package/dist/cjs/es-mx-9ba508ec.js.map +1 -0
- package/dist/cjs/et-fa2426cf.js +95 -0
- package/dist/cjs/et-fa2426cf.js.map +1 -0
- package/dist/cjs/fi-a70195ce.js +118 -0
- package/dist/cjs/fi-a70195ce.js.map +1 -0
- package/dist/cjs/filter-fe2bc0d4.js +775 -0
- package/dist/cjs/filter-fe2bc0d4.js.map +1 -0
- package/dist/cjs/floating-ui-13425ba6.js +2359 -0
- package/dist/cjs/floating-ui-13425ba6.js.map +1 -0
- package/dist/cjs/focusTrapComponent-bc8728a2.js +1015 -0
- package/dist/cjs/focusTrapComponent-bc8728a2.js.map +1 -0
- package/dist/cjs/form-f86aab9b.js +378 -0
- package/dist/cjs/form-f86aab9b.js.map +1 -0
- package/dist/cjs/fr-134fc548.js +71 -0
- package/dist/cjs/fr-134fc548.js.map +1 -0
- package/dist/cjs/fr-ch-0751ee1b.js +69 -0
- package/dist/cjs/fr-ch-0751ee1b.js.map +1 -0
- package/dist/cjs/guid-47ff9796.js +23 -0
- package/dist/cjs/guid-47ff9796.js.map +1 -0
- package/dist/cjs/he-973b5cd9.js +108 -0
- package/dist/cjs/he-973b5cd9.js.map +1 -0
- package/dist/cjs/hi-ada3d7fc.js +68 -0
- package/dist/cjs/hi-ada3d7fc.js.map +1 -0
- package/dist/cjs/hr-a5bf9882.js +83 -0
- package/dist/cjs/hr-a5bf9882.js.map +1 -0
- package/dist/cjs/hu-f7d95795.js +91 -0
- package/dist/cjs/hu-f7d95795.js.map +1 -0
- package/dist/cjs/id-31c2f3ab.js +69 -0
- package/dist/cjs/id-31c2f3ab.js.map +1 -0
- package/dist/cjs/index-31de06a7.js +16 -0
- package/dist/cjs/index-31de06a7.js.map +1 -0
- package/dist/cjs/index-462ac36f.js +64 -0
- package/dist/cjs/index-462ac36f.js.map +1 -0
- package/dist/cjs/index-4fe70fa3.js +1987 -0
- package/dist/cjs/index-4fe70fa3.js.map +1 -0
- package/dist/cjs/index-7aa46b87.js +75 -0
- package/dist/cjs/index-7aa46b87.js.map +1 -0
- package/dist/cjs/index-e1aa6da8.js +129 -0
- package/dist/cjs/index-e1aa6da8.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-993cf588.js +57 -0
- package/dist/cjs/input-993cf588.js.map +1 -0
- package/dist/cjs/interactive-6e051cdc.js +82 -0
- package/dist/cjs/interactive-6e051cdc.js.map +1 -0
- package/dist/cjs/it-08505d9e.js +69 -0
- package/dist/cjs/it-08505d9e.js.map +1 -0
- package/dist/cjs/it-ch-15ff1daa.js +69 -0
- package/dist/cjs/it-ch-15ff1daa.js.map +1 -0
- package/dist/cjs/ja-cddb4540.js +75 -0
- package/dist/cjs/ja-cddb4540.js.map +1 -0
- package/dist/cjs/key-c3b3fd7e.js +16 -0
- package/dist/cjs/key-c3b3fd7e.js.map +1 -0
- package/dist/cjs/ko-9325369f.js +75 -0
- package/dist/cjs/ko-9325369f.js.map +1 -0
- package/dist/cjs/label-66e041c4.js +183 -0
- package/dist/cjs/label-66e041c4.js.map +1 -0
- package/dist/cjs/loadable-6f2dfe5f.js +95 -0
- package/dist/cjs/loadable-6f2dfe5f.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-38c1927e.js +597 -0
- package/dist/cjs/locale-38c1927e.js.map +1 -0
- package/dist/cjs/logger-89573320.js +58 -0
- package/dist/cjs/logger-89573320.js.map +1 -0
- package/dist/cjs/lt-b2b1dd0d.js +100 -0
- package/dist/cjs/lt-b2b1dd0d.js.map +1 -0
- package/dist/cjs/lv-ba44050a.js +69 -0
- package/dist/cjs/lv-ba44050a.js.map +1 -0
- package/dist/cjs/math-02ee6fc0.js +57 -0
- package/dist/cjs/math-02ee6fc0.js.map +1 -0
- package/dist/cjs/mk-fbaeb9f8.js +69 -0
- package/dist/cjs/mk-fbaeb9f8.js.map +1 -0
- package/dist/cjs/nb-0f360c53.js +70 -0
- package/dist/cjs/nb-0f360c53.js.map +1 -0
- package/dist/cjs/nl-75afda1e.js +70 -0
- package/dist/cjs/nl-75afda1e.js.map +1 -0
- package/dist/cjs/observers-498f2676.js +55 -0
- package/dist/cjs/observers-498f2676.js.map +1 -0
- package/dist/cjs/openCloseComponent-9a39b00a.js +62 -0
- package/dist/cjs/openCloseComponent-9a39b00a.js.map +1 -0
- package/dist/cjs/pl-29730c77.js +117 -0
- package/dist/cjs/pl-29730c77.js.map +1 -0
- package/dist/cjs/pt-5cfe0ceb.js +70 -0
- package/dist/cjs/pt-5cfe0ceb.js.map +1 -0
- package/dist/cjs/pt-br-8894e907.js +68 -0
- package/dist/cjs/pt-br-8894e907.js.map +1 -0
- package/dist/cjs/resources-13441ff6.js +65 -0
- package/dist/cjs/resources-13441ff6.js.map +1 -0
- package/dist/cjs/resources-2042deb0.js +18 -0
- package/dist/cjs/resources-2042deb0.js.map +1 -0
- package/dist/cjs/resources-209a1932.js +23 -0
- package/dist/cjs/resources-209a1932.js.map +1 -0
- package/dist/cjs/resources-86a2da64.js +26 -0
- package/dist/cjs/resources-86a2da64.js.map +1 -0
- package/dist/cjs/resources-b0583636.js +26 -0
- package/dist/cjs/resources-b0583636.js.map +1 -0
- package/dist/cjs/resources-d2d6a16a.js +36 -0
- package/dist/cjs/resources-d2d6a16a.js.map +1 -0
- package/dist/cjs/resources-f73c7292.js +410 -0
- package/dist/cjs/resources-f73c7292.js.map +1 -0
- package/dist/cjs/ro-fcf7bfda.js +69 -0
- package/dist/cjs/ro-fcf7bfda.js.map +1 -0
- package/dist/cjs/ru-294ba57a.js +129 -0
- package/dist/cjs/ru-294ba57a.js.map +1 -0
- package/dist/cjs/sk-2c4943ee.js +151 -0
- package/dist/cjs/sk-2c4943ee.js.map +1 -0
- package/dist/cjs/sl-ac885c68.js +171 -0
- package/dist/cjs/sl-ac885c68.js.map +1 -0
- package/dist/cjs/sortableComponent-b6521d30.js +2745 -0
- package/dist/cjs/sortableComponent-b6521d30.js.map +1 -0
- package/dist/cjs/sr-08bd91ea.js +104 -0
- package/dist/cjs/sr-08bd91ea.js.map +1 -0
- package/dist/cjs/sv-120a24c9.js +74 -0
- package/dist/cjs/sv-120a24c9.js.map +1 -0
- package/dist/cjs/t9n-ab4fd9b6.js +105 -0
- package/dist/cjs/t9n-ab4fd9b6.js.map +1 -0
- package/dist/cjs/th-bc749a8c.js +68 -0
- package/dist/cjs/th-bc749a8c.js.map +1 -0
- package/dist/cjs/throttle-9ef96d10.js +77 -0
- package/dist/cjs/throttle-9ef96d10.js.map +1 -0
- package/dist/cjs/time-zones-cb3dd16d.js +44 -0
- package/dist/cjs/time-zones-cb3dd16d.js.map +1 -0
- package/dist/cjs/tr-f1bb2de9.js +69 -0
- package/dist/cjs/tr-f1bb2de9.js.map +1 -0
- package/dist/cjs/uk-66aef90e.js +107 -0
- package/dist/cjs/uk-66aef90e.js.map +1 -0
- package/dist/cjs/utils-2e078867.js +310 -0
- package/dist/cjs/utils-2e078867.js.map +1 -0
- package/dist/cjs/utils-71f155f2.js +2296 -0
- package/dist/cjs/utils-71f155f2.js.map +1 -0
- package/dist/cjs/vi-85daa1a8.js +73 -0
- package/dist/cjs/vi-85daa1a8.js.map +1 -0
- package/dist/cjs/zh-cn-57adfef2.js +97 -0
- package/dist/cjs/zh-cn-57adfef2.js.map +1 -0
- package/dist/cjs/zh-hk-d49199c8.js +95 -0
- package/dist/cjs/zh-hk-d49199c8.js.map +1 -0
- package/dist/cjs/zh-tw-4d354278.js +95 -0
- package/dist/cjs/zh-tw-4d354278.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/resources.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/action/action.js +3 -5
- package/dist/collection/components/action/action.js.map +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- 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.css +5 -5
- 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/AlertManager.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/resources.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.js +6 -8
- package/dist/collection/components/block/block.js.map +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/button/button.js +6 -8
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +42 -47
- package/dist/collection/components/card/card.js +4 -6
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/card-group/card-group.css +16 -16
- package/dist/collection/components/card-group/card-group.js +3 -9
- package/dist/collection/components/card-group/card-group.js.map +1 -1
- package/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/collection/components/carousel/carousel.js +5 -7
- package/dist/collection/components/carousel/carousel.js.map +1 -1
- package/dist/collection/components/carousel/resources.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/collection/components/carousel-item/carousel-item.js +1 -1
- package/dist/collection/components/carousel-item/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.js +4 -6
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/resources.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.js +4 -6
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.js +3 -7
- package/dist/collection/components/chip-group/chip-group.js.map +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.js +4 -6
- package/dist/collection/components/color-picker/color-picker.js.map +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.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.js +4 -6
- package/dist/collection/components/combobox/combobox.js.map +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.js +4 -6
- package/dist/collection/components/combobox-item/combobox-item.js.map +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.js +3 -9
- package/dist/collection/components/date-picker-day/date-picker-day.js.map +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- 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/dialog/dialog.css +5 -5
- package/dist/collection/components/dialog/dialog.js +1 -1
- package/dist/collection/components/dialog/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.js +4 -6
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/fab/fab.js +3 -9
- package/dist/collection/components/fab/fab.js.map +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.js +3 -5
- package/dist/collection/components/filter/filter.js.map +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/flow-item/flow-item.js +3 -5
- package/dist/collection/components/flow-item/flow-item.js.map +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/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.js +4 -6
- package/dist/collection/components/handle/handle.js.map +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.js +5 -7
- package/dist/collection/components/inline-editable/inline-editable.js.map +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.js +15 -17
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.js +7 -9
- package/dist/collection/components/input-date-picker/input-date-picker.js.map +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.js +15 -17
- package/dist/collection/components/input-number/input-number.js.map +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.js +9 -11
- package/dist/collection/components/input-text/input-text.js.map +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -5
- package/dist/collection/components/input-time-picker/input-time-picker.js.map +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/resources.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.js +6 -12
- package/dist/collection/components/link/link.js.map +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.js +3 -5
- package/dist/collection/components/list/list.js.map +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.js +3 -5
- package/dist/collection/components/list-item/list-item.js.map +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.js +3 -9
- package/dist/collection/components/list-item-group/list-item-group.js.map +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/loader/resources.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +5 -5
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- 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 +5 -5
- package/dist/collection/components/panel/panel.js +4 -6
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.js +3 -5
- package/dist/collection/components/pick-list/pick-list.js.map +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/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -5
- package/dist/collection/components/pick-list-item/pick-list-item.js.map +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.css +5 -5
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.js +3 -5
- package/dist/collection/components/radio-button/radio-button.js.map +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.js +4 -6
- package/dist/collection/components/rating/rating.js.map +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.js +3 -5
- package/dist/collection/components/segmented-control/segmented-control.js.map +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.js +3 -5
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +8 -5
- package/dist/collection/components/shell-panel/shell-panel.js +3 -3
- package/dist/collection/components/shell-panel/shell-panel.js.map +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.js +5 -7
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.js +4 -6
- package/dist/collection/components/sortable-list/sortable-list.js.map +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.js +3 -9
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.js +4 -6
- package/dist/collection/components/stepper-item/stepper-item.js.map +1 -1
- package/dist/collection/components/switch/resources.js +1 -1
- package/dist/collection/components/switch/switch.css +7 -7
- package/dist/collection/components/switch/switch.js +3 -5
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.js +6 -8
- package/dist/collection/components/tab-title/tab-title.js.map +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +4 -6
- package/dist/collection/components/table-cell/table-cell.js.map +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +3 -9
- package/dist/collection/components/table-row/table-row.js.map +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.js +6 -8
- package/dist/collection/components/text-area/text-area.js.map +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.js +3 -9
- package/dist/collection/components/tile/tile.js.map +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.js +3 -5
- package/dist/collection/components/tile-group/tile-group.js.map +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.js +4 -6
- package/dist/collection/components/tile-select/tile-select.js.map +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.js +3 -9
- package/dist/collection/components/tile-select-group/tile-select-group.js.map +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- 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 +5 -5
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/tree-item/tree-item.js +7 -9
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.js +3 -5
- package/dist/collection/components/value-list/value-list.js.map +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.js +3 -5
- package/dist/collection/components/value-list-item/value-list-item.js.map +1 -1
- package/dist/collection/custom-theme/accordion-item.js +1 -1
- package/dist/collection/custom-theme/accordion.js +1 -1
- package/dist/collection/custom-theme/action.js +1 -1
- package/dist/collection/custom-theme/button.js +1 -1
- package/dist/collection/custom-theme/card.js +34 -1
- package/dist/collection/custom-theme/card.js.map +1 -1
- package/dist/collection/custom-theme/checkbox.js +1 -1
- package/dist/collection/custom-theme/chips.js +1 -1
- package/dist/collection/custom-theme/date-picker.js +1 -1
- package/dist/collection/custom-theme/dropdown.js +1 -1
- package/dist/collection/custom-theme/icon.js +1 -1
- package/dist/collection/custom-theme/loader.js +1 -1
- package/dist/collection/custom-theme/notice.js +1 -1
- package/dist/collection/custom-theme/pagination.js +1 -1
- package/dist/collection/custom-theme/segmented-control.js +1 -1
- package/dist/collection/custom-theme/slider.js +1 -1
- package/dist/collection/custom-theme/switch.js +1 -1
- package/dist/collection/custom-theme/tabs.js +1 -1
- package/dist/collection/custom-theme/tree.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.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 +2 -82
- package/dist/collection/utils/interactive.js.map +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/logger.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +3 -5
- package/dist/components/action.js.map +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +6 -8
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.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 +6 -8
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +4 -10
- package/dist/components/calcite-card-group.js.map +1 -1
- package/dist/components/calcite-card.js +5 -7
- package/dist/components/calcite-card.js.map +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +5 -7
- package/dist/components/calcite-carousel.js.map +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +3 -7
- package/dist/components/calcite-chip-group.js.map +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 +4 -6
- package/dist/components/calcite-color-picker.js.map +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-dialog.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 +3 -9
- package/dist/components/calcite-fab.js.map +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -5
- package/dist/components/calcite-flow-item.js.map +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 +5 -7
- package/dist/components/calcite-inline-editable.js.map +1 -1
- package/dist/components/calcite-input-date-picker.js +7 -9
- package/dist/components/calcite-input-date-picker.js.map +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +3 -5
- package/dist/components/calcite-input-time-picker.js.map +1 -1
- package/dist/components/calcite-input-time-zone.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 +3 -9
- package/dist/components/calcite-list-item-group.js.map +1 -1
- package/dist/components/calcite-list-item.js +3 -5
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +3 -5
- package/dist/components/calcite-list.js.map +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.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 +3 -5
- package/dist/components/calcite-pick-list.js.map +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-rating.js +4 -6
- package/dist/components/calcite-rating.js.map +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +3 -5
- package/dist/components/calcite-segmented-control.js.map +1 -1
- package/dist/components/calcite-select.js +3 -5
- package/dist/components/calcite-select.js.map +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +4 -4
- package/dist/components/calcite-shell-panel.js.map +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +5 -7
- package/dist/components/calcite-slider.js.map +1 -1
- package/dist/components/calcite-sortable-list.js +4 -6
- package/dist/components/calcite-sortable-list.js.map +1 -1
- package/dist/components/calcite-split-button.js +3 -9
- package/dist/components/calcite-split-button.js.map +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +4 -6
- package/dist/components/calcite-stepper-item.js.map +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-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +3 -9
- package/dist/components/calcite-table-row.js.map +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +6 -8
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-group.js +3 -5
- package/dist/components/calcite-tile-group.js.map +1 -1
- package/dist/components/calcite-tile-select-group.js +3 -9
- package/dist/components/calcite-tile-select-group.js.map +1 -1
- package/dist/components/calcite-tile-select.js +4 -6
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +3 -9
- package/dist/components/calcite-tile.js.map +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.js +1 -1
- package/dist/components/calcite-tree-item.js +7 -9
- package/dist/components/calcite-tree-item.js.map +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +3 -5
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +3 -5
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +4 -6
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +4 -6
- package/dist/components/chip.js.map +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +4 -6
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +4 -6
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +4 -4
- package/dist/components/config.js.map +1 -1
- package/dist/components/continent.js +1 -1
- package/dist/components/core.js +2 -2
- package/dist/components/core.js.map +1 -1
- package/dist/components/country.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +3 -9
- package/dist/components/date-picker-day.js.map +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/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +4 -6
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +3 -5
- package/dist/components/filter2.js.map +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +4 -6
- package/dist/components/handle.js.map +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +15 -17
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +9 -11
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +15 -17
- package/dist/components/input2.js.map +1 -1
- package/dist/components/interactive.js +3 -83
- package/dist/components/interactive.js.map +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +6 -12
- package/dist/components/link.js.map +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +4 -6
- package/dist/components/panel.js.map +1 -1
- package/dist/components/pick-list-item.js +3 -5
- package/dist/components/pick-list-item.js.map +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +3 -5
- package/dist/components/radio-button.js.map +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +4 -6
- package/dist/components/switch.js.map +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +6 -8
- package/dist/components/tab-title.js.map +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +4 -6
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/time-zones.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-7157261f.js +100 -0
- package/dist/esm/ExpandToggle-7157261f.js.map +1 -0
- package/dist/esm/FloatingArrow-46de385c.js +45 -0
- package/dist/esm/FloatingArrow-46de385c.js.map +1 -0
- package/dist/esm/Heading-c9a7b934.js +19 -0
- package/dist/esm/Heading-c9a7b934.js.map +1 -0
- package/dist/esm/Validation-6c8d6c8e.js +16 -0
- package/dist/esm/Validation-6c8d6c8e.js.map +1 -0
- package/dist/esm/app-globals-74880193.js +57 -0
- package/dist/esm/app-globals-74880193.js.map +1 -0
- package/dist/esm/ar-110a0418.js +105 -0
- package/dist/esm/ar-110a0418.js.map +1 -0
- package/dist/esm/array-3e20cd5d.js +12 -0
- package/dist/esm/array-3e20cd5d.js.map +1 -0
- package/dist/esm/bg-b08626f0.js +83 -0
- package/dist/esm/bg-b08626f0.js.map +1 -0
- package/dist/esm/browser-9825271f.js +29 -0
- package/dist/esm/browser-9825271f.js.map +1 -0
- package/dist/esm/bs-f7ffe1ce.js +52 -0
- package/dist/esm/bs-f7ffe1ce.js.map +1 -0
- package/dist/esm/ca-c5d522ab.js +72 -0
- package/dist/esm/ca-c5d522ab.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +10 -10
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- package/dist/esm/calcite-action-group.entry.js +14 -14
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +15 -15
- package/dist/esm/calcite-action.entry.js +14 -16
- package/dist/esm/calcite-action.entry.js.map +1 -1
- package/dist/esm/calcite-alert.entry.js +14 -14
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +19 -21
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +19 -21
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card-group.entry.js +10 -16
- package/dist/esm/calcite-card-group.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +15 -17
- package/dist/esm/calcite-card.entry.js.map +1 -1
- package/dist/esm/calcite-carousel_2.entry.js +16 -18
- package/dist/esm/calcite-carousel_2.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +14 -16
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -13
- package/dist/esm/calcite-chip-group.entry.js.map +1 -1
- package/dist/esm/calcite-chip.entry.js +15 -17
- package/dist/esm/calcite-chip.entry.js.map +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +18 -20
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +26 -30
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +16 -22
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- package/dist/esm/calcite-dialog.entry.js +16 -16
- package/dist/esm/calcite-dropdown_3.entry.js +16 -18
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +9 -15
- package/dist/esm/calcite-fab.entry.js.map +1 -1
- package/dist/esm/calcite-filter.entry.js +15 -17
- package/dist/esm/calcite-filter.entry.js.map +1 -1
- package/dist/esm/calcite-flow-item.entry.js +14 -16
- package/dist/esm/calcite-flow-item.entry.js.map +1 -1
- package/dist/esm/calcite-flow.entry.js +5 -5
- package/dist/esm/calcite-graph_2.entry.js +18 -20
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +14 -16
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +17 -19
- package/dist/esm/calcite-inline-editable.entry.js.map +1 -1
- package/dist/esm/calcite-input-date-picker.entry.js +28 -30
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -1
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +30 -32
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +24 -26
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-be0d8f45.js +2911 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-be0d8f45.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +21 -21
- package/dist/esm/calcite-input-time-zone.entry.js +20 -20
- package/dist/esm/calcite-input.entry.js +30 -32
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +12 -18
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +18 -28
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +9 -9
- package/dist/esm/calcite-menu_2.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +11 -11
- package/dist/esm/calcite-modal.entry.js +17 -17
- package/dist/esm/calcite-navigation_3.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_3.entry.js +14 -16
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +17 -19
- package/dist/esm/calcite-panel.entry.js.map +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +21 -25
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-popover.entry.js +19 -19
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +9 -9
- package/dist/esm/calcite-radio-button.entry.js +13 -15
- package/dist/esm/calcite-radio-button.entry.js.map +1 -1
- package/dist/esm/calcite-rating.entry.js +17 -19
- package/dist/esm/calcite-rating.entry.js.map +1 -1
- package/dist/esm/calcite-scrim.entry.js +10 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +14 -16
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- package/dist/esm/calcite-sheet.entry.js +11 -11
- package/dist/esm/calcite-shell_3.entry.js +15 -15
- package/dist/esm/calcite-shell_3.entry.js.map +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +11 -13
- package/dist/esm/calcite-sortable-list.entry.js.map +1 -1
- package/dist/esm/calcite-split-button.entry.js +6 -12
- package/dist/esm/calcite-split-button.entry.js.map +1 -1
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +14 -16
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +14 -16
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +17 -19
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +15 -17
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- package/dist/esm/calcite-table-row.entry.js +9 -16
- package/dist/esm/calcite-table-row.entry.js.map +1 -1
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +23 -25
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-group.entry.js +9 -11
- package/dist/esm/calcite-tile-group.entry.js.map +1 -1
- package/dist/esm/calcite-tile-select_2.entry.js +11 -19
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +9 -15
- package/dist/esm/calcite-tile.entry.js.map +1 -1
- package/dist/esm/calcite-tip_3.entry.js +14 -14
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_2.entry.js +15 -17
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +21 -25
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +7 -7
- package/dist/esm/component-56e5ceb0.js +27 -0
- package/dist/esm/component-56e5ceb0.js.map +1 -0
- package/dist/esm/conditionalSlot-5a66da95.js +48 -0
- package/dist/esm/conditionalSlot-5a66da95.js.map +1 -0
- package/dist/esm/config-2e1c1468.js +36 -0
- package/dist/esm/config-2e1c1468.js.map +1 -0
- package/dist/esm/continent-7f70557c.js +33 -0
- package/dist/esm/continent-7f70557c.js.map +1 -0
- package/dist/esm/core-2d1f6357.js +17 -0
- package/dist/esm/core-2d1f6357.js.map +1 -0
- package/dist/esm/country-87cdebde.js +446 -0
- package/dist/esm/country-87cdebde.js.map +1 -0
- package/dist/esm/cs-672bb375.js +148 -0
- package/dist/esm/cs-672bb375.js.map +1 -0
- package/dist/esm/da-fbea2680.js +68 -0
- package/dist/esm/da-fbea2680.js.map +1 -0
- package/dist/esm/de-0232f7e3.js +92 -0
- package/dist/esm/de-0232f7e3.js.map +1 -0
- package/dist/esm/de-at-4ba74e3c.js +91 -0
- package/dist/esm/de-at-4ba74e3c.js.map +1 -0
- package/dist/esm/de-ch-8a267ee4.js +91 -0
- package/dist/esm/de-ch-8a267ee4.js.map +1 -0
- package/dist/esm/debounce-dec610f5.js +497 -0
- package/dist/esm/debounce-dec610f5.js.map +1 -0
- package/dist/esm/dom-f8a9a05b.js +1177 -0
- package/dist/esm/dom-f8a9a05b.js.map +1 -0
- package/dist/esm/el-d5577536.js +67 -0
- package/dist/esm/el-d5577536.js.map +1 -0
- package/dist/esm/en-au-822c2d85.js +67 -0
- package/dist/esm/en-au-822c2d85.js.map +1 -0
- package/dist/esm/en-ca-e131a7fb.js +66 -0
- package/dist/esm/en-ca-e131a7fb.js.map +1 -0
- package/dist/esm/en-gb-2a9a8664.js +70 -0
- package/dist/esm/en-gb-2a9a8664.js.map +1 -0
- package/dist/esm/es-3e5a4301.js +67 -0
- package/dist/esm/es-3e5a4301.js.map +1 -0
- package/dist/esm/es-mx-b5f16f3a.js +66 -0
- package/dist/esm/es-mx-b5f16f3a.js.map +1 -0
- package/dist/esm/et-5d8725e5.js +93 -0
- package/dist/esm/et-5d8725e5.js.map +1 -0
- package/dist/esm/fi-0d6d7518.js +116 -0
- package/dist/esm/fi-0d6d7518.js.map +1 -0
- package/dist/esm/filter-04cbf5bc.js +772 -0
- package/dist/esm/filter-04cbf5bc.js.map +1 -0
- package/dist/esm/floating-ui-fb8cca6f.js +2351 -0
- package/dist/esm/floating-ui-fb8cca6f.js.map +1 -0
- package/dist/esm/focusTrapComponent-305f235d.js +1010 -0
- package/dist/esm/focusTrapComponent-305f235d.js.map +1 -0
- package/dist/esm/form-1c0d49a7.js +369 -0
- package/dist/esm/form-1c0d49a7.js.map +1 -0
- package/dist/esm/fr-ae44097a.js +69 -0
- package/dist/esm/fr-ae44097a.js.map +1 -0
- package/dist/esm/fr-ch-b71baab2.js +67 -0
- package/dist/esm/fr-ch-b71baab2.js.map +1 -0
- package/dist/esm/guid-aa009f8b.js +21 -0
- package/dist/esm/guid-aa009f8b.js.map +1 -0
- package/dist/esm/he-193673b5.js +106 -0
- package/dist/esm/he-193673b5.js.map +1 -0
- package/dist/esm/hi-07e346cb.js +66 -0
- package/dist/esm/hi-07e346cb.js.map +1 -0
- package/dist/esm/hr-89fe23fc.js +81 -0
- package/dist/esm/hr-89fe23fc.js.map +1 -0
- package/dist/esm/hu-5fef45d9.js +89 -0
- package/dist/esm/hu-5fef45d9.js.map +1 -0
- package/dist/esm/id-f384fbe4.js +67 -0
- package/dist/esm/id-f384fbe4.js.map +1 -0
- package/dist/esm/index-03447bb1.js +14 -0
- package/dist/esm/index-03447bb1.js.map +1 -0
- package/dist/esm/index-1a2eaad0.js +127 -0
- package/dist/esm/index-1a2eaad0.js.map +1 -0
- package/dist/esm/index-7dcf4bb1.js +62 -0
- package/dist/esm/index-7dcf4bb1.js.map +1 -0
- package/dist/esm/index-aa12ea72.js +73 -0
- package/dist/esm/index-aa12ea72.js.map +1 -0
- package/dist/esm/index-acdcefa7.js +1952 -0
- package/dist/esm/index-acdcefa7.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-e8ead7b2.js +55 -0
- package/dist/esm/input-e8ead7b2.js.map +1 -0
- package/dist/esm/interactive-415c1964.js +79 -0
- package/dist/esm/interactive-415c1964.js.map +1 -0
- package/dist/esm/it-6405381e.js +67 -0
- package/dist/esm/it-6405381e.js.map +1 -0
- package/dist/esm/it-ch-1fe97e9d.js +67 -0
- package/dist/esm/it-ch-1fe97e9d.js.map +1 -0
- package/dist/esm/ja-7c521857.js +73 -0
- package/dist/esm/ja-7c521857.js.map +1 -0
- package/dist/esm/key-c1fc7d8d.js +13 -0
- package/dist/esm/key-c1fc7d8d.js.map +1 -0
- package/dist/esm/ko-33149293.js +73 -0
- package/dist/esm/ko-33149293.js.map +1 -0
- package/dist/esm/label-14c99573.js +176 -0
- package/dist/esm/label-14c99573.js.map +1 -0
- package/dist/esm/loadable-57f3ee06.js +90 -0
- package/dist/esm/loadable-57f3ee06.js.map +1 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-6a8e5573.js +583 -0
- package/dist/esm/locale-6a8e5573.js.map +1 -0
- package/dist/esm/logger-2d1832fb.js +56 -0
- package/dist/esm/logger-2d1832fb.js.map +1 -0
- package/dist/esm/lt-3d822f92.js +98 -0
- package/dist/esm/lt-3d822f92.js.map +1 -0
- package/dist/esm/lv-4dcfd1aa.js +67 -0
- package/dist/esm/lv-4dcfd1aa.js.map +1 -0
- package/dist/esm/math-d624eebe.js +51 -0
- package/dist/esm/math-d624eebe.js.map +1 -0
- package/dist/esm/mk-540b7d76.js +67 -0
- package/dist/esm/mk-540b7d76.js.map +1 -0
- package/dist/esm/nb-021ecddf.js +68 -0
- package/dist/esm/nb-021ecddf.js.map +1 -0
- package/dist/esm/nl-31f80138.js +68 -0
- package/dist/esm/nl-31f80138.js.map +1 -0
- package/dist/esm/observers-d7d4dc40.js +53 -0
- package/dist/esm/observers-d7d4dc40.js.map +1 -0
- package/dist/esm/openCloseComponent-0ca09381.js +60 -0
- package/dist/esm/openCloseComponent-0ca09381.js.map +1 -0
- package/dist/esm/pl-483300a4.js +115 -0
- package/dist/esm/pl-483300a4.js.map +1 -0
- package/dist/esm/pt-af7cba7b.js +68 -0
- package/dist/esm/pt-af7cba7b.js.map +1 -0
- package/dist/esm/pt-br-2df70b7e.js +66 -0
- package/dist/esm/pt-br-2df70b7e.js.map +1 -0
- package/dist/esm/resources-2de24c26.js +31 -0
- package/dist/esm/resources-2de24c26.js.map +1 -0
- package/dist/esm/resources-47e6741d.js +16 -0
- package/dist/esm/resources-47e6741d.js.map +1 -0
- package/dist/esm/resources-7a467deb.js +21 -0
- package/dist/esm/resources-7a467deb.js.map +1 -0
- package/dist/esm/resources-b8338234.js +382 -0
- package/dist/esm/resources-b8338234.js.map +1 -0
- package/dist/esm/resources-ceb8c841.js +60 -0
- package/dist/esm/resources-ceb8c841.js.map +1 -0
- package/dist/esm/resources-d06d5d9d.js +19 -0
- package/dist/esm/resources-d06d5d9d.js.map +1 -0
- package/dist/esm/resources-d47c075f.js +23 -0
- package/dist/esm/resources-d47c075f.js.map +1 -0
- package/dist/esm/ro-f89c36d0.js +67 -0
- package/dist/esm/ro-f89c36d0.js.map +1 -0
- package/dist/esm/ru-62e5e458.js +127 -0
- package/dist/esm/ru-62e5e458.js.map +1 -0
- package/dist/esm/sk-6443f5a9.js +149 -0
- package/dist/esm/sk-6443f5a9.js.map +1 -0
- package/dist/esm/sl-26f6176f.js +169 -0
- package/dist/esm/sl-26f6176f.js.map +1 -0
- package/dist/esm/sortableComponent-c663cc57.js +2742 -0
- package/dist/esm/sortableComponent-c663cc57.js.map +1 -0
- package/dist/esm/sr-cdb1a1b9.js +102 -0
- package/dist/esm/sr-cdb1a1b9.js.map +1 -0
- package/dist/esm/sv-6d67e00c.js +72 -0
- package/dist/esm/sv-6d67e00c.js.map +1 -0
- package/dist/esm/t9n-04e8ac27.js +100 -0
- package/dist/esm/t9n-04e8ac27.js.map +1 -0
- package/dist/esm/th-8af23b65.js +66 -0
- package/dist/esm/th-8af23b65.js.map +1 -0
- package/dist/esm/throttle-9434c3ac.js +75 -0
- package/dist/esm/throttle-9434c3ac.js.map +1 -0
- package/dist/esm/time-zones-ca5ceeb3.js +42 -0
- package/dist/esm/time-zones-ca5ceeb3.js.map +1 -0
- package/dist/esm/tr-f77ec2ed.js +67 -0
- package/dist/esm/tr-f77ec2ed.js.map +1 -0
- package/dist/esm/uk-5c438236.js +105 -0
- package/dist/esm/uk-5c438236.js.map +1 -0
- package/dist/esm/utils-7927b459.js +2266 -0
- package/dist/esm/utils-7927b459.js.map +1 -0
- package/dist/esm/utils-a4c565e4.js +292 -0
- package/dist/esm/utils-a4c565e4.js.map +1 -0
- package/dist/esm/vi-820958cd.js +71 -0
- package/dist/esm/vi-820958cd.js.map +1 -0
- package/dist/esm/zh-cn-3dcc5a47.js +95 -0
- package/dist/esm/zh-cn-3dcc5a47.js.map +1 -0
- package/dist/esm/zh-hk-0439edac.js +93 -0
- package/dist/esm/zh-hk-0439edac.js.map +1 -0
- package/dist/esm/zh-tw-e17f620a.js +93 -0
- package/dist/esm/zh-tw-e17f620a.js.map +1 -0
- package/dist/extras/docs-json.json +28 -8
- 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/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/types/components/card-group/card-group.d.ts +0 -2
- package/dist/types/components/chip-group/chip-group.d.ts +0 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -2
- package/dist/types/components/fab/fab.d.ts +0 -2
- package/dist/types/components/link/link.d.ts +0 -2
- package/dist/types/components/list-item-group/list-item-group.d.ts +0 -2
- package/dist/types/components/split-button/split-button.d.ts +0 -2
- package/dist/types/components/table-row/table-row.d.ts +0 -2
- package/dist/types/components/tile/tile.d.ts +0 -2
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +0 -2
- package/dist/types/custom-theme/card.d.ts +1 -0
- package/dist/types/utils/interactive.d.ts +0 -16
- package/hydrate/index.js +134 -353
- package/hydrate/index.mjs +134 -353
- package/package.json +3 -3
- package/dist/calcite/p-017d0775.entry.js +0 -7
- package/dist/calcite/p-02ad710b.entry.js +0 -7
- package/dist/calcite/p-02ad710b.entry.js.map +0 -1
- package/dist/calcite/p-05734c5c.entry.js +0 -7
- package/dist/calcite/p-05734c5c.entry.js.map +0 -1
- package/dist/calcite/p-0766ef84.entry.js +0 -7
- package/dist/calcite/p-0766ef84.entry.js.map +0 -1
- package/dist/calcite/p-07a83506.entry.js +0 -7
- package/dist/calcite/p-0b687c2f.entry.js +0 -7
- package/dist/calcite/p-0b687c2f.entry.js.map +0 -1
- package/dist/calcite/p-0bbcfa13.js +0 -7
- package/dist/calcite/p-0c0aade7.js +0 -7
- package/dist/calcite/p-0ce7ec28.js +0 -7
- package/dist/calcite/p-104d1d32.entry.js +0 -7
- package/dist/calcite/p-14b9d726.js +0 -13
- package/dist/calcite/p-14e01ed9.entry.js +0 -7
- package/dist/calcite/p-14e01ed9.entry.js.map +0 -1
- package/dist/calcite/p-14ea97ed.entry.js +0 -7
- package/dist/calcite/p-16cb4ab2.entry.js +0 -7
- package/dist/calcite/p-16cb4ab2.entry.js.map +0 -1
- package/dist/calcite/p-17c701ba.js +0 -7
- package/dist/calcite/p-19f43fe6.js +0 -7
- package/dist/calcite/p-1ba0988f.js +0 -7
- package/dist/calcite/p-1bec1ef7.js +0 -7
- package/dist/calcite/p-1d6a8a46.entry.js +0 -7
- package/dist/calcite/p-1ed66145.entry.js +0 -7
- package/dist/calcite/p-1ed66145.entry.js.map +0 -1
- package/dist/calcite/p-20bc22ca.entry.js +0 -7
- package/dist/calcite/p-20d6d814.js +0 -7
- package/dist/calcite/p-258a4ccb.entry.js +0 -7
- package/dist/calcite/p-258a4ccb.entry.js.map +0 -1
- package/dist/calcite/p-27ab49c7.js +0 -12
- package/dist/calcite/p-27b69025.js +0 -7
- package/dist/calcite/p-2829b220.entry.js +0 -7
- package/dist/calcite/p-28ecfae7.js +0 -7
- package/dist/calcite/p-29407c7e.entry.js +0 -7
- package/dist/calcite/p-29407c7e.entry.js.map +0 -1
- package/dist/calcite/p-29c291d1.js +0 -7
- package/dist/calcite/p-29d4f1ed.js +0 -7
- package/dist/calcite/p-2a45cac8.entry.js +0 -7
- package/dist/calcite/p-2a45cac8.entry.js.map +0 -1
- package/dist/calcite/p-2a6464bc.js +0 -7
- package/dist/calcite/p-2bed8053.js +0 -7
- package/dist/calcite/p-2c6f74fe.entry.js +0 -7
- package/dist/calcite/p-2c6f74fe.entry.js.map +0 -1
- package/dist/calcite/p-2d88c083.js +0 -7
- package/dist/calcite/p-2e2e89c0.entry.js +0 -7
- package/dist/calcite/p-2e2e89c0.entry.js.map +0 -1
- package/dist/calcite/p-30789c90.js +0 -7
- package/dist/calcite/p-32d7aa5f.entry.js +0 -7
- package/dist/calcite/p-357db407.js +0 -7
- package/dist/calcite/p-36ecadf9.js +0 -7
- package/dist/calcite/p-3787986b.js +0 -7
- package/dist/calcite/p-3a03cb69.entry.js +0 -7
- package/dist/calcite/p-3a03cb69.entry.js.map +0 -1
- package/dist/calcite/p-3c4fe54e.js +0 -7
- package/dist/calcite/p-3dc78399.js +0 -7
- package/dist/calcite/p-4236247d.entry.js +0 -7
- package/dist/calcite/p-4236247d.entry.js.map +0 -1
- package/dist/calcite/p-42901549.js +0 -7
- package/dist/calcite/p-42ed7d55.js +0 -7
- package/dist/calcite/p-4377c650.js +0 -7
- package/dist/calcite/p-447d61ae.js +0 -7
- package/dist/calcite/p-45ac55e3.js +0 -7
- package/dist/calcite/p-45d13552.js +0 -7
- package/dist/calcite/p-46ee72e7.js +0 -7
- package/dist/calcite/p-4a322c0e.js +0 -7
- package/dist/calcite/p-4e955a72.js +0 -7
- package/dist/calcite/p-4eff860d.entry.js +0 -7
- package/dist/calcite/p-4eff860d.entry.js.map +0 -1
- package/dist/calcite/p-4f53529c.js +0 -7
- package/dist/calcite/p-4f616cbe.js +0 -7
- package/dist/calcite/p-51262907.entry.js +0 -7
- package/dist/calcite/p-51262907.entry.js.map +0 -1
- package/dist/calcite/p-54cee839.entry.js +0 -7
- package/dist/calcite/p-54cee839.entry.js.map +0 -1
- package/dist/calcite/p-56bab01f.js +0 -7
- package/dist/calcite/p-5b45eef3.js +0 -7
- package/dist/calcite/p-5b5ebddf.js +0 -7
- package/dist/calcite/p-5ba99915.js +0 -7
- package/dist/calcite/p-5bee2979.entry.js +0 -7
- package/dist/calcite/p-5cd9e744.entry.js +0 -7
- package/dist/calcite/p-5cd9e744.entry.js.map +0 -1
- package/dist/calcite/p-5daaab7f.js +0 -7
- package/dist/calcite/p-5fe70602.entry.js +0 -7
- package/dist/calcite/p-603d7196.js +0 -7
- package/dist/calcite/p-64329e55.js +0 -7
- package/dist/calcite/p-655f7f65.entry.js +0 -7
- package/dist/calcite/p-656dc8f5.entry.js +0 -7
- package/dist/calcite/p-656dc8f5.entry.js.map +0 -1
- package/dist/calcite/p-67c605e1.entry.js +0 -7
- package/dist/calcite/p-67c605e1.entry.js.map +0 -1
- package/dist/calcite/p-67e6ac12.js +0 -7
- package/dist/calcite/p-68012ee3.entry.js +0 -7
- package/dist/calcite/p-68012ee3.entry.js.map +0 -1
- package/dist/calcite/p-68099e3d.entry.js +0 -7
- package/dist/calcite/p-68099e3d.entry.js.map +0 -1
- package/dist/calcite/p-6de921a8.entry.js +0 -7
- package/dist/calcite/p-6de921a8.entry.js.map +0 -1
- package/dist/calcite/p-6f580f9d.js +0 -7
- package/dist/calcite/p-6ff8e6fb.js +0 -7
- package/dist/calcite/p-6ff8e6fb.js.map +0 -1
- package/dist/calcite/p-72ccdeee.js +0 -7
- package/dist/calcite/p-73278244.entry.js +0 -7
- package/dist/calcite/p-73278244.entry.js.map +0 -1
- package/dist/calcite/p-769c1c82.js +0 -7
- package/dist/calcite/p-76bb7115.js +0 -7
- package/dist/calcite/p-76bb7115.js.map +0 -1
- package/dist/calcite/p-77bb03a6.js +0 -7
- package/dist/calcite/p-78673acb.js +0 -7
- package/dist/calcite/p-7b8ae5f7.entry.js +0 -7
- package/dist/calcite/p-7b8ae5f7.entry.js.map +0 -1
- package/dist/calcite/p-7c8836c8.entry.js +0 -7
- package/dist/calcite/p-7f0164c9.entry.js +0 -7
- package/dist/calcite/p-87901e5b.entry.js +0 -7
- package/dist/calcite/p-88dc3535.entry.js +0 -7
- package/dist/calcite/p-88dc3535.entry.js.map +0 -1
- package/dist/calcite/p-8c7e61d1.js +0 -7
- package/dist/calcite/p-8d7b9480.entry.js +0 -7
- package/dist/calcite/p-8d7b9480.entry.js.map +0 -1
- package/dist/calcite/p-8f8cbbc7.js +0 -7
- package/dist/calcite/p-8f8cbbc7.js.map +0 -1
- package/dist/calcite/p-9626115b.js +0 -7
- package/dist/calcite/p-962cef0f.entry.js +0 -7
- package/dist/calcite/p-967b7e40.entry.js +0 -7
- package/dist/calcite/p-967b7e40.entry.js.map +0 -1
- package/dist/calcite/p-9a2f96d2.js +0 -7
- package/dist/calcite/p-9c191250.js +0 -7
- package/dist/calcite/p-9f2a67d4.js +0 -7
- package/dist/calcite/p-a02ae7a8.entry.js +0 -7
- package/dist/calcite/p-a066ce03.entry.js +0 -7
- package/dist/calcite/p-a066ce03.entry.js.map +0 -1
- package/dist/calcite/p-a2b2076b.entry.js +0 -7
- package/dist/calcite/p-a49b95d8.js +0 -7
- package/dist/calcite/p-a4ac8fc3.js +0 -7
- package/dist/calcite/p-a4ba2c4c.js +0 -11
- package/dist/calcite/p-a9789e0e.js +0 -7
- package/dist/calcite/p-a9cce7b0.js +0 -7
- package/dist/calcite/p-aaea23e1.js +0 -7
- package/dist/calcite/p-adfbff91.js +0 -7
- package/dist/calcite/p-ae31eacb.entry.js +0 -7
- package/dist/calcite/p-ae31eacb.entry.js.map +0 -1
- package/dist/calcite/p-b11d24a6.entry.js +0 -7
- package/dist/calcite/p-b11d24a6.entry.js.map +0 -1
- package/dist/calcite/p-b1c60fc6.entry.js +0 -7
- package/dist/calcite/p-b1c60fc6.entry.js.map +0 -1
- package/dist/calcite/p-b21fae6a.entry.js +0 -7
- package/dist/calcite/p-b21fae6a.entry.js.map +0 -1
- package/dist/calcite/p-b335de89.entry.js +0 -7
- package/dist/calcite/p-b335de89.entry.js.map +0 -1
- package/dist/calcite/p-b4a0d361.js +0 -7
- package/dist/calcite/p-b5defc67.entry.js +0 -7
- package/dist/calcite/p-ba1b1e59.entry.js +0 -7
- package/dist/calcite/p-ba1b1e59.entry.js.map +0 -1
- package/dist/calcite/p-bc4f64c1.js +0 -7
- package/dist/calcite/p-bccffc90.js +0 -7
- package/dist/calcite/p-bcf067ac.js +0 -7
- package/dist/calcite/p-bcf68eb1.entry.js +0 -7
- package/dist/calcite/p-bcf68eb1.entry.js.map +0 -1
- package/dist/calcite/p-be5e7b6d.entry.js +0 -7
- package/dist/calcite/p-be5e7b6d.entry.js.map +0 -1
- package/dist/calcite/p-c2e2ac7c.entry.js +0 -7
- package/dist/calcite/p-c2e2ac7c.entry.js.map +0 -1
- package/dist/calcite/p-c31dfdef.js +0 -7
- package/dist/calcite/p-c473b37c.js +0 -7
- package/dist/calcite/p-c4bad52c.js +0 -7
- package/dist/calcite/p-c60c7e01.js +0 -7
- package/dist/calcite/p-c71281c2.js +0 -7
- package/dist/calcite/p-cbd31ba2.js +0 -7
- package/dist/calcite/p-cbed8c79.js +0 -7
- package/dist/calcite/p-ce533cd8.js +0 -7
- package/dist/calcite/p-ceb1e330.entry.js +0 -7
- package/dist/calcite/p-cee45aed.entry.js +0 -7
- package/dist/calcite/p-d014effb.js +0 -7
- package/dist/calcite/p-d014effb.js.map +0 -1
- package/dist/calcite/p-d3be4e55.js +0 -7
- package/dist/calcite/p-d41b81d5.js +0 -7
- package/dist/calcite/p-d5f63246.entry.js +0 -7
- package/dist/calcite/p-d5f63246.entry.js.map +0 -1
- package/dist/calcite/p-d6a25fe2.js +0 -7
- package/dist/calcite/p-d6aca761.js +0 -7
- package/dist/calcite/p-d6ca33de.entry.js +0 -7
- package/dist/calcite/p-d8284779.entry.js +0 -7
- package/dist/calcite/p-d8284779.entry.js.map +0 -1
- package/dist/calcite/p-d9408c0d.js +0 -7
- package/dist/calcite/p-dc9e6847.js +0 -7
- package/dist/calcite/p-dcecb4a0.js +0 -7
- package/dist/calcite/p-de70fda8.js +0 -7
- package/dist/calcite/p-df52e4bb.entry.js +0 -7
- package/dist/calcite/p-df52e4bb.entry.js.map +0 -1
- package/dist/calcite/p-df5bdc47.js +0 -7
- package/dist/calcite/p-e2fa918e.entry.js +0 -7
- package/dist/calcite/p-e3a13205.js +0 -7
- package/dist/calcite/p-e65edb81.entry.js +0 -7
- package/dist/calcite/p-e7089478.js +0 -7
- package/dist/calcite/p-e7104b8d.js +0 -8
- package/dist/calcite/p-ec26c92e.entry.js +0 -7
- package/dist/calcite/p-ec26c92e.entry.js.map +0 -1
- package/dist/calcite/p-ec71be9a.js +0 -7
- package/dist/calcite/p-eda94ee4.entry.js +0 -7
- package/dist/calcite/p-eda94ee4.entry.js.map +0 -1
- package/dist/calcite/p-ee01924f.js +0 -7
- package/dist/calcite/p-ee3313d3.entry.js +0 -7
- package/dist/calcite/p-ee3313d3.entry.js.map +0 -1
- package/dist/calcite/p-ef33ea6c.entry.js +0 -7
- package/dist/calcite/p-ef33ea6c.entry.js.map +0 -1
- package/dist/calcite/p-f08093d7.js +0 -7
- package/dist/calcite/p-f08edbd2.entry.js +0 -7
- package/dist/calcite/p-f3811cf9.entry.js +0 -7
- package/dist/calcite/p-f438e5e1.js +0 -7
- package/dist/calcite/p-f49181c8.js +0 -7
- package/dist/calcite/p-f6bd8ab0.entry.js +0 -7
- package/dist/calcite/p-f6bd8ab0.entry.js.map +0 -1
- package/dist/calcite/p-fa3de576.entry.js +0 -7
- package/dist/calcite/p-fa4ca863.js +0 -7
- package/dist/calcite/p-fb8915bd.js +0 -7
- package/dist/calcite/p-fb9a1d16.js +0 -7
- package/dist/calcite/p-fd22e26e.js +0 -7
- package/dist/calcite/p-fd34808b.entry.js +0 -7
- package/dist/calcite/p-fd34808b.entry.js.map +0 -1
- package/dist/calcite/p-ff0ed5c9.entry.js +0 -7
- package/dist/calcite/p-ff232f67.js +0 -7
- package/dist/calcite/p-ff423d82.js +0 -7
- package/dist/calcite/p-ffdbdb0a.entry.js +0 -7
- package/dist/cjs/ExpandToggle-622d2a45.js +0 -107
- package/dist/cjs/ExpandToggle-622d2a45.js.map +0 -1
- package/dist/cjs/FloatingArrow-4fdda76f.js +0 -47
- package/dist/cjs/FloatingArrow-4fdda76f.js.map +0 -1
- package/dist/cjs/Heading-de722eac.js +0 -22
- package/dist/cjs/Heading-de722eac.js.map +0 -1
- package/dist/cjs/Validation-65075c83.js +0 -18
- package/dist/cjs/Validation-65075c83.js.map +0 -1
- package/dist/cjs/app-globals-9601b1a5.js +0 -59
- package/dist/cjs/app-globals-9601b1a5.js.map +0 -1
- package/dist/cjs/ar-154ca274.js +0 -107
- package/dist/cjs/ar-154ca274.js.map +0 -1
- package/dist/cjs/array-8c9a10f4.js +0 -14
- package/dist/cjs/array-8c9a10f4.js.map +0 -1
- package/dist/cjs/bg-79b5933c.js +0 -85
- package/dist/cjs/bg-79b5933c.js.map +0 -1
- package/dist/cjs/browser-89880371.js +0 -32
- package/dist/cjs/browser-89880371.js.map +0 -1
- package/dist/cjs/bs-c49da07c.js +0 -54
- package/dist/cjs/bs-c49da07c.js.map +0 -1
- package/dist/cjs/ca-0863baf3.js +0 -74
- package/dist/cjs/ca-0863baf3.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-025b2200.js +0 -2917
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-025b2200.js.map +0 -1
- package/dist/cjs/component-c5bbc3ae.js +0 -30
- package/dist/cjs/component-c5bbc3ae.js.map +0 -1
- package/dist/cjs/conditionalSlot-4e316663.js +0 -51
- package/dist/cjs/conditionalSlot-4e316663.js.map +0 -1
- package/dist/cjs/config-e9f6bd0a.js +0 -40
- package/dist/cjs/config-e9f6bd0a.js.map +0 -1
- package/dist/cjs/continent-155daeb1.js +0 -36
- package/dist/cjs/continent-155daeb1.js.map +0 -1
- package/dist/cjs/core-f694f030.js +0 -22
- package/dist/cjs/core-f694f030.js.map +0 -1
- package/dist/cjs/country-7f32eda2.js +0 -448
- package/dist/cjs/country-7f32eda2.js.map +0 -1
- package/dist/cjs/cs-54e1b5cf.js +0 -150
- package/dist/cjs/cs-54e1b5cf.js.map +0 -1
- package/dist/cjs/da-52e3d718.js +0 -70
- package/dist/cjs/da-52e3d718.js.map +0 -1
- package/dist/cjs/de-at-65acdbc1.js +0 -93
- package/dist/cjs/de-at-65acdbc1.js.map +0 -1
- package/dist/cjs/de-ch-ce8f1a1c.js +0 -93
- package/dist/cjs/de-ch-ce8f1a1c.js.map +0 -1
- package/dist/cjs/de-d89c706d.js +0 -94
- package/dist/cjs/de-d89c706d.js.map +0 -1
- package/dist/cjs/debounce-e2fa4fee.js +0 -506
- package/dist/cjs/debounce-e2fa4fee.js.map +0 -1
- package/dist/cjs/dom-cdce16d7.js +0 -1212
- package/dist/cjs/dom-cdce16d7.js.map +0 -1
- package/dist/cjs/el-57afe2bc.js +0 -69
- package/dist/cjs/el-57afe2bc.js.map +0 -1
- package/dist/cjs/en-au-702ac83c.js +0 -69
- package/dist/cjs/en-au-702ac83c.js.map +0 -1
- package/dist/cjs/en-ca-9140e631.js +0 -68
- package/dist/cjs/en-ca-9140e631.js.map +0 -1
- package/dist/cjs/en-gb-2b223c3e.js +0 -72
- package/dist/cjs/en-gb-2b223c3e.js.map +0 -1
- package/dist/cjs/es-d1ab2cc2.js +0 -69
- package/dist/cjs/es-d1ab2cc2.js.map +0 -1
- package/dist/cjs/es-mx-b9e15828.js +0 -68
- package/dist/cjs/es-mx-b9e15828.js.map +0 -1
- package/dist/cjs/et-510d5549.js +0 -95
- package/dist/cjs/et-510d5549.js.map +0 -1
- package/dist/cjs/fi-e97c7a64.js +0 -118
- package/dist/cjs/fi-e97c7a64.js.map +0 -1
- package/dist/cjs/filter-c06f32cc.js +0 -775
- package/dist/cjs/filter-c06f32cc.js.map +0 -1
- package/dist/cjs/floating-ui-6e06932f.js +0 -2359
- package/dist/cjs/floating-ui-6e06932f.js.map +0 -1
- package/dist/cjs/focusTrapComponent-70446160.js +0 -1015
- package/dist/cjs/focusTrapComponent-70446160.js.map +0 -1
- package/dist/cjs/form-1b8877c5.js +0 -378
- package/dist/cjs/form-1b8877c5.js.map +0 -1
- package/dist/cjs/fr-ch-eb59e179.js +0 -69
- package/dist/cjs/fr-ch-eb59e179.js.map +0 -1
- package/dist/cjs/fr-e79016d2.js +0 -71
- package/dist/cjs/fr-e79016d2.js.map +0 -1
- package/dist/cjs/guid-a0aaca44.js +0 -23
- package/dist/cjs/guid-a0aaca44.js.map +0 -1
- package/dist/cjs/he-fdbf2dd5.js +0 -108
- package/dist/cjs/he-fdbf2dd5.js.map +0 -1
- package/dist/cjs/hi-0e950cce.js +0 -68
- package/dist/cjs/hi-0e950cce.js.map +0 -1
- package/dist/cjs/hr-d9158375.js +0 -83
- package/dist/cjs/hr-d9158375.js.map +0 -1
- package/dist/cjs/hu-124621b2.js +0 -91
- package/dist/cjs/hu-124621b2.js.map +0 -1
- package/dist/cjs/id-9c205875.js +0 -69
- package/dist/cjs/id-9c205875.js.map +0 -1
- package/dist/cjs/index-0dfa5282.js +0 -75
- package/dist/cjs/index-0dfa5282.js.map +0 -1
- package/dist/cjs/index-1cc417af.js +0 -64
- package/dist/cjs/index-1cc417af.js.map +0 -1
- package/dist/cjs/index-53010548.js +0 -129
- package/dist/cjs/index-53010548.js.map +0 -1
- package/dist/cjs/index-ad2770ac.js +0 -16
- package/dist/cjs/index-ad2770ac.js.map +0 -1
- package/dist/cjs/index-fdc628de.js +0 -1987
- package/dist/cjs/index-fdc628de.js.map +0 -1
- package/dist/cjs/input-5c338969.js +0 -57
- package/dist/cjs/input-5c338969.js.map +0 -1
- package/dist/cjs/interactive-9db98a91.js +0 -164
- package/dist/cjs/interactive-9db98a91.js.map +0 -1
- package/dist/cjs/it-620a7b12.js +0 -69
- package/dist/cjs/it-620a7b12.js.map +0 -1
- package/dist/cjs/it-ch-4e65e386.js +0 -69
- package/dist/cjs/it-ch-4e65e386.js.map +0 -1
- package/dist/cjs/ja-9370a387.js +0 -75
- package/dist/cjs/ja-9370a387.js.map +0 -1
- package/dist/cjs/key-5de2d409.js +0 -16
- package/dist/cjs/key-5de2d409.js.map +0 -1
- package/dist/cjs/ko-b94649d5.js +0 -75
- package/dist/cjs/ko-b94649d5.js.map +0 -1
- package/dist/cjs/label-37a32e86.js +0 -183
- package/dist/cjs/label-37a32e86.js.map +0 -1
- package/dist/cjs/loadable-8de43def.js +0 -95
- package/dist/cjs/loadable-8de43def.js.map +0 -1
- package/dist/cjs/locale-987403a2.js +0 -597
- package/dist/cjs/locale-987403a2.js.map +0 -1
- package/dist/cjs/logger-69a1146d.js +0 -58
- package/dist/cjs/logger-69a1146d.js.map +0 -1
- package/dist/cjs/lt-556fa520.js +0 -100
- package/dist/cjs/lt-556fa520.js.map +0 -1
- package/dist/cjs/lv-d914f8d2.js +0 -69
- package/dist/cjs/lv-d914f8d2.js.map +0 -1
- package/dist/cjs/math-a71d1af7.js +0 -57
- package/dist/cjs/math-a71d1af7.js.map +0 -1
- package/dist/cjs/mk-820df166.js +0 -69
- package/dist/cjs/mk-820df166.js.map +0 -1
- package/dist/cjs/nb-4e717082.js +0 -70
- package/dist/cjs/nb-4e717082.js.map +0 -1
- package/dist/cjs/nl-ede07375.js +0 -70
- package/dist/cjs/nl-ede07375.js.map +0 -1
- package/dist/cjs/observers-3a410d9c.js +0 -55
- package/dist/cjs/observers-3a410d9c.js.map +0 -1
- package/dist/cjs/openCloseComponent-8d689ca4.js +0 -62
- package/dist/cjs/openCloseComponent-8d689ca4.js.map +0 -1
- package/dist/cjs/pl-717c2f99.js +0 -117
- package/dist/cjs/pl-717c2f99.js.map +0 -1
- package/dist/cjs/pt-827a9016.js +0 -70
- package/dist/cjs/pt-827a9016.js.map +0 -1
- package/dist/cjs/pt-br-e8379edb.js +0 -68
- package/dist/cjs/pt-br-e8379edb.js.map +0 -1
- package/dist/cjs/resources-2063cefc.js +0 -26
- package/dist/cjs/resources-2063cefc.js.map +0 -1
- package/dist/cjs/resources-88de7c68.js +0 -18
- package/dist/cjs/resources-88de7c68.js.map +0 -1
- package/dist/cjs/resources-8a5c46a3.js +0 -36
- package/dist/cjs/resources-8a5c46a3.js.map +0 -1
- package/dist/cjs/resources-b57f9074.js +0 -23
- package/dist/cjs/resources-b57f9074.js.map +0 -1
- package/dist/cjs/resources-b9ce497e.js +0 -65
- package/dist/cjs/resources-b9ce497e.js.map +0 -1
- package/dist/cjs/resources-be7080cd.js +0 -26
- package/dist/cjs/resources-be7080cd.js.map +0 -1
- package/dist/cjs/resources-d481fc15.js +0 -410
- package/dist/cjs/resources-d481fc15.js.map +0 -1
- package/dist/cjs/ro-ea57c9ce.js +0 -69
- package/dist/cjs/ro-ea57c9ce.js.map +0 -1
- package/dist/cjs/ru-268c61b0.js +0 -129
- package/dist/cjs/ru-268c61b0.js.map +0 -1
- package/dist/cjs/sk-680a8d49.js +0 -151
- package/dist/cjs/sk-680a8d49.js.map +0 -1
- package/dist/cjs/sl-69070dda.js +0 -171
- package/dist/cjs/sl-69070dda.js.map +0 -1
- package/dist/cjs/sortableComponent-5aab28be.js +0 -2745
- package/dist/cjs/sortableComponent-5aab28be.js.map +0 -1
- package/dist/cjs/sr-fce5021e.js +0 -104
- package/dist/cjs/sr-fce5021e.js.map +0 -1
- package/dist/cjs/sv-2a9066ca.js +0 -74
- package/dist/cjs/sv-2a9066ca.js.map +0 -1
- package/dist/cjs/t9n-0ac48eea.js +0 -105
- package/dist/cjs/t9n-0ac48eea.js.map +0 -1
- package/dist/cjs/th-08e7d0b4.js +0 -68
- package/dist/cjs/th-08e7d0b4.js.map +0 -1
- package/dist/cjs/throttle-8f335b6a.js +0 -77
- package/dist/cjs/throttle-8f335b6a.js.map +0 -1
- package/dist/cjs/time-zones-8a4844a7.js +0 -44
- package/dist/cjs/time-zones-8a4844a7.js.map +0 -1
- package/dist/cjs/tr-8a93ae41.js +0 -69
- package/dist/cjs/tr-8a93ae41.js.map +0 -1
- package/dist/cjs/uk-ef1fa06a.js +0 -107
- package/dist/cjs/uk-ef1fa06a.js.map +0 -1
- package/dist/cjs/utils-88a54038.js +0 -2296
- package/dist/cjs/utils-88a54038.js.map +0 -1
- package/dist/cjs/utils-f4b189a4.js +0 -310
- package/dist/cjs/utils-f4b189a4.js.map +0 -1
- package/dist/cjs/vi-3a24a4de.js +0 -73
- package/dist/cjs/vi-3a24a4de.js.map +0 -1
- package/dist/cjs/zh-cn-9b1ca6ce.js +0 -97
- package/dist/cjs/zh-cn-9b1ca6ce.js.map +0 -1
- package/dist/cjs/zh-hk-e786c225.js +0 -95
- package/dist/cjs/zh-hk-e786c225.js.map +0 -1
- package/dist/cjs/zh-tw-4734adb7.js +0 -95
- package/dist/cjs/zh-tw-4734adb7.js.map +0 -1
- package/dist/esm/ExpandToggle-d0df6ce4.js +0 -100
- package/dist/esm/ExpandToggle-d0df6ce4.js.map +0 -1
- package/dist/esm/FloatingArrow-8f69a70d.js +0 -45
- package/dist/esm/FloatingArrow-8f69a70d.js.map +0 -1
- package/dist/esm/Heading-92af9aa3.js +0 -19
- package/dist/esm/Heading-92af9aa3.js.map +0 -1
- package/dist/esm/Validation-4d96ef97.js +0 -16
- package/dist/esm/Validation-4d96ef97.js.map +0 -1
- package/dist/esm/app-globals-93843bf9.js +0 -57
- package/dist/esm/app-globals-93843bf9.js.map +0 -1
- package/dist/esm/ar-309fdf14.js +0 -105
- package/dist/esm/ar-309fdf14.js.map +0 -1
- package/dist/esm/array-5b9b43be.js +0 -12
- package/dist/esm/array-5b9b43be.js.map +0 -1
- package/dist/esm/bg-2e146376.js +0 -83
- package/dist/esm/bg-2e146376.js.map +0 -1
- package/dist/esm/browser-71ae41c0.js +0 -29
- package/dist/esm/browser-71ae41c0.js.map +0 -1
- package/dist/esm/bs-bfb7bc11.js +0 -52
- package/dist/esm/bs-bfb7bc11.js.map +0 -1
- package/dist/esm/ca-c8458529.js +0 -72
- package/dist/esm/ca-c8458529.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-e14a53fa.js +0 -2913
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-e14a53fa.js.map +0 -1
- package/dist/esm/component-3bb9cc9e.js +0 -27
- package/dist/esm/component-3bb9cc9e.js.map +0 -1
- package/dist/esm/conditionalSlot-1885c3b2.js +0 -48
- package/dist/esm/conditionalSlot-1885c3b2.js.map +0 -1
- package/dist/esm/config-8ecb98ae.js +0 -36
- package/dist/esm/config-8ecb98ae.js.map +0 -1
- package/dist/esm/continent-b4796c7b.js +0 -33
- package/dist/esm/continent-b4796c7b.js.map +0 -1
- package/dist/esm/core-b3f69cac.js +0 -17
- package/dist/esm/core-b3f69cac.js.map +0 -1
- package/dist/esm/country-bf1da4d7.js +0 -446
- package/dist/esm/country-bf1da4d7.js.map +0 -1
- package/dist/esm/cs-15cf130a.js +0 -148
- package/dist/esm/cs-15cf130a.js.map +0 -1
- package/dist/esm/da-c7fba524.js +0 -68
- package/dist/esm/da-c7fba524.js.map +0 -1
- package/dist/esm/de-at-8ecb2594.js +0 -91
- package/dist/esm/de-at-8ecb2594.js.map +0 -1
- package/dist/esm/de-ch-348d7323.js +0 -91
- package/dist/esm/de-ch-348d7323.js.map +0 -1
- package/dist/esm/de-e29d7084.js +0 -92
- package/dist/esm/de-e29d7084.js.map +0 -1
- package/dist/esm/debounce-5279931d.js +0 -497
- package/dist/esm/debounce-5279931d.js.map +0 -1
- package/dist/esm/dom-14c76f9f.js +0 -1177
- package/dist/esm/dom-14c76f9f.js.map +0 -1
- package/dist/esm/el-7e3912f7.js +0 -67
- package/dist/esm/el-7e3912f7.js.map +0 -1
- package/dist/esm/en-au-36827a6b.js +0 -67
- package/dist/esm/en-au-36827a6b.js.map +0 -1
- package/dist/esm/en-ca-606fb7e7.js +0 -66
- package/dist/esm/en-ca-606fb7e7.js.map +0 -1
- package/dist/esm/en-gb-5544af02.js +0 -70
- package/dist/esm/en-gb-5544af02.js.map +0 -1
- package/dist/esm/es-734948b2.js +0 -67
- package/dist/esm/es-734948b2.js.map +0 -1
- package/dist/esm/es-mx-8b3b8f73.js +0 -66
- package/dist/esm/es-mx-8b3b8f73.js.map +0 -1
- package/dist/esm/et-b53815f9.js +0 -93
- package/dist/esm/et-b53815f9.js.map +0 -1
- package/dist/esm/fi-27df75a3.js +0 -116
- package/dist/esm/fi-27df75a3.js.map +0 -1
- package/dist/esm/filter-feccea1d.js +0 -772
- package/dist/esm/filter-feccea1d.js.map +0 -1
- package/dist/esm/floating-ui-bd353a44.js +0 -2351
- package/dist/esm/floating-ui-bd353a44.js.map +0 -1
- package/dist/esm/focusTrapComponent-5d4b3f59.js +0 -1010
- package/dist/esm/focusTrapComponent-5d4b3f59.js.map +0 -1
- package/dist/esm/form-00e9ec02.js +0 -369
- package/dist/esm/form-00e9ec02.js.map +0 -1
- package/dist/esm/fr-288b5098.js +0 -69
- package/dist/esm/fr-288b5098.js.map +0 -1
- package/dist/esm/fr-ch-80951468.js +0 -67
- package/dist/esm/fr-ch-80951468.js.map +0 -1
- package/dist/esm/guid-295f272c.js +0 -21
- package/dist/esm/guid-295f272c.js.map +0 -1
- package/dist/esm/he-45dcd1cb.js +0 -106
- package/dist/esm/he-45dcd1cb.js.map +0 -1
- package/dist/esm/hi-c6b71d44.js +0 -66
- package/dist/esm/hi-c6b71d44.js.map +0 -1
- package/dist/esm/hr-0f613eb3.js +0 -81
- package/dist/esm/hr-0f613eb3.js.map +0 -1
- package/dist/esm/hu-f953ce6b.js +0 -89
- package/dist/esm/hu-f953ce6b.js.map +0 -1
- package/dist/esm/id-d9252bf3.js +0 -67
- package/dist/esm/id-d9252bf3.js.map +0 -1
- package/dist/esm/index-42a09246.js +0 -1952
- package/dist/esm/index-42a09246.js.map +0 -1
- package/dist/esm/index-739f8898.js +0 -14
- package/dist/esm/index-739f8898.js.map +0 -1
- package/dist/esm/index-7e006bdc.js +0 -62
- package/dist/esm/index-7e006bdc.js.map +0 -1
- package/dist/esm/index-cdb5657a.js +0 -73
- package/dist/esm/index-cdb5657a.js.map +0 -1
- package/dist/esm/index-ec937086.js +0 -127
- package/dist/esm/index-ec937086.js.map +0 -1
- package/dist/esm/input-e6b6a1fa.js +0 -55
- package/dist/esm/input-e6b6a1fa.js.map +0 -1
- package/dist/esm/interactive-31600299.js +0 -159
- package/dist/esm/interactive-31600299.js.map +0 -1
- package/dist/esm/it-916e51bb.js +0 -67
- package/dist/esm/it-916e51bb.js.map +0 -1
- package/dist/esm/it-ch-e8222b67.js +0 -67
- package/dist/esm/it-ch-e8222b67.js.map +0 -1
- package/dist/esm/ja-83e686ed.js +0 -73
- package/dist/esm/ja-83e686ed.js.map +0 -1
- package/dist/esm/key-a886a13d.js +0 -13
- package/dist/esm/key-a886a13d.js.map +0 -1
- package/dist/esm/ko-636806cf.js +0 -73
- package/dist/esm/ko-636806cf.js.map +0 -1
- package/dist/esm/label-db7df9cd.js +0 -176
- package/dist/esm/label-db7df9cd.js.map +0 -1
- package/dist/esm/loadable-8f8e603e.js +0 -90
- package/dist/esm/loadable-8f8e603e.js.map +0 -1
- package/dist/esm/locale-1fb421c2.js +0 -583
- package/dist/esm/locale-1fb421c2.js.map +0 -1
- package/dist/esm/logger-d4491ace.js +0 -56
- package/dist/esm/logger-d4491ace.js.map +0 -1
- package/dist/esm/lt-06c9c624.js +0 -98
- package/dist/esm/lt-06c9c624.js.map +0 -1
- package/dist/esm/lv-ce977bed.js +0 -67
- package/dist/esm/lv-ce977bed.js.map +0 -1
- package/dist/esm/math-1850b8d7.js +0 -51
- package/dist/esm/math-1850b8d7.js.map +0 -1
- package/dist/esm/mk-bc10b72e.js +0 -67
- package/dist/esm/mk-bc10b72e.js.map +0 -1
- package/dist/esm/nb-1b4e1603.js +0 -68
- package/dist/esm/nb-1b4e1603.js.map +0 -1
- package/dist/esm/nl-5e3de3c4.js +0 -68
- package/dist/esm/nl-5e3de3c4.js.map +0 -1
- package/dist/esm/observers-a1e25392.js +0 -53
- package/dist/esm/observers-a1e25392.js.map +0 -1
- package/dist/esm/openCloseComponent-764c8b02.js +0 -60
- package/dist/esm/openCloseComponent-764c8b02.js.map +0 -1
- package/dist/esm/pl-d7735cdc.js +0 -115
- package/dist/esm/pl-d7735cdc.js.map +0 -1
- package/dist/esm/pt-b6e85915.js +0 -68
- package/dist/esm/pt-b6e85915.js.map +0 -1
- package/dist/esm/pt-br-7e1cf6b9.js +0 -66
- package/dist/esm/pt-br-7e1cf6b9.js.map +0 -1
- package/dist/esm/resources-29b6200e.js +0 -31
- package/dist/esm/resources-29b6200e.js.map +0 -1
- package/dist/esm/resources-2a789fe4.js +0 -23
- package/dist/esm/resources-2a789fe4.js.map +0 -1
- package/dist/esm/resources-35201ea7.js +0 -382
- package/dist/esm/resources-35201ea7.js.map +0 -1
- package/dist/esm/resources-980c8d09.js +0 -16
- package/dist/esm/resources-980c8d09.js.map +0 -1
- package/dist/esm/resources-aaad0e9c.js +0 -21
- package/dist/esm/resources-aaad0e9c.js.map +0 -1
- package/dist/esm/resources-c5786871.js +0 -60
- package/dist/esm/resources-c5786871.js.map +0 -1
- package/dist/esm/resources-dd7b12f1.js +0 -19
- package/dist/esm/resources-dd7b12f1.js.map +0 -1
- package/dist/esm/ro-21667f77.js +0 -67
- package/dist/esm/ro-21667f77.js.map +0 -1
- package/dist/esm/ru-a8c1a65c.js +0 -127
- package/dist/esm/ru-a8c1a65c.js.map +0 -1
- package/dist/esm/sk-5c67bfdb.js +0 -149
- package/dist/esm/sk-5c67bfdb.js.map +0 -1
- package/dist/esm/sl-e6d81fcd.js +0 -169
- package/dist/esm/sl-e6d81fcd.js.map +0 -1
- package/dist/esm/sortableComponent-12f510c7.js +0 -2742
- package/dist/esm/sortableComponent-12f510c7.js.map +0 -1
- package/dist/esm/sr-066ba646.js +0 -102
- package/dist/esm/sr-066ba646.js.map +0 -1
- package/dist/esm/sv-f9a44b3f.js +0 -72
- package/dist/esm/sv-f9a44b3f.js.map +0 -1
- package/dist/esm/t9n-c8bd5ea9.js +0 -100
- package/dist/esm/t9n-c8bd5ea9.js.map +0 -1
- package/dist/esm/th-e4c66a20.js +0 -66
- package/dist/esm/th-e4c66a20.js.map +0 -1
- package/dist/esm/throttle-b901fdcd.js +0 -75
- package/dist/esm/throttle-b901fdcd.js.map +0 -1
- package/dist/esm/time-zones-6ccc534b.js +0 -42
- package/dist/esm/time-zones-6ccc534b.js.map +0 -1
- package/dist/esm/tr-1547c362.js +0 -67
- package/dist/esm/tr-1547c362.js.map +0 -1
- package/dist/esm/uk-31fe7d56.js +0 -105
- package/dist/esm/uk-31fe7d56.js.map +0 -1
- package/dist/esm/utils-9469423c.js +0 -292
- package/dist/esm/utils-9469423c.js.map +0 -1
- package/dist/esm/utils-bb481c58.js +0 -2266
- package/dist/esm/utils-bb481c58.js.map +0 -1
- package/dist/esm/vi-0701bd1b.js +0 -71
- package/dist/esm/vi-0701bd1b.js.map +0 -1
- package/dist/esm/zh-cn-c4c5d36b.js +0 -95
- package/dist/esm/zh-cn-c4c5d36b.js.map +0 -1
- package/dist/esm/zh-hk-c5aef9a4.js +0 -93
- package/dist/esm/zh-hk-c5aef9a4.js.map +0 -1
- package/dist/esm/zh-tw-ac076966.js +0 -93
- package/dist/esm/zh-tw-ac076966.js.map +0 -1
- package/dist/extras/vscode-data.json +0 -7478
- /package/dist/calcite/{p-20bc22ca.entry.js.map → p-014feeab.entry.js.map} +0 -0
- /package/dist/calcite/{p-cbed8c79.js.map → p-02522147.js.map} +0 -0
- /package/dist/calcite/{p-a49b95d8.js.map → p-028278a3.js.map} +0 -0
- /package/dist/calcite/{p-a02ae7a8.entry.js.map → p-02d208fd.entry.js.map} +0 -0
- /package/dist/calcite/{p-f08edbd2.entry.js.map → p-0677a447.entry.js.map} +0 -0
- /package/dist/calcite/{p-5b5ebddf.js.map → p-076d5228.js.map} +0 -0
- /package/dist/calcite/{p-a4ba2c4c.js.map → p-0950b635.js.map} +0 -0
- /package/dist/calcite/{p-bcf067ac.js.map → p-09ba5be7.js.map} +0 -0
- /package/dist/calcite/{p-1d6a8a46.entry.js.map → p-0ae3cd17.entry.js.map} +0 -0
- /package/dist/calcite/{p-a2b2076b.entry.js.map → p-0c86a89d.entry.js.map} +0 -0
- /package/dist/calcite/{p-7f0164c9.entry.js.map → p-0d014579.entry.js.map} +0 -0
- /package/dist/calcite/{p-104d1d32.entry.js.map → p-0f08d617.entry.js.map} +0 -0
- /package/dist/calcite/{p-c31dfdef.js.map → p-14e8aea5.js.map} +0 -0
- /package/dist/calcite/{p-42901549.js.map → p-150efaa4.js.map} +0 -0
- /package/dist/calcite/{p-1ba0988f.js.map → p-1556bef7.js.map} +0 -0
- /package/dist/calcite/{p-fb9a1d16.js.map → p-1747ffb9.js.map} +0 -0
- /package/dist/calcite/{p-e7104b8d.js.map → p-17581615.js.map} +0 -0
- /package/dist/calcite/{p-ceb1e330.entry.js.map → p-177c7f49.entry.js.map} +0 -0
- /package/dist/calcite/{p-2d88c083.js.map → p-1fb3b19d.js.map} +0 -0
- /package/dist/calcite/{p-ff0ed5c9.entry.js.map → p-21eb95f3.entry.js.map} +0 -0
- /package/dist/calcite/{p-27b69025.js.map → p-23ea44e9.js.map} +0 -0
- /package/dist/calcite/{p-357db407.js.map → p-2873d01a.js.map} +0 -0
- /package/dist/calcite/{p-df5bdc47.js.map → p-2ab60da2.js.map} +0 -0
- /package/dist/calcite/{p-fa3de576.entry.js.map → p-2c7543fb.entry.js.map} +0 -0
- /package/dist/calcite/{p-14b9d726.js.map → p-2d3f5f11.js.map} +0 -0
- /package/dist/calcite/{p-e65edb81.entry.js.map → p-2db9acc2.entry.js.map} +0 -0
- /package/dist/calcite/{p-0bbcfa13.js.map → p-33434e45.js.map} +0 -0
- /package/dist/calcite/{p-f08093d7.js.map → p-36ef85c1.js.map} +0 -0
- /package/dist/calcite/{p-b4a0d361.js.map → p-37761a16.js.map} +0 -0
- /package/dist/calcite/{p-72ccdeee.js.map → p-3927d405.js.map} +0 -0
- /package/dist/calcite/{p-ce533cd8.js.map → p-3bffea95.js.map} +0 -0
- /package/dist/calcite/{p-4377c650.js.map → p-3cd6ef65.js.map} +0 -0
- /package/dist/calcite/{p-6f580f9d.js.map → p-3cf89117.js.map} +0 -0
- /package/dist/calcite/{p-4f53529c.js.map → p-3eddc208.js.map} +0 -0
- /package/dist/calcite/{p-ee01924f.js.map → p-416a1dfa.js.map} +0 -0
- /package/dist/calcite/{p-ec71be9a.js.map → p-42c8bed7.js.map} +0 -0
- /package/dist/calcite/{p-46ee72e7.js.map → p-432012f7.js.map} +0 -0
- /package/dist/calcite/{p-a9789e0e.js.map → p-43b5ddd0.js.map} +0 -0
- /package/dist/calcite/{p-ff423d82.js.map → p-44885066.js.map} +0 -0
- /package/dist/calcite/{p-2bed8053.js.map → p-47ee0f17.js.map} +0 -0
- /package/dist/calcite/{p-d6a25fe2.js.map → p-48c46ebf.js.map} +0 -0
- /package/dist/calcite/{p-1bec1ef7.js.map → p-49fd34a7.js.map} +0 -0
- /package/dist/calcite/{p-2a6464bc.js.map → p-4a654c62.js.map} +0 -0
- /package/dist/calcite/{p-dcecb4a0.js.map → p-4f800b41.js.map} +0 -0
- /package/dist/calcite/{p-78673acb.js.map → p-50fa027f.js.map} +0 -0
- /package/dist/calcite/{p-30789c90.js.map → p-51536b75.js.map} +0 -0
- /package/dist/calcite/{p-8c7e61d1.js.map → p-52a3a1d9.js.map} +0 -0
- /package/dist/calcite/{p-fb8915bd.js.map → p-538e4de5.js.map} +0 -0
- /package/dist/calcite/{p-769c1c82.js.map → p-54e1cc3e.js.map} +0 -0
- /package/dist/calcite/{p-017d0775.entry.js.map → p-559d5428.entry.js.map} +0 -0
- /package/dist/calcite/{p-e3a13205.js.map → p-5610eb3a.js.map} +0 -0
- /package/dist/calcite/{p-c71281c2.js.map → p-5a798716.js.map} +0 -0
- /package/dist/calcite/{p-87901e5b.entry.js.map → p-5be8a330.entry.js.map} +0 -0
- /package/dist/calcite/{p-20d6d814.js.map → p-5bfaa911.js.map} +0 -0
- /package/dist/calcite/{p-4f616cbe.js.map → p-5d583a26.js.map} +0 -0
- /package/dist/calcite/{p-32d7aa5f.entry.js.map → p-5e62f5d8.entry.js.map} +0 -0
- /package/dist/calcite/{p-a4ac8fc3.js.map → p-5fb11bc5.js.map} +0 -0
- /package/dist/calcite/{p-f438e5e1.js.map → p-605d2697.js.map} +0 -0
- /package/dist/calcite/{p-c60c7e01.js.map → p-62a45517.js.map} +0 -0
- /package/dist/calcite/{p-36ecadf9.js.map → p-658e49d1.js.map} +0 -0
- /package/dist/calcite/{p-3c4fe54e.js.map → p-6861beb6.js.map} +0 -0
- /package/dist/calcite/{p-45d13552.js.map → p-6b034312.js.map} +0 -0
- /package/dist/calcite/{p-7c8836c8.entry.js.map → p-6d0763d1.entry.js.map} +0 -0
- /package/dist/calcite/{p-4a322c0e.js.map → p-702f5524.js.map} +0 -0
- /package/dist/calcite/{p-9f2a67d4.js.map → p-70bc9361.js.map} +0 -0
- /package/dist/calcite/{p-447d61ae.js.map → p-71846dd7.js.map} +0 -0
- /package/dist/calcite/{p-fd22e26e.js.map → p-71a36eac.js.map} +0 -0
- /package/dist/calcite/{p-de70fda8.js.map → p-75d13a9a.js.map} +0 -0
- /package/dist/calcite/{p-e7089478.js.map → p-75f53b08.js.map} +0 -0
- /package/dist/calcite/{p-9626115b.js.map → p-78a12803.js.map} +0 -0
- /package/dist/calcite/{p-655f7f65.entry.js.map → p-7cba7142.entry.js.map} +0 -0
- /package/dist/calcite/{p-adfbff91.js.map → p-827c78ae.js.map} +0 -0
- /package/dist/calcite/{p-19f43fe6.js.map → p-86670483.js.map} +0 -0
- /package/dist/calcite/{p-0c0aade7.js.map → p-8f15a8b8.js.map} +0 -0
- /package/dist/calcite/{p-07a83506.entry.js.map → p-9046ce3f.entry.js.map} +0 -0
- /package/dist/calcite/{p-d6ca33de.entry.js.map → p-9172abf0.entry.js.map} +0 -0
- /package/dist/calcite/{p-17c701ba.js.map → p-92e7212f.js.map} +0 -0
- /package/dist/calcite/{p-45ac55e3.js.map → p-9312cf69.js.map} +0 -0
- /package/dist/calcite/{p-9c191250.js.map → p-934d8e45.js.map} +0 -0
- /package/dist/calcite/{p-603d7196.js.map → p-94fb2301.js.map} +0 -0
- /package/dist/calcite/{p-f49181c8.js.map → p-96bfb8d9.js.map} +0 -0
- /package/dist/calcite/{p-29c291d1.js.map → p-a3136988.js.map} +0 -0
- /package/dist/calcite/{p-0ce7ec28.js.map → p-a4601427.js.map} +0 -0
- /package/dist/calcite/{p-e2fa918e.entry.js.map → p-a56530bf.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5defc67.entry.js.map → p-aa6c227e.entry.js.map} +0 -0
- /package/dist/calcite/{p-bccffc90.js.map → p-abb207ee.js.map} +0 -0
- /package/dist/calcite/{p-5ba99915.js.map → p-ac61143e.js.map} +0 -0
- /package/dist/calcite/{p-a9cce7b0.js.map → p-af2ce6e6.js.map} +0 -0
- /package/dist/calcite/{p-5bee2979.entry.js.map → p-b3f8b7ef.entry.js.map} +0 -0
- /package/dist/calcite/{p-fa4ca863.js.map → p-b693e6ed.js.map} +0 -0
- /package/dist/calcite/{p-67e6ac12.js.map → p-b6a71674.js.map} +0 -0
- /package/dist/calcite/{p-bc4f64c1.js.map → p-b722d250.js.map} +0 -0
- /package/dist/calcite/{p-c473b37c.js.map → p-b92ebeef.js.map} +0 -0
- /package/dist/calcite/{p-5fe70602.entry.js.map → p-ba1afe48.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e955a72.js.map → p-bd29fda5.js.map} +0 -0
- /package/dist/calcite/{p-77bb03a6.js.map → p-c4f58fae.js.map} +0 -0
- /package/dist/calcite/{p-d9408c0d.js.map → p-c64f7f92.js.map} +0 -0
- /package/dist/calcite/{p-f3811cf9.entry.js.map → p-c7a88fda.entry.js.map} +0 -0
- /package/dist/calcite/{p-aaea23e1.js.map → p-c96353cc.js.map} +0 -0
- /package/dist/calcite/{p-27ab49c7.js.map → p-cbc54e80.js.map} +0 -0
- /package/dist/calcite/{p-14ea97ed.entry.js.map → p-ce35a376.entry.js.map} +0 -0
- /package/dist/calcite/{p-ffdbdb0a.entry.js.map → p-ce8096fa.entry.js.map} +0 -0
- /package/dist/calcite/{p-56bab01f.js.map → p-d32e5254.js.map} +0 -0
- /package/dist/calcite/{p-3dc78399.js.map → p-d5a775c7.js.map} +0 -0
- /package/dist/calcite/{p-5daaab7f.js.map → p-d90ec26a.js.map} +0 -0
- /package/dist/calcite/{p-cee45aed.entry.js.map → p-d95c083d.entry.js.map} +0 -0
- /package/dist/calcite/{p-29d4f1ed.js.map → p-e1cb0cf6.js.map} +0 -0
- /package/dist/calcite/{p-d3be4e55.js.map → p-e369ccb4.js.map} +0 -0
- /package/dist/calcite/{p-c4bad52c.js.map → p-e48d8987.js.map} +0 -0
- /package/dist/calcite/{p-dc9e6847.js.map → p-e7a44987.js.map} +0 -0
- /package/dist/calcite/{p-3787986b.js.map → p-e880cc27.js.map} +0 -0
- /package/dist/calcite/{p-962cef0f.entry.js.map → p-ee3a83a3.entry.js.map} +0 -0
- /package/dist/calcite/{p-64329e55.js.map → p-f099b69b.js.map} +0 -0
- /package/dist/calcite/{p-d6aca761.js.map → p-f51a68ab.js.map} +0 -0
- /package/dist/calcite/{p-ff232f67.js.map → p-f602db57.js.map} +0 -0
- /package/dist/calcite/{p-2829b220.entry.js.map → p-f8d7d444.entry.js.map} +0 -0
- /package/dist/calcite/{p-d41b81d5.js.map → p-fa6f9740.js.map} +0 -0
- /package/dist/calcite/{p-cbd31ba2.js.map → p-fa8bedac.js.map} +0 -0
- /package/dist/calcite/{p-9a2f96d2.js.map → p-fbf41cbc.js.map} +0 -0
- /package/dist/calcite/{p-28ecfae7.js.map → p-feb35427.js.map} +0 -0
- /package/dist/calcite/{p-42ed7d55.js.map → p-febdb64b.js.map} +0 -0
- /package/dist/calcite/{p-5b45eef3.js.map → p-ff633d19.js.map} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,f as e,h as i,g as s,c as a,H as n}from"./p-e7104b8d.js";import{g as l}from"./p-6f580f9d.js";import{c as h}from"./p-9a2f96d2.js";import{u as r,v as o}from"./p-27ab49c7.js";import{c,d,a as u,H as m}from"./p-d6a25fe2.js";import{c as b,d as f,u as p,I as g}from"./p-8f8cbbc7.js";import{i as v}from"./p-c473b37c.js";import{c as x,d as k,g as $}from"./p-64329e55.js";import{s as _,a as y,c as w}from"./p-5b45eef3.js";import{n as M,c as z,d as V,B as L}from"./p-29c291d1.js";import{d as H,c as j}from"./p-769c1c82.js";import"./p-3c4fe54e.js";import"./p-56bab01f.js";import"./p-cbed8c79.js";function X(t,e,i){const s=e[0]-t[0];const a=i[0]-e[0];const n=e[1]-t[1];const l=i[1]-e[1];const h=n/(s||a<0&&0);const r=l/(a||s<0&&0);const o=(h*a+r*s)/(s+a);return(Math.sign(h)+Math.sign(r))*Math.min(Math.abs(h),Math.abs(r),.5*Math.abs(o))||0}function T(t,e,i){const s=e[0]-t[0];const a=e[1]-t[1];return s?(3*a/s-i)/2:i}function C(t,e,i,s,a){const[n,l]=t;const[h,r]=e;const o=(h-n)/3;const c=a([n+o,l+o*i]).join(",");const d=a([h-o,r-o*s]).join(",");const u=a([h,r]).join(",");return`C ${c} ${d} ${u}`}function D({width:t,height:e,min:i,max:s}){const a=s[0]-i[0];const n=s[1]-i[1];return s=>{const l=(s[0]-i[0])/a*t;const h=e-s[1]/n*e;return[l,h]}}function A(t){const[e,i]=t[0];const s=[e,i];const a=[e,i];return t.reduce((({min:t,max:e},[i,s])=>({min:[Math.min(t[0],i),Math.min(t[1],s)],max:[Math.max(e[0],i),Math.max(e[1],s)]})),{min:s,max:a})}function S({data:t,min:e,max:i,t:s}){if(t.length===0){return""}const[a,n]=s(t[0]);const[l,h]=s(e);const[r]=s(i);let o;let c;let d;const u=t.reduce(((e,i,a)=>{c=t[a-2];d=t[a-1];if(a>1){const t=X(c,d,i);const a=o===undefined?T(c,d,t):o;const n=C(c,d,a,t,s);o=t;return`${e} ${n}`}return e}),`M ${l},${h} L ${l},${n} L ${a},${n}`);const m=t[t.length-1];const b=C(d,m,o,T(d,m,o),s);return`${u} ${b} L ${r},${h} Z`}const I=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-color-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";const R=I;const F=class{constructor(i){t(this,i);this.graphId=`calcite-graph-${l()}`;this.resizeObserver=h("resize",(()=>e(this)));this.data=[];this.colorStops=undefined;this.highlightMin=undefined;this.highlightMax=undefined;this.min=undefined;this.max=undefined}connectedCallback(){this.resizeObserver?.observe(this.el)}disconnectedCallback(){this.resizeObserver?.disconnect()}render(){const{data:t,colorStops:e,el:s,highlightMax:a,highlightMin:n,min:l,max:h}=this;const r=this.graphId;const{clientHeight:o,clientWidth:c}=s;if(!t||t.length===0){return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c})}const{min:d,max:u}=A(t);let m=d;let b=u;if(l<d[0]||l>d[0]){m=[l,0]}if(h>u[0]||h<u[0]){b=[h,u[1]]}const f=D({min:m,max:b,width:c,height:o});const[p]=f([n,b[1]]);const[g]=f([a,b[1]]);const v=S({data:t,min:d,max:u,t:f});const x=e?`url(#linear-gradient-${r})`:undefined;return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},e?i("defs",null,i("linearGradient",{id:`linear-gradient-${r}`,x1:"0",x2:"1",y1:"0",y2:"0"},e.map((({offset:t,color:e,opacity:s})=>i("stop",{offset:`${t*100}%`,"stop-color":e,"stop-opacity":s}))))):null,n!==undefined?[i("mask",{height:"100%",id:`${r}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${p-1},0\n L ${p-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${p+1},0\n L ${g-1},0\n L ${g-1},${o}\n L ${p+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${g+1},0\n L ${c},0\n L ${c},${o}\n L ${g+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}1)`}),i("path",{class:"graph-path--highlight",d:v,fill:x,mask:`url(#${r}2)`}),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}3)`})]:i("path",{class:"graph-path",d:v,fill:x}))}get el(){return s(this)}};F.style=R;const P={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"};const O=250;const W='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise::after,.thumb:focus.thumb--precise::after,.thumb--active.thumb--precise::after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range::after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';const N=W;function B(t){return Array.isArray(t)}const U=class{constructor(e){t(this,e);this.calciteSliderInput=a(this,"calciteSliderInput",6);this.calciteSliderChange=a(this,"calciteSliderChange",6);this.handleKeyDown=t=>{const e=this.shouldMirror();const{activeProp:i,max:s,min:a,pageStep:n,step:l}=this;const h=this[i];const{key:r}=t;if(v(r)){t.preventDefault();return}let o;if(r==="ArrowUp"||r==="ArrowRight"){const t=e&&r==="ArrowRight"?-1:1;o=h+l*t}else if(r==="ArrowDown"||r==="ArrowLeft"){const t=e&&r==="ArrowLeft"?-1:1;o=h-l*t}else if(r==="PageUp"){if(n){o=h+n}}else if(r==="PageDown"){if(n){o=h-n}}else if(r==="Home"){o=a}else if(r==="End"){o=s}if(isNaN(o)){return}t.preventDefault();const c=Number(o.toFixed(H(l)));this.setValue({[i]:this.clamp(c,i)})};this.activeProp="value";this.guid=`calcite-slider-${l()}`;this.onThumbBlur=()=>{this.activeProp=null};this.onThumbFocus=t=>{const e=t.currentTarget;this.activeProp=e.getAttribute("data-value-prop")};this.onThumbPointerDown=t=>{const e=t.currentTarget;this.pointerDownDragStart(t,e.getAttribute("data-value-prop"))};this.onTrackPointerDown=t=>{this.pointerDownDragStart(t,"minMaxValue")};this.dragUpdate=t=>{if(this.disabled){return}t.preventDefault();if(this.dragProp){const e=this.translate(t.clientX||t.pageX);if(B(this.value)&&this.dragProp==="minMaxValue"){if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=e-this.minValueDragRange;const i=e+this.maxValueDragRange;if(i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange){this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(i,"maxValue")})}}else{this.minValueDragRange=e-this.minValue;this.maxValueDragRange=this.maxValue-e;this.minMaxValueRange=this.maxValue-this.minValue}}else{this.setValue({[this.dragProp]:this.clamp(e,this.dragProp)})}}};this.pointerUpDragEnd=t=>{if(this.disabled||!r(t)){return}this.dragEnd(t)};this.dragEnd=t=>{if(this.disabled){return}this.removeDragListeners();this.focusActiveHandle(t.clientX);if(this.lastDragPropValue!=this[this.dragProp]){this.emitChange()}this.dragProp=null;this.lastDragPropValue=null;this.minValueDragRange=null;this.maxValueDragRange=null;this.minMaxValueRange=null};this.storeTrackRef=t=>{this.trackEl=t};this.storeThumbRef=t=>{if(!t){return}const e=t.getAttribute("data-value-prop");e==="minValue"?this.minHandle=t:this.maxHandle=t};this.formatValue=t=>{M.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};return M.localize(t.toString())};this.disabled=false;this.fillPlacement="start";this.form=undefined;this.groupSeparator=false;this.hasHistogram=false;this.histogram=undefined;this.histogramStops=undefined;this.labelHandles=false;this.labelFormatter=undefined;this.labelTicks=false;this.max=100;this.maxLabel=undefined;this.maxValue=undefined;this.min=0;this.minLabel=undefined;this.minValue=undefined;this.mirrored=false;this.name=undefined;this.numberingSystem=undefined;this.pageStep=undefined;this.precise=false;this.required=false;this.snap=false;this.step=1;this.ticks=undefined;this.value=0;this.scale="m";this.effectiveLocale="";this.minMaxValueRange=null;this.minValueDragRange=null;this.maxValueDragRange=null;this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}ticksWatcher(){this.tickValues=this.generateTickValues()}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){b(this);z(this);this.setMinMaxFromValue();this.setValueFromMinMax();x(this);c(this)}disconnectedCallback(){f(this);k(this);d(this);V(this);this.removeDragListeners()}componentWillLoad(){_(this);if(!B(this.value)){this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)}this.ticksWatcher();this.histogramWatcher(this.histogram);u(this,this.value)}componentDidLoad(){y(this)}componentDidRender(){if(this.labelHandles){this.adjustHostObscuredHandleLabel("value");if(B(this.value)){this.adjustHostObscuredHandleLabel("minValue");if(!(this.precise&&!this.hasHistogram)){this.hyphenateCollidingRangeHandleLabels()}}}this.hideObscuredBoundingTickLabels();p(this)}render(){const t=this.el.id||this.guid;const e=B(this.value)?this.maxValue:this.value;const s=this.minValue||this.min;const a=this.shouldUseMinValue();const l=this.getUnitInterval(a?this.minValue:s)*100;const h=this.getUnitInterval(e)*100;const r=this.shouldMirror();const o=B(this.value);const c=this.buildThumbType("max");const d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:h,minInterval:l,mirror:r});const u=this.buildThumbType("min");const b=o&&this.renderThumb({type:u,thumbPlacement:u.includes("histogram")||u.includes("precise")?"below":"above",maxInterval:h,minInterval:l,mirror:r});const f=o?"start":this.fillPlacement;const p=f==="none"?{left:`unset`,right:`unset`}:f==="end"?{left:`${r?l:h}%`,right:`${r?h:l}%`}:{left:`${r?100-h:l}%`,right:`${r?l:100-h}%`};return i(n,{key:"c0ebc9073b3609d1d47379b5efccbe31c68915ed",id:t,onKeyDown:this.handleKeyDown,onTouchStart:this.handleTouchStart},i(g,{key:"1f6930631e4c83e5b47ae1d5c64c10dbe58ed8e7",disabled:this.disabled},i("div",{key:"09a30ae372ca5e52fde36a0a85adc76d14ca1461","aria-label":$(this),class:{[P.container]:true,[P.containerRange]:o,[`scale--${this.scale}`]:true}},this.renderGraph(),i("div",{key:"e996119bc9bba42340d24b2dc8b2ad7daaf02e6e",class:P.track,ref:this.storeTrackRef},i("div",{key:"fb768d8462137621d7a891d0767e2e27864307fc",class:P.trackRange,onPointerDown:this.onTrackPointerDown,style:p}),i("div",{key:"408a0a05ef7503b1af724cfd95e3fb40f94bcbf8",class:P.ticks},this.tickValues.map((t=>{const n=`${this.getUnitInterval(t)*100}%`;let l=false;if(f==="start"||f==="end"){if(a){l=t>=this.minValue&&t<=this.maxValue}else{const i=f==="start"?s:e;const a=f==="start"?e:this.max;l=t>=i&&t<=a}}return i("span",{class:{[P.tick]:true,[P.tickActive]:l},style:{left:r?"":n,right:r?n:""}},this.renderTickLabel(t))})))),i("div",{key:"c511ee11206dadb2b23199708abf2d2703423559",class:P.thumbContainer},b,d,i(m,{key:"f6684d5f25ade745730db775a5e51298b5eb8048",component:this})))))}renderThumb({type:t,mirror:e,thumbPlacement:s,minInterval:a,maxInterval:n}){const l=t.includes("labeled");const h=t.includes("precise");const r=t.includes("min");const o=B(this.value);const c=r?this.minValue:o?this.maxValue:this.value;const d=r?"minValue":o?"maxValue":"value";const u=r?this.minLabel:o?this.maxLabel:this.minLabel;const m=r?this.minValue:c;const b=d==="minValue"?this.internalLabelFormatter(this.minValue,"min"):d==="maxValue"?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(c,"value");const f=r?{left:`${e?100-a:a}%`}:{right:`${e?n:100-n}%`};const p=`${P.handleLabel} ${r?P.handleLabelMinValue:P.handleLabelValue}`;const g=l?[i("span",{"aria-hidden":"true",class:p},b),i("span",{"aria-hidden":"true",class:`${p} ${P.static}`},b),i("span",{"aria-hidden":"true",class:`${p} ${P.transformed}`},b)]:[];const v=[...g,i("div",{class:P.handle}),h&&i("div",{class:P.handleExtension})];if(s==="below"){v.reverse()}return i("div",{"aria-disabled":this.disabled,"aria-label":u,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":m,class:{[P.thumb]:true,[P.thumbValue]:!r,[P.thumbActive]:this.lastDragProp!=="minMaxValue"&&this.dragProp===d,[P.thumbPrecise]:h,[P.thumbMinValue]:r},"data-value-prop":d,key:t,onBlur:this.onThumbBlur,onFocus:this.onThumbFocus,onPointerDown:this.onThumbPointerDown,ref:this.storeThumbRef,role:"slider",style:f,tabIndex:0},v)}renderGraph(){return this.histogram?i("calcite-graph",{class:P.graph,colorStops:this.histogramStops,data:this.histogram,highlightMax:B(this.value)?this.maxValue:this.value,highlightMin:B(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const{hasHistogram:e,labelHandles:s,labelTicks:a,max:n,min:l,precise:h,value:r}=this;const o=B(r);const c=t===l;const d=t===n;const u=c||d;const m=a&&(!e&&(u||!h||!o)||e&&(u||!h&&!s));return m?i("span",{class:{[P.tickLabel]:true,[P.tickMin]:c,[P.tickMax]:d}},this.internalLabelFormatter(t,"tick")):null}pointerDownHandler(t){if(this.disabled||!r(t)){return}const e=t.clientX||t.pageX;const i=this.translate(e);let s="value";if(B(this.value)){const t=i>=this.minValue&&i<=this.maxValue;if(t&&this.lastDragProp==="minMaxValue"){s="minMaxValue"}else{const t=Math.abs(this.maxValue-i)<Math.abs(this.minValue-i);s=t||i>=this.maxValue?"maxValue":"minValue"}}this.lastDragPropValue=this[s];this.dragStart(s);const a=this.el.shadowRoot.querySelector(`.${P.thumb}:active`);if(!a){this.setValue({[s]:this.clamp(i,s)})}this.focusActiveHandle(e)}handleTouchStart(t){t.preventDefault()}async setFocus(){await w(this);const t=this.minHandle?this.minHandle:this.maxHandle;t?.focus()}buildThumbType(t){const e=[t];if(this.labelHandles){e.push("labeled")}if(this.precise){e.push("precise")}if(this.hasHistogram){e.push("histogram")}return e.join("-")}setValueFromMinMax(){const{minValue:t,maxValue:e}=this;if(typeof t==="number"&&typeof e==="number"){this.value=[t,e]}}setMinMaxFromValue(){const{value:t}=this;if(B(t)){this.minValue=t[0];this.maxValue=t[1]}}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){if(!B(this.value)){return false}return this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0}getTickDensity(){const t=(this.max-this.min)/this.ticks/O;return t<1?1:t}generateTickValues(){const t=this.ticks??0;if(t<=0){return[]}const e=[this.min];const i=this.getTickDensity();const s=t*i;let a=this.min;while(a<this.max){a+=s;e.push(Math.min(a,this.max))}if(!e.includes(this.max)){e.push(this.max)}return e}pointerDownDragStart(t,e){if(!r(t)){return}this.dragStart(e)}dragStart(t){this.dragProp=t;this.lastDragProp=this.dragProp;this.activeProp=t;window.addEventListener("pointermove",this.dragUpdate);window.addEventListener("pointerup",this.pointerUpDragEnd);window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){if(this.dragProp==="minValue"){this.minHandle.focus()}else if(this.dragProp==="maxValue"||this.dragProp==="value"){this.maxHandle.focus()}else if(this.dragProp==="minMaxValue"){this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate);window.removeEventListener("pointerup",this.pointerUpDragEnd);window.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let e;Object.keys(t).forEach((i=>{const s=t[i];if(!e){const t=this[i];e=t!==s}this[i]=s}));if(!e){return}const i=this.dragProp;if(!i){this.emitChange()}this.emitInput()}clamp(t,e){t=j(t,this.min,this.max);if(e==="maxValue"){t=Math.max(t,this.minValue)}if(e==="minValue"){t=Math.min(t,this.maxValue)}return t}translate(t){const e=this.max-this.min;const{left:i,width:s}=this.trackEl.getBoundingClientRect();const a=(t-i)/s;const n=this.shouldMirror();const l=this.clamp(this.min+e*(n?1-a:a));const h=Number(l.toFixed(H(this.step)));return!(this.snap&&this.step)?h:this.getClosestStep(h)}getClosestStep(t){const{max:e,min:i,step:s}=this;const a=new L(`${Math.floor((t-i)/s)}`).multiply(`${s}`).add(`${i}`).toString();let n=this.clamp(Number(a));if(n>e){n-=s}return n}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,e){return Math.abs(t.getBoundingClientRect().left-e)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){t=this.clamp(t);const e=this.max-this.min;return(t-this.min)/e}adjustHostObscuredHandleLabel(t){const e=this.el.shadowRoot.querySelector(`.handle__label--${t}`);const i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`);const s=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`);const a=i.getBoundingClientRect();const n=this.getHostOffset(a.left,a.right);e.style.transform=`translateX(${n}px)`;s.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el;const e=this.shouldMirror();const i=e?"value":"minValue";const s=e?"minValue":"value";const a=t.querySelector(`.handle__label--${i}`);const n=t.querySelector(`.handle__label--${i}.static`);const l=t.querySelector(`.handle__label--${i}.transformed`);const h=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right);const r=t.querySelector(`.handle__label--${s}`);const o=t.querySelector(`.handle__label--${s}.static`);const c=t.querySelector(`.handle__label--${s}.transformed`);const d=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right);const u=this.getFontSizeForElement(a);const m=this.getRangeLabelOverlap(l,c);const b=a;const f=u/2;if(m>0){b.classList.add(P.hyphen,P.hyphenWrap);if(d===0&&h===0){let t=m/2-f;t=Math.sign(t)===-1?Math.abs(t):-t;const e=this.getHostOffset(l.getBoundingClientRect().left+t-f,l.getBoundingClientRect().right+t-f);let i=m/2;const s=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);if(e!==0){t+=e;i+=e}if(s!==0){t+=s;i+=s}a.style.transform=`translateX(${t}px)`;l.style.transform=`translateX(${t-f}px)`;r.style.transform=`translateX(${i}px)`;c.style.transform=`translateX(${i}px)`}else if(h>0||d>0){a.style.transform=`translateX(${h+f}px)`;r.style.transform=`translateX(${m+d}px)`;c.style.transform=`translateX(${m+d}px)`}else if(h<0||d<0){let t=Math.abs(h)+m-f;t=Math.sign(t)===-1?Math.abs(t):-t;a.style.transform=`translateX(${t}px)`;l.style.transform=`translateX(${t-f}px)`}}else{b.classList.remove(P.hyphen,P.hyphenWrap);a.style.transform=`translateX(${h}px)`;l.style.transform=`translateX(${h}px)`;r.style.transform=`translateX(${d}px)`;c.style.transform=`translateX(${d}px)`}}hideObscuredBoundingTickLabels(){const t=B(this.value);if(!this.hasHistogram&&!t&&!this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise){return}if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise){return}if(!this.hasHistogram&&t&&!this.precise){return}if(this.hasHistogram&&!this.precise&&!this.labelHandles){return}const e=this.el.shadowRoot.querySelector(`.${P.thumbMinValue}`);const i=this.el.shadowRoot.querySelector(`.${P.thumbValue}`);const s=this.el.shadowRoot.querySelector(`.${P.tickMin}`);const a=this.el.shadowRoot.querySelector(`.${P.tickMax}`);if(!e&&i&&s&&a){s.style.opacity=this.isMinTickLabelObscured(s,i)?"0":"1";a.style.opacity=this.isMaxTickLabelObscured(a,i)?"0":"1"}if(e&&i&&s&&a){s.style.opacity=this.isMinTickLabelObscured(s,e)||this.isMinTickLabelObscured(s,i)?"0":"1";a.style.opacity=this.isMaxTickLabelObscured(a,e)||this.isMaxTickLabelObscured(a,i)&&this.hasHistogram?"0":"1"}}getHostOffset(t,e){const i=this.el.getBoundingClientRect();const s=7;if(t+s<i.left){return i.left-t-s}if(e-s>i.right){return-(e-i.right)+s}return 0}getRangeLabelOverlap(t,e){const i=t.getBoundingClientRect();const s=e.getBoundingClientRect();const a=this.getFontSizeForElement(t);const n=i.right+a-s.left;return Math.max(n,0)}isMinTickLabelObscured(t,e){const i=t.getBoundingClientRect();const s=e.getBoundingClientRect();return o(i,s)}isMaxTickLabelObscured(t,e){const i=t.getBoundingClientRect();const s=e.getBoundingClientRect();return o(i,s)}internalLabelFormatter(t,e){const i=this.labelFormatter;if(!i){return this.formatValue(t)}const s=i(t,e,this.formatValue);if(s==null){return this.formatValue(t)}return s}static get delegatesFocus(){return true}get el(){return s(this)}static get watchers(){return{histogram:["histogramWatcher"],ticks:["ticksWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};U.style=N;export{F as calcite_graph,U as calcite_slider};
|
|
7
|
-
//# sourceMappingURL=p-8d7b9480.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["slope","p0","p1","p2","dx","dx1","dy","dy1","m","m1","p","Math","sign","min","abs","slopeSingle","bezier","m0","t","x0","y0","x1","y1","h1","join","h2","translate","width","height","max","rangeX","rangeY","point","x","y","range","data","startX","startY","reduce","area","length","minX","minY","maxX","commands","acc","i","undefined","command","last","end","graphCss","CalciteGraphStyle0","Graph","this","graphId","guid","resizeObserver","createObserver","forceUpdate","connectedCallback","observe","el","disconnectedCallback","disconnect","render","colorStops","highlightMax","highlightMin","id","clientHeight","clientWidth","h","class","preserveAspectRatio","viewBox","rangeMin","rangeMax","currentMin","currentMax","hMinX","hMaxX","areaPath","fill","x2","y2","map","offset","color","opacity","d","mask","CSS","container","containerRange","graph","handle","handleExtension","handleLabel","handleLabelMinValue","handleLabelValue","hyphen","hyphenWrap","static","thumb","thumbActive","thumbContainer","thumbMinValue","thumbPrecise","thumbValue","tick","tickActive","tickLabel","tickMax","tickMin","ticks","track","trackRange","transformed","maxTickElementThreshold","sliderCss","CalciteSliderStyle0","isRange","value","Array","isArray","Slider","handleKeyDown","event","mirror","shouldMirror","activeProp","pageStep","step","key","isActivationKey","preventDefault","adjustment","directionFactor","isNaN","fixedDecimalAdjustment","Number","toFixed","decimalPlaces","setValue","clamp","onThumbBlur","onThumbFocus","currentTarget","getAttribute","onThumbPointerDown","pointerDownDragStart","onTrackPointerDown","dragUpdate","disabled","dragProp","clientX","pageX","minValueDragRange","maxValueDragRange","minMaxValueRange","newMinValue","newMaxValue","minValue","maxValue","pointerUpDragEnd","isPrimaryPointerButton","dragEnd","removeDragListeners","focusActiveHandle","lastDragPropValue","emitChange","storeTrackRef","node","trackEl","storeThumbRef","valueProp","minHandle","maxHandle","formatValue","numberStringFormatter","numberFormatOptions","locale","effectiveLocale","numberingSystem","useGrouping","groupSeparator","localize","toString","histogramWatcher","newHistogram","hasHistogram","ticksWatcher","tickValues","generateTickValues","valueHandler","setMinMaxFromValue","minMaxValueHandler","setValueFromMinMax","connectInteractive","connectLocalized","connectLabel","connectForm","disconnectInteractive","disconnectLabel","disconnectForm","disconnectLocalized","componentWillLoad","setUpLoadableComponent","snap","getClosestStep","histogram","afterConnectDefaultValueSet","componentDidLoad","setComponentLoaded","componentDidRender","labelHandles","adjustHostObscuredHandleLabel","precise","hyphenateCollidingRangeHandleLabels","hideObscuredBoundingTickLabels","updateHostInteraction","useMinValue","shouldUseMinValue","minInterval","getUnitInterval","maxInterval","valueIsRange","thumbTypes","buildThumbType","renderThumb","type","thumbPlacement","includes","minThumbTypes","minThumb","fillPlacement","trackRangePlacementStyles","left","right","Host","onKeyDown","onTouchStart","handleTouchStart","InteractiveContainer","getLabelText","scale","renderGraph","ref","onPointerDown","style","tickOffset","activeTicks","rangeStart","rangeEnd","renderTickLabel","HiddenFormInputSlot","component","isLabeled","isPrecise","isMinThumb","ariaLabel","minLabel","maxLabel","ariaValuenow","displayedValue","internalLabelFormatter","thumbStyle","thumbLabelClasses","labels","thumbContent","reverse","lastDragProp","onBlur","onFocus","role","tabIndex","histogramStops","labelTicks","isMinTickLabel","isMaxTickLabel","isAtEdge","shouldDisplayLabel","pointerDownHandler","position","prop","inRange","closerToMax","dragStart","isThumbActive","shadowRoot","querySelector","setFocus","componentFocusable","focus","thumbTypeParts","push","onLabelClick","mirrored","getTickDensity","density","tickInterval","current","window","addEventListener","valueX","getClosestHandle","emitInput","calciteSliderInput","emit","calciteSliderChange","removeEventListener","values","valueChanged","Object","keys","forEach","propName","newValue","oldValue","dragging","getBoundingClientRect","percent","clampedValue","bigDecimalString","BigDecimal","floor","multiply","add","snappedValue","getDistanceX","getFontSizeForElement","element","getComputedStyle","getPropertyValue","match","num","name","label","labelStatic","labelTransformed","labelStaticBounds","labelStaticOffset","getHostOffset","transform","leftModifier","rightModifier","leftValueLabel","leftValueLabelStatic","leftValueLabelTransformed","leftValueLabelStaticHostOffset","rightValueLabel","rightValueLabelStatic","rightValueLabelTransformed","rightValueLabelStaticHostOffset","labelFontSize","labelTransformedOverlap","getRangeLabelOverlap","hyphenLabel","labelOffset","classList","leftValueLabelTranslate","leftValueLabelTransformedHostOffset","rightValueLabelTranslate","rightValueLabelTransformedHostOffset","remove","minTickLabel","maxTickLabel","isMinTickLabelObscured","isMaxTickLabelObscured","leftBounds","rightBounds","hostBounds","buffer","leftLabel","rightLabel","leftLabelBounds","rightLabelBounds","leftLabelFontSize","rangeLabelOverlap","minLabelBounds","handleBounds","intersects","maxLabelBounds","customFormatter","labelFormatter","formattedValue"],"sources":["src/components/graph/util.ts","src/components/graph/graph.scss?tag=calcite-graph&encapsulation=shadow","src/components/graph/graph.tsx","src/components/slider/resources.ts","src/components/slider/slider.scss?tag=calcite-slider&encapsulation=shadow","src/components/slider/slider.tsx"],"sourcesContent":["import { DataSeries, Extent, Graph, Point, TranslateOptions, Translator } from \"../graph/interfaces\";\n\n/**\n * Calculate slope of the tangents\n * uses Steffen interpolation as it's monotonic\n * http://jrwalsh1.github.io/posts/interpolations/\n *\n * @param p0\n * @param p1\n * @param p2\n */\nfunction slope(p0: Point, p1: Point, p2: Point): number {\n const dx = p1[0] - p0[0];\n const dx1 = p2[0] - p1[0];\n const dy = p1[1] - p0[1];\n const dy1 = p2[1] - p1[1];\n const m = dy / (dx || (dx1 < 0 && 0));\n const m1 = dy1 / (dx1 || (dx < 0 && 0));\n const p = (m * dx1 + m1 * dx) / (dx + dx1);\n return (Math.sign(m) + Math.sign(m1)) * Math.min(Math.abs(m), Math.abs(m1), 0.5 * Math.abs(p)) || 0;\n}\n\n/**\n * Calculate slope for just one tangent (single-sided)\n *\n * @param p0\n * @param p1\n * @param m\n */\nfunction slopeSingle(p0: Point, p1: Point, m: number): number {\n const dx = p1[0] - p0[0];\n const dy = p1[1] - p0[1];\n return dx ? ((3 * dy) / dx - m) / 2 : m;\n}\n\n/**\n * Given two points and their tangent slopes,\n * calculate the bezier handle coordinates and return draw command.\n *\n * Translates Hermite Spline to Bézier curve:\n * https://stackoverflow.com/questions/42574940/\n *\n * @param p0\n * @param p1\n * @param m0\n * @param m1\n * @param t\n */\nfunction bezier(p0: Point, p1: Point, m0: number, m1: number, t: Translator): string {\n const [x0, y0] = p0;\n const [x1, y1] = p1;\n const dx = (x1 - x0) / 3;\n const h1 = t([x0 + dx, y0 + dx * m0]).join(\",\");\n const h2 = t([x1 - dx, y1 - dx * m1]).join(\",\");\n const p = t([x1, y1]).join(\",\");\n return `C ${h1} ${h2} ${p}`;\n}\n\n/**\n * Generate a function which will translate a point\n * from the data coordinate space to svg viewbox oriented pixels\n *\n * @param root0\n * @param root0.width\n * @param root0.height\n * @param root0.min\n * @param root0.max\n */\nexport function translate({ width, height, min, max }: TranslateOptions): Translator {\n const rangeX = max[0] - min[0];\n const rangeY = max[1] - min[1];\n return (point) => {\n const x = ((point[0] - min[0]) / rangeX) * width;\n const y = height - (point[1] / rangeY) * height;\n return [x, y];\n };\n}\n\n/**\n * Get the min and max values from the dataset\n *\n * @param data\n */\nexport function range(data: DataSeries): Extent {\n const [startX, startY] = data[0];\n const min: Point = [startX, startY];\n const max: Point = [startX, startY];\n return data.reduce(\n ({ min, max }, [x, y]) => ({\n min: [Math.min(min[0], x), Math.min(min[1], y)],\n max: [Math.max(max[0], x), Math.max(max[1], y)],\n }),\n { min, max },\n );\n}\n\n/**\n * Generate drawing commands for an area graph\n * returns a string can can be passed directly to a path element's `d` attribute\n *\n * @param root0\n * @param root0.data\n * @param root0.min\n * @param root0.max\n * @param root0.t\n */\nexport function area({ data, min, max, t }: Graph): string {\n if (data.length === 0) {\n return \"\";\n }\n\n // important points for beginning and ending the path\n const [startX, startY] = t(data[0]);\n const [minX, minY] = t(min);\n const [maxX] = t(max);\n\n // keep track of previous slope/points\n let m: number;\n let p0: Point;\n let p1: Point;\n\n // iterate over data points, calculating command for each\n const commands = data.reduce((acc, point, i) => {\n p0 = data[i - 2];\n p1 = data[i - 1];\n if (i > 1) {\n const m1 = slope(p0, p1, point);\n const m0 = m === undefined ? slopeSingle(p0, p1, m1) : m;\n const command = bezier(p0, p1, m0, m1, t);\n m = m1;\n return `${acc} ${command}`;\n }\n return acc;\n }, `M ${minX},${minY} L ${minX},${startY} L ${startX},${startY}`);\n\n // close the path\n const last = data[data.length - 1];\n const end = bezier(p1, last, m, slopeSingle(p1, last, m), t);\n return `${commands} ${end} L ${maxX},${minY} Z`;\n}\n",":host {\n @apply block;\n block-size: 100%;\n}\n\n.svg {\n fill: currentColor;\n stroke: transparent;\n @apply m-0 block h-full w-full p-0;\n\n .graph-path--highlight {\n fill: var(--calcite-color-brand);\n @apply opacity-50;\n }\n}\n\n@include base-component();\n","import { Component, Element, forceUpdate, h, Prop, VNode } from \"@stencil/core\";\nimport { guid } from \"../../utils/guid\";\nimport { createObserver } from \"../../utils/observers\";\nimport { ColorStop, DataSeries, Point } from \"./interfaces\";\nimport { area, range, translate } from \"./util\";\n\n@Component({\n tag: \"calcite-graph\",\n styleUrl: \"graph.scss\",\n shadow: true,\n})\nexport class Graph {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Array of tuples describing a single data point ([x, y])\n * These data points should be sorted by x-axis value.\n */\n @Prop() data: DataSeries = [];\n\n /**\n * Array of values describing a single color stop ([offset, color, opacity])\n * These color stops should be sorted by offset value.\n */\n @Prop() colorStops: ColorStop[];\n\n /** Start of highlight color if highlighting range. */\n @Prop() highlightMin: number;\n\n /** End of highlight color if highlighting range. */\n @Prop() highlightMax: number;\n\n /** Lowest point of the range. */\n @Prop({ reflect: true }) min!: number;\n\n /** Highest point of the range. */\n @Prop({ reflect: true }) max!: number;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.resizeObserver?.observe(this.el);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): VNode {\n const { data, colorStops, el, highlightMax, highlightMin, min, max } = this;\n const id = this.graphId;\n const { clientHeight: height, clientWidth: width } = el;\n\n // if we have no data, return empty svg\n if (!data || data.length === 0) {\n return (\n <svg\n aria-hidden=\"true\"\n class=\"svg\"\n height={height}\n preserveAspectRatio=\"none\"\n viewBox={`0 0 ${width} ${height}`}\n width={width}\n />\n );\n }\n\n const { min: rangeMin, max: rangeMax } = range(data);\n\n let currentMin: Point = rangeMin;\n let currentMax: Point = rangeMax;\n\n if (min < rangeMin[0] || min > rangeMin[0]) {\n currentMin = [min, 0];\n }\n\n if (max > rangeMax[0] || max < rangeMax[0]) {\n currentMax = [max, rangeMax[1]];\n }\n\n const t = translate({ min: currentMin, max: currentMax, width, height });\n const [hMinX] = t([highlightMin, currentMax[1]]);\n const [hMaxX] = t([highlightMax, currentMax[1]]);\n const areaPath = area({ data, min: rangeMin, max: rangeMax, t });\n const fill = colorStops ? `url(#linear-gradient-${id})` : undefined;\n return (\n <svg\n aria-hidden=\"true\"\n class=\"svg\"\n height={height}\n preserveAspectRatio=\"none\"\n viewBox={`0 0 ${width} ${height}`}\n width={width}\n >\n {colorStops ? (\n <defs>\n <linearGradient id={`linear-gradient-${id}`} x1=\"0\" x2=\"1\" y1=\"0\" y2=\"0\">\n {colorStops.map(({ offset, color, opacity }) => (\n <stop offset={`${offset * 100}%`} stop-color={color} stop-opacity={opacity} />\n ))}\n </linearGradient>\n </defs>\n ) : null}\n\n {highlightMin !== undefined ? (\n [\n <mask height=\"100%\" id={`${id}1`} width=\"100%\" x=\"0%\" y=\"0%\">\n <path\n d={`\n M 0,0\n L ${hMinX - 1},0\n L ${hMinX - 1},${height}\n L 0,${height}\n Z\n `}\n fill=\"white\"\n />\n </mask>,\n\n <mask height=\"100%\" id={`${id}2`} width=\"100%\" x=\"0%\" y=\"0%\">\n <path\n d={`\n M ${hMinX + 1},0\n L ${hMaxX - 1},0\n L ${hMaxX - 1},${height}\n L ${hMinX + 1}, ${height}\n Z\n `}\n fill=\"white\"\n />\n </mask>,\n\n <mask height=\"100%\" id={`${id}3`} width=\"100%\" x=\"0%\" y=\"0%\">\n <path\n d={`\n M ${hMaxX + 1},0\n L ${width},0\n L ${width},${height}\n L ${hMaxX + 1}, ${height}\n Z\n `}\n fill=\"white\"\n />\n </mask>,\n\n <path class=\"graph-path\" d={areaPath} fill={fill} mask={`url(#${id}1)`} />,\n <path class=\"graph-path--highlight\" d={areaPath} fill={fill} mask={`url(#${id}2)`} />,\n <path class=\"graph-path\" d={areaPath} fill={fill} mask={`url(#${id}3)`} />,\n ]\n ) : (\n <path class=\"graph-path\" d={areaPath} fill={fill} />\n )}\n </svg>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteGraphElement;\n\n private graphId = `calcite-graph-${guid()}`;\n\n private resizeObserver = createObserver(\"resize\", () => forceUpdate(this));\n}\n","export const CSS = {\n container: \"container\",\n containerRange: \"container--range\",\n graph: \"graph\",\n handle: \"handle\",\n handleExtension: \"handle-extension\",\n handleLabel: \"handle__label\",\n handleLabelMinValue: \"handle__label--minValue\",\n handleLabelValue: \"handle__label--value\",\n hyphen: \"hyphen\",\n hyphenWrap: \"hyphen--wrap\",\n static: \"static\",\n thumb: \"thumb\",\n thumbActive: \"thumb--active\",\n thumbContainer: \"thumb-container\",\n thumbMinValue: \"thumb--minValue\",\n thumbPrecise: \"thumb--precise\",\n thumbValue: \"thumb--value\",\n tick: \"tick\",\n tickActive: \"tick--active\",\n tickLabel: \"tick__label\",\n tickMax: \"tick__label--max\",\n tickMin: \"tick__label--min\",\n ticks: \"ticks\",\n track: \"track\",\n trackRange: \"track__range\",\n transformed: \"transformed\",\n};\n\nexport const maxTickElementThreshold = 250;\n",".scale--s {\n --calcite-slider-handle-size: theme(\"spacing[2.5]\");\n --calcite-slider-handle-extension-height: 0.4rem;\n --calcite-slider-container-font-size: var(--calcite-font-size--3);\n .handle__label,\n .tick__label {\n @apply leading-3;\n }\n}\n\n.scale--m {\n --calcite-slider-handle-size: theme(\"spacing[3.5]\");\n --calcite-slider-handle-extension-height: 0.5rem;\n --calcite-slider-container-font-size: var(--calcite-font-size--2);\n .handle__label,\n .tick__label {\n @apply leading-4;\n }\n}\n\n.scale--l {\n --calcite-slider-handle-size: 1rem;\n --calcite-slider-handle-extension-height: 0.65rem;\n --calcite-slider-container-font-size: var(--calcite-font-size--1);\n .handle__label,\n .tick__label {\n @apply leading-4;\n }\n}\n\n.handle__label,\n.tick__label {\n @apply text-color-2 font-medium;\n font-size: var(--calcite-slider-container-font-size);\n}\n\n:host {\n @apply block;\n}\n\n.container {\n @apply relative block break-normal;\n padding-inline: calc(var(--calcite-slider-handle-size) * 0.5);\n padding-block: calc(var(--calcite-slider-handle-size) * 0.5);\n margin-block: calc(var(--calcite-slider-handle-size) * 0.5);\n margin-inline: 0;\n --calcite-slider-full-handle-height: calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );\n touch-action: none;\n // disable browser swipe navigation to prevent interference with the slide thumb following a touch gesture\n user-select: none;\n}\n\n@include disabled() {\n .track__range,\n .tick--active {\n background-color: var(--calcite-color-text-3);\n }\n}\n\n.scale--s {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -0.375rem;\n }\n}\n.scale--m {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -0.5rem;\n }\n}\n.scale--l {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -0.55rem;\n }\n}\n\n:host([precise]:not([has-histogram])) {\n .container .thumb--value {\n --calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1);\n }\n}\n\n.thumb-container {\n @apply relative max-w-full;\n}\n\n.thumb {\n --calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * 0.5);\n @apply font-inherit\n absolute\n m-0\n flex\n cursor-pointer\n flex-col\n items-center\n border-none\n bg-transparent\n p-0\n outline-none;\n transform: translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));\n\n .handle__label {\n &.static,\n &.transformed {\n @apply absolute\n top-0\n bottom-0\n opacity-0;\n }\n &.hyphen::after {\n content: \"\\2014\";\n display: inline-block;\n inline-size: 1em;\n }\n &.hyphen--wrap {\n display: flex;\n }\n }\n\n .handle {\n @apply focus-base\n bg-foreground-1\n box-border\n rounded-full;\n block-size: var(--calcite-slider-handle-size);\n inline-size: var(--calcite-slider-handle-size);\n box-shadow: 0 0 0 2px var(--calcite-color-text-3) inset;\n transition:\n border var(--calcite-internal-animation-timing-medium) ease,\n background-color var(--calcite-internal-animation-timing-medium) ease,\n box-shadow var(--calcite-animation-timing) ease;\n }\n\n .handle-extension {\n @apply w-0.5;\n block-size: var(--calcite-slider-handle-extension-height);\n background-color: var(--calcite-color-text-3);\n }\n\n &:hover {\n .handle {\n box-shadow: 0 0 0 3px var(--calcite-color-brand) inset;\n }\n .handle-extension {\n @apply bg-brand;\n }\n }\n\n &:focus {\n .handle {\n @apply focus-outset;\n }\n .handle-extension {\n @apply bg-brand;\n }\n }\n\n &.thumb--minValue {\n transform: translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));\n }\n\n &.thumb--precise {\n --calcite-slider-thumb-y-offset: -0.125rem;\n }\n}\n\n:host([label-handles]) {\n .thumb {\n --calcite-slider-thumb-x-offset: 50%;\n }\n &:host(:not([has-histogram])) {\n .scale--s {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -1.4375rem;\n }\n }\n .scale--m {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -1.875rem;\n }\n }\n .scale--l {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -2rem;\n }\n }\n }\n}\n\n:host([has-histogram][label-handles]),\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise {\n .handle__label {\n margin-block-start: 0.5em;\n }\n}\n:host(:not([has-histogram]):not([precise])),\n:host([label-handles]:not([has-histogram])) .thumb--value {\n .handle__label {\n margin-block-end: 0.5em;\n }\n}\n\n:host([label-handles][precise]) {\n &:host(:not([has-histogram])) .scale--s .thumb--value {\n --calcite-slider-thumb-y-offset: -2.075rem;\n }\n &:host(:not([has-histogram])) .scale--m .thumb--value {\n --calcite-slider-thumb-y-offset: -2.75rem;\n }\n &:host(:not([has-histogram])) .scale--l .thumb--value {\n --calcite-slider-thumb-y-offset: -3.0625rem;\n }\n}\n\n.thumb:focus,\n.thumb--active {\n .handle {\n @apply bg-brand;\n box-shadow: 0 0 8px 0 rgb(0 0 0 / 16%); // shadow 1 press\n }\n}\n\n.thumb:hover.thumb--precise::after,\n.thumb:focus.thumb--precise::after,\n.thumb--active.thumb--precise::after {\n @apply bg-brand;\n}\n\n.track {\n @apply relative h-0.5 rounded-none;\n background-color: var(--calcite-color-border-2);\n transition: all var(--calcite-internal-animation-timing-medium) ease-in;\n}\n\n.track__range {\n @apply bg-brand\n absolute\n top-0\n h-0.5;\n}\n.container--range {\n .track__range {\n &:hover {\n cursor: ew-resize;\n }\n &::after {\n @apply absolute w-full;\n content: \"\";\n inset-block-start: calc(calc(var(--calcite-slider-full-handle-height) * 0.5) * -1);\n block-size: calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height));\n }\n }\n}\n\n@media (forced-colors: active) {\n .thumb {\n outline-width: 0;\n outline-offset: 0;\n }\n .handle {\n @apply outline-none;\n }\n .thumb:focus .handle,\n .thumb .handle-extension,\n .thumb:hover .handle-extension,\n .thumb:focus .handle-extension,\n .thumb:active .handle-extension {\n background-color: canvasText;\n }\n .track {\n background-color: canvasText;\n }\n .track__range {\n background-color: highlight;\n }\n}\n\n.tick {\n @apply absolute\n h-1\n w-0.5\n border\n border-solid;\n background-color: var(--calcite-color-border-input);\n border-color: var(--calcite-color-foreground-1);\n inset-block-start: -2px;\n pointer-events: none;\n margin-inline-start: calc(-1 * theme(\"margin[0.5]\"));\n}\n\n.tick--active {\n @apply bg-brand;\n}\n\n.tick__label {\n @apply pointer-events-none\n mt-3.5\n flex\n justify-center;\n}\n\n.tick__label--min {\n transition: opacity var(--calcite-animation-timing);\n}\n\n.tick__label--max {\n transition: opacity var(--calcite-internal-animation-timing-fast);\n}\n\n:host([has-histogram][label-handles]),\n:host([has-histogram][precise]) {\n .tick__label--min,\n .tick__label--max {\n @apply text-color-3 font-normal;\n }\n}\n\n.graph {\n color: var(--calcite-color-foreground-3);\n block-size: 48px;\n}\n\n// Ensure we have enough space on variants with text elements to prevent overlap\n:host([label-ticks][ticks]) {\n .container {\n // match tick__label top margin + font-size\n padding-block-end: calc(theme(\"margin[3.5]\") + var(--calcite-slider-container-font-size));\n }\n}\n:host([has-histogram]) {\n &:host([precise][label-handles]) {\n .container {\n padding-block-end: calc(var(--calcite-slider-full-handle-height) + 1em);\n }\n }\n &:host([label-handles]:not([precise])) {\n .container {\n padding-block-end: calc(calc(var(--calcite-slider-handle-size) * 0.5) + 1em);\n }\n }\n &:host([precise]:not([label-handles])) {\n .container {\n padding-block-end: var(--calcite-slider-full-handle-height);\n }\n }\n}\n:host(:not([has-histogram])) {\n &:host([precise]:not([label-handles])) {\n .container {\n padding-block-start: var(--calcite-slider-full-handle-height);\n }\n .container--range {\n padding-block-end: var(--calcite-slider-full-handle-height);\n }\n }\n &:host([label-handles]:not([precise])) {\n .container {\n padding-block-start: calc(var(--calcite-slider-full-handle-height) + 4px);\n }\n }\n &:host([label-handles][precise]) {\n .container {\n padding-block-start: calc(\n var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px\n );\n }\n .container--range {\n padding-block-end: calc(\n var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px\n );\n }\n }\n}\n\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { guid } from \"../../utils/guid\";\nimport { intersects, isPrimaryPointerButton } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n numberStringFormatter,\n} from \"../../utils/locale\";\nimport { clamp, decimalPlaces } from \"../../utils/math\";\nimport { ColorStop, DataSeries } from \"../graph/interfaces\";\nimport { Scale } from \"../interfaces\";\nimport { BigDecimal } from \"../../utils/number\";\nimport { CSS, maxTickElementThreshold } from \"./resources\";\nimport { ActiveSliderProperty, SetValueProperty, SideOffset, ThumbType } from \"./interfaces\";\n\nfunction isRange(value: number | number[]): value is number[] {\n return Array.isArray(value);\n}\n\n@Component({\n tag: \"calcite-slider\",\n styleUrl: \"slider.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Slider\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n LocalizedComponent,\n LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Used to configure where the fill is placed along the slider track in relation to the value handle.\n *\n * Range mode will always display the fill between the min and max handles.\n */\n @Prop({ reflect: true }) fillPlacement: \"start\" | \"none\" | \"end\" = \"start\";\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * When `true`, number values are displayed with a group separator corresponding to the language and country format.\n */\n @Prop({ reflect: true }) groupSeparator = false;\n\n /** When `true`, indicates a histogram is present. */\n @Prop({ reflect: true, mutable: true }) hasHistogram = false;\n\n /**\n * A list of the histogram's x,y coordinates within the component's `min` and `max`. Displays above the component's track.\n *\n * @see [DataSeries](https://github.com/Esri/calcite-design-system/blob/dev/src/components/graph/interfaces.ts#L5)\n */\n @Prop() histogram: DataSeries;\n\n @Watch(\"histogram\")\n histogramWatcher(newHistogram: DataSeries): void {\n this.hasHistogram = !!newHistogram;\n }\n\n /**\n * A set of single color stops for a histogram, sorted by offset ascending.\n */\n @Prop() histogramStops: ColorStop[];\n\n /** When `true`, displays label handles with their numeric value. */\n @Prop({ reflect: true }) labelHandles = false;\n\n /**\n * When specified, allows users to customize handle labels.\n */\n @Prop() labelFormatter: (\n value: number,\n type: \"value\" | \"min\" | \"max\" | \"tick\",\n defaultFormatter: (value: number) => string,\n ) => string | undefined;\n\n /** When `true` and `ticks` is specified, displays label tick marks with their numeric value. */\n @Prop({ reflect: true }) labelTicks = false;\n\n /** The component's maximum selectable value. */\n @Prop({ reflect: true }) max = 100;\n\n /** For multiple selections, the accessible name for the second handle, such as `\"Temperature, upper bound\"`. */\n @Prop() maxLabel: string;\n\n /** For multiple selections, the component's upper value. */\n @Prop({ mutable: true }) maxValue: number;\n\n /** The component's minimum selectable value. */\n @Prop({ reflect: true }) min = 0;\n\n /** Accessible name for first (or only) handle, such as `\"Temperature, lower bound\"`. */\n @Prop() minLabel: string;\n\n /** For multiple selections, the component's lower value. */\n @Prop({ mutable: true }) minValue: number;\n\n /**\n * When `true`, the slider will display values from high to low.\n *\n * Note that this value will be ignored if the slider has an associated histogram.\n */\n @Prop({ reflect: true }) mirrored = false;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop() numberingSystem: NumberingSystem;\n\n /** Specifies the interval to move with the page up, or page down keys. */\n @Prop({ reflect: true }) pageStep: number;\n\n /** When `true`, sets a finer point for handles. */\n @Prop({ reflect: true }) precise = false;\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n */\n @Prop({ reflect: true }) required = false;\n\n /** When `true`, enables snap selection in coordination with `step` via a mouse. */\n @Prop({ reflect: true }) snap = false;\n\n /** Specifies the interval to move with the up, or down keys. */\n @Prop({ reflect: true }) step = 1;\n\n /** Displays tick marks on the number line at a specified interval. */\n @Prop({ reflect: true }) ticks: number;\n\n @Watch(\"ticks\")\n ticksWatcher(): void {\n this.tickValues = this.generateTickValues();\n }\n\n /** The component's value. */\n @Prop({ reflect: true, mutable: true }) value: null | number | number[] = 0;\n\n @Watch(\"value\")\n valueHandler(): void {\n this.setMinMaxFromValue();\n }\n\n @Watch(\"minValue\")\n @Watch(\"maxValue\")\n minMaxValueHandler(): void {\n this.setValueFromMinMax();\n }\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n this.setMinMaxFromValue();\n this.setValueFromMinMax();\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n disconnectLocalized(this);\n this.removeDragListeners();\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n if (!isRange(this.value)) {\n this.value = this.snap ? this.getClosestStep(this.value) : this.clamp(this.value);\n }\n this.ticksWatcher();\n this.histogramWatcher(this.histogram);\n afterConnectDefaultValueSet(this, this.value);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n if (this.labelHandles) {\n this.adjustHostObscuredHandleLabel(\"value\");\n if (isRange(this.value)) {\n this.adjustHostObscuredHandleLabel(\"minValue\");\n if (!(this.precise && !this.hasHistogram)) {\n this.hyphenateCollidingRangeHandleLabels();\n }\n }\n }\n this.hideObscuredBoundingTickLabels();\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const id = this.el.id || this.guid;\n const value = isRange(this.value) ? this.maxValue : this.value;\n const min = this.minValue || this.min;\n const useMinValue = this.shouldUseMinValue();\n const minInterval = this.getUnitInterval(useMinValue ? this.minValue : min) * 100;\n const maxInterval = this.getUnitInterval(value) * 100;\n const mirror = this.shouldMirror();\n const valueIsRange = isRange(this.value);\n\n const thumbTypes = this.buildThumbType(\"max\");\n const thumb = this.renderThumb({\n type: thumbTypes,\n thumbPlacement: thumbTypes.includes(\"histogram\") ? \"below\" : \"above\",\n maxInterval,\n minInterval,\n mirror,\n });\n\n const minThumbTypes = this.buildThumbType(\"min\");\n const minThumb =\n valueIsRange &&\n this.renderThumb({\n type: minThumbTypes,\n thumbPlacement:\n minThumbTypes.includes(\"histogram\") || minThumbTypes.includes(\"precise\")\n ? \"below\"\n : \"above\",\n maxInterval,\n minInterval,\n mirror,\n });\n\n const fillPlacement = valueIsRange ? \"start\" : this.fillPlacement;\n const trackRangePlacementStyles =\n fillPlacement === \"none\"\n ? {\n left: `unset`,\n right: `unset`,\n }\n : fillPlacement === \"end\"\n ? {\n left: `${mirror ? minInterval : maxInterval}%`,\n right: `${mirror ? maxInterval : minInterval}%`,\n }\n : /* default */\n {\n left: `${mirror ? 100 - maxInterval : minInterval}%`,\n right: `${mirror ? minInterval : 100 - maxInterval}%`,\n };\n\n return (\n <Host id={id} onKeyDown={this.handleKeyDown} onTouchStart={this.handleTouchStart}>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-label={getLabelText(this)}\n class={{\n [CSS.container]: true,\n [CSS.containerRange]: valueIsRange,\n [`scale--${this.scale}`]: true,\n }}\n >\n {this.renderGraph()}\n <div class={CSS.track} ref={this.storeTrackRef}>\n <div\n class={CSS.trackRange}\n onPointerDown={this.onTrackPointerDown}\n style={trackRangePlacementStyles}\n />\n <div class={CSS.ticks}>\n {this.tickValues.map((tick) => {\n const tickOffset = `${this.getUnitInterval(tick) * 100}%`;\n\n let activeTicks: boolean = false;\n\n if (fillPlacement === \"start\" || fillPlacement === \"end\") {\n if (useMinValue) {\n activeTicks = tick >= this.minValue && tick <= this.maxValue;\n } else {\n const rangeStart = fillPlacement === \"start\" ? min : value;\n const rangeEnd = fillPlacement === \"start\" ? value : this.max;\n activeTicks = tick >= rangeStart && tick <= rangeEnd;\n }\n }\n\n return (\n <span\n class={{\n [CSS.tick]: true,\n [CSS.tickActive]: activeTicks,\n }}\n style={{\n left: mirror ? \"\" : tickOffset,\n right: mirror ? tickOffset : \"\",\n }}\n >\n {this.renderTickLabel(tick)}\n </span>\n );\n })}\n </div>\n </div>\n <div class={CSS.thumbContainer}>\n {minThumb}\n {thumb}\n <HiddenFormInputSlot component={this} />\n </div>\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n private renderThumb({\n type,\n mirror,\n thumbPlacement,\n minInterval,\n maxInterval,\n }: {\n maxInterval: number;\n minInterval: number;\n mirror: boolean;\n thumbPlacement: \"above\" | \"below\";\n type: string;\n }) {\n const isLabeled = type.includes(\"labeled\");\n const isPrecise = type.includes(\"precise\");\n const isMinThumb = type.includes(\"min\");\n\n const valueIsRange = isRange(this.value);\n const value = isMinThumb\n ? this.minValue\n : valueIsRange\n ? this.maxValue\n : (this.value as number);\n const valueProp = isMinThumb ? \"minValue\" : valueIsRange ? \"maxValue\" : \"value\";\n const ariaLabel = isMinThumb ? this.minLabel : valueIsRange ? this.maxLabel : this.minLabel;\n const ariaValuenow = isMinThumb ? this.minValue : value;\n const displayedValue =\n valueProp === \"minValue\"\n ? this.internalLabelFormatter(this.minValue, \"min\")\n : valueProp === \"maxValue\"\n ? this.internalLabelFormatter(this.maxValue, \"max\")\n : this.internalLabelFormatter(value, \"value\");\n const thumbStyle: SideOffset = isMinThumb\n ? { left: `${mirror ? 100 - minInterval : minInterval}%` }\n : { right: `${mirror ? maxInterval : 100 - maxInterval}%` };\n const thumbLabelClasses = `${CSS.handleLabel} ${\n isMinThumb ? CSS.handleLabelMinValue : CSS.handleLabelValue\n }`;\n\n const labels = isLabeled\n ? [\n <span aria-hidden=\"true\" class={thumbLabelClasses}>\n {displayedValue}\n </span>,\n <span aria-hidden=\"true\" class={`${thumbLabelClasses} ${CSS.static}`}>\n {displayedValue}\n </span>,\n <span aria-hidden=\"true\" class={`${thumbLabelClasses} ${CSS.transformed}`}>\n {displayedValue}\n </span>,\n ]\n : [];\n\n const thumbContent: VNode[] = [\n ...labels,\n <div class={CSS.handle} />,\n isPrecise && <div class={CSS.handleExtension} />,\n ];\n\n if (thumbPlacement === \"below\") {\n thumbContent.reverse();\n }\n\n return (\n <div\n aria-disabled={this.disabled}\n aria-label={ariaLabel}\n aria-orientation=\"horizontal\"\n aria-valuemax={this.max}\n aria-valuemin={this.min}\n aria-valuenow={ariaValuenow}\n class={{\n [CSS.thumb]: true,\n [CSS.thumbValue]: !isMinThumb,\n [CSS.thumbActive]: this.lastDragProp !== \"minMaxValue\" && this.dragProp === valueProp,\n [CSS.thumbPrecise]: isPrecise,\n [CSS.thumbMinValue]: isMinThumb,\n }}\n data-value-prop={valueProp}\n key={type}\n onBlur={this.onThumbBlur}\n onFocus={this.onThumbFocus}\n onPointerDown={this.onThumbPointerDown}\n ref={this.storeThumbRef}\n role=\"slider\"\n style={thumbStyle}\n tabIndex={0}\n >\n {thumbContent}\n </div>\n );\n }\n\n private renderGraph(): VNode {\n return this.histogram ? (\n <calcite-graph\n class={CSS.graph}\n colorStops={this.histogramStops}\n data={this.histogram}\n highlightMax={isRange(this.value) ? this.maxValue : this.value}\n highlightMin={isRange(this.value) ? this.minValue : this.min}\n max={this.max}\n min={this.min}\n />\n ) : null;\n }\n\n private renderTickLabel(tick: number): VNode {\n const { hasHistogram, labelHandles, labelTicks, max, min, precise, value } = this;\n const valueIsRange = isRange(value);\n const isMinTickLabel = tick === min;\n const isMaxTickLabel = tick === max;\n const isAtEdge = isMinTickLabel || isMaxTickLabel;\n\n const shouldDisplayLabel =\n labelTicks &&\n ((!hasHistogram && (isAtEdge || !precise || !valueIsRange)) ||\n (hasHistogram && (isAtEdge || (!precise && !labelHandles))));\n\n return shouldDisplayLabel ? (\n <span\n class={{\n [CSS.tickLabel]: true,\n [CSS.tickMin]: isMinTickLabel,\n [CSS.tickMax]: isMaxTickLabel,\n }}\n >\n {this.internalLabelFormatter(tick, \"tick\")}\n </span>\n ) : null;\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n private handleKeyDown = (event: KeyboardEvent): void => {\n const mirror = this.shouldMirror();\n const { activeProp, max, min, pageStep, step } = this;\n const value = this[activeProp];\n const { key } = event;\n\n if (isActivationKey(key)) {\n event.preventDefault();\n return;\n }\n\n let adjustment: number;\n\n if (key === \"ArrowUp\" || key === \"ArrowRight\") {\n const directionFactor = mirror && key === \"ArrowRight\" ? -1 : 1;\n adjustment = value + step * directionFactor;\n } else if (key === \"ArrowDown\" || key === \"ArrowLeft\") {\n const directionFactor = mirror && key === \"ArrowLeft\" ? -1 : 1;\n adjustment = value - step * directionFactor;\n } else if (key === \"PageUp\") {\n if (pageStep) {\n adjustment = value + pageStep;\n }\n } else if (key === \"PageDown\") {\n if (pageStep) {\n adjustment = value - pageStep;\n }\n } else if (key === \"Home\") {\n adjustment = min;\n } else if (key === \"End\") {\n adjustment = max;\n }\n\n if (isNaN(adjustment)) {\n return;\n }\n\n event.preventDefault();\n const fixedDecimalAdjustment = Number(adjustment.toFixed(decimalPlaces(step)));\n this.setValue({\n [activeProp as SetValueProperty]: this.clamp(fixedDecimalAdjustment, activeProp),\n });\n };\n\n @Listen(\"pointerdown\")\n pointerDownHandler(event: PointerEvent): void {\n if (this.disabled || !isPrimaryPointerButton(event)) {\n return;\n }\n\n const x = event.clientX || event.pageX;\n const position = this.translate(x);\n let prop: ActiveSliderProperty = \"value\";\n if (isRange(this.value)) {\n const inRange = position >= this.minValue && position <= this.maxValue;\n if (inRange && this.lastDragProp === \"minMaxValue\") {\n prop = \"minMaxValue\";\n } else {\n const closerToMax = Math.abs(this.maxValue - position) < Math.abs(this.minValue - position);\n prop = closerToMax || position >= this.maxValue ? \"maxValue\" : \"minValue\";\n }\n }\n this.lastDragPropValue = this[prop];\n this.dragStart(prop);\n const isThumbActive = this.el.shadowRoot.querySelector(`.${CSS.thumb}:active`);\n if (!isThumbActive) {\n this.setValue({ [prop as SetValueProperty]: this.clamp(position, prop) });\n }\n this.focusActiveHandle(x);\n }\n\n handleTouchStart(event: TouchEvent): void {\n // needed to prevent extra click at the end of a handle drag\n event.preventDefault();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n /**\n * Fires on all updates to the component.\n *\n * Note: Fires frequently during drag. To perform\n * expensive operations consider using a debounce or throttle to avoid\n * locking up the main thread.\n */\n @Event({ cancelable: false }) calciteSliderInput: EventEmitter<void>;\n\n /**\n * Fires when the thumb is released on the component.\n *\n * Note: To constantly listen to the drag event,\n * use `calciteSliderInput` instead.\n */\n @Event({ cancelable: false }) calciteSliderChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const handle = this.minHandle ? this.minHandle : this.maxHandle;\n handle?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSliderElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Slider[\"value\"];\n\n private activeProp: ActiveSliderProperty = \"value\";\n\n private guid = `calcite-slider-${guid()}`;\n\n private dragProp: ActiveSliderProperty;\n\n private lastDragProp: ActiveSliderProperty;\n\n private lastDragPropValue: number;\n\n private minHandle: HTMLDivElement;\n\n private maxHandle: HTMLDivElement;\n\n private trackEl: HTMLDivElement;\n\n @State() effectiveLocale = \"\";\n\n @State() private minMaxValueRange: number = null;\n\n @State() private minValueDragRange: number = null;\n\n @State() private maxValueDragRange: number = null;\n\n @State() private tickValues: number[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private buildThumbType(type: \"min\" | \"max\"): ThumbType {\n const thumbTypeParts: string[] = [type];\n\n if (this.labelHandles) {\n thumbTypeParts.push(\"labeled\");\n }\n\n if (this.precise) {\n thumbTypeParts.push(\"precise\");\n }\n\n if (this.hasHistogram) {\n thumbTypeParts.push(\"histogram\");\n }\n\n return thumbTypeParts.join(\"-\") as ThumbType;\n }\n\n setValueFromMinMax(): void {\n const { minValue, maxValue } = this;\n\n if (typeof minValue === \"number\" && typeof maxValue === \"number\") {\n this.value = [minValue, maxValue];\n }\n }\n\n setMinMaxFromValue(): void {\n const { value } = this;\n\n if (isRange(value)) {\n this.minValue = value[0];\n this.maxValue = value[1];\n }\n }\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private shouldMirror(): boolean {\n return this.mirrored && !this.hasHistogram;\n }\n\n private shouldUseMinValue(): boolean {\n if (!isRange(this.value)) {\n return false;\n }\n return (\n (this.hasHistogram && this.maxValue === 0) || (!this.hasHistogram && this.minValue === 0)\n );\n }\n\n private getTickDensity(): number {\n const density = (this.max - this.min) / this.ticks / maxTickElementThreshold;\n\n return density < 1 ? 1 : density;\n }\n\n private generateTickValues(): number[] {\n const tickInterval = this.ticks ?? 0;\n\n if (tickInterval <= 0) {\n return [];\n }\n\n const ticks: number[] = [this.min];\n const density = this.getTickDensity();\n const tickOffset = tickInterval * density;\n let current = this.min;\n\n while (current < this.max) {\n current += tickOffset;\n ticks.push(Math.min(current, this.max));\n }\n\n if (!ticks.includes(this.max)) {\n ticks.push(this.max);\n }\n\n return ticks;\n }\n\n private onThumbBlur = () => {\n this.activeProp = null;\n };\n\n private onThumbFocus = (event: FocusEvent) => {\n const thumb = event.currentTarget as HTMLElement;\n this.activeProp = thumb.getAttribute(\"data-value-prop\") as ActiveSliderProperty;\n };\n\n private onThumbPointerDown = (event: PointerEvent) => {\n const thumb = event.currentTarget as HTMLElement;\n this.pointerDownDragStart(event, thumb.getAttribute(\"data-value-prop\") as ActiveSliderProperty);\n };\n\n private onTrackPointerDown = (event: PointerEvent) => {\n this.pointerDownDragStart(event, \"minMaxValue\");\n };\n\n private pointerDownDragStart(event: PointerEvent, prop: ActiveSliderProperty): void {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n\n this.dragStart(prop);\n }\n\n private dragStart(prop: ActiveSliderProperty): void {\n this.dragProp = prop;\n this.lastDragProp = this.dragProp;\n this.activeProp = prop;\n window.addEventListener(\"pointermove\", this.dragUpdate);\n window.addEventListener(\"pointerup\", this.pointerUpDragEnd);\n window.addEventListener(\"pointercancel\", this.dragEnd);\n }\n\n private focusActiveHandle(valueX: number): void {\n if (this.dragProp === \"minValue\") {\n this.minHandle.focus();\n } else if (this.dragProp === \"maxValue\" || this.dragProp === \"value\") {\n this.maxHandle.focus();\n } else if (this.dragProp === \"minMaxValue\") {\n this.getClosestHandle(valueX).focus();\n }\n }\n\n private dragUpdate = (event: PointerEvent): void => {\n if (this.disabled) {\n return;\n }\n\n event.preventDefault();\n if (this.dragProp) {\n const value = this.translate(event.clientX || event.pageX);\n if (isRange(this.value) && this.dragProp === \"minMaxValue\") {\n if (this.minValueDragRange && this.maxValueDragRange && this.minMaxValueRange) {\n const newMinValue = value - this.minValueDragRange;\n const newMaxValue = value + this.maxValueDragRange;\n if (\n newMaxValue <= this.max &&\n newMinValue >= this.min &&\n newMaxValue - newMinValue === this.minMaxValueRange\n ) {\n this.setValue({\n minValue: this.clamp(newMinValue, \"minValue\"),\n maxValue: this.clamp(newMaxValue, \"maxValue\"),\n });\n }\n } else {\n this.minValueDragRange = value - this.minValue;\n this.maxValueDragRange = this.maxValue - value;\n this.minMaxValueRange = this.maxValue - this.minValue;\n }\n } else {\n this.setValue({ [this.dragProp as SetValueProperty]: this.clamp(value, this.dragProp) });\n }\n }\n };\n\n private emitInput(): void {\n this.calciteSliderInput.emit();\n }\n\n private emitChange(): void {\n this.calciteSliderChange.emit();\n }\n\n private pointerUpDragEnd = (event: PointerEvent): void => {\n if (this.disabled || !isPrimaryPointerButton(event)) {\n return;\n }\n\n this.dragEnd(event);\n };\n\n private dragEnd = (event: PointerEvent): void => {\n if (this.disabled) {\n return;\n }\n\n this.removeDragListeners();\n this.focusActiveHandle(event.clientX);\n if (this.lastDragPropValue != this[this.dragProp]) {\n this.emitChange();\n }\n this.dragProp = null;\n this.lastDragPropValue = null;\n this.minValueDragRange = null;\n this.maxValueDragRange = null;\n this.minMaxValueRange = null;\n };\n\n private removeDragListeners() {\n window.removeEventListener(\"pointermove\", this.dragUpdate);\n window.removeEventListener(\"pointerup\", this.pointerUpDragEnd);\n window.removeEventListener(\"pointercancel\", this.dragEnd);\n }\n\n /**\n * Set prop value(s) if changed at the component level\n *\n * @param {object} values - a set of key/value pairs delineating what properties in the component to update\n */\n private setValue(\n values: Partial<{\n [Property in keyof Pick<Slider, \"maxValue\" | \"minValue\" | \"value\">]: number;\n }>,\n ): void {\n let valueChanged: boolean;\n\n Object.keys(values).forEach((propName) => {\n const newValue = values[propName];\n\n if (!valueChanged) {\n const oldValue = this[propName];\n valueChanged = oldValue !== newValue;\n }\n\n this[propName] = newValue;\n });\n\n if (!valueChanged) {\n return;\n }\n\n const dragging = this.dragProp;\n if (!dragging) {\n this.emitChange();\n }\n this.emitInput();\n }\n\n private storeTrackRef = (node: HTMLDivElement): void => {\n this.trackEl = node;\n };\n\n private storeThumbRef = (el: HTMLDivElement): void => {\n if (!el) {\n return;\n }\n\n const valueProp = el.getAttribute(\"data-value-prop\") as ActiveSliderProperty;\n valueProp === \"minValue\" ? (this.minHandle = el) : (this.maxHandle = el);\n };\n\n /**\n * If number is outside range, constrain to min or max\n *\n * @param value\n * @param prop\n * @internal\n */\n private clamp(value: number, prop?: ActiveSliderProperty): number {\n value = clamp(value, this.min, this.max);\n\n // ensure that maxValue and minValue don't swap positions\n if (prop === \"maxValue\") {\n value = Math.max(value, this.minValue);\n }\n if (prop === \"minValue\") {\n value = Math.min(value, this.maxValue);\n }\n\n return value;\n }\n\n /**\n * Translate a pixel position to value along the range\n *\n * @param x\n * @internal\n */\n private translate(x: number): number {\n const range = this.max - this.min;\n const { left, width } = this.trackEl.getBoundingClientRect();\n const percent = (x - left) / width;\n const mirror = this.shouldMirror();\n const clampedValue = this.clamp(this.min + range * (mirror ? 1 - percent : percent));\n const value = Number(clampedValue.toFixed(decimalPlaces(this.step)));\n\n return !(this.snap && this.step) ? value : this.getClosestStep(value);\n }\n\n /**\n * Get closest allowed value along stepped values\n *\n * @param value\n * @internal\n */\n private getClosestStep(value: number): number {\n const { max, min, step } = this;\n\n // prevents floating point precision issues\n const bigDecimalString = new BigDecimal(`${Math.floor((value - min) / step)}`)\n .multiply(`${step}`)\n .add(`${min}`)\n .toString();\n\n let snappedValue = this.clamp(Number(bigDecimalString));\n\n if (snappedValue > max) {\n snappedValue -= step;\n }\n\n return snappedValue;\n }\n\n private getClosestHandle(valueX: number): HTMLDivElement {\n return this.getDistanceX(this.maxHandle, valueX) > this.getDistanceX(this.minHandle, valueX)\n ? this.minHandle\n : this.maxHandle;\n }\n\n private getDistanceX(el: HTMLDivElement, valueX: number): number {\n return Math.abs(el.getBoundingClientRect().left - valueX);\n }\n\n private getFontSizeForElement(element: HTMLElement): number {\n return Number(window.getComputedStyle(element).getPropertyValue(\"font-size\").match(/\\d+/)[0]);\n }\n\n /**\n * Get position of value along range as fractional value\n *\n * @param num\n * @return {number} number in the unit interval [0,1]\n * @internal\n */\n private getUnitInterval(num: number): number {\n num = this.clamp(num);\n const range = this.max - this.min;\n return (num - this.min) / range;\n }\n\n private adjustHostObscuredHandleLabel(name: \"value\" | \"minValue\"): void {\n const label: HTMLSpanElement = this.el.shadowRoot.querySelector(`.handle__label--${name}`);\n const labelStatic: HTMLSpanElement = this.el.shadowRoot.querySelector(\n `.handle__label--${name}.static`,\n );\n const labelTransformed: HTMLSpanElement = this.el.shadowRoot.querySelector(\n `.handle__label--${name}.transformed`,\n );\n const labelStaticBounds = labelStatic.getBoundingClientRect();\n const labelStaticOffset = this.getHostOffset(labelStaticBounds.left, labelStaticBounds.right);\n label.style.transform = `translateX(${labelStaticOffset}px)`;\n labelTransformed.style.transform = `translateX(${labelStaticOffset}px)`;\n }\n\n private hyphenateCollidingRangeHandleLabels(): void {\n const { shadowRoot } = this.el;\n\n const mirror = this.shouldMirror();\n const leftModifier = mirror ? \"value\" : \"minValue\";\n const rightModifier = mirror ? \"minValue\" : \"value\";\n\n const leftValueLabel: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${leftModifier}`,\n );\n const leftValueLabelStatic: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${leftModifier}.static`,\n );\n const leftValueLabelTransformed: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${leftModifier}.transformed`,\n );\n const leftValueLabelStaticHostOffset = this.getHostOffset(\n leftValueLabelStatic.getBoundingClientRect().left,\n leftValueLabelStatic.getBoundingClientRect().right,\n );\n\n const rightValueLabel: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${rightModifier}`,\n );\n const rightValueLabelStatic: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${rightModifier}.static`,\n );\n const rightValueLabelTransformed: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${rightModifier}.transformed`,\n );\n const rightValueLabelStaticHostOffset = this.getHostOffset(\n rightValueLabelStatic.getBoundingClientRect().left,\n rightValueLabelStatic.getBoundingClientRect().right,\n );\n\n const labelFontSize = this.getFontSizeForElement(leftValueLabel);\n const labelTransformedOverlap = this.getRangeLabelOverlap(\n leftValueLabelTransformed,\n rightValueLabelTransformed,\n );\n\n const hyphenLabel = leftValueLabel;\n const labelOffset = labelFontSize / 2;\n\n if (labelTransformedOverlap > 0) {\n hyphenLabel.classList.add(CSS.hyphen, CSS.hyphenWrap);\n if (rightValueLabelStaticHostOffset === 0 && leftValueLabelStaticHostOffset === 0) {\n // Neither handle overlaps the host boundary\n let leftValueLabelTranslate = labelTransformedOverlap / 2 - labelOffset;\n leftValueLabelTranslate =\n Math.sign(leftValueLabelTranslate) === -1\n ? Math.abs(leftValueLabelTranslate)\n : -leftValueLabelTranslate;\n\n const leftValueLabelTransformedHostOffset = this.getHostOffset(\n leftValueLabelTransformed.getBoundingClientRect().left +\n leftValueLabelTranslate -\n labelOffset,\n leftValueLabelTransformed.getBoundingClientRect().right +\n leftValueLabelTranslate -\n labelOffset,\n );\n\n let rightValueLabelTranslate = labelTransformedOverlap / 2;\n const rightValueLabelTransformedHostOffset = this.getHostOffset(\n rightValueLabelTransformed.getBoundingClientRect().left + rightValueLabelTranslate,\n rightValueLabelTransformed.getBoundingClientRect().right + rightValueLabelTranslate,\n );\n\n if (leftValueLabelTransformedHostOffset !== 0) {\n leftValueLabelTranslate += leftValueLabelTransformedHostOffset;\n rightValueLabelTranslate += leftValueLabelTransformedHostOffset;\n }\n\n if (rightValueLabelTransformedHostOffset !== 0) {\n leftValueLabelTranslate += rightValueLabelTransformedHostOffset;\n rightValueLabelTranslate += rightValueLabelTransformedHostOffset;\n }\n\n leftValueLabel.style.transform = `translateX(${leftValueLabelTranslate}px)`;\n leftValueLabelTransformed.style.transform = `translateX(${\n leftValueLabelTranslate - labelOffset\n }px)`;\n rightValueLabel.style.transform = `translateX(${rightValueLabelTranslate}px)`;\n rightValueLabelTransformed.style.transform = `translateX(${rightValueLabelTranslate}px)`;\n } else if (leftValueLabelStaticHostOffset > 0 || rightValueLabelStaticHostOffset > 0) {\n // labels overlap host boundary on the left side\n leftValueLabel.style.transform = `translateX(${\n leftValueLabelStaticHostOffset + labelOffset\n }px)`;\n rightValueLabel.style.transform = `translateX(${\n labelTransformedOverlap + rightValueLabelStaticHostOffset\n }px)`;\n rightValueLabelTransformed.style.transform = `translateX(${\n labelTransformedOverlap + rightValueLabelStaticHostOffset\n }px)`;\n } else if (leftValueLabelStaticHostOffset < 0 || rightValueLabelStaticHostOffset < 0) {\n // labels overlap host boundary on the right side\n let leftValueLabelTranslate =\n Math.abs(leftValueLabelStaticHostOffset) + labelTransformedOverlap - labelOffset;\n leftValueLabelTranslate =\n Math.sign(leftValueLabelTranslate) === -1\n ? Math.abs(leftValueLabelTranslate)\n : -leftValueLabelTranslate;\n leftValueLabel.style.transform = `translateX(${leftValueLabelTranslate}px)`;\n leftValueLabelTransformed.style.transform = `translateX(${\n leftValueLabelTranslate - labelOffset\n }px)`;\n }\n } else {\n hyphenLabel.classList.remove(CSS.hyphen, CSS.hyphenWrap);\n leftValueLabel.style.transform = `translateX(${leftValueLabelStaticHostOffset}px)`;\n leftValueLabelTransformed.style.transform = `translateX(${leftValueLabelStaticHostOffset}px)`;\n rightValueLabel.style.transform = `translateX(${rightValueLabelStaticHostOffset}px)`;\n rightValueLabelTransformed.style.transform = `translateX(${rightValueLabelStaticHostOffset}px)`;\n }\n }\n\n /**\n * Hides bounding tick labels that are obscured by either handle.\n */\n private hideObscuredBoundingTickLabels(): void {\n const valueIsRange = isRange(this.value);\n if (!this.hasHistogram && !valueIsRange && !this.labelHandles && !this.precise) {\n return;\n }\n if (!this.hasHistogram && !valueIsRange && this.labelHandles && !this.precise) {\n return;\n }\n if (!this.hasHistogram && !valueIsRange && !this.labelHandles && this.precise) {\n return;\n }\n if (!this.hasHistogram && !valueIsRange && this.labelHandles && this.precise) {\n return;\n }\n if (!this.hasHistogram && valueIsRange && !this.precise) {\n return;\n }\n if (this.hasHistogram && !this.precise && !this.labelHandles) {\n return;\n }\n\n const minHandle: HTMLDivElement | null = this.el.shadowRoot.querySelector(\n `.${CSS.thumbMinValue}`,\n );\n const maxHandle: HTMLDivElement | null = this.el.shadowRoot.querySelector(`.${CSS.thumbValue}`);\n\n const minTickLabel: HTMLSpanElement | null = this.el.shadowRoot.querySelector(\n `.${CSS.tickMin}`,\n );\n const maxTickLabel: HTMLSpanElement | null = this.el.shadowRoot.querySelector(\n `.${CSS.tickMax}`,\n );\n\n if (!minHandle && maxHandle && minTickLabel && maxTickLabel) {\n minTickLabel.style.opacity = this.isMinTickLabelObscured(minTickLabel, maxHandle) ? \"0\" : \"1\";\n maxTickLabel.style.opacity = this.isMaxTickLabelObscured(maxTickLabel, maxHandle) ? \"0\" : \"1\";\n }\n\n if (minHandle && maxHandle && minTickLabel && maxTickLabel) {\n minTickLabel.style.opacity =\n this.isMinTickLabelObscured(minTickLabel, minHandle) ||\n this.isMinTickLabelObscured(minTickLabel, maxHandle)\n ? \"0\"\n : \"1\";\n maxTickLabel.style.opacity =\n this.isMaxTickLabelObscured(maxTickLabel, minHandle) ||\n (this.isMaxTickLabelObscured(maxTickLabel, maxHandle) && this.hasHistogram)\n ? \"0\"\n : \"1\";\n }\n }\n\n /**\n * Returns an integer representing the number of pixels to offset on the left or right side based on desired position behavior.\n *\n * @param leftBounds\n * @param rightBounds\n * @internal\n */\n private getHostOffset(leftBounds: number, rightBounds: number): number {\n const hostBounds = this.el.getBoundingClientRect();\n const buffer = 7;\n\n if (leftBounds + buffer < hostBounds.left) {\n return hostBounds.left - leftBounds - buffer;\n }\n\n if (rightBounds - buffer > hostBounds.right) {\n return -(rightBounds - hostBounds.right) + buffer;\n }\n\n return 0;\n }\n\n /**\n * Returns an integer representing the number of pixels that the two given span elements are overlapping, taking into account\n * a space in between the two spans equal to the font-size set on them to account for the space needed to render a hyphen.\n *\n * @param leftLabel\n * @param rightLabel\n */\n private getRangeLabelOverlap(leftLabel: HTMLSpanElement, rightLabel: HTMLSpanElement): number {\n const leftLabelBounds = leftLabel.getBoundingClientRect();\n const rightLabelBounds = rightLabel.getBoundingClientRect();\n const leftLabelFontSize = this.getFontSizeForElement(leftLabel);\n const rangeLabelOverlap = leftLabelBounds.right + leftLabelFontSize - rightLabelBounds.left;\n\n return Math.max(rangeLabelOverlap, 0);\n }\n\n /**\n * Returns a boolean value representing if the minLabel span element is obscured (being overlapped) by the given handle div element.\n *\n * @param minLabel\n * @param handle\n */\n private isMinTickLabelObscured(minLabel: HTMLSpanElement, handle: HTMLDivElement): boolean {\n const minLabelBounds = minLabel.getBoundingClientRect();\n const handleBounds = handle.getBoundingClientRect();\n return intersects(minLabelBounds, handleBounds);\n }\n\n /**\n * Returns a boolean value representing if the maxLabel span element is obscured (being overlapped) by the given handle div element.\n *\n * @param maxLabel\n * @param handle\n */\n private isMaxTickLabelObscured(maxLabel: HTMLSpanElement, handle: HTMLDivElement): boolean {\n const maxLabelBounds = maxLabel.getBoundingClientRect();\n const handleBounds = handle.getBoundingClientRect();\n return intersects(maxLabelBounds, handleBounds);\n }\n\n /**\n * Returns a string representing the localized label value based if the groupSeparator prop is parsed.\n *\n * @param value\n */\n private formatValue = (value: number): string => {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n\n return numberStringFormatter.localize(value.toString());\n };\n\n private internalLabelFormatter(value: number, type: \"max\" | \"min\" | \"value\" | \"tick\"): string {\n const customFormatter = this.labelFormatter;\n\n if (!customFormatter) {\n return this.formatValue(value);\n }\n\n const formattedValue = customFormatter(value, type, this.formatValue);\n\n if (formattedValue == null) {\n return this.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rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{h as n}from"./p-e7104b8d.js";import{g as t}from"./p-3c4fe54e.js";const i=/firefox/i.test(t());const e=i?new WeakMap:null;function o(){const{disabled:n}=this;if(!n){HTMLElement.prototype.click.call(this)}}function r(n){const t=n.target;if(i&&!e.get(t)){return}const{disabled:o}=t;if(o){n.preventDefault()}}const c=["mousedown","mouseup","click"];function f(n){const t=n.target;if(i&&!e.get(t)){return}if(t.disabled){n.stopImmediatePropagation();n.preventDefault()}}const s={capture:true};function u(n){if(n.disabled){n.el.setAttribute("aria-disabled","true");if(n.el.contains(document.activeElement)){document.activeElement.blur()}a(n);return}m(n);n.el.removeAttribute("aria-disabled")}function a(n){n.el.click=o;if(i){const t=l(n);const i=e.get(n.el);if(i!==t){b(i);e.set(n.el,t)}d(e.get(n.el));return}d(n.el)}function d(n){if(!n){return}n.addEventListener("pointerdown",r,s);c.forEach((t=>n.addEventListener(t,f,s)))}function l(n){return n.el.parentElement||n.el}function p(n){return"disabled"in n}function m(n){delete n.el.click;if(i){const t=e.get(n.el);let i=false;if(t?.children){for(const e of t.children){if(p(e)&&e.disabled&&e!==n.el){i=true;break}}}if(!i){b(t)}e.delete(n.el);return}b(n.el)}function b(n){if(!n){return}n.removeEventListener("pointerdown",r,s);c.forEach((t=>n.removeEventListener(t,f,s)))}function w(n){if(!n.disabled||!i){return}a(n)}function k(n){if(!i){return}m(n)}const h={container:"interaction-container"};const j=({disabled:t},i)=>n("div",{class:h.container,inert:t},...i);export{j as I,w as c,k as d,u};
|
|
7
|
-
//# sourceMappingURL=p-8f8cbbc7.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["isFirefox","test","getUserAgentString","disabledElementToParent","WeakMap","interceptedClick","disabled","this","HTMLElement","prototype","click","call","onPointerDown","event","interactiveElement","target","get","preventDefault","nonBubblingWhenDisabledMouseEvents","onNonBubblingWhenDisabledMouseEvent","stopImmediatePropagation","captureOnlyOptions","capture","updateHostInteraction","component","el","setAttribute","contains","document","activeElement","blur","blockInteraction","restoreInteraction","removeAttribute","currentParent","getParentElement","trackedParent","removeInteractionListeners","set","addInteractionListeners","element","addEventListener","forEach","parentElement","isInteractiveHTMLElement","parent","hasDisabledSiblingElements","children","child","delete","removeEventListener","connectInteractive","disconnectInteractive","CSS","container","InteractiveContainer","h","class","inert"],"sources":["src/utils/interactive.tsx"],"sourcesContent":["import { JSXAttributes } from \"@stencil/core/internal\";\nimport { FunctionalComponent, h, VNode } from \"@stencil/core\";\nimport { getUserAgentString } from \"./browser\";\n\nexport interface InteractiveComponent {\n /**\n * The host element.\n */\n readonly el: InteractiveHTMLElement;\n\n /**\n * When true, prevents user interaction.\n *\n * Notes:\n *\n * This prop should use the @Prop decorator and reflect.\n * The `disabled` Sass mixin must be added to the component's stylesheet.\n */\n disabled: boolean;\n}\n\n/**\n * Exported for testing purposes only.\n *\n * @internal\n */\nexport type InteractiveHTMLElement = HTMLElement & Pick<InteractiveComponent, \"disabled\">;\n\n// ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️\nconst isFirefox = /firefox/i.test(getUserAgentString());\n\ntype ParentElement<T extends HTMLElement = HTMLElement> = T | null;\n\nconst disabledElementToParent: WeakMap<InteractiveHTMLElement, ParentElement> | null = isFirefox\n ? new WeakMap()\n : null;\n\nfunction interceptedClick(): void {\n const { disabled } = this as InteractiveHTMLElement;\n\n if (!disabled) {\n HTMLElement.prototype.click.call(this);\n }\n}\n\nfunction onPointerDown(event: PointerEvent): void {\n const interactiveElement = event.target as InteractiveHTMLElement;\n\n if (isFirefox && !disabledElementToParent.get(interactiveElement)) {\n return;\n }\n\n const { disabled } = interactiveElement;\n\n if (disabled) {\n // prevent click from moving focus on host\n event.preventDefault();\n }\n}\n\nconst nonBubblingWhenDisabledMouseEvents = [\"mousedown\", \"mouseup\", \"click\"];\n\nfunction onNonBubblingWhenDisabledMouseEvent(event: MouseEvent): void {\n const interactiveElement = event.target as InteractiveHTMLElement;\n\n if (isFirefox && !disabledElementToParent.get(interactiveElement)) {\n return;\n }\n\n // prevent disallowed mouse events from being emitted on the disabled host (per https://github.com/whatwg/html/issues/5886)\n // ⚠ we generally avoid stopping propagation of events, but this is needed to adhere to the intended spec changes above ⚠\n if (interactiveElement.disabled) {\n event.stopImmediatePropagation();\n event.preventDefault();\n }\n}\n\nconst captureOnlyOptions = { capture: true } as const;\n\n/**\n * This helper updates the host element to prevent keyboard interaction on its subtree and sets the appropriate aria attribute for accessibility.\n *\n * This should be used in the `componentDidRender` lifecycle hook.\n *\n * **Notes**\n *\n * this util is not needed for simple components whose root element or elements are an interactive component (custom element or native control). For those cases, set the `disabled` props on the root components instead.\n * technically, users can override `tabindex` and restore keyboard navigation, but this will be considered user error\n *\n * @param component\n */\nexport function updateHostInteraction(component: InteractiveComponent): void {\n if (component.disabled) {\n component.el.setAttribute(\"aria-disabled\", \"true\");\n\n if (component.el.contains(document.activeElement)) {\n (document.activeElement as HTMLElement).blur();\n }\n\n blockInteraction(component);\n\n return;\n }\n\n restoreInteraction(component);\n\n component.el.removeAttribute(\"aria-disabled\");\n}\n\nfunction blockInteraction(component: InteractiveComponent): void {\n component.el.click = interceptedClick;\n\n if (isFirefox) {\n const currentParent = getParentElement(component);\n const trackedParent = disabledElementToParent.get(component.el);\n\n if (trackedParent !== currentParent) {\n removeInteractionListeners(trackedParent);\n disabledElementToParent.set(component.el, currentParent);\n }\n\n addInteractionListeners(disabledElementToParent.get(component.el));\n return;\n }\n\n addInteractionListeners(component.el);\n}\n\nfunction addInteractionListeners(element: HTMLElement): void {\n if (!element) {\n // this early return path is only applicable to Firefox\n return;\n }\n\n element.addEventListener(\"pointerdown\", onPointerDown, captureOnlyOptions);\n nonBubblingWhenDisabledMouseEvents.forEach((event) =>\n element.addEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions),\n );\n}\n\nfunction getParentElement(component: InteractiveComponent): ParentElement {\n return (\n component.el.parentElement || component.el\n ); /* assume element is host if it has no parent when connected */\n}\n\nfunction isInteractiveHTMLElement(el: Element): el is InteractiveHTMLElement {\n return \"disabled\" in el;\n}\n\nfunction restoreInteraction(component: InteractiveComponent): void {\n delete component.el.click; // fallback on HTMLElement.prototype.click\n\n if (isFirefox) {\n const parent = disabledElementToParent.get(component.el);\n\n let hasDisabledSiblingElements = false;\n\n if (parent?.children) {\n for (const child of parent.children) {\n if (isInteractiveHTMLElement(child) && child.disabled && child !== component.el) {\n hasDisabledSiblingElements = true;\n break;\n }\n }\n }\n\n if (!hasDisabledSiblingElements) {\n removeInteractionListeners(parent);\n }\n\n disabledElementToParent.delete(component.el);\n return;\n }\n\n removeInteractionListeners(component.el);\n}\n\nfunction removeInteractionListeners(element: HTMLElement): void {\n if (!element) {\n // this early return path is only applicable to Firefox\n return;\n }\n\n element.removeEventListener(\"pointerdown\", onPointerDown, captureOnlyOptions);\n nonBubblingWhenDisabledMouseEvents.forEach((event) =>\n element.removeEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions),\n );\n}\n\n/**\n * This utility helps disable components consistently in Firefox.\n *\n * It needs to be called in `connectedCallback` and is only needed for Firefox as it does not call capture event listeners before non-capture ones (see https://bugzilla.mozilla.org/show_bug.cgi?id=1731504).\n *\n * @param component\n */\nexport function connectInteractive(component: InteractiveComponent): void {\n if (!component.disabled || !isFirefox) {\n return;\n }\n\n blockInteraction(component);\n}\n\n/**\n * This utility restores interactivity to disabled components consistently in Firefox.\n *\n * It needs to be called in `disconnectedCallback` and is only needed for Firefox as it does not call capture event listeners before non-capture ones (see https://bugzilla.mozilla.org/show_bug.cgi?id=1731504).\n *\n * @param component\n */\nexport function disconnectInteractive(component: InteractiveComponent): void {\n if (!isFirefox) {\n return;\n }\n\n restoreInteraction(component);\n}\n\nexport interface InteractiveContainerProps extends JSXAttributes {\n disabled: boolean;\n}\n\nexport const CSS = {\n container: \"interaction-container\",\n};\n\nexport const InteractiveContainer: FunctionalComponent<InteractiveContainerProps> = (\n { disabled },\n children: VNode[],\n): VNode => (\n <div class={CSS.container} inert={disabled}>\n {...children}\n </div>\n);\n"],"mappings":";;;;;wEA6BA,MAAMA,EAAY,WAAWC,KAAKC,KAIlC,MAAMC,EAAiFH,EACnF,IAAII,QACJ,KAEJ,SAASC,IACP,MAAMC,SAAEA,GAAaC,KAErB,IAAKD,EAAU,CACbE,YAAYC,UAAUC,MAAMC,KAAKJ,K,CAErC,CAEA,SAASK,EAAcC,GACrB,MAAMC,EAAqBD,EAAME,OAEjC,GAAIf,IAAcG,EAAwBa,IAAIF,GAAqB,CACjE,M,CAGF,MAAMR,SAAEA,GAAaQ,EAErB,GAAIR,EAAU,CAEZO,EAAMI,gB,CAEV,CAEA,MAAMC,EAAqC,CAAC,YAAa,UAAW,SAEpE,SAASC,EAAoCN,GAC3C,MAAMC,EAAqBD,EAAME,OAEjC,GAAIf,IAAcG,EAAwBa,IAAIF,GAAqB,CACjE,M,CAKF,GAAIA,EAAmBR,SAAU,CAC/BO,EAAMO,2BACNP,EAAMI,gB,CAEV,CAEA,MAAMI,EAAqB,CAAEC,QAAS,M,SActBC,EAAsBC,GACpC,GAAIA,EAAUlB,SAAU,CACtBkB,EAAUC,GAAGC,aAAa,gBAAiB,QAE3C,GAAIF,EAAUC,GAAGE,SAASC,SAASC,eAAgB,CAChDD,SAASC,cAA8BC,M,CAG1CC,EAAiBP,GAEjB,M,CAGFQ,EAAmBR,GAEnBA,EAAUC,GAAGQ,gBAAgB,gBAC/B,CAEA,SAASF,EAAiBP,GACxBA,EAAUC,GAAGf,MAAQL,EAErB,GAAIL,EAAW,CACb,MAAMkC,EAAgBC,EAAiBX,GACvC,MAAMY,EAAgBjC,EAAwBa,IAAIQ,EAAUC,IAE5D,GAAIW,IAAkBF,EAAe,CACnCG,EAA2BD,GAC3BjC,EAAwBmC,IAAId,EAAUC,GAAIS,E,CAG5CK,EAAw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7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{d as _}from"./p-6ff8e6fb.js";import"./p-e7104b8d.js";import"./p-d6a25fe2.js";import"./p-27ab49c7.js";import"./p-6f580f9d.js";import"./p-56bab01f.js";import"./p-8f8cbbc7.js";import"./p-3c4fe54e.js";import"./p-c473b37c.js";import"./p-64329e55.js";import"./p-cbed8c79.js";import"./p-5b45eef3.js";import"./p-29c291d1.js";import"./p-9a2f96d2.js";import"./p-a4ba2c4c.js";import"./p-d014effb.js";import"./p-769c1c82.js";import"./p-c60c7e01.js";import"./p-36ecadf9.js";import"./p-45d13552.js";var r={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function _(r){var p=r%100;if(p>10&&p<20){return r+"-ти"}var t=r%10;if(t===1){return r+"-ви"}else if(t===2){return r+"-ри"}else if(t===7||t===8){return r+"-ми"}return r+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};_.locale(r,null,true);export{r as default};
|
|
7
|
-
//# sourceMappingURL=p-9626115b.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as s}from"./p-e7104b8d.js";import{c as n}from"./p-9a2f96d2.js";import{t as o}from"./p-27ab49c7.js";import{s as l,a as c,c as r}from"./p-5b45eef3.js";import{V as h}from"./p-36ecadf9.js";import"./p-3c4fe54e.js";import"./p-6f580f9d.js";import"./p-56bab01f.js";const d={itemWrapper:"item-wrapper"};const p={validationMessage:"radioButtonGroupValidationMessage"};const u=":host{display:flex;flex-direction:column}:host>.item-wrapper{display:flex;max-inline-size:100vw}:host([layout=horizontal])>.item-wrapper{flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s])>.item-wrapper{column-gap:1rem}:host([layout=horizontal][scale=m])>.item-wrapper{column-gap:1.25rem}:host([layout=horizontal][scale=l])>.item-wrapper{column-gap:1.5rem}:host([layout=vertical])>.item-wrapper{flex-direction:column;inline-size:-moz-fit-content;inline-size:fit-content}:host([scale=s]) calcite-input-message{--calcite-input-message-spacing-value:calc(var(--calcite-spacing-xxs) * -1)}:host([scale=m]) calcite-input-message{--calcite-input-message-spacing-value:calc(var(--calcite-spacing-sm) * -1)}:host([scale=l]) calcite-input-message{--calcite-input-message-spacing-value:calc(var(--calcite-spacing-md) * -1)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}:host([hidden]){display:none}[hidden]{display:none}";const m=u;const f=class{constructor(a){t(this,a);this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6);this.mutationObserver=n("mutation",(()=>this.passPropsToRadioButtons()));this.passPropsToRadioButtons=()=>{this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button"));this.selectedItem=Array.from(this.radioButtons).find((t=>t.checked))||null;if(this.radioButtons.length>0){this.radioButtons.forEach((t=>{t.disabled=this.disabled||t.disabled;t.hidden=this.el.hidden;t.name=this.name;t.required=this.required;t.scale=this.scale}))}};this.disabled=false;this.layout="horizontal";this.name=undefined;this.required=false;this.selectedItem=null;this.scale="m";this.status="idle";this.validationMessage=undefined;this.validationIcon=undefined;this.radioButtons=[]}handleHiddenChange(){this.passPropsToRadioButtons()}onDisabledChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){this.passPropsToRadioButtons();this.mutationObserver?.observe(this.el,{childList:true,subtree:true})}componentWillLoad(){l(this)}componentDidLoad(){c(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}getFocusableRadioButton(){return this.radioButtons.find((t=>!t.disabled))??null}async setFocus(){await r(this);if(this.selectedItem&&!this.selectedItem.disabled){return this.selectedItem.setFocus()}if(this.radioButtons.length>0){return this.getFocusableRadioButton()?.setFocus()}}radioButtonChangeHandler(t){this.selectedItem=t.target;this.calciteRadioButtonGroupChange.emit()}render(){return a(e,{key:"9a30f9b99f3f7dd6b237d951f71eac2cce3b595f",role:"radiogroup"},a("div",{key:"8e6e1498148c9d25c039e72b73bd3987c782af64","aria-errormessage":p.validationMessage,"aria-invalid":o(this.status==="invalid"),class:d.itemWrapper},a("slot",{key:"8b7a7b9c32e10a15f40495972d4f0b46726f22dc"})),this.validationMessage&&this.status==="invalid"?a(h,{icon:this.validationIcon,id:p.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null)}get el(){return s(this)}static get watchers(){return{hidden:["handleHiddenChange"],disabled:["onDisabledChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};f.style=m;export{f as calcite_radio_button_group};
|
|
7
|
-
//# sourceMappingURL=p-962cef0f.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,h as t,H as i,g as l}from"./p-e7104b8d.js";import{s as c,a as s,c as n}from"./p-5b45eef3.js";import{u as a,s as o,c as r,d}from"./p-c60c7e01.js";import{c as h,u as f,d as b,I as u}from"./p-8f8cbbc7.js";import{c as p,d as g}from"./p-29c291d1.js";import{g as v}from"./p-27ab49c7.js";import{C as m}from"./p-56bab01f.js";import{g as x}from"./p-cbed8c79.js";import"./p-3c4fe54e.js";import"./p-c473b37c.js";import"./p-9a2f96d2.js";import"./p-6f580f9d.js";const k={contentCell:"content-cell",numberCell:"number-cell",footerCell:"footer-cell",selectionCell:"selection-cell",selectedCell:"selected-cell",assistiveText:"assistive-text",lastCell:"last-cell",staticCell:"static-cell"};const w=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-cell-background:var(--calcite-table-cell-background, transparent);display:contents}:host([alignment=center]) td:not(.selection-cell):not(.number-cell){text-align:center}:host([alignment=end]) td:not(.selection-cell):not(.number-cell){text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-color-text-1);background:var(--calcite-internal-table-cell-background);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-color-border-3);padding:var(--calcite-internal-table-cell-padding)}td:not(.static-cell){outline-color:transparent}td:not(.static-cell):focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}td.start.content-cell{vertical-align:top}td.end.content-cell{vertical-align:bottom}td.last-cell{border-inline-end:0}.number-cell{background-color:var(--calcite-color-foreground-2)}.footer-cell{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-start:1px solid var(--calcite-color-border-3)}.number-cell,.selection-cell{text-align:center;border-inline-end:1px solid var(--calcite-color-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{color:var(--calcite-color-text-3);inset-inline-start:2rem}.selection-cell:not(.footer-cell){cursor:pointer}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-cell-background:var(--calcite-color-foreground-current)}.selection-cell.selected-cell{box-shadow:inset 0.25rem 0 0 0 var(--calcite-color-brand);color:var(--calcite-color-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-color-brand)}.calcite--rtl.selection-cell.selected-cell{box-shadow:inset -0.25rem 0 0 0 var(--calcite-color-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";const C=w;const y=class{constructor(t){e(this,t);this.updateScreenReaderContentsText=()=>{this.contentsText=this.el.textContent};this.onContainerBlur=()=>{this.focused=false};this.onContainerFocus=()=>{this.focused=true};this.alignment="start";this.colSpan=undefined;this.rowSpan=undefined;this.disabled=undefined;this.interactionMode="interactive";this.lastCell=undefined;this.numberCell=undefined;this.parentRowIsSelected=undefined;this.parentRowAlignment="start";this.parentRowPositionLocalized=undefined;this.parentRowType=undefined;this.positionInRow=undefined;this.readCellContentsToAT=undefined;this.scale="m";this.selectionCell=undefined;this.messages=undefined;this.messageOverrides=undefined;this.contentsText="";this.defaultMessages=undefined;this.focused=false;this.selectionText="";this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderSelectionText()}onMessagesChange(){}effectiveLocaleChange(){a(this,this.effectiveLocale)}async componentWillLoad(){c(this);await o(this);this.updateScreenReaderContentsText();this.updateScreenReaderSelectionText()}componentDidLoad(){s(this)}connectedCallback(){p(this);r(this);h(this)}componentDidRender(){f(this)}disconnectedCallback(){g(this);d(this);b(this)}async setFocus(){await n(this);this.containerEl.focus()}updateScreenReaderSelectionText(){const e=`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.selected} ${this.messages?.keyboardDeselect}`;const t=`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.unselected} ${this.messages?.keyboardSelect}`;this.selectionText=this.parentRowIsSelected?e:t}render(){const e=v(this.el);const l=this.disabled||this.interactionMode==="static"&&(!this.selectionCell||this.selectionCell&&this.parentRowType==="foot");return t(i,{key:"4d52967c0b56ad11ae0cd2f2bcda584a4c32d7aa"},t(u,{key:"38dc03f0b7b46647d55510c954da818991134923",disabled:this.disabled},t("td",{key:"f33e06346894caae2199743b02b3d82d45227a9c","aria-disabled":this.disabled,class:{[k.footerCell]:this.parentRowType==="foot",[k.contentCell]:!this.numberCell&&!this.selectionCell,[k.numberCell]:this.numberCell,[k.selectionCell]:this.selectionCell,[k.selectedCell]:this.parentRowIsSelected,[k.lastCell]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[m.rtl]:e==="rtl",[k.staticCell]:l,[this.parentRowAlignment]:this.parentRowAlignment==="start"||this.parentRowAlignment==="end"},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:e=>this.containerEl=e,role:this.interactionMode==="interactive"?"gridcell":"cell",rowSpan:this.rowSpan,tabIndex:l?-1:0},(this.selectionCell||this.readCellContentsToAT)&&t("span",{key:"09f8419edf6633fec643980debdab653cfa1aa18","aria-hidden":true,"aria-live":this.focused?"polite":"off",class:k.assistiveText},this.selectionCell&&this.selectionText,this.readCellContentsToAT&&!this.selectionCell&&this.contentsText),t("slot",{key:"05f0410a867cb1cfab5a01b1d4e374002314493d",onSlotchange:this.updateScreenReaderContentsText}))))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{parentRowIsSelected:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=C;const $={contentCell:"content-cell",numberCell:"number-cell",selectionCell:"selection-cell",bodyRow:"body-row",footerRow:"footer-row",heading:"heading",description:"description",multipleSelectionCell:"cell--multiple-selection",assistiveText:"assistive-text",active:"active",selectedCell:"selected-cell",lastCell:"last-cell",staticCell:"static-cell"};const z={checked:"check-square-f",indeterminate:"minus-square-f",unchecked:"square"};const S=":host{--calcite-internal-table-header-background:var(--calcite-table-header-background, var(--calcite-color-foreground-2));--calcite-internal-table-header-border-color:var(--calcite-table-border-color, var(--calcite-color-border-3));display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}th{white-space:normal;text-align:start;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-internal-table-header-border-color);border-block-end:1px solid var(--calcite-internal-table-header-border-color);padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-internal-table-header-background)}th:not(.static-cell){outline-color:transparent}th:not(.static-cell):not(.static-cell):focus-within{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}th:not(.center):not(.end).content-cell{vertical-align:top}th.center{vertical-align:middle}th.end.content-cell{vertical-align:bottom}th.body-row,th.footer-row{padding-block:var(--calcite-internal-table-cell-padding);border-block-end:0}th.footer-row{border-block-start:1px solid var(--calcite-internal-table-header-border-color)}th.last-cell{border-inline-end:0}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-color-text-3)}.cell--multiple-selection:not(.end){vertical-align:middle}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-header-background:var(--calcite-color-foreground-current)}.number-cell,.selection-cell{color:var(--calcite-color-text-2);inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-color-brand)}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-color-text-1)}.description{color:var(--calcite-color-text-3);font-size:var(--calcite-internal-table-cell-font-size-secondary)}";const j=S;const L=class{constructor(t){e(this,t);this.onContainerBlur=()=>{this.focused=false};this.onContainerFocus=()=>{this.focused=true};this.alignment="start";this.colSpan=undefined;this.description=undefined;this.heading=undefined;this.rowSpan=undefined;this.interactionMode="interactive";this.lastCell=undefined;this.numberCell=false;this.parentRowAlignment="start";this.parentRowIsSelected=undefined;this.parentRowType=undefined;this.positionInRow=undefined;this.scale=undefined;this.selectedRowCount=undefined;this.selectedRowCountLocalized=undefined;this.selectionCell=false;this.selectionMode=undefined;this.bodyRowCount=undefined;this.messages=undefined;this.messageOverrides=undefined;this.defaultMessages=undefined;this.focused=false;this.screenReaderText="";this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderText()}onMessagesChange(){}async componentWillLoad(){c(this);await o(this);this.updateScreenReaderText()}componentDidLoad(){s(this)}connectedCallback(){p(this);r(this)}disconnectedCallback(){g(this);d(this)}effectiveLocaleChange(){a(this,this.effectiveLocale)}async setFocus(){await n(this);this.containerEl.focus()}updateScreenReaderText(){let e="";const t=`${this.selectedRowCountLocalized} ${this.messages?.selected}`;if(this.numberCell){e=this.messages?.rowNumber}else if(this.selectionMode==="single"){e=`${this.messages?.selectionColumn}. ${t}`}else if(this.bodyRowCount===this.selectedRowCount){e=`${this.messages?.selectionColumn}. ${this.messages?.all} ${t} ${this.messages?.keyboardDeselectAll}`}else{e=`${this.messages?.selectionColumn}. ${t} ${this.messages?.keyboardSelectAll}`}this.screenReaderText=e}render(){const e=this.rowSpan?"rowgroup":this.colSpan?"colgroup":this.parentRowType==="body"?"row":"col";const l=this.selectedRowCount===this.bodyRowCount;const c=this.selectedRowCount>0;const s=l?z.checked:c?z.indeterminate:z.unchecked;const n=this.interactionMode==="static"&&!this.selectionCell;return t(i,{key:"55805e40fd5617971301fe6c3df52fd45ff4486e"},t("th",{key:"2f7c756603386e578a871558645daac673fd6cdc","aria-colindex":this.parentRowType==="head"?this.positionInRow:undefined,class:{[$.bodyRow]:this.parentRowType==="body",[$.footerRow]:this.parentRowType==="foot",[$.contentCell]:!this.numberCell&&!this.selectionCell,[$.numberCell]:this.numberCell,[$.selectionCell]:this.selectionCell,[$.selectedCell]:this.parentRowIsSelected,[$.multipleSelectionCell]:this.selectionMode==="multiple",[$.staticCell]:n,[$.lastCell]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[this.parentRowAlignment]:this.parentRowAlignment==="center"||this.parentRowAlignment==="end"},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:e=>this.containerEl=e,role:this.parentRowType==="head"?"columnheader":"rowheader",rowSpan:this.rowSpan,scope:e,tabIndex:this.selectionCell?0:n?-1:0},this.heading&&t("div",{key:"e347778a1676cf40c5f4c2937a590ac8b6c1fde0",class:$.heading},this.heading),this.description&&t("div",{key:"13c5d2ec28bf68132c1217be299aa4363794f370",class:$.description},this.description),this.selectionCell&&this.selectionMode==="multiple"&&t("calcite-icon",{key:"11f84e3c1c3cb8be33c8c5aa4a2cc4f5d01fbbfa",class:{[$.active]:c||l},icon:s,scale:x(this.scale)}),(this.selectionCell||this.numberCell)&&t("span",{key:"23c2914de335aa02bf99b1d9286ad2b2ad38cccb","aria-hidden":true,"aria-live":this.focused?"polite":"off",class:$.assistiveText},this.screenReaderText)))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{selectedRowCount:["onSelectedChange"],selectedRowCountLocalized:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=j;export{y as calcite_table_cell,L as calcite_table_header};
|
|
7
|
-
//# sourceMappingURL=p-967b7e40.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CSS","contentCell","numberCell","footerCell","selectionCell","selectedCell","assistiveText","lastCell","staticCell","tableCellCss","CalciteTableCellStyle0","TableCell","this","updateScreenReaderContentsText","contentsText","el","textContent","onContainerBlur","focused","onContainerFocus","onSelectedChange","updateScreenReaderSelectionText","onMessagesChange","effectiveLocaleChange","updateMessages","effectiveLocale","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","connectedCallback","connectLocalized","connectMessages","connectInteractive","componentDidRender","updateHostInteraction","disconnectedCallback","disconnectLocalized","disconnectMessages","disconnectInteractive","setFocus","componentFocusable","containerEl","focus","selectedText","messages","row","parentRowPositionLocalized","selected","keyboardDeselect","unselectedText","unselected","keyboardSelect","selectionText","parentRowIsSelected","render","dir","getElementDir","disabled","interactionMode","parentRowType","h","Host","key","InteractiveContainer","class","rowSpan","colSpan","CSS_UTILITY","rtl","parentRowAlignment","onBlur","onFocus","ref","role","tabIndex","readCellContentsToAT","onSlotchange","bodyRow","footerRow","heading","description","multipleSelectionCell","active","ICONS","checked","indeterminate","unchecked","tableHeaderCss","CalciteTableHeaderStyle0","TableHeader","updateScreenReaderText","text","sharedText","selectedRowCountLocalized","rowNumber","selectionMode","selectionColumn","bodyRowCount","selectedRowCount","all","keyboardDeselectAll","keyboardSelectAll","screenReaderText","scope","selectionIcon","positionInRow","undefined","icon","scale","getIconScale"],"sources":["src/components/table-cell/resources.ts","src/components/table-cell/table-cell.scss?tag=calcite-table-cell&encapsulation=shadow","src/components/table-cell/table-cell.tsx","src/components/table-header/resources.ts","src/components/table-header/table-header.scss?tag=calcite-table-header&encapsulation=shadow","src/components/table-header/table-header.tsx"],"sourcesContent":["export const CSS = {\n contentCell: \"content-cell\",\n numberCell: \"number-cell\",\n footerCell: \"footer-cell\",\n selectionCell: \"selection-cell\",\n selectedCell: \"selected-cell\",\n assistiveText: \"assistive-text\",\n lastCell: \"last-cell\",\n staticCell: \"static-cell\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-table-cell-background: Specifies the background color of the component.\n */\n\n:host {\n --calcite-internal-table-cell-background: var(--calcite-table-cell-background, transparent);\n @apply contents;\n}\n\n:host([alignment=\"center\"]) td:not(.selection-cell):not(.number-cell) {\n @apply text-center;\n}\n\n:host([alignment=\"end\"]) td:not(.selection-cell):not(.number-cell) {\n @apply text-end;\n}\n\n.assistive-text {\n @apply sr-only;\n}\n\ntd {\n @apply text-start align-middle text-color-1 whitespace-normal;\n background: var(--calcite-internal-table-cell-background);\n font-size: var(--calcite-internal-table-cell-font-size);\n border-inline-end: 1px solid var(--calcite-color-border-3);\n padding: var(--calcite-internal-table-cell-padding);\n\n &:not(.static-cell) {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n }\n}\n\ntd.start.content-cell {\n @apply align-top;\n}\n\ntd.end.content-cell {\n @apply align-bottom;\n}\n\ntd.last-cell {\n border-inline-end: 0;\n}\n\n.number-cell {\n @apply bg-foreground-2;\n}\n\n.footer-cell {\n @apply bg-background font-medium text-color-1;\n border-block-start: 1px solid var(--calcite-color-border-3);\n}\n\n.number-cell,\n.selection-cell {\n @apply text-center;\n border-inline-end: 1px solid var(--calcite-color-border-3);\n inline-size: 2rem;\n min-inline-size: 2rem;\n}\n\n.selection-cell {\n @apply text-color-3;\n inset-inline-start: 2rem;\n &:not(.footer-cell) {\n @apply cursor-pointer;\n }\n}\n\n.selected-cell:not(.number-cell):not(.footer-cell) {\n --calcite-internal-table-cell-background: var(--calcite-color-foreground-current);\n}\n\n.selection-cell.selected-cell {\n box-shadow: inset 0.25rem 0 0 0 var(--calcite-color-brand);\n color: var(--calcite-color-brand);\n & calcite-icon {\n color: var(--calcite-color-brand);\n }\n}\n\n.calcite--rtl.selection-cell.selected-cell {\n box-shadow: inset -0.25rem 0 0 0 var(--calcite-color-brand);\n}\n\n.selection-cell {\n @apply align-middle;\n & ::slotted(calcite-icon) {\n @apply pointer-events-none mt-1;\n }\n}\n\n@include disabled();\n","import { Component, Element, h, Host, Method, Prop, State, VNode, Watch } from \"@stencil/core\";\nimport { Alignment, Scale } from \"../interfaces\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { RowType, TableInteractionMode } from \"../table/interfaces\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { CSS } from \"./resources\";\nimport { TableCellMessages } from \"./assets/table-cell/t9n\";\n\n/**\n * @slot - A slot for adding content, usually text content.\n */\n@Component({\n tag: \"calcite-table-cell\",\n styleUrl: \"table-cell.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class TableCell\n implements InteractiveComponent, LocalizedComponent, LoadableComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the alignment of the component. */\n @Prop({ reflect: true }) alignment: Alignment = \"start\";\n\n /** Specifies the number of columns the component should span. */\n @Prop({ reflect: true }) colSpan: number;\n\n /** Specifies the number of rows the component should span. */\n @Prop({ reflect: true }) rowSpan: number;\n\n /** @internal */\n @Prop() disabled: boolean;\n\n /** @internal */\n @Prop() interactionMode: TableInteractionMode = \"interactive\";\n\n /** @internal */\n @Prop() lastCell: boolean;\n\n /** @internal */\n @Prop() numberCell: boolean;\n\n /** @internal */\n @Prop() parentRowIsSelected: boolean;\n\n @Watch(\"parentRowIsSelected\")\n onSelectedChange(): void {\n this.updateScreenReaderSelectionText();\n }\n\n /** @internal */\n @Prop() parentRowAlignment: Alignment = \"start\";\n\n /** @internal */\n @Prop() parentRowPositionLocalized: string;\n\n /** @internal */\n @Prop() parentRowType: RowType;\n\n /** @internal */\n @Prop() positionInRow: number;\n\n /** @internal */\n @Prop() readCellContentsToAT: boolean;\n\n /** @internal */\n @Prop() scale: Scale = \"m\";\n\n /** @internal */\n @Prop() selectionCell: boolean;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: TableCellMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<TableCellMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTableCellElement;\n\n @State() contentsText = \"\";\n\n @State() defaultMessages: TableCellMessages;\n\n @State() focused = false;\n\n @State() selectionText = \"\";\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n private containerEl: HTMLTableCellElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n this.updateScreenReaderContentsText();\n this.updateScreenReaderSelectionText();\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n connectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n disconnectInteractive(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.containerEl.focus();\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private updateScreenReaderSelectionText(): void {\n const selectedText = `${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.selected} ${this.messages?.keyboardDeselect}`;\n const unselectedText = `${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.unselected} ${this.messages?.keyboardSelect}`;\n this.selectionText = this.parentRowIsSelected ? selectedText : unselectedText;\n }\n\n private updateScreenReaderContentsText = (): void => {\n this.contentsText = this.el.textContent;\n };\n\n private onContainerBlur = (): void => {\n this.focused = false;\n };\n\n private onContainerFocus = (): void => {\n this.focused = true;\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const dir = getElementDir(this.el);\n const staticCell =\n this.disabled ||\n (this.interactionMode === \"static\" &&\n (!this.selectionCell || (this.selectionCell && this.parentRowType === \"foot\")));\n\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <td\n aria-disabled={this.disabled}\n class={{\n [CSS.footerCell]: this.parentRowType === \"foot\",\n [CSS.contentCell]: !this.numberCell && !this.selectionCell,\n [CSS.numberCell]: this.numberCell,\n [CSS.selectionCell]: this.selectionCell,\n [CSS.selectedCell]: this.parentRowIsSelected,\n [CSS.lastCell]: this.lastCell && (!this.rowSpan || (this.colSpan && !!this.rowSpan)),\n [CSS_UTILITY.rtl]: dir === \"rtl\",\n [CSS.staticCell]: staticCell,\n [this.parentRowAlignment]:\n this.parentRowAlignment === \"start\" || this.parentRowAlignment === \"end\",\n }}\n colSpan={this.colSpan}\n onBlur={this.onContainerBlur}\n onFocus={this.onContainerFocus}\n ref={(el) => (this.containerEl = el)}\n role={this.interactionMode === \"interactive\" ? \"gridcell\" : \"cell\"}\n rowSpan={this.rowSpan}\n tabIndex={staticCell ? -1 : 0}\n >\n {(this.selectionCell || this.readCellContentsToAT) && (\n <span\n aria-hidden={true}\n aria-live={this.focused ? \"polite\" : \"off\"}\n class={CSS.assistiveText}\n >\n {this.selectionCell && this.selectionText}\n {this.readCellContentsToAT && !this.selectionCell && this.contentsText}\n </span>\n )}\n <slot onSlotchange={this.updateScreenReaderContentsText} />\n </td>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n","export const CSS = {\n contentCell: \"content-cell\",\n numberCell: \"number-cell\",\n selectionCell: \"selection-cell\",\n bodyRow: \"body-row\",\n footerRow: \"footer-row\",\n heading: \"heading\",\n description: \"description\",\n multipleSelectionCell: \"cell--multiple-selection\",\n assistiveText: \"assistive-text\",\n active: \"active\",\n selectedCell: \"selected-cell\",\n lastCell: \"last-cell\",\n staticCell: \"static-cell\",\n};\n\nexport const ICONS = {\n checked: \"check-square-f\",\n indeterminate: \"minus-square-f\",\n unchecked: \"square\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-table-header-background: Specifies the background color of the component.\n * @prop --calcite-table-header-border-color: Specifies the border color of the component.\n */\n\n:host {\n --calcite-internal-table-header-background: var(--calcite-table-header-background, var(--calcite-color-foreground-2));\n --calcite-internal-table-header-border-color: var(--calcite-table-border-color, var(--calcite-color-border-3));\n @apply contents;\n}\n\n:host([alignment=\"center\"]) th {\n @apply text-center;\n}\n\n:host([alignment=\"end\"]) th {\n @apply text-end;\n}\n\n.assistive-text {\n @apply sr-only;\n}\n\nth {\n @apply text-color-1 text-start font-medium whitespace-normal;\n font-size: var(--calcite-internal-table-cell-font-size);\n border-inline-end: 1px solid var(--calcite-internal-table-header-border-color);\n border-block-end: 1px solid var(--calcite-internal-table-header-border-color);\n padding-block: calc(var(--calcite-internal-table-cell-padding) * 1.5);\n padding-inline: var(--calcite-internal-table-cell-padding);\n background-color: var(--calcite-internal-table-header-background);\n\n &:not(.static-cell) {\n @apply focus-base;\n &:not(.static-cell):focus-within {\n @apply focus-inset;\n }\n }\n}\n\nth:not(.center):not(.end).content-cell {\n @apply align-top;\n}\n\nth.center {\n @apply align-middle;\n}\n\nth.end.content-cell {\n @apply align-bottom;\n}\n\nth.body-row,\nth.footer-row {\n padding-block: var(--calcite-internal-table-cell-padding);\n border-block-end: 0;\n}\n\nth.footer-row {\n border-block-start: 1px solid var(--calcite-internal-table-header-border-color);\n}\n\nth.last-cell {\n border-inline-end: 0;\n}\n\n.cell--multiple-selection {\n @apply cursor-pointer align-middle text-color-3;\n &:not(.end) {\n @apply align-middle;\n }\n}\n\n.selected-cell:not(.number-cell):not(.footer-cell) {\n --calcite-internal-table-header-background: var(--calcite-color-foreground-current);\n}\n\n.number-cell,\n.selection-cell {\n @apply text-color-2;\n inline-size: 2rem;\n min-inline-size: 2rem;\n}\n\n.selection-cell calcite-icon.active {\n color: var(--calcite-color-brand);\n}\n.number-cell calcite-icon,\n.selection-cell calcite-icon {\n @apply ms-auto me-auto align-middle;\n}\n\n.heading {\n @apply text-color-1;\n}\n\n.description {\n @apply text-color-3;\n font-size: var(--calcite-internal-table-cell-font-size-secondary);\n}\n","import { Component, Element, h, Host, Method, Prop, State, VNode, Watch } from \"@stencil/core\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { Alignment, Scale, SelectionMode } from \"../interfaces\";\nimport { RowType, TableInteractionMode } from \"../table/interfaces\";\nimport { getIconScale } from \"../../utils/component\";\nimport { TableHeaderMessages } from \"./assets/table-header/t9n\";\nimport { CSS, ICONS } from \"./resources\";\n\n@Component({\n tag: \"calcite-table-header\",\n styleUrl: \"table-header.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class TableHeader implements LocalizedComponent, LoadableComponent, T9nComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the alignment of the component. */\n @Prop({ reflect: true }) alignment: Alignment = \"start\";\n\n /** Specifies the number of columns the component should span. */\n @Prop({ reflect: true }) colSpan: number;\n\n /** A description to display beneath heading content. */\n @Prop({ reflect: true }) description: string;\n\n /** A heading to display above description content. */\n @Prop({ reflect: true }) heading: string;\n\n /** Specifies the number of rows the component should span. */\n @Prop({ reflect: true }) rowSpan: number;\n\n /** @internal */\n @Prop() interactionMode: TableInteractionMode = \"interactive\";\n\n /** @internal */\n @Prop() lastCell: boolean;\n\n /** @internal */\n @Prop() numberCell = false;\n\n /** @internal */\n @Prop() parentRowAlignment: Alignment = \"start\";\n\n /** @internal */\n @Prop() parentRowIsSelected: boolean;\n\n /** @internal */\n @Prop() parentRowType: RowType;\n\n /** @internal */\n @Prop() positionInRow: number;\n\n /** @internal */\n @Prop() scale: Scale;\n\n /** @internal */\n @Prop() selectedRowCount: number;\n\n /** @internal */\n @Prop() selectedRowCountLocalized: string;\n\n @Watch(\"selectedRowCount\")\n @Watch(\"selectedRowCountLocalized\")\n onSelectedChange(): void {\n this.updateScreenReaderText();\n }\n\n /** @internal */\n @Prop() selectionCell = false;\n\n /** @internal */\n @Prop() selectionMode: SelectionMode;\n\n /** @internal */\n @Prop() bodyRowCount: number;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: TableHeaderMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<TableHeaderMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n this.updateScreenReaderText();\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n @Element() el: HTMLCalciteTableHeaderElement;\n\n @State() defaultMessages: TableHeaderMessages;\n\n @State() focused = false;\n\n @State() screenReaderText = \"\";\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n private containerEl: HTMLTableCellElement;\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.containerEl.focus();\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private updateScreenReaderText(): void {\n let text = \"\";\n const sharedText = `${this.selectedRowCountLocalized} ${this.messages?.selected}`;\n if (this.numberCell) {\n text = this.messages?.rowNumber;\n } else if (this.selectionMode === \"single\") {\n text = `${this.messages?.selectionColumn}. ${sharedText}`;\n } else if (this.bodyRowCount === this.selectedRowCount) {\n text = `${this.messages?.selectionColumn}. ${this.messages?.all} ${sharedText} ${this.messages?.keyboardDeselectAll}`;\n } else {\n text = `${this.messages?.selectionColumn}. ${sharedText} ${this.messages?.keyboardSelectAll}`;\n }\n this.screenReaderText = text;\n }\n\n private onContainerBlur = (): void => {\n this.focused = false;\n };\n\n private onContainerFocus = (): void => {\n this.focused = true;\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const scope = this.rowSpan\n ? \"rowgroup\"\n : this.colSpan\n ? \"colgroup\"\n : this.parentRowType === \"body\"\n ? \"row\"\n : \"col\";\n\n const checked = this.selectedRowCount === this.bodyRowCount;\n const indeterminate = this.selectedRowCount > 0;\n const selectionIcon = checked\n ? ICONS.checked\n : indeterminate\n ? ICONS.indeterminate\n : ICONS.unchecked;\n\n const staticCell = this.interactionMode === \"static\" && !this.selectionCell;\n return (\n <Host>\n <th\n aria-colindex={this.parentRowType === \"head\" ? this.positionInRow : undefined}\n class={{\n [CSS.bodyRow]: this.parentRowType === \"body\",\n [CSS.footerRow]: this.parentRowType === \"foot\",\n [CSS.contentCell]: !this.numberCell && !this.selectionCell,\n [CSS.numberCell]: this.numberCell,\n [CSS.selectionCell]: this.selectionCell,\n [CSS.selectedCell]: this.parentRowIsSelected,\n [CSS.multipleSelectionCell]: this.selectionMode === \"multiple\",\n [CSS.staticCell]: staticCell,\n [CSS.lastCell]: this.lastCell && (!this.rowSpan || (this.colSpan && !!this.rowSpan)),\n [this.parentRowAlignment]:\n this.parentRowAlignment === \"center\" || this.parentRowAlignment === \"end\",\n }}\n colSpan={this.colSpan}\n onBlur={this.onContainerBlur}\n onFocus={this.onContainerFocus}\n ref={(el) => (this.containerEl = el)}\n role={this.parentRowType === \"head\" ? \"columnheader\" : \"rowheader\"}\n rowSpan={this.rowSpan}\n scope={scope}\n tabIndex={this.selectionCell ? 0 : staticCell ? -1 : 0}\n >\n {this.heading && <div class={CSS.heading}>{this.heading}</div>}\n {this.description && <div class={CSS.description}>{this.description}</div>}\n {this.selectionCell && this.selectionMode === \"multiple\" && (\n <calcite-icon\n class={{ [CSS.active]: indeterminate || checked }}\n icon={selectionIcon}\n scale={getIconScale(this.scale)}\n />\n )}\n {(this.selectionCell || this.numberCell) && (\n <span\n aria-hidden={true}\n aria-live={this.focused ? \"polite\" : \"off\"}\n class={CSS.assistiveText}\n >\n {this.scre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AAiB,YACvDM,QAASvD,KAAKuD,QACdsC,MAAOA,EACP7B,SAAUhE,KAAKR,cAAgB,EAAII,GAAc,EAAI,GAEpDI,KAAKqE,SAAWnB,EAAA,OAAAE,IAAA,2CAAKE,MAAOlE,EAAIiF,SAAUrE,KAAKqE,SAC/CrE,KAAKsE,aAAepB,EAAA,OAAAE,IAAA,2CAAKE,MAAOlE,EAAIkF,aAActE,KAAKsE,aACvDtE,KAAKR,eAAiBQ,KAAKqF,gBAAkB,YAC5CnC,EAAA,gBAAAE,IAAA,2CACEE,MAAO,CAAE,CAAClE,EAAIoF,QAASG,GAAiBD,GACxCuB,KAAMH,EACNI,MAAOC,EAAanG,KAAKkG,UAG3BlG,KAAKR,eAAiBQ,KAAKV,aAC3B4D,EAAA,QAAAE,IAAA,yDACe,KAAI,YACNpD,KAAKM,QAAU,SAAW,MACrCgD,MAAOlE,EAAIM,eAEVM,KAAK4F,mB","ignoreList":[]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{i as t}from"./p-3c4fe54e.js";function n(n,e,i){if(!t()){return undefined}const r=s(n);return new r(e,i)}function s(t){class n extends window.MutationObserver{constructor(t){super(t);this.observedEntry=[];this.callback=t}observe(t,n){this.observedEntry.push({target:t,options:n});return super.observe(t,n)}unobserve(t){const n=this.observedEntry.filter((n=>n.target!==t));this.observedEntry=[];this.callback(super.takeRecords(),this);this.disconnect();n.forEach((t=>this.observe(t.target,t.options)))}}return function(){return t==="intersection"?window.IntersectionObserver:t==="mutation"?n:window.ResizeObserver}()}export{n as c};
|
|
7
|
-
//# sourceMappingURL=p-9a2f96d2.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-6ff8e6fb.js";import"./p-e7104b8d.js";import"./p-d6a25fe2.js";import"./p-27ab49c7.js";import"./p-6f580f9d.js";import"./p-56bab01f.js";import"./p-8f8cbbc7.js";import"./p-3c4fe54e.js";import"./p-c473b37c.js";import"./p-64329e55.js";import"./p-cbed8c79.js";import"./p-5b45eef3.js";import"./p-29c291d1.js";import"./p-9a2f96d2.js";import"./p-a4ba2c4c.js";import"./p-d014effb.js";import"./p-769c1c82.js";import"./p-c60c7e01.js";import"./p-36ecadf9.js";import"./p-45d13552.js";var m={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function e(m){return m+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};e.locale(m,null,true);export{m as default};
|
|
7
|
-
//# sourceMappingURL=p-9c191250.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-6ff8e6fb.js";import"./p-e7104b8d.js";import"./p-d6a25fe2.js";import"./p-27ab49c7.js";import"./p-6f580f9d.js";import"./p-56bab01f.js";import"./p-8f8cbbc7.js";import"./p-3c4fe54e.js";import"./p-c473b37c.js";import"./p-64329e55.js";import"./p-cbed8c79.js";import"./p-5b45eef3.js";import"./p-29c291d1.js";import"./p-9a2f96d2.js";import"./p-a4ba2c4c.js";import"./p-d014effb.js";import"./p-769c1c82.js";import"./p-c60c7e01.js";import"./p-36ecadf9.js";import"./p-45d13552.js";var o={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function e(o){return o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(o,null,true);export{o as default};
|
|
7
|
-
//# sourceMappingURL=p-9f2a67d4.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.12.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,h as i,g as c,H as n}from"./p-e7104b8d.js";import{c as a}from"./p-9a2f96d2.js";import{c as o,d as r}from"./p-dcecb4a0.js";import{e as s,g as d,t as l,a as h}from"./p-27ab49c7.js";import{C as m}from"./p-56bab01f.js";import{g as p}from"./p-cbed8c79.js";import{s as g,a as f,c as b}from"./p-5b45eef3.js";import"./p-3c4fe54e.js";import"./p-6f580f9d.js";const v={accordion:"accordion",transparent:"accordion--transparent"};const u=":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";const x=u;const k=class{constructor(i){e(this,i);this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6);this.mutationObserver=a("mutation",(()=>this.updateAccordionItems()));this.appearance="solid";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true});this.updateAccordionItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const e=this.appearance==="transparent";return i("div",{key:"1399ab312fad432bde78fdedd0435848b53109ef",class:{[v.transparent]:e,[v.accordion]:!e}},i("slot",{key:"3ab7863d23eabb6c5ce499de42dab74df885ccdd"}))}updateActiveItemOnChange(e){this.calciteInternalAccordionChange.emit({requestedAccordionItem:e.detail.requestedAccordionItem});e.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((e=>{e.iconPosition=this.iconPosition;e.iconType=this.iconType;e.scale=this.scale}));document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return c(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};k.style=x;const y={actionsStart:"actions-start",actionsEnd:"actions-end"};const w={actionsEnd:"actions-end",actionsStart:"actions-start",content:"content",description:"description",expandIcon:"expand-icon",header:"header",headerContainer:"header-container",headerContent:"header-content",headerText:"header-text",heading:"heading",icon:"icon",iconEnd:"icon--end",iconStart:"icon--start"};const C={section:"section",sectionToggle:"section-toggle"};const I=".icon-position--end,.icon-position--start{--calcite-internal-accordion-item-icon-rotation:calc(90deg * -1);--calcite-internal-accordion-item-active-icon-rotation:0deg;--calcite-internal-accordion-item-icon-rotation-rtl:90deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:0deg}:host{position:relative;display:flex;flex-direction:column;text-decoration-line:none;color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));border-width:0}.icon-position--start{--calcite-internal-accordion-item-flex-direction:row-reverse;--calcite-internal-accordion-item-icon-spacing-start:0;--calcite-internal-accordion-item-icon-spacing-end:var(--calcite-internal-accordion-icon-margin)}.icon-position--end{--calcite-internal-accordion-item-flex-direction:row;--calcite-internal-accordion-item-icon-spacing-start:var(--calcite-internal-accordion-icon-margin);--calcite-internal-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-internal-accordion-item-icon-rotation:0deg;--calcite-internal-accordion-item-active-icon-rotation:180deg;--calcite-internal-accordion-item-icon-rotation-rtl:0deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}.content,.header{border-block-end-width:var(--calcite-border-width-sm);border-block-end-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2))}.header-content,.content{padding:var(--calcite-accordion-item-content-space, var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, 0.5rem 0.75rem)))}.header{display:flex;align-items:stretch}.header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.header-content{flex-grow:1;cursor:pointer;outline-color:transparent;flex-direction:var(--calcite-internal-accordion-item-flex-direction)}.header-content:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.header-content:focus,.header-content:hover,.header-content:active{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}.header-content:focus .expand-icon,.header-content:focus .heading,.header-content:hover .expand-icon,.header-content:hover .heading,.header-content:active .expand-icon,.header-content:active .heading{color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}.header-container{inline-size:100%}.header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}.heading,.description{display:flex;inline-size:100%}.heading{font-weight:var(--calcite-font-weight-medium)}.actions-start,.actions-end{display:flex;align-items:center}.icon{display:flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-end)}.icon--start{margin-inline-end:var(--calcite-internal-accordion-icon-margin)}.icon--end{margin-inline-end:var(--calcite-internal-accordion-icon-margin);margin-inline-start:var(--calcite-internal-accordion-icon-margin)}.expand-icon{color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-internal-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-icon-rotation-rtl))}.description{margin-block-start:0.25rem}.content{display:none;padding-block-start:0px;text-align:initial}:host(:not(:focus):not(:hover):not([expanded])) .heading{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]){color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}:host([expanded]) .header{border-block-end-color:transparent}:host([expanded]) .expand-icon{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2));transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation-rtl))}:host([expanded]) .description{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]) .content{display:block}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}.header-content:hover .heading,.header-content:focus .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";const A=I;const z=class{constructor(i){e(this,i);this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6);this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6);this.storeHeaderEl=e=>{this.headerEl=e};this.itemHeaderClickHandler=()=>this.emitRequestedItem();this.expanded=false;this.heading=undefined;this.description=undefined;this.iconStart=undefined;this.iconEnd=undefined;this.iconFlipRtl=undefined;this.iconPosition=undefined;this.iconType=undefined;this.accordionParent=undefined;this.scale=undefined}connectedCallback(){o(this)}componentWillLoad(){g(this)}componentDidLoad(){f(this)}disconnectedCallback(){r(this)}renderActionsStart(){const{el:e}=this;return s(e,y.actionsStart)?i("div",{class:w.actionsStart},i("slot",{name:y.actionsStart})):null}renderActionsEnd(){const{el:e}=this;return s(e,y.actionsEnd)?i("div",{class:w.actionsEnd},i("slot",{name:y.actionsEnd})):null}render(){const{iconFlipRtl:e}=this;const t=d(this.el);const c=this.iconStart?i("calcite-icon",{class:{[w.icon]:true,[w.iconStart]:true},flipRtl:e==="both"||e==="start",icon:this.iconStart,key:"icon-start",scale:p(this.scale)}):null;const a=this.iconEnd?i("calcite-icon",{class:{[w.iconEnd]:true,[w.icon]:true},flipRtl:e==="both"||e==="end",icon:this.iconEnd,key:"icon-end",scale:p(this.scale)}):null;const{description:o}=this;return i(n,{key:"814d4825cae2104f75b2f9929536082846cf57bd"},i("div",{key:"2db2128ea0666b97849c6dae790540f233c9d0c1",class:{[`icon-position--${this.iconPosition}`]:true,[`icon-type--${this.iconType}`]:true}},i("div",{key:"64fe888d6f47db3f9338327280b3e321bb770518",class:{[w.header]:true,[m.rtl]:t==="rtl"}},this.renderActionsStart(),i("div",{key:"9b76d09efa231d1840c913245832a10bedd8ea4b","aria-controls":C.section,"aria-expanded":l(this.expanded),class:w.headerContent,id:C.sectionToggle,onClick:this.itemHeaderClickHandler,ref:this.storeHeaderEl,role:"button",tabindex:"0"},i("div",{key:"59c73bc01a0321f23b296b12fa4bd9476084ce4b",class:w.headerContainer},c,i("div",{key:"c9d3551a823a31d4cc54934f780272e437f38ef1",class:w.headerText},i("span",{key:"350ea0660f827ced975b326287dc285ad1417b4c",class:w.heading},this.heading),o?i("span",{class:w.description},o):null),a),i("calcite-icon",{key:"497edd46ef65a4ac27a844f7c6c5de5cfb2cb0e7",class:w.expandIcon,icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded?"minus":"plus",scale:p(this.scale)})),this.renderActionsEnd()),i("section",{key:"1b7cd480d664d6b3f65c145e19c5866107d19413","aria-labelledby":C.sectionToggle,class:w.content,id:C.section},i("slot",{key:"1156f3056966f11ee0836a5185cce700911c8c8b"}))))}keyDownHandler(e){if(e.target===this.el){switch(e.key){case" ":case"Enter":this.emitRequestedItem();e.preventDefault();break}}}updateActiveItemOnChange(e){const[t]=e.composedPath();const i=h(this.el,"calcite-accordion");if(t!==i){return}this.determineActiveItem(i.selectionMode,e.detail.requestedAccordionItem);e.stopPropagation()}accordionItemSyncHandler(e){const[t]=e.composedPath();const i=this.el;const c=i.parentElement===t;if(c){return}const n=h(i,"calcite-accordion");if(t!==n){return}i.iconPosition=n.iconPosition;i.iconType=n.iconType;i.scale=n.scale;e.stopPropagation()}async setFocus(){await b(this);this.headerEl.focus()}determineActiveItem(e,t){switch(e){case"multiple":if(this.el===t){this.expanded=!this.expanded}break;case"single":this.expanded=this.el===t?!this.expanded:false;break;case"single-persist":this.expanded=this.el===t;break}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return c(this)}};z.style=A;export{k as calcite_accordion,z as calcite_accordion_item};
|
|
7
|
-
//# sourceMappingURL=p-a02ae7a8.entry.js.map
|