@esri/calcite-components 1.4.3-next.7 → 1.4.3
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 +2 -2
- package/dist/calcite/{p-17348ec0.entry.js → p-052c51f9.entry.js} +2 -2
- package/dist/calcite/p-0684db12.entry.js +6 -0
- package/dist/calcite/{p-7d032023.entry.js → p-07623c25.entry.js} +2 -2
- package/dist/calcite/{p-8fa8a642.js → p-081b0517.js} +2 -2
- package/dist/calcite/p-08557200.js +6 -0
- package/dist/calcite/p-0ea01a0f.js +6 -0
- package/dist/calcite/{p-3c050037.entry.js → p-0ec0cfc7.entry.js} +2 -2
- package/dist/calcite/p-13b1920b.entry.js +6 -0
- package/dist/calcite/{p-39680fff.js → p-1e20e719.js} +2 -2
- package/dist/calcite/{p-3c3596b9.js → p-208f7f0b.js} +1 -1
- package/dist/calcite/p-21ecbfa2.entry.js +6 -0
- package/dist/calcite/p-24d4ce7f.entry.js +6 -0
- package/dist/calcite/{p-6c049640.js → p-26422952.js} +1 -1
- package/dist/calcite/p-26e5c79b.entry.js +6 -0
- package/dist/calcite/p-2755f893.js +6 -0
- package/dist/calcite/{p-bcf1719f.entry.js → p-2886ee84.entry.js} +2 -2
- package/dist/calcite/{p-cc623131.entry.js → p-28999734.entry.js} +2 -2
- package/dist/calcite/p-28ed67d4.entry.js +6 -0
- package/dist/calcite/{p-430a25b0.entry.js → p-2a1a5616.entry.js} +2 -2
- package/dist/calcite/{p-2ba4fa9c.js → p-2b22e428.js} +1 -1
- package/dist/calcite/{p-9b7b6442.entry.js → p-314985d6.entry.js} +2 -2
- package/dist/calcite/p-318c422d.entry.js +6 -0
- package/dist/calcite/p-31ad8743.js +6 -0
- package/dist/calcite/p-37665de4.js +6 -0
- package/dist/calcite/{p-68825dc6.entry.js → p-39d18799.entry.js} +2 -2
- package/dist/calcite/p-39f67c8b.entry.js +6 -0
- package/dist/calcite/{p-ebf912dd.js → p-3a2ec21d.js} +2 -2
- package/dist/calcite/p-3b5b35de.js +6 -0
- package/dist/calcite/p-3dfdde05.entry.js +6 -0
- package/dist/calcite/p-3dff92fc.js +6 -0
- package/dist/calcite/{p-c55322a0.js → p-4024b5c5.js} +1 -1
- package/dist/calcite/p-4083e2e9.entry.js +6 -0
- package/dist/calcite/{p-0e37f09a.js → p-40a2e36c.js} +2 -2
- package/dist/calcite/{p-9f414f46.js → p-48945447.js} +1 -1
- package/dist/calcite/{p-7b90630c.entry.js → p-4adc809e.entry.js} +2 -2
- package/dist/calcite/p-4bac6430.js +6 -0
- package/dist/calcite/p-4d0d2cdf.entry.js +6 -0
- package/dist/calcite/{p-03ab0214.js → p-4d8ccd5b.js} +1 -1
- package/dist/calcite/{p-b04ec54f.entry.js → p-4ec83993.entry.js} +2 -2
- package/dist/calcite/p-4f3f0dd4.js +6 -0
- package/dist/calcite/p-503c34b5.js +6 -0
- package/dist/calcite/p-51cb7c7d.entry.js +6 -0
- package/dist/calcite/p-5242b2f7.js +6 -0
- package/dist/calcite/p-52613b18.js +6 -0
- package/dist/calcite/{p-4b3dacb6.js → p-5348c028.js} +1 -1
- package/dist/calcite/p-546a9617.entry.js +6 -0
- package/dist/calcite/{p-12104383.js → p-55726a3e.js} +2 -2
- package/dist/calcite/{p-c1b9f68d.entry.js → p-5598938a.entry.js} +2 -2
- package/dist/calcite/p-5a453c1a.js +6 -0
- package/dist/calcite/p-5e84e816.js +6 -0
- package/dist/calcite/p-602a0049.js +6 -0
- package/dist/calcite/{p-e6c06128.entry.js → p-62c50118.entry.js} +2 -2
- package/dist/calcite/p-63f81b2b.js +6 -0
- package/dist/calcite/p-6654c431.js +6 -0
- package/dist/calcite/p-66aac836.entry.js +6 -0
- package/dist/calcite/p-67d4d30b.js +6 -0
- package/dist/calcite/p-68e200fb.js +6 -0
- package/dist/calcite/p-691ed379.js +6 -0
- package/dist/calcite/p-6bad886c.js +6 -0
- package/dist/calcite/p-6d65ac3b.js +6 -0
- package/dist/calcite/{p-d54afa8a.entry.js → p-7012d32b.entry.js} +2 -2
- package/dist/calcite/p-712f49ea.entry.js +6 -0
- package/dist/calcite/p-714bc82d.entry.js +6 -0
- package/dist/calcite/{p-2fee4787.js → p-72f0eeb4.js} +1 -1
- package/dist/calcite/p-749ebcc3.js +6 -0
- package/dist/calcite/{p-4ae80278.js → p-7629aca4.js} +1 -1
- package/dist/calcite/p-775ae5fa.js +6 -0
- package/dist/calcite/p-7afe3041.entry.js +6 -0
- package/dist/calcite/p-7d63f432.js +6 -0
- package/dist/calcite/p-7d711611.js +6 -0
- package/dist/calcite/{p-ef6be552.js → p-7e6ce0f0.js} +1 -1
- package/dist/calcite/p-7f6aad7e.entry.js +6 -0
- package/dist/calcite/{p-0d7c7821.js → p-8116888e.js} +1 -1
- package/dist/calcite/p-834ab0b8.entry.js +6 -0
- package/dist/calcite/p-839ca42a.entry.js +6 -0
- package/dist/calcite/p-84e766b2.js +6 -0
- package/dist/calcite/{p-d44138c6.entry.js → p-84f342b4.entry.js} +2 -2
- package/dist/calcite/p-851b7b93.entry.js +6 -0
- package/dist/calcite/p-87576e35.js +6 -0
- package/dist/calcite/{p-3b40653a.entry.js → p-881748fa.entry.js} +2 -2
- package/dist/calcite/{p-26057f12.js → p-8c2b9f8b.js} +2 -2
- package/dist/calcite/{p-6036b5bd.js → p-8c54cbbf.js} +1 -1
- package/dist/calcite/p-8c5e63ab.entry.js +6 -0
- package/dist/calcite/p-8e9dcf57.entry.js +6 -0
- package/dist/calcite/{p-736db286.entry.js → p-902b6c90.entry.js} +2 -2
- package/dist/calcite/p-9309a244.js +6 -0
- package/dist/calcite/p-97dcccca.js +6 -0
- package/dist/calcite/p-97e0155e.entry.js +6 -0
- package/dist/calcite/p-99cc35a6.js +6 -0
- package/dist/calcite/p-9e5480d2.js +6 -0
- package/dist/calcite/p-a003eeee.js +6 -0
- package/dist/calcite/p-a0946e35.js +6 -0
- package/dist/calcite/p-a0c96a83.entry.js +6 -0
- package/dist/calcite/p-a10e4498.js +6 -0
- package/dist/calcite/p-a19669a4.js +6 -0
- package/dist/calcite/{p-187b10f2.js → p-a1c0b394.js} +2 -2
- package/dist/calcite/p-a2adb765.entry.js +6 -0
- package/dist/calcite/p-a3370020.entry.js +6 -0
- package/dist/calcite/{p-cbc3af88.entry.js → p-a7b4d822.entry.js} +2 -2
- package/dist/calcite/{p-c90c553b.entry.js → p-aaf20297.entry.js} +2 -2
- package/dist/calcite/p-b02e42c1.js +6 -0
- package/dist/calcite/{p-547dbba8.entry.js → p-b0fd3690.entry.js} +2 -2
- package/dist/calcite/{p-222cdeca.js → p-b57e36ac.js} +2 -2
- package/dist/calcite/{p-d036ace0.js → p-b62591dc.js} +2 -2
- package/dist/calcite/p-b7e255e1.js +6 -0
- package/dist/calcite/p-bb99cc9c.js +6 -0
- package/dist/calcite/p-bf6a6726.js +6 -0
- package/dist/calcite/{p-bbb92dda.js → p-c10667e6.js} +2 -2
- package/dist/calcite/p-c1eeeb3b.entry.js +6 -0
- package/dist/calcite/{p-432cadb6.entry.js → p-c4360cd4.entry.js} +2 -2
- package/dist/calcite/p-c928be74.js +6 -0
- package/dist/calcite/{p-1f59a103.js → p-ccbe1a1b.js} +1 -1
- package/dist/calcite/{p-70607f97.js → p-ce0bc9fd.js} +2 -2
- package/dist/calcite/{p-1d660b35.js → p-ce8ac2dc.js} +1 -1
- package/dist/calcite/{p-14915f38.js → p-d06db101.js} +1 -1
- package/dist/calcite/p-d0e41161.js +6 -0
- package/dist/calcite/p-d3c8e393.entry.js +6 -0
- package/dist/calcite/{p-fe7bc50c.js → p-d592fdf5.js} +2 -2
- package/dist/calcite/p-d6088aed.entry.js +6 -0
- package/dist/calcite/p-d702aed1.entry.js +6 -0
- package/dist/calcite/p-d7ee981c.entry.js +6 -0
- package/dist/calcite/p-da9f78a5.entry.js +6 -0
- package/dist/calcite/p-db79f87b.js +6 -0
- package/dist/calcite/p-dc142586.entry.js +6 -0
- package/dist/calcite/{p-91d7e816.js → p-dd47edb1.js} +2 -2
- package/dist/calcite/p-ddafe5fe.js +6 -0
- package/dist/calcite/p-defde598.js +6 -0
- package/dist/calcite/p-e02d6721.entry.js +6 -0
- package/dist/calcite/p-e1aaad51.js +6 -0
- package/dist/calcite/p-e2c0adcc.js +6 -0
- package/dist/calcite/p-e2ee96b8.js +6 -0
- package/dist/calcite/p-e61b9dc3.entry.js +6 -0
- package/dist/calcite/p-e7d93946.entry.js +6 -0
- package/dist/calcite/p-ea6498d1.js +6 -0
- package/dist/calcite/p-eb53e738.js +6 -0
- package/dist/calcite/p-ec8d52c9.entry.js +6 -0
- package/dist/calcite/p-ee270696.js +6 -0
- package/dist/calcite/p-eedddd6e.entry.js +6 -0
- package/dist/calcite/p-f246bb02.entry.js +6 -0
- package/dist/calcite/p-f3720d94.entry.js +6 -0
- package/dist/calcite/{p-ff4dacd9.js → p-f3c9518d.js} +2 -2
- package/dist/calcite/p-f41381a4.js +6 -0
- package/dist/calcite/p-f4926b9b.js +6 -0
- package/dist/calcite/p-f58763f1.js +6 -0
- package/dist/calcite/{p-569549e5.js → p-f811ed39.js} +2 -2
- package/dist/calcite/p-f9c77aa6.entry.js +6 -0
- package/dist/calcite/{p-c9f6f2ed.entry.js → p-faa811f5.entry.js} +2 -2
- package/dist/calcite/{p-2e117d07.entry.js → p-fbc32f37.entry.js} +2 -2
- package/dist/calcite/p-fd1056b7.js +6 -0
- package/dist/calcite/p-ff020f81.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-56f9436a.js → ExpandToggle-cb8c60f0.js} +5 -5
- package/dist/cjs/{FloatingArrow-73ac1fb8.js → FloatingArrow-41cefb55.js} +2 -2
- package/dist/cjs/{Heading-3a082dfd.js → Heading-e7a36ba7.js} +2 -2
- package/dist/cjs/{app-globals-19bbb624.js → app-globals-4484c30e.js} +2 -2
- package/dist/cjs/{ar-194f70ed.js → ar-22d61aa3.js} +16 -15
- package/dist/cjs/{array-c411ac89.js → array-9665e9a5.js} +1 -1
- package/dist/cjs/{bg-6c0924fb.js → bg-c081591c.js} +16 -15
- package/dist/cjs/browser-d9861345.js +19 -0
- package/dist/cjs/{bs-899125ef.js → bs-769df396.js} +16 -15
- package/dist/cjs/{ca-9a3cfb92.js → ca-07f64671.js} +16 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +14 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +24 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -12
- package/dist/cjs/calcite-button.cjs.entry.js +16 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +11 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +20 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +14 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +16 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +15 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +15 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-5d9de250.js → calcite-input-time-picker.calcite-time-picker-fe20b99c.js} +62 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-input.cjs.entry.js +17 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +14 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +26 -21
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +17 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +57 -27
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +44 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +11 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +14 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +11 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -48
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-37287c1a.js → composed-offset-position.esm-2b28a9f7.js} +1 -1
- package/dist/cjs/{conditionalSlot-bf4e538f.js → conditionalSlot-ffccbbe9.js} +3 -3
- package/dist/cjs/{cs-44fa6349.js → cs-8abb3239.js} +16 -15
- package/dist/cjs/{da-a70d46f6.js → da-f36fefa1.js} +16 -15
- package/dist/cjs/{de-49c6a57e.js → de-9fcb4aa3.js} +16 -15
- package/dist/cjs/{de-at-99da380d.js → de-at-efcf1437.js} +16 -15
- package/dist/cjs/{de-ch-779c08f7.js → de-ch-671e1b63.js} +16 -15
- package/dist/cjs/{debounce-53566d1d.js → debounce-889a17f8.js} +1 -1
- package/dist/cjs/{dom-04ff81e4.js → dom-5405b0f8.js} +3 -3
- package/dist/cjs/{el-5fa3eba3.js → el-031ea42f.js} +16 -15
- package/dist/cjs/{en-au-1b957ac5.js → en-au-6b6a2a13.js} +16 -15
- package/dist/cjs/{en-ca-5caa68a6.js → en-ca-981265c1.js} +16 -15
- package/dist/cjs/{en-gb-a74da97c.js → en-gb-dcde8715.js} +16 -15
- package/dist/cjs/{es-34ed55ea.js → es-aa2a38b0.js} +16 -15
- package/dist/cjs/{es-mx-9daf3619.js → es-mx-20df7f73.js} +16 -15
- package/dist/cjs/{et-e8a4bd6c.js → et-1ea2b358.js} +16 -15
- package/dist/cjs/{fi-a4f492c2.js → fi-854ae579.js} +16 -15
- package/dist/cjs/{filter-977c5948.js → filter-ced27caa.js} +2 -2
- package/dist/cjs/{floating-ui-b2db293e.js → floating-ui-9b960c20.js} +230 -181
- package/dist/cjs/{focusTrapComponent-31489187.js → focusTrapComponent-6873f82e.js} +2 -2
- package/dist/cjs/{form-9b6b12a1.js → form-c40b9f7f.js} +3 -3
- package/dist/cjs/{fr-770858d6.js → fr-85f1fc07.js} +16 -15
- package/dist/cjs/{fr-ch-f8426a05.js → fr-ch-5708ba2a.js} +16 -15
- package/dist/cjs/{guid-e7594870.js → guid-e87cbbe2.js} +1 -1
- package/dist/cjs/{he-e2976927.js → he-717ffebf.js} +16 -15
- package/dist/cjs/{hi-6c02b6fc.js → hi-4f198dff.js} +16 -15
- package/dist/cjs/{hr-e26ff232.js → hr-c8d8831d.js} +16 -15
- package/dist/cjs/{hu-2d2113bf.js → hu-d621df91.js} +16 -15
- package/dist/cjs/{id-1d6021e0.js → id-c572ec8b.js} +16 -15
- package/dist/cjs/{index-4ad11cb5.js → index-807aa4d9.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/interactive-a7fd5309.js +142 -0
- package/dist/cjs/{it-174fb6ce.js → it-27ac078b.js} +16 -15
- package/dist/cjs/{it-ch-9fee82e3.js → it-ch-dbeb044b.js} +16 -15
- package/dist/cjs/{ja-0b6c3d0d.js → ja-ae4af5cd.js} +16 -15
- package/dist/cjs/{key-458d188a.js → key-04e37b19.js} +1 -1
- package/dist/cjs/{ko-c988070e.js → ko-a9892eca.js} +16 -15
- package/dist/cjs/{label-09b7687e.js → label-8657cbdb.js} +2 -2
- package/dist/cjs/{loadable-8196e92b.js → loadable-f33f394c.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-75adc6ea.js → locale-c578a31e.js} +4 -4
- package/dist/cjs/{lt-24bcb569.js → lt-28318f75.js} +16 -15
- package/dist/cjs/{lv-baec00ac.js → lv-76095a27.js} +16 -15
- package/dist/cjs/{math-f9388df8.js → math-6c387b34.js} +1 -1
- package/dist/cjs/{mk-01dad9f4.js → mk-4c781e5f.js} +16 -15
- package/dist/cjs/{nb-958bf8d9.js → nb-10685216.js} +16 -15
- package/dist/cjs/{nl-110521b3.js → nl-84319cac.js} +16 -15
- package/dist/cjs/{observers-3e06217a.js → observers-987123ec.js} +1 -1
- package/dist/cjs/{openCloseComponent-d21672e7.js → openCloseComponent-65da58f8.js} +2 -2
- package/dist/cjs/{pl-ea2d6e81.js → pl-22176a08.js} +16 -15
- package/dist/cjs/{pt-b0d0470b.js → pt-012d168c.js} +16 -15
- package/dist/cjs/{pt-br-2de5d2c3.js → pt-br-890202bb.js} +16 -15
- package/dist/cjs/{resources-75b8aac4.js → resources-3fdf39dc.js} +1 -1
- package/dist/cjs/{resources-852a5ad6.js → resources-5490d59b.js} +1 -1
- package/dist/cjs/{resources-17649e7a.js → resources-6522e85c.js} +1 -1
- package/dist/cjs/{resources-3017a577.js → resources-8cf3e27f.js} +1 -1
- package/dist/cjs/{resources-58a95257.js → resources-c78d2369.js} +1 -1
- package/dist/cjs/{resources-4605c053.js → resources-cae871b6.js} +5 -5
- package/dist/cjs/{ro-797ff119.js → ro-6a2522f0.js} +16 -15
- package/dist/cjs/{ru-78e0abe2.js → ru-f5390d83.js} +16 -15
- package/dist/cjs/{sk-99d9bec4.js → sk-713564ae.js} +16 -15
- package/dist/cjs/{sl-6bb5d9bc.js → sl-51fd6a1d.js} +16 -15
- package/dist/cjs/{sortableComponent-a4cb4878.js → sortableComponent-91083ec9.js} +2 -2
- package/dist/cjs/{sr-75e6f31f.js → sr-9af04d18.js} +16 -15
- package/dist/cjs/{sv-1b65a607.js → sv-13dc92d8.js} +16 -15
- package/dist/cjs/{t9n-72ab6cef.js → t9n-2df2bcc8.js} +3 -3
- package/dist/cjs/{th-343087f4.js → th-380ea2b8.js} +16 -15
- package/dist/cjs/{throttle-87665875.js → throttle-6615e004.js} +2 -2
- package/dist/cjs/{tr-9d06ac75.js → tr-0285be12.js} +16 -15
- package/dist/cjs/{uk-612c6532.js → uk-8c0db38e.js} +16 -15
- package/dist/cjs/{utils-c5d99b50.js → utils-0531d32d.js} +1 -1
- package/dist/cjs/{utils-a3c966c6.js → utils-b246a910.js} +3 -3
- package/dist/cjs/{vi-426f9ebf.js → vi-bdebc44a.js} +16 -15
- package/dist/cjs/{zh-cn-45a3bade.js → zh-cn-5df873e7.js} +16 -15
- package/dist/cjs/{zh-hk-fdecd7b1.js → zh-hk-4c539f6b.js} +16 -15
- package/dist/cjs/{zh-tw-f7e9ec65.js → zh-tw-6e2dd4df.js} +16 -15
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +4 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +20 -3
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +4 -2
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +4 -2
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +4 -2
- package/dist/collection/components/chip/chip.js +4 -2
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +4 -2
- package/dist/collection/components/color-picker/color-picker.js +4 -2
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +4 -2
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +4 -2
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +8 -2
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +5 -3
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +8 -2
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +4 -2
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +4 -2
- 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/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +4 -2
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +5 -3
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +4 -2
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +5 -3
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +4 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +4 -2
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +8 -2
- package/dist/collection/components/list/list.js +7 -7
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +6 -6
- 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.js +6 -2
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- 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/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +4 -2
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +4 -2
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +4 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +53 -20
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +4 -2
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +6 -1
- package/dist/collection/components/scrim/scrim.js +34 -3
- package/dist/collection/components/segmented-control/segmented-control.js +4 -2
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- 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.js +4 -2
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +4 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +4 -2
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +8 -2
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +4 -2
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +4 -2
- package/dist/collection/components/tabs/resources.js +1 -1
- 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.js +4 -2
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +4 -2
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -2
- package/dist/collection/components/tile-select-group/tile-select-group.js +8 -2
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +3 -2
- package/dist/collection/components/tree-item/tree-item.js +7 -41
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +4 -2
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +4 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +14 -0
- 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 +121 -118
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +78 -9
- 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/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/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 +2 -2
- package/dist/components/FloatingArrow.js +2 -2
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +5 -3
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/bg.js +1 -1
- package/dist/components/browser.js +16 -0
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +5 -3
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +4 -4
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +15 -4
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +5 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +5 -3
- 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 +5 -3
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +5 -3
- package/dist/components/calcite-combobox.js +6 -4
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +9 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +5 -3
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +5 -3
- package/dist/components/calcite-input-date-picker.js +5 -3
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +5 -3
- package/dist/components/calcite-input-time-picker.js +5 -3
- 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 +7 -3
- package/dist/components/calcite-list-item.js +7 -7
- package/dist/components/calcite-list.js +8 -8
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +2 -2
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +5 -3
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +49 -20
- package/dist/components/calcite-rating.js +5 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control.js +5 -3
- package/dist/components/calcite-select.js +5 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +5 -3
- package/dist/components/calcite-sortable-list.js +5 -3
- package/dist/components/calcite-split-button.js +9 -3
- package/dist/components/calcite-stack.js +2 -2
- package/dist/components/calcite-stepper-item.js +5 -3
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +5 -3
- package/dist/components/calcite-tile-select-group.js +9 -3
- package/dist/components/calcite-tile-select.js +5 -3
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +9 -43
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +5 -3
- package/dist/components/calcite-value-list.js +5 -3
- package/dist/components/checkbox.js +5 -3
- package/dist/components/chip.js +5 -3
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +2 -2
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +9 -3
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +2 -2
- 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 +6 -4
- 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 +5 -3
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +228 -179
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +2 -2
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- 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 +2 -2
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +2 -101
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +6 -4
- package/dist/components/input.js +6 -4
- package/dist/components/interactive.js +80 -10
- 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 +2 -2
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +9 -3
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.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 +2 -2
- 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 +2 -2
- package/dist/components/openCloseComponent.js +2 -2
- package/dist/components/panel.js +5 -3
- package/dist/components/pick-list-item.js +5 -3
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.js +2 -2
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +39 -3
- package/dist/components/shared-list-render.js +2 -2
- 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/sv.js +1 -1
- package/dist/components/switch.js +5 -3
- package/dist/components/t9n.js +2 -2
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +5 -3
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +5 -3
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +2 -2
- 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 +3 -3
- package/dist/components/utils3.js +2 -2
- 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-025f0a38.js → ExpandToggle-7061277b.js} +5 -5
- package/dist/esm/{FloatingArrow-22536c42.js → FloatingArrow-024dce3b.js} +2 -2
- package/dist/esm/{Heading-07e212f4.js → Heading-ce737456.js} +2 -2
- package/dist/esm/{app-globals-63850940.js → app-globals-84d3af7e.js} +2 -2
- package/dist/esm/{ar-70d9322c.js → ar-cd89a08b.js} +16 -15
- package/dist/esm/{array-592cbeb6.js → array-8048effa.js} +1 -1
- package/dist/esm/{bg-385b7e89.js → bg-b07540ec.js} +16 -15
- package/dist/esm/browser-99bc62cf.js +16 -0
- package/dist/esm/{bs-f6997c76.js → bs-66c5be6b.js} +16 -15
- package/dist/esm/{ca-445d2fa3.js → ca-cf164aa9.js} +16 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +14 -11
- package/dist/esm/calcite-alert.entry.js +24 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -12
- package/dist/esm/calcite-button.entry.js +16 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +13 -10
- package/dist/esm/calcite-chip-group.entry.js +11 -8
- package/dist/esm/calcite-chip.entry.js +15 -12
- package/dist/esm/calcite-color-picker_3.entry.js +18 -15
- package/dist/esm/calcite-combobox_3.entry.js +23 -18
- package/dist/esm/calcite-date-picker_4.entry.js +20 -13
- package/dist/esm/calcite-dropdown_3.entry.js +16 -13
- package/dist/esm/calcite-fab.entry.js +14 -7
- package/dist/esm/calcite-filter.entry.js +16 -13
- package/dist/esm/calcite-flow-item.entry.js +15 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +16 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +15 -12
- package/dist/esm/calcite-input-date-picker.entry.js +21 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -14
- package/dist/esm/calcite-input-text.entry.js +16 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-89661b79.js → calcite-input-time-picker.calcite-time-picker-330adb65.js} +62 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -15
- package/dist/esm/calcite-input.entry.js +17 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +14 -7
- package/dist/esm/calcite-list_3.entry.js +26 -21
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +13 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +17 -14
- package/dist/esm/calcite-pick-list_3.entry.js +21 -16
- package/dist/esm/calcite-popover.entry.js +17 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +57 -27
- package/dist/esm/calcite-rating.entry.js +16 -13
- package/dist/esm/calcite-scrim.entry.js +44 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +11 -8
- package/dist/esm/calcite-split-button.entry.js +11 -4
- package/dist/esm/calcite-stack.entry.js +5 -5
- package/dist/esm/calcite-stepper_2.entry.js +13 -10
- package/dist/esm/calcite-switch.entry.js +13 -10
- package/dist/esm/calcite-tab_4.entry.js +13 -10
- package/dist/esm/calcite-text-area.entry.js +18 -15
- package/dist/esm/calcite-tile-select_2.entry.js +14 -5
- package/dist/esm/calcite-tile.entry.js +11 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +10 -9
- package/dist/esm/calcite-tree_2.entry.js +15 -48
- package/dist/esm/calcite-value-list_2.entry.js +21 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-2fce547a.js → composed-offset-position.esm-4bae6a0b.js} +1 -1
- package/dist/esm/{conditionalSlot-6c1d9ae2.js → conditionalSlot-946fb911.js} +3 -3
- package/dist/esm/{cs-53c3da2b.js → cs-cb6b9b4c.js} +16 -15
- package/dist/esm/{da-a7bafe3b.js → da-09d8dc37.js} +16 -15
- package/dist/esm/{de-5221c414.js → de-620dcd38.js} +16 -15
- package/dist/esm/{de-at-7dc9e1fd.js → de-at-88e61936.js} +16 -15
- package/dist/esm/{de-ch-3df19ae5.js → de-ch-b322ba6f.js} +16 -15
- package/dist/esm/{debounce-b6ee9741.js → debounce-0950a9b8.js} +1 -1
- package/dist/esm/{dom-ded2c412.js → dom-1fb94ff6.js} +3 -3
- package/dist/esm/{el-66ada9be.js → el-ca0ae579.js} +16 -15
- package/dist/esm/{en-au-2aaa31d9.js → en-au-3e39450b.js} +16 -15
- package/dist/esm/{en-ca-05f02c0c.js → en-ca-d2d254f6.js} +16 -15
- package/dist/esm/{en-gb-e3f7f8bf.js → en-gb-37db0b19.js} +16 -15
- package/dist/esm/{es-cd9ea5ea.js → es-34803e87.js} +16 -15
- package/dist/esm/{es-mx-9186a933.js → es-mx-4e9df2f8.js} +16 -15
- package/dist/esm/{et-63a6eb05.js → et-34f427f0.js} +16 -15
- package/dist/esm/{fi-760a2168.js → fi-e75878c6.js} +16 -15
- package/dist/esm/{filter-ebf8fc85.js → filter-ab0b5f70.js} +2 -2
- package/dist/esm/{floating-ui-4d7b13ab.js → floating-ui-8d547175.js} +230 -181
- package/dist/esm/{focusTrapComponent-b44b39c7.js → focusTrapComponent-07adcb3f.js} +2 -2
- package/dist/esm/{form-4bc12471.js → form-d7359efe.js} +3 -3
- package/dist/esm/{fr-1bc19c8d.js → fr-a2ef012f.js} +16 -15
- package/dist/esm/{fr-ch-da482e53.js → fr-ch-c925e0fc.js} +16 -15
- package/dist/esm/{guid-f6471622.js → guid-7136974b.js} +1 -1
- package/dist/esm/{he-64963d6a.js → he-ecd2de85.js} +16 -15
- package/dist/esm/{hi-08c3c766.js → hi-d498b386.js} +16 -15
- package/dist/esm/{hr-dd501e8a.js → hr-f47f3bfb.js} +16 -15
- package/dist/esm/{hu-46f165bc.js → hu-f5df34ea.js} +16 -15
- package/dist/esm/{id-5f0d7287.js → id-ba8a65d4.js} +16 -15
- package/dist/esm/{index-7c949857.js → index-c7e05e63.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/interactive-0eb13600.js +138 -0
- package/dist/esm/{it-79cc12d5.js → it-af385f0f.js} +16 -15
- package/dist/esm/{it-ch-39fa3f0f.js → it-ch-89f9d6ef.js} +16 -15
- package/dist/esm/{ja-2028ebb2.js → ja-022204d5.js} +16 -15
- package/dist/esm/{key-24b39791.js → key-8ff0d101.js} +1 -1
- package/dist/esm/{ko-2a61466e.js → ko-f523749f.js} +16 -15
- package/dist/esm/{label-db821ffc.js → label-9d2eb334.js} +2 -2
- package/dist/esm/{loadable-23c0edb3.js → loadable-8058e300.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-741d5820.js → locale-a35648cd.js} +4 -4
- package/dist/esm/{lt-0f340b88.js → lt-ecc23d93.js} +16 -15
- package/dist/esm/{lv-ea6e4ee7.js → lv-a7131d8f.js} +16 -15
- package/dist/esm/{math-e1177cd2.js → math-584fc665.js} +1 -1
- package/dist/esm/{mk-b02a0a07.js → mk-07764f54.js} +16 -15
- package/dist/esm/{nb-db176347.js → nb-0f35c9cc.js} +16 -15
- package/dist/esm/{nl-7e1306de.js → nl-77449834.js} +16 -15
- package/dist/esm/{observers-6b03b332.js → observers-95e97fae.js} +1 -1
- package/dist/esm/{openCloseComponent-31fddb99.js → openCloseComponent-21d2a6ab.js} +2 -2
- package/dist/esm/{pl-a9d1ec0a.js → pl-9bc3b201.js} +16 -15
- package/dist/esm/{pt-e9590415.js → pt-002b833e.js} +16 -15
- package/dist/esm/{pt-br-90ac5d4c.js → pt-br-e0930ce7.js} +16 -15
- package/dist/esm/{resources-03058a19.js → resources-298c32e6.js} +5 -5
- package/dist/esm/{resources-61b0bb1c.js → resources-342e12d1.js} +1 -1
- package/dist/esm/{resources-b8175e74.js → resources-4bf6d30e.js} +1 -1
- package/dist/esm/{resources-d8ce9c30.js → resources-58b3716f.js} +1 -1
- package/dist/esm/{resources-a003a000.js → resources-99f0ae1b.js} +1 -1
- package/dist/esm/{resources-d44a258a.js → resources-fa08bf1a.js} +1 -1
- package/dist/esm/{ro-39da1412.js → ro-bba81f47.js} +16 -15
- package/dist/esm/{ru-a1030608.js → ru-0f39251e.js} +16 -15
- package/dist/esm/{sk-a8e03a68.js → sk-4a151f09.js} +16 -15
- package/dist/esm/{sl-b467ff0a.js → sl-aa7861fd.js} +16 -15
- package/dist/esm/{sortableComponent-1be1476b.js → sortableComponent-8d7c9c05.js} +2 -2
- package/dist/esm/{sr-3b1c9cfb.js → sr-a2cdfeb9.js} +16 -15
- package/dist/esm/{sv-38116000.js → sv-ca00e5e3.js} +16 -15
- package/dist/esm/{t9n-ef7e26b4.js → t9n-fac13394.js} +3 -3
- package/dist/esm/{th-d11ce4c5.js → th-0317324d.js} +16 -15
- package/dist/esm/{throttle-2c62036e.js → throttle-b7008174.js} +2 -2
- package/dist/esm/{tr-2d911fea.js → tr-8feb4202.js} +16 -15
- package/dist/esm/{uk-ccd09dcc.js → uk-094d01da.js} +16 -15
- package/dist/esm/{utils-a5fcb944.js → utils-85b95e46.js} +1 -1
- package/dist/esm/{utils-5338ca76.js → utils-8a806067.js} +3 -3
- package/dist/esm/{vi-f7f598ef.js → vi-d1baa060.js} +16 -15
- package/dist/esm/{zh-cn-8d3680f6.js → zh-cn-91644fd4.js} +16 -15
- package/dist/esm/{zh-hk-b2a1f7fa.js → zh-hk-82d06d40.js} +16 -15
- package/dist/esm/{zh-tw-292d31df.js → zh-tw-2992db34.js} +16 -15
- package/dist/extras/docs-json.d.ts +148 -0
- package/dist/extras/docs-json.json +25227 -0
- package/dist/extras/translations-json.json +1 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/alert/alert.d.ts +2 -1
- package/dist/types/components/alert/interfaces.d.ts +3 -0
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -0
- package/dist/types/components/fab/fab.d.ts +2 -0
- package/dist/types/components/link/link.d.ts +2 -0
- package/dist/types/components/list-item/list-item.d.ts +1 -1
- package/dist/types/components/list-item-group/list-item-group.d.ts +1 -0
- package/dist/types/components/radio-button/radio-button.d.ts +4 -1
- package/dist/types/components/scrim/resources.d.ts +4 -0
- package/dist/types/components/scrim/scrim.d.ts +7 -0
- package/dist/types/components/split-button/split-button.d.ts +2 -0
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -0
- package/dist/types/components/tree-item/tree-item.d.ts +2 -26
- package/dist/types/preact.d.ts +445 -0
- package/dist/types/utils/browser.d.ts +11 -0
- package/dist/types/utils/floating-ui.d.ts +50 -50
- package/dist/types/utils/interactive.d.ts +16 -0
- package/hydrate/index.js +439 -218
- package/package.json +5 -4
- package/readme.md +2 -2
- package/dist/calcite/p-00667e8c.entry.js +0 -6
- package/dist/calcite/p-01d5c1ab.entry.js +0 -6
- package/dist/calcite/p-087a12f1.entry.js +0 -6
- package/dist/calcite/p-0942e52d.js +0 -6
- package/dist/calcite/p-1322be37.js +0 -6
- package/dist/calcite/p-160c5295.js +0 -6
- package/dist/calcite/p-19835c2e.entry.js +0 -6
- package/dist/calcite/p-19ce578f.js +0 -6
- package/dist/calcite/p-1a39b45d.js +0 -6
- package/dist/calcite/p-1a511916.entry.js +0 -6
- package/dist/calcite/p-1bd77532.entry.js +0 -6
- package/dist/calcite/p-2096ccf6.js +0 -6
- package/dist/calcite/p-22be5357.js +0 -6
- package/dist/calcite/p-25b25c0a.entry.js +0 -6
- package/dist/calcite/p-2874f1c8.entry.js +0 -6
- package/dist/calcite/p-2c979b32.entry.js +0 -6
- package/dist/calcite/p-33ed97b0.js +0 -6
- package/dist/calcite/p-3585e242.entry.js +0 -6
- package/dist/calcite/p-372a2de7.js +0 -6
- package/dist/calcite/p-3a1b9021.entry.js +0 -6
- package/dist/calcite/p-3b4d9616.js +0 -6
- package/dist/calcite/p-3c5766bc.entry.js +0 -6
- package/dist/calcite/p-426f7e6c.entry.js +0 -6
- package/dist/calcite/p-428922f0.entry.js +0 -6
- package/dist/calcite/p-4387056b.js +0 -6
- package/dist/calcite/p-4836fcfa.js +0 -6
- package/dist/calcite/p-486ede3f.js +0 -6
- package/dist/calcite/p-4ada1a67.entry.js +0 -6
- package/dist/calcite/p-4bdf9955.js +0 -6
- package/dist/calcite/p-52c135cc.entry.js +0 -6
- package/dist/calcite/p-5400b99b.js +0 -6
- package/dist/calcite/p-54447f9c.js +0 -6
- package/dist/calcite/p-56ee5404.entry.js +0 -6
- package/dist/calcite/p-5ac08a90.js +0 -6
- package/dist/calcite/p-60cc8f65.entry.js +0 -6
- package/dist/calcite/p-6491ab97.entry.js +0 -6
- package/dist/calcite/p-69b36208.js +0 -6
- package/dist/calcite/p-6bd8f69a.entry.js +0 -6
- package/dist/calcite/p-6f795a9c.entry.js +0 -6
- package/dist/calcite/p-6fc0b5fe.js +0 -6
- package/dist/calcite/p-70ad4da2.entry.js +0 -6
- package/dist/calcite/p-73aaeef6.entry.js +0 -6
- package/dist/calcite/p-73e084c1.entry.js +0 -6
- package/dist/calcite/p-793c198d.entry.js +0 -6
- package/dist/calcite/p-79daa660.entry.js +0 -6
- package/dist/calcite/p-7af87efc.js +0 -6
- package/dist/calcite/p-7d2755fc.js +0 -6
- package/dist/calcite/p-8446cb08.js +0 -6
- package/dist/calcite/p-84d3a320.js +0 -6
- package/dist/calcite/p-88b9c6dc.js +0 -6
- package/dist/calcite/p-89c3cfb9.js +0 -6
- package/dist/calcite/p-8bb20f00.js +0 -6
- package/dist/calcite/p-8f51802e.js +0 -6
- package/dist/calcite/p-901cfe4d.js +0 -6
- package/dist/calcite/p-92db6c54.js +0 -6
- package/dist/calcite/p-962ea4cd.entry.js +0 -6
- package/dist/calcite/p-9757aba9.js +0 -6
- package/dist/calcite/p-979f83b7.js +0 -6
- package/dist/calcite/p-a0b8afaa.js +0 -6
- package/dist/calcite/p-a2a822f3.js +0 -6
- package/dist/calcite/p-a378911d.js +0 -6
- package/dist/calcite/p-a388c6de.js +0 -6
- package/dist/calcite/p-a40bd1cc.entry.js +0 -6
- package/dist/calcite/p-a50c9172.js +0 -6
- package/dist/calcite/p-a9bb114c.js +0 -6
- package/dist/calcite/p-b3eaf727.js +0 -6
- package/dist/calcite/p-b3f05c52.entry.js +0 -6
- package/dist/calcite/p-b467c059.js +0 -6
- package/dist/calcite/p-b5be105b.entry.js +0 -6
- package/dist/calcite/p-b8331835.js +0 -6
- package/dist/calcite/p-bc3bbded.js +0 -6
- package/dist/calcite/p-c25a0f7a.js +0 -6
- package/dist/calcite/p-c28e2041.entry.js +0 -6
- package/dist/calcite/p-c2b58582.entry.js +0 -6
- package/dist/calcite/p-c363f1ab.js +0 -6
- package/dist/calcite/p-c4ddf539.entry.js +0 -6
- package/dist/calcite/p-c7329c32.entry.js +0 -6
- package/dist/calcite/p-c91f1476.entry.js +0 -6
- package/dist/calcite/p-ca585bc6.entry.js +0 -6
- package/dist/calcite/p-ca76a7d6.js +0 -6
- package/dist/calcite/p-ca90012f.js +0 -6
- package/dist/calcite/p-ca90b686.js +0 -6
- package/dist/calcite/p-cc0cb0e0.js +0 -6
- package/dist/calcite/p-cfd7e3aa.js +0 -6
- package/dist/calcite/p-d0a47812.entry.js +0 -6
- package/dist/calcite/p-d0a50f8e.entry.js +0 -6
- package/dist/calcite/p-d1a81ce3.js +0 -6
- package/dist/calcite/p-d70dbd93.entry.js +0 -6
- package/dist/calcite/p-d88a0236.entry.js +0 -6
- package/dist/calcite/p-d97763e5.entry.js +0 -6
- package/dist/calcite/p-dcb09001.js +0 -6
- package/dist/calcite/p-e3dda9fe.entry.js +0 -6
- package/dist/calcite/p-ea8a0558.js +0 -6
- package/dist/calcite/p-f0b8d666.js +0 -6
- package/dist/calcite/p-f1c5a7cc.entry.js +0 -6
- package/dist/calcite/p-f268ca45.js +0 -6
- package/dist/calcite/p-f53787cb.js +0 -6
- package/dist/cjs/interactive-6db0c621.js +0 -70
- package/dist/esm/interactive-66fbba19.js +0 -68
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.3
|
|
4
|
+
* v1.4.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -7088,6 +7088,21 @@ class AccordionItem {
|
|
|
7088
7088
|
}; }
|
|
7089
7089
|
}
|
|
7090
7090
|
|
|
7091
|
+
function getUserAgentData() {
|
|
7092
|
+
return navigator.userAgentData;
|
|
7093
|
+
}
|
|
7094
|
+
function getUserAgentString() {
|
|
7095
|
+
const uaData = getUserAgentData();
|
|
7096
|
+
return uaData?.brands
|
|
7097
|
+
? uaData.brands.map(({ brand, version }) => `${brand}/${version}`).join(" ")
|
|
7098
|
+
: navigator.userAgent;
|
|
7099
|
+
}
|
|
7100
|
+
|
|
7101
|
+
// ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️
|
|
7102
|
+
const isFirefox = /firefox/i.test(getUserAgentString());
|
|
7103
|
+
const interactiveElementToParent = isFirefox
|
|
7104
|
+
? new WeakMap()
|
|
7105
|
+
: null;
|
|
7091
7106
|
function interceptedClick() {
|
|
7092
7107
|
const { disabled } = this;
|
|
7093
7108
|
if (!disabled) {
|
|
@@ -7095,11 +7110,21 @@ function interceptedClick() {
|
|
|
7095
7110
|
}
|
|
7096
7111
|
}
|
|
7097
7112
|
function onPointerDown(event) {
|
|
7098
|
-
|
|
7099
|
-
|
|
7113
|
+
const interactiveElement = event.target;
|
|
7114
|
+
if (isFirefox && !interactiveElementToParent.get(interactiveElement)) {
|
|
7115
|
+
return;
|
|
7116
|
+
}
|
|
7117
|
+
const { disabled } = interactiveElement;
|
|
7118
|
+
if (disabled) {
|
|
7119
|
+
// prevent click from moving focus on host
|
|
7120
|
+
event.preventDefault();
|
|
7121
|
+
}
|
|
7100
7122
|
}
|
|
7101
7123
|
const nonBubblingWhenDisabledMouseEvents = ["mousedown", "mouseup", "click"];
|
|
7102
7124
|
function onNonBubblingWhenDisabledMouseEvent(event) {
|
|
7125
|
+
if (isFirefox && !interactiveElementToParent.get(event.target)) {
|
|
7126
|
+
return;
|
|
7127
|
+
}
|
|
7103
7128
|
const { disabled } = event.target;
|
|
7104
7129
|
// prevent disallowed mouse events from being emitted on the disabled host (per https://github.com/whatwg/html/issues/5886)
|
|
7105
7130
|
//⚠ we generally avoid stopping propagation of events, but this is needed to adhere to the intended spec changes above ⚠
|
|
@@ -7129,14 +7154,10 @@ function updateHostInteraction(component, hostIsTabbable = false) {
|
|
|
7129
7154
|
if (component.el.contains(document.activeElement)) {
|
|
7130
7155
|
document.activeElement.blur();
|
|
7131
7156
|
}
|
|
7132
|
-
component
|
|
7133
|
-
component.el.addEventListener("pointerdown", onPointerDown, captureOnlyOptions);
|
|
7134
|
-
nonBubblingWhenDisabledMouseEvents.forEach((event) => component.el.addEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions));
|
|
7157
|
+
blockInteraction(component);
|
|
7135
7158
|
return;
|
|
7136
7159
|
}
|
|
7137
|
-
component
|
|
7138
|
-
component.el.removeEventListener("pointerdown", onPointerDown, captureOnlyOptions);
|
|
7139
|
-
nonBubblingWhenDisabledMouseEvents.forEach((event) => component.el.removeEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions));
|
|
7160
|
+
restoreInteraction(component);
|
|
7140
7161
|
if (typeof hostIsTabbable === "function") {
|
|
7141
7162
|
component.el.setAttribute("tabindex", hostIsTabbable.call(component) ? "0" : "-1");
|
|
7142
7163
|
}
|
|
@@ -7149,6 +7170,63 @@ function updateHostInteraction(component, hostIsTabbable = false) {
|
|
|
7149
7170
|
else ;
|
|
7150
7171
|
component.el.removeAttribute("aria-disabled");
|
|
7151
7172
|
}
|
|
7173
|
+
function blockInteraction(component) {
|
|
7174
|
+
component.el.click = interceptedClick;
|
|
7175
|
+
addInteractionListeners(isFirefox ? getParentElement(component) : component.el);
|
|
7176
|
+
}
|
|
7177
|
+
function addInteractionListeners(element) {
|
|
7178
|
+
if (!element) {
|
|
7179
|
+
// this path is only applicable to Firefox
|
|
7180
|
+
return;
|
|
7181
|
+
}
|
|
7182
|
+
element.addEventListener("pointerdown", onPointerDown, captureOnlyOptions);
|
|
7183
|
+
nonBubblingWhenDisabledMouseEvents.forEach((event) => element.addEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions));
|
|
7184
|
+
}
|
|
7185
|
+
function getParentElement(component) {
|
|
7186
|
+
return interactiveElementToParent.get(component.el);
|
|
7187
|
+
}
|
|
7188
|
+
function restoreInteraction(component) {
|
|
7189
|
+
delete component.el.click; // fallback on HTMLElement.prototype.click
|
|
7190
|
+
removeInteractionListeners(isFirefox ? getParentElement(component) : component.el);
|
|
7191
|
+
}
|
|
7192
|
+
function removeInteractionListeners(element) {
|
|
7193
|
+
if (!element) {
|
|
7194
|
+
// this path is only applicable to Firefox
|
|
7195
|
+
return;
|
|
7196
|
+
}
|
|
7197
|
+
element.removeEventListener("pointerdown", onPointerDown, captureOnlyOptions);
|
|
7198
|
+
nonBubblingWhenDisabledMouseEvents.forEach((event) => element.removeEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions));
|
|
7199
|
+
}
|
|
7200
|
+
/**
|
|
7201
|
+
* This utility helps disable components consistently in Firefox.
|
|
7202
|
+
*
|
|
7203
|
+
* 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).
|
|
7204
|
+
*
|
|
7205
|
+
* @param component
|
|
7206
|
+
*/
|
|
7207
|
+
function connectInteractive(component) {
|
|
7208
|
+
if (!component.disabled || !isFirefox) {
|
|
7209
|
+
return;
|
|
7210
|
+
}
|
|
7211
|
+
const parent = component.el.parentElement || component.el; /* assume element is host if it has no parent when connected */
|
|
7212
|
+
interactiveElementToParent.set(component.el, parent);
|
|
7213
|
+
blockInteraction(component);
|
|
7214
|
+
}
|
|
7215
|
+
/**
|
|
7216
|
+
* This utility restores interactivity to disabled components consistently in Firefox.
|
|
7217
|
+
*
|
|
7218
|
+
* 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).
|
|
7219
|
+
*
|
|
7220
|
+
* @param component
|
|
7221
|
+
*/
|
|
7222
|
+
function disconnectInteractive(component) {
|
|
7223
|
+
if (!isFirefox) {
|
|
7224
|
+
return;
|
|
7225
|
+
}
|
|
7226
|
+
// always remove on disconnect as render or connect will restore it
|
|
7227
|
+
interactiveElementToParent.delete(component.el);
|
|
7228
|
+
restoreInteraction(component);
|
|
7229
|
+
}
|
|
7152
7230
|
|
|
7153
7231
|
const resolveMap = new WeakMap();
|
|
7154
7232
|
const promiseMap = new WeakMap();
|
|
@@ -7862,6 +7940,7 @@ class Action {
|
|
|
7862
7940
|
//
|
|
7863
7941
|
// --------------------------------------------------------------------------
|
|
7864
7942
|
connectedCallback() {
|
|
7943
|
+
connectInteractive(this);
|
|
7865
7944
|
connectLocalized(this);
|
|
7866
7945
|
connectMessages(this);
|
|
7867
7946
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
@@ -7873,6 +7952,7 @@ class Action {
|
|
|
7873
7952
|
setComponentLoaded(this);
|
|
7874
7953
|
}
|
|
7875
7954
|
disconnectedCallback() {
|
|
7955
|
+
disconnectInteractive(this);
|
|
7876
7956
|
disconnectLocalized(this);
|
|
7877
7957
|
disconnectMessages(this);
|
|
7878
7958
|
this.mutationObserver?.disconnect();
|
|
@@ -10304,7 +10384,7 @@ class Alert {
|
|
|
10304
10384
|
};
|
|
10305
10385
|
this.open = false;
|
|
10306
10386
|
this.autoClose = false;
|
|
10307
|
-
this.autoCloseDuration =
|
|
10387
|
+
this.autoCloseDuration = "medium";
|
|
10308
10388
|
this.kind = "brand";
|
|
10309
10389
|
this.icon = undefined;
|
|
10310
10390
|
this.iconFlipRtl = false;
|
|
@@ -10368,6 +10448,9 @@ class Alert {
|
|
|
10368
10448
|
setComponentLoaded(this);
|
|
10369
10449
|
}
|
|
10370
10450
|
disconnectedCallback() {
|
|
10451
|
+
window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister", {
|
|
10452
|
+
detail: { alert: this.el }
|
|
10453
|
+
}));
|
|
10371
10454
|
window.clearTimeout(this.autoCloseTimeoutId);
|
|
10372
10455
|
window.clearTimeout(this.queueTimeout);
|
|
10373
10456
|
disconnectOpenCloseComponent(this);
|
|
@@ -10419,6 +10502,14 @@ class Alert {
|
|
|
10419
10502
|
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
10420
10503
|
this.determineActiveAlert();
|
|
10421
10504
|
}
|
|
10505
|
+
// Event is dispatched on the window because the element is not in the DOM so bubbling won't occur.
|
|
10506
|
+
alertUnregister(event) {
|
|
10507
|
+
const queue = this.queue.filter((el) => el !== event.detail.alert);
|
|
10508
|
+
this.queue = queue;
|
|
10509
|
+
window.dispatchEvent(new CustomEvent("calciteInternalAlertSync", {
|
|
10510
|
+
detail: { queue }
|
|
10511
|
+
}));
|
|
10512
|
+
}
|
|
10422
10513
|
//--------------------------------------------------------------------------
|
|
10423
10514
|
//
|
|
10424
10515
|
// Public Methods
|
|
@@ -10508,7 +10599,7 @@ class Alert {
|
|
|
10508
10599
|
"requestedIcon": [32],
|
|
10509
10600
|
"setFocus": [64]
|
|
10510
10601
|
},
|
|
10511
|
-
"$listeners$": [[8, "calciteInternalAlertSync", "alertSync"], [8, "calciteInternalAlertRegister", "alertRegister"]],
|
|
10602
|
+
"$listeners$": [[8, "calciteInternalAlertSync", "alertSync"], [8, "calciteInternalAlertRegister", "alertRegister"], [8, "calciteInternalAlertUnregister", "alertUnregister"]],
|
|
10512
10603
|
"$lazyBundleId$": "-",
|
|
10513
10604
|
"$attrsToReflect$": [["open", "open"], ["autoClose", "auto-close"], ["autoCloseDuration", "auto-close-duration"], ["kind", "kind"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["numberingSystem", "numbering-system"], ["placement", "placement"], ["scale", "scale"]]
|
|
10514
10605
|
}; }
|
|
@@ -10938,10 +11029,12 @@ class Block {
|
|
|
10938
11029
|
// --------------------------------------------------------------------------
|
|
10939
11030
|
connectedCallback() {
|
|
10940
11031
|
connectConditionalSlotComponent(this);
|
|
11032
|
+
connectInteractive(this);
|
|
10941
11033
|
connectLocalized(this);
|
|
10942
11034
|
connectMessages(this);
|
|
10943
11035
|
}
|
|
10944
11036
|
disconnectedCallback() {
|
|
11037
|
+
disconnectInteractive(this);
|
|
10945
11038
|
disconnectLocalized(this);
|
|
10946
11039
|
disconnectMessages(this);
|
|
10947
11040
|
disconnectConditionalSlotComponent(this);
|
|
@@ -11645,6 +11738,7 @@ class Button {
|
|
|
11645
11738
|
//
|
|
11646
11739
|
//--------------------------------------------------------------------------
|
|
11647
11740
|
async connectedCallback() {
|
|
11741
|
+
connectInteractive(this);
|
|
11648
11742
|
connectLocalized(this);
|
|
11649
11743
|
connectMessages(this);
|
|
11650
11744
|
this.hasLoader = this.loading;
|
|
@@ -11654,6 +11748,7 @@ class Button {
|
|
|
11654
11748
|
}
|
|
11655
11749
|
disconnectedCallback() {
|
|
11656
11750
|
this.mutationObserver?.disconnect();
|
|
11751
|
+
disconnectInteractive(this);
|
|
11657
11752
|
disconnectLabel(this);
|
|
11658
11753
|
disconnectLocalized(this);
|
|
11659
11754
|
disconnectMessages(this);
|
|
@@ -12843,10 +12938,12 @@ class Checkbox {
|
|
|
12843
12938
|
//--------------------------------------------------------------------------
|
|
12844
12939
|
connectedCallback() {
|
|
12845
12940
|
this.guid = this.el.id || `calcite-checkbox-${guid()}`;
|
|
12941
|
+
connectInteractive(this);
|
|
12846
12942
|
connectLabel(this);
|
|
12847
12943
|
connectForm(this);
|
|
12848
12944
|
}
|
|
12849
12945
|
disconnectedCallback() {
|
|
12946
|
+
disconnectInteractive(this);
|
|
12850
12947
|
disconnectLabel(this);
|
|
12851
12948
|
disconnectForm(this);
|
|
12852
12949
|
}
|
|
@@ -12990,6 +13087,7 @@ class Chip {
|
|
|
12990
13087
|
// --------------------------------------------------------------------------
|
|
12991
13088
|
connectedCallback() {
|
|
12992
13089
|
connectConditionalSlotComponent(this);
|
|
13090
|
+
connectInteractive(this);
|
|
12993
13091
|
connectLocalized(this);
|
|
12994
13092
|
connectMessages(this);
|
|
12995
13093
|
this.setupTextContentObserver();
|
|
@@ -13002,6 +13100,7 @@ class Chip {
|
|
|
13002
13100
|
}
|
|
13003
13101
|
disconnectedCallback() {
|
|
13004
13102
|
disconnectConditionalSlotComponent(this);
|
|
13103
|
+
disconnectInteractive(this);
|
|
13005
13104
|
disconnectLocalized(this);
|
|
13006
13105
|
disconnectMessages(this);
|
|
13007
13106
|
}
|
|
@@ -13224,9 +13323,11 @@ class ChipGroup {
|
|
|
13224
13323
|
//
|
|
13225
13324
|
//--------------------------------------------------------------------------
|
|
13226
13325
|
connectedCallback() {
|
|
13326
|
+
connectInteractive(this);
|
|
13227
13327
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
13228
13328
|
}
|
|
13229
13329
|
componentDidRender() {
|
|
13330
|
+
disconnectInteractive(this);
|
|
13230
13331
|
updateHostInteraction(this);
|
|
13231
13332
|
}
|
|
13232
13333
|
componentDidLoad() {
|
|
@@ -16018,6 +16119,7 @@ class ColorPicker {
|
|
|
16018
16119
|
await setUpMessages(this);
|
|
16019
16120
|
}
|
|
16020
16121
|
connectedCallback() {
|
|
16122
|
+
connectInteractive(this);
|
|
16021
16123
|
connectLocalized(this);
|
|
16022
16124
|
connectMessages(this);
|
|
16023
16125
|
}
|
|
@@ -16027,6 +16129,7 @@ class ColorPicker {
|
|
|
16027
16129
|
disconnectedCallback() {
|
|
16028
16130
|
document.removeEventListener("pointermove", this.globalPointerMoveHandler);
|
|
16029
16131
|
document.removeEventListener("pointerup", this.globalPointerUpHandler);
|
|
16132
|
+
disconnectInteractive(this);
|
|
16030
16133
|
disconnectLocalized(this);
|
|
16031
16134
|
disconnectMessages(this);
|
|
16032
16135
|
}
|
|
@@ -17146,7 +17249,7 @@ const arrow = options => ({
|
|
|
17146
17249
|
[axis]: coords[axis] - alignmentOffset,
|
|
17147
17250
|
data: {
|
|
17148
17251
|
[axis]: offset,
|
|
17149
|
-
centerOffset: center - offset
|
|
17252
|
+
centerOffset: center - offset + alignmentOffset
|
|
17150
17253
|
}
|
|
17151
17254
|
};
|
|
17152
17255
|
}
|
|
@@ -17670,7 +17773,13 @@ function isNode(value) {
|
|
|
17670
17773
|
return value instanceof getWindow(value).Node;
|
|
17671
17774
|
}
|
|
17672
17775
|
function getNodeName(node) {
|
|
17673
|
-
|
|
17776
|
+
if (isNode(node)) {
|
|
17777
|
+
return (node.nodeName || '').toLowerCase();
|
|
17778
|
+
}
|
|
17779
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
17780
|
+
// returning `#document` an infinite loop won't occur.
|
|
17781
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
17782
|
+
return '#document';
|
|
17674
17783
|
}
|
|
17675
17784
|
|
|
17676
17785
|
function isHTMLElement(value) {
|
|
@@ -17684,8 +17793,7 @@ function isShadowRoot(node) {
|
|
|
17684
17793
|
if (typeof ShadowRoot === 'undefined') {
|
|
17685
17794
|
return false;
|
|
17686
17795
|
}
|
|
17687
|
-
|
|
17688
|
-
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
17796
|
+
return node instanceof getWindow(node).ShadowRoot || node instanceof ShadowRoot;
|
|
17689
17797
|
}
|
|
17690
17798
|
function isOverflowElement(element) {
|
|
17691
17799
|
const {
|
|
@@ -17717,6 +17825,10 @@ function isLastTraversableNode(node) {
|
|
|
17717
17825
|
const min = Math.min;
|
|
17718
17826
|
const max = Math.max;
|
|
17719
17827
|
const round = Math.round;
|
|
17828
|
+
const createEmptyCoords = v => ({
|
|
17829
|
+
x: v,
|
|
17830
|
+
y: v
|
|
17831
|
+
});
|
|
17720
17832
|
|
|
17721
17833
|
function getCssDimensions(element) {
|
|
17722
17834
|
const css = getComputedStyle$1(element);
|
|
@@ -17735,7 +17847,7 @@ function getCssDimensions(element) {
|
|
|
17735
17847
|
return {
|
|
17736
17848
|
width,
|
|
17737
17849
|
height,
|
|
17738
|
-
|
|
17850
|
+
$: shouldFallback
|
|
17739
17851
|
};
|
|
17740
17852
|
}
|
|
17741
17853
|
|
|
@@ -17743,23 +17855,19 @@ function unwrapElement(element) {
|
|
|
17743
17855
|
return !isElement(element) ? element.contextElement : element;
|
|
17744
17856
|
}
|
|
17745
17857
|
|
|
17746
|
-
const FALLBACK_SCALE = {
|
|
17747
|
-
x: 1,
|
|
17748
|
-
y: 1
|
|
17749
|
-
};
|
|
17750
17858
|
function getScale(element) {
|
|
17751
17859
|
const domElement = unwrapElement(element);
|
|
17752
17860
|
if (!isHTMLElement(domElement)) {
|
|
17753
|
-
return
|
|
17861
|
+
return createEmptyCoords(1);
|
|
17754
17862
|
}
|
|
17755
17863
|
const rect = domElement.getBoundingClientRect();
|
|
17756
17864
|
const {
|
|
17757
17865
|
width,
|
|
17758
17866
|
height,
|
|
17759
|
-
|
|
17867
|
+
$
|
|
17760
17868
|
} = getCssDimensions(domElement);
|
|
17761
|
-
let x = (
|
|
17762
|
-
let y = (
|
|
17869
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
17870
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
17763
17871
|
|
|
17764
17872
|
// 0, NaN, or Infinity should always fallback to 1.
|
|
17765
17873
|
|
|
@@ -17775,10 +17883,7 @@ function getScale(element) {
|
|
|
17775
17883
|
};
|
|
17776
17884
|
}
|
|
17777
17885
|
|
|
17778
|
-
const noOffsets =
|
|
17779
|
-
x: 0,
|
|
17780
|
-
y: 0
|
|
17781
|
-
};
|
|
17886
|
+
const noOffsets = /*#__PURE__*/createEmptyCoords(0);
|
|
17782
17887
|
function getVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
17783
17888
|
var _win$visualViewport, _win$visualViewport2;
|
|
17784
17889
|
if (isFixed === void 0) {
|
|
@@ -17806,7 +17911,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
17806
17911
|
}
|
|
17807
17912
|
const clientRect = element.getBoundingClientRect();
|
|
17808
17913
|
const domElement = unwrapElement(element);
|
|
17809
|
-
let scale =
|
|
17914
|
+
let scale = createEmptyCoords(1);
|
|
17810
17915
|
if (includeScale) {
|
|
17811
17916
|
if (offsetParent) {
|
|
17812
17917
|
if (isElement(offsetParent)) {
|
|
@@ -17829,14 +17934,14 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
17829
17934
|
const iframeScale = getScale(currentIFrame);
|
|
17830
17935
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
17831
17936
|
const css = getComputedStyle(currentIFrame);
|
|
17832
|
-
iframeRect.
|
|
17833
|
-
iframeRect.
|
|
17937
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
17938
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
17834
17939
|
x *= iframeScale.x;
|
|
17835
17940
|
y *= iframeScale.y;
|
|
17836
17941
|
width *= iframeScale.x;
|
|
17837
17942
|
height *= iframeScale.y;
|
|
17838
|
-
x +=
|
|
17839
|
-
y +=
|
|
17943
|
+
x += left;
|
|
17944
|
+
y += top;
|
|
17840
17945
|
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
17841
17946
|
}
|
|
17842
17947
|
}
|
|
@@ -17880,14 +17985,8 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
17880
17985
|
scrollLeft: 0,
|
|
17881
17986
|
scrollTop: 0
|
|
17882
17987
|
};
|
|
17883
|
-
let scale =
|
|
17884
|
-
|
|
17885
|
-
y: 1
|
|
17886
|
-
};
|
|
17887
|
-
const offsets = {
|
|
17888
|
-
x: 0,
|
|
17889
|
-
y: 0
|
|
17890
|
-
};
|
|
17988
|
+
let scale = createEmptyCoords(1);
|
|
17989
|
+
const offsets = createEmptyCoords(0);
|
|
17891
17990
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
17892
17991
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
17893
17992
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -17953,9 +18052,7 @@ function getParentNode(node) {
|
|
|
17953
18052
|
function getNearestOverflowAncestor(node) {
|
|
17954
18053
|
const parentNode = getParentNode(node);
|
|
17955
18054
|
if (isLastTraversableNode(parentNode)) {
|
|
17956
|
-
|
|
17957
|
-
// check, so it's either the <html> or <body> element.
|
|
17958
|
-
return parentNode.ownerDocument.body;
|
|
18055
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
17959
18056
|
}
|
|
17960
18057
|
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
17961
18058
|
return parentNode;
|
|
@@ -18007,10 +18104,7 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
18007
18104
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
18008
18105
|
const top = clientRect.top + element.clientTop;
|
|
18009
18106
|
const left = clientRect.left + element.clientLeft;
|
|
18010
|
-
const scale = isHTMLElement(element) ? getScale(element) :
|
|
18011
|
-
x: 1,
|
|
18012
|
-
y: 1
|
|
18013
|
-
};
|
|
18107
|
+
const scale = isHTMLElement(element) ? getScale(element) : createEmptyCoords(1);
|
|
18014
18108
|
const width = element.clientWidth * scale.x;
|
|
18015
18109
|
const height = element.clientHeight * scale.y;
|
|
18016
18110
|
const x = left * scale.x;
|
|
@@ -18161,10 +18255,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
18161
18255
|
scrollLeft: 0,
|
|
18162
18256
|
scrollTop: 0
|
|
18163
18257
|
};
|
|
18164
|
-
const offsets =
|
|
18165
|
-
x: 0,
|
|
18166
|
-
y: 0
|
|
18167
|
-
};
|
|
18258
|
+
const offsets = createEmptyCoords(0);
|
|
18168
18259
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
18169
18260
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
18170
18261
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -18241,6 +18332,96 @@ const computePosition = (reference, floating, options) => {
|
|
|
18241
18332
|
const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
|
|
18242
18333
|
async function patchFloatingUiForNonChromiumBrowsers() {
|
|
18243
18334
|
}
|
|
18335
|
+
/**
|
|
18336
|
+
* Positions the floating element relative to the reference element.
|
|
18337
|
+
*
|
|
18338
|
+
* **Note:** exported for testing purposes only
|
|
18339
|
+
*
|
|
18340
|
+
* @param root0
|
|
18341
|
+
* @param root0.referenceEl
|
|
18342
|
+
* @param root0.floatingEl
|
|
18343
|
+
* @param root0.overlayPositioning
|
|
18344
|
+
* @param root0.placement
|
|
18345
|
+
* @param root0.flipDisabled
|
|
18346
|
+
* @param root0.flipPlacements
|
|
18347
|
+
* @param root0.offsetDistance
|
|
18348
|
+
* @param root0.offsetSkidding
|
|
18349
|
+
* @param root0.arrowEl
|
|
18350
|
+
* @param root0.type
|
|
18351
|
+
* @param component
|
|
18352
|
+
* @param root0.referenceEl.referenceEl
|
|
18353
|
+
* @param root0.referenceEl.floatingEl
|
|
18354
|
+
* @param root0.referenceEl.overlayPositioning
|
|
18355
|
+
* @param root0.referenceEl.placement
|
|
18356
|
+
* @param root0.referenceEl.flipDisabled
|
|
18357
|
+
* @param root0.referenceEl.flipPlacements
|
|
18358
|
+
* @param root0.referenceEl.offsetDistance
|
|
18359
|
+
* @param root0.referenceEl.offsetSkidding
|
|
18360
|
+
* @param root0.referenceEl.arrowEl
|
|
18361
|
+
* @param root0.referenceEl.type
|
|
18362
|
+
* @param component.referenceEl
|
|
18363
|
+
* @param component.floatingEl
|
|
18364
|
+
* @param component.overlayPositioning
|
|
18365
|
+
* @param component.placement
|
|
18366
|
+
* @param component.flipDisabled
|
|
18367
|
+
* @param component.flipPlacements
|
|
18368
|
+
* @param component.offsetDistance
|
|
18369
|
+
* @param component.offsetSkidding
|
|
18370
|
+
* @param component.arrowEl
|
|
18371
|
+
* @param component.type
|
|
18372
|
+
*/
|
|
18373
|
+
const positionFloatingUI =
|
|
18374
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
18375
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) => {
|
|
18376
|
+
if (!referenceEl || !floatingEl) {
|
|
18377
|
+
return null;
|
|
18378
|
+
}
|
|
18379
|
+
await floatingUIBrowserCheck;
|
|
18380
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
|
|
18381
|
+
strategy: overlayPositioning,
|
|
18382
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
18383
|
+
? undefined
|
|
18384
|
+
: getEffectivePlacement(floatingEl, placement),
|
|
18385
|
+
middleware: getMiddleware({
|
|
18386
|
+
placement,
|
|
18387
|
+
flipDisabled,
|
|
18388
|
+
flipPlacements,
|
|
18389
|
+
offsetDistance,
|
|
18390
|
+
offsetSkidding,
|
|
18391
|
+
arrowEl,
|
|
18392
|
+
type
|
|
18393
|
+
})
|
|
18394
|
+
});
|
|
18395
|
+
if (arrowEl && middlewareData.arrow) {
|
|
18396
|
+
const { x, y } = middlewareData.arrow;
|
|
18397
|
+
const side = effectivePlacement.split("-")[0];
|
|
18398
|
+
const alignment = x != null ? "left" : "top";
|
|
18399
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
18400
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
18401
|
+
if ("floatingLayout" in component) {
|
|
18402
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
18403
|
+
}
|
|
18404
|
+
Object.assign(arrowEl.style, {
|
|
18405
|
+
...reset,
|
|
18406
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
18407
|
+
[side]: "100%",
|
|
18408
|
+
transform
|
|
18409
|
+
});
|
|
18410
|
+
}
|
|
18411
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
18412
|
+
const visibility = referenceHidden ? "hidden" : null;
|
|
18413
|
+
const pointerEvents = visibility ? "none" : null;
|
|
18414
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
18415
|
+
const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
|
|
18416
|
+
Object.assign(floatingEl.style, {
|
|
18417
|
+
visibility,
|
|
18418
|
+
pointerEvents,
|
|
18419
|
+
position,
|
|
18420
|
+
top: "0",
|
|
18421
|
+
left: "0",
|
|
18422
|
+
transform
|
|
18423
|
+
});
|
|
18424
|
+
};
|
|
18244
18425
|
/**
|
|
18245
18426
|
* Exported for testing purposes only
|
|
18246
18427
|
*/
|
|
@@ -18341,112 +18522,34 @@ async function reposition(component, options, delayed = false) {
|
|
|
18341
18522
|
if (!component.open) {
|
|
18342
18523
|
return;
|
|
18343
18524
|
}
|
|
18344
|
-
|
|
18525
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
18526
|
+
return positionFunction(component, options);
|
|
18527
|
+
}
|
|
18528
|
+
function getDebouncedReposition(component) {
|
|
18529
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
18530
|
+
if (debounced) {
|
|
18531
|
+
return debounced;
|
|
18532
|
+
}
|
|
18533
|
+
debounced = debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
18534
|
+
leading: true,
|
|
18535
|
+
maxWait: repositionDebounceTimeout
|
|
18536
|
+
});
|
|
18537
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
18538
|
+
return debounced;
|
|
18345
18539
|
}
|
|
18346
|
-
const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
18347
|
-
leading: true,
|
|
18348
|
-
maxWait: repositionDebounceTimeout
|
|
18349
|
-
});
|
|
18350
18540
|
const ARROW_CSS_TRANSFORM = {
|
|
18351
18541
|
top: "",
|
|
18352
18542
|
left: "rotate(-90deg)",
|
|
18353
18543
|
bottom: "rotate(180deg)",
|
|
18354
18544
|
right: "rotate(90deg)"
|
|
18355
18545
|
};
|
|
18356
|
-
/**
|
|
18357
|
-
* Positions the floating element relative to the reference element.
|
|
18358
|
-
*
|
|
18359
|
-
* **Note:** exported for testing purposes only
|
|
18360
|
-
*
|
|
18361
|
-
* @param root0
|
|
18362
|
-
* @param root0.referenceEl
|
|
18363
|
-
* @param root0.floatingEl
|
|
18364
|
-
* @param root0.overlayPositioning
|
|
18365
|
-
* @param root0.placement
|
|
18366
|
-
* @param root0.flipDisabled
|
|
18367
|
-
* @param root0.flipPlacements
|
|
18368
|
-
* @param root0.offsetDistance
|
|
18369
|
-
* @param root0.offsetSkidding
|
|
18370
|
-
* @param root0.arrowEl
|
|
18371
|
-
* @param root0.type
|
|
18372
|
-
* @param component
|
|
18373
|
-
* @param root0.referenceEl.referenceEl
|
|
18374
|
-
* @param root0.referenceEl.floatingEl
|
|
18375
|
-
* @param root0.referenceEl.overlayPositioning
|
|
18376
|
-
* @param root0.referenceEl.placement
|
|
18377
|
-
* @param root0.referenceEl.flipDisabled
|
|
18378
|
-
* @param root0.referenceEl.flipPlacements
|
|
18379
|
-
* @param root0.referenceEl.offsetDistance
|
|
18380
|
-
* @param root0.referenceEl.offsetSkidding
|
|
18381
|
-
* @param root0.referenceEl.arrowEl
|
|
18382
|
-
* @param root0.referenceEl.type
|
|
18383
|
-
* @param component.referenceEl
|
|
18384
|
-
* @param component.floatingEl
|
|
18385
|
-
* @param component.overlayPositioning
|
|
18386
|
-
* @param component.placement
|
|
18387
|
-
* @param component.flipDisabled
|
|
18388
|
-
* @param component.flipPlacements
|
|
18389
|
-
* @param component.offsetDistance
|
|
18390
|
-
* @param component.offsetSkidding
|
|
18391
|
-
* @param component.arrowEl
|
|
18392
|
-
* @param component.type
|
|
18393
|
-
*/
|
|
18394
|
-
async function positionFloatingUI(component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
|
|
18395
|
-
if (!referenceEl || !floatingEl) {
|
|
18396
|
-
return null;
|
|
18397
|
-
}
|
|
18398
|
-
await floatingUIBrowserCheck;
|
|
18399
|
-
const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
|
|
18400
|
-
strategy: overlayPositioning,
|
|
18401
|
-
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
18402
|
-
? undefined
|
|
18403
|
-
: getEffectivePlacement(floatingEl, placement),
|
|
18404
|
-
middleware: getMiddleware({
|
|
18405
|
-
placement,
|
|
18406
|
-
flipDisabled,
|
|
18407
|
-
flipPlacements,
|
|
18408
|
-
offsetDistance,
|
|
18409
|
-
offsetSkidding,
|
|
18410
|
-
arrowEl,
|
|
18411
|
-
type
|
|
18412
|
-
})
|
|
18413
|
-
});
|
|
18414
|
-
if (arrowEl && middlewareData.arrow) {
|
|
18415
|
-
const { x, y } = middlewareData.arrow;
|
|
18416
|
-
const side = effectivePlacement.split("-")[0];
|
|
18417
|
-
const alignment = x != null ? "left" : "top";
|
|
18418
|
-
const transform = ARROW_CSS_TRANSFORM[side];
|
|
18419
|
-
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
18420
|
-
if ("floatingLayout" in component) {
|
|
18421
|
-
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
18422
|
-
}
|
|
18423
|
-
Object.assign(arrowEl.style, {
|
|
18424
|
-
...reset,
|
|
18425
|
-
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
18426
|
-
[side]: "100%",
|
|
18427
|
-
transform
|
|
18428
|
-
});
|
|
18429
|
-
}
|
|
18430
|
-
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
18431
|
-
const visibility = referenceHidden ? "hidden" : null;
|
|
18432
|
-
const pointerEvents = visibility ? "none" : null;
|
|
18433
|
-
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
18434
|
-
const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
|
|
18435
|
-
Object.assign(floatingEl.style, {
|
|
18436
|
-
visibility,
|
|
18437
|
-
pointerEvents,
|
|
18438
|
-
position,
|
|
18439
|
-
top: "0",
|
|
18440
|
-
left: "0",
|
|
18441
|
-
transform
|
|
18442
|
-
});
|
|
18443
|
-
}
|
|
18444
18546
|
/**
|
|
18445
18547
|
* Exported for testing purposes only
|
|
18446
18548
|
*
|
|
18447
18549
|
* @internal
|
|
18448
18550
|
*/
|
|
18449
18551
|
const cleanupMap = new WeakMap();
|
|
18552
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
|
18450
18553
|
/**
|
|
18451
18554
|
* Helper to set up floating element interactions on connectedCallback.
|
|
18452
18555
|
*
|
|
@@ -18486,11 +18589,10 @@ function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
|
18486
18589
|
if (!floatingEl || !referenceEl) {
|
|
18487
18590
|
return;
|
|
18488
18591
|
}
|
|
18489
|
-
|
|
18490
|
-
if (cleanup) {
|
|
18491
|
-
cleanup();
|
|
18492
|
-
}
|
|
18592
|
+
cleanupMap.get(component)?.();
|
|
18493
18593
|
cleanupMap.delete(component);
|
|
18594
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
18595
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
18494
18596
|
}
|
|
18495
18597
|
const visiblePointerSize = 4;
|
|
18496
18598
|
/**
|
|
@@ -18978,6 +19080,7 @@ class Combobox {
|
|
|
18978
19080
|
//
|
|
18979
19081
|
// --------------------------------------------------------------------------
|
|
18980
19082
|
connectedCallback() {
|
|
19083
|
+
connectInteractive(this);
|
|
18981
19084
|
connectLocalized(this);
|
|
18982
19085
|
connectMessages(this);
|
|
18983
19086
|
this.internalValueChangeFlag = true;
|
|
@@ -19013,6 +19116,7 @@ class Combobox {
|
|
|
19013
19116
|
disconnectedCallback() {
|
|
19014
19117
|
this.mutationObserver?.disconnect();
|
|
19015
19118
|
this.resizeObserver?.disconnect();
|
|
19119
|
+
disconnectInteractive(this);
|
|
19016
19120
|
disconnectLabel(this);
|
|
19017
19121
|
disconnectForm(this);
|
|
19018
19122
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -19478,9 +19582,11 @@ class ComboboxItem {
|
|
|
19478
19582
|
this.ancestors = getAncestors(this.el);
|
|
19479
19583
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
19480
19584
|
connectConditionalSlotComponent(this);
|
|
19585
|
+
connectInteractive(this);
|
|
19481
19586
|
}
|
|
19482
19587
|
disconnectedCallback() {
|
|
19483
19588
|
disconnectConditionalSlotComponent(this);
|
|
19589
|
+
disconnectInteractive(this);
|
|
19484
19590
|
}
|
|
19485
19591
|
componentDidRender() {
|
|
19486
19592
|
updateHostInteraction(this);
|
|
@@ -20375,9 +20481,15 @@ class DatePickerDay {
|
|
|
20375
20481
|
const dayLabel = this.dateTimeFormat.format(this.value);
|
|
20376
20482
|
return (hAsync(Host, { "aria-disabled": toAriaBoolean(this.disabled), "aria-label": dayLabel, "aria-selected": toAriaBoolean(this.active), id: dayId, onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "button" }, hAsync("div", { "aria-hidden": "true", class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, hAsync("div", { class: "day-wrapper" }, hAsync("span", { class: "day" }, hAsync("span", { class: "text" }, formattedDay))))));
|
|
20377
20483
|
}
|
|
20484
|
+
connectedCallback() {
|
|
20485
|
+
connectInteractive(this);
|
|
20486
|
+
}
|
|
20378
20487
|
componentDidRender() {
|
|
20379
20488
|
updateHostInteraction(this, this.isTabbable);
|
|
20380
20489
|
}
|
|
20490
|
+
disconnectedCallback() {
|
|
20491
|
+
disconnectInteractive(this);
|
|
20492
|
+
}
|
|
20381
20493
|
isTabbable() {
|
|
20382
20494
|
return this.active;
|
|
20383
20495
|
}
|
|
@@ -21182,6 +21294,7 @@ class Dropdown {
|
|
|
21182
21294
|
if (this.open) {
|
|
21183
21295
|
this.openHandler(this.open);
|
|
21184
21296
|
}
|
|
21297
|
+
connectInteractive(this);
|
|
21185
21298
|
connectOpenCloseComponent(this);
|
|
21186
21299
|
}
|
|
21187
21300
|
componentWillLoad() {
|
|
@@ -21196,8 +21309,9 @@ class Dropdown {
|
|
|
21196
21309
|
}
|
|
21197
21310
|
disconnectedCallback() {
|
|
21198
21311
|
this.mutationObserver?.disconnect();
|
|
21199
|
-
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
21200
21312
|
this.resizeObserver?.disconnect();
|
|
21313
|
+
disconnectInteractive(this);
|
|
21314
|
+
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
21201
21315
|
disconnectOpenCloseComponent(this);
|
|
21202
21316
|
}
|
|
21203
21317
|
render() {
|
|
@@ -21696,6 +21810,9 @@ class Fab {
|
|
|
21696
21810
|
// Lifecycle
|
|
21697
21811
|
//
|
|
21698
21812
|
//--------------------------------------------------------------------------
|
|
21813
|
+
connectedCallback() {
|
|
21814
|
+
connectInteractive(this);
|
|
21815
|
+
}
|
|
21699
21816
|
componentWillLoad() {
|
|
21700
21817
|
setUpLoadableComponent(this);
|
|
21701
21818
|
}
|
|
@@ -21705,6 +21822,9 @@ class Fab {
|
|
|
21705
21822
|
componentDidRender() {
|
|
21706
21823
|
updateHostInteraction(this);
|
|
21707
21824
|
}
|
|
21825
|
+
disconnectedCallback() {
|
|
21826
|
+
disconnectInteractive(this);
|
|
21827
|
+
}
|
|
21708
21828
|
// --------------------------------------------------------------------------
|
|
21709
21829
|
//
|
|
21710
21830
|
// Methods
|
|
@@ -21828,6 +21948,7 @@ class Filter {
|
|
|
21828
21948
|
await setUpMessages(this);
|
|
21829
21949
|
}
|
|
21830
21950
|
connectedCallback() {
|
|
21951
|
+
connectInteractive(this);
|
|
21831
21952
|
connectLocalized(this);
|
|
21832
21953
|
connectMessages(this);
|
|
21833
21954
|
}
|
|
@@ -21835,6 +21956,7 @@ class Filter {
|
|
|
21835
21956
|
updateHostInteraction(this);
|
|
21836
21957
|
}
|
|
21837
21958
|
disconnectedCallback() {
|
|
21959
|
+
disconnectInteractive(this);
|
|
21838
21960
|
disconnectLocalized(this);
|
|
21839
21961
|
disconnectMessages(this);
|
|
21840
21962
|
}
|
|
@@ -22145,6 +22267,7 @@ class FlowItem {
|
|
|
22145
22267
|
//
|
|
22146
22268
|
//--------------------------------------------------------------------------
|
|
22147
22269
|
connectedCallback() {
|
|
22270
|
+
connectInteractive(this);
|
|
22148
22271
|
connectLocalized(this);
|
|
22149
22272
|
connectMessages(this);
|
|
22150
22273
|
}
|
|
@@ -22156,6 +22279,7 @@ class FlowItem {
|
|
|
22156
22279
|
updateHostInteraction(this);
|
|
22157
22280
|
}
|
|
22158
22281
|
disconnectedCallback() {
|
|
22282
|
+
disconnectInteractive(this);
|
|
22159
22283
|
disconnectLocalized(this);
|
|
22160
22284
|
disconnectMessages(this);
|
|
22161
22285
|
}
|
|
@@ -22823,6 +22947,7 @@ class InlineEditable {
|
|
|
22823
22947
|
//
|
|
22824
22948
|
//--------------------------------------------------------------------------
|
|
22825
22949
|
connectedCallback() {
|
|
22950
|
+
connectInteractive(this);
|
|
22826
22951
|
connectLabel(this);
|
|
22827
22952
|
connectLocalized(this);
|
|
22828
22953
|
connectMessages(this);
|
|
@@ -22837,6 +22962,7 @@ class InlineEditable {
|
|
|
22837
22962
|
setComponentLoaded(this);
|
|
22838
22963
|
}
|
|
22839
22964
|
disconnectedCallback() {
|
|
22965
|
+
disconnectInteractive(this);
|
|
22840
22966
|
disconnectLabel(this);
|
|
22841
22967
|
disconnectLocalized(this);
|
|
22842
22968
|
disconnectMessages(this);
|
|
@@ -23116,7 +23242,7 @@ class Input {
|
|
|
23116
23242
|
return;
|
|
23117
23243
|
}
|
|
23118
23244
|
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
23119
|
-
if (supportedKeys.includes(event.key)
|
|
23245
|
+
if (supportedKeys.includes(event.key) || isShiftTabEvent) {
|
|
23120
23246
|
if (event.key === "Enter") {
|
|
23121
23247
|
this.emitChangeIfUserModified();
|
|
23122
23248
|
}
|
|
@@ -23362,6 +23488,7 @@ class Input {
|
|
|
23362
23488
|
//
|
|
23363
23489
|
//--------------------------------------------------------------------------
|
|
23364
23490
|
connectedCallback() {
|
|
23491
|
+
connectInteractive(this);
|
|
23365
23492
|
connectLocalized(this);
|
|
23366
23493
|
connectMessages(this);
|
|
23367
23494
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
@@ -23384,6 +23511,7 @@ class Input {
|
|
|
23384
23511
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
23385
23512
|
}
|
|
23386
23513
|
disconnectedCallback() {
|
|
23514
|
+
disconnectInteractive(this);
|
|
23387
23515
|
disconnectLabel(this);
|
|
23388
23516
|
disconnectForm(this);
|
|
23389
23517
|
disconnectLocalized(this);
|
|
@@ -24844,6 +24972,7 @@ class InputDatePicker {
|
|
|
24844
24972
|
//
|
|
24845
24973
|
// --------------------------------------------------------------------------
|
|
24846
24974
|
connectedCallback() {
|
|
24975
|
+
connectInteractive(this);
|
|
24847
24976
|
connectLocalized(this);
|
|
24848
24977
|
const { open } = this;
|
|
24849
24978
|
open && this.openHandler(open);
|
|
@@ -24893,6 +25022,7 @@ class InputDatePicker {
|
|
|
24893
25022
|
}
|
|
24894
25023
|
disconnectedCallback() {
|
|
24895
25024
|
deactivateFocusTrap(this);
|
|
25025
|
+
disconnectInteractive(this);
|
|
24896
25026
|
disconnectLabel(this);
|
|
24897
25027
|
disconnectForm(this);
|
|
24898
25028
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -25327,7 +25457,7 @@ class InputNumber {
|
|
|
25327
25457
|
return;
|
|
25328
25458
|
}
|
|
25329
25459
|
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
25330
|
-
if (supportedKeys.includes(event.key)
|
|
25460
|
+
if (supportedKeys.includes(event.key) || isShiftTabEvent) {
|
|
25331
25461
|
if (event.key === "Enter") {
|
|
25332
25462
|
this.emitChangeIfUserModified();
|
|
25333
25463
|
}
|
|
@@ -25554,6 +25684,7 @@ class InputNumber {
|
|
|
25554
25684
|
//
|
|
25555
25685
|
//--------------------------------------------------------------------------
|
|
25556
25686
|
connectedCallback() {
|
|
25687
|
+
connectInteractive(this);
|
|
25557
25688
|
connectLocalized(this);
|
|
25558
25689
|
connectMessages(this);
|
|
25559
25690
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
@@ -25577,6 +25708,7 @@ class InputNumber {
|
|
|
25577
25708
|
setComponentLoaded(this);
|
|
25578
25709
|
}
|
|
25579
25710
|
disconnectedCallback() {
|
|
25711
|
+
disconnectInteractive(this);
|
|
25580
25712
|
disconnectLabel(this);
|
|
25581
25713
|
disconnectForm(this);
|
|
25582
25714
|
disconnectLocalized(this);
|
|
@@ -25985,6 +26117,7 @@ class InputText {
|
|
|
25985
26117
|
//
|
|
25986
26118
|
//--------------------------------------------------------------------------
|
|
25987
26119
|
connectedCallback() {
|
|
26120
|
+
connectInteractive(this);
|
|
25988
26121
|
connectLocalized(this);
|
|
25989
26122
|
connectMessages(this);
|
|
25990
26123
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
@@ -26000,6 +26133,7 @@ class InputText {
|
|
|
26000
26133
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
26001
26134
|
}
|
|
26002
26135
|
disconnectedCallback() {
|
|
26136
|
+
disconnectInteractive(this);
|
|
26003
26137
|
disconnectLabel(this);
|
|
26004
26138
|
disconnectForm(this);
|
|
26005
26139
|
disconnectLocalized(this);
|
|
@@ -27845,6 +27979,7 @@ class InputTimePicker {
|
|
|
27845
27979
|
//
|
|
27846
27980
|
//--------------------------------------------------------------------------
|
|
27847
27981
|
connectedCallback() {
|
|
27982
|
+
connectInteractive(this);
|
|
27848
27983
|
connectLocalized(this);
|
|
27849
27984
|
if (isValidTime(this.value)) {
|
|
27850
27985
|
this.setValueDirectly(this.value);
|
|
@@ -27872,6 +28007,7 @@ class InputTimePicker {
|
|
|
27872
28007
|
}
|
|
27873
28008
|
}
|
|
27874
28009
|
disconnectedCallback() {
|
|
28010
|
+
disconnectInteractive(this);
|
|
27875
28011
|
disconnectLabel(this);
|
|
27876
28012
|
disconnectForm(this);
|
|
27877
28013
|
disconnectLocalized(this);
|
|
@@ -28040,6 +28176,9 @@ class Link {
|
|
|
28040
28176
|
// Lifecycle
|
|
28041
28177
|
//
|
|
28042
28178
|
//--------------------------------------------------------------------------
|
|
28179
|
+
connectedCallback() {
|
|
28180
|
+
connectInteractive(this);
|
|
28181
|
+
}
|
|
28043
28182
|
componentWillLoad() {
|
|
28044
28183
|
setUpLoadableComponent(this);
|
|
28045
28184
|
}
|
|
@@ -28049,6 +28188,9 @@ class Link {
|
|
|
28049
28188
|
componentDidRender() {
|
|
28050
28189
|
updateHostInteraction(this);
|
|
28051
28190
|
}
|
|
28191
|
+
disconnectedCallback() {
|
|
28192
|
+
disconnectInteractive(this);
|
|
28193
|
+
}
|
|
28052
28194
|
render() {
|
|
28053
28195
|
const { download, el } = this;
|
|
28054
28196
|
const dir = getElementDir(el);
|
|
@@ -28364,11 +28506,9 @@ class List$1 {
|
|
|
28364
28506
|
handleCalciteInternalListItemSelect(event) {
|
|
28365
28507
|
const target = event.target;
|
|
28366
28508
|
const { listItems, selectionMode } = this;
|
|
28367
|
-
|
|
28368
|
-
|
|
28369
|
-
|
|
28370
|
-
}
|
|
28371
|
-
});
|
|
28509
|
+
if (target.selected && (selectionMode === "single" || selectionMode === "single-persist")) {
|
|
28510
|
+
listItems.forEach((listItem) => (listItem.selected = listItem === target));
|
|
28511
|
+
}
|
|
28372
28512
|
this.updateSelectedItems();
|
|
28373
28513
|
}
|
|
28374
28514
|
handleCalciteListItemClose() {
|
|
@@ -28382,9 +28522,11 @@ class List$1 {
|
|
|
28382
28522
|
connectedCallback() {
|
|
28383
28523
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
28384
28524
|
this.updateListItems();
|
|
28525
|
+
connectInteractive(this);
|
|
28385
28526
|
}
|
|
28386
28527
|
disconnectedCallback() {
|
|
28387
28528
|
this.mutationObserver?.disconnect();
|
|
28529
|
+
disconnectInteractive(this);
|
|
28388
28530
|
}
|
|
28389
28531
|
componentWillLoad() {
|
|
28390
28532
|
setUpLoadableComponent(this);
|
|
@@ -28653,10 +28795,8 @@ class ListItem {
|
|
|
28653
28795
|
this.focusCell(null, false);
|
|
28654
28796
|
}
|
|
28655
28797
|
}
|
|
28656
|
-
handleSelectedChange(
|
|
28657
|
-
|
|
28658
|
-
this.calciteInternalListItemSelect.emit();
|
|
28659
|
-
}
|
|
28798
|
+
handleSelectedChange() {
|
|
28799
|
+
this.calciteInternalListItemSelect.emit();
|
|
28660
28800
|
}
|
|
28661
28801
|
onMessagesChange() {
|
|
28662
28802
|
/* wired up by t9n util */
|
|
@@ -28665,6 +28805,7 @@ class ListItem {
|
|
|
28665
28805
|
updateMessages(this);
|
|
28666
28806
|
}
|
|
28667
28807
|
connectedCallback() {
|
|
28808
|
+
connectInteractive(this);
|
|
28668
28809
|
connectLocalized(this);
|
|
28669
28810
|
connectMessages(this);
|
|
28670
28811
|
const { el } = this;
|
|
@@ -28684,6 +28825,7 @@ class ListItem {
|
|
|
28684
28825
|
updateHostInteraction(this, "managed");
|
|
28685
28826
|
}
|
|
28686
28827
|
disconnectedCallback() {
|
|
28828
|
+
disconnectInteractive(this);
|
|
28687
28829
|
disconnectLocalized(this);
|
|
28688
28830
|
disconnectMessages(this);
|
|
28689
28831
|
}
|
|
@@ -28876,10 +29018,14 @@ class ListItemGroup {
|
|
|
28876
29018
|
connectedCallback() {
|
|
28877
29019
|
const { el } = this;
|
|
28878
29020
|
this.visualLevel = getDepth(el, true);
|
|
29021
|
+
connectInteractive(this);
|
|
28879
29022
|
}
|
|
28880
29023
|
componentDidRender() {
|
|
28881
29024
|
updateHostInteraction(this);
|
|
28882
29025
|
}
|
|
29026
|
+
disconnectedCallback() {
|
|
29027
|
+
disconnectInteractive(this);
|
|
29028
|
+
}
|
|
28883
29029
|
// --------------------------------------------------------------------------
|
|
28884
29030
|
//
|
|
28885
29031
|
// Render Methods
|
|
@@ -29986,6 +30132,7 @@ class Panel {
|
|
|
29986
30132
|
//
|
|
29987
30133
|
//--------------------------------------------------------------------------
|
|
29988
30134
|
connectedCallback() {
|
|
30135
|
+
connectInteractive(this);
|
|
29989
30136
|
connectLocalized(this);
|
|
29990
30137
|
connectMessages(this);
|
|
29991
30138
|
}
|
|
@@ -30000,6 +30147,7 @@ class Panel {
|
|
|
30000
30147
|
updateHostInteraction(this);
|
|
30001
30148
|
}
|
|
30002
30149
|
disconnectedCallback() {
|
|
30150
|
+
disconnectInteractive(this);
|
|
30003
30151
|
disconnectLocalized(this);
|
|
30004
30152
|
disconnectMessages(this);
|
|
30005
30153
|
this.resizeObserver?.disconnect();
|
|
@@ -30545,9 +30693,11 @@ class PickList {
|
|
|
30545
30693
|
connectedCallback() {
|
|
30546
30694
|
initialize.call(this);
|
|
30547
30695
|
initializeObserver.call(this);
|
|
30696
|
+
connectInteractive(this);
|
|
30548
30697
|
}
|
|
30549
30698
|
disconnectedCallback() {
|
|
30550
30699
|
cleanUpObserver.call(this);
|
|
30700
|
+
disconnectInteractive(this);
|
|
30551
30701
|
}
|
|
30552
30702
|
componentWillLoad() {
|
|
30553
30703
|
setUpLoadableComponent(this);
|
|
@@ -30812,6 +30962,7 @@ class PickListItem {
|
|
|
30812
30962
|
//
|
|
30813
30963
|
// --------------------------------------------------------------------------
|
|
30814
30964
|
connectedCallback() {
|
|
30965
|
+
connectInteractive(this);
|
|
30815
30966
|
connectLocalized(this);
|
|
30816
30967
|
connectMessages(this);
|
|
30817
30968
|
connectConditionalSlotComponent(this);
|
|
@@ -30824,6 +30975,7 @@ class PickListItem {
|
|
|
30824
30975
|
setComponentLoaded(this);
|
|
30825
30976
|
}
|
|
30826
30977
|
disconnectedCallback() {
|
|
30978
|
+
disconnectInteractive(this);
|
|
30827
30979
|
disconnectLocalized(this);
|
|
30828
30980
|
disconnectMessages(this);
|
|
30829
30981
|
disconnectConditionalSlotComponent(this);
|
|
@@ -31441,19 +31593,24 @@ class RadioButton {
|
|
|
31441
31593
|
this.queryButtons = () => {
|
|
31442
31594
|
return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((radioButton) => radioButton.name === this.name);
|
|
31443
31595
|
};
|
|
31444
|
-
this.
|
|
31596
|
+
this.isFocusable = () => {
|
|
31445
31597
|
const radioButtons = this.queryButtons();
|
|
31446
|
-
|
|
31598
|
+
const firstFocusable = radioButtons.find((radioButton) => !radioButton.disabled);
|
|
31599
|
+
const checked = radioButtons.find((radioButton) => radioButton.checked);
|
|
31600
|
+
return firstFocusable === this.el && !checked;
|
|
31447
31601
|
};
|
|
31448
31602
|
this.check = () => {
|
|
31449
31603
|
if (this.disabled) {
|
|
31450
31604
|
return;
|
|
31451
31605
|
}
|
|
31606
|
+
this.focused = true;
|
|
31607
|
+
this.setFocus();
|
|
31608
|
+
if (this.checked) {
|
|
31609
|
+
return;
|
|
31610
|
+
}
|
|
31452
31611
|
this.uncheckAllRadioButtonsInGroup();
|
|
31453
31612
|
this.checked = true;
|
|
31454
|
-
this.focused = true;
|
|
31455
31613
|
this.calciteRadioButtonChange.emit();
|
|
31456
|
-
this.setFocus();
|
|
31457
31614
|
};
|
|
31458
31615
|
this.clickHandler = () => {
|
|
31459
31616
|
if (this.disabled) {
|
|
@@ -31538,6 +31695,12 @@ class RadioButton {
|
|
|
31538
31695
|
}
|
|
31539
31696
|
this.calciteInternalRadioButtonCheckedChange.emit();
|
|
31540
31697
|
}
|
|
31698
|
+
disabledChanged() {
|
|
31699
|
+
this.updateTabIndexOfOtherRadioButtonsInGroup();
|
|
31700
|
+
}
|
|
31701
|
+
hiddenChanged() {
|
|
31702
|
+
this.updateTabIndexOfOtherRadioButtonsInGroup();
|
|
31703
|
+
}
|
|
31541
31704
|
nameChanged() {
|
|
31542
31705
|
this.checkLastRadioButton();
|
|
31543
31706
|
}
|
|
@@ -31562,19 +31725,24 @@ class RadioButton {
|
|
|
31562
31725
|
input.type = "radio";
|
|
31563
31726
|
}
|
|
31564
31727
|
onLabelClick(event) {
|
|
31565
|
-
if (
|
|
31566
|
-
|
|
31567
|
-
|
|
31568
|
-
|
|
31569
|
-
|
|
31570
|
-
|
|
31571
|
-
|
|
31572
|
-
|
|
31573
|
-
|
|
31574
|
-
}
|
|
31575
|
-
this.calciteRadioButtonChange.emit();
|
|
31576
|
-
this.setFocus();
|
|
31728
|
+
if (this.disabled || this.hidden) {
|
|
31729
|
+
return;
|
|
31730
|
+
}
|
|
31731
|
+
const label = event.currentTarget;
|
|
31732
|
+
const radioButton = label.for
|
|
31733
|
+
? this.rootNode.querySelector(`calcite-radio-button[id="${label.for}"]`)
|
|
31734
|
+
: label.querySelector(`calcite-radio-button[name="${this.name}"]`);
|
|
31735
|
+
if (!radioButton) {
|
|
31736
|
+
return;
|
|
31577
31737
|
}
|
|
31738
|
+
radioButton.focused = true;
|
|
31739
|
+
this.setFocus();
|
|
31740
|
+
if (radioButton.checked) {
|
|
31741
|
+
return;
|
|
31742
|
+
}
|
|
31743
|
+
this.uncheckOtherRadioButtonsInGroup();
|
|
31744
|
+
radioButton.checked = true;
|
|
31745
|
+
this.calciteRadioButtonChange.emit();
|
|
31578
31746
|
}
|
|
31579
31747
|
checkLastRadioButton() {
|
|
31580
31748
|
const radioButtons = this.queryButtons();
|
|
@@ -31612,11 +31780,18 @@ class RadioButton {
|
|
|
31612
31780
|
}
|
|
31613
31781
|
});
|
|
31614
31782
|
}
|
|
31783
|
+
updateTabIndexOfOtherRadioButtonsInGroup() {
|
|
31784
|
+
const radioButtons = this.queryButtons();
|
|
31785
|
+
const otherFocusableRadioButtons = radioButtons.filter((radioButton) => radioButton.guid !== this.guid && !radioButton.disabled);
|
|
31786
|
+
otherFocusableRadioButtons.forEach((radioButton) => {
|
|
31787
|
+
forceUpdate$1(radioButton);
|
|
31788
|
+
});
|
|
31789
|
+
}
|
|
31615
31790
|
getTabIndex() {
|
|
31616
31791
|
if (this.disabled) {
|
|
31617
31792
|
return undefined;
|
|
31618
31793
|
}
|
|
31619
|
-
return this.checked || this.
|
|
31794
|
+
return this.checked || this.isFocusable() ? 0 : -1;
|
|
31620
31795
|
}
|
|
31621
31796
|
//--------------------------------------------------------------------------
|
|
31622
31797
|
//
|
|
@@ -31646,8 +31821,10 @@ class RadioButton {
|
|
|
31646
31821
|
if (this.name) {
|
|
31647
31822
|
this.checkLastRadioButton();
|
|
31648
31823
|
}
|
|
31824
|
+
connectInteractive(this);
|
|
31649
31825
|
connectLabel(this);
|
|
31650
31826
|
connectForm(this);
|
|
31827
|
+
this.updateTabIndexOfOtherRadioButtonsInGroup();
|
|
31651
31828
|
}
|
|
31652
31829
|
componentWillLoad() {
|
|
31653
31830
|
setUpLoadableComponent(this);
|
|
@@ -31659,8 +31836,10 @@ class RadioButton {
|
|
|
31659
31836
|
}
|
|
31660
31837
|
}
|
|
31661
31838
|
disconnectedCallback() {
|
|
31839
|
+
disconnectInteractive(this);
|
|
31662
31840
|
disconnectLabel(this);
|
|
31663
31841
|
disconnectForm(this);
|
|
31842
|
+
this.updateTabIndexOfOtherRadioButtonsInGroup();
|
|
31664
31843
|
}
|
|
31665
31844
|
componentDidRender() {
|
|
31666
31845
|
updateHostInteraction(this);
|
|
@@ -31679,6 +31858,8 @@ class RadioButton {
|
|
|
31679
31858
|
get el() { return getElement(this); }
|
|
31680
31859
|
static get watchers() { return {
|
|
31681
31860
|
"checked": ["checkedChanged"],
|
|
31861
|
+
"disabled": ["disabledChanged"],
|
|
31862
|
+
"hidden": ["hiddenChanged"],
|
|
31682
31863
|
"name": ["nameChanged"]
|
|
31683
31864
|
}; }
|
|
31684
31865
|
static get style() { return radioButtonCss; }
|
|
@@ -31981,6 +32162,7 @@ class Rating {
|
|
|
31981
32162
|
//
|
|
31982
32163
|
//--------------------------------------------------------------------------
|
|
31983
32164
|
connectedCallback() {
|
|
32165
|
+
connectInteractive(this);
|
|
31984
32166
|
connectLocalized(this);
|
|
31985
32167
|
connectMessages(this);
|
|
31986
32168
|
connectLabel(this);
|
|
@@ -32029,6 +32211,7 @@ class Rating {
|
|
|
32029
32211
|
setComponentLoaded(this);
|
|
32030
32212
|
}
|
|
32031
32213
|
disconnectedCallback() {
|
|
32214
|
+
disconnectInteractive(this);
|
|
32032
32215
|
disconnectLocalized(this);
|
|
32033
32216
|
disconnectMessages(this);
|
|
32034
32217
|
disconnectLabel(this);
|
|
@@ -32114,6 +32297,11 @@ const CSS$j = {
|
|
|
32114
32297
|
scrim: "scrim",
|
|
32115
32298
|
content: "content"
|
|
32116
32299
|
};
|
|
32300
|
+
const BREAKPOINTS = {
|
|
32301
|
+
s: 72,
|
|
32302
|
+
// medium is assumed default.
|
|
32303
|
+
l: 480 // Greater than or equal to 480px.
|
|
32304
|
+
};
|
|
32117
32305
|
|
|
32118
32306
|
const scrimCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-scrim:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-scrim{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-scrim{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-scrim{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-scrim{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-scrim{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-scrim{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-scrim{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-scrim:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-scrim:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-scrim-h{display:none}/*!@:host*/.sc-calcite-scrim-h{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}/*!@.scrim*/.scrim.sc-calcite-scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}/*!@.content*/.content.sc-calcite-scrim{padding:1rem}";
|
|
32119
32307
|
|
|
@@ -32123,9 +32311,20 @@ const scrimCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{
|
|
|
32123
32311
|
class Scrim {
|
|
32124
32312
|
constructor(hostRef) {
|
|
32125
32313
|
registerInstance(this, hostRef);
|
|
32314
|
+
this.resizeObserver = createObserver();
|
|
32315
|
+
// --------------------------------------------------------------------------
|
|
32316
|
+
//
|
|
32317
|
+
// Private Methods
|
|
32318
|
+
//
|
|
32319
|
+
// --------------------------------------------------------------------------
|
|
32320
|
+
this.storeLoaderEl = (el) => {
|
|
32321
|
+
this.loaderEl = el;
|
|
32322
|
+
this.handleResize();
|
|
32323
|
+
};
|
|
32126
32324
|
this.loading = false;
|
|
32127
32325
|
this.messages = undefined;
|
|
32128
32326
|
this.messageOverrides = undefined;
|
|
32327
|
+
this.loaderScale = undefined;
|
|
32129
32328
|
this.defaultMessages = undefined;
|
|
32130
32329
|
this.effectiveLocale = "";
|
|
32131
32330
|
}
|
|
@@ -32159,10 +32358,28 @@ class Scrim {
|
|
|
32159
32358
|
render() {
|
|
32160
32359
|
const { el, loading, messages } = this;
|
|
32161
32360
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
32162
|
-
const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
|
|
32361
|
+
const loaderNode = loading ? (hAsync("calcite-loader", { label: messages.loading, ref: this.storeLoaderEl, scale: this.loaderScale })) : null;
|
|
32163
32362
|
const contentNode = hasContent ? (hAsync("div", { class: CSS$j.content }, hAsync("slot", null))) : null;
|
|
32164
32363
|
return (hAsync("div", { class: CSS$j.scrim }, loaderNode, contentNode));
|
|
32165
32364
|
}
|
|
32365
|
+
getScale(size) {
|
|
32366
|
+
if (size < BREAKPOINTS.s) {
|
|
32367
|
+
return "s";
|
|
32368
|
+
}
|
|
32369
|
+
else if (size >= BREAKPOINTS.l) {
|
|
32370
|
+
return "l";
|
|
32371
|
+
}
|
|
32372
|
+
else {
|
|
32373
|
+
return "m";
|
|
32374
|
+
}
|
|
32375
|
+
}
|
|
32376
|
+
handleResize() {
|
|
32377
|
+
const { loaderEl, el } = this;
|
|
32378
|
+
if (!loaderEl) {
|
|
32379
|
+
return;
|
|
32380
|
+
}
|
|
32381
|
+
this.loaderScale = this.getScale(Math.min(el.clientHeight, el.clientWidth) ?? 0);
|
|
32382
|
+
}
|
|
32166
32383
|
static get assetsDirs() { return ["assets"]; }
|
|
32167
32384
|
get el() { return getElement(this); }
|
|
32168
32385
|
static get watchers() { return {
|
|
@@ -32177,6 +32394,7 @@ class Scrim {
|
|
|
32177
32394
|
"loading": [516],
|
|
32178
32395
|
"messages": [1040],
|
|
32179
32396
|
"messageOverrides": [1040],
|
|
32397
|
+
"loaderScale": [32],
|
|
32180
32398
|
"defaultMessages": [32],
|
|
32181
32399
|
"effectiveLocale": [32]
|
|
32182
32400
|
},
|
|
@@ -32258,10 +32476,12 @@ class SegmentedControl {
|
|
|
32258
32476
|
setComponentLoaded(this);
|
|
32259
32477
|
}
|
|
32260
32478
|
connectedCallback() {
|
|
32479
|
+
connectInteractive(this);
|
|
32261
32480
|
connectLabel(this);
|
|
32262
32481
|
connectForm(this);
|
|
32263
32482
|
}
|
|
32264
32483
|
disconnectedCallback() {
|
|
32484
|
+
disconnectInteractive(this);
|
|
32265
32485
|
disconnectLabel(this);
|
|
32266
32486
|
disconnectForm(this);
|
|
32267
32487
|
}
|
|
@@ -32519,11 +32739,13 @@ class Select {
|
|
|
32519
32739
|
subtree: true,
|
|
32520
32740
|
childList: true
|
|
32521
32741
|
});
|
|
32742
|
+
connectInteractive(this);
|
|
32522
32743
|
connectLabel(this);
|
|
32523
32744
|
connectForm(this);
|
|
32524
32745
|
}
|
|
32525
32746
|
disconnectedCallback() {
|
|
32526
32747
|
this.mutationObserver?.disconnect();
|
|
32748
|
+
disconnectInteractive(this);
|
|
32527
32749
|
disconnectLabel(this);
|
|
32528
32750
|
disconnectForm(this);
|
|
32529
32751
|
}
|
|
@@ -33426,6 +33648,7 @@ class Slider {
|
|
|
33426
33648
|
//
|
|
33427
33649
|
//--------------------------------------------------------------------------
|
|
33428
33650
|
connectedCallback() {
|
|
33651
|
+
connectInteractive(this);
|
|
33429
33652
|
connectLocalized(this);
|
|
33430
33653
|
this.setMinMaxFromValue();
|
|
33431
33654
|
this.setValueFromMinMax();
|
|
@@ -33433,6 +33656,7 @@ class Slider {
|
|
|
33433
33656
|
connectForm(this);
|
|
33434
33657
|
}
|
|
33435
33658
|
disconnectedCallback() {
|
|
33659
|
+
disconnectInteractive(this);
|
|
33436
33660
|
disconnectLabel(this);
|
|
33437
33661
|
disconnectForm(this);
|
|
33438
33662
|
disconnectLocalized(this);
|
|
@@ -37266,8 +37490,10 @@ class SortableList {
|
|
|
37266
37490
|
connectedCallback() {
|
|
37267
37491
|
this.setUpSorting();
|
|
37268
37492
|
this.beginObserving();
|
|
37493
|
+
connectInteractive(this);
|
|
37269
37494
|
}
|
|
37270
37495
|
disconnectedCallback() {
|
|
37496
|
+
disconnectInteractive(this);
|
|
37271
37497
|
disconnectSortableComponent(this);
|
|
37272
37498
|
this.endObserving();
|
|
37273
37499
|
}
|
|
@@ -37453,6 +37679,9 @@ class SplitButton {
|
|
|
37453
37679
|
// Lifecycle
|
|
37454
37680
|
//
|
|
37455
37681
|
//--------------------------------------------------------------------------
|
|
37682
|
+
connectedCallback() {
|
|
37683
|
+
connectInteractive(this);
|
|
37684
|
+
}
|
|
37456
37685
|
componentWillLoad() {
|
|
37457
37686
|
setUpLoadableComponent(this);
|
|
37458
37687
|
}
|
|
@@ -37462,6 +37691,9 @@ class SplitButton {
|
|
|
37462
37691
|
componentDidRender() {
|
|
37463
37692
|
updateHostInteraction(this);
|
|
37464
37693
|
}
|
|
37694
|
+
disconnectedCallback() {
|
|
37695
|
+
disconnectInteractive(this);
|
|
37696
|
+
}
|
|
37465
37697
|
render() {
|
|
37466
37698
|
const widthClasses = {
|
|
37467
37699
|
[CSS$b.container]: true,
|
|
@@ -37918,6 +38150,7 @@ class StepperItem {
|
|
|
37918
38150
|
//
|
|
37919
38151
|
//--------------------------------------------------------------------------
|
|
37920
38152
|
connectedCallback() {
|
|
38153
|
+
connectInteractive(this);
|
|
37921
38154
|
connectLocalized(this);
|
|
37922
38155
|
}
|
|
37923
38156
|
componentWillLoad() {
|
|
@@ -37940,6 +38173,7 @@ class StepperItem {
|
|
|
37940
38173
|
updateHostInteraction(this, true);
|
|
37941
38174
|
}
|
|
37942
38175
|
disconnectedCallback() {
|
|
38176
|
+
disconnectInteractive(this);
|
|
37943
38177
|
disconnectLocalized(this);
|
|
37944
38178
|
}
|
|
37945
38179
|
render() {
|
|
@@ -38095,6 +38329,7 @@ class Switch {
|
|
|
38095
38329
|
//
|
|
38096
38330
|
//--------------------------------------------------------------------------
|
|
38097
38331
|
connectedCallback() {
|
|
38332
|
+
connectInteractive(this);
|
|
38098
38333
|
connectLabel(this);
|
|
38099
38334
|
connectForm(this);
|
|
38100
38335
|
}
|
|
@@ -38105,6 +38340,7 @@ class Switch {
|
|
|
38105
38340
|
setComponentLoaded(this);
|
|
38106
38341
|
}
|
|
38107
38342
|
disconnectedCallback() {
|
|
38343
|
+
disconnectInteractive(this);
|
|
38108
38344
|
disconnectLabel(this);
|
|
38109
38345
|
disconnectForm(this);
|
|
38110
38346
|
}
|
|
@@ -38574,6 +38810,7 @@ class TabTitle {
|
|
|
38574
38810
|
//
|
|
38575
38811
|
//--------------------------------------------------------------------------
|
|
38576
38812
|
connectedCallback() {
|
|
38813
|
+
connectInteractive(this);
|
|
38577
38814
|
connectLocalized(this);
|
|
38578
38815
|
connectMessages(this);
|
|
38579
38816
|
this.setupTextContentObserver();
|
|
@@ -38587,6 +38824,7 @@ class TabTitle {
|
|
|
38587
38824
|
detail: this.el
|
|
38588
38825
|
}));
|
|
38589
38826
|
this.resizeObserver?.disconnect();
|
|
38827
|
+
disconnectInteractive(this);
|
|
38590
38828
|
disconnectLocalized(this);
|
|
38591
38829
|
disconnectMessages(this);
|
|
38592
38830
|
}
|
|
@@ -39027,6 +39265,7 @@ class TextArea {
|
|
|
39027
39265
|
//
|
|
39028
39266
|
//--------------------------------------------------------------------------
|
|
39029
39267
|
connectedCallback() {
|
|
39268
|
+
connectInteractive(this);
|
|
39030
39269
|
connectLabel(this);
|
|
39031
39270
|
connectForm(this);
|
|
39032
39271
|
connectLocalized(this);
|
|
@@ -39044,6 +39283,7 @@ class TextArea {
|
|
|
39044
39283
|
this.setTextAreaHeight();
|
|
39045
39284
|
}
|
|
39046
39285
|
disconnectedCallback() {
|
|
39286
|
+
disconnectInteractive(this);
|
|
39047
39287
|
disconnectLabel(this);
|
|
39048
39288
|
disconnectForm(this);
|
|
39049
39289
|
disconnectLocalized(this);
|
|
@@ -39207,9 +39447,11 @@ class Tile {
|
|
|
39207
39447
|
// --------------------------------------------------------------------------
|
|
39208
39448
|
connectedCallback() {
|
|
39209
39449
|
connectConditionalSlotComponent(this);
|
|
39450
|
+
connectInteractive(this);
|
|
39210
39451
|
}
|
|
39211
39452
|
disconnectedCallback() {
|
|
39212
39453
|
disconnectConditionalSlotComponent(this);
|
|
39454
|
+
disconnectInteractive(this);
|
|
39213
39455
|
}
|
|
39214
39456
|
componentDidRender() {
|
|
39215
39457
|
updateHostInteraction(this);
|
|
@@ -39391,6 +39633,7 @@ class TileSelect {
|
|
|
39391
39633
|
//--------------------------------------------------------------------------
|
|
39392
39634
|
connectedCallback() {
|
|
39393
39635
|
this.renderInput();
|
|
39636
|
+
connectInteractive(this);
|
|
39394
39637
|
}
|
|
39395
39638
|
componentWillLoad() {
|
|
39396
39639
|
setUpLoadableComponent(this);
|
|
@@ -39400,6 +39643,7 @@ class TileSelect {
|
|
|
39400
39643
|
}
|
|
39401
39644
|
disconnectedCallback() {
|
|
39402
39645
|
this.input.parentNode.removeChild(this.input);
|
|
39646
|
+
disconnectInteractive(this);
|
|
39403
39647
|
}
|
|
39404
39648
|
componentDidRender() {
|
|
39405
39649
|
updateHostInteraction(this);
|
|
@@ -39493,9 +39737,15 @@ class TileSelectGroup {
|
|
|
39493
39737
|
// Lifecycle
|
|
39494
39738
|
//
|
|
39495
39739
|
//--------------------------------------------------------------------------
|
|
39740
|
+
connectedCallback() {
|
|
39741
|
+
connectInteractive(this);
|
|
39742
|
+
}
|
|
39496
39743
|
componentDidRender() {
|
|
39497
39744
|
updateHostInteraction(this);
|
|
39498
39745
|
}
|
|
39746
|
+
disconnectedCallback() {
|
|
39747
|
+
disconnectInteractive(this);
|
|
39748
|
+
}
|
|
39499
39749
|
render() {
|
|
39500
39750
|
return hAsync("slot", null);
|
|
39501
39751
|
}
|
|
@@ -41295,7 +41545,7 @@ const ICONS$1 = {
|
|
|
41295
41545
|
blank: "blank"
|
|
41296
41546
|
};
|
|
41297
41547
|
|
|
41298
|
-
const treeItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tree-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tree-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tree-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tree-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tree-item{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-tree-item{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-tree-item{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tree-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tree-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tree-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-tree-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-tree-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-tree-item-h *.sc-calcite-tree-item,.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-tree-item-h{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}/*!@[hidden]*/[hidden].sc-calcite-tree-item{display:none}/*!@.node-actions-container*/.node-actions-container.sc-calcite-tree-item{display:flex;justify-content:space-between}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tree-item-h{visibility:hidden !important;pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tree-item-h [calcite-hydrated][disabled].sc-calcite-tree-item{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .node-actions-container*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:1.5rem}/*!@:host([scale=s]) .node-actions-container .node-container .checkbox,\n:host([scale=s]) .node-actions-container .node-container .chevron,\n:host([scale=s]) .node-actions-container .node-container .checkmark,\n:host([scale=s]) .node-actions-container .node-container .bullet-point*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.25rem}/*!@:host([scale=s]) .node-actions-container .node-container .icon-start*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .node-actions-container*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2rem}/*!@:host([scale=m]) .node-actions-container .node-container .checkbox,\n:host([scale=m]) .node-actions-container .node-container .chevron,\n:host([scale=m]) .node-actions-container .node-container .checkmark,\n:host([scale=m]) .node-actions-container .node-container .bullet-point*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.5rem}/*!@:host([scale=m]) .node-actions-container .node-container .icon-start*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tree-item-h{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .node-actions-container*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .checkbox,\n:host([scale=l]) .node-actions-container .node-container .chevron,\n:host([scale=l]) .node-actions-container .node-container .checkmark,\n:host([scale=l]) .node-actions-container .node-container .bullet-point*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .icon-start*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([lines]) .children-container:after*/[lines].sc-calcite-tree-item-h .children-container.sc-calcite-tree-item:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}/*!@:host(:not([lines])) .node-container:after*/.sc-calcite-tree-item-h:not([lines]) .node-container.sc-calcite-tree-item:after{display:none}/*!@::slotted(*)*/.sc-calcite-tree-item-s>*{min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}/*!@::slotted(*):hover*/.sc-calcite-tree-item-s>*:hover{text-decoration:none !important}/*!@::slotted(a)*/.sc-calcite-tree-item-s>a{inline-size:100%;text-decoration-line:none}/*!@:host*/.sc-calcite-tree-item-h{outline-color:transparent}/*!@:host:focus, :host:active*/.sc-calcite-tree-item-h:focus,.sc-calcite-tree-item-h:active{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host(:focus:not([disabled]))*/.sc-calcite-tree-item-h:focus:not([disabled]){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.actions-end*/.actions-end.sc-calcite-tree-item{display:flex;flex-direction:row;align-items:center;align-self:stretch}/*!@.checkbox*/.checkbox.sc-calcite-tree-item{line-height:0}/*!@.checkbox-label*/.checkbox-label.sc-calcite-tree-item{pointer-events:none;display:flex;align-items:center}/*!@.checkbox:focus*/.checkbox.sc-calcite-tree-item:focus{outline:2px solid transparent;outline-offset:2px}/*!@.children-container*/.children-container.sc-calcite-tree-item{position:relative;block-size:0px;overflow:hidden;margin-inline-start:1.25rem;transform:scaleY(0);opacity:0;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transform-origin:top}/*!@.item--expanded > .children-container*/.item--expanded.sc-calcite-tree-item>.children-container.sc-calcite-tree-item{overflow:visible;opacity:1;block-size:auto}/*!@.node-container*/.node-container.sc-calcite-tree-item{position:relative;display:flex;min-inline-size:0px;align-items:center}/*!@.node-container .checkmark,\n.node-container .bullet-point*/.node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}/*!@.node-container:hover .checkmark,\n.node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host(:focus:not([disabled])) .node-container .checkmark,\n:host(:focus:not([disabled])) .node-container .bullet-point*/.node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:1}/*!@:host([selected]) .node-container,\n:host([selected]) .node-container:hover*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .node-container .bullet-point,\n:host([selected]) .node-container .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container.sc-calcite-tree-item{padding-inline-start:0.5rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container.sc-calcite-tree-item{padding-inline-start:1rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.25rem}/*!@:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.75rem}/*!@:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox*/[has-children].sc-calcite-tree-item-h .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{margin-inline-start:0}/*!@:host([has-children]) .node-container .bullet-point,\n:host([has-children]) .node-container .checkmark*/[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item{display:none}/*!@:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*)*/.sc-calcite-tree-item-h[has-children][expanded]:not([selected]):not([selection-mode=none]) .node-container .sc-calcite-tree-item-s>*{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([has-children][selected]) .node-container[data-selection-mode=children], :host([has-children][selected]) .node-container[data-selection-mode=multichildren]*/[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=children].sc-calcite-tree-item,[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=multichildren].sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@.chevron*/.chevron.sc-calcite-tree-item{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}/*!@.calcite--rtl .chevron*/.calcite--rtl.sc-calcite-tree-item .chevron.sc-calcite-tree-item{transform:rotate(180deg)}/*!@.item--expanded .node-container > .chevron*/.item--expanded.sc-calcite-tree-item .node-container.sc-calcite-tree-item>.chevron.sc-calcite-tree-item{transform:rotate(90deg)}/*!@:host([selected]) .checkmark,\n:host([selected]) .bullet-point*/[selected].sc-calcite-tree-item-h .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .bullet-point.sc-calcite-tree-item{color:var(--calcite-ui-brand)}";
|
|
41548
|
+
const treeItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tree-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tree-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tree-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tree-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tree-item{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-tree-item{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-tree-item{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tree-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tree-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tree-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-tree-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-tree-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-tree-item-h *.sc-calcite-tree-item,.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-tree-item-h{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}/*!@[hidden]*/[hidden].sc-calcite-tree-item{display:none}/*!@.node-actions-container*/.node-actions-container.sc-calcite-tree-item{display:flex;justify-content:space-between}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tree-item-h{visibility:hidden !important;pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tree-item-h [calcite-hydrated][disabled].sc-calcite-tree-item{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .node-actions-container*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:1.5rem}/*!@:host([scale=s]) .node-actions-container .node-container .checkbox,\n:host([scale=s]) .node-actions-container .node-container .chevron,\n:host([scale=s]) .node-actions-container .node-container .checkmark,\n:host([scale=s]) .node-actions-container .node-container .bullet-point*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.25rem}/*!@:host([scale=s]) .node-actions-container .node-container .icon-start*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .node-actions-container*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2rem}/*!@:host([scale=m]) .node-actions-container .node-container .checkbox,\n:host([scale=m]) .node-actions-container .node-container .chevron,\n:host([scale=m]) .node-actions-container .node-container .checkmark,\n:host([scale=m]) .node-actions-container .node-container .bullet-point*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.5rem}/*!@:host([scale=m]) .node-actions-container .node-container .icon-start*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tree-item-h{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .node-actions-container*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .checkbox,\n:host([scale=l]) .node-actions-container .node-container .chevron,\n:host([scale=l]) .node-actions-container .node-container .checkmark,\n:host([scale=l]) .node-actions-container .node-container .bullet-point*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .icon-start*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([lines]) .children-container:after*/[lines].sc-calcite-tree-item-h .children-container.sc-calcite-tree-item:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}/*!@:host(:not([lines])) .node-container:after*/.sc-calcite-tree-item-h:not([lines]) .node-container.sc-calcite-tree-item:after{display:none}/*!@::slotted(*)*/.sc-calcite-tree-item-s>*{min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}/*!@::slotted(*):hover*/.sc-calcite-tree-item-s>*:hover{text-decoration:none !important}/*!@::slotted(a)*/.sc-calcite-tree-item-s>a{inline-size:100%;text-decoration-line:none}/*!@:host*/.sc-calcite-tree-item-h{outline-color:transparent}/*!@:host:focus, :host:active*/.sc-calcite-tree-item-h:focus,.sc-calcite-tree-item-h:active{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host(:focus:not([disabled]))*/.sc-calcite-tree-item-h:focus:not([disabled]){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.actions-end*/.actions-end.sc-calcite-tree-item{display:flex;flex-direction:row;align-items:center;align-self:stretch}/*!@.checkbox*/.checkbox.sc-calcite-tree-item{line-height:0}/*!@.checkbox-label*/.checkbox-label.sc-calcite-tree-item{pointer-events:none;display:flex;align-items:center}/*!@.checkbox:focus*/.checkbox.sc-calcite-tree-item:focus{outline:2px solid transparent;outline-offset:2px}/*!@.children-container*/.children-container.sc-calcite-tree-item{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@.item--expanded > .children-container*/.item--expanded.sc-calcite-tree-item>.children-container.sc-calcite-tree-item{overflow:visible;opacity:1;transform:none;block-size:auto}/*!@.node-container*/.node-container.sc-calcite-tree-item{position:relative;display:flex;min-inline-size:0px;align-items:center}/*!@.node-container .checkmark,\n.node-container .bullet-point*/.node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}/*!@.node-container:hover .checkmark,\n.node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host(:focus:not([disabled])) .node-container .checkmark,\n:host(:focus:not([disabled])) .node-container .bullet-point*/.node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:1}/*!@:host([selected]) .node-container,\n:host([selected]) .node-container:hover*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .node-container .bullet-point,\n:host([selected]) .node-container .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container.sc-calcite-tree-item{padding-inline-start:0.5rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container.sc-calcite-tree-item{padding-inline-start:1rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.25rem}/*!@:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.75rem}/*!@:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox*/[has-children].sc-calcite-tree-item-h .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{margin-inline-start:0}/*!@:host([has-children]) .node-container .bullet-point,\n:host([has-children]) .node-container .checkmark*/[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item{display:none}/*!@:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*)*/.sc-calcite-tree-item-h[has-children][expanded]:not([selected]):not([selection-mode=none]) .node-container .sc-calcite-tree-item-s>*{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([has-children][selected]) .node-container[data-selection-mode=children], :host([has-children][selected]) .node-container[data-selection-mode=multichildren]*/[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=children].sc-calcite-tree-item,[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=multichildren].sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@.chevron*/.chevron.sc-calcite-tree-item{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}/*!@.calcite--rtl .chevron*/.calcite--rtl.sc-calcite-tree-item .chevron.sc-calcite-tree-item{transform:rotate(180deg)}/*!@.item--expanded .node-container > .chevron*/.item--expanded.sc-calcite-tree-item .node-container.sc-calcite-tree-item>.chevron.sc-calcite-tree-item{transform:rotate(90deg)}/*!@:host([selected]) .checkmark,\n:host([selected]) .bullet-point*/[selected].sc-calcite-tree-item-h .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .bullet-point.sc-calcite-tree-item{color:var(--calcite-ui-brand)}";
|
|
41299
41549
|
|
|
41300
41550
|
/**
|
|
41301
41551
|
* @slot - A slot for adding text.
|
|
@@ -41306,8 +41556,6 @@ class TreeItem {
|
|
|
41306
41556
|
constructor(hostRef) {
|
|
41307
41557
|
registerInstance(this, hostRef);
|
|
41308
41558
|
this.calciteInternalTreeItemSelect = createEvent(this, "calciteInternalTreeItemSelect", 6);
|
|
41309
|
-
this.openTransitionProp = "opacity";
|
|
41310
|
-
this.transitionProp = "expanded";
|
|
41311
41559
|
this.iconClickHandler = (event) => {
|
|
41312
41560
|
event.stopPropagation();
|
|
41313
41561
|
this.expanded = !this.expanded;
|
|
@@ -41340,36 +41588,11 @@ class TreeItem {
|
|
|
41340
41588
|
}
|
|
41341
41589
|
expandedHandler(newValue) {
|
|
41342
41590
|
this.updateParentIsExpanded(this.el, newValue);
|
|
41343
|
-
onToggleOpenCloseComponent(this, true);
|
|
41344
41591
|
}
|
|
41345
|
-
|
|
41592
|
+
getSelectionMode() {
|
|
41346
41593
|
this.isSelectionMultiLike =
|
|
41347
41594
|
this.selectionMode === "multiple" || this.selectionMode === "multichildren";
|
|
41348
41595
|
}
|
|
41349
|
-
/**
|
|
41350
|
-
* Defines method for `beforeOpen` event handler.
|
|
41351
|
-
*/
|
|
41352
|
-
onBeforeOpen() {
|
|
41353
|
-
this.transitionEl.style.transform = "scaleY(1)";
|
|
41354
|
-
}
|
|
41355
|
-
/**
|
|
41356
|
-
* Defines method for `open` event handler:
|
|
41357
|
-
*/
|
|
41358
|
-
onOpen() {
|
|
41359
|
-
this.transitionEl.style.transform = "none";
|
|
41360
|
-
}
|
|
41361
|
-
/**
|
|
41362
|
-
* Defines method for `beforeClose` event handler:
|
|
41363
|
-
*/
|
|
41364
|
-
onBeforeClose() {
|
|
41365
|
-
// pattern needs to be defined on how we emit events for components without `open` prop.
|
|
41366
|
-
}
|
|
41367
|
-
/**
|
|
41368
|
-
* Defines method for `close` event handler:
|
|
41369
|
-
*/
|
|
41370
|
-
onClose() {
|
|
41371
|
-
this.transitionEl.style.transform = "scaleY(0)";
|
|
41372
|
-
}
|
|
41373
41596
|
//--------------------------------------------------------------------------
|
|
41374
41597
|
//
|
|
41375
41598
|
// Lifecycle
|
|
@@ -41382,9 +41605,11 @@ class TreeItem {
|
|
|
41382
41605
|
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
|
41383
41606
|
}
|
|
41384
41607
|
connectConditionalSlotComponent(this);
|
|
41608
|
+
connectInteractive(this);
|
|
41385
41609
|
}
|
|
41386
41610
|
disconnectedCallback() {
|
|
41387
41611
|
disconnectConditionalSlotComponent(this);
|
|
41612
|
+
disconnectInteractive(this);
|
|
41388
41613
|
}
|
|
41389
41614
|
componentWillRender() {
|
|
41390
41615
|
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
|
@@ -41409,9 +41634,6 @@ class TreeItem {
|
|
|
41409
41634
|
}
|
|
41410
41635
|
}
|
|
41411
41636
|
componentWillLoad() {
|
|
41412
|
-
if (this.expanded) {
|
|
41413
|
-
onToggleOpenCloseComponent(this, true);
|
|
41414
|
-
}
|
|
41415
41637
|
requestAnimationFrame(() => (this.updateAfterInitialRender = true));
|
|
41416
41638
|
}
|
|
41417
41639
|
componentDidLoad() {
|
|
@@ -41456,12 +41678,7 @@ class TreeItem {
|
|
|
41456
41678
|
ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, this.iconStart ? iconStartEl : null, checkbox ? checkbox : defaultSlotNode), hAsync("div", { class: CSS$2.actionsEnd, hidden: !hasEndActions, ref: (el) => (this.actionSlotWrapper = el) }, slotNode)), hAsync("div", { class: {
|
|
41457
41679
|
[CSS$2.childrenContainer]: true,
|
|
41458
41680
|
[CSS_UTILITY.rtl]: rtl
|
|
41459
|
-
}, "data-test-id": "calcite-tree-children", onClick: this.childrenClickHandler, role: this.hasChildren ? "group" : undefined,
|
|
41460
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
41461
|
-
ref: (el) => this.setTransitionEl(el) }, hAsync("slot", { name: SLOTS$1.children })))));
|
|
41462
|
-
}
|
|
41463
|
-
setTransitionEl(el) {
|
|
41464
|
-
this.transitionEl = el;
|
|
41681
|
+
}, "data-test-id": "calcite-tree-children", onClick: this.childrenClickHandler, role: this.hasChildren ? "group" : undefined }, hAsync("slot", { name: SLOTS$1.children })))));
|
|
41465
41682
|
}
|
|
41466
41683
|
//--------------------------------------------------------------------------
|
|
41467
41684
|
//
|
|
@@ -41575,7 +41792,7 @@ class TreeItem {
|
|
|
41575
41792
|
get el() { return getElement(this); }
|
|
41576
41793
|
static get watchers() { return {
|
|
41577
41794
|
"expanded": ["expandedHandler"],
|
|
41578
|
-
"selectionMode": ["
|
|
41795
|
+
"selectionMode": ["getSelectionMode"]
|
|
41579
41796
|
}; }
|
|
41580
41797
|
static get style() { return treeItemCss; }
|
|
41581
41798
|
static get cmpMeta() { return {
|
|
@@ -41744,6 +41961,7 @@ class ValueList {
|
|
|
41744
41961
|
//
|
|
41745
41962
|
// --------------------------------------------------------------------------
|
|
41746
41963
|
connectedCallback() {
|
|
41964
|
+
connectInteractive(this);
|
|
41747
41965
|
connectLocalized(this);
|
|
41748
41966
|
connectMessages(this);
|
|
41749
41967
|
initialize.call(this);
|
|
@@ -41762,6 +41980,7 @@ class ValueList {
|
|
|
41762
41980
|
updateHostInteraction(this);
|
|
41763
41981
|
}
|
|
41764
41982
|
disconnectedCallback() {
|
|
41983
|
+
disconnectInteractive(this);
|
|
41765
41984
|
disconnectSortableComponent(this);
|
|
41766
41985
|
disconnectLocalized(this);
|
|
41767
41986
|
disconnectMessages(this);
|
|
@@ -41975,9 +42194,11 @@ class ValueListItem {
|
|
|
41975
42194
|
// --------------------------------------------------------------------------
|
|
41976
42195
|
connectedCallback() {
|
|
41977
42196
|
connectConditionalSlotComponent(this);
|
|
42197
|
+
connectInteractive(this);
|
|
41978
42198
|
}
|
|
41979
42199
|
disconnectedCallback() {
|
|
41980
42200
|
disconnectConditionalSlotComponent(this);
|
|
42201
|
+
disconnectInteractive(this);
|
|
41981
42202
|
}
|
|
41982
42203
|
componentWillLoad() {
|
|
41983
42204
|
setUpLoadableComponent(this);
|