@esri/calcite-components 1.5.0-next.3 → 1.5.0-next.4
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-54b68720.entry.js → p-0210e840.entry.js} +2 -2
- package/dist/calcite/{p-388d8657.js → p-06b82d00.js} +2 -2
- package/dist/calcite/{p-463767e8.js → p-07689794.js} +2 -2
- package/dist/calcite/{p-4c109220.js → p-08cf9014.js} +2 -2
- package/dist/calcite/{p-756da051.js → p-0c62c93a.js} +2 -2
- package/dist/calcite/{p-cc086648.entry.js → p-100d6abb.entry.js} +2 -2
- package/dist/calcite/{p-bddc40f7.js → p-10fea07e.js} +2 -2
- package/dist/calcite/{p-49f6cfe8.entry.js → p-128c964b.entry.js} +2 -2
- package/dist/calcite/{p-abec95ac.entry.js → p-13f08df5.entry.js} +2 -2
- package/dist/calcite/{p-e522f7eb.js → p-145ee561.js} +2 -2
- package/dist/calcite/{p-04278e22.js → p-1550d063.js} +1 -1
- package/dist/calcite/{p-8064cd9c.js → p-171f9573.js} +2 -2
- package/dist/calcite/{p-416b5855.js → p-175f6531.js} +2 -2
- package/dist/calcite/{p-86f7bf8c.js → p-17f9b672.js} +2 -2
- package/dist/calcite/{p-2de1bc72.js → p-19719f09.js} +2 -2
- package/dist/calcite/p-1b22626a.entry.js +6 -0
- package/dist/calcite/{p-11e156b7.js → p-1c6cf7e8.js} +2 -2
- package/dist/calcite/p-1ceee705.entry.js +6 -0
- package/dist/calcite/{p-35caddf6.entry.js → p-1de055d9.entry.js} +2 -2
- package/dist/calcite/{p-e5485664.entry.js → p-1eb33dae.entry.js} +2 -2
- package/dist/calcite/{p-b38ee013.js → p-20cbe085.js} +1 -1
- package/dist/calcite/{p-feee09f3.entry.js → p-244d1f29.entry.js} +2 -2
- package/dist/calcite/{p-164ef792.entry.js → p-24f0918b.entry.js} +2 -2
- package/dist/calcite/{p-7daac611.js → p-26c6bcf1.js} +2 -2
- package/dist/calcite/{p-54396627.js → p-29b2baef.js} +1 -1
- package/dist/calcite/{p-f5a5652c.js → p-2e1778f8.js} +1 -1
- package/dist/calcite/{p-fb930c9f.entry.js → p-2f6f0f62.entry.js} +2 -2
- package/dist/calcite/{p-37ef2c1e.entry.js → p-313f245b.entry.js} +2 -2
- package/dist/calcite/{p-468ed2b6.js → p-3333277a.js} +1 -1
- package/dist/calcite/p-3369ede1.entry.js +6 -0
- package/dist/calcite/{p-cefb9028.js → p-34ed2168.js} +2 -2
- package/dist/calcite/p-386f62e0.js +6 -0
- package/dist/calcite/{p-5d129fbc.entry.js → p-392e9db8.entry.js} +2 -2
- package/dist/calcite/{p-78cbf703.entry.js → p-396b97c0.entry.js} +2 -2
- package/dist/calcite/{p-38f81766.js → p-3a4b94d4.js} +2 -2
- package/dist/calcite/{p-329ee5a1.entry.js → p-3b175dde.entry.js} +2 -2
- package/dist/calcite/{p-3ae8a203.js → p-3e74b762.js} +2 -2
- package/dist/calcite/{p-d4cadd8a.entry.js → p-41712dc0.entry.js} +2 -2
- package/dist/calcite/{p-48b6506e.js → p-4230e6c9.js} +2 -2
- package/dist/calcite/{p-0a3314f8.js → p-428b49a8.js} +2 -2
- package/dist/calcite/{p-9aff565b.entry.js → p-454b3a3a.entry.js} +2 -2
- package/dist/calcite/{p-9ac1589d.entry.js → p-48f9da5a.entry.js} +2 -2
- package/dist/calcite/{p-fd56f80c.js → p-4b72d1ed.js} +2 -2
- package/dist/calcite/{p-e4d2aec5.js → p-4ce28e86.js} +2 -2
- package/dist/calcite/{p-b0abfc57.js → p-50624216.js} +3 -3
- package/dist/calcite/{p-2ec1f3ea.entry.js → p-5240eb84.entry.js} +2 -2
- package/dist/calcite/p-52f813ec.entry.js +6 -0
- package/dist/calcite/p-536af17f.entry.js +6 -0
- package/dist/calcite/{p-593adedd.entry.js → p-54973b7f.entry.js} +2 -2
- package/dist/calcite/{p-101b234f.js → p-5515a69c.js} +2 -2
- package/dist/calcite/{p-5836bd17.js → p-565e2516.js} +2 -2
- package/dist/calcite/{p-f2c3f053.js → p-5671ae2e.js} +2 -2
- package/dist/calcite/p-5671cec2.entry.js +6 -0
- package/dist/calcite/{p-abeff317.js → p-5b4ab7c1.js} +2 -2
- package/dist/calcite/{p-f985221b.entry.js → p-5bb5d019.entry.js} +2 -2
- package/dist/calcite/{p-f4b6b83d.entry.js → p-5c6cb671.entry.js} +2 -2
- package/dist/calcite/{p-a1e17623.entry.js → p-6208d429.entry.js} +2 -2
- package/dist/calcite/{p-51f2b056.js → p-63242d07.js} +2 -2
- package/dist/calcite/{p-5213d3c2.entry.js → p-6397975b.entry.js} +2 -2
- package/dist/calcite/{p-9c2cde2b.js → p-64176d3c.js} +2 -2
- package/dist/calcite/{p-3515e752.entry.js → p-6511330e.entry.js} +2 -2
- package/dist/calcite/{p-134963cf.entry.js → p-658b35b3.entry.js} +2 -2
- package/dist/calcite/{p-e7016464.entry.js → p-6628066e.entry.js} +2 -2
- package/dist/calcite/p-66e56e9b.entry.js +6 -0
- package/dist/calcite/{p-091fd402.js → p-67356414.js} +2 -2
- package/dist/calcite/{p-608cffa9.js → p-6a81490e.js} +2 -2
- package/dist/calcite/{p-9a29eddd.entry.js → p-6ae8ae83.entry.js} +2 -2
- package/dist/calcite/{p-18dbbb72.js → p-6cc841ca.js} +1 -1
- package/dist/calcite/{p-21a7e201.js → p-6e162845.js} +2 -2
- package/dist/calcite/{p-e815cafa.js → p-6eba965d.js} +2 -2
- package/dist/calcite/{p-97c5fb74.entry.js → p-71dd3346.entry.js} +2 -2
- package/dist/calcite/{p-10ac9980.js → p-7549eee8.js} +2 -2
- package/dist/calcite/{p-3124550d.entry.js → p-77298851.entry.js} +2 -2
- package/dist/calcite/{p-8c25733e.entry.js → p-77f63499.entry.js} +2 -2
- package/dist/calcite/{p-d4cf5746.entry.js → p-7824761f.entry.js} +2 -2
- package/dist/calcite/{p-5a2116d2.entry.js → p-785387e6.entry.js} +2 -2
- package/dist/calcite/{p-4e8345b3.entry.js → p-792eb55b.entry.js} +2 -2
- package/dist/calcite/{p-e47153e7.entry.js → p-7b372a44.entry.js} +2 -2
- package/dist/calcite/{p-bbc4622f.entry.js → p-80086780.entry.js} +2 -2
- package/dist/calcite/{p-c0d4ed5a.entry.js → p-815882f3.entry.js} +2 -2
- package/dist/calcite/{p-566ee4fb.entry.js → p-817e9691.entry.js} +2 -2
- package/dist/calcite/{p-bd0ca506.js → p-819d8358.js} +2 -2
- package/dist/calcite/{p-ce90c75b.entry.js → p-83eecff7.entry.js} +2 -2
- package/dist/calcite/{p-cd0e0878.js → p-8c5ad359.js} +2 -2
- package/dist/calcite/{p-121719fb.js → p-8f0f60d4.js} +2 -2
- package/dist/calcite/{p-b4860869.js → p-902b4f6e.js} +1 -1
- package/dist/calcite/{p-6dde09f4.js → p-927e46b7.js} +2 -2
- package/dist/calcite/{p-e345755c.js → p-9759fc98.js} +1 -1
- package/dist/calcite/p-97d31eac.js +6 -0
- package/dist/calcite/{p-137edb31.js → p-984a8919.js} +2 -2
- package/dist/calcite/{p-c45c393a.entry.js → p-9a4fdac7.entry.js} +2 -2
- package/dist/calcite/{p-008d578c.js → p-9bac2804.js} +2 -2
- package/dist/calcite/{p-7873f1a4.entry.js → p-9dbbe0f6.entry.js} +2 -2
- package/dist/calcite/{p-942cd7f8.js → p-a53663bc.js} +1 -1
- package/dist/calcite/{p-e8c2f550.js → p-a56fe1f7.js} +1 -1
- package/dist/calcite/{p-e6c5231d.entry.js → p-a787d09e.entry.js} +2 -2
- package/dist/calcite/{p-d1496d1c.entry.js → p-a7de4540.entry.js} +2 -2
- package/dist/calcite/{p-cb6c8443.js → p-a8d4c15a.js} +2 -2
- package/dist/calcite/{p-9b86fb06.js → p-a9ac5c35.js} +2 -2
- package/dist/calcite/{p-e649e313.js → p-aad7ec0d.js} +2 -2
- package/dist/calcite/{p-f70ea221.entry.js → p-add2d209.entry.js} +2 -2
- package/dist/calcite/p-ae02d755.js +6 -0
- package/dist/calcite/{p-9a285cfc.js → p-b4e69c2f.js} +2 -2
- package/dist/calcite/{p-cf377921.js → p-b696940c.js} +2 -2
- package/dist/calcite/{p-c2b7024f.js → p-b8bed9ad.js} +2 -2
- package/dist/calcite/{p-cc6d3680.js → p-b9d8e974.js} +2 -2
- package/dist/calcite/{p-12b442a2.js → p-bb203532.js} +2 -2
- package/dist/calcite/{p-b6237f9b.js → p-bbb74ace.js} +2 -2
- package/dist/calcite/{p-db6d31be.js → p-bc15a8c6.js} +2 -2
- package/dist/calcite/{p-1e9bf083.js → p-bc26f966.js} +2 -2
- package/dist/calcite/{p-eb7d0b42.js → p-bc98ae13.js} +1 -1
- package/dist/calcite/{p-b448b71e.js → p-c121d63d.js} +2 -2
- package/dist/calcite/{p-2c60840f.js → p-c1848732.js} +1 -1
- package/dist/calcite/{p-32306f3c.entry.js → p-c6eadbf0.entry.js} +2 -2
- package/dist/calcite/{p-9466975b.js → p-c8628cde.js} +2 -2
- package/dist/calcite/{p-cbce26d9.js → p-c98932ac.js} +2 -2
- package/dist/calcite/{p-933af3c8.entry.js → p-ca97c1d9.entry.js} +2 -2
- package/dist/calcite/{p-22e5b579.js → p-ce4a5db5.js} +2 -2
- package/dist/calcite/{p-83918ff1.entry.js → p-d4919db4.entry.js} +2 -2
- package/dist/calcite/{p-5e5cf331.entry.js → p-d61ff31d.entry.js} +2 -2
- package/dist/calcite/{p-b656fc7b.js → p-d6775b93.js} +1 -1
- package/dist/calcite/{p-d44dcbe2.js → p-d73fde02.js} +2 -2
- package/dist/calcite/{p-67362b05.entry.js → p-d93d1322.entry.js} +2 -2
- package/dist/calcite/{p-963ee9d6.js → p-d94ce01e.js} +2 -2
- package/dist/calcite/{p-faac1635.entry.js → p-da0621da.entry.js} +2 -2
- package/dist/calcite/{p-a50922d0.entry.js → p-db46880b.entry.js} +2 -2
- package/dist/calcite/p-dc56d76a.entry.js +6 -0
- package/dist/calcite/{p-7d70cba4.js → p-dcdaa909.js} +2 -2
- package/dist/calcite/{p-b9f343ba.entry.js → p-df61af68.entry.js} +2 -2
- package/dist/calcite/{p-fd99b31e.entry.js → p-e1dc1d19.entry.js} +2 -2
- package/dist/calcite/{p-85af2cc9.js → p-e3479c79.js} +1 -1
- package/dist/calcite/{p-8a25a2ad.js → p-e3aeb727.js} +2 -2
- package/dist/calcite/{p-866a1b23.js → p-e51aceb3.js} +2 -2
- package/dist/calcite/p-e5f3c511.js +6 -0
- package/dist/calcite/{p-9d3a7da7.entry.js → p-e7606d01.entry.js} +2 -2
- package/dist/calcite/{p-f96d4cd9.js → p-ed298fd1.js} +2 -2
- package/dist/calcite/{p-772dc41f.js → p-eed23d62.js} +2 -2
- package/dist/calcite/{p-a30b6d39.js → p-ef244b9a.js} +2 -2
- package/dist/calcite/{p-257d4e73.entry.js → p-f158e12d.entry.js} +2 -2
- package/dist/calcite/{p-187b9f88.js → p-f175de16.js} +1 -1
- package/dist/calcite/{p-1880b676.js → p-f28e2ecc.js} +2 -2
- package/dist/calcite/{p-7850b5bf.js → p-f35fd371.js} +2 -2
- package/dist/calcite/{p-2ecaa811.entry.js → p-f57f4b49.entry.js} +2 -2
- package/dist/calcite/{p-ebb84082.js → p-f6ccfae9.js} +2 -2
- package/dist/calcite/{p-9cfcd91f.js → p-f8bfdbe4.js} +1 -1
- package/dist/calcite/{p-fe84ed6e.entry.js → p-fae15c43.entry.js} +2 -2
- package/dist/calcite/{p-33c98b54.entry.js → p-fbba3d00.entry.js} +2 -2
- package/dist/calcite/{p-121495ce.entry.js → p-fbdb06e0.entry.js} +2 -2
- package/dist/calcite/{p-d4470fa9.js → p-fc6d4563.js} +2 -2
- package/dist/calcite/{p-a886e972.js → p-fda70763.js} +2 -2
- package/dist/cjs/{ExpandToggle-8db548f6.js → ExpandToggle-a02d545e.js} +5 -5
- package/dist/cjs/{FloatingArrow-22c0d1c3.js → FloatingArrow-d01f82a5.js} +2 -2
- package/dist/cjs/{Heading-e9633d44.js → Heading-17e5f9e8.js} +2 -2
- package/dist/cjs/{app-globals-cb698128.js → app-globals-de7b2ef4.js} +2 -2
- package/dist/cjs/{ar-1706b8a8.js → ar-759e9322.js} +16 -16
- package/dist/cjs/{array-5b1bfeaf.js → array-ab3fe676.js} +1 -1
- package/dist/cjs/{bg-b63f7be7.js → bg-889c3a5b.js} +16 -16
- package/dist/cjs/{browser-64394442.js → browser-e19cdff7.js} +1 -1
- package/dist/cjs/{bs-04f3cd11.js → bs-42adb170.js} +16 -16
- package/dist/cjs/{ca-8f1e2d8a.js → ca-69438428.js} +16 -16
- 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 +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
- 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 +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-535ff529.js → calcite-input-time-picker.calcite-time-picker-10b10082.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +18 -22
- 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 +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- 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 +33 -14
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{composed-offset-position.esm-5eddd255.js → composed-offset-position.esm-9d74c110.js} +1 -1
- package/dist/cjs/{conditionalSlot-3d86b720.js → conditionalSlot-46364346.js} +3 -3
- package/dist/cjs/{cs-8b285546.js → cs-913f1e61.js} +16 -16
- package/dist/cjs/{da-46cd75f5.js → da-eed634ae.js} +16 -16
- package/dist/cjs/{de-18fbaa5f.js → de-0b8518cc.js} +16 -16
- package/dist/cjs/{de-at-df2817ed.js → de-at-1b8ed8e8.js} +16 -16
- package/dist/cjs/{de-ch-bbf88b74.js → de-ch-13b4bab2.js} +16 -16
- package/dist/cjs/{debounce-e09471b5.js → debounce-4ea8fc9f.js} +1 -1
- package/dist/cjs/{dom-4f7774f5.js → dom-172e7e6c.js} +3 -3
- package/dist/cjs/{el-853e25d3.js → el-0f583dec.js} +16 -16
- package/dist/cjs/{en-au-a03356d0.js → en-au-6b0a5437.js} +16 -16
- package/dist/cjs/{en-ca-25a7048a.js → en-ca-c50f0386.js} +16 -16
- package/dist/cjs/{en-gb-d50b971a.js → en-gb-7334a92b.js} +16 -16
- package/dist/cjs/{es-d13b5666.js → es-989c9378.js} +16 -16
- package/dist/cjs/{es-mx-56cbf823.js → es-mx-81bdfda2.js} +16 -16
- package/dist/cjs/{et-358e30b3.js → et-613a8fe6.js} +16 -16
- package/dist/cjs/{fi-b310fb67.js → fi-377558f0.js} +16 -16
- package/dist/cjs/{filter-f4c5783a.js → filter-daf274df.js} +2 -2
- package/dist/cjs/{floating-ui-427918f2.js → floating-ui-166e982a.js} +5 -5
- package/dist/cjs/{focusTrapComponent-35b117bd.js → focusTrapComponent-fc83be77.js} +2 -2
- package/dist/cjs/{form-ce32cfbf.js → form-d71f5659.js} +3 -3
- package/dist/cjs/{fr-a9841cc7.js → fr-2bebf67b.js} +16 -16
- package/dist/cjs/{fr-ch-a7d04a56.js → fr-ch-0361effd.js} +16 -16
- package/dist/cjs/{guid-6463d06f.js → guid-e3b0f9c0.js} +1 -1
- package/dist/cjs/{he-c6a4f14b.js → he-2e3024b5.js} +16 -16
- package/dist/cjs/{hi-7eb85ede.js → hi-93e7a909.js} +16 -16
- package/dist/cjs/{hr-af7040b3.js → hr-ce281283.js} +16 -16
- package/dist/cjs/{hu-c0d32e2d.js → hu-c4cb11eb.js} +16 -16
- package/dist/cjs/{id-0bdb21c3.js → id-0f33ccc1.js} +16 -16
- package/dist/cjs/{index-faff3ea7.js → index-76fa2411.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-274d5a97.js → interactive-861e900a.js} +2 -2
- package/dist/cjs/{it-7b33afef.js → it-34aeb52b.js} +16 -16
- package/dist/cjs/{it-ch-b2e28928.js → it-ch-1323bd29.js} +16 -16
- package/dist/cjs/{ja-04d8e3ea.js → ja-353f2f63.js} +16 -16
- package/dist/cjs/{key-b220b977.js → key-d666db2b.js} +1 -1
- package/dist/cjs/{ko-4f4f01b5.js → ko-4fdbc0b2.js} +16 -16
- package/dist/cjs/{label-e4873c18.js → label-0199f47e.js} +2 -2
- package/dist/cjs/{loadable-ef6d5cc8.js → loadable-f2c974fb.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-5ac724e1.js → locale-33de0a01.js} +4 -4
- package/dist/cjs/{lt-50a7db08.js → lt-6d530c2b.js} +16 -16
- package/dist/cjs/{lv-1155f3b9.js → lv-134c2e1d.js} +16 -16
- package/dist/cjs/{math-0a4032a3.js → math-fe0a1def.js} +1 -1
- package/dist/cjs/{mk-baad9b0b.js → mk-96865a6b.js} +16 -16
- package/dist/cjs/{nb-c83020cb.js → nb-9ad166a2.js} +16 -16
- package/dist/cjs/{nl-b92cf9ec.js → nl-1e2ad0e8.js} +16 -16
- package/dist/cjs/{observers-f5516ae9.js → observers-9daeae07.js} +1 -1
- package/dist/cjs/{openCloseComponent-baf5c8ce.js → openCloseComponent-069372e0.js} +2 -2
- package/dist/cjs/{pl-5855bec7.js → pl-08b16c3c.js} +16 -16
- package/dist/cjs/{pt-e96b9501.js → pt-a255d0ef.js} +16 -16
- package/dist/cjs/{pt-br-8ea8a02c.js → pt-br-f64f01cd.js} +16 -16
- package/dist/cjs/{resources-0b44176c.js → resources-085f6812.js} +5 -5
- package/dist/cjs/{resources-a3ff1d21.js → resources-6439c31b.js} +1 -1
- package/dist/cjs/{resources-23333a3d.js → resources-b16e80ae.js} +1 -1
- package/dist/cjs/{resources-3a317e26.js → resources-bd52c31c.js} +1 -1
- package/dist/cjs/{resources-be56c993.js → resources-ca186efb.js} +1 -1
- package/dist/cjs/{resources-1d5866d0.js → resources-e725d8d7.js} +1 -1
- package/dist/cjs/{ro-e834f1f2.js → ro-edf05b0f.js} +16 -16
- package/dist/cjs/{ru-7acd763a.js → ru-a2693a5f.js} +16 -16
- package/dist/cjs/{sk-607f65c5.js → sk-06b58193.js} +16 -16
- package/dist/cjs/{sl-9d818d00.js → sl-9213cb1b.js} +16 -16
- package/dist/cjs/{sortableComponent-54dedb9a.js → sortableComponent-cdb2eaca.js} +2 -2
- package/dist/cjs/{sr-0d3e23b9.js → sr-88f291fb.js} +16 -16
- package/dist/cjs/{sv-1ce46da3.js → sv-7647128b.js} +16 -16
- package/dist/cjs/{t9n-ad9ef1e8.js → t9n-bdd24266.js} +3 -3
- package/dist/cjs/{th-de330447.js → th-9f7e053c.js} +16 -16
- package/dist/cjs/{throttle-98d8e92d.js → throttle-5e8e1bc3.js} +2 -2
- package/dist/cjs/{tr-724049d6.js → tr-12055864.js} +16 -16
- package/dist/cjs/{uk-dc518983.js → uk-b63f5eed.js} +16 -16
- package/dist/cjs/{utils-d8837cb7.js → utils-6983361f.js} +3 -3
- package/dist/cjs/{utils-a61da72c.js → utils-698b2a78.js} +1 -1
- package/dist/cjs/{vi-2c4ded32.js → vi-5ee47715.js} +16 -16
- package/dist/cjs/{zh-cn-0045e3a2.js → zh-cn-2bb0b7ba.js} +16 -16
- package/dist/cjs/{zh-hk-208ed9df.js → zh-hk-74e7b7a8.js} +16 -16
- package/dist/cjs/{zh-tw-3c4476e2.js → zh-tw-54d44dd1.js} +16 -16
- 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 +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/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 +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/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 +1 -1
- package/dist/collection/components/list/list.js +4 -6
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +3 -5
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +28 -5
- 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 +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- 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 +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/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 +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/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.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/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 +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +3 -5
- package/dist/components/calcite-list.js +4 -6
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +24 -5
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/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 +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/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 +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-ce05f4e5.js → ExpandToggle-b5db4e73.js} +5 -5
- package/dist/esm/{FloatingArrow-85b77902.js → FloatingArrow-a2a03b2b.js} +2 -2
- package/dist/esm/{Heading-b015d907.js → Heading-308ae5e8.js} +2 -2
- package/dist/esm/{app-globals-ac11969b.js → app-globals-b4e40fb5.js} +2 -2
- package/dist/esm/{ar-45b68bba.js → ar-f1df113c.js} +16 -16
- package/dist/esm/{array-8e9c3bf7.js → array-868bcad6.js} +1 -1
- package/dist/esm/{bg-cfd74026.js → bg-24c97057.js} +16 -16
- package/dist/esm/{browser-16f56395.js → browser-fabb40ea.js} +1 -1
- package/dist/esm/{bs-712b6c51.js → bs-d5152514.js} +16 -16
- package/dist/esm/{ca-307a69ed.js → ca-85ca5d97.js} +16 -16
- 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 +12 -12
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +19 -19
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +14 -14
- 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 +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +19 -19
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-34b7a5e4.js → calcite-input-time-picker.calcite-time-picker-16ad32d5.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -16
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +18 -22
- 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 +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- 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 +33 -14
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +5 -5
- package/dist/esm/calcite-stepper_2.entry.js +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{composed-offset-position.esm-28d2f177.js → composed-offset-position.esm-e1d1c8cb.js} +1 -1
- package/dist/esm/{conditionalSlot-304803d7.js → conditionalSlot-70f9c6b9.js} +3 -3
- package/dist/esm/{cs-f09f3a36.js → cs-8464e57b.js} +16 -16
- package/dist/esm/{da-4bbdc8a4.js → da-d909749b.js} +16 -16
- package/dist/esm/{de-at-5945098f.js → de-at-b9e1b519.js} +16 -16
- package/dist/esm/{de-ch-45402424.js → de-ch-eedcdb7c.js} +16 -16
- package/dist/esm/{de-39b09377.js → de-e44ba6fa.js} +16 -16
- package/dist/esm/{debounce-6c20945f.js → debounce-2c05db70.js} +1 -1
- package/dist/esm/{dom-0ce209ee.js → dom-46ce50e3.js} +3 -3
- package/dist/esm/{el-65fd3967.js → el-5c207807.js} +16 -16
- package/dist/esm/{en-au-45ed6e13.js → en-au-4bc52435.js} +16 -16
- package/dist/esm/{en-ca-d011b76f.js → en-ca-a3115fef.js} +16 -16
- package/dist/esm/{en-gb-38624e8d.js → en-gb-8cdd5770.js} +16 -16
- package/dist/esm/{es-6cd0ad6a.js → es-d69c4843.js} +16 -16
- package/dist/esm/{es-mx-c90a1a76.js → es-mx-351c2321.js} +16 -16
- package/dist/esm/{et-9fd05f47.js → et-e0ec4a8f.js} +16 -16
- package/dist/esm/{fi-bd690ea1.js → fi-d1c0c39c.js} +16 -16
- package/dist/esm/{filter-01913f2b.js → filter-d6dfba45.js} +2 -2
- package/dist/esm/{floating-ui-323f9e15.js → floating-ui-c6caafab.js} +5 -5
- package/dist/esm/{focusTrapComponent-cbba6c19.js → focusTrapComponent-9fdb270f.js} +2 -2
- package/dist/esm/{form-553e2401.js → form-455904de.js} +3 -3
- package/dist/esm/{fr-c3c42b2a.js → fr-4922faa0.js} +16 -16
- package/dist/esm/{fr-ch-44ec0737.js → fr-ch-ffbacbb2.js} +16 -16
- package/dist/esm/{guid-eb322ca8.js → guid-5ee19f82.js} +1 -1
- package/dist/esm/{he-82eeee85.js → he-5d31ffcc.js} +16 -16
- package/dist/esm/{hi-ba6ff07c.js → hi-c4da825c.js} +16 -16
- package/dist/esm/{hr-5e37e16a.js → hr-ba73a61a.js} +16 -16
- package/dist/esm/{hu-796d9665.js → hu-9fefeda2.js} +16 -16
- package/dist/esm/{id-be79b147.js → id-fd3d895d.js} +16 -16
- package/dist/esm/{index-c380df3d.js → index-12e4b2be.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-0abc87c1.js → interactive-bfeaf984.js} +2 -2
- package/dist/esm/{it-a4761158.js → it-5f64b833.js} +16 -16
- package/dist/esm/{it-ch-8d76ac69.js → it-ch-053a58f7.js} +16 -16
- package/dist/esm/{ja-21ea3b6a.js → ja-5f048c53.js} +16 -16
- package/dist/esm/{key-c189cfe7.js → key-7d1cd3bd.js} +1 -1
- package/dist/esm/{ko-f359afee.js → ko-45f6610f.js} +16 -16
- package/dist/esm/{label-4c68af4b.js → label-e9150360.js} +2 -2
- package/dist/esm/{loadable-8215a0e9.js → loadable-4c99c073.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-5bb13642.js → locale-5245ba39.js} +4 -4
- package/dist/esm/{lt-420506bc.js → lt-1a912a37.js} +16 -16
- package/dist/esm/{lv-55e394aa.js → lv-931af546.js} +16 -16
- package/dist/esm/{math-65490645.js → math-114e4229.js} +1 -1
- package/dist/esm/{mk-01a633aa.js → mk-a5ee1808.js} +16 -16
- package/dist/esm/{nb-5d7a0447.js → nb-086209bf.js} +16 -16
- package/dist/esm/{nl-45f23786.js → nl-ccdeee01.js} +16 -16
- package/dist/esm/{observers-d57467d9.js → observers-291157a3.js} +1 -1
- package/dist/esm/{openCloseComponent-35ce8be2.js → openCloseComponent-8158490f.js} +2 -2
- package/dist/esm/{pl-3b34626d.js → pl-7f98799f.js} +16 -16
- package/dist/esm/{pt-9f986d3e.js → pt-8179bcd1.js} +16 -16
- package/dist/esm/{pt-br-dce2707b.js → pt-br-2427ac92.js} +16 -16
- package/dist/esm/{resources-22b3f34e.js → resources-05cee1a1.js} +1 -1
- package/dist/esm/{resources-3e606688.js → resources-4248ce57.js} +1 -1
- package/dist/esm/{resources-bda9d403.js → resources-62418c43.js} +1 -1
- package/dist/esm/{resources-f99f0a95.js → resources-b1020247.js} +5 -5
- package/dist/esm/{resources-00045b22.js → resources-c8b43840.js} +1 -1
- package/dist/esm/{resources-450f79fd.js → resources-dcff07fa.js} +1 -1
- package/dist/esm/{ro-73dac598.js → ro-2129b78e.js} +16 -16
- package/dist/esm/{ru-d45ccef8.js → ru-54c8154a.js} +16 -16
- package/dist/esm/{sk-82dcbe44.js → sk-678a3b80.js} +16 -16
- package/dist/esm/{sl-da3f4c6f.js → sl-586eff47.js} +16 -16
- package/dist/esm/{sortableComponent-71b24897.js → sortableComponent-f2f72558.js} +2 -2
- package/dist/esm/{sr-9b07a9d4.js → sr-536dd9f0.js} +16 -16
- package/dist/esm/{sv-f0a9e71e.js → sv-84df6ac5.js} +16 -16
- package/dist/esm/{t9n-42b29350.js → t9n-9f99cef7.js} +3 -3
- package/dist/esm/{th-50d50762.js → th-d45eca68.js} +16 -16
- package/dist/esm/{throttle-5b1d09f8.js → throttle-38e2717c.js} +2 -2
- package/dist/esm/{tr-4c871d34.js → tr-0ca52564.js} +16 -16
- package/dist/esm/{uk-5535ee1c.js → uk-3470243e.js} +16 -16
- package/dist/esm/{utils-a3f5f080.js → utils-83780950.js} +3 -3
- package/dist/esm/{utils-54e8f716.js → utils-90291fdc.js} +1 -1
- package/dist/esm/{vi-b4fde93f.js → vi-971040f2.js} +16 -16
- package/dist/esm/{zh-cn-2d8fecfd.js → zh-cn-7b676a1a.js} +16 -16
- package/dist/esm/{zh-hk-f1ebc46c.js → zh-hk-2cf7e141.js} +16 -16
- package/dist/esm/{zh-tw-36641a05.js → zh-tw-119b9d0f.js} +16 -16
- 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/list-item/list-item.d.ts +1 -1
- package/dist/types/components/radio-button/radio-button.d.ts +4 -1
- package/hydrate/index.js +28 -13
- package/package.json +2 -2
- package/dist/calcite/p-27c54e54.entry.js +0 -6
- package/dist/calcite/p-6caf8b90.entry.js +0 -6
- package/dist/calcite/p-72775fa5.entry.js +0 -6
- package/dist/calcite/p-73639fac.entry.js +0 -6
- package/dist/calcite/p-80b67c87.js +0 -6
- package/dist/calcite/p-9c0d7cd4.js +0 -6
- package/dist/calcite/p-9e8f66a9.entry.js +0 -6
- package/dist/calcite/p-9f83c8ec.entry.js +0 -6
- package/dist/calcite/p-ab57b0ce.js +0 -6
- package/dist/calcite/p-bd1a6997.js +0 -6
- package/dist/calcite/p-c4433d62.entry.js +0 -6
- package/dist/calcite/p-ee2b3bef.entry.js +0 -6
|
@@ -1,23 +1,23 @@
|
|
|
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.5.0-next.
|
|
4
|
+
* v1.5.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-
|
|
7
|
-
import './index-
|
|
8
|
-
import './form-
|
|
9
|
-
import './dom-
|
|
10
|
-
import './guid-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './interactive-
|
|
13
|
-
import './browser-
|
|
14
|
-
import './key-
|
|
15
|
-
import './label-
|
|
16
|
-
import './loadable-
|
|
17
|
-
import './locale-
|
|
18
|
-
import './observers-
|
|
19
|
-
import './focusTrapComponent-
|
|
20
|
-
import './t9n-
|
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-16ad32d5.js';
|
|
7
|
+
import './index-12e4b2be.js';
|
|
8
|
+
import './form-455904de.js';
|
|
9
|
+
import './dom-46ce50e3.js';
|
|
10
|
+
import './guid-5ee19f82.js';
|
|
11
|
+
import './resources-dcff07fa.js';
|
|
12
|
+
import './interactive-bfeaf984.js';
|
|
13
|
+
import './browser-fabb40ea.js';
|
|
14
|
+
import './key-7d1cd3bd.js';
|
|
15
|
+
import './label-e9150360.js';
|
|
16
|
+
import './loadable-4c99c073.js';
|
|
17
|
+
import './locale-5245ba39.js';
|
|
18
|
+
import './observers-291157a3.js';
|
|
19
|
+
import './focusTrapComponent-9fdb270f.js';
|
|
20
|
+
import './t9n-9f99cef7.js';
|
|
21
21
|
|
|
22
22
|
// Chinese (Hong Kong) [zh-hk]
|
|
23
23
|
var locale = {
|
|
@@ -1,23 +1,23 @@
|
|
|
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.5.0-next.
|
|
4
|
+
* v1.5.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-
|
|
7
|
-
import './index-
|
|
8
|
-
import './form-
|
|
9
|
-
import './dom-
|
|
10
|
-
import './guid-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './interactive-
|
|
13
|
-
import './browser-
|
|
14
|
-
import './key-
|
|
15
|
-
import './label-
|
|
16
|
-
import './loadable-
|
|
17
|
-
import './locale-
|
|
18
|
-
import './observers-
|
|
19
|
-
import './focusTrapComponent-
|
|
20
|
-
import './t9n-
|
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-16ad32d5.js';
|
|
7
|
+
import './index-12e4b2be.js';
|
|
8
|
+
import './form-455904de.js';
|
|
9
|
+
import './dom-46ce50e3.js';
|
|
10
|
+
import './guid-5ee19f82.js';
|
|
11
|
+
import './resources-dcff07fa.js';
|
|
12
|
+
import './interactive-bfeaf984.js';
|
|
13
|
+
import './browser-fabb40ea.js';
|
|
14
|
+
import './key-7d1cd3bd.js';
|
|
15
|
+
import './label-e9150360.js';
|
|
16
|
+
import './loadable-4c99c073.js';
|
|
17
|
+
import './locale-5245ba39.js';
|
|
18
|
+
import './observers-291157a3.js';
|
|
19
|
+
import './focusTrapComponent-9fdb270f.js';
|
|
20
|
+
import './t9n-9f99cef7.js';
|
|
21
21
|
|
|
22
22
|
// Chinese (Taiwan) [zh-tw]
|
|
23
23
|
var locale = {
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -62,7 +62,7 @@ export declare class ListItem implements InteractiveComponent, LoadableComponent
|
|
|
62
62
|
* When `true` and the parent `calcite-list`'s `selectionMode` is `"single"`, `"single-persist"', or `"multiple"`, the component is selected.
|
|
63
63
|
*/
|
|
64
64
|
selected: boolean;
|
|
65
|
-
handleSelectedChange(
|
|
65
|
+
handleSelectedChange(): void;
|
|
66
66
|
/**
|
|
67
67
|
* The component's value.
|
|
68
68
|
*/
|
|
@@ -11,6 +11,7 @@ export declare class RadioButton implements LabelableComponent, CheckableFormCom
|
|
|
11
11
|
checkedChanged(newChecked: boolean): void;
|
|
12
12
|
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
13
13
|
disabled: boolean;
|
|
14
|
+
disabledChanged(): void;
|
|
14
15
|
/**
|
|
15
16
|
* The focused state of the component.
|
|
16
17
|
*
|
|
@@ -27,6 +28,7 @@ export declare class RadioButton implements LabelableComponent, CheckableFormCom
|
|
|
27
28
|
guid: string;
|
|
28
29
|
/** When `true`, the component is not displayed and is not focusable or checkable. */
|
|
29
30
|
hidden: boolean;
|
|
31
|
+
hiddenChanged(): void;
|
|
30
32
|
/**
|
|
31
33
|
* The hovered state of the component.
|
|
32
34
|
*
|
|
@@ -63,7 +65,7 @@ export declare class RadioButton implements LabelableComponent, CheckableFormCom
|
|
|
63
65
|
syncHiddenFormInput(input: HTMLInputElement): void;
|
|
64
66
|
selectItem: (items: HTMLCalciteRadioButtonElement[], selectedIndex: number) => void;
|
|
65
67
|
queryButtons: () => HTMLCalciteRadioButtonElement[];
|
|
66
|
-
|
|
68
|
+
isFocusable: () => boolean;
|
|
67
69
|
check: () => void;
|
|
68
70
|
private clickHandler;
|
|
69
71
|
onLabelClick(event: CustomEvent): void;
|
|
@@ -73,6 +75,7 @@ export declare class RadioButton implements LabelableComponent, CheckableFormCom
|
|
|
73
75
|
private setContainerEl;
|
|
74
76
|
private uncheckAllRadioButtonsInGroup;
|
|
75
77
|
private uncheckOtherRadioButtonsInGroup;
|
|
78
|
+
private updateTabIndexOfOtherRadioButtonsInGroup;
|
|
76
79
|
private getTabIndex;
|
|
77
80
|
/**
|
|
78
81
|
* Fires when the radio button is blurred.
|
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.5.0-next.
|
|
4
|
+
* v1.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -28495,11 +28495,9 @@ class List$1 {
|
|
|
28495
28495
|
handleCalciteInternalListItemSelect(event) {
|
|
28496
28496
|
const target = event.target;
|
|
28497
28497
|
const { listItems, selectionMode } = this;
|
|
28498
|
-
|
|
28499
|
-
|
|
28500
|
-
|
|
28501
|
-
}
|
|
28502
|
-
});
|
|
28498
|
+
if (target.selected && (selectionMode === "single" || selectionMode === "single-persist")) {
|
|
28499
|
+
listItems.forEach((listItem) => (listItem.selected = listItem === target));
|
|
28500
|
+
}
|
|
28503
28501
|
this.updateSelectedItems();
|
|
28504
28502
|
}
|
|
28505
28503
|
handleCalciteListItemClose() {
|
|
@@ -28786,10 +28784,8 @@ class ListItem {
|
|
|
28786
28784
|
this.focusCell(null, false);
|
|
28787
28785
|
}
|
|
28788
28786
|
}
|
|
28789
|
-
handleSelectedChange(
|
|
28790
|
-
|
|
28791
|
-
this.calciteInternalListItemSelect.emit();
|
|
28792
|
-
}
|
|
28787
|
+
handleSelectedChange() {
|
|
28788
|
+
this.calciteInternalListItemSelect.emit();
|
|
28793
28789
|
}
|
|
28794
28790
|
onMessagesChange() {
|
|
28795
28791
|
/* wired up by t9n util */
|
|
@@ -31586,9 +31582,11 @@ class RadioButton {
|
|
|
31586
31582
|
this.queryButtons = () => {
|
|
31587
31583
|
return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((radioButton) => radioButton.name === this.name);
|
|
31588
31584
|
};
|
|
31589
|
-
this.
|
|
31585
|
+
this.isFocusable = () => {
|
|
31590
31586
|
const radioButtons = this.queryButtons();
|
|
31591
|
-
|
|
31587
|
+
const firstFocusable = radioButtons.find((radioButton) => !radioButton.disabled);
|
|
31588
|
+
const checked = radioButtons.find((radioButton) => radioButton.checked);
|
|
31589
|
+
return firstFocusable === this.el && !checked;
|
|
31592
31590
|
};
|
|
31593
31591
|
this.check = () => {
|
|
31594
31592
|
if (this.disabled) {
|
|
@@ -31686,6 +31684,12 @@ class RadioButton {
|
|
|
31686
31684
|
}
|
|
31687
31685
|
this.calciteInternalRadioButtonCheckedChange.emit();
|
|
31688
31686
|
}
|
|
31687
|
+
disabledChanged() {
|
|
31688
|
+
this.updateTabIndexOfOtherRadioButtonsInGroup();
|
|
31689
|
+
}
|
|
31690
|
+
hiddenChanged() {
|
|
31691
|
+
this.updateTabIndexOfOtherRadioButtonsInGroup();
|
|
31692
|
+
}
|
|
31689
31693
|
nameChanged() {
|
|
31690
31694
|
this.checkLastRadioButton();
|
|
31691
31695
|
}
|
|
@@ -31765,11 +31769,18 @@ class RadioButton {
|
|
|
31765
31769
|
}
|
|
31766
31770
|
});
|
|
31767
31771
|
}
|
|
31772
|
+
updateTabIndexOfOtherRadioButtonsInGroup() {
|
|
31773
|
+
const radioButtons = this.queryButtons();
|
|
31774
|
+
const otherFocusableRadioButtons = radioButtons.filter((radioButton) => radioButton.guid !== this.guid && !radioButton.disabled);
|
|
31775
|
+
otherFocusableRadioButtons.forEach((radioButton) => {
|
|
31776
|
+
forceUpdate$1(radioButton);
|
|
31777
|
+
});
|
|
31778
|
+
}
|
|
31768
31779
|
getTabIndex() {
|
|
31769
31780
|
if (this.disabled) {
|
|
31770
31781
|
return undefined;
|
|
31771
31782
|
}
|
|
31772
|
-
return this.checked || this.
|
|
31783
|
+
return this.checked || this.isFocusable() ? 0 : -1;
|
|
31773
31784
|
}
|
|
31774
31785
|
//--------------------------------------------------------------------------
|
|
31775
31786
|
//
|
|
@@ -31802,6 +31813,7 @@ class RadioButton {
|
|
|
31802
31813
|
connectInteractive(this);
|
|
31803
31814
|
connectLabel(this);
|
|
31804
31815
|
connectForm(this);
|
|
31816
|
+
this.updateTabIndexOfOtherRadioButtonsInGroup();
|
|
31805
31817
|
}
|
|
31806
31818
|
componentWillLoad() {
|
|
31807
31819
|
setUpLoadableComponent(this);
|
|
@@ -31816,6 +31828,7 @@ class RadioButton {
|
|
|
31816
31828
|
disconnectInteractive(this);
|
|
31817
31829
|
disconnectLabel(this);
|
|
31818
31830
|
disconnectForm(this);
|
|
31831
|
+
this.updateTabIndexOfOtherRadioButtonsInGroup();
|
|
31819
31832
|
}
|
|
31820
31833
|
componentDidRender() {
|
|
31821
31834
|
updateHostInteraction(this);
|
|
@@ -31834,6 +31847,8 @@ class RadioButton {
|
|
|
31834
31847
|
get el() { return getElement(this); }
|
|
31835
31848
|
static get watchers() { return {
|
|
31836
31849
|
"checked": ["checkedChanged"],
|
|
31850
|
+
"disabled": ["disabledChanged"],
|
|
31851
|
+
"hidden": ["hiddenChanged"],
|
|
31837
31852
|
"name": ["nameChanged"]
|
|
31838
31853
|
}; }
|
|
31839
31854
|
static get style() { return radioButtonCss; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.5.0-next.
|
|
3
|
+
"version": "1.5.0-next.4",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"volta": {
|
|
84
84
|
"extends": "../../package.json"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "2c662dc40731cf0e0c3f253e716fdb915ab7c67e"
|
|
87
87
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,F as a,a as n}from"./p-b4860869.js";import{s as o,p as s,t as c}from"./p-b0abfc57.js";import{c as r,u as l,d}from"./p-21a7e201.js";import{s as h,a as m,c as p}from"./p-e8c2f550.js";import{c as f}from"./p-9cfcd91f.js";import{S as u}from"./p-f5a5652c.js";import{H as g}from"./p-9c0d7cd4.js";import{S as b,C as x,I as v}from"./p-b656fc7b.js";import{c as y,d as k}from"./p-cd0e0878.js";import{c as z,s as w,d as S,u as j}from"./p-0a3314f8.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";const C=class{constructor(i){t(this,i),this.calcitePanelClose=e(this,"calcitePanelClose",6),this.calcitePanelScroll=e(this,"calcitePanelScroll",6),this.resizeObserver=f("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:t}=this;t&&"number"==typeof t.scrollHeight&&"number"==typeof t.offsetHeight&&(t.tabIndex=t.scrollHeight>t.offsetHeight?0:-1)},this.setContainerRef=t=>{this.containerEl=t},this.setCloseRef=t=>{this.closeButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{this.closable&&"Escape"===t.key&&!t.defaultPrevented&&(this.close(),t.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasStartActions=!!e.length},this.handleHeaderActionsEndSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasEndActions=!!e.length},this.handleHeaderMenuActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasMenuItems=!!e.length},this.handleActionBarSlotChange=t=>{const e=o(t).filter((t=>t?.matches("calcite-action-bar")));e.forEach((t=>t.layout="horizontal")),this.hasActionBar=!!e.length},this.handleHeaderContentSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasHeaderContent=!!e.length},this.handleFooterSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterContent=!!e.length},this.handleFooterActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterActions=!!e.length},this.handleFabSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFab=!!e.length},this.setPanelScrollEl=t=>{this.panelScrollEl=t,this.resizeObserver?.disconnect(),t&&(this.resizeObserver?.observe(t),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){r(this),y(this),z(this)}async componentWillLoad(){h(this),await w(this)}componentDidLoad(){m(this)}componentDidRender(){l(this)}disconnectedCallback(){d(this),k(this),S(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){j(this,this.effectiveLocale)}async setFocus(){await p(this),s(this.containerEl)}async scrollContentTo(t){this.panelScrollEl?.scrollTo(t)}renderHeaderContent(){const{heading:t,headingLevel:e,description:a,hasHeaderContent:n}=this,o=t?i(g,{class:x.heading,level:e},t):null,s=a?i("span",{class:x.description},a):null;return n||!o&&!s?null:i("div",{class:x.headerContent,key:"header-content"},o,s)}renderActionBar(){return i("div",{class:x.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:b.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:x.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:b.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:t}=this;return i("div",{class:{[x.headerActionsStart]:!0,[x.headerActions]:!0},hidden:!t,key:"header-actions-start"},i("slot",{name:b.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:t,hasEndActions:e,messages:a,closable:n,hasMenuItems:o}=this,s=a.close,c=n?i("calcite-action",{"aria-label":s,"data-test":"close",icon:v.close,onClick:t,text:s,ref:this.setCloseRef}):null,r=i("slot",{name:b.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[x.headerActionsEnd]:!0,[x.headerActions]:!0},hidden:!(e||c||o),key:"header-actions-end"},r,this.renderMenu(),c)}renderMenu(){const{hasMenuItems:t,messages:e,menuOpen:a}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!t,key:"menu",label:e.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:v.menu,slot:u.trigger,text:e.options}),i("slot",{name:b.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:t,hasStartActions:e,hasEndActions:a,closable:n,hasMenuItems:o}=this,s=this.renderHeaderContent();return i("header",{class:x.header,hidden:!(t||s||e||a||n||o)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),s,this.renderHeaderActionsEnd())}renderFooterNode(){const{hasFooterContent:t,hasFooterActions:e}=this;return i("footer",{class:x.footer,hidden:!(t||e)},i("slot",{key:"footer-slot",name:b.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:b.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){const{hasFab:t}=this,e=i("slot",{key:"default-slot"}),a=t?i("section",{class:x.contentContainer},e):e;return i("div",{class:{[x.contentWrapper]:!0,[x.contentContainer]:!t,[x.contentHeight]:t},onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},a,this.renderFab())}renderFab(){return i("div",{class:x.fabContainer,hidden:!this.hasFab},i("slot",{name:b.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:t,panelKeyDownHandler:e,closed:n,closable:o}=this,s=i("article",{"aria-busy":c(t),class:x.container,hidden:n,onKeyDown:e,tabIndex:o?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderActionBar(),this.renderContent(),this.renderFooterNode());return i(a,null,t?i("calcite-scrim",{loading:t}):null,s)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{border-block-end:1px solid;z-index:var(--calcite-app-z-index-header);inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.action-bar-container{border-block-end:1px solid;z-index:var(--calcite-app-z-index-header);inline-size:100%;border-block-end-color:var(--calcite-ui-border-3)}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{border-block-start:1px solid;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;padding:var(--calcite-panel-footer-padding)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";export{C as calcite_panel}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,a as o}from"./p-b4860869.js";import{g as s}from"./p-b38ee013.js";import{b as n,f as r,t as c}from"./p-b0abfc57.js";import{c as d,d as l,H as h}from"./p-ebb84082.js";import{g as m}from"./p-54396627.js";import{c as u,d as p,u as f}from"./p-21a7e201.js";import{c as b,d as v,g as k}from"./p-091fd402.js";import{c as x,s as g,a as y}from"./p-e8c2f550.js";import"./p-2c60840f.js";import"./p-85af2cc9.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const c=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,s(Math.max(r-1,-1),c));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,s(r+1,c));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hidden=!1,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await x(this),this.disabled||r(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.hidden)return;const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.focused=!0,this.setFocus(),a.checked||(this.uncheckOtherRadioButtonsInGroup(),a.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${m()}`,this.name&&this.checkLastRadioButton(),u(this),b(this),d(this)}componentWillLoad(){g(this)}componentDidLoad(){y(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){p(this),v(this),l(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":k(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:t,ref:this.setContainerEl},a("div",{class:"radio"})),a(h,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};w.style='@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{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([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{w as calcite_radio_button}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,h as a,H as t,a as n}from"./p-b4860869.js";import{e}from"./p-b0abfc57.js";import"./p-54396627.js";import"./p-2c60840f.js";var c;!function(i){i.valid="check-circle",i.invalid="exclamation-mark-triangle",i.idle="information"}(c||(c={}));const s=class{constructor(a){i(this,a),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=e(c,this.icon,this.status)}connectedCallback(){this.requestedIcon=e(c,this.icon,this.status)}render(){return a(t,{"calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),a("slot",null))}renderIcon(i){if(i)return a("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:i,scale:"s"})}get el(){return n(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};s.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([scale=m]),:host([scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);visibility:visible;block-size:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([scale=m]),:host([scale=l]){margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";export{s as calcite_input_message}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as a,a as n,H as c}from"./p-b4860869.js";import{c as e,d as o}from"./p-ab57b0ce.js";import{v as r,g as s,b as l,t as d,c as m}from"./p-b0abfc57.js";import{C as h}from"./p-2c60840f.js";import"./p-9cfcd91f.js";import"./p-54396627.js";const p=class{constructor(a){i(this,a),this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6),this.items=[],this.sorted=!1,this.sortItems=i=>i.sort(((i,t)=>i.position-t.position)).map((i=>i.item)),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}componentDidLoad(){this.sorted||(this.items=this.sortItems(this.items),this.sorted=!0)}render(){const i="transparent"===this.appearance;return a("div",{class:{"accordion--transparent":i,accordion:!i}},a("slot",null))}registerCalciteAccordionItem(i){const t={item:i.target,parent:i.detail.parent,position:i.detail.position};this.el===t.parent&&this.items.push(t),i.stopPropagation()}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem}),i.stopPropagation()}get el(){return n(this)}};p.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";const u="actions-start",f="actions-end",g=class{constructor(a){i(this,a),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.calciteInternalAccordionItemRegister=t(this,"calciteInternalAccordionItemRegister",6),this.iconPosition="end",this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.scale="m",this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0}connectedCallback(){this.parent=this.el.parentElement,this.iconType=r(this.el,"icon-type","chevron"),this.iconPosition=r(this.el,"icon-position",this.iconPosition),this.scale=r(this.el,"scale",this.scale),e(this)}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}disconnectedCallback(){o(this)}renderActionsStart(){const{el:i}=this;return s(i,u)?a("div",{class:"actions-start"},a("slot",{name:u})):null}renderActionsEnd(){const{el:i}=this;return s(i,f)?a("div",{class:"actions-end"},a("slot",{name:f})):null}render(){const{iconFlipRtl:i}=this,t=l(this.el),n=this.iconStart?a("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,e=this.iconEnd?a("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:o}=this;return a(c,null,a("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},a("div",{class:{header:!0,[h.rtl]:"rtl"===t}},this.renderActionsStart(),a("div",{"aria-expanded":d(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},a("div",{class:"header-container"},n,a("div",{class:"header-text"},a("span",{class:"heading"},this.heading),o?a("span",{class:"description"},o):null),e),a("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),a("div",{class:"content"},a("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.el.parentNode===this.requestedAccordionItem.parentNode&&(this.determineActiveItem(),i.stopPropagation())}determineActiveItem(){switch(this.selectionMode=r(this.el,"selection-mode","multiple"),this.selectionMode){case"multiple":this.el===this.requestedAccordionItem&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===this.requestedAccordionItem&&!this.expanded;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}getItemPosition(){const{el:i}=this,t=m(i,"calcite-accordion")?.querySelectorAll("calcite-accordion-item");return t?Array.from(t).indexOf(i):-1}get el(){return n(this)}};g.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{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([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";export{p as calcite_accordion,g as calcite_accordion_item}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{d as i}from"./p-12b442a2.js";import"./p-b4860869.js";import"./p-ebb84082.js";import"./p-b0abfc57.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-21a7e201.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";import"./p-091fd402.js";import"./p-e8c2f550.js";import"./p-cd0e0878.js";import"./p-9cfcd91f.js";import"./p-b448b71e.js";import"./p-0a3314f8.js";function e(i){return i%10<5&&i%10>1&&~~(i/10)%10!=1}function r(i,r,t){var a=i+" ";switch(t){case"m":return r?"minuta":"minutę";case"mm":return a+(e(i)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return a+(e(i)?"godziny":"godzin");case"MM":return a+(e(i)?"miesiące":"miesięcy");case"yy":return a+(e(i)?"lata":"lat")}}var t="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),_=/D MMMM/,s=function(i,e){return _.test(e)?t[i.month()]:a[i.month()]};s.s=a,s.f=t;var m={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:s,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(i){return i+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};i.locale(m,null,!0);export default m;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-b4860869.js";function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const e=(r,e)=>{const n=r.level?`h${r.level}`:"div";return delete r.level,t(n,{...r},e)};export{e as H,r as c}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,a,H as n}from"./p-b4860869.js";import{t as s,d as c,b as o}from"./p-b0abfc57.js";import{c as l,d as r,u as d}from"./p-21a7e201.js";import{c as h}from"./p-9cfcd91f.js";import{s as m,a as p,c as f}from"./p-e8c2f550.js";import{d as u}from"./p-04278e22.js";import{c as b,d as g}from"./p-cd0e0878.js";import{u as y,c as v,s as w,d as x}from"./p-0a3314f8.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";const k="open-container",C="calcite-list-item";function _(t){const i=t.target.assignedElements({flatten:!0});return[...i.filter((t=>t?.matches("calcite-list-item-group"))).map((t=>Array.from(t.querySelectorAll(C)))).reduce(((t,i)=>[...t,...i]),[]),...i.filter((t=>t?.matches(C)))]}function D(t){t.forEach((i=>{i.setPosition=t.indexOf(i)+1,i.setSize=t.length}))}function E(t,i=!1){return document.evaluate(i?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const S="calcite-list-item",L=class{constructor(e){t(this,e),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.listItems=[],this.enabledListItems=[],this.mutationObserver=h("mutation",(()=>this.updateListItems())),this.handleDefaultSlotChange=t=>{D(_(t))},this.setActiveListItem=()=>{const{enabledListItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{listItems:i,filteredData:e,filterText:a}=this,n=e.map((t=>t.value)),s=i?.filter((t=>i.every((i=>i===t||!t.contains(i))))),c=i.filter((t=>!a||n.includes(t.value)))||[],o=new WeakSet;s.forEach((t=>this.filterElements({el:t,filteredItems:c,visibleParents:o}))),this.filteredItems=c,t&&this.calciteListFilter.emit()},this.handleFilter=t=>{t.stopPropagation();const{filteredItems:i,value:e}=t.currentTarget;this.filteredData=i,this.filterText=e,this.updateListItems(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=u(((t=!1)=>{const{selectionAppearance:i,selectionMode:e}=this,a=this.queryListItems();a.forEach((t=>{t.selectionAppearance=i,t.selectionMode=e})),this.listItems=a,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl&&(this.filterEl.items=this.dataForFilter)),this.updateFilteredItems(t),this.enabledListItems=a.filter((t=>!t.disabled&&!t.closed)),this.setActiveListItem(),this.updateSelectedItems(t)}),0),this.queryListItems=()=>Array.from(this.el.querySelectorAll(S)),this.focusRow=t=>{const{enabledListItems:i}=this;t&&(i.forEach((i=>i.active=i===t)),t.setFocus())},this.isNavigable=t=>{const i=t.parentElement?.closest(S);return!i||i.open&&this.isNavigable(i)},this.handleListKeydown=t=>{if(t.defaultPrevented)return;const{key:i}=t,e=this.enabledListItems.filter((t=>this.isNavigable(t))),a=e.findIndex((t=>t.active));if("ArrowDown"===i){t.preventDefault();const i=a+1;e[i]&&this.focusRow(e[i])}else if("ArrowUp"===i){t.preventDefault();const i=a-1;e[i]&&this.focusRow(e[i])}else if("Home"===i){t.preventDefault();const i=e[0];i&&this.focusRow(i)}else if("End"===i){t.preventDefault();const i=e[e.length-1];i&&this.focusRow(i)}},this.disabled=!1,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.dataForFilter=[]}handleFilterEnabledChange(){this.updateListItems()}handleSelectionAppearanceChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){t.stopPropagation();const{enabledListItems:i}=this,e=i.findIndex((t=>t.active))-1;i[e]&&this.focusRow(i[e])}handleCalciteInternalListItemActive(t){const i=t.target,{listItems:e}=this;e.forEach((t=>{t.active=t===i}))}handleCalciteListItemSelect(){this.updateSelectedItems(!0)}handleCalciteInternalListItemSelect(t){const i=t.target,{listItems:e,selectionMode:a}=this;e.forEach((t=>{"single"!==a&&"single-persist"!==a||(t.selected=t===i)})),this.updateSelectedItems()}handleCalciteListItemClose(){this.updateListItems(!0)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateListItems(),l(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),r(this)}componentWillLoad(){m(this)}componentDidRender(){d(this)}componentDidLoad(){p(this);const{filterEl:t}=this,i=t?.filteredItems;i&&(this.filteredData=i),this.updateListItems()}async setFocus(){await f(this),this.enabledListItems.find((t=>t.active))?.setFocus()}render(){const{loading:t,label:i,disabled:a,dataForFilter:n,filterEnabled:c,filterPlaceholder:o,filterText:l}=this;return e("div",{class:"container"},t?e("calcite-scrim",{class:"scrim",loading:t}):null,e("table",{"aria-busy":s(t),"aria-label":i||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},c?e("thead",null,e("tr",{class:{"sticky-pos":!0}},e("th",{colSpan:5},e("calcite-filter",{"aria-label":o,disabled:t||a,items:n,onCalciteFilterChange:this.handleFilter,placeholder:o,value:l,ref:t=>this.filterEl=t})))):null,e("tbody",{class:"table-container"},e("slot",{onSlotchange:this.handleDefaultSlotChange}))))}filterElements({el:t,filteredItems:i,visibleParents:e}){const a=!e.has(t)&&!i.includes(t);t.hidden=a;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(a||e.add(n),this.filterElements({el:n,filteredItems:i,visibleParents:e}))}get el(){return a(this)}static get watchers(){return{filterEnabled:["handleFilterEnabledChange"],selectionMode:["handleSelectionAppearanceChange"],selectionAppearance:["handleSelectionAppearanceChange"]}}};L.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky)}.sticky-pos th{padding:0px}calcite-filter{margin-block-end:1px}";const I=new Map,z=class{constructor(e){t(this,e),this.calciteListItemSelect=i(this,"calciteListItemSelect",6),this.calciteListItemClose=i(this,"calciteListItemClose",6),this.calciteInternalListItemSelect=i(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemActive=i(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=i(this,"calciteInternalFocusPreviousItem",6),this.closeClickHandler=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=c(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=c(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=c(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=c(t)},this.handleDefaultSlotChange=t=>{const{parentListEl:i}=this,e=_(t);D(e);const a=!!e.length;a&&i&&!i.openable&&(i.openable=!0),this.openable=a,a||(this.open=!1)},this.toggleOpen=()=>{this.open=!this.open},this.itemClicked=t=>{t.defaultPrevented||(this.toggleSelected(),this.calciteInternalListItemActive.emit())},this.toggleSelected=()=>{const{selectionMode:t,selected:i}=this;this.disabled||("multiple"===t||"single"===t?this.selected=!i:"single-persist"===t&&(this.selected=!0),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:i}=t,e=t.composedPath(),{containerEl:a,contentEl:n,actionsStartEl:s,actionsEndEl:c,open:o,openable:l}=this,r=[s,n,c].filter(Boolean),d=r.findIndex((t=>e.includes(t)));if("Enter"===i)t.preventDefault(),this.toggleSelected();else if("ArrowRight"===i){t.preventDefault();const i=d+1;-1===d?!o&&l?(this.open=!0,this.focusCell(null)):r[0]&&this.focusCell(r[0]):r[d]&&r[i]&&this.focusCell(r[i])}else if("ArrowLeft"===i){t.preventDefault();const i=d-1;-1===d?(this.focusCell(null),o&&l?this.open=!1:this.calciteInternalFocusPreviousItem.emit()):0===d?(this.focusCell(null),a.focus()):r[d]&&r[i]&&this.focusCell(r[i])}},this.focusCellNull=()=>{this.focusCell(null)},this.focusCell=(t,i=!0)=>{const{contentEl:e,actionsStartEl:a,actionsEndEl:n,parentListEl:s}=this;i&&I.set(s,null),[a,e,n].filter(Boolean).forEach(((e,a)=>{const n="tabindex";e===t?(e.setAttribute(n,"0"),i&&I.set(s,a)):e.removeAttribute(n)})),t?.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1}activeHandler(t){t||this.focusCell(null,!1)}handleSelectedChange(t){t&&this.calciteInternalListItemSelect.emit()}onMessagesChange(){}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){l(this),b(this),v(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=E(t)+1,this.visualLevel=E(t,!0),this.setSelectionDefaults()}async componentWillLoad(){m(this),await w(this)}componentDidLoad(){p(this)}componentDidRender(){d(this,"managed")}disconnectedCallback(){r(this),g(this),x(this)}async setFocus(){await f(this);const{containerEl:t,contentEl:i,actionsStartEl:e,actionsEndEl:a,parentListEl:n}=this,s=I.get(n);if("number"!=typeof s)t?.focus();else{const n=[e,i,a].filter(Boolean);n[s]?this.focusCell(n[s]):t?.focus()}}renderSelected(){const{selected:t,selectionMode:i,selectionAppearance:a}=this;return"none"===i||"border"===a?null:e("td",{class:"selection-container",key:"selection-container",onClick:this.itemClicked},e("calcite-icon",{icon:t?"multiple"===i?"check-circle-f":"circle-f":"blank",scale:"s"}))}renderOpen(){const{el:t,open:i,openable:a,parentListEl:n}=this,s=o(t);return a?e("td",{class:k,key:"open-container",onClick:this.toggleOpen},e("calcite-icon",{icon:i?"caret-down":"rtl"===s?"caret-left":"caret-right",scale:"s"})):n?.openable?e("td",{class:k,key:"open-container",onClick:this.itemClicked},e("calcite-icon",{icon:"blank",scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:i}=this;return e("td",{"aria-label":t,class:"actions-start",hidden:!i,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},e("slot",{name:"actions-start",onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:i,closable:a,messages:n}=this;return e("td",{"aria-label":t,class:"actions-end",hidden:!(i||a),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},e("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),a?e("calcite-action",{appearance:"transparent",icon:"x",key:"close-action",label:n.close,onClick:this.closeClickHandler,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return e("div",{class:"content-start",hidden:!t},e("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return e("div",{class:"custom-content",hidden:!t},e("slot",{name:"content",onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return e("div",{class:"content-end",hidden:!t},e("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}renderContentProperties(){const{label:t,description:i,hasCustomContent:a}=this;return a||!t&&!i?null:e("div",{class:"content",key:"content"},t?e("div",{class:"label",key:"label"},t):null,i?e("div",{class:"description",key:"description"},i):null)}renderContentContainer(){const{description:t,label:i,selectionMode:a,hasCustomContent:n}=this,s=n||!!i||!!t,c=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return e("td",{"aria-label":i,class:{"content-container":!0,"content-container--selectable":"none"!==a,"content-container--has-center-content":s},key:"content-container",onClick:this.itemClicked,role:"gridcell",ref:t=>this.contentEl=t},c)}render(){const{openable:t,open:i,level:a,setPosition:c,setSize:o,active:l,label:r,selected:d,selectionAppearance:h,selectionMode:m,closed:p}=this,f="none"!==m&&"border"===h,u=f&&d,b=f&&!d;return e(n,null,e("tr",{"aria-expanded":t?s(i):null,"aria-label":r,"aria-level":a,"aria-posinset":c,"aria-selected":s(d),"aria-setsize":o,class:{container:!0,"container--border-selected":u,"container--border-unselected":b},hidden:p,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${this.visualLevel}`},tabIndex:l?0:-1,ref:t=>this.containerEl=t},this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),e("div",{class:{"nested-container":!0,"nested-container--hidden":t&&!i}},e("slot",{onSlotchange:this.handleDefaultSlotChange})))}setSelectionDefaults(){const{parentListEl:t,selectionMode:i,selectionAppearance:e}=this;t&&(i||(this.selectionMode=t.selectionMode),e||(this.selectionAppearance=t.selectionAppearance))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{z-index:var(--calcite-app-z-index-sticky);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 )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}[hidden]{display:none}";const A=class{constructor(i){t(this,i),this.disabled=!1,this.heading=void 0,this.visualLevel=null}connectedCallback(){const{el:t}=this;this.visualLevel=E(t,!0),l(this)}componentDidRender(){d(this)}disconnectedCallback(){r(this)}render(){const{heading:t,visualLevel:i}=this;return e(n,null,e("tr",{class:"container",style:{"--calcite-list-item-spacing-indent-multiplier":`${i}`}},e("td",{class:"heading",colSpan:5},t)),e("slot",null))}get el(){return a(this)}};A.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.heading{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}[hidden]{display:none}";export{L as calcite_list,z as calcite_list_item,A as calcite_list_item_group}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as a,h as i,H as e,a as o}from"./p-b4860869.js";import{c as n,d as s}from"./p-ab57b0ce.js";import{s as c,g as r}from"./p-b0abfc57.js";import{a as l,s as d,c as h}from"./p-e8c2f550.js";import{c as p,d as m}from"./p-cd0e0878.js";import{c as u}from"./p-9cfcd91f.js";import{u as f,c as g,s as x,d as b}from"./p-0a3314f8.js";import{t as y,o as v,q as w,g as D,a as j,E as _,b as z}from"./p-38f81766.js";import{d as k}from"./p-04278e22.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-468ed2b6.js";import"./p-e345755c.js";import"./p-f5a5652c.js";const C="bottom-actions",H="expand-tooltip",A=class{constructor(i){t(this,i),this.calciteActionBarToggle=a(this,"calciteActionBarToggle",6),this.mutationObserver=u("mutation",(()=>{const{el:t,expanded:a}=this;y({el:t,expanded:a}),this.overflowActions()})),this.resizeObserver=u("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:a,height:i}=t.contentRect;this.resize({width:a,height:i})},this.resize=k((({width:t,height:a})=>{const{el:i,expanded:e,expandDisabled:o,layout:n,overflowActionsDisabled:s}=this;if(s||"vertical"===n&&!a||"horizontal"===n&&!t)return;const c=w(i),l=o?c.length:c.length+1,d=Array.from(i.querySelectorAll("calcite-action-group"));this.setGroupLayout(d);const h=r(i,C)||!o?d.length+1:d.length,{actionHeight:p,actionWidth:m}=D(c),u=z({layout:n,actionCount:l,actionHeight:p,actionWidth:m,height:a,width:t,groupCount:h});j({actionGroups:d,expanded:e,overflowCount:u})}),v),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const a=c(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(a)},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}expandHandler(){this.overflowActions()}expandedHandler(){const{el:t,expanded:a}=this;y({el:t,expanded:a}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:a}=this;l(this),y({el:t,expanded:a}),this.overflowActions()}connectedCallback(){const{el:t,expanded:a}=this;p(this),g(this),y({el:t,expanded:a}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.overflowActions(),n(this)}async componentWillLoad(){d(this),await x(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),s(this),m(this),b(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await h(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,el:e,position:o,toggleExpand:n,scale:s,layout:c,messages:l}=this,d=r(e,H),h=a?null:i(_,{el:e,expanded:t,intlCollapse:l.collapse,intlExpand:l.expand,position:o,scale:s,toggle:n,tooltip:d,ref:this.setExpandToggleRef});return r(e,C)||h?i("calcite-action-group",{class:"action-group--bottom",layout:c,scale:s},i("slot",{name:C}),i("slot",{name:H}),h):null}render(){return i(e,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--bottom{flex-grow:1;justify-content:flex-end}";export{A as calcite_action_bar}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-b4860869.js";import{c as o}from"./p-9cfcd91f.js";const c=new Set;let n;const f={childList:!0};function s(t){n||(n=o("mutation",r)),n.observe(t.el,f)}function i(t){c.delete(t.el),r(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,f)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,i as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{g as n}from"./p-b4860869.js";import{n as t,g as e}from"./p-cd0e0878.js";function r(n,t,e){if(!n)return;const r=n.getTime(),a=!(t instanceof Date)||r>=t.getTime(),o=!(e instanceof Date)||r<=e.getTime();return a&&o}function a(n,t,e){if(!(n instanceof Date))return null;const r=n.getTime(),a=t instanceof Date&&r<t.getTime(),o=e instanceof Date&&r>e.getTime();return a?t:o?e:n}function o(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),r=new Date(e[0],(e[1]||1)-1,e[2]||1);if(r.setFullYear(e[0]),isNaN(r.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?y(r):r}function s(n,t){if(!t)return null;const{separator:e}=t,r=function(n,t){const{day:e,month:r,year:a}=f(n,t);return{day:parseInt(e),month:parseInt(r)-1,year:parseInt(a)}}(n,t),{day:a,month:o}=r,s=i(r.year,t),u=new Date(s,o,a);u.setFullYear(s);const c=a>0,d=o>-1,l=!isNaN(u.getTime()),D=n.split(e).filter((n=>n)).length>2,p=s.toString().length>0;return c&&d&&l&&D&&p?u:null}function i(n,t){return c(n,t,"read")}function u(n,t){return c(n,t,"write")}function c(n,t,e){return"buddhist"!==t["default-calendar"]?n:n+543*("read"===e?-1:1)}function f(n,e){const{separator:r,unitOrder:a}=e,o=m(a),s=n.split(r).map((n=>t.delocalize(n)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function d(n){return n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function l(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function D(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function p(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function m(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function w(n,t){return(n.getTime()-t.getTime())/864e5}function y(n){return n.setHours(23,59,59,999),n}const h={},g={};async function I(t){const r=e(t);if(h[r])return h[r];g[r]||(g[r]=fetch(n(`./assets/date-picker/nls/${r}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${r}" not found or invalid, falling back to english`),I("en")))));const a=await g[r];return h[r]=a,a}function b(n){return n.map(((n,t)=>o(n,1===t)))}export{s as a,d as b,o as c,f as d,I as e,a as f,b as g,w as h,r as i,l as j,m as k,u as l,i as m,p as n,D as p,y as s}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-12b442a2.js";import"./p-b4860869.js";import"./p-ebb84082.js";import"./p-b0abfc57.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-21a7e201.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";import"./p-091fd402.js";import"./p-e8c2f550.js";import"./p-cd0e0878.js";import"./p-9cfcd91f.js";import"./p-b448b71e.js";import"./p-0a3314f8.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as a,h as i,H as o,a as e}from"./p-b4860869.js";import{c as n,d as r}from"./p-ab57b0ce.js";import{s as c,g as s}from"./p-b0abfc57.js";import{s as l,a as d,c as p}from"./p-e8c2f550.js";import{c as m,d as h}from"./p-cd0e0878.js";import{u,c as f,d as g,s as x}from"./p-0a3314f8.js";import{t as y,E as b}from"./p-38f81766.js";import{c as w}from"./p-9cfcd91f.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-468ed2b6.js";import"./p-e345755c.js";import"./p-f5a5652c.js";const v="expand-tooltip",k=class{constructor(i){t(this,i),this.calciteActionPadToggle=a(this,"calciteActionPadToggle",6),this.mutationObserver=w("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const a=c(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(a)},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(t){y({el:this.el,expanded:t})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){n(this),m(this),f(this)}disconnectedCallback(){h(this),g(this),r(this)}async componentWillLoad(){l(this);const{el:t,expanded:a}=this;y({el:t,expanded:a}),await x(this)}componentDidLoad(){d(this)}async setFocus(){await p(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,messages:o,el:e,position:n,toggleExpand:r,scale:c,layout:l}=this,d=s(e,v),p=a?null:i(b,{el:e,expanded:t,intlCollapse:o.collapse,intlExpand:o.expand,position:n,scale:c,toggle:r,tooltip:d,ref:this.setExpandToggleRef});return p?i("calcite-action-group",{class:"action-group--bottom",layout:l,scale:c},i("slot",{name:v}),p):null}render(){return i(o,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{k as calcite_action_pad}
|