@esri/calcite-components 2.9.0-next.2 → 2.9.0-next.20
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/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/assets/icon/binary16.json +1 -0
- package/dist/calcite/assets/icon/binary24.json +1 -0
- package/dist/calcite/assets/icon/binary32.json +1 -0
- package/dist/calcite/assets/icon/brackets16.json +1 -0
- package/dist/calcite/assets/icon/brackets24.json +1 -0
- package/dist/calcite/assets/icon/brackets32.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials16.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials24.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials32.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations16.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations24.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations32.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute16.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute24.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute32.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute16.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute24.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute32.json +1 -0
- package/dist/calcite/assets/icon/subFields16.json +1 -0
- package/dist/calcite/assets/icon/subFields24.json +1 -0
- package/dist/calcite/assets/icon/subFields32.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork16.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork24.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork32.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology16.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology24.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00fb4b18.js +7 -0
- package/dist/calcite/p-01a0ded2.entry.js +7 -0
- package/dist/calcite/p-01a0ded2.entry.js.map +1 -0
- package/dist/calcite/p-02f20832.js +7 -0
- package/dist/calcite/p-03e7828b.js +7 -0
- package/dist/calcite/p-045f7080.entry.js +7 -0
- package/dist/calcite/p-04827dbc.entry.js +7 -0
- package/dist/calcite/p-04827dbc.entry.js.map +1 -0
- package/dist/calcite/p-0524c890.entry.js +7 -0
- package/dist/calcite/p-0524c890.entry.js.map +1 -0
- package/dist/calcite/p-0592bb74.js +7 -0
- package/dist/calcite/p-06264a70.js +7 -0
- package/dist/calcite/p-0675423d.entry.js +7 -0
- package/dist/calcite/p-068f8baa.js +7 -0
- package/dist/calcite/p-068f8baa.js.map +1 -0
- package/dist/calcite/p-0af75a98.js +7 -0
- package/dist/calcite/p-0af75a98.js.map +1 -0
- package/dist/calcite/p-0b321c90.entry.js +7 -0
- package/dist/calcite/p-0b321c90.entry.js.map +1 -0
- package/dist/calcite/p-0b425650.entry.js +7 -0
- package/dist/calcite/p-0cb0ffad.entry.js +7 -0
- package/dist/calcite/p-0cb0ffad.entry.js.map +1 -0
- package/dist/calcite/p-0d38002d.js +7 -0
- package/dist/calcite/p-0e14f6ba.js +7 -0
- package/dist/calcite/p-0fbdc961.entry.js +7 -0
- package/dist/calcite/p-0fbdc961.entry.js.map +1 -0
- package/dist/calcite/p-0ff6396a.entry.js +7 -0
- package/dist/calcite/p-0ff6396a.entry.js.map +1 -0
- package/dist/calcite/p-1135c383.entry.js +7 -0
- package/dist/calcite/p-1135c383.entry.js.map +1 -0
- package/dist/calcite/p-137cb2d8.js +7 -0
- package/dist/calcite/p-14d42338.entry.js +7 -0
- package/dist/calcite/p-154f3f26.entry.js +7 -0
- package/dist/calcite/p-154f3f26.entry.js.map +1 -0
- package/dist/calcite/p-17b10f97.entry.js +7 -0
- package/dist/calcite/p-17b10f97.entry.js.map +1 -0
- package/dist/calcite/p-1a5a3816.js +7 -0
- package/dist/calcite/p-1b66a670.js +7 -0
- package/dist/calcite/p-1befc448.entry.js +7 -0
- package/dist/calcite/p-216d3475.js +7 -0
- package/dist/calcite/p-23562709.js +13 -0
- package/dist/calcite/p-23e6adeb.entry.js +7 -0
- package/dist/calcite/p-27b469a5.js +7 -0
- package/dist/calcite/p-27e6101c.entry.js +7 -0
- package/dist/calcite/p-28d72f23.js +7 -0
- package/dist/calcite/p-2cf00d1c.entry.js +7 -0
- package/dist/calcite/p-2e65afe6.js +7 -0
- package/dist/calcite/p-2ed6a191.entry.js +7 -0
- package/dist/calcite/p-2ed6a191.entry.js.map +1 -0
- package/dist/calcite/p-2fec90cc.js +7 -0
- package/dist/calcite/p-300037e0.js +7 -0
- package/dist/calcite/p-30d8205f.entry.js +7 -0
- package/dist/calcite/p-30d8205f.entry.js.map +1 -0
- package/dist/calcite/p-323499c6.js +7 -0
- package/dist/calcite/p-33936156.entry.js +7 -0
- package/dist/calcite/p-33987720.js +7 -0
- package/dist/calcite/p-34b88712.js +7 -0
- package/dist/calcite/p-387e481e.entry.js +7 -0
- package/dist/calcite/p-387e481e.entry.js.map +1 -0
- package/dist/calcite/p-3a3babb1.entry.js +7 -0
- package/dist/calcite/p-3a3babb1.entry.js.map +1 -0
- package/dist/calcite/p-3c7de4a4.js +7 -0
- package/dist/calcite/p-3dcfa03c.entry.js +7 -0
- package/dist/calcite/p-3dcfa03c.entry.js.map +1 -0
- package/dist/calcite/p-3df50746.entry.js +7 -0
- package/dist/calcite/p-3df50746.entry.js.map +1 -0
- package/dist/calcite/p-3e6a898c.entry.js +7 -0
- package/dist/calcite/p-3e6a898c.entry.js.map +1 -0
- package/dist/calcite/p-430070a0.entry.js +7 -0
- package/dist/calcite/p-430070a0.entry.js.map +1 -0
- package/dist/calcite/p-44bcb296.js +7 -0
- package/dist/calcite/p-471cd147.entry.js +7 -0
- package/dist/calcite/p-489ab4db.js +7 -0
- package/dist/calcite/p-4ce7ed41.js +7 -0
- package/dist/calcite/p-4d984389.js +7 -0
- package/dist/calcite/p-512fc7f4.entry.js +7 -0
- package/dist/calcite/p-512fc7f4.entry.js.map +1 -0
- package/dist/calcite/p-53206461.js +7 -0
- package/dist/calcite/p-537bd8ad.js +7 -0
- package/dist/calcite/p-56c5a9db.js +7 -0
- package/dist/calcite/p-57e21d44.js +7 -0
- package/dist/calcite/p-5a2e88a5.js +7 -0
- package/dist/calcite/p-5ed38cb9.js +7 -0
- package/dist/calcite/p-601d8185.js +7 -0
- package/dist/calcite/p-61ca3fb5.js +7 -0
- package/dist/calcite/p-64a13b2b.js +7 -0
- package/dist/calcite/p-65993850.entry.js +7 -0
- package/dist/calcite/p-65993850.entry.js.map +1 -0
- package/dist/calcite/p-6692e3d8.entry.js +7 -0
- package/dist/calcite/p-6692e3d8.entry.js.map +1 -0
- package/dist/calcite/p-692ed798.js +7 -0
- package/dist/calcite/p-6be4c997.js +7 -0
- package/dist/calcite/p-6d735fc5.js +7 -0
- package/dist/calcite/p-6d7ea488.js +7 -0
- package/dist/calcite/p-6efb98d1.entry.js +7 -0
- package/dist/calcite/p-6efb98d1.entry.js.map +1 -0
- package/dist/calcite/p-70c530fa.js +7 -0
- package/dist/calcite/p-721693d5.entry.js +7 -0
- package/dist/calcite/p-722485f5.js +7 -0
- package/dist/calcite/p-731c80e1.entry.js +7 -0
- package/dist/calcite/p-73fb5bf5.entry.js +7 -0
- package/dist/calcite/p-73fb5bf5.entry.js.map +1 -0
- package/dist/calcite/p-751f67e1.entry.js +7 -0
- package/dist/calcite/p-751f67e1.entry.js.map +1 -0
- package/dist/calcite/p-753b8e41.entry.js +7 -0
- package/dist/calcite/p-753b8e41.entry.js.map +1 -0
- package/dist/calcite/p-76a05023.js +7 -0
- package/dist/calcite/p-7808f2ea.js +7 -0
- package/dist/calcite/p-7929e123.js +7 -0
- package/dist/calcite/p-7d9caf84.entry.js +7 -0
- package/dist/calcite/p-8056b9f5.js +7 -0
- package/dist/calcite/p-80c8be6a.entry.js +7 -0
- package/dist/calcite/p-80c8be6a.entry.js.map +1 -0
- package/dist/calcite/p-8214890d.js +7 -0
- package/dist/calcite/p-82acae3a.entry.js +7 -0
- package/dist/calcite/p-831ada63.entry.js +7 -0
- package/dist/calcite/p-831ada63.entry.js.map +1 -0
- package/dist/calcite/p-8356a697.js +7 -0
- package/dist/calcite/p-8582076d.entry.js +7 -0
- package/dist/calcite/p-859f14a3.entry.js +7 -0
- package/dist/calcite/p-859f14a3.entry.js.map +1 -0
- package/dist/calcite/p-87e00193.js +7 -0
- package/dist/calcite/p-8a489084.js +7 -0
- package/dist/calcite/p-8a5e2f30.js +7 -0
- package/dist/calcite/p-8a92a3ce.js +7 -0
- package/dist/calcite/p-8a92a3ce.js.map +1 -0
- package/dist/calcite/p-8b0bb670.entry.js +7 -0
- package/dist/calcite/p-8b0bb670.entry.js.map +1 -0
- package/dist/calcite/p-8e3a4720.js +7 -0
- package/dist/calcite/p-9229616c.js +7 -0
- package/dist/calcite/p-93814eea.js +7 -0
- package/dist/calcite/p-94138947.js +11 -0
- package/dist/calcite/p-94231d36.js +7 -0
- package/dist/calcite/p-94ac8f9c.entry.js +7 -0
- package/dist/calcite/p-94ac8f9c.entry.js.map +1 -0
- package/dist/calcite/p-99726b90.js +12 -0
- package/dist/calcite/p-99726b90.js.map +1 -0
- package/dist/calcite/p-9afafa31.js +7 -0
- package/dist/calcite/p-9de6957a.entry.js +7 -0
- package/dist/calcite/p-9de6957a.entry.js.map +1 -0
- package/dist/calcite/p-9e5dd305.js +7 -0
- package/dist/calcite/p-9e5dd305.js.map +1 -0
- package/dist/calcite/p-a1729828.js +7 -0
- package/dist/calcite/p-a241e050.js +7 -0
- package/dist/calcite/p-a5a0d3d9.entry.js +7 -0
- package/dist/calcite/p-a5a0d3d9.entry.js.map +1 -0
- package/dist/calcite/p-a79a0ef2.entry.js +7 -0
- package/dist/calcite/p-a79a0ef2.entry.js.map +1 -0
- package/dist/calcite/p-aa1f3bb0.js +7 -0
- package/dist/calcite/p-aa308524.entry.js +7 -0
- package/dist/calcite/p-aa308524.entry.js.map +1 -0
- package/dist/calcite/p-ac40db38.js +7 -0
- package/dist/calcite/p-ad00867d.js +7 -0
- package/dist/calcite/p-adf2e09b.entry.js +7 -0
- package/dist/calcite/p-ae04d854.js +7 -0
- package/dist/calcite/p-ae81e665.js +7 -0
- package/dist/calcite/p-ae81e665.js.map +1 -0
- package/dist/calcite/p-afaa8bd6.js +7 -0
- package/dist/calcite/p-b29c10c7.entry.js +7 -0
- package/dist/calcite/p-b52b38a9.entry.js +7 -0
- package/dist/calcite/p-b52b38a9.entry.js.map +1 -0
- package/dist/calcite/p-b5e1810c.js +7 -0
- package/dist/calcite/p-b7961c5a.entry.js +7 -0
- package/dist/calcite/p-b7961c5a.entry.js.map +1 -0
- package/dist/calcite/p-b8ccf070.js +7 -0
- package/dist/calcite/p-b8ccf070.js.map +1 -0
- package/dist/calcite/p-b8e56d6d.js +7 -0
- package/dist/calcite/p-b9975309.js +7 -0
- package/dist/calcite/p-bd448edf.entry.js +7 -0
- package/dist/calcite/p-bd448edf.entry.js.map +1 -0
- package/dist/calcite/p-bd71120b.js +7 -0
- package/dist/calcite/p-bf0746a3.js +7 -0
- package/dist/calcite/p-bf0746a3.js.map +1 -0
- package/dist/calcite/p-bf2e69be.entry.js +7 -0
- package/dist/calcite/p-bf2e69be.entry.js.map +1 -0
- package/dist/calcite/p-bf46ae45.js +7 -0
- package/dist/calcite/p-c15f09d4.js +7 -0
- package/dist/calcite/p-c24b409e.entry.js +7 -0
- package/dist/calcite/p-c24b409e.entry.js.map +1 -0
- package/dist/calcite/p-c26dde6d.js +7 -0
- package/dist/calcite/p-c51bb7a7.entry.js +7 -0
- package/dist/calcite/p-c51bb7a7.entry.js.map +1 -0
- package/dist/calcite/p-c5480e93.js +7 -0
- package/dist/calcite/p-c5966b3e.js +7 -0
- package/dist/calcite/p-c648d437.js +7 -0
- package/dist/calcite/p-c6f9db24.js +7 -0
- package/dist/calcite/p-c826795e.entry.js +7 -0
- package/dist/calcite/p-cfaec1e1.js +7 -0
- package/dist/calcite/p-cfd060b6.entry.js +7 -0
- package/dist/calcite/p-d1fb0d16.entry.js +7 -0
- package/dist/calcite/p-d1fb0d16.entry.js.map +1 -0
- package/dist/calcite/p-d2fbfca1.entry.js +7 -0
- package/dist/calcite/p-d4786ef7.js +7 -0
- package/dist/calcite/p-d689065d.js +7 -0
- package/dist/calcite/p-d9901236.entry.js +7 -0
- package/dist/calcite/p-d9901236.entry.js.map +1 -0
- package/dist/calcite/p-d9fc942d.entry.js +7 -0
- package/dist/calcite/p-d9fc942d.entry.js.map +1 -0
- package/dist/calcite/p-db0eb43a.entry.js +7 -0
- package/dist/calcite/p-db0eb43a.entry.js.map +1 -0
- package/dist/calcite/p-dc15734f.js +7 -0
- package/dist/calcite/p-dcdf72f0.entry.js +7 -0
- package/dist/calcite/p-dd1ec8aa.js +7 -0
- package/dist/calcite/p-dd1ec8aa.js.map +1 -0
- package/dist/calcite/p-e0aee19b.entry.js +7 -0
- package/dist/calcite/p-e48d006d.js +8 -0
- package/dist/calcite/p-e8aee604.entry.js +7 -0
- package/dist/calcite/p-e944ffce.entry.js +7 -0
- package/dist/calcite/p-e944ffce.entry.js.map +1 -0
- package/dist/calcite/p-e990b472.js +7 -0
- package/dist/calcite/p-effbb31d.js +7 -0
- package/dist/calcite/p-effbb31d.js.map +1 -0
- package/dist/calcite/p-f0c109de.entry.js +7 -0
- package/dist/calcite/p-f0c109de.entry.js.map +1 -0
- package/dist/calcite/p-f246c231.js +7 -0
- package/dist/calcite/p-f3ebaf96.entry.js +7 -0
- package/dist/calcite/p-f9bb2b7b.js +7 -0
- package/dist/calcite/p-fba41ecf.entry.js +7 -0
- package/dist/calcite/p-fba41ecf.entry.js.map +1 -0
- package/dist/calcite/p-fbb63962.entry.js +7 -0
- package/dist/calcite/p-fcf783fe.entry.js +7 -0
- package/dist/calcite/p-fcf783fe.entry.js.map +1 -0
- package/dist/calcite/p-fe77f56d.entry.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-0f8422a7.js +108 -0
- package/dist/cjs/ExpandToggle-0f8422a7.js.map +1 -0
- package/dist/cjs/FloatingArrow-360b5517.js +47 -0
- package/dist/cjs/FloatingArrow-360b5517.js.map +1 -0
- package/dist/cjs/Heading-bcb8b114.js +22 -0
- package/dist/cjs/Heading-bcb8b114.js.map +1 -0
- package/dist/cjs/Validation-b1edd79e.js +18 -0
- package/dist/cjs/Validation-b1edd79e.js.map +1 -0
- package/dist/cjs/app-globals-fb7330bc.js +61 -0
- package/dist/cjs/app-globals-fb7330bc.js.map +1 -0
- package/dist/cjs/ar-3ddf6e08.js +106 -0
- package/dist/cjs/ar-3ddf6e08.js.map +1 -0
- package/dist/cjs/array-919a0af3.js +14 -0
- package/dist/cjs/array-919a0af3.js.map +1 -0
- package/dist/cjs/bg-6d6ea727.js +84 -0
- package/dist/cjs/bg-6d6ea727.js.map +1 -0
- package/dist/cjs/browser-d83e81a6.js +22 -0
- package/dist/cjs/browser-d83e81a6.js.map +1 -0
- package/dist/cjs/bs-cfa2f629.js +53 -0
- package/dist/cjs/bs-cfa2f629.js.map +1 -0
- package/dist/cjs/ca-2c07e972.js +73 -0
- package/dist/cjs/ca-2c07e972.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +24 -11
- package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -14
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +48 -32
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +13 -12
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +38 -19
- package/dist/cjs/calcite-carousel_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +23 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -16
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +27 -30
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +32 -35
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -8
- package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -14
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js +17 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -4
- package/dist/cjs/calcite-flow.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +15 -14
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -26
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +30 -30
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-509d7cb4.js +2917 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-509d7cb4.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input.cjs.entry.js +30 -30
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +8 -8
- package/dist/cjs/calcite-link.cjs.entry.js +13 -12
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +20 -19
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +12 -11
- package/dist/cjs/calcite-meter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +18 -18
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +16 -16
- package/dist/cjs/calcite-option_3.cjs.entry.js +25 -18
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +26 -18
- package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -20
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-popover.cjs.entry.js +20 -20
- package/dist/cjs/calcite-progress.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
- package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +58 -26
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -9
- package/dist/cjs/calcite-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +26 -23
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +20 -14
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +17 -13
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +20 -20
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-62e55d43.js +52 -0
- package/dist/cjs/component-62e55d43.js.map +1 -0
- package/dist/cjs/conditionalSlot-b71cd4f5.js +51 -0
- package/dist/cjs/conditionalSlot-b71cd4f5.js.map +1 -0
- package/dist/cjs/core-e8a9eefe.js +22 -0
- package/dist/cjs/core-e8a9eefe.js.map +1 -0
- package/dist/cjs/cs-7c3c0af0.js +149 -0
- package/dist/cjs/cs-7c3c0af0.js.map +1 -0
- package/dist/cjs/da-3f278784.js +68 -0
- package/dist/cjs/da-3f278784.js.map +1 -0
- package/dist/cjs/de-64624257.js +93 -0
- package/dist/cjs/de-64624257.js.map +1 -0
- package/dist/cjs/de-at-1a8b8475.js +92 -0
- package/dist/cjs/de-at-1a8b8475.js.map +1 -0
- package/dist/cjs/de-ch-7549cde4.js +92 -0
- package/dist/cjs/de-ch-7549cde4.js.map +1 -0
- package/dist/cjs/debounce-8594d56b.js +506 -0
- package/dist/cjs/debounce-8594d56b.js.map +1 -0
- package/dist/cjs/dom-4f3978e9.js +1144 -0
- package/dist/cjs/dom-4f3978e9.js.map +1 -0
- package/dist/cjs/el-aaffee9d.js +68 -0
- package/dist/cjs/el-aaffee9d.js.map +1 -0
- package/dist/cjs/en-au-434c9210.js +68 -0
- package/dist/cjs/en-au-434c9210.js.map +1 -0
- package/dist/cjs/en-ca-a06e9e56.js +67 -0
- package/dist/cjs/en-ca-a06e9e56.js.map +1 -0
- package/dist/cjs/en-gb-438d1413.js +71 -0
- package/dist/cjs/en-gb-438d1413.js.map +1 -0
- package/dist/cjs/es-0458133a.js +68 -0
- package/dist/cjs/es-0458133a.js.map +1 -0
- package/dist/cjs/es-mx-4bc1a3ca.js +67 -0
- package/dist/cjs/es-mx-4bc1a3ca.js.map +1 -0
- package/dist/cjs/et-3a7132c8.js +94 -0
- package/dist/cjs/et-3a7132c8.js.map +1 -0
- package/dist/cjs/fi-727a4807.js +117 -0
- package/dist/cjs/fi-727a4807.js.map +1 -0
- package/dist/cjs/filter-d8b68281.js +774 -0
- package/dist/cjs/filter-d8b68281.js.map +1 -0
- package/dist/cjs/floating-ui-d4a2ecab.js +2305 -0
- package/dist/cjs/floating-ui-d4a2ecab.js.map +1 -0
- package/dist/cjs/focusTrapComponent-357c2193.js +1020 -0
- package/dist/cjs/focusTrapComponent-357c2193.js.map +1 -0
- package/dist/cjs/form-228b04bd.js +378 -0
- package/dist/cjs/form-228b04bd.js.map +1 -0
- package/dist/cjs/fr-ch-4fd1e0df.js +68 -0
- package/dist/cjs/fr-ch-4fd1e0df.js.map +1 -0
- package/dist/cjs/fr-e368ffc2.js +70 -0
- package/dist/cjs/fr-e368ffc2.js.map +1 -0
- package/dist/cjs/guid-70d8b321.js +23 -0
- package/dist/cjs/guid-70d8b321.js.map +1 -0
- package/dist/cjs/he-0ae1abd3.js +107 -0
- package/dist/cjs/he-0ae1abd3.js.map +1 -0
- package/dist/cjs/hi-5b478f2b.js +67 -0
- package/dist/cjs/hi-5b478f2b.js.map +1 -0
- package/dist/cjs/hr-1f850dbd.js +82 -0
- package/dist/cjs/hr-1f850dbd.js.map +1 -0
- package/dist/cjs/hu-42d857ca.js +90 -0
- package/dist/cjs/hu-42d857ca.js.map +1 -0
- package/dist/cjs/id-534cae05.js +68 -0
- package/dist/cjs/id-534cae05.js.map +1 -0
- package/dist/cjs/index-9c92c56e.js +208 -0
- package/dist/cjs/index-9c92c56e.js.map +1 -0
- package/dist/cjs/index-ca9c5738.js +1934 -0
- package/dist/cjs/index-ca9c5738.js.map +1 -0
- package/dist/cjs/index-e1045e3d.js +75 -0
- package/dist/cjs/index-e1045e3d.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-5385ae4f.js +57 -0
- package/dist/cjs/input-5385ae4f.js.map +1 -0
- package/dist/cjs/interactive-46826d66.js +151 -0
- package/dist/cjs/interactive-46826d66.js.map +1 -0
- package/dist/cjs/it-41520cf9.js +68 -0
- package/dist/cjs/it-41520cf9.js.map +1 -0
- package/dist/cjs/it-ch-e30195a3.js +68 -0
- package/dist/cjs/it-ch-e30195a3.js.map +1 -0
- package/dist/cjs/ja-a23ffcf7.js +74 -0
- package/dist/cjs/ja-a23ffcf7.js.map +1 -0
- package/dist/cjs/key-987bfdfb.js +16 -0
- package/dist/cjs/key-987bfdfb.js.map +1 -0
- package/dist/cjs/ko-88245a3e.js +74 -0
- package/dist/cjs/ko-88245a3e.js.map +1 -0
- package/dist/cjs/label-0eaf6fab.js +183 -0
- package/dist/cjs/label-0eaf6fab.js.map +1 -0
- package/dist/cjs/loadable-485b5ca8.js +97 -0
- package/dist/cjs/loadable-485b5ca8.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-22e50901.js +576 -0
- package/dist/cjs/locale-22e50901.js.map +1 -0
- package/dist/cjs/lt-127ed086.js +99 -0
- package/dist/cjs/lt-127ed086.js.map +1 -0
- package/dist/cjs/lv-704c65ff.js +68 -0
- package/dist/cjs/lv-704c65ff.js.map +1 -0
- package/dist/cjs/math-dac59516.js +57 -0
- package/dist/cjs/math-dac59516.js.map +1 -0
- package/dist/cjs/mk-14dfa897.js +68 -0
- package/dist/cjs/mk-14dfa897.js.map +1 -0
- package/dist/cjs/nb-32283587.js +69 -0
- package/dist/cjs/nb-32283587.js.map +1 -0
- package/dist/cjs/nl-04976d71.js +69 -0
- package/dist/cjs/nl-04976d71.js.map +1 -0
- package/dist/cjs/observers-64d0e318.js +52 -0
- package/dist/cjs/observers-64d0e318.js.map +1 -0
- package/dist/cjs/openCloseComponent-9808d3ab.js +90 -0
- package/dist/cjs/openCloseComponent-9808d3ab.js.map +1 -0
- package/dist/cjs/pl-97c0c2ac.js +116 -0
- package/dist/cjs/pl-97c0c2ac.js.map +1 -0
- package/dist/cjs/pt-9d234ef6.js +69 -0
- package/dist/cjs/pt-9d234ef6.js.map +1 -0
- package/dist/cjs/pt-br-2fbbd2df.js +67 -0
- package/dist/cjs/pt-br-2fbbd2df.js.map +1 -0
- package/dist/cjs/resources-4a829183.js +26 -0
- package/dist/cjs/resources-4a829183.js.map +1 -0
- package/dist/cjs/resources-4e7c272c.js +18 -0
- package/dist/cjs/resources-4e7c272c.js.map +1 -0
- package/dist/cjs/resources-61962911.js +410 -0
- package/dist/cjs/resources-61962911.js.map +1 -0
- package/dist/cjs/resources-82cb9341.js +23 -0
- package/dist/cjs/resources-82cb9341.js.map +1 -0
- package/dist/cjs/resources-834b5f1f.js +26 -0
- package/dist/cjs/resources-834b5f1f.js.map +1 -0
- package/dist/cjs/resources-e6acc4bc.js +53 -0
- package/dist/cjs/resources-e6acc4bc.js.map +1 -0
- package/dist/cjs/resources-ea1d0de4.js +29 -0
- package/dist/cjs/resources-ea1d0de4.js.map +1 -0
- package/dist/cjs/ro-929007ac.js +68 -0
- package/dist/cjs/ro-929007ac.js.map +1 -0
- package/dist/cjs/ru-81b9528c.js +128 -0
- package/dist/cjs/ru-81b9528c.js.map +1 -0
- package/dist/cjs/sk-bf76e905.js +150 -0
- package/dist/cjs/sk-bf76e905.js.map +1 -0
- package/dist/cjs/sl-f8cdbf05.js +170 -0
- package/dist/cjs/sl-f8cdbf05.js.map +1 -0
- package/dist/cjs/sortableComponent-e2be036e.js +2744 -0
- package/dist/cjs/sortableComponent-e2be036e.js.map +1 -0
- package/dist/cjs/sr-9ecbe292.js +103 -0
- package/dist/cjs/sr-9ecbe292.js.map +1 -0
- package/dist/cjs/sv-1d96f7e3.js +73 -0
- package/dist/cjs/sv-1d96f7e3.js.map +1 -0
- package/dist/cjs/t9n-a2235c64.js +101 -0
- package/dist/cjs/t9n-a2235c64.js.map +1 -0
- package/dist/cjs/th-accd8e02.js +67 -0
- package/dist/cjs/th-accd8e02.js.map +1 -0
- package/dist/cjs/throttle-ea0e2dfa.js +77 -0
- package/dist/cjs/throttle-ea0e2dfa.js.map +1 -0
- package/dist/cjs/tr-34982295.js +68 -0
- package/dist/cjs/tr-34982295.js.map +1 -0
- package/dist/cjs/uk-a6d98415.js +106 -0
- package/dist/cjs/uk-a6d98415.js.map +1 -0
- package/dist/cjs/utils-74b2d3a5.js +307 -0
- package/dist/cjs/utils-74b2d3a5.js.map +1 -0
- package/dist/cjs/utils-bdeb091b.js +218 -0
- package/dist/cjs/utils-bdeb091b.js.map +1 -0
- package/dist/cjs/vi-9c1ee9a8.js +72 -0
- package/dist/cjs/vi-9c1ee9a8.js.map +1 -0
- package/dist/cjs/zh-cn-96d32f41.js +96 -0
- package/dist/cjs/zh-cn-96d32f41.js.map +1 -0
- package/dist/cjs/zh-hk-5942557a.js +73 -0
- package/dist/cjs/zh-hk-5942557a.js.map +1 -0
- package/dist/cjs/zh-tw-a3c7b3fa.js +94 -0
- package/dist/cjs/zh-tw-a3c7b3fa.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +5 -2
- package/dist/collection/components/accordion-item/accordion-item.e2e.js.map +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +39 -4
- package/dist/collection/components/accordion-item/accordion-item.js.map +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.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.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.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.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.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.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.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.css +5 -5
- package/dist/collection/components/alert/alert.e2e.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.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/resources.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +7 -7
- package/dist/collection/components/block/block.e2e.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.css +37 -24
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +85 -14
- package/dist/collection/components/block-section/block-section.js.map +1 -1
- package/dist/collection/components/block-section/resources.js +9 -5
- package/dist/collection/components/block-section/resources.js.map +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.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.css +5 -5
- package/dist/collection/components/card/card.e2e.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/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.e2e.js +1 -1
- package/dist/collection/components/card-group/card-group.js +1 -1
- package/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/collection/components/carousel/carousel.e2e.js +39 -1
- package/dist/collection/components/carousel/carousel.e2e.js.map +1 -1
- package/dist/collection/components/carousel/carousel.js +28 -8
- package/dist/collection/components/carousel/carousel.js.map +1 -1
- package/dist/collection/components/carousel/resources.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/collection/components/carousel-item/carousel-item.e2e.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.js +1 -1
- package/dist/collection/components/carousel-item/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +15 -7
- package/dist/collection/components/checkbox/checkbox.e2e.js +27 -63
- package/dist/collection/components/checkbox/checkbox.e2e.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.js +9 -3
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/resources.js +10 -0
- package/dist/collection/components/checkbox/resources.js.map +1 -0
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.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.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.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/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.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.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.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.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +11 -2
- package/dist/collection/components/combobox/combobox.e2e.js.map +1 -1
- package/dist/collection/components/combobox/combobox.js +8 -11
- package/dist/collection/components/combobox/combobox.js.map +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.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.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.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/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.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.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.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.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +9 -9
- package/dist/collection/components/dropdown/dropdown.e2e.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +8 -3
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +35 -35
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +4 -5
- package/dist/collection/components/dropdown-group/dropdown-group.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +72 -145
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +7 -11
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/dropdown-item/resources.js +3 -6
- package/dist/collection/components/dropdown-item/resources.js.map +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.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.css +5 -5
- package/dist/collection/components/filter/filter.e2e.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.css +5 -5
- package/dist/collection/components/flow/flow.e2e.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.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +4 -2
- package/dist/collection/components/flow-item/flow-item.js.map +1 -1
- package/dist/collection/components/flow-item/resources.js +3 -1
- package/dist/collection/components/flow-item/resources.js.map +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/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.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.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/binary16.json +1 -0
- package/dist/collection/components/icon/assets/icon/binary24.json +1 -0
- package/dist/collection/components/icon/assets/icon/binary32.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets16.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets24.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets32.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials16.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials24.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials32.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations16.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations24.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations32.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute16.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute24.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute32.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute16.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute24.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute32.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields16.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields24.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields32.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork16.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork24.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork32.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology16.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology24.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology32.json +1 -0
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +4 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +15 -15
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +6 -6
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +2 -2
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +15 -15
- package/dist/collection/components/input-number/input-number.js.map +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +9 -9
- package/dist/collection/components/input-text/input-text.js.map +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -3
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +3 -3
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +5 -5
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +3 -3
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +2 -2
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +2 -2
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +3 -3
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +2 -2
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +5 -5
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +3 -3
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +2 -2
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +2 -2
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +3 -3
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +2 -2
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +2 -2
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +14 -9
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +12 -3
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/panel/resources.js +3 -1
- package/dist/collection/components/panel/resources.js.map +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +3 -3
- package/dist/collection/components/pick-list/pick-list.js.map +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/pick-list-group.js.map +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
- package/dist/collection/components/pick-list-item/pick-list-item.js.map +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +5 -5
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +2 -2
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +2 -2
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +3 -3
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +2 -2
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +2 -2
- package/dist/collection/components/segmented-control-item/resources.js +8 -2
- package/dist/collection/components/segmented-control-item/resources.js.map +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +26 -19
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +4 -9
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js.map +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +43 -12
- package/dist/collection/components/segmented-control-item/segmented-control-item.js.map +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +13 -2
- package/dist/collection/components/select/select.e2e.js.map +1 -1
- package/dist/collection/components/select/select.js +11 -4
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +7 -7
- package/dist/collection/components/shell/shell.js.map +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.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.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.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.css +5 -5
- package/dist/collection/components/slider/slider.e2e.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.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.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.css +17 -23
- package/dist/collection/components/split-button/split-button.e2e.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.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +32 -21
- package/dist/collection/components/stepper/stepper.e2e.js.map +1 -1
- package/dist/collection/components/stepper/stepper.js +30 -8
- package/dist/collection/components/stepper/stepper.js.map +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +18 -2
- package/dist/collection/components/stepper-item/stepper-item.e2e.js.map +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +17 -29
- package/dist/collection/components/stepper-item/stepper-item.js.map +1 -1
- package/dist/collection/components/switch/resources.js +11 -0
- package/dist/collection/components/switch/resources.js.map +1 -0
- package/dist/collection/components/switch/switch.css +7 -12
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +3 -2
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.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.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/interfaces.js.map +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +31 -4
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.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.css +5 -10
- package/dist/collection/components/text-area/text-area.e2e.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.css +9 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -3
- package/dist/collection/components/tile-select/tile-select.js.map +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +3 -2
- package/dist/collection/components/tile-select-group/tile-select-group.js.map +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.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.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +3 -2
- package/dist/collection/components/tip/tip.js.map +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +3 -2
- package/dist/collection/components/tip-group/tip-group.js.map +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +2 -1
- package/dist/collection/components/tip-manager/tip-manager.js.map +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +39 -8
- package/dist/collection/components/tree/tree.e2e.js.map +1 -1
- package/dist/collection/components/tree/tree.js +2 -2
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.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.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +3 -3
- package/dist/collection/components/value-list/value-list.js.map +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- package/dist/collection/components/value-list-item/value-list-item.js.map +1 -1
- package/dist/collection/demos/_assets/images/placeholder.svg +5 -0
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests/accessible.js +1 -1
- package/dist/collection/tests/commonTests/defaults.js +1 -1
- package/dist/collection/tests/commonTests/disabled.js +1 -1
- package/dist/collection/tests/commonTests/floatingUI.js +1 -1
- package/dist/collection/tests/commonTests/focusable.js +1 -1
- package/dist/collection/tests/commonTests/formAssociated.js +1 -1
- package/dist/collection/tests/commonTests/hidden.js +1 -1
- package/dist/collection/tests/commonTests/index.js +1 -1
- package/dist/collection/tests/commonTests/labelable.js +1 -1
- package/dist/collection/tests/commonTests/openClose.js +1 -1
- package/dist/collection/tests/commonTests/reflects.js +1 -1
- package/dist/collection/tests/commonTests/renders.js +1 -1
- package/dist/collection/tests/commonTests/slots.js +1 -1
- package/dist/collection/tests/commonTests/t9n.js +17 -1
- package/dist/collection/tests/commonTests/t9n.js.map +1 -1
- package/dist/collection/tests/commonTests/utils.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +35 -1
- package/dist/collection/utils/component.js.map +1 -1
- package/dist/collection/utils/component.spec.js +37 -3
- package/dist/collection/utils/component.spec.js.map +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +47 -1
- package/dist/collection/utils/dom.js.map +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +12 -9
- package/dist/collection/utils/loadable.js.map +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -49
- package/dist/collection/utils/openCloseComponent.js.map +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +6 -2
- package/dist/collection/utils/t9n.js.map +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +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/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 +20 -6
- package/dist/components/calcite-accordion-item.js.map +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 +36 -18
- package/dist/components/calcite-block-section.js.map +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +27 -8
- package/dist/components/calcite-carousel.js.map +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 +2 -2
- 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 +5 -6
- package/dist/components/calcite-dropdown-group.js.map +1 -1
- package/dist/components/calcite-dropdown-item.js +8 -12
- package/dist/components/calcite-dropdown-item.js.map +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 +4 -2
- package/dist/components/calcite-flow-item.js.map +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-date-picker.js +6 -6
- 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 +2 -2
- package/dist/components/calcite-input-time-zone.js +3 -3
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +4 -4
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +3 -3
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +3 -3
- package/dist/components/calcite-modal.js +7 -7
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation.js +3 -3
- package/dist/components/calcite-notice.js +3 -3
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-group.js.map +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-pick-list.js.map +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +48 -15
- package/dist/components/calcite-segmented-control-item.js.map +1 -1
- package/dist/components/calcite-segmented-control.js +2 -2
- package/dist/components/calcite-select.js +11 -4
- package/dist/components/calcite-select.js.map +1 -1
- package/dist/components/calcite-sheet.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-shell.js.map +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-split-button.js.map +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +5 -8
- package/dist/components/calcite-stepper-item.js.map +1 -1
- package/dist/components/calcite-stepper.js +11 -6
- package/dist/components/calcite-stepper.js.map +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +7 -3
- package/dist/components/calcite-table.js.map +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select-group.js.map +1 -1
- package/dist/components/calcite-tile-select.js +3 -3
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +2 -2
- package/dist/components/calcite-tile.js.map +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-group.js.map +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip-manager.js.map +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tip.js.map +1 -1
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +3 -3
- package/dist/components/calcite-tree.js.map +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +14 -4
- package/dist/components/checkbox.js.map +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/combobox-item.js +1 -1
- package/dist/components/combobox.js +8 -11
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +37 -2
- package/dist/components/component.js.map +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/core.js +2 -2
- package/dist/components/core.js.map +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 +48 -2
- package/dist/components/dom.js.map +1 -1
- package/dist/components/dropdown.js +8 -3
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +25 -14
- package/dist/components/floating-ui.js.map +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 +3 -3
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +15 -15
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +8 -8
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +15 -15
- package/dist/components/input2.js.map +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 +2 -2
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +5 -5
- package/dist/components/loadable.js +12 -9
- package/dist/components/loadable.js.map +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/openCloseComponent.js.map +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +14 -4
- package/dist/components/panel.js.map +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pick-list-item.js.map +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +4 -4
- package/dist/components/progress.js +2 -2
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +3 -6
- package/dist/components/resources3.js.map +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +9 -3
- package/dist/components/switch.js.map +1 -1
- package/dist/components/t9n.js +6 -2
- package/dist/components/t9n.js.map +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- 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-bc8742ff.js +100 -0
- package/dist/esm/ExpandToggle-bc8742ff.js.map +1 -0
- package/dist/esm/FloatingArrow-b309f787.js +45 -0
- package/dist/esm/FloatingArrow-b309f787.js.map +1 -0
- package/dist/esm/Heading-6a28ad35.js +19 -0
- package/dist/esm/Heading-6a28ad35.js.map +1 -0
- package/dist/esm/Validation-1f714881.js +16 -0
- package/dist/esm/Validation-1f714881.js.map +1 -0
- package/dist/esm/app-globals-bcb14f7e.js +59 -0
- package/dist/esm/app-globals-bcb14f7e.js.map +1 -0
- package/dist/esm/ar-a59f24bc.js +104 -0
- package/dist/esm/ar-a59f24bc.js.map +1 -0
- package/dist/esm/array-a3b19217.js +12 -0
- package/dist/esm/array-a3b19217.js.map +1 -0
- package/dist/esm/bg-5b28c804.js +82 -0
- package/dist/esm/bg-5b28c804.js.map +1 -0
- package/dist/esm/browser-096308d4.js +20 -0
- package/dist/esm/browser-096308d4.js.map +1 -0
- package/dist/esm/bs-f1d0607b.js +51 -0
- package/dist/esm/bs-f1d0607b.js.map +1 -0
- package/dist/esm/ca-3e515549.js +71 -0
- package/dist/esm/ca-3e515549.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +24 -11
- package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
- package/dist/esm/calcite-action-bar.entry.js +16 -15
- package/dist/esm/calcite-action-bar.entry.js.map +1 -1
- package/dist/esm/calcite-action-group.entry.js +14 -13
- package/dist/esm/calcite-action-group.entry.js.map +1 -1
- package/dist/esm/calcite-action-menu.entry.js +10 -9
- package/dist/esm/calcite-action-menu.entry.js.map +1 -1
- package/dist/esm/calcite-action-pad.entry.js +15 -14
- package/dist/esm/calcite-action-pad.entry.js.map +1 -1
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +48 -32
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card-group.entry.js +9 -8
- package/dist/esm/calcite-card-group.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +13 -12
- package/dist/esm/calcite-card.entry.js.map +1 -1
- package/dist/esm/calcite-carousel_2.entry.js +38 -19
- package/dist/esm/calcite-carousel_2.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +23 -14
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -8
- package/dist/esm/calcite-chip-group.entry.js.map +1 -1
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +17 -16
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +27 -30
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +32 -35
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +9 -8
- package/dist/esm/calcite-fab.entry.js.map +1 -1
- package/dist/esm/calcite-filter.entry.js +15 -14
- package/dist/esm/calcite-filter.entry.js.map +1 -1
- package/dist/esm/calcite-flow-item.entry.js +17 -14
- package/dist/esm/calcite-flow-item.entry.js.map +1 -1
- package/dist/esm/calcite-flow.entry.js +5 -4
- package/dist/esm/calcite-flow.entry.js.map +1 -1
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +15 -14
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +17 -17
- package/dist/esm/calcite-input-date-picker.entry.js +26 -26
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-number.entry.js +30 -30
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +24 -24
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ad87fe6e.js +2913 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ad87fe6e.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +19 -19
- package/dist/esm/calcite-input.entry.js +30 -30
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +8 -8
- package/dist/esm/calcite-link.entry.js +13 -12
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +20 -19
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-menu_2.entry.js +14 -13
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +12 -11
- package/dist/esm/calcite-meter.entry.js.map +1 -1
- package/dist/esm/calcite-modal.entry.js +18 -18
- package/dist/esm/calcite-navigation_3.entry.js +12 -11
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +16 -16
- package/dist/esm/calcite-option_3.entry.js +25 -18
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +26 -18
- package/dist/esm/calcite-panel.entry.js.map +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +21 -20
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-popover.entry.js +20 -20
- package/dist/esm/calcite-progress.entry.js +6 -6
- package/dist/esm/calcite-radio-button-group.entry.js +7 -6
- package/dist/esm/calcite-radio-button-group.entry.js.map +1 -1
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-rating.entry.js +17 -17
- package/dist/esm/calcite-scrim.entry.js +10 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +58 -26
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- package/dist/esm/calcite-sheet.entry.js +10 -9
- package/dist/esm/calcite-sheet.entry.js.map +1 -1
- package/dist/esm/calcite-shell_3.entry.js +12 -12
- package/dist/esm/calcite-shell_3.entry.js.map +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +7 -6
- package/dist/esm/calcite-split-button.entry.js.map +1 -1
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +26 -23
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +20 -14
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +13 -13
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +17 -13
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +20 -20
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-group.entry.js +8 -8
- package/dist/esm/calcite-tile-select_2.entry.js +10 -9
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +10 -9
- package/dist/esm/calcite-tile.entry.js.map +1 -1
- package/dist/esm/calcite-tip_3.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js.map +1 -1
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +20 -19
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-e47bd838.js +48 -0
- package/dist/esm/component-e47bd838.js.map +1 -0
- package/dist/esm/conditionalSlot-833481dd.js +48 -0
- package/dist/esm/conditionalSlot-833481dd.js.map +1 -0
- package/dist/esm/core-c175e3a4.js +17 -0
- package/dist/esm/core-c175e3a4.js.map +1 -0
- package/dist/esm/cs-4a731218.js +147 -0
- package/dist/esm/cs-4a731218.js.map +1 -0
- package/dist/esm/da-8f489ec7.js +66 -0
- package/dist/esm/da-8f489ec7.js.map +1 -0
- package/dist/esm/de-at-33ac0664.js +90 -0
- package/dist/esm/de-at-33ac0664.js.map +1 -0
- package/dist/esm/de-ch-6ed4d839.js +90 -0
- package/dist/esm/de-ch-6ed4d839.js.map +1 -0
- package/dist/esm/de-dbc1a740.js +91 -0
- package/dist/esm/de-dbc1a740.js.map +1 -0
- package/dist/esm/debounce-1ec97930.js +497 -0
- package/dist/esm/debounce-1ec97930.js.map +1 -0
- package/dist/esm/dom-ca168555.js +1111 -0
- package/dist/esm/dom-ca168555.js.map +1 -0
- package/dist/esm/el-cffb644a.js +66 -0
- package/dist/esm/el-cffb644a.js.map +1 -0
- package/dist/esm/en-au-f93f73bd.js +66 -0
- package/dist/esm/en-au-f93f73bd.js.map +1 -0
- package/dist/esm/en-ca-6b3ac819.js +65 -0
- package/dist/esm/en-ca-6b3ac819.js.map +1 -0
- package/dist/esm/en-gb-0982a9f2.js +69 -0
- package/dist/esm/en-gb-0982a9f2.js.map +1 -0
- package/dist/esm/es-dc4b8b0c.js +66 -0
- package/dist/esm/es-dc4b8b0c.js.map +1 -0
- package/dist/esm/es-mx-61489a48.js +65 -0
- package/dist/esm/es-mx-61489a48.js.map +1 -0
- package/dist/esm/et-686444a5.js +92 -0
- package/dist/esm/et-686444a5.js.map +1 -0
- package/dist/esm/fi-0742552a.js +115 -0
- package/dist/esm/fi-0742552a.js.map +1 -0
- package/dist/esm/filter-479f63cc.js +772 -0
- package/dist/esm/filter-479f63cc.js.map +1 -0
- package/dist/esm/floating-ui-89885388.js +2297 -0
- package/dist/esm/floating-ui-89885388.js.map +1 -0
- package/dist/esm/focusTrapComponent-f435139e.js +1015 -0
- package/dist/esm/focusTrapComponent-f435139e.js.map +1 -0
- package/dist/esm/form-24a98bc8.js +369 -0
- package/dist/esm/form-24a98bc8.js.map +1 -0
- package/dist/esm/fr-ch-08f028e5.js +66 -0
- package/dist/esm/fr-ch-08f028e5.js.map +1 -0
- package/dist/esm/fr-d121231e.js +68 -0
- package/dist/esm/fr-d121231e.js.map +1 -0
- package/dist/esm/guid-95f744cf.js +21 -0
- package/dist/esm/guid-95f744cf.js.map +1 -0
- package/dist/esm/he-5d7bd16c.js +105 -0
- package/dist/esm/he-5d7bd16c.js.map +1 -0
- package/dist/esm/hi-db1eec8f.js +65 -0
- package/dist/esm/hi-db1eec8f.js.map +1 -0
- package/dist/esm/hr-375aa137.js +80 -0
- package/dist/esm/hr-375aa137.js.map +1 -0
- package/dist/esm/hu-9f73a048.js +88 -0
- package/dist/esm/hu-9f73a048.js.map +1 -0
- package/dist/esm/id-ba66642e.js +66 -0
- package/dist/esm/id-ba66642e.js.map +1 -0
- package/dist/esm/index-6356d89d.js +1899 -0
- package/dist/esm/index-6356d89d.js.map +1 -0
- package/dist/esm/index-a25d1de8.js +206 -0
- package/dist/esm/index-a25d1de8.js.map +1 -0
- package/dist/esm/index-ab9e8ee5.js +73 -0
- package/dist/esm/index-ab9e8ee5.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-2cddb2fa.js +55 -0
- package/dist/esm/input-2cddb2fa.js.map +1 -0
- package/dist/esm/interactive-0082d873.js +146 -0
- package/dist/esm/interactive-0082d873.js.map +1 -0
- package/dist/esm/it-59571962.js +66 -0
- package/dist/esm/it-59571962.js.map +1 -0
- package/dist/esm/it-ch-3eed42c4.js +66 -0
- package/dist/esm/it-ch-3eed42c4.js.map +1 -0
- package/dist/esm/ja-27405b4a.js +72 -0
- package/dist/esm/ja-27405b4a.js.map +1 -0
- package/dist/esm/key-8328efaf.js +13 -0
- package/dist/esm/key-8328efaf.js.map +1 -0
- package/dist/esm/ko-4162efdf.js +72 -0
- package/dist/esm/ko-4162efdf.js.map +1 -0
- package/dist/esm/label-00e8f205.js +176 -0
- package/dist/esm/label-00e8f205.js.map +1 -0
- package/dist/esm/loadable-6fb95cc3.js +92 -0
- package/dist/esm/loadable-6fb95cc3.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-6c2f9fbe.js +563 -0
- package/dist/esm/locale-6c2f9fbe.js.map +1 -0
- package/dist/esm/lt-953d6342.js +97 -0
- package/dist/esm/lt-953d6342.js.map +1 -0
- package/dist/esm/lv-f8c9acd2.js +66 -0
- package/dist/esm/lv-f8c9acd2.js.map +1 -0
- package/dist/esm/math-4fb516a3.js +51 -0
- package/dist/esm/math-4fb516a3.js.map +1 -0
- package/dist/esm/mk-5841b720.js +66 -0
- package/dist/esm/mk-5841b720.js.map +1 -0
- package/dist/esm/nb-674d17ea.js +67 -0
- package/dist/esm/nb-674d17ea.js.map +1 -0
- package/dist/esm/nl-76d4ee20.js +67 -0
- package/dist/esm/nl-76d4ee20.js.map +1 -0
- package/dist/esm/observers-39d61a28.js +50 -0
- package/dist/esm/observers-39d61a28.js.map +1 -0
- package/dist/esm/openCloseComponent-4f48d45a.js +88 -0
- package/dist/esm/openCloseComponent-4f48d45a.js.map +1 -0
- package/dist/esm/pl-e99a3c15.js +114 -0
- package/dist/esm/pl-e99a3c15.js.map +1 -0
- package/dist/esm/pt-be28ad4d.js +67 -0
- package/dist/esm/pt-be28ad4d.js.map +1 -0
- package/dist/esm/pt-br-8087ef55.js +65 -0
- package/dist/esm/pt-br-8087ef55.js.map +1 -0
- package/dist/esm/resources-3eddbc13.js +21 -0
- package/dist/esm/resources-3eddbc13.js.map +1 -0
- package/dist/esm/resources-4f552ccf.js +16 -0
- package/dist/esm/resources-4f552ccf.js.map +1 -0
- package/dist/esm/resources-70a96dcf.js +49 -0
- package/dist/esm/resources-70a96dcf.js.map +1 -0
- package/dist/esm/resources-a24f17b0.js +25 -0
- package/dist/esm/resources-a24f17b0.js.map +1 -0
- package/dist/esm/resources-b40fed1f.js +382 -0
- package/dist/esm/resources-b40fed1f.js.map +1 -0
- package/dist/esm/resources-bb5e0a3c.js +19 -0
- package/dist/esm/resources-bb5e0a3c.js.map +1 -0
- package/dist/esm/resources-d40f6e99.js +23 -0
- package/dist/esm/resources-d40f6e99.js.map +1 -0
- package/dist/esm/ro-9490e8b9.js +66 -0
- package/dist/esm/ro-9490e8b9.js.map +1 -0
- package/dist/esm/ru-b98aa2d8.js +126 -0
- package/dist/esm/ru-b98aa2d8.js.map +1 -0
- package/dist/esm/sk-37f240ff.js +148 -0
- package/dist/esm/sk-37f240ff.js.map +1 -0
- package/dist/esm/sl-19b698b2.js +168 -0
- package/dist/esm/sl-19b698b2.js.map +1 -0
- package/dist/esm/sortableComponent-2c9b82ec.js +2740 -0
- package/dist/esm/sortableComponent-2c9b82ec.js.map +1 -0
- package/dist/esm/sr-40d7de43.js +101 -0
- package/dist/esm/sr-40d7de43.js.map +1 -0
- package/dist/esm/sv-8e1217f2.js +71 -0
- package/dist/esm/sv-8e1217f2.js.map +1 -0
- package/dist/esm/t9n-e7f9e515.js +96 -0
- package/dist/esm/t9n-e7f9e515.js.map +1 -0
- package/dist/esm/th-66a7a299.js +65 -0
- package/dist/esm/th-66a7a299.js.map +1 -0
- package/dist/esm/throttle-a175a508.js +75 -0
- package/dist/esm/throttle-a175a508.js.map +1 -0
- package/dist/esm/tr-e20fc8fa.js +66 -0
- package/dist/esm/tr-e20fc8fa.js.map +1 -0
- package/dist/esm/uk-24ff3736.js +104 -0
- package/dist/esm/uk-24ff3736.js.map +1 -0
- package/dist/esm/utils-9a35b1cf.js +200 -0
- package/dist/esm/utils-9a35b1cf.js.map +1 -0
- package/dist/esm/utils-d98d7c16.js +289 -0
- package/dist/esm/utils-d98d7c16.js.map +1 -0
- package/dist/esm/vi-4f6a3958.js +70 -0
- package/dist/esm/vi-4f6a3958.js.map +1 -0
- package/dist/esm/zh-cn-e496126a.js +94 -0
- package/dist/esm/zh-cn-e496126a.js.map +1 -0
- package/dist/esm/zh-hk-1752a754.js +71 -0
- package/dist/esm/zh-hk-1752a754.js.map +1 -0
- package/dist/esm/zh-tw-b80b9f6a.js +92 -0
- package/dist/esm/zh-tw-b80b9f6a.js.map +1 -0
- package/dist/extras/docs-json.json +374 -70
- 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/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -0
- package/dist/types/components/block-section/block-section.d.ts +10 -0
- package/dist/types/components/block-section/resources.d.ts +7 -3
- package/dist/types/components/carousel/carousel.d.ts +4 -1
- package/dist/types/components/checkbox/resources.d.ts +4 -0
- package/dist/types/components/combobox/combobox.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +1 -0
- package/dist/types/components/dropdown-item/resources.d.ts +0 -3
- package/dist/types/components/flow-item/flow-item.d.ts +2 -0
- package/dist/types/components/flow-item/resources.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/input-number/input-number.d.ts +1 -1
- package/dist/types/components/input-text/input-text.d.ts +1 -1
- package/dist/types/components/panel/panel.d.ts +4 -0
- package/dist/types/components/panel/resources.d.ts +2 -0
- package/dist/types/components/pick-list/pick-list.d.ts +1 -1
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
- package/dist/types/components/segmented-control-item/resources.d.ts +8 -1
- package/dist/types/components/segmented-control-item/segmented-control-item.d.ts +4 -0
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/shell/shell.d.ts +5 -5
- package/dist/types/components/stepper/stepper.d.ts +8 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
- package/dist/types/components/switch/resources.d.ts +5 -0
- package/dist/types/components/table/interfaces.d.ts +1 -0
- package/dist/types/components/table/table.d.ts +4 -2
- package/dist/types/components/tile-select/tile-select.d.ts +1 -0
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +1 -0
- package/dist/types/components/tip/tip.d.ts +1 -0
- package/dist/types/components/tip-group/tip-group.d.ts +1 -0
- package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
- package/dist/types/components/value-list/value-list.d.ts +1 -1
- package/dist/types/components/value-list-item/value-list-item.d.ts +1 -1
- package/dist/types/components.d.ts +149 -23
- package/dist/types/preact.d.ts +4 -3
- package/dist/types/utils/component.d.ts +23 -0
- package/dist/types/utils/dom.d.ts +7 -0
- package/dist/types/utils/loadable.d.ts +17 -3
- package/dist/types/utils/openCloseComponent.d.ts +0 -16
- package/hydrate/index.js +895 -683
- package/package.json +5 -4
- package/readme.md +2 -2
- package/dist/calcite/p-0055e511.js +0 -7
- package/dist/calcite/p-0162b05a.js +0 -7
- package/dist/calcite/p-017ff109.js +0 -7
- package/dist/calcite/p-041a8de6.entry.js +0 -7
- package/dist/calcite/p-055b2783.js +0 -7
- package/dist/calcite/p-0d049305.js +0 -7
- package/dist/calcite/p-0d9ac7a1.entry.js +0 -7
- package/dist/calcite/p-0ded9ae1.js +0 -7
- package/dist/calcite/p-0f2befc5.js +0 -7
- package/dist/calcite/p-12fa3747.entry.js +0 -7
- package/dist/calcite/p-12fa3747.entry.js.map +0 -1
- package/dist/calcite/p-13a91ca4.js +0 -7
- package/dist/calcite/p-13e864aa.js +0 -7
- package/dist/calcite/p-1a91451c.js +0 -7
- package/dist/calcite/p-1ab69d9d.js +0 -7
- package/dist/calcite/p-1e838207.js +0 -7
- package/dist/calcite/p-1fba7c50.entry.js +0 -7
- package/dist/calcite/p-1fba7c50.entry.js.map +0 -1
- package/dist/calcite/p-24808000.js +0 -7
- package/dist/calcite/p-2481fa80.js +0 -7
- package/dist/calcite/p-2632edf0.js +0 -7
- package/dist/calcite/p-2778f6f5.js +0 -7
- package/dist/calcite/p-28d5a868.js +0 -7
- package/dist/calcite/p-2977ec54.js +0 -7
- package/dist/calcite/p-2af9047a.entry.js +0 -7
- package/dist/calcite/p-2af9047a.entry.js.map +0 -1
- package/dist/calcite/p-2b53fea4.entry.js +0 -7
- package/dist/calcite/p-2b53fea4.entry.js.map +0 -1
- package/dist/calcite/p-2b65ed63.entry.js +0 -7
- package/dist/calcite/p-2d87d7c4.entry.js +0 -7
- package/dist/calcite/p-2d87d7c4.entry.js.map +0 -1
- package/dist/calcite/p-2dc1c1a0.js +0 -7
- package/dist/calcite/p-2f78ad4e.js +0 -7
- package/dist/calcite/p-30803e77.js +0 -7
- package/dist/calcite/p-30f3683f.entry.js +0 -7
- package/dist/calcite/p-30f3683f.entry.js.map +0 -1
- package/dist/calcite/p-31c4b5a1.js +0 -7
- package/dist/calcite/p-321ff864.entry.js +0 -7
- package/dist/calcite/p-321ff864.entry.js.map +0 -1
- package/dist/calcite/p-33b0174c.entry.js +0 -7
- package/dist/calcite/p-36f05a81.js +0 -7
- package/dist/calcite/p-374515dd.entry.js +0 -7
- package/dist/calcite/p-380a84aa.js +0 -7
- package/dist/calcite/p-380a84aa.js.map +0 -1
- package/dist/calcite/p-39b918b9.entry.js +0 -7
- package/dist/calcite/p-39b918b9.entry.js.map +0 -1
- package/dist/calcite/p-3a4e7427.js +0 -7
- package/dist/calcite/p-3ba82f86.entry.js +0 -7
- package/dist/calcite/p-3ba82f86.entry.js.map +0 -1
- package/dist/calcite/p-3d302e7a.js +0 -7
- package/dist/calcite/p-3d642bb5.entry.js +0 -7
- package/dist/calcite/p-3e484ff9.entry.js +0 -7
- package/dist/calcite/p-3e484ff9.entry.js.map +0 -1
- package/dist/calcite/p-43a14472.entry.js +0 -7
- package/dist/calcite/p-43a14472.entry.js.map +0 -1
- package/dist/calcite/p-4a7f9f77.js +0 -7
- package/dist/calcite/p-4a887929.entry.js +0 -7
- package/dist/calcite/p-50c67596.entry.js +0 -7
- package/dist/calcite/p-50c67596.entry.js.map +0 -1
- package/dist/calcite/p-51f324d8.js +0 -7
- package/dist/calcite/p-521dd844.js +0 -12
- package/dist/calcite/p-521dd844.js.map +0 -1
- package/dist/calcite/p-55c7839c.entry.js +0 -7
- package/dist/calcite/p-55c7839c.entry.js.map +0 -1
- package/dist/calcite/p-570b8543.entry.js +0 -7
- package/dist/calcite/p-570b8543.entry.js.map +0 -1
- package/dist/calcite/p-57d2f130.entry.js +0 -7
- package/dist/calcite/p-59472336.js +0 -7
- package/dist/calcite/p-5a0aa304.js +0 -7
- package/dist/calcite/p-5b021a42.js +0 -7
- package/dist/calcite/p-5b021a42.js.map +0 -1
- package/dist/calcite/p-5deb8612.entry.js +0 -7
- package/dist/calcite/p-5ea51123.js +0 -7
- package/dist/calcite/p-5ea51123.js.map +0 -1
- package/dist/calcite/p-607f6ebc.js +0 -7
- package/dist/calcite/p-609056d6.entry.js +0 -7
- package/dist/calcite/p-609056d6.entry.js.map +0 -1
- package/dist/calcite/p-6387e69e.entry.js +0 -7
- package/dist/calcite/p-6422db1f.js +0 -7
- package/dist/calcite/p-64e9ead9.entry.js +0 -7
- package/dist/calcite/p-64e9ead9.entry.js.map +0 -1
- package/dist/calcite/p-64eee6a2.js +0 -7
- package/dist/calcite/p-6a7c29f8.entry.js +0 -7
- package/dist/calcite/p-6a7c29f8.entry.js.map +0 -1
- package/dist/calcite/p-6abba7df.js +0 -7
- package/dist/calcite/p-6cfc0cf7.js +0 -7
- package/dist/calcite/p-6f21b8ef.entry.js +0 -7
- package/dist/calcite/p-6f21b8ef.entry.js.map +0 -1
- package/dist/calcite/p-70f6a000.js +0 -7
- package/dist/calcite/p-71f850ce.js +0 -7
- package/dist/calcite/p-7369809e.js +0 -7
- package/dist/calcite/p-7753672a.js +0 -7
- package/dist/calcite/p-77f9f089.js +0 -7
- package/dist/calcite/p-77f9f089.js.map +0 -1
- package/dist/calcite/p-793f94a2.js +0 -7
- package/dist/calcite/p-79b796c1.entry.js +0 -7
- package/dist/calcite/p-7a8f0e68.js +0 -7
- package/dist/calcite/p-7a8f0e68.js.map +0 -1
- package/dist/calcite/p-7b81ad5b.entry.js +0 -7
- package/dist/calcite/p-7bdd370e.entry.js +0 -7
- package/dist/calcite/p-7bdd370e.entry.js.map +0 -1
- package/dist/calcite/p-7c589f7f.js +0 -7
- package/dist/calcite/p-7e4a0c23.entry.js +0 -7
- package/dist/calcite/p-7f81bafc.entry.js +0 -7
- package/dist/calcite/p-7f81bafc.entry.js.map +0 -1
- package/dist/calcite/p-7f9ac7b4.js +0 -7
- package/dist/calcite/p-84214ae3.js +0 -7
- package/dist/calcite/p-8454d4f3.js +0 -7
- package/dist/calcite/p-85ac6a8b.js +0 -7
- package/dist/calcite/p-8775218c.entry.js +0 -7
- package/dist/calcite/p-89df96fa.entry.js +0 -7
- package/dist/calcite/p-8bf084c6.js +0 -7
- package/dist/calcite/p-9009b70b.js +0 -7
- package/dist/calcite/p-92ee57bc.js +0 -7
- package/dist/calcite/p-92ee57bc.js.map +0 -1
- package/dist/calcite/p-934455cd.js +0 -7
- package/dist/calcite/p-95a87661.js +0 -7
- package/dist/calcite/p-97ce6307.entry.js +0 -7
- package/dist/calcite/p-97ce6307.entry.js.map +0 -1
- package/dist/calcite/p-99d36c74.entry.js +0 -7
- package/dist/calcite/p-99d36c74.entry.js.map +0 -1
- package/dist/calcite/p-9a02cac5.entry.js +0 -7
- package/dist/calcite/p-9a23cef9.entry.js +0 -7
- package/dist/calcite/p-9a23cef9.entry.js.map +0 -1
- package/dist/calcite/p-9a5fdab8.js +0 -7
- package/dist/calcite/p-9c70c319.js +0 -7
- package/dist/calcite/p-a0cb4dc2.entry.js +0 -7
- package/dist/calcite/p-a10eff50.entry.js +0 -7
- package/dist/calcite/p-a138e60f.js +0 -7
- package/dist/calcite/p-a1399801.js +0 -7
- package/dist/calcite/p-a1710506.entry.js +0 -7
- package/dist/calcite/p-a1710506.entry.js.map +0 -1
- package/dist/calcite/p-a679215f.entry.js +0 -7
- package/dist/calcite/p-a679215f.entry.js.map +0 -1
- package/dist/calcite/p-a774b568.entry.js +0 -7
- package/dist/calcite/p-aa41f398.entry.js +0 -7
- package/dist/calcite/p-aa41f398.entry.js.map +0 -1
- package/dist/calcite/p-aebef5d6.entry.js +0 -7
- package/dist/calcite/p-aebef5d6.entry.js.map +0 -1
- package/dist/calcite/p-afb5e688.entry.js +0 -7
- package/dist/calcite/p-b3a9b574.js +0 -7
- package/dist/calcite/p-b3ec31eb.js +0 -7
- package/dist/calcite/p-b4152d8c.js +0 -7
- package/dist/calcite/p-b5643608.entry.js +0 -7
- package/dist/calcite/p-b5643608.entry.js.map +0 -1
- package/dist/calcite/p-b8248e75.js +0 -7
- package/dist/calcite/p-b833204d.js +0 -7
- package/dist/calcite/p-b8a710c9.js +0 -7
- package/dist/calcite/p-bf44c80a.js +0 -11
- package/dist/calcite/p-bfe64bf4.js +0 -7
- package/dist/calcite/p-bfe64bf4.js.map +0 -1
- package/dist/calcite/p-c0add2c7.entry.js +0 -7
- package/dist/calcite/p-c0add2c7.entry.js.map +0 -1
- package/dist/calcite/p-c1f0fad9.js +0 -7
- package/dist/calcite/p-c4c76533.entry.js +0 -7
- package/dist/calcite/p-c4c76533.entry.js.map +0 -1
- package/dist/calcite/p-c4f30c75.js +0 -7
- package/dist/calcite/p-c565f1e5.entry.js +0 -7
- package/dist/calcite/p-c565f1e5.entry.js.map +0 -1
- package/dist/calcite/p-c66c7e0f.entry.js +0 -7
- package/dist/calcite/p-c66c7e0f.entry.js.map +0 -1
- package/dist/calcite/p-c6857d4c.js +0 -7
- package/dist/calcite/p-c8b2ef0a.js +0 -7
- package/dist/calcite/p-c90dab6f.js +0 -7
- package/dist/calcite/p-c96daab9.entry.js +0 -7
- package/dist/calcite/p-ca4e10e6.entry.js +0 -7
- package/dist/calcite/p-ca4e10e6.entry.js.map +0 -1
- package/dist/calcite/p-cbc9fec3.entry.js +0 -7
- package/dist/calcite/p-cbc9fec3.entry.js.map +0 -1
- package/dist/calcite/p-ccfa3881.entry.js +0 -7
- package/dist/calcite/p-ccfa3881.entry.js.map +0 -1
- package/dist/calcite/p-cf740d3e.entry.js +0 -7
- package/dist/calcite/p-cf740d3e.entry.js.map +0 -1
- package/dist/calcite/p-d1a95180.js +0 -7
- package/dist/calcite/p-d41eda90.js +0 -7
- package/dist/calcite/p-d425e9b0.js +0 -7
- package/dist/calcite/p-d4870da3.js +0 -7
- package/dist/calcite/p-d4e9817c.entry.js +0 -7
- package/dist/calcite/p-d513360f.js +0 -7
- package/dist/calcite/p-d513360f.js.map +0 -1
- package/dist/calcite/p-d5fb1def.js +0 -8
- package/dist/calcite/p-d66f1056.entry.js +0 -7
- package/dist/calcite/p-d863b9a0.entry.js +0 -7
- package/dist/calcite/p-d863b9a0.entry.js.map +0 -1
- package/dist/calcite/p-d8d70bf3.js +0 -7
- package/dist/calcite/p-db4c54d8.entry.js +0 -7
- package/dist/calcite/p-dbd035fd.js +0 -13
- package/dist/calcite/p-dc82d439.entry.js +0 -7
- package/dist/calcite/p-dc82d439.entry.js.map +0 -1
- package/dist/calcite/p-dc8ea27c.js +0 -7
- package/dist/calcite/p-dd082821.entry.js +0 -7
- package/dist/calcite/p-dd082821.entry.js.map +0 -1
- package/dist/calcite/p-dd122c48.js +0 -7
- package/dist/calcite/p-df575d84.js +0 -7
- package/dist/calcite/p-e1b53a93.entry.js +0 -7
- package/dist/calcite/p-e1b53a93.entry.js.map +0 -1
- package/dist/calcite/p-e36a4b9a.entry.js +0 -7
- package/dist/calcite/p-e36a4b9a.entry.js.map +0 -1
- package/dist/calcite/p-e437ff18.entry.js +0 -7
- package/dist/calcite/p-e437ff18.entry.js.map +0 -1
- package/dist/calcite/p-e48a93b5.entry.js +0 -7
- package/dist/calcite/p-e48a93b5.entry.js.map +0 -1
- package/dist/calcite/p-e866b896.js +0 -7
- package/dist/calcite/p-e9278ce0.entry.js +0 -7
- package/dist/calcite/p-e9278ce0.entry.js.map +0 -1
- package/dist/calcite/p-ea0ed496.entry.js +0 -7
- package/dist/calcite/p-ea0ed496.entry.js.map +0 -1
- package/dist/calcite/p-eb55c27b.js +0 -7
- package/dist/calcite/p-ec23e58b.entry.js +0 -7
- package/dist/calcite/p-ec23e58b.entry.js.map +0 -1
- package/dist/calcite/p-ec696440.entry.js +0 -7
- package/dist/calcite/p-ed35c6d8.js +0 -7
- package/dist/calcite/p-efc4d265.js +0 -7
- package/dist/calcite/p-f1a01e9f.entry.js +0 -7
- package/dist/calcite/p-f2fb83bd.js +0 -7
- package/dist/calcite/p-f2fb83bd.js.map +0 -1
- package/dist/calcite/p-f52e7011.entry.js +0 -7
- package/dist/calcite/p-f52e7011.entry.js.map +0 -1
- package/dist/calcite/p-f60fce32.entry.js +0 -7
- package/dist/calcite/p-f60fce32.entry.js.map +0 -1
- package/dist/calcite/p-f75f0a6d.js +0 -7
- package/dist/calcite/p-ff961e08.js +0 -7
- package/dist/calcite/p-ffbee4c4.js +0 -7
- package/dist/cjs/ExpandToggle-d6b89e22.js +0 -108
- package/dist/cjs/ExpandToggle-d6b89e22.js.map +0 -1
- package/dist/cjs/FloatingArrow-237f3d59.js +0 -47
- package/dist/cjs/FloatingArrow-237f3d59.js.map +0 -1
- package/dist/cjs/Heading-4294a0cc.js +0 -22
- package/dist/cjs/Heading-4294a0cc.js.map +0 -1
- package/dist/cjs/Validation-a9559083.js +0 -18
- package/dist/cjs/Validation-a9559083.js.map +0 -1
- package/dist/cjs/app-globals-7fe5dc84.js +0 -61
- package/dist/cjs/app-globals-7fe5dc84.js.map +0 -1
- package/dist/cjs/ar-c7af6685.js +0 -106
- package/dist/cjs/ar-c7af6685.js.map +0 -1
- package/dist/cjs/array-ad10eca6.js +0 -14
- package/dist/cjs/array-ad10eca6.js.map +0 -1
- package/dist/cjs/bg-356ee9ad.js +0 -84
- package/dist/cjs/bg-356ee9ad.js.map +0 -1
- package/dist/cjs/browser-1a5f23a5.js +0 -22
- package/dist/cjs/browser-1a5f23a5.js.map +0 -1
- package/dist/cjs/bs-8c58e79c.js +0 -53
- package/dist/cjs/bs-8c58e79c.js.map +0 -1
- package/dist/cjs/ca-f1321b4c.js +0 -73
- package/dist/cjs/ca-f1321b4c.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f83edba6.js +0 -2917
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f83edba6.js.map +0 -1
- package/dist/cjs/component-4791014e.js +0 -30
- package/dist/cjs/component-4791014e.js.map +0 -1
- package/dist/cjs/conditionalSlot-68aa6404.js +0 -51
- package/dist/cjs/conditionalSlot-68aa6404.js.map +0 -1
- package/dist/cjs/core-6a73ccfd.js +0 -22
- package/dist/cjs/core-6a73ccfd.js.map +0 -1
- package/dist/cjs/cs-a53ae054.js +0 -149
- package/dist/cjs/cs-a53ae054.js.map +0 -1
- package/dist/cjs/da-deb0d91d.js +0 -68
- package/dist/cjs/da-deb0d91d.js.map +0 -1
- package/dist/cjs/de-aaf477fa.js +0 -93
- package/dist/cjs/de-aaf477fa.js.map +0 -1
- package/dist/cjs/de-at-89c994c5.js +0 -92
- package/dist/cjs/de-at-89c994c5.js.map +0 -1
- package/dist/cjs/de-ch-e0544be4.js +0 -92
- package/dist/cjs/de-ch-e0544be4.js.map +0 -1
- package/dist/cjs/debounce-348db285.js +0 -506
- package/dist/cjs/debounce-348db285.js.map +0 -1
- package/dist/cjs/dom-b3b692c7.js +0 -1097
- package/dist/cjs/dom-b3b692c7.js.map +0 -1
- package/dist/cjs/el-7fcb61d0.js +0 -68
- package/dist/cjs/el-7fcb61d0.js.map +0 -1
- package/dist/cjs/en-au-04f0e262.js +0 -68
- package/dist/cjs/en-au-04f0e262.js.map +0 -1
- package/dist/cjs/en-ca-978e0678.js +0 -67
- package/dist/cjs/en-ca-978e0678.js.map +0 -1
- package/dist/cjs/en-gb-37e64f67.js +0 -71
- package/dist/cjs/en-gb-37e64f67.js.map +0 -1
- package/dist/cjs/es-67a66f3c.js +0 -68
- package/dist/cjs/es-67a66f3c.js.map +0 -1
- package/dist/cjs/es-mx-cc894831.js +0 -67
- package/dist/cjs/es-mx-cc894831.js.map +0 -1
- package/dist/cjs/et-2b4ee2e2.js +0 -94
- package/dist/cjs/et-2b4ee2e2.js.map +0 -1
- package/dist/cjs/fi-82772bd5.js +0 -117
- package/dist/cjs/fi-82772bd5.js.map +0 -1
- package/dist/cjs/filter-545ae2ca.js +0 -774
- package/dist/cjs/filter-545ae2ca.js.map +0 -1
- package/dist/cjs/floating-ui-eb71a064.js +0 -2294
- package/dist/cjs/floating-ui-eb71a064.js.map +0 -1
- package/dist/cjs/focusTrapComponent-40da5be2.js +0 -1020
- package/dist/cjs/focusTrapComponent-40da5be2.js.map +0 -1
- package/dist/cjs/form-2f0ce4f5.js +0 -378
- package/dist/cjs/form-2f0ce4f5.js.map +0 -1
- package/dist/cjs/fr-3531da74.js +0 -70
- package/dist/cjs/fr-3531da74.js.map +0 -1
- package/dist/cjs/fr-ch-cac817f1.js +0 -68
- package/dist/cjs/fr-ch-cac817f1.js.map +0 -1
- package/dist/cjs/guid-8153c924.js +0 -23
- package/dist/cjs/guid-8153c924.js.map +0 -1
- package/dist/cjs/he-0db499ce.js +0 -107
- package/dist/cjs/he-0db499ce.js.map +0 -1
- package/dist/cjs/hi-793ee546.js +0 -67
- package/dist/cjs/hi-793ee546.js.map +0 -1
- package/dist/cjs/hr-f146e479.js +0 -82
- package/dist/cjs/hr-f146e479.js.map +0 -1
- package/dist/cjs/hu-65d53848.js +0 -90
- package/dist/cjs/hu-65d53848.js.map +0 -1
- package/dist/cjs/id-0bffe679.js +0 -68
- package/dist/cjs/id-0bffe679.js.map +0 -1
- package/dist/cjs/index-1cc708ad.js +0 -75
- package/dist/cjs/index-1cc708ad.js.map +0 -1
- package/dist/cjs/index-1e410f3b.js +0 -208
- package/dist/cjs/index-1e410f3b.js.map +0 -1
- package/dist/cjs/index-816b2235.js +0 -1934
- package/dist/cjs/index-816b2235.js.map +0 -1
- package/dist/cjs/input-59075b7d.js +0 -57
- package/dist/cjs/input-59075b7d.js.map +0 -1
- package/dist/cjs/interactive-a21fc529.js +0 -151
- package/dist/cjs/interactive-a21fc529.js.map +0 -1
- package/dist/cjs/it-afeba28f.js +0 -68
- package/dist/cjs/it-afeba28f.js.map +0 -1
- package/dist/cjs/it-ch-412f7c38.js +0 -68
- package/dist/cjs/it-ch-412f7c38.js.map +0 -1
- package/dist/cjs/ja-b49e57df.js +0 -74
- package/dist/cjs/ja-b49e57df.js.map +0 -1
- package/dist/cjs/key-b4561c75.js +0 -16
- package/dist/cjs/key-b4561c75.js.map +0 -1
- package/dist/cjs/ko-1e50d193.js +0 -74
- package/dist/cjs/ko-1e50d193.js.map +0 -1
- package/dist/cjs/label-1bfab83c.js +0 -183
- package/dist/cjs/label-1bfab83c.js.map +0 -1
- package/dist/cjs/loadable-8502181b.js +0 -91
- package/dist/cjs/loadable-8502181b.js.map +0 -1
- package/dist/cjs/locale-3c14df15.js +0 -576
- package/dist/cjs/locale-3c14df15.js.map +0 -1
- package/dist/cjs/lt-dc5d1109.js +0 -99
- package/dist/cjs/lt-dc5d1109.js.map +0 -1
- package/dist/cjs/lv-ee3d9325.js +0 -68
- package/dist/cjs/lv-ee3d9325.js.map +0 -1
- package/dist/cjs/math-8823ec49.js +0 -57
- package/dist/cjs/math-8823ec49.js.map +0 -1
- package/dist/cjs/mk-4f1dbd16.js +0 -68
- package/dist/cjs/mk-4f1dbd16.js.map +0 -1
- package/dist/cjs/nb-d0d5285e.js +0 -69
- package/dist/cjs/nb-d0d5285e.js.map +0 -1
- package/dist/cjs/nl-463eef46.js +0 -69
- package/dist/cjs/nl-463eef46.js.map +0 -1
- package/dist/cjs/observers-9d4b94fa.js +0 -52
- package/dist/cjs/observers-9d4b94fa.js.map +0 -1
- package/dist/cjs/openCloseComponent-e274d148.js +0 -90
- package/dist/cjs/openCloseComponent-e274d148.js.map +0 -1
- package/dist/cjs/pl-61ceec23.js +0 -116
- package/dist/cjs/pl-61ceec23.js.map +0 -1
- package/dist/cjs/pt-1b26b8ff.js +0 -69
- package/dist/cjs/pt-1b26b8ff.js.map +0 -1
- package/dist/cjs/pt-br-ae2854a9.js +0 -67
- package/dist/cjs/pt-br-ae2854a9.js.map +0 -1
- package/dist/cjs/resources-2cc41c87.js +0 -29
- package/dist/cjs/resources-2cc41c87.js.map +0 -1
- package/dist/cjs/resources-b8705ec7.js +0 -51
- package/dist/cjs/resources-b8705ec7.js.map +0 -1
- package/dist/cjs/resources-bb337ee2.js +0 -26
- package/dist/cjs/resources-bb337ee2.js.map +0 -1
- package/dist/cjs/resources-ccf664a4.js +0 -18
- package/dist/cjs/resources-ccf664a4.js.map +0 -1
- package/dist/cjs/resources-da727d05.js +0 -23
- package/dist/cjs/resources-da727d05.js.map +0 -1
- package/dist/cjs/resources-ed5a4439.js +0 -410
- package/dist/cjs/resources-ed5a4439.js.map +0 -1
- package/dist/cjs/resources-f633e7ab.js +0 -26
- package/dist/cjs/resources-f633e7ab.js.map +0 -1
- package/dist/cjs/ro-00ccda3f.js +0 -68
- package/dist/cjs/ro-00ccda3f.js.map +0 -1
- package/dist/cjs/ru-ad8a83aa.js +0 -128
- package/dist/cjs/ru-ad8a83aa.js.map +0 -1
- package/dist/cjs/sk-f15908b0.js +0 -150
- package/dist/cjs/sk-f15908b0.js.map +0 -1
- package/dist/cjs/sl-32e2271d.js +0 -170
- package/dist/cjs/sl-32e2271d.js.map +0 -1
- package/dist/cjs/sortableComponent-702ee46e.js +0 -2744
- package/dist/cjs/sortableComponent-702ee46e.js.map +0 -1
- package/dist/cjs/sr-621cdc2b.js +0 -103
- package/dist/cjs/sr-621cdc2b.js.map +0 -1
- package/dist/cjs/sv-6a35a539.js +0 -73
- package/dist/cjs/sv-6a35a539.js.map +0 -1
- package/dist/cjs/t9n-d22d6156.js +0 -97
- package/dist/cjs/t9n-d22d6156.js.map +0 -1
- package/dist/cjs/th-c0576282.js +0 -67
- package/dist/cjs/th-c0576282.js.map +0 -1
- package/dist/cjs/throttle-8063c792.js +0 -77
- package/dist/cjs/throttle-8063c792.js.map +0 -1
- package/dist/cjs/tr-9a10fc25.js +0 -68
- package/dist/cjs/tr-9a10fc25.js.map +0 -1
- package/dist/cjs/uk-1b77b5a9.js +0 -106
- package/dist/cjs/uk-1b77b5a9.js.map +0 -1
- package/dist/cjs/utils-5a755d42.js +0 -218
- package/dist/cjs/utils-5a755d42.js.map +0 -1
- package/dist/cjs/utils-7340366a.js +0 -307
- package/dist/cjs/utils-7340366a.js.map +0 -1
- package/dist/cjs/vi-e4911550.js +0 -72
- package/dist/cjs/vi-e4911550.js.map +0 -1
- package/dist/cjs/zh-cn-8352862f.js +0 -96
- package/dist/cjs/zh-cn-8352862f.js.map +0 -1
- package/dist/cjs/zh-hk-85c5b141.js +0 -73
- package/dist/cjs/zh-hk-85c5b141.js.map +0 -1
- package/dist/cjs/zh-tw-ad6172c7.js +0 -94
- package/dist/cjs/zh-tw-ad6172c7.js.map +0 -1
- package/dist/esm/ExpandToggle-ea12da4c.js +0 -100
- package/dist/esm/ExpandToggle-ea12da4c.js.map +0 -1
- package/dist/esm/FloatingArrow-6640c999.js +0 -45
- package/dist/esm/FloatingArrow-6640c999.js.map +0 -1
- package/dist/esm/Heading-77af0c89.js +0 -19
- package/dist/esm/Heading-77af0c89.js.map +0 -1
- package/dist/esm/Validation-dc411a73.js +0 -16
- package/dist/esm/Validation-dc411a73.js.map +0 -1
- package/dist/esm/app-globals-edd9007f.js +0 -59
- package/dist/esm/app-globals-edd9007f.js.map +0 -1
- package/dist/esm/ar-4a60c565.js +0 -104
- package/dist/esm/ar-4a60c565.js.map +0 -1
- package/dist/esm/array-0193d0fc.js +0 -12
- package/dist/esm/array-0193d0fc.js.map +0 -1
- package/dist/esm/bg-b9a93685.js +0 -82
- package/dist/esm/bg-b9a93685.js.map +0 -1
- package/dist/esm/browser-08b65933.js +0 -20
- package/dist/esm/browser-08b65933.js.map +0 -1
- package/dist/esm/bs-847afd51.js +0 -51
- package/dist/esm/bs-847afd51.js.map +0 -1
- package/dist/esm/ca-517cbe4d.js +0 -71
- package/dist/esm/ca-517cbe4d.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-483240f9.js +0 -2913
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-483240f9.js.map +0 -1
- package/dist/esm/component-7869d8fb.js +0 -27
- package/dist/esm/component-7869d8fb.js.map +0 -1
- package/dist/esm/conditionalSlot-d80ac9d1.js +0 -48
- package/dist/esm/conditionalSlot-d80ac9d1.js.map +0 -1
- package/dist/esm/core-41b1c01b.js +0 -17
- package/dist/esm/core-41b1c01b.js.map +0 -1
- package/dist/esm/cs-7c14f702.js +0 -147
- package/dist/esm/cs-7c14f702.js.map +0 -1
- package/dist/esm/da-fc814530.js +0 -66
- package/dist/esm/da-fc814530.js.map +0 -1
- package/dist/esm/de-at-d6b39687.js +0 -90
- package/dist/esm/de-at-d6b39687.js.map +0 -1
- package/dist/esm/de-ch-31d8d267.js +0 -90
- package/dist/esm/de-ch-31d8d267.js.map +0 -1
- package/dist/esm/de-ef8315e1.js +0 -91
- package/dist/esm/de-ef8315e1.js.map +0 -1
- package/dist/esm/debounce-012012be.js +0 -497
- package/dist/esm/debounce-012012be.js.map +0 -1
- package/dist/esm/dom-63b96658.js +0 -1065
- package/dist/esm/dom-63b96658.js.map +0 -1
- package/dist/esm/el-2c165829.js +0 -66
- package/dist/esm/el-2c165829.js.map +0 -1
- package/dist/esm/en-au-97adccf2.js +0 -66
- package/dist/esm/en-au-97adccf2.js.map +0 -1
- package/dist/esm/en-ca-e7c2aaf2.js +0 -65
- package/dist/esm/en-ca-e7c2aaf2.js.map +0 -1
- package/dist/esm/en-gb-99163618.js +0 -69
- package/dist/esm/en-gb-99163618.js.map +0 -1
- package/dist/esm/es-ca83d88f.js +0 -66
- package/dist/esm/es-ca83d88f.js.map +0 -1
- package/dist/esm/es-mx-6bdf255f.js +0 -65
- package/dist/esm/es-mx-6bdf255f.js.map +0 -1
- package/dist/esm/et-784b9bf6.js +0 -92
- package/dist/esm/et-784b9bf6.js.map +0 -1
- package/dist/esm/fi-c1498db1.js +0 -115
- package/dist/esm/fi-c1498db1.js.map +0 -1
- package/dist/esm/filter-12c5a24c.js +0 -772
- package/dist/esm/filter-12c5a24c.js.map +0 -1
- package/dist/esm/floating-ui-bb60db3e.js +0 -2286
- package/dist/esm/floating-ui-bb60db3e.js.map +0 -1
- package/dist/esm/focusTrapComponent-c63f6b29.js +0 -1015
- package/dist/esm/focusTrapComponent-c63f6b29.js.map +0 -1
- package/dist/esm/form-15b23645.js +0 -369
- package/dist/esm/form-15b23645.js.map +0 -1
- package/dist/esm/fr-5f1729ca.js +0 -68
- package/dist/esm/fr-5f1729ca.js.map +0 -1
- package/dist/esm/fr-ch-f3209244.js +0 -66
- package/dist/esm/fr-ch-f3209244.js.map +0 -1
- package/dist/esm/guid-e88236cd.js +0 -21
- package/dist/esm/guid-e88236cd.js.map +0 -1
- package/dist/esm/he-c3d2921e.js +0 -105
- package/dist/esm/he-c3d2921e.js.map +0 -1
- package/dist/esm/hi-83ec6ae0.js +0 -65
- package/dist/esm/hi-83ec6ae0.js.map +0 -1
- package/dist/esm/hr-d3823235.js +0 -80
- package/dist/esm/hr-d3823235.js.map +0 -1
- package/dist/esm/hu-b0de226a.js +0 -88
- package/dist/esm/hu-b0de226a.js.map +0 -1
- package/dist/esm/id-e06f61a1.js +0 -66
- package/dist/esm/id-e06f61a1.js.map +0 -1
- package/dist/esm/index-13d6569f.js +0 -73
- package/dist/esm/index-13d6569f.js.map +0 -1
- package/dist/esm/index-83937316.js +0 -1899
- package/dist/esm/index-83937316.js.map +0 -1
- package/dist/esm/index-ca806346.js +0 -206
- package/dist/esm/index-ca806346.js.map +0 -1
- package/dist/esm/input-2b4050bb.js +0 -55
- package/dist/esm/input-2b4050bb.js.map +0 -1
- package/dist/esm/interactive-9e5e40e3.js +0 -146
- package/dist/esm/interactive-9e5e40e3.js.map +0 -1
- package/dist/esm/it-a4d6a18a.js +0 -66
- package/dist/esm/it-a4d6a18a.js.map +0 -1
- package/dist/esm/it-ch-7d051cbb.js +0 -66
- package/dist/esm/it-ch-7d051cbb.js.map +0 -1
- package/dist/esm/ja-0150deb6.js +0 -72
- package/dist/esm/ja-0150deb6.js.map +0 -1
- package/dist/esm/key-b5c2cd7d.js +0 -13
- package/dist/esm/key-b5c2cd7d.js.map +0 -1
- package/dist/esm/ko-b55b3fd9.js +0 -72
- package/dist/esm/ko-b55b3fd9.js.map +0 -1
- package/dist/esm/label-0a6fa80e.js +0 -176
- package/dist/esm/label-0a6fa80e.js.map +0 -1
- package/dist/esm/loadable-38c7a128.js +0 -86
- package/dist/esm/loadable-38c7a128.js.map +0 -1
- package/dist/esm/locale-98b6e661.js +0 -563
- package/dist/esm/locale-98b6e661.js.map +0 -1
- package/dist/esm/lt-a97c8f39.js +0 -97
- package/dist/esm/lt-a97c8f39.js.map +0 -1
- package/dist/esm/lv-69de396f.js +0 -66
- package/dist/esm/lv-69de396f.js.map +0 -1
- package/dist/esm/math-1ffb5216.js +0 -51
- package/dist/esm/math-1ffb5216.js.map +0 -1
- package/dist/esm/mk-b027047b.js +0 -66
- package/dist/esm/mk-b027047b.js.map +0 -1
- package/dist/esm/nb-2c2f5110.js +0 -67
- package/dist/esm/nb-2c2f5110.js.map +0 -1
- package/dist/esm/nl-bcb1fef5.js +0 -67
- package/dist/esm/nl-bcb1fef5.js.map +0 -1
- package/dist/esm/observers-b1ddc634.js +0 -50
- package/dist/esm/observers-b1ddc634.js.map +0 -1
- package/dist/esm/openCloseComponent-221c7895.js +0 -88
- package/dist/esm/openCloseComponent-221c7895.js.map +0 -1
- package/dist/esm/pl-d7b738d5.js +0 -114
- package/dist/esm/pl-d7b738d5.js.map +0 -1
- package/dist/esm/pt-8d862776.js +0 -67
- package/dist/esm/pt-8d862776.js.map +0 -1
- package/dist/esm/pt-br-9cced7c3.js +0 -65
- package/dist/esm/pt-br-9cced7c3.js.map +0 -1
- package/dist/esm/resources-06afaa96.js +0 -21
- package/dist/esm/resources-06afaa96.js.map +0 -1
- package/dist/esm/resources-1c4729cf.js +0 -47
- package/dist/esm/resources-1c4729cf.js.map +0 -1
- package/dist/esm/resources-3625820f.js +0 -25
- package/dist/esm/resources-3625820f.js.map +0 -1
- package/dist/esm/resources-6f878962.js +0 -382
- package/dist/esm/resources-6f878962.js.map +0 -1
- package/dist/esm/resources-77de6f53.js +0 -23
- package/dist/esm/resources-77de6f53.js.map +0 -1
- package/dist/esm/resources-87521d97.js +0 -19
- package/dist/esm/resources-87521d97.js.map +0 -1
- package/dist/esm/resources-c8a9ab73.js +0 -16
- package/dist/esm/resources-c8a9ab73.js.map +0 -1
- package/dist/esm/ro-64696343.js +0 -66
- package/dist/esm/ro-64696343.js.map +0 -1
- package/dist/esm/ru-7d2bcecb.js +0 -126
- package/dist/esm/ru-7d2bcecb.js.map +0 -1
- package/dist/esm/sk-696727a5.js +0 -148
- package/dist/esm/sk-696727a5.js.map +0 -1
- package/dist/esm/sl-d6786356.js +0 -168
- package/dist/esm/sl-d6786356.js.map +0 -1
- package/dist/esm/sortableComponent-d6d6073a.js +0 -2740
- package/dist/esm/sortableComponent-d6d6073a.js.map +0 -1
- package/dist/esm/sr-49902b21.js +0 -101
- package/dist/esm/sr-49902b21.js.map +0 -1
- package/dist/esm/sv-42352adb.js +0 -71
- package/dist/esm/sv-42352adb.js.map +0 -1
- package/dist/esm/t9n-743d8f1f.js +0 -92
- package/dist/esm/t9n-743d8f1f.js.map +0 -1
- package/dist/esm/th-b38889af.js +0 -65
- package/dist/esm/th-b38889af.js.map +0 -1
- package/dist/esm/throttle-f010e4ec.js +0 -75
- package/dist/esm/throttle-f010e4ec.js.map +0 -1
- package/dist/esm/tr-45b364a6.js +0 -66
- package/dist/esm/tr-45b364a6.js.map +0 -1
- package/dist/esm/uk-139dd5db.js +0 -104
- package/dist/esm/uk-139dd5db.js.map +0 -1
- package/dist/esm/utils-8a9f83d2.js +0 -200
- package/dist/esm/utils-8a9f83d2.js.map +0 -1
- package/dist/esm/utils-b5c2b8ad.js +0 -289
- package/dist/esm/utils-b5c2b8ad.js.map +0 -1
- package/dist/esm/vi-7ad65eda.js +0 -70
- package/dist/esm/vi-7ad65eda.js.map +0 -1
- package/dist/esm/zh-cn-3b50595c.js +0 -94
- package/dist/esm/zh-cn-3b50595c.js.map +0 -1
- package/dist/esm/zh-hk-5c21fdfd.js +0 -71
- package/dist/esm/zh-hk-5c21fdfd.js.map +0 -1
- package/dist/esm/zh-tw-6b722e99.js +0 -92
- package/dist/esm/zh-tw-6b722e99.js.map +0 -1
- /package/dist/calcite/{p-13e864aa.js.map → p-00fb4b18.js.map} +0 -0
- /package/dist/calcite/{p-2632edf0.js.map → p-02f20832.js.map} +0 -0
- /package/dist/calcite/{p-b4152d8c.js.map → p-03e7828b.js.map} +0 -0
- /package/dist/calcite/{p-89df96fa.entry.js.map → p-045f7080.entry.js.map} +0 -0
- /package/dist/calcite/{p-f75f0a6d.js.map → p-0592bb74.js.map} +0 -0
- /package/dist/calcite/{p-d1a95180.js.map → p-06264a70.js.map} +0 -0
- /package/dist/calcite/{p-5deb8612.entry.js.map → p-0675423d.entry.js.map} +0 -0
- /package/dist/calcite/{p-ec696440.entry.js.map → p-0b425650.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a0aa304.js.map → p-0d38002d.js.map} +0 -0
- /package/dist/calcite/{p-ffbee4c4.js.map → p-0e14f6ba.js.map} +0 -0
- /package/dist/calcite/{p-28d5a868.js.map → p-137cb2d8.js.map} +0 -0
- /package/dist/calcite/{p-f1a01e9f.entry.js.map → p-14d42338.entry.js.map} +0 -0
- /package/dist/calcite/{p-017ff109.js.map → p-1a5a3816.js.map} +0 -0
- /package/dist/calcite/{p-3d302e7a.js.map → p-1b66a670.js.map} +0 -0
- /package/dist/calcite/{p-db4c54d8.entry.js.map → p-1befc448.entry.js.map} +0 -0
- /package/dist/calcite/{p-eb55c27b.js.map → p-216d3475.js.map} +0 -0
- /package/dist/calcite/{p-dbd035fd.js.map → p-23562709.js.map} +0 -0
- /package/dist/calcite/{p-a10eff50.entry.js.map → p-23e6adeb.entry.js.map} +0 -0
- /package/dist/calcite/{p-6abba7df.js.map → p-27b469a5.js.map} +0 -0
- /package/dist/calcite/{p-374515dd.entry.js.map → p-27e6101c.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ab69d9d.js.map → p-28d72f23.js.map} +0 -0
- /package/dist/calcite/{p-041a8de6.entry.js.map → p-2cf00d1c.entry.js.map} +0 -0
- /package/dist/calcite/{p-8bf084c6.js.map → p-2e65afe6.js.map} +0 -0
- /package/dist/calcite/{p-7369809e.js.map → p-2fec90cc.js.map} +0 -0
- /package/dist/calcite/{p-c1f0fad9.js.map → p-300037e0.js.map} +0 -0
- /package/dist/calcite/{p-d425e9b0.js.map → p-323499c6.js.map} +0 -0
- /package/dist/calcite/{p-7e4a0c23.entry.js.map → p-33936156.entry.js.map} +0 -0
- /package/dist/calcite/{p-3a4e7427.js.map → p-33987720.js.map} +0 -0
- /package/dist/calcite/{p-1e838207.js.map → p-34b88712.js.map} +0 -0
- /package/dist/calcite/{p-c8b2ef0a.js.map → p-3c7de4a4.js.map} +0 -0
- /package/dist/calcite/{p-2f78ad4e.js.map → p-44bcb296.js.map} +0 -0
- /package/dist/calcite/{p-a774b568.entry.js.map → p-471cd147.entry.js.map} +0 -0
- /package/dist/calcite/{p-dc8ea27c.js.map → p-489ab4db.js.map} +0 -0
- /package/dist/calcite/{p-c6857d4c.js.map → p-4ce7ed41.js.map} +0 -0
- /package/dist/calcite/{p-7753672a.js.map → p-4d984389.js.map} +0 -0
- /package/dist/calcite/{p-6cfc0cf7.js.map → p-53206461.js.map} +0 -0
- /package/dist/calcite/{p-71f850ce.js.map → p-537bd8ad.js.map} +0 -0
- /package/dist/calcite/{p-b8248e75.js.map → p-56c5a9db.js.map} +0 -0
- /package/dist/calcite/{p-4a7f9f77.js.map → p-57e21d44.js.map} +0 -0
- /package/dist/calcite/{p-9c70c319.js.map → p-5a2e88a5.js.map} +0 -0
- /package/dist/calcite/{p-a1399801.js.map → p-5ed38cb9.js.map} +0 -0
- /package/dist/calcite/{p-95a87661.js.map → p-601d8185.js.map} +0 -0
- /package/dist/calcite/{p-0d049305.js.map → p-61ca3fb5.js.map} +0 -0
- /package/dist/calcite/{p-6422db1f.js.map → p-64a13b2b.js.map} +0 -0
- /package/dist/calcite/{p-8454d4f3.js.map → p-692ed798.js.map} +0 -0
- /package/dist/calcite/{p-c90dab6f.js.map → p-6be4c997.js.map} +0 -0
- /package/dist/calcite/{p-2778f6f5.js.map → p-6d735fc5.js.map} +0 -0
- /package/dist/calcite/{p-13a91ca4.js.map → p-6d7ea488.js.map} +0 -0
- /package/dist/calcite/{p-0055e511.js.map → p-70c530fa.js.map} +0 -0
- /package/dist/calcite/{p-79b796c1.entry.js.map → p-721693d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3a9b574.js.map → p-722485f5.js.map} +0 -0
- /package/dist/calcite/{p-2b65ed63.entry.js.map → p-731c80e1.entry.js.map} +0 -0
- /package/dist/calcite/{p-793f94a2.js.map → p-76a05023.js.map} +0 -0
- /package/dist/calcite/{p-e866b896.js.map → p-7808f2ea.js.map} +0 -0
- /package/dist/calcite/{p-df575d84.js.map → p-7929e123.js.map} +0 -0
- /package/dist/calcite/{p-a0cb4dc2.entry.js.map → p-7d9caf84.entry.js.map} +0 -0
- /package/dist/calcite/{p-30803e77.js.map → p-8056b9f5.js.map} +0 -0
- /package/dist/calcite/{p-2dc1c1a0.js.map → p-8214890d.js.map} +0 -0
- /package/dist/calcite/{p-3d642bb5.entry.js.map → p-82acae3a.entry.js.map} +0 -0
- /package/dist/calcite/{p-607f6ebc.js.map → p-8356a697.js.map} +0 -0
- /package/dist/calcite/{p-4a887929.entry.js.map → p-8582076d.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3ec31eb.js.map → p-87e00193.js.map} +0 -0
- /package/dist/calcite/{p-0f2befc5.js.map → p-8a489084.js.map} +0 -0
- /package/dist/calcite/{p-85ac6a8b.js.map → p-8a5e2f30.js.map} +0 -0
- /package/dist/calcite/{p-d41eda90.js.map → p-8e3a4720.js.map} +0 -0
- /package/dist/calcite/{p-b8a710c9.js.map → p-9229616c.js.map} +0 -0
- /package/dist/calcite/{p-70f6a000.js.map → p-93814eea.js.map} +0 -0
- /package/dist/calcite/{p-bf44c80a.js.map → p-94138947.js.map} +0 -0
- /package/dist/calcite/{p-a138e60f.js.map → p-94231d36.js.map} +0 -0
- /package/dist/calcite/{p-7c589f7f.js.map → p-9afafa31.js.map} +0 -0
- /package/dist/calcite/{p-055b2783.js.map → p-a1729828.js.map} +0 -0
- /package/dist/calcite/{p-d8d70bf3.js.map → p-a241e050.js.map} +0 -0
- /package/dist/calcite/{p-2481fa80.js.map → p-aa1f3bb0.js.map} +0 -0
- /package/dist/calcite/{p-0ded9ae1.js.map → p-ac40db38.js.map} +0 -0
- /package/dist/calcite/{p-efc4d265.js.map → p-ad00867d.js.map} +0 -0
- /package/dist/calcite/{p-7b81ad5b.entry.js.map → p-adf2e09b.entry.js.map} +0 -0
- /package/dist/calcite/{p-dd122c48.js.map → p-ae04d854.js.map} +0 -0
- /package/dist/calcite/{p-36f05a81.js.map → p-afaa8bd6.js.map} +0 -0
- /package/dist/calcite/{p-afb5e688.entry.js.map → p-b29c10c7.entry.js.map} +0 -0
- /package/dist/calcite/{p-0162b05a.js.map → p-b5e1810c.js.map} +0 -0
- /package/dist/calcite/{p-24808000.js.map → p-b8e56d6d.js.map} +0 -0
- /package/dist/calcite/{p-ed35c6d8.js.map → p-b9975309.js.map} +0 -0
- /package/dist/calcite/{p-b833204d.js.map → p-bd71120b.js.map} +0 -0
- /package/dist/calcite/{p-ff961e08.js.map → p-bf46ae45.js.map} +0 -0
- /package/dist/calcite/{p-59472336.js.map → p-c15f09d4.js.map} +0 -0
- /package/dist/calcite/{p-1a91451c.js.map → p-c26dde6d.js.map} +0 -0
- /package/dist/calcite/{p-9a5fdab8.js.map → p-c5480e93.js.map} +0 -0
- /package/dist/calcite/{p-64eee6a2.js.map → p-c5966b3e.js.map} +0 -0
- /package/dist/calcite/{p-2977ec54.js.map → p-c648d437.js.map} +0 -0
- /package/dist/calcite/{p-934455cd.js.map → p-c6f9db24.js.map} +0 -0
- /package/dist/calcite/{p-57d2f130.entry.js.map → p-c826795e.entry.js.map} +0 -0
- /package/dist/calcite/{p-31c4b5a1.js.map → p-cfaec1e1.js.map} +0 -0
- /package/dist/calcite/{p-d66f1056.entry.js.map → p-cfd060b6.entry.js.map} +0 -0
- /package/dist/calcite/{p-9a02cac5.entry.js.map → p-d2fbfca1.entry.js.map} +0 -0
- /package/dist/calcite/{p-84214ae3.js.map → p-d4786ef7.js.map} +0 -0
- /package/dist/calcite/{p-7f9ac7b4.js.map → p-d689065d.js.map} +0 -0
- /package/dist/calcite/{p-c4f30c75.js.map → p-dc15734f.js.map} +0 -0
- /package/dist/calcite/{p-33b0174c.entry.js.map → p-dcdf72f0.entry.js.map} +0 -0
- /package/dist/calcite/{p-d4e9817c.entry.js.map → p-e0aee19b.entry.js.map} +0 -0
- /package/dist/calcite/{p-d5fb1def.js.map → p-e48d006d.js.map} +0 -0
- /package/dist/calcite/{p-0d9ac7a1.entry.js.map → p-e8aee604.entry.js.map} +0 -0
- /package/dist/calcite/{p-d4870da3.js.map → p-e990b472.js.map} +0 -0
- /package/dist/calcite/{p-9009b70b.js.map → p-f246c231.js.map} +0 -0
- /package/dist/calcite/{p-6387e69e.entry.js.map → p-f3ebaf96.entry.js.map} +0 -0
- /package/dist/calcite/{p-51f324d8.js.map → p-f9bb2b7b.js.map} +0 -0
- /package/dist/calcite/{p-c96daab9.entry.js.map → p-fbb63962.entry.js.map} +0 -0
- /package/dist/calcite/{p-8775218c.entry.js.map → p-fe77f56d.entry.js.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as n,g as s,e as o,F as a}from"./p-e48d006d.js";import{B as c,k as r,g as l,C as d,t as h}from"./p-99726b90.js";import{g as b}from"./p-c26dde6d.js";import{a as f,b as u,d as p}from"./p-8a92a3ce.js";import{c as v}from"./p-2fec90cc.js";import{c as g,d as m}from"./p-8e3a4720.js";import{c as k,s as y,d as x,u as w}from"./p-dd1ec8aa.js";import{C as T}from"./p-57e21d44.js";import{c as z,d as C,I,u as A}from"./p-ae04d854.js";import{g as L}from"./p-ae81e665.js";import"./p-70c530fa.js";import"./p-c5966b3e.js";const H={container:"container",content:"content"};const S=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}.container{outline-color:transparent}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([hidden]){display:none}[hidden]{display:none}";const j=S;const B=class{constructor(i){t(this,i);this.calciteInternalTabRegister=e(this,"calciteInternalTabRegister",6);this.guid=`calcite-tab-title-${b()}`;this.tab=undefined;this.selected=false;this.scale="m";this.labeledBy=undefined}render(){const t=this.el.id||this.guid;return i(n,{key:"71074d2c26a860d7934fbd9b236f9a264ab3c34f","aria-labelledby":this.labeledBy,id:t},i("div",{key:"3fcf14f4aaddf9ad579c26c962ad75803febcea0",class:{[H.container]:true,[`scale-${this.scale}`]:true},role:"tabpanel",tabIndex:this.selected?0:-1},i("section",{key:"ba967be2e5121636d81754ec959452160bc4bb0d",class:H.content},i("slot",{key:"fae921d6fe2ae713bddc83adacbcf7e418aa1b7c"}))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){const e=t.composedPath().find((t=>t.tagName==="CALCITE-TABS"));if(e!==this.parentTabsEl){return}if(this.tab){this.selected=this.tab===t.detail.tab}else{this.getTabIndex().then((e=>{this.selected=e===t.detail.tab}))}t.stopPropagation()}async getTabIndex(){return Array.prototype.indexOf.call(c(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return s(this)}};B.style=j;const E={chevronRight:"chevron-right",chevronLeft:"chevron-left"};const R={activeIndicatorContainer:"tab-nav-active-indicator-container",container:"tab-nav",containerHasEndTabTitleOverflow:"tab-nav--end-overflow",containerHasStartTabTitleOverflow:"tab-nav--start-overflow",scrollButton:"scroll-button",scrollButtonContainer:"scroll-button-container",scrollBackwardContainerButton:"scroll-button-container--backward",scrollForwardContainerButton:"scroll-button-container--forward",tabTitleSlotWrapper:"tab-titles-slot-wrapper"};const F=':host{--calcite-internal-tab-nav-gradient-start-side:left;--calcite-internal-tab-nav-gradient-end-side:right;position:relative;display:flex}.scale-s{--calcite-internal-tab-nav-scroller-button-width:24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-scroller-button-width:32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-scroller-button-width:44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side:right;--calcite-internal-tab-nav-gradient-end-side:left}.tab-nav--start-overflow .tab-nav-active-indicator-container,.tab-nav--start-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--end-overflow .tab-nav-active-indicator-container,.tab-nav--end-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--start-overflow.tab-nav--end-overflow .tab-nav-active-indicator-container,.tab-nav--start-overflow.tab-nav--end-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%)}.tab-nav::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap:var(--calcite-size-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap:var(--calcite-size-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap:var(--calcite-size-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xxl)}.tab-nav,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.tab-nav-active-indicator-container{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-color-brand);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-offset-invert-focus:1;--calcite-color-text-1:var(--calcite-color-text-3);block-size:100%}.scroll-button-container calcite-button:hover{--calcite-color-text-1:unset;--calcite-color-foreground-1:var(--calcite-color-transparent-hover);--calcite-color-foreground-3:var(--calcite-color-transparent)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward::before,:host(:not([bordered])) .scroll-button-container--forward::before{background-color:var(--calcite-color-border-3);content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward::before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward::before{inset-inline-start:0}:host .position-bottom .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host .position-bottom .tab-nav-active-indicator-container{inset-block-end:unset;inset-block-start:0px}:host([bordered]) .tab-nav-active-indicator-container{inset-block-end:unset}:host([bordered]) .position-bottom .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}';const O=F;const $=class{constructor(n){t(this,n);this.calciteTabChange=e(this,"calciteTabChange",6);this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6);this.effectiveDir="ltr";this.lastScrollWheelAxis="x";this.resizeObserver=v("resize",(()=>{this.updateScrollingState();if(!this.activeIndicatorEl){return}this.updateActiveIndicator()}));this.onTabTitleWheel=t=>{t.preventDefault();const{deltaX:e,deltaY:i}=t;const n=Math.abs(e);const s=Math.abs(i);let o;if(n===s){o=this.lastScrollWheelAxis==="x"?e:i}else if(n>s){o=e;this.lastScrollWheelAxis="x"}else{o=i;this.lastScrollWheelAxis="y"}const a=(this.effectiveDir==="rtl"?-1:1)*o;t.currentTarget.scrollBy(a,0);requestAnimationFrame((()=>this.updateActiveIndicator()))};this.onSlotChange=t=>{this.intersectionObserver?.disconnect();const e=t.target.assignedElements();e.forEach((t=>{this.intersectionObserver?.observe(t)}))};this.storeContainerRef=t=>this.containerEl=t;this.storeTabTitleWrapperRef=t=>{this.tabTitleContainerEl=t;this.intersectionObserver=v("intersection",(()=>this.updateScrollingState()),{root:t,threshold:[0,.5,1]})};this.scrollToTabTitles=t=>{o((()=>{const e=this.tabTitleContainerEl;const i=e.getBoundingClientRect();const n=Array.from(this.el.querySelectorAll("calcite-tab-title"));const{effectiveDir:s}=this;if(t==="forward"){n.reverse()}let o=null;n.forEach((e=>{const n=e.getBoundingClientRect();const a=i.x+i.width;const c=n.x+n.width;if(t==="forward"&&s==="ltr"||t==="backward"&&s==="rtl"){const t=n.x>a;if(t){o=e}else{const t=c>a&&n.x>i.x;if(t){o=e}}}else{const t=c<i.x;if(t){o=e}else{const t=c<a&&n.x<i.x;if(t){o=e}}}}));if(o){const{scrollerButtonWidth:i}=this;const n=t==="forward"&&s==="ltr"||t==="backward"&&s==="rtl"?-i:o.offsetWidth-e.clientWidth+i;const a=o.offsetLeft+n;e.scrollTo({left:a,behavior:"smooth"})}}))};this.scrollToNextTabTitles=()=>this.scrollToTabTitles("forward");this.scrollToPreviousTabTitles=()=>this.scrollToTabTitles("backward");this.handleTabFocus=(t,e,i)=>{const n=r(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(n,"instant");t.stopPropagation()};this.onTabTitleScroll=()=>{this.updateActiveIndicator();this.updateScrollingState()};this.renderScrollButton=t=>{const{bordered:e,messages:n,hasOverflowingStartTabTitle:s,hasOverflowingEndTabTitle:o,scale:a}=this;const c=t==="end";return i("div",{class:{[R.scrollButtonContainer]:true,[R.scrollBackwardContainerButton]:!c,[R.scrollForwardContainerButton]:c},hidden:c&&!o||!c&&!s,key:t},i("calcite-button",{appearance:e?"outline-fill":"transparent","aria-label":c?n.nextTabTitles:n.previousTabTitles,class:{[R.scrollButton]:true},iconFlipRtl:"both",iconStart:c?E.chevronRight:E.chevronLeft,kind:"neutral",onClick:c?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles,scale:a,tabIndex:-1}))};this.storageId=undefined;this.syncId=undefined;this.selectedTitle=null;this.scale="m";this.layout="inline";this.position="bottom";this.bordered=false;this.indicatorOffset=undefined;this.indicatorWidth=undefined;this.messages=undefined;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.hasOverflowingStartTabTitle=false;this.hasOverflowingEndTabTitle=false;this.selectedTabId=undefined}onMessagesChange(){}async selectedTabIdChanged(){if(localStorage&&this.storageId&&this.selectedTabId!==undefined&&this.selectedTabId!==null){localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId))}this.calciteInternalTabChange.emit({tab:this.selectedTabId});this.selectedTitle=await this.getTabTitleById(this.selectedTabId)}selectedTitleChanged(){this.updateActiveIndicator()}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs");this.resizeObserver?.observe(this.el);g(this);k(this)}async componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}await y(this)}componentDidLoad(){this.scrollTabTitleIntoView(this.selectedTitle,"instant")}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout;this.bordered=t?.bordered;this.effectiveDir=l(this.el);if(this.selectedTitle){this.updateActiveIndicator()}}componentDidRender(){if(this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId){this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}}disconnectedCallback(){this.resizeObserver?.disconnect();m(this);x(this)}render(){const t=`${this.indicatorWidth}px`;const e=`${this.indicatorOffset}px`;const s=this.effectiveDir!=="rtl"?{width:t,left:e}:{width:t,right:e};return i(n,{key:"0824dd4470393b0e186b0fdf238420454fed396c",role:"tablist"},i("div",{key:"4761ce3b7b69660308bbf3b0814e99ecb1bac7fc",class:{[R.container]:true,[R.containerHasStartTabTitleOverflow]:!!this.hasOverflowingStartTabTitle,[R.containerHasEndTabTitleOverflow]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:true,[`position-${this.position}`]:true,[T.rtl]:this.effectiveDir==="rtl"},ref:this.storeContainerRef},this.renderScrollButton("start"),i("div",{key:"b98f8a5ea1073ea282cf33b39681f92416106f7f",class:{[R.tabTitleSlotWrapper]:true},onScroll:this.onTabTitleScroll,onWheel:this.onTabTitleWheel,ref:this.storeTabTitleWrapperRef},i("slot",{key:"ecb067c861253342cd71904778c8befc59addbb8",onSlotchange:this.onSlotChange})),i("div",{key:"f61bd3e90aabc09e7d0a5252ae47680953842aad",class:{[R.activeIndicatorContainer]:true},ref:t=>this.activeIndicatorContainerEl=t},i("div",{key:"c0b4bb7cd2adfae6a60308920da9d8d45e45e573",class:"tab-nav-active-indicator",ref:t=>this.activeIndicatorEl=t,style:s})),this.renderScrollButton("end")))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){const e=t.target;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e);t.stopPropagation();this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){if(!t){return}o((()=>{const i=this.effectiveDir==="ltr";const n=this.tabTitleContainerEl;const s=n.getBoundingClientRect();const o=t.getBoundingClientRect();const a=n.scrollLeft;const c=i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle;const r=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;if(o.left<s.left+(c?this.scrollerButtonWidth:0)){const t=a+(o.left-s.left)-this.scrollerButtonWidth;n.scrollTo({left:t,behavior:e})}else if(o.right>s.right-(r?this.scrollerButtonWidth:0)){const t=a+(o.right-s.right)+this.scrollerButtonWidth;n.scrollTo({left:t,behavior:e})}}))}activateTabHandler(t){this.calciteTabChange.emit();t.stopPropagation()}internalCloseTabHandler(t){const e=t.target;this.handleTabTitleClose(e);t.stopPropagation()}updateTabTitles(t){if(t.target.selected){this.selectedTabId=t.detail}}globalInternalTabChangeHandler(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab){this.selectedTabId=t.detail.tab}t.stopPropagation()}iconStartChangeHandler(){this.updateActiveIndicator()}effectiveLocaleChange(){w(this,this.effectiveLocale)}get scrollerButtonWidth(){const{scale:t}=this;return parseInt(t==="s"?f:t==="m"?u:p)}updateActiveIndicator(){const t=this.tabTitleContainerEl?.scrollLeft;const e=this.containerEl?.scrollLeft;const i=this.activeIndicatorContainerEl?.offsetWidth;const n=this.selectedTitle?.offsetLeft;const s=this.selectedTitle?.offsetWidth;const o=i-n-s;const a=this.effectiveDir==="ltr"?n:o;const c=this.effectiveDir==="ltr"?-1:1;this.indicatorOffset=a+c*(e+t);this.indicatorWidth=this.selectedTitle?.offsetWidth}updateScrollingState(){const t=this.tabTitleContainerEl;if(!t){return}let e;let i;const n=t.scrollLeft;const s=t.clientWidth;const o=t.scrollWidth;if(this.effectiveDir==="ltr"){e=n>0;i=n+s<o}else{e=n<0;i=n!==-(o-s)}this.hasOverflowingStartTabTitle=e;this.hasOverflowingEndTabTitle=i}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return d(this.el,"calcite-tab-title")}get enabledTabTitles(){return d(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this;const i=t.selected;const n=e.reduce(((t,e,i)=>!e.closed?[...t,i]:t),[]);const s=n.length;if(s===1&&e[n[0]].closable){e[n[0]].closable=false;this.selectedTabId=n[0];if(i){e[n[0]].activateTab()}}else if(s>1){const i=e.findIndex((e=>e===t));const o=n.find((t=>t>i));if(this.selectedTabId===i){this.selectedTabId=o?o:s-1;e[this.selectedTabId].activateTab()}}requestAnimationFrame((()=>{this.updateActiveIndicator();e[this.selectedTabId].focus()}))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"],effectiveLocale:["effectiveLocaleChange"]}}};$.style=O;const D={closeButton:"close-button",container:"container",content:"content",contentHasText:"content--has-text",iconEnd:"icon-end",iconPresent:"icon-present",iconStart:"icon-start",titleIcon:"calcite-tab-title--icon"};const P={close:"x"};const W=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{display:flex;align-items:center;justify-content:center}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([closable]) .content{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:0.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;border-block-end-width:2px;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}:host([position=bottom]) .container{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:0.5rem}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:0.5rem}.close-button{display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:var(--calcite-color-foreground-1);padding:0.25rem;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:-1px}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:0.5rem}:host([bordered]){margin-inline-end:0}:host([bordered][selected]){box-shadow:inset 0px -2px var(--calcite-color-foreground-1)}:host([bordered][selected][position=bottom]){box-shadow:inset 0 2px 0 var(--calcite-color-foreground-1)}:host([bordered]:hover) .container{background-color:var(--calcite-color-transparent-hover)}:host([closable]) .container,:host([bordered]) .container{border-inline-start:1px solid transparent;border-inline-end:1px solid transparent}:host([closable]) .container .close-button,:host([bordered]) .container .close-button{margin-inline:0}:host([closable][position=bottom]) .container,:host([bordered][position=bottom]) .container{border-block-start-style:unset}:host([selected][bordered]) .container{border-inline-start-color:var(--calcite-color-border-1);border-inline-end-color:var(--calcite-color-border-1)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:0.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:0.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered][position=bottom]) .container{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][position=bottom][selected]) .container{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}";const M=W;const N=class{constructor(i){t(this,i);this.calciteTabsActivate=e(this,"calciteTabsActivate",6);this.calciteInternalTabsActivate=e(this,"calciteInternalTabsActivate",6);this.calciteTabsClose=e(this,"calciteTabsClose",6);this.calciteInternalTabsClose=e(this,"calciteInternalTabsClose",6);this.calciteInternalTabsFocusNext=e(this,"calciteInternalTabsFocusNext",6);this.calciteInternalTabsFocusPrevious=e(this,"calciteInternalTabsFocusPrevious",6);this.calciteInternalTabsFocusFirst=e(this,"calciteInternalTabsFocusFirst",6);this.calciteInternalTabsFocusLast=e(this,"calciteInternalTabsFocusLast",6);this.calciteInternalTabTitleRegister=e(this,"calciteInternalTabTitleRegister",6);this.calciteInternalTabIconChanged=e(this,"calciteInternalTabIconChanged",6);this.closeClickHandler=()=>{this.closeTabTitleAndNotify()};this.mutationObserver=v("mutation",(()=>this.updateHasText()));this.resizeObserver=v("resize",(()=>{this.calciteInternalTabIconChanged.emit()}));this.guid=`calcite-tab-title-${b()}`;this.selected=false;this.closable=false;this.closed=false;this.disabled=false;this.iconEnd=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.layout=undefined;this.position="top";this.scale="m";this.bordered=false;this.tab=undefined;this.messages=undefined;this.messageOverrides=undefined;this.controls=undefined;this.defaultMessages=undefined;this.effectiveLocale=undefined;this.hasText=false}selectedHandler(){if(this.selected){this.activateTab(false)}}onMessagesChange(){}connectedCallback(){z(this);g(this);k(this);this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){this.mutationObserver?.disconnect();document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}));this.resizeObserver?.disconnect();C(this);m(this);x(this)}async componentWillLoad(){await y(this);{this.updateHasText()}if(this.tab&&this.selected){this.activateTab(false)}}componentWillRender(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.bordered=this.parentTabsEl.bordered}}render(){const{el:t,closed:e}=this;const s=t.id||this.guid;const o=i("calcite-icon",{key:"dc31a68fd20ffcf451d5b23e2aaae683249aa50a",class:{[D.titleIcon]:true,[D.iconStart]:true},flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:L(this.scale)});const a=i("calcite-icon",{key:"b8b85c799e950e050bb6c953cec61ab871894c9c",class:{[D.titleIcon]:true,[D.iconEnd]:true},flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:L(this.scale)});return i(n,{key:"532a18e093cd481a1058e55f1ac936489cad3ddb","aria-controls":this.controls,"aria-selected":h(this.selected),id:s,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},i(I,{key:"dede575160963d2463e50f6e8baab92319acda9f",disabled:this.disabled},i("div",{key:"384fab5a193878dcf8509718b94ceaace0c3e370",class:{container:true,[D.iconPresent]:!!this.iconStart||!!this.iconEnd,[`scale-${this.scale}`]:true},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{key:"9663b1a3178d18c6a9049241189bfd5db9c20eee",class:{[D.content]:true,[D.contentHasText]:this.hasText}},this.iconStart?o:null,i("slot",{key:"34f878add4124ea2f10bb9153ef15bafe602071d"}),this.iconEnd?a:null),this.renderCloseButton())))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:D.closeButton,disabled:false,key:D.closeButton,onClick:this.closeClickHandler,ref:t=>this.closeButtonEl=t,title:e.close,type:"button"},i("calcite-icon",{icon:P.close,scale:L(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){A(this)}internalTabChangeHandler(t){const e=t.composedPath().find((t=>t.tagName==="CALCITE-TABS"));if(e!==this.parentTabsEl){return}if(this.tab){this.selected=this.tab===t.detail.tab}else{this.getTabIndex().then((e=>{this.selected=e===t.detail.tab}))}t.stopPropagation()}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":if(!t.composedPath().includes(this.closeButtonEl)){this.activateTab();t.preventDefault()}break;case"ArrowRight":t.preventDefault();if(l(this.el)==="ltr"){this.calciteInternalTabsFocusNext.emit()}else{this.calciteInternalTabsFocusPrevious.emit()}break;case"ArrowLeft":t.preventDefault();if(l(this.el)==="ltr"){this.calciteInternalTabsFocusPrevious.emit()}else{this.calciteInternalTabsFocusNext.emit()}break;case"Home":t.preventDefault();this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault();this.calciteInternalTabsFocusLast.emit();break}}async getTabIndex(){return Array.prototype.indexOf.call(c(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}async activateTab(t=true){if(this.disabled||this.closed){return}const e={tab:this.tab};this.calciteInternalTabsActivate.emit(e);if(t){requestAnimationFrame((()=>this.calciteTabsActivate.emit()))}}effectiveLocaleChange(){w(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true})}closeTabTitleAndNotify(){this.closed=true;this.calciteInternalTabsClose.emit({tab:this.tab});this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};N.style=M;const _={titleGroup:"title-group"};const U=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";const q=U;const J=class{constructor(e){t(this,e);this.mutationObserver=v("mutation",(t=>{for(const e of t){const t=e.target;if(t.nodeName==="CALCITE-TAB-NAV"||t.nodeName==="CALCITE-TAB-TITLE"||t.nodeName==="CALCITE-TAB"){this.updateItems()}}}));this.layout="inline";this.position="top";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}handleInheritableProps(){this.updateItems()}connectedCallback(){this.mutationObserver.observe(this.el,{childList:true});this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i(a,{key:"3298379f9625744b770c10f0f86fc1b2bc990cad"},i("slot",{key:"fd0be78d348a01b701d58f37663d392ee04ca6a9",name:_.titleGroup}),i("section",{key:"31212d582a0e6367ed38d250c1acc39cad3fa987"},i("slot",{key:"179bdacefed784c60dd000101e606d5e678d93c9"})))}calciteInternalTabTitleRegister(t){this.titles=[...this.titles,t.target];this.registryHandler();t.stopPropagation()}calciteTabTitleUnregister(t){this.titles=this.titles.filter((e=>e!==t.detail));this.registryHandler();t.stopPropagation()}calciteInternalTabRegister(t){this.tabs=[...this.tabs,t.target];this.registryHandler();t.stopPropagation()}calciteTabUnregister(t){this.tabs=this.tabs.filter((e=>e!==t.detail));this.registryHandler();t.stopPropagation()}updateItems(){const{position:t,scale:e}=this;const i=this.el.querySelector("calcite-tab-nav");if(i){i.position=t;i.scale=e}Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{if(t.parentElement===this.el){t.scale=e}}));Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t;i.scale=e}))}async registryHandler(){let t;let e;if(this.tabs.some((t=>t.tab))||this.titles.some((t=>t.tab))){t=this.tabs.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id))}else{const i=await Promise.all(this.tabs.map((t=>t.getTabIndex())));const n=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=i.reduce(((t,e,i)=>{t[e]=this.tabs[i].id;return t}),[]);e=n.reduce(((t,e,i)=>{t[e]=this.titles[i].id;return t}),[])}this.tabs.forEach((i=>i.updateAriaInfo(t,e)));this.titles.forEach((i=>i.updateAriaInfo(t,e)))}get el(){return s(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"]}}};J.style=q;export{B as calcite_tab,$ as calcite_tab_nav,N as calcite_tab_title,J as calcite_tabs};
|
|
7
|
+
//# sourceMappingURL=p-7d9caf84.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
const t={menu:"menu",defaultTrigger:"default-trigger"};const e={tooltip:"tooltip",trigger:"trigger"};const a={menu:"ellipsis"};const s="data-active";export{t as C,a as I,e as S,s as a};
|
|
7
|
+
//# sourceMappingURL=p-8056b9f5.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as e,g as a}from"./p-e48d006d.js";import{c as n,u as o,d as s,I as c}from"./p-ae04d854.js";import{c as l,s as r,a as d}from"./p-bf0746a3.js";import"./p-c5966b3e.js";import"./p-ae81e665.js";const h={container:"container",dividerContainer:"divider-container",divider:"divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};const p=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-split-button-background:var(--calcite-color-brand);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-split-button-background:var(--calcite-color-status-danger);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-split-button-background:var(--calcite-color-foreground-3);--calcite-split-button-divider:var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-split-button-background:var(--calcite-color-inverse);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=outline]),:host([appearance=outline-fill]){--calcite-split-button-background:transparent}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const u=p;const b=class{constructor(e){t(this,e);this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6);this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6);this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit();this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit();this.appearance="solid";this.kind="brand";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.dropdownLabel=undefined;this.loading=false;this.overlayPositioning="absolute";this.primaryIconEnd=undefined;this.primaryIconFlipRtl=undefined;this.primaryIconStart=undefined;this.primaryLabel=undefined;this.primaryText=undefined;this.scale="m";this.width="auto"}handleDisabledChange(t){if(!t){this.active=false}}activeHandler(){if(this.disabled){this.active=false}}async setFocus(){await l(this);this.el.focus()}connectedCallback(){n(this)}componentWillLoad(){r(this)}componentDidLoad(){d(this)}componentDidRender(){o(this)}disconnectedCallback(){s(this)}render(){const t=this.width==="auto"?"auto":"full";return e(c,{key:"5bca9f9751e7f7ff1a4fb5bde5dd2cf8adeb039b",disabled:this.disabled},e("div",{key:"d8d95651c49144034a5356b045b39a9b80ed8778",class:h.container},e("calcite-button",{key:"d882eca49b2d32c0c366bac900c01b6f448e2af6",appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:t},this.primaryText),e("div",{key:"7756c7e247a7d74c94d635b7da4e23e25588ccdc",class:h.dividerContainer},e("div",{key:"b855b43e1338dd73b8f9fa27217843bb0e1bdf64",class:h.divider})),e("calcite-dropdown",{key:"ab0fba71ae22c3af9563f99a5ac0feb51be0fb9f",disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,"width-scale":this.scale},e("calcite-button",{key:"6b94ce6f08d225bff2be6a3ece459e991436835d",appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),e("slot",{key:"d7ddac81064109f923f0e871b59ff38128a17ab8"}))))}get dropdownIcon(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"}static get delegatesFocus(){return true}get el(){return a(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};b.style=u;export{b as calcite_split_button};
|
|
7
|
+
//# sourceMappingURL=p-80c8be6a.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","container","dividerContainer","divider","widthAuto","widthHalf","widthFull","splitButtonCss","CalciteSplitButtonStyle0","SplitButton","this","calciteSplitButtonPrimaryClickHandler","calciteSplitButtonPrimaryClick","emit","calciteSplitButtonSecondaryClickHandler","calciteSplitButtonSecondaryClick","handleDisabledChange","value","active","activeHandler","disabled","setFocus","componentFocusable","el","focus","connectedCallback","connectInteractive","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnectInteractive","render","buttonWidth","width","h","InteractiveContainer","key","class","appearance","primaryIconEnd","primaryIconStart","iconFlipRtl","primaryIconFlipRtl","kind","label","primaryLabel","loading","onClick","scale","splitChild","type","primaryText","open","overlayPositioning","placement","dropdownIcon","dropdownLabel","slot","dropdownIconType"],"sources":["src/components/split-button/resources.ts","src/components/split-button/split-button.scss?tag=calcite-split-button&encapsulation=shadow","src/components/split-button/split-button.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n dividerContainer: \"divider-container\",\n divider: \"divider\",\n widthAuto: \"width-auto\",\n widthHalf: \"width-half\",\n widthFull: \"width-full\",\n};\n",":host {\n @apply inline-block;\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-2/4;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n:host([kind=\"brand\"]) {\n --calcite-split-button-background: theme(\"colors.brand\");\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n}\n\n:host([kind=\"danger\"]) {\n --calcite-split-button-background: theme(\"colors.danger\");\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n}\n\n:host([kind=\"neutral\"]) {\n --calcite-split-button-background: theme(\"colors.background.foreground.3\");\n --calcite-split-button-divider: theme(\"colors.color.1\");\n}\n\n:host([kind=\"inverse\"]) {\n --calcite-split-button-background: var(--calcite-color-inverse);\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n}\n\n:host([appearance=\"transparent\"]) {\n --calcite-split-button-background: transparent;\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger\");\n }\n &:host([kind=\"neutral\"]) {\n --calcite-split-button-divider: theme(\"colors.color.1\");\n }\n &:host([kind=\"inverse\"]) {\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n }\n}\n\n:host([appearance=\"outline\"]),\n:host([appearance=\"outline-fill\"]) {\n --calcite-split-button-background: transparent;\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger\");\n }\n &:host([kind=\"neutral\"]) {\n --calcite-split-button-divider: theme(\"borderColor.color.1\");\n }\n &:host([kind=\"inverse\"]) {\n --calcite-split-button-divider: var(--calcite-color-inverse);\n }\n}\n\n.container {\n @apply flex items-stretch;\n > calcite-dropdown > calcite-button {\n @apply h-full align-top;\n }\n}\n\n.divider-container {\n @apply transition-default flex w-px items-stretch;\n background-color: var(--calcite-split-button-background);\n}\n\n.divider {\n @apply my-1 inline-block w-px;\n background-color: var(--calcite-split-button-divider);\n}\n\n:host([appearance=\"outline-fill\"]),\n:host([appearance=\"outline\"]) {\n .divider-container {\n border-block: 1px solid var(--calcite-split-button-divider);\n }\n &:hover .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n:host([appearance=\"outline-fill\"]:hover),\n:host([appearance=\"outline\"]:hover) {\n .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n:host([appearance=\"outline-fill\"]:focus-within),\n:host([appearance=\"outline\"]:focus-within) {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand-press\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger-press\");\n }\n .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n@include disabled() {\n calcite-dropdown > calcite-button {\n @apply pointer-events-none;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { OverlayPositioning } from \"../../utils/floating-ui\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { DropdownIconType } from \"../button/interfaces\";\nimport { Appearance, FlipContext, Kind, Scale, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown` content.\n */\n@Component({\n tag: \"calcite-split-button\",\n styleUrl: \"split-button.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class SplitButton implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\n \"outline\" | \"outline-fill\" | \"solid\" | \"transparent\",\n Appearance\n > = \"solid\";\n\n /** Specifies the kind of the component, which will apply to border and background, if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"danger\" | \"inverse\" | \"neutral\", Kind> =\n \"brand\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.active = false;\n }\n }\n\n /**\n * When `true`, the component is active.\n *\n * @internal\n */\n @Prop({ mutable: true, reflect: true }) active = false;\n\n @Watch(\"active\")\n activeHandler(): void {\n if (this.disabled) {\n this.active = false;\n }\n }\n\n /** Specifies the icon used for the dropdown menu. */\n @Prop({ reflect: true }) dropdownIconType: DropdownIconType = \"chevron\";\n\n /** Accessible name for the dropdown menu. */\n @Prop({ reflect: true }) dropdownLabel: string;\n\n /**\n When `true`, a busy indicator is displayed on the primary button.\n */\n @Prop({ reflect: true }) loading = false;\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n /** Specifies an icon to display at the end of the primary button. */\n @Prop({ reflect: true }) primaryIconEnd: string;\n\n /** Displays the `primaryIconStart` and/or `primaryIconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) primaryIconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the primary button. */\n @Prop({ reflect: true }) primaryIconStart: string;\n\n /** Accessible name for the primary button. */\n @Prop({ reflect: true }) primaryLabel: string;\n\n /** Text displayed in the primary button. */\n @Prop({ reflect: true }) primaryText: string;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Fires when the primary button is clicked.\n */\n @Event({ cancelable: false })\n calciteSplitButtonPrimaryClick: EventEmitter<void>;\n\n /**\n * Fires when the dropdown menu is clicked.\n */\n @Event({ cancelable: false })\n calciteSplitButtonSecondaryClick: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSplitButtonElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n }\n\n render(): VNode {\n const buttonWidth = this.width === \"auto\" ? \"auto\" : \"full\";\n\n return (\n <InteractiveContainer disabled={this.disabled}>\n <div class={CSS.container}>\n <calcite-button\n appearance={this.appearance}\n disabled={this.disabled}\n icon-end={this.primaryIconEnd ? this.primaryIconEnd : null}\n icon-start={this.primaryIconStart ? this.primaryIconStart : null}\n iconFlipRtl={this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null}\n kind={this.kind}\n label={this.primaryLabel}\n loading={this.loading}\n onClick={this.calciteSplitButtonPrimaryClickHandler}\n scale={this.scale}\n splitChild={\"primary\"}\n type=\"button\"\n width={buttonWidth}\n >\n {this.primaryText}\n </calcite-button>\n <div class={CSS.dividerContainer}>\n <div class={CSS.divider} />\n </div>\n <calcite-dropdown\n disabled={this.disabled}\n onClick={this.calciteSplitButtonSecondaryClickHandler}\n open={this.active}\n overlayPositioning={this.overlayPositioning}\n placement=\"bottom-end\"\n scale={this.scale}\n width-scale={this.scale}\n >\n <calcite-button\n appearance={this.appearance}\n disabled={this.disabled}\n icon-start={this.dropdownIcon}\n kind={this.kind}\n label={this.dropdownLabel}\n scale={this.scale}\n slot=\"trigger\"\n splitChild={\"secondary\"}\n type=\"button\"\n />\n <slot />\n </calcite-dropdown>\n </div>\n </InteractiveContainer>\n );\n }\n\n private calciteSplitButtonPrimaryClickHandler = (): CustomEvent =>\n this.calciteSplitButtonPrimaryClick.emit();\n\n private calciteSplitButtonSecondaryClickHandler = (): CustomEvent =>\n this.calciteSplitButtonSecondaryClick.emit();\n\n private get dropdownIcon(): string {\n return this.dropdownIconType === \"chevron\"\n ? \"chevronDown\"\n : this.dropdownIconType === \"caret\"\n ? \"caretDown\"\n : this.dropdownIconType === \"ellipsis\"\n ? \"ellipsis\"\n : \"handle-vertical\";\n }\n}\n"],"mappings":";;;;;oNAAO,MAAMA,EAAM,CACjBC,UAAW,YACXC,iBAAkB,oBAClBC,QAAS,UACTC,UAAW,aACXC,UAAW,aACXC,UAAW,cCNb,MAAMC,EAAiB,wlIACvB,MAAAC,EAAeD,E,MCsCFE,EAAW,M,2LAmMdC,KAAAC,sCAAwC,IAC9CD,KAAKE,+BAA+BC,OAE9BH,KAAAI,wCAA0C,IAChDJ,KAAKK,iCAAiCF,O,gBA5LpC,Q,UAIF,Q,cAGkC,M,YAca,M,sBAUa,U,0CAQ3B,M,wBAU+B,W,kKAkB1B,I,WAGA,M,CA5DxC,oBAAAG,CAAqBC,GACnB,IAAKA,EAAO,CACVP,KAAKQ,OAAS,K,EAYlB,aAAAC,GACE,GAAIT,KAAKU,SAAU,CACjBV,KAAKQ,OAAS,K,EAkElB,cAAMG,SACEC,EAAmBZ,MACzBA,KAAKa,GAAGC,O,CAiBV,iBAAAC,GACEC,EAAmBhB,K,CAGrB,iBAAAiB,GACEC,EAAuBlB,K,CAGzB,gBAAAmB,GACEC,EAAmBpB,K,CAGrB,kBAAAqB,GACEC,EAAsBtB,K,CAGxB,oBAAAuB,GACEC,EAAsBxB,K,CAGxB,MAAAyB,GACE,MAAMC,EAAc1B,KAAK2B,QAAU,OAAS,OAAS,OAErD,OACEC,EAACC,EAAoB,CAAAC,IAAA,2CAACpB,SAAUV,KAAKU,UACnCkB,EAAA,OAAAE,IAAA,2CAAKC,MAAOzC,EAAIC,WACdqC,EAAA,kBAAAE,IAAA,2CACEE,WAAYhC,KAAKgC,WACjBtB,SAAUV,KAAKU,SAAQ,WACbV,KAAKiC,eAAiBjC,KAAKiC,eAAiB,KAAI,aAC9CjC,KAAKkC,iBAAmBlC,KAAKkC,iBAAmB,KAC5DC,YAAanC,KAAKoC,mBAAqBpC,KAAKoC,mBAAqB,KACjEC,KAAMrC,KAAKqC,KACXC,MAAOtC,KAAKuC,aACZC,QAASxC,KAAKwC,QACdC,QAASzC,KAAKC,sCACdyC,MAAO1C,KAAK0C,MACZC,WAAY,UACZC,KAAK,SACLjB,MAAOD,GAEN1B,KAAK6C,aAERjB,EAAA,OAAAE,IAAA,2CAAKC,MAAOzC,EAAIE,kBACdoC,EAAA,OAAAE,IAAA,2CAAKC,MAAOzC,EAAIG,WAElBmC,EAAA,oBAAAE,IAAA,2CACEpB,SAAUV,KAAKU,SACf+B,QAASzC,KAAKI,wCACd0C,KAAM9C,KAAKQ,OACXuC,mBAAoB/C,KAAK+C,mBACzBC,UAAU,aACVN,MAAO1C,KAAK0C,MAAK,cACJ1C,KAAK0C,OAElBd,EAAA,kBAAAE,IAAA,2CACEE,WAAYhC,KAAKgC,WACjBtB,SAAUV,KAAKU,SAAQ,aACXV,KAAKiD,aACjBZ,KAAMrC,KAAKqC,KACXC,MAAOtC,KAAKkD,cACZR,MAAO1C,KAAK0C,MACZS,KAAK,UACLR,WAAY,YACZC,KAAK,WAEPhB,EAAA,QAAAE,IAAA,+C,CAaV,gBAAYmB,GACV,OAAOjD,KAAKoD,mBAAqB,UAC7B,cACApD,KAAKoD,mBAAqB,QACxB,YACApD,KAAKoD,mBAAqB,WACxB,WACA,iB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{d as i,i as r}from"./p-ad00867d.js";var t="Expected a function";function n(n,a,e){var o=true,f=true;if(typeof n!="function"){throw new TypeError(t)}if(r(e)){o="leading"in e?!!e.leading:o;f="trailing"in e?!!e.trailing:f}return i(n,a,{leading:o,maxWait:a,trailing:f})}export{n as t};
|
|
7
|
+
//# sourceMappingURL=p-8214890d.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,f as e,h as s,H as o,g as a}from"./p-e48d006d.js";import{g as r}from"./p-3c7de4a4.js";import{g as c,d as n,t as d}from"./p-99726b90.js";import{c as h,d as l,H as f}from"./p-8356a697.js";import{g as u}from"./p-c26dde6d.js";import{c as p,d as b,u as m,I as k}from"./p-ae04d854.js";import{c as v,d as x,g}from"./p-9e5dd305.js";import{c as w,s as y,a as z}from"./p-bf0746a3.js";import"./p-57e21d44.js";import"./p-c5966b3e.js";import"./p-ae81e665.js";const C={container:"container"};const A=':host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{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-color-foreground-1);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-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-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-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}:host([hidden]){display:none}[hidden]{display:none}';const R=A;const j=class{constructor(e){t(this,e);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.isFocusable=()=>{const t=this.queryButtons();const i=t.find((t=>!t.disabled));const e=t.find((t=>t.checked));return i===this.el&&!e};this.check=()=>{if(this.disabled){return}this.focused=true;this.setFocus();if(this.checked){return}this.uncheckAllRadioButtonsInGroup();this.checked=true;this.calciteRadioButtonChange.emit()};this.clickHandler=()=>{if(this.disabled){return}this.check()};this.setContainerEl=t=>{this.containerEl=t};this.handleKeyDown=t=>{const i=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];const{key:e}=t;const{el:s}=this;if(i.indexOf(e)===-1){return}if(e===" "){this.check();t.preventDefault();return}let o=e;if(c(s)==="rtl"){if(e==="ArrowRight"){o="ArrowLeft"}if(e==="ArrowLeft"){o="ArrowRight"}}const a=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name));let n=0;const d=a.length;a.some(((t,i)=>{if(t.checked){n=i;return true}}));switch(o){case"ArrowLeft":case"ArrowUp":t.preventDefault();this.selectItem(a,r(Math.max(n-1,-1),d));return;case"ArrowRight":case"ArrowDown":t.preventDefault();this.selectItem(a,r(n+1,d));return;default:return}};this.onContainerBlur=()=>{this.focused=false;this.calciteInternalRadioButtonBlur.emit()};this.onContainerFocus=()=>{if(!this.disabled){this.focused=true;this.calciteInternalRadioButtonFocus.emit()}};this.checked=false;this.disabled=false;this.focused=false;this.form=undefined;this.guid=undefined;this.hovered=false;this.label=undefined;this.name=undefined;this.required=false;this.scale="m";this.value=undefined}handleHiddenChange(){this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(t){if(t){this.uncheckOtherRadioButtonsInGroup()}this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await w(this);if(!this.disabled){n(this.containerEl)}}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.el.hidden){return}const i=t.currentTarget;const e=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);if(!e){return}e.focused=true;this.setFocus();if(e.checked){return}this.uncheckOtherRadioButtonsInGroup();e.checked=true;this.calciteRadioButtonChange.emit()}checkLastRadioButton(){const t=this.queryButtons();const i=t.filter((t=>t.checked));if(i?.length>1){const t=i[i.length-1];i.filter((i=>i!==t)).forEach((t=>{t.checked=false;t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){const t=this.queryButtons();t.forEach((t=>{if(t.checked){t.checked=false;t.focused=false}}))}uncheckOtherRadioButtonsInGroup(){const t=this.queryButtons();const i=t.filter((t=>t.guid!==this.guid));i.forEach((t=>{if(t.checked){t.checked=false;t.focused=false}}))}updateTabIndexOfOtherRadioButtonsInGroup(){const t=this.queryButtons();const i=t.filter((t=>t.guid!==this.guid&&!t.disabled));i.forEach((t=>{e(t)}))}getTabIndex(){if(this.disabled){return undefined}return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){if(this.disabled){return}this.hovered=true}pointerLeaveHandler(){if(this.disabled){return}this.hovered=false}connectedCallback(){this.rootNode=this.el.getRootNode();this.guid=this.el.id||`calcite-radio-button-${u()}`;if(this.name){this.checkLastRadioButton()}p(this);v(this);h(this);this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){y(this)}componentDidLoad(){z(this);if(this.focused&&!this.disabled){this.setFocus()}}disconnectedCallback(){b(this);x(this);l(this);this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){m(this)}render(){const t=this.getTabIndex();return s(o,{key:"8f3041ba8734968e9ca661384fe5263ce7a7cc59",onClick:this.clickHandler,onKeyDown:this.handleKeyDown},s(k,{key:"df85d6120f9a1e56cc76c1a113288c8b3e96c3fe",disabled:this.disabled},s("div",{key:"3ce0f9b2d7b3b8cbc8b4f3a150b3aef94609e37f","aria-checked":d(this.checked),"aria-label":g(this),class:C.container,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},s("div",{key:"05bb36982a0c97c7dac4f3af93765fc99cef55da",class:"radio"})),s(f,{key:"5aec77d3a354d25d9ee49b8255c89c5fdffcc6aa",component:this})))}get el(){return a(this)}static get watchers(){return{hidden:["handleHiddenChange"],checked:["checkedChanged"],disabled:["disabledChanged"],name:["nameChanged"]}}};j.style=R;export{j as calcite_radio_button};
|
|
7
|
+
//# sourceMappingURL=p-82acae3a.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as t,h as i,H as s,g as a}from"./p-e48d006d.js";import{s as n,a as c}from"./p-bf0746a3.js";import{u as l,s as o,c as r,d as h}from"./p-dd1ec8aa.js";import{n as d,c as b,d as f}from"./p-8e3a4720.js";import{g as p}from"./p-c5966b3e.js";import"./p-ae81e665.js";import"./p-99726b90.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";import"./p-70c530fa.js";import"./p-2fec90cc.js";const u={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"};const g={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"};const m=":host([scale=s]){--calcite-internal-table-cell-padding:0.25rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding:0.5rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding:1rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color:var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background:var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:0.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:0.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}";const v=m;const y=class{constructor(i){e(this,i);this.calciteTableSelect=t(this,"calciteTableSelect",6);this.calciteTablePageChange=t(this,"calciteTablePageChange",6);this.calciteInternalTableRowFocusChange=t(this,"calciteInternalTableRowFocusChange",6);this.getSlottedRows=e=>e?.assignedElements({flatten:true})?.filter((e=>e?.matches("calcite-table-row")));this.updateRows=()=>{const e=this.getSlottedRows(this.tableHeadSlotEl)||[];const t=this.getSlottedRows(this.tableBodySlotEl)||[];const i=this.getSlottedRows(this.tableFootSlotEl)||[];const s=[...e,...t,...i];e?.forEach((t=>{const i=e?.indexOf(t);t.rowType="head";t.positionSection=i;t.positionSectionLocalized=this.localizeNumber((i+1).toString())}));t?.forEach((e=>{const i=t?.indexOf(e);e.rowType="body";e.positionSection=i;e.positionSectionLocalized=this.localizeNumber((i+1).toString())}));i?.forEach((e=>{const t=i?.indexOf(e);e.rowType="foot";e.positionSection=t;e.positionSectionLocalized=this.localizeNumber((t+1).toString())}));s?.forEach((e=>{e.interactionMode=this.interactionMode;e.selectionMode=this.selectionMode;e.bodyRowCount=t?.length;e.positionAll=s?.indexOf(e);e.numbered=this.numbered;e.scale=this.scale;e.readCellContentsToAT=this.readCellContentsToAT;e.lastVisibleRow=s?.indexOf(e)===s.length-1}));const a=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=a;this.headRows=e;this.bodyRows=t;this.footRows=i;this.allRows=s;this.updateSelectedItems();this.paginateRows()};this.handlePaginationChange=()=>{const e=this.paginationEl?.startItem;this.pageStartRow=e||1;this.calciteTablePageChange.emit();this.updateRows()};this.paginateRows=()=>{this.bodyRows?.forEach((e=>{const t=e.positionSection+1;const i=t>=this.pageStartRow&&t<this.pageStartRow+this.pageSize;e.hidden=this.pageSize>0&&!i&&!this.footRows.includes(e);e.lastVisibleRow=t===this.pageStartRow+this.pageSize-1||t===this.bodyRows.length}))};this.updateSelectedItems=e=>{const t=this.bodyRows?.filter((e=>e.selected));this.selectedItems=t;this.selectedCount=t?.length;this.allRows?.forEach((e=>{e.selectedRowCount=this.selectedCount;e.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}));if(e){this.calciteTableSelect.emit()}};this.handleDeselectAllRows=()=>{this.bodyRows?.forEach((e=>{e.selected=false}));this.updateSelectedItems(true)};this.setSelectedItems=e=>{this.bodyRows?.forEach((t=>{if(e?.rowType==="head"){t.selected=this.selectedCount!==this.bodyRows?.length}else{t.selected=e===t?!t.selected:this.selectionMode==="multiple"?t.selected:false}}));this.updateSelectedItems(true)};this.localizeNumber=e=>{d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};return d.localize(e.toString())};this.bordered=false;this.caption=undefined;this.groupSeparator=false;this.interactionMode="interactive";this.layout="auto";this.numbered=false;this.numberingSystem=undefined;this.pageSize=0;this.scale="m";this.selectionMode="none";this.selectionDisplay="top";this.zebra=false;this.striped=false;this.selectedItems=[];this.messages=undefined;this.messageOverrides=undefined;this.colCount=0;this.pageStartRow=1;this.selectedCount=0;this.readCellContentsToAT=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}handleNumberedChange(){this.updateRows()}onMessagesChange(){}effectiveLocaleChange(){l(this,this.effectiveLocale)}async componentWillLoad(){n(this);await o(this);this.readCellContentsToAT=/safari/i.test(p());this.updateRows()}componentDidLoad(){c(this)}connectedCallback(){b(this);r(this)}disconnectedCallback(){f(this);h(this)}calciteChipSelectListener(e){if(e.composedPath().includes(this.el)){this.setSelectedItems(e.target)}}calciteInternalTableRowFocusEvent(e){const t=e["detail"].cellPosition;const i=e["detail"].rowPosition;const s=e["detail"].destination;const a=e["detail"].lastCell;const n=this.bodyRows?.filter((e=>!e.hidden));const c=this.allRows?.filter((e=>!e.hidden));const l=this.headRows[this.headRows.length-1]?.positionAll;const o=n[0]?.positionAll;const r=n[n.length-1]?.positionAll;const h=this.footRows[0]?.positionAll;const d=c[c.length-1]?.positionAll;const b=s==="next"&&i===l;const f=s==="previous"&&i===h;const p=s==="previous"&&i===o;const u=s==="next"&&i===r;let g;switch(s){case"first":g=0;break;case"last":g=d;break;case"next":g=b?o:u?h:i+1;break;case"previous":g=f?r:p?l:i-1;break}const m=this.allRows?.find((e=>e.positionAll===g))?.cellCount;const v=t>m?m:t;if(g!==undefined){this.calciteInternalTableRowFocusChange.emit({cellPosition:v,rowPosition:g,destination:s,lastCell:a})}}renderSelectionArea(){const e=this.selectedItems?.filter((e=>e.hidden))?.length;const t=this.localizeNumber(e?.toString());const s=this.localizeNumber(this.selectedCount?.toString());const a=`${s} ${this.messages.selected}`;const n=`${t} ${this.messages.hiddenSelected}`;return i("div",{class:u.selectionArea},i("calcite-chip",{kind:this.selectedCount>0?"brand":"neutral",scale:this.scale,value:a},a),e>0&&i("calcite-chip",{icon:"hide-empty",scale:this.scale,title:n,value:n},t),this.selectedCount>0&&i("calcite-button",{"icon-start":"x",kind:"neutral",onClick:this.handleDeselectAllRows,round:true,scale:this.scale,title:`${this.messages.clear} ${a} ${this.messages.row}`},this.messages.clear),i("div",{class:u.selectionActions},i("slot",{name:g.selectionActions})))}renderPaginationArea(){return i("div",{class:u.paginationArea},i("calcite-pagination",{groupSeparator:this.groupSeparator,numberingSystem:this.numberingSystem,onCalcitePaginationChange:this.handlePaginationChange,pageSize:this.pageSize,ref:e=>this.paginationEl=e,scale:this.scale,startItem:1,totalItems:this.bodyRows?.length}))}renderTHead(){return i("thead",null,i("slot",{name:g.tableHeader,onSlotchange:this.updateRows,ref:e=>this.tableHeadSlotEl=e}))}renderTBody(){return i("tbody",null,i("slot",{onSlotchange:this.updateRows,ref:e=>this.tableBodySlotEl=e}))}renderTFoot(){return i("tfoot",null,i("slot",{name:g.tableFooter,onSlotchange:this.updateRows,ref:e=>this.tableFootSlotEl=e}))}render(){return i(s,{key:"0ad775918a528e0383ae8ac668aaea171e743c50"},i("div",{key:"001fa218604e3f208bc74fe2eb55633c37fb6359",class:u.container},this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea(),i("div",{key:"3ed54bb7c34347be92c41ac8cb3daa50833b08bc",class:{[u.bordered]:this.bordered,[u.striped]:this.striped||this.zebra,[u.tableContainer]:true}},i("table",{key:"fdde4e69f98bf70dd39a9a51cc269ced2d0e88b4","aria-colcount":this.colCount,"aria-multiselectable":this.selectionMode==="multiple","aria-rowcount":this.allRows?.length,class:{[u.tableFixed]:this.layout==="fixed"},role:this.interactionMode==="interactive"?"grid":"table"},i("caption",{key:"10dcd581d09d75e8ecb968e04bba90367b248731",class:u.assistiveText},this.caption),this.renderTHead(),this.renderTBody(),this.renderTFoot())),this.pageSize>0&&this.renderPaginationArea()))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{groupSeparator:["handleNumberedChange"],interactionMode:["handleNumberedChange"],numbered:["handleNumberedChange"],numberingSystem:["handleNumberedChange"],pageSize:["handleNumberedChange"],scale:["handleNumberedChange"],selectionMode:["handleNumberedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=v;export{y as calcite_table};
|
|
7
|
+
//# sourceMappingURL=p-831ada63.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","bordered","striped","selectionArea","paginationArea","container","tableContainer","tableFixed","assistiveText","selectionActions","SLOTS","tableHeader","tableFooter","tableCss","CalciteTableStyle0","Table","this","getSlottedRows","el","assignedElements","flatten","filter","matches","updateRows","headRows","tableHeadSlotEl","bodyRows","tableBodySlotEl","footRows","tableFootSlotEl","allRows","forEach","row","position","indexOf","rowType","positionSection","positionSectionLocalized","localizeNumber","toString","interactionMode","selectionMode","bodyRowCount","length","positionAll","numbered","scale","readCellContentsToAT","lastVisibleRow","colCount","cellCount","querySelectorAll","updateSelectedItems","paginateRows","handlePaginationChange","requestedItem","paginationEl","startItem","pageStartRow","calciteTablePageChange","emit","rowPos","inView","pageSize","hidden","includes","selectedItems","selected","selectedCount","selectedRowCount","selectedRowCountLocalized","calciteTableSelect","handleDeselectAllRows","setSelectedItems","elToMatch","value","numberStringFormatter","numberFormatOptions","locale","effectiveLocale","numberingSystem","useGrouping","groupSeparator","localize","handleNumberedChange","onMessagesChange","effectiveLocaleChange","updateMessages","componentWillLoad","setUpLoadableComponent","setUpMessages","test","getUserAgentString","componentDidLoad","setComponentLoaded","connectedCallback","connectLocalized","connectMessages","disconnectedCallback","disconnectLocalized","disconnectMessages","calciteChipSelectListener","event","composedPath","target","calciteInternalTableRowFocusEvent","cellPosition","rowPosition","destination","lastCell","visibleBody","visibleAll","lastHeadRow","firstBodyRow","lastBodyRow","firstFootRow","lastTableRow","leavingHeader","leavingFooter","enteringHeader","enteringFooter","destinationCount","find","adjustedPos","undefined","calciteInternalTableRowFocusChange","renderSelectionArea","outOfViewCount","localizedOutOfView","localizedSelectedCount","selectionText","messages","outOfView","hiddenSelected","h","class","kind","icon","title","onClick","round","clear","name","renderPaginationArea","onCalcitePaginationChange","ref","totalItems","renderTHead","onSlotchange","renderTBody","renderTFoot","render","Host","key","selectionDisplay","zebra","layout","role","caption"],"sources":["src/components/table/resources.ts","src/components/table/table.scss?tag=calcite-table&encapsulation=shadow","src/components/table/table.tsx"],"sourcesContent":["export const CSS = {\n bordered: \"bordered\",\n striped: \"striped\",\n selectionArea: \"selection-area\",\n paginationArea: \"pagination-area\",\n container: \"container\",\n tableContainer: \"table-container\",\n tableFixed: \"table--fixed\",\n assistiveText: \"assistive-text\",\n selectionActions: \"selection-actions\",\n};\n\nexport const SLOTS = {\n selectionActions: \"selection-actions\",\n tableHeader: \"table-header\",\n tableFooter: \"table-footer\",\n};\n",":host([scale=\"s\"]) {\n --calcite-internal-table-cell-padding: 0.25rem;\n --calcite-internal-table-cell-font-size: var(--calcite-font-size--2);\n --calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3);\n}\n:host([scale=\"m\"]) {\n --calcite-internal-table-cell-padding: 0.5rem;\n --calcite-internal-table-cell-font-size: var(--calcite-font-size--1);\n --calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2);\n}\n:host([scale=\"l\"]) {\n --calcite-internal-table-cell-padding: 1rem;\n --calcite-internal-table-cell-font-size: var(--calcite-font-size-0);\n --calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1);\n}\n\n:host {\n @apply flex;\n}\n\n.container {\n @apply flex flex-col w-full h-full;\n}\n\n.table-container {\n @apply overflow-auto whitespace-nowrap;\n}\n\n.table-container {\n border: 1px solid var(--calcite-color-border-3);\n}\n\n.assistive-text {\n @apply sr-only;\n}\n\ntable {\n @apply w-full border-collapse;\n overflow-x: scroll;\n}\n\n.table--fixed {\n @apply table-fixed;\n}\n\n.bordered {\n ::slotted(calcite-table-row) {\n --calcite-table-row-border-color: var(--calcite-color-border-3);\n }\n}\n\n.striped {\n ::slotted(calcite-table-row:nth-child(2n + 1)) {\n --calcite-table-row-background: var(--calcite-color-foreground-2);\n }\n}\n\n.selection-actions {\n @apply flex flex-row;\n margin-inline-start: auto;\n}\n\n.selection-area {\n @apply flex flex-row items-center;\n padding-block: var(--calcite-internal-table-cell-padding);\n}\n\n.selection-area calcite-chip:last-of-type {\n @apply me-2;\n}\n\n.selection-area calcite-chip:last-of-type:not(:first-of-type) {\n @apply ms-2;\n}\n\n.selection-area calcite-button {\n @apply me-4;\n}\n\n.pagination-area {\n @apply flex flex-row w-full justify-center;\n padding-block: var(--calcite-internal-table-cell-padding);\n}\n\ncalcite-pagination {\n flex: 1;\n justify-content: center;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport {\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n numberStringFormatter,\n NumberingSystem,\n} from \"../../utils/locale\";\nimport { getUserAgentString } from \"../../utils/browser\";\nimport {\n TableInteractionMode,\n TableLayout,\n TableRowFocusEvent,\n TableSelectionDisplay,\n} from \"./interfaces\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { TableMessages } from \"./assets/table/t9n\";\n\n/**\n * @slot - A slot for adding `calcite-table-row` elements containing `calcite-table-cell` and/or `calcite-table-header` elements.\n * @slot table-header - A slot for adding `calcite-table-row` elements containing `calcite-table-header` elements.\n * @slot table-footer - A slot for adding `calcite-table-row` elements containing `calcite-table-cell` and/or `calcite-table-header` elements.\n * @slot selection-actions - A slot for adding `calcite-actions` or other elements to display when `selectionMode` is not `\"none\"` and `selectionDisplay` is not `\"none\"`.\n */\n\n@Component({\n tag: \"calcite-table\",\n styleUrl: \"table.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Table implements LocalizedComponent, LoadableComponent, T9nComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, displays borders in the component. */\n @Prop({ reflect: true }) bordered = false;\n\n /** Specifies an accessible title for the component. */\n @Prop() caption!: string;\n\n /** When `true`, number values are displayed with a group separator corresponding to the language and country format. */\n @Prop({ reflect: true }) groupSeparator = false;\n\n /** When `\"interactive\"`, allows focus and keyboard navigation of `table-header`s and `table-cell`s. When `\"static\"`, prevents focus and keyboard navigation of `table-header`s and `table-cell`s when assistive technologies are not active. Selection affordances and slotted content within `table-cell`s remain focusable. */\n @Prop({ reflect: true }) interactionMode: TableInteractionMode = \"interactive\";\n\n /** Specifies the layout of the component. */\n @Prop({ reflect: true }) layout: TableLayout = \"auto\";\n\n /** When `true`, displays the position of the row in numeric form. */\n @Prop({ reflect: true }) numbered = false;\n\n /** Specifies the Unicode numeral system used by the component for localization. */\n @Prop({ reflect: true }) numberingSystem?: NumberingSystem;\n\n /** Specifies the page size of the component. When `true`, renders `calcite-pagination`. */\n @Prop({ reflect: true }) pageSize = 0;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection, and\n *\n * `\"none\"` does not allow any selections.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\"none\" | \"multiple\" | \"single\", SelectionMode> =\n \"none\";\n\n /** Specifies the display of the selection interface when `selection-mode` is not `\"none\"`. When `\"none\"`, content slotted the `selection-actions` slot will not be displayed. */\n\n @Prop({ reflect: true }) selectionDisplay: TableSelectionDisplay = \"top\";\n\n /**\n * When `true`, displays striped styling in the component.\n *\n * @deprecated Use the `striped` property instead.\n */\n @Prop({ reflect: true }) zebra = false;\n\n /** When `true`, displays striped styling in the component. */\n @Prop({ reflect: true }) striped = false;\n\n @Watch(\"groupSeparator\")\n @Watch(\"interactionMode\")\n @Watch(\"numbered\")\n @Watch(\"numberingSystem\")\n @Watch(\"pageSize\")\n @Watch(\"scale\")\n @Watch(\"selectionMode\")\n handleNumberedChange(): void {\n this.updateRows();\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteTableRowElement[] = [];\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: TableMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<TableMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTableElement;\n\n @State() colCount = 0;\n\n @State() pageStartRow = 1;\n\n @State() selectedCount = 0;\n\n /* Workaround for Safari https://bugs.webkit.org/show_bug.cgi?id=258430 https://bugs.webkit.org/show_bug.cgi?id=239478 */\n // ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️\n @State() readCellContentsToAT: boolean;\n\n @State() defaultMessages: TableMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n private allRows: HTMLCalciteTableRowElement[];\n\n private bodyRows: HTMLCalciteTableRowElement[];\n\n private headRows: HTMLCalciteTableRowElement[];\n\n private footRows: HTMLCalciteTableRowElement[];\n\n private paginationEl: HTMLCalcitePaginationElement;\n\n private tableBodySlotEl: HTMLSlotElement;\n\n private tableHeadSlotEl: HTMLSlotElement;\n\n private tableFootSlotEl: HTMLSlotElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n this.readCellContentsToAT = /safari/i.test(getUserAgentString());\n this.updateRows();\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Emits when the component's selected rows change. */\n @Event({ cancelable: false }) calciteTableSelect: EventEmitter<void>;\n\n /** Emits when the component's page selection changes. */\n @Event({ cancelable: false }) calciteTablePageChange: EventEmitter<void>;\n\n /** @internal */\n @Event({ cancelable: false })\n calciteInternalTableRowFocusChange: EventEmitter<TableRowFocusEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteTableRowSelect\")\n calciteChipSelectListener(event: CustomEvent): void {\n if (event.composedPath().includes(this.el)) {\n this.setSelectedItems(event.target as HTMLCalciteTableRowElement);\n }\n }\n\n @Listen(\"calciteInternalTableRowFocusRequest\")\n calciteInternalTableRowFocusEvent(event: TableRowFocusEvent): void {\n const cellPosition = event[\"detail\"].cellPosition;\n const rowPos = event[\"detail\"].rowPosition;\n const destination = event[\"detail\"].destination;\n const lastCell = event[\"detail\"].lastCell;\n\n const visibleBody = this.bodyRows?.filter((row) => !row.hidden);\n const visibleAll = this.allRows?.filter((row) => !row.hidden);\n\n const lastHeadRow = this.headRows[this.headRows.length - 1]?.positionAll;\n const firstBodyRow = visibleBody[0]?.positionAll;\n const lastBodyRow = visibleBody[visibleBody.length - 1]?.positionAll;\n const firstFootRow = this.footRows[0]?.positionAll;\n const lastTableRow = visibleAll[visibleAll.length - 1]?.positionAll;\n\n const leavingHeader = destination === \"next\" && rowPos === lastHeadRow;\n const leavingFooter = destination === \"previous\" && rowPos === firstFootRow;\n const enteringHeader = destination === \"previous\" && rowPos === firstBodyRow;\n const enteringFooter = destination === \"next\" && rowPos === lastBodyRow;\n\n let rowPosition: number;\n\n switch (destination) {\n case \"first\":\n rowPosition = 0;\n break;\n case \"last\":\n rowPosition = lastTableRow;\n break;\n case \"next\":\n rowPosition = leavingHeader ? firstBodyRow : enteringFooter ? firstFootRow : rowPos + 1;\n break;\n case \"previous\":\n rowPosition = leavingFooter ? lastBodyRow : enteringHeader ? lastHeadRow : rowPos - 1;\n break;\n }\n\n const destinationCount = this.allRows?.find(\n (row) => row.positionAll === rowPosition,\n )?.cellCount;\n\n const adjustedPos = cellPosition > destinationCount ? destinationCount : cellPosition;\n\n if (rowPosition !== undefined) {\n this.calciteInternalTableRowFocusChange.emit({\n cellPosition: adjustedPos,\n rowPosition,\n destination,\n lastCell,\n });\n }\n }\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private getSlottedRows = (el: HTMLSlotElement): HTMLCalciteTableRowElement[] => {\n return el\n ?.assignedElements({ flatten: true })\n ?.filter((el) => el?.matches(\"calcite-table-row\")) as HTMLCalciteTableRowElement[];\n };\n\n private updateRows = (): void => {\n const headRows = this.getSlottedRows(this.tableHeadSlotEl) || [];\n const bodyRows = this.getSlottedRows(this.tableBodySlotEl) || [];\n const footRows = this.getSlottedRows(this.tableFootSlotEl) || [];\n const allRows = [...headRows, ...bodyRows, ...footRows];\n\n headRows?.forEach((row) => {\n const position = headRows?.indexOf(row);\n row.rowType = \"head\";\n row.positionSection = position;\n row.positionSectionLocalized = this.localizeNumber((position + 1).toString());\n });\n\n bodyRows?.forEach((row) => {\n const position = bodyRows?.indexOf(row);\n row.rowType = \"body\";\n row.positionSection = position;\n row.positionSectionLocalized = this.localizeNumber((position + 1).toString());\n });\n\n footRows?.forEach((row) => {\n const position = footRows?.indexOf(row);\n row.rowType = \"foot\";\n row.positionSection = position;\n row.positionSectionLocalized = this.localizeNumber((position + 1).toString());\n });\n\n allRows?.forEach((row) => {\n row.interactionMode = this.interactionMode;\n row.selectionMode = this.selectionMode;\n row.bodyRowCount = bodyRows?.length;\n row.positionAll = allRows?.indexOf(row);\n row.numbered = this.numbered;\n row.scale = this.scale;\n row.readCellContentsToAT = this.readCellContentsToAT;\n row.lastVisibleRow = allRows?.indexOf(row) === allRows.length - 1;\n });\n\n const colCount =\n headRows[0]?.cellCount || headRows[0]?.querySelectorAll(\"calcite-table-header\")?.length;\n\n this.colCount = colCount;\n this.headRows = headRows;\n this.bodyRows = bodyRows;\n this.footRows = footRows;\n this.allRows = allRows;\n\n this.updateSelectedItems();\n this.paginateRows();\n };\n\n private handlePaginationChange = (): void => {\n const requestedItem = this.paginationEl?.startItem;\n this.pageStartRow = requestedItem || 1;\n this.calciteTablePageChange.emit();\n this.updateRows();\n };\n\n private paginateRows = (): void => {\n this.bodyRows?.forEach((row) => {\n const rowPos = row.positionSection + 1;\n const inView = rowPos >= this.pageStartRow && rowPos < this.pageStartRow + this.pageSize;\n row.hidden = this.pageSize > 0 && !inView && !this.footRows.includes(row);\n row.lastVisibleRow =\n rowPos === this.pageStartRow + this.pageSize - 1 || rowPos === this.bodyRows.length;\n });\n };\n\n private updateSelectedItems = (emit?: boolean): void => {\n const selectedItems = this.bodyRows?.filter((el) => el.selected);\n this.selectedItems = selectedItems;\n this.selectedCount = selectedItems?.length;\n this.allRows?.forEach((row) => {\n row.selectedRowCount = this.selectedCount;\n row.selectedRowCountLocalized = this.localizeNumber(this.selectedCount);\n });\n if (emit) {\n this.calciteTableSelect.emit();\n }\n };\n\n private handleDeselectAllRows = (): void => {\n this.bodyRows?.forEach((row) => {\n row.selected = false;\n });\n this.updateSelectedItems(true);\n };\n\n private setSelectedItems = (elToMatch?: HTMLCalciteTableRowElement): void => {\n this.bodyRows?.forEach((el) => {\n if (elToMatch?.rowType === \"head\") {\n el.selected = this.selectedCount !== this.bodyRows?.length;\n } else {\n el.selected =\n elToMatch === el ? !el.selected : this.selectionMode === \"multiple\" ? el.selected : false;\n }\n });\n this.updateSelectedItems(true);\n };\n\n private localizeNumber = (value: number | string): string => {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n\n return numberStringFormatter.localize(value.toString());\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderSelectionArea(): VNode {\n const outOfViewCount = this.selectedItems?.filter((el) => el.hidden)?.length;\n const localizedOutOfView = this.localizeNumber(outOfViewCount?.toString());\n const localizedSelectedCount = this.localizeNumber(this.selectedCount?.toString());\n const selectionText = `${localizedSelectedCount} ${this.messages.selected}`;\n const outOfView = `${localizedOutOfView} ${this.messages.hiddenSelected}`;\n\n return (\n <div class={CSS.selectionArea}>\n <calcite-chip\n kind={this.selectedCount > 0 ? \"brand\" : \"neutral\"}\n scale={this.scale}\n value={selectionText}\n >\n {selectionText}\n </calcite-chip>\n {outOfViewCount > 0 && (\n <calcite-chip icon=\"hide-empty\" scale={this.scale} title={outOfView} value={outOfView}>\n {localizedOutOfView}\n </calcite-chip>\n )}\n {this.selectedCount > 0 && (\n <calcite-button\n icon-start=\"x\"\n kind=\"neutral\"\n onClick={this.handleDeselectAllRows}\n round\n scale={this.scale}\n title={`${this.messages.clear} ${selectionText} ${this.messages.row}`}\n >\n {this.messages.clear}\n </calcite-button>\n )}\n <div class={CSS.selectionActions}>\n <slot name={SLOTS.selectionActions} />\n </div>\n </div>\n );\n }\n\n renderPaginationArea(): VNode {\n return (\n <div class={CSS.paginationArea}>\n <calcite-pagination\n groupSeparator={this.groupSeparator}\n numberingSystem={this.numberingSystem}\n onCalcitePaginationChange={this.handlePaginationChange}\n pageSize={this.pageSize}\n ref={(el) => (this.paginationEl = el)}\n scale={this.scale}\n startItem={1}\n totalItems={this.bodyRows?.length}\n />\n </div>\n );\n }\n\n renderTHead(): VNode {\n return (\n <thead>\n <slot\n name={SLOTS.tableHeader}\n onSlotchange={this.updateRows}\n ref={(el) => (this.tableHeadSlotEl = el as HTMLSlotElement)}\n />\n </thead>\n );\n }\n\n renderTBody(): VNode {\n return (\n <tbody>\n <slot\n onSlotchange={this.updateRows}\n ref={(el) => (this.tableBodySlotEl = el as HTMLSlotElement)}\n />\n </tbody>\n );\n }\n\n renderTFoot(): VNode {\n return (\n <tfoot>\n <slot\n name={SLOTS.tableFooter}\n onSlotchange={this.updateRows}\n ref={(el) => (this.tableFootSlotEl = el as HTMLSlotElement)}\n />\n </tfoot>\n );\n }\n\n render(): VNode {\n return (\n <Host>\n <div class={CSS.container}>\n {this.selectionMode !== \"none\" &&\n this.selectionDisplay !== \"none\" &&\n this.renderSelectionArea()}\n <div\n class={{\n [CSS.bordered]: this.bordered,\n [CSS.striped]: this.striped || this.zebra,\n [CSS.tableContainer]: true,\n }}\n >\n <table\n aria-colcount={this.colCount}\n aria-multiselectable={this.selectionMode === \"multiple\"}\n aria-rowcount={this.allRows?.length}\n class={{ [CSS.tableFixed]: this.layout === \"fixed\" }}\n role={this.interactionMode === \"interactive\" ? \"grid\" : \"table\"}\n >\n <caption class={CSS.assistiveText}>{this.caption}</caption>\n {this.renderTHead()}\n {this.renderTBody()}\n {this.renderTFoot()}\n </table>\n </div>\n {this.pageSize > 0 && this.renderPaginationArea()}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;0YAAO,MAAMA,EAAM,CACjBC,SAAU,WACVC,QAAS,UACTC,cAAe,iBACfC,eAAgB,kBAChBC,UAAW,YACXC,eAAgB,kBAChBC,WAAY,eACZC,cAAe,iBACfC,iBAAkB,qBAGb,MAAMC,EAAQ,CACnBD,iBAAkB,oBAClBE,YAAa,eACbC,YAAa,gBCff,MAAMC,EAAW,m6DACjB,MAAAC,EAAeD,E,MCuDFE,EAAK,M,sOA8PRC,KAAAC,eAAkBC,GACjBA,GACHC,iBAAiB,CAAEC,QAAS,QAC5BC,QAAQH,GAAOA,GAAII,QAAQ,uBAGzBN,KAAAO,WAAa,KACnB,MAAMC,EAAWR,KAAKC,eAAeD,KAAKS,kBAAoB,GAC9D,MAAMC,EAAWV,KAAKC,eAAeD,KAAKW,kBAAoB,GAC9D,MAAMC,EAAWZ,KAAKC,eAAeD,KAAKa,kBAAoB,GAC9D,MAAMC,EAAU,IAAIN,KAAaE,KAAaE,GAE9CJ,GAAUO,SAASC,IACjB,MAAMC,EAAWT,GAAUU,QAAQF,GACnCA,EAAIG,QAAU,OACdH,EAAII,gBAAkBH,EACtBD,EAAIK,yBAA2BrB,KAAKsB,gBAAgBL,EAAW,GAAGM,WAAW,IAG/Eb,GAAUK,SAASC,IACjB,MAAMC,EAAWP,GAAUQ,QAAQF,GACnCA,EAAIG,QAAU,OACdH,EAAII,gBAAkBH,EACtBD,EAAIK,yBAA2BrB,KAAKsB,gBAAgBL,EAAW,GAAGM,WAAW,IAG/EX,GAAUG,SAASC,IACjB,MAAMC,EAAWL,GAAUM,QAAQF,GACnCA,EAAIG,QAAU,OACdH,EAAII,gBAAkBH,EACtBD,EAAIK,yBAA2BrB,KAAKsB,gBAAgBL,EAAW,GAAGM,WAAW,IAG/ET,GAASC,SAASC,IAChBA,EAAIQ,gBAAkBxB,KAAKwB,gBAC3BR,EAAIS,cAAgBzB,KAAKyB,cACzBT,EAAIU,aAAehB,GAAUiB,OAC7BX,EAAIY,YAAcd,GAASI,QAAQF,GACnCA,EAAIa,SAAW7B,KAAK6B,SACpBb,EAAIc,MAAQ9B,KAAK8B,MACjBd,EAAIe,qBAAuB/B,KAAK+B,qBAChCf,EAAIgB,eAAiBlB,GAASI,QAAQF,KAASF,EAAQa,OAAS,CAAC,IAGnE,MAAMM,EACJzB,EAAS,IAAI0B,WAAa1B,EAAS,IAAI2B,iBAAiB,yBAAyBR,OAEnF3B,KAAKiC,SAAWA,EAChBjC,KAAKQ,SAAWA,EAChBR,KAAKU,SAAWA,EAChBV,KAAKY,SAAWA,EAChBZ,KAAKc,QAAUA,EAEfd,KAAKoC,sBACLpC,KAAKqC,cAAc,EAGbrC,KAAAsC,uBAAyB,KAC/B,MAAMC,EAAgBvC,KAAKwC,cAAcC,UACzCzC,KAAK0C,aAAeH,GAAiB,EACrCvC,KAAK2C,uBAAuBC,OAC5B5C,KAAKO,YAAY,EAGXP,KAAAqC,aAAe,KACrBrC,KAAKU,UAAUK,SAASC,IACtB,MAAM6B,EAAS7B,EAAII,gBAAkB,EACrC,MAAM0B,EAASD,GAAU7C,KAAK0C,cAAgBG,EAAS7C,KAAK0C,aAAe1C,KAAK+C,SAChF/B,EAAIgC,OAAShD,KAAK+C,SAAW,IAAMD,IAAW9C,KAAKY,SAASqC,SAASjC,GACrEA,EAAIgB,eACFa,IAAW7C,KAAK0C,aAAe1C,KAAK+C,SAAW,GAAKF,IAAW7C,KAAKU,SAASiB,MAAM,GACrF,EAGI3B,KAAAoC,oBAAuBQ,IAC7B,MAAMM,EAAgBlD,KAAKU,UAAUL,QAAQH,GAAOA,EAAGiD,WACvDnD,KAAKkD,cAAgBA,EACrBlD,KAAKoD,cAAgBF,GAAevB,OACpC3B,KAAKc,SAASC,SAASC,IACrBA,EAAIqC,iBAAmBrD,KAAKoD,cAC5BpC,EAAIsC,0BAA4BtD,KAAKsB,eAAetB,KAAKoD,cAAc,IAEzE,GAAIR,EAAM,CACR5C,KAAKuD,mBAAmBX,M,GAIpB5C,KAAAwD,sBAAwB,KAC9BxD,KAAKU,UAAUK,SAASC,IACtBA,EAAImC,SAAW,KAAK,IAEtBnD,KAAKoC,oBAAoB,KAAK,EAGxBpC,KAAAyD,iBAAoBC,IAC1B1D,KAAKU,UAAUK,SAASb,IACtB,GAAIwD,GAAWvC,UAAY,OAAQ,CACjCjB,EAAGiD,SAAWnD,KAAKoD,gBAAkBpD,KAAKU,UAAUiB,M,KAC/C,CACLzB,EAAGiD,SACDO,IAAcxD,GAAMA,EAAGiD,SAAWnD,KAAKyB,gBAAkB,WAAavB,EAAGiD,SAAW,K,KAG1FnD,KAAKoC,oBAAoB,KAAK,EAGxBpC,KAAAsB,eAAkBqC,IACxBC,EAAsBC,oBAAsB,CAC1CC,OAAQ9D,KAAK+D,gBACbC,gBAAiBhE,KAAKgE,gBACtBC,YAAajE,KAAKkE,gBAGpB,OAAON,EAAsBO,SAASR,EAAMpC,WAAW,E,cAvWrB,M,2CAMM,M,qBAGuB,c,YAGlB,O,cAGX,M,6CAMA,E,WAGI,I,mBAYtC,O,sBAIiE,M,WAOlC,M,aAGE,M,mBAkBoC,G,sEA6BnD,E,kBAEI,E,mBAEC,E,wFAQE,E,CAlD3B,oBAAA6C,GACEpE,KAAKO,Y,CAyBP,gBAAA8D,G,CA2BA,qBAAAC,GACEC,EAAevE,KAAMA,KAAK+D,gB,CAyB5B,uBAAMS,GACJC,EAAuBzE,YACjB0E,EAAc1E,MACpBA,KAAK+B,qBAAuB,UAAU4C,KAAKC,KAC3C5E,KAAKO,Y,CAGP,gBAAAsE,GACEC,EAAmB9E,K,CAGrB,iBAAA+E,GACEC,EAAiBhF,MACjBiF,EAAgBjF,K,CAGlB,oBAAAkF,GACEC,EAAoBnF,MACpBoF,EAAmBpF,K,CAyBrB,yBAAAqF,CAA0BC,GACxB,GAAIA,EAAMC,eAAetC,SAASjD,KAAKE,IAAK,CAC1CF,KAAKyD,iBAAiB6B,EAAME,O,EAKhC,iCAAAC,CAAkCH,GAChC,MAAMI,EAAeJ,EAAM,UAAUI,aACrC,MAAM7C,EAASyC,EAAM,UAAUK,YAC/B,MAAMC,EAAcN,EAAM,UAAUM,YACpC,MAAMC,EAAWP,EAAM,UAAUO,SAEjC,MAAMC,EAAc9F,KAAKU,UAAUL,QAAQW,IAASA,EAAIgC,SACxD,MAAM+C,EAAa/F,KAAKc,SAAST,QAAQW,IAASA,EAAIgC,SAEtD,MAAMgD,EAAchG,KAAKQ,SAASR,KAAKQ,SAASmB,OAAS,IAAIC,YAC7D,MAAMqE,EAAeH,EAAY,IAAIlE,YACrC,MAAMsE,EAAcJ,EAAYA,EAAYnE,OAAS,IAAIC,YACzD,MAAMuE,EAAenG,KAAKY,SAAS,IAAIgB,YACvC,MAAMwE,EAAeL,EAAWA,EAAWpE,OAAS,IAAIC,YAExD,MAAMyE,EAAgBT,IAAgB,QAAU/C,IAAWmD,EAC3D,MAAMM,EAAgBV,IAAgB,YAAc/C,IAAWsD,EAC/D,MAAMI,EAAiBX,IAAgB,YAAc/C,IAAWoD,EAChE,MAAMO,EAAiBZ,IAAgB,QAAU/C,IAAWqD,EAE5D,IAAIP,EAEJ,OAAQC,GACN,IAAK,QACHD,EAAc,EACd,MACF,IAAK,OACHA,EAAcS,EACd,MACF,IAAK,OACHT,EAAcU,EAAgBJ,EAAeO,EAAiBL,EAAetD,EAAS,EACtF,MACF,IAAK,WACH8C,EAAcW,EAAgBJ,EAAcK,EAAiBP,EAAcnD,EAAS,EACpF,MAGJ,MAAM4D,EAAmBzG,KAAKc,SAAS4F,MACpC1F,GAAQA,EAAIY,cAAgB+D,KAC5BzD,UAEH,MAAMyE,EAAcjB,EAAee,EAAmBA,EAAmBf,EAEzE,GAAIC,IAAgBiB,UAAW,CAC7B5G,KAAK6G,mCAAmCjE,KAAK,CAC3C8C,aAAciB,EACdhB,cACAC,cACAC,Y,EAoIN,mBAAAiB,GACE,MAAMC,EAAiB/G,KAAKkD,eAAe7C,QAAQH,GAAOA,EAAG8C,UAASrB,OACtE,MAAMqF,EAAqBhH,KAAKsB,eAAeyF,GAAgBxF,YAC/D,MAAM0F,EAAyBjH,KAAKsB,eAAetB,KAAKoD,eAAe7B,YACvE,MAAM2F,EAAgB,GAAGD,KAA0BjH,KAAKmH,SAAShE,WACjE,MAAMiE,EAAY,GAAGJ,KAAsBhH,KAAKmH,SAASE,iBAEzD,OACEC,EAAA,OAAKC,MAAOvI,EAAIG,eACdmI,EAAA,gBACEE,KAAMxH,KAAKoD,cAAgB,EAAI,QAAU,UACzCtB,MAAO9B,KAAK8B,MACZ6B,MAAOuD,GAENA,GAEFH,EAAiB,GAChBO,EAAA,gBAAcG,KAAK,aAAa3F,MAAO9B,KAAK8B,MAAO4F,MAAON,EAAWzD,MAAOyD,GACzEJ,GAGJhH,KAAKoD,cAAgB,GACpBkE,EAAA,+BACa,IACXE,KAAK,UACLG,QAAS3H,KAAKwD,sBACdoE,MAAK,KACL9F,MAAO9B,KAAK8B,MACZ4F,MAAO,GAAG1H,KAAKmH,SAASU,SAASX,KAAiBlH,KAAKmH,SAASnG,OAE/DhB,KAAKmH,SAASU,OAGnBP,EAAA,OAAKC,MAAOvI,EAAIS,kBACd6H,EAAA,QAAMQ,KAAMpI,EAAMD,oB,CAM1B,oBAAAsI,GACE,OACET,EAAA,OAAKC,MAAOvI,EAAII,gBACdkI,EAAA,sBACEpD,eAAgBlE,KAAKkE,eACrBF,gBAAiBhE,KAAKgE,gBACtBgE,0BAA2BhI,KAAKsC,uBAChCS,SAAU/C,KAAK+C,SACfkF,IAAM/H,GAAQF,KAAKwC,aAAetC,EAClC4B,MAAO9B,KAAK8B,MACZW,UAAW,EACXyF,WAAYlI,KAAKU,UAAUiB,S,CAMnC,WAAAwG,GACE,OACEb,EAAA,aACEA,EAAA,QACEQ,KAAMpI,EAAMC,YACZyI,aAAcpI,KAAKO,WACnB0H,IAAM/H,GAAQF,KAAKS,gBAAkBP,I,CAM7C,WAAAmI,GACE,OACEf,EAAA,aACEA,EAAA,QACEc,aAAcpI,KAAKO,WACnB0H,IAAM/H,GAAQF,KAAKW,gBAAkBT,I,CAM7C,WAAAoI,GACE,OACEhB,EAAA,aACEA,EAAA,QACEQ,KAAMpI,EAAME,YACZwI,aAAcpI,KAAKO,WACnB0H,IAAM/H,GAAQF,KAAKa,gBAAkBX,I,CAM7C,MAAAqI,GACE,OACEjB,EAACkB,EAAI,CAAAC,IAAA,4CACHnB,EAAA,OAAAmB,IAAA,2CAAKlB,MAAOvI,EAAIK,WACbW,KAAKyB,gBAAkB,QACtBzB,KAAK0I,mBAAqB,QAC1B1I,KAAK8G,sBACPQ,EAAA,OAAAmB,IAAA,2CACElB,MAAO,CACL,CAACvI,EAAIC,UAAWe,KAAKf,SACrB,CAACD,EAAIE,SAAUc,KAAKd,SAAWc,KAAK2I,MACpC,CAAC3J,EAAIM,gBAAiB,OAGxBgI,EAAA,SAAAmB,IAAA,2DACiBzI,KAAKiC,SAAQ,uBACNjC,KAAKyB,gBAAkB,WAAU,gBACxCzB,KAAKc,SAASa,OAC7B4F,MAAO,CAAE,CAACvI,EAAIO,YAAaS,KAAK4I,SAAW,SAC3CC,KAAM7I,KAAKwB,kBAAoB,cAAgB,OAAS,SAExD8F,EAAA,WAAAmB,IAAA,2CAASlB,MAAOvI,EAAIQ,eAAgBQ,KAAK8I,SACxC9I,KAAKmI,cACLnI,KAAKqI,cACLrI,KAAKsI,gBAGTtI,KAAK+C,SAAW,GAAK/C,KAAK+H,wB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{h as t}from"./p-e48d006d.js";import{q as n,a as i}from"./p-99726b90.js";const e=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"];function s(t){const n=t.split("-").map(((t,n)=>n===0?t:`${t[0].toUpperCase()}${t.slice(1)}`)).join("");const i=`${n}${e.includes(t)?"Input":"Change"}`;return i}const o="hidden-form-input";function c(t){return"checked"in t}const r=new WeakMap;const u=new WeakSet;function a(t,n){const e=i(n.parentElement,"[form]");if(e){return true}const s="calciteInternalFormComponentRegister";let o=false;t.addEventListener(s,(t=>{o=t.composedPath().some((t=>u.has(t)));t.stopPropagation()}),{once:true});n.dispatchEvent(new CustomEvent(s,{bubbles:true,composed:true}));return o}function f(t,{status:n,message:i,icon:e}){if("status"in t){t.status=n}if("validationIcon"in t&&typeof t.validationIcon!=="string"){t.validationIcon=e}if("validationMessage"in t&&!t.validationMessage){t.validationMessage=i}}function l(t){if(t.nodeName==="CALCITE-RADIO-BUTTON"){return i(t,"calcite-radio-button-group")}return t}const d=new CustomEvent("calciteInvalid",{bubbles:true,composed:true});function m(t){const n=t?.target;const i=n?.validationMessage;const e=l(n?.parentElement);if(!e){return}const o=e?.nodeName?.toLowerCase();const c=o?.split("-");if(c.length<2||c[0]!=="calcite"){return}t?.preventDefault();if("validity"in e){e.validity=n?.validity}e.dispatchEvent(d);f(e,{message:i,icon:true,status:"invalid"});const r=s(o);e.addEventListener(r,(()=>{if("status"in e){e.status="idle"}if("validationIcon"in e&&!e.validationIcon){e.validationIcon=false}if("validationMessage"in e&&e.validationMessage===i){e.validationMessage=""}if("validity"in e){e.validity=n?.validity}}),{once:true})}function p(t){const{formEl:n}=t;if(!n){return false}n.addEventListener("invalid",m,true);n.requestSubmit();n.removeEventListener("invalid",m,true);requestAnimationFrame((()=>{const t=n.querySelectorAll("[status=invalid]");for(const n of t){if(n?.validationMessage){n?.setFocus();break}}}));return true}function v(t){t.formEl?.reset()}function b(t){const{el:n,value:i}=t;const e=h(t);if(!e||a(e,n)){return}t.formEl=e;t.defaultValue=i;if(c(t)){t.defaultChecked=t.checked}const s=(t.onFormReset||I).bind(t);e.addEventListener("reset",s);r.set(t.el,s);u.add(n)}function h(t){const{el:e,form:s}=t;return s?n(e,{id:s}):i(e,"form")}function I(){if("status"in this){this.status="idle"}if("validationIcon"in this){this.validationIcon=false}if("validationMessage"in this){this.validationMessage=""}if(c(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue}function g(t){const{el:n,formEl:i}=t;if(!i){return}const e=r.get(n);i.removeEventListener("reset",e);r.delete(n);t.formEl=null;u.delete(n)}function w(t,n){t.defaultValue=n}const C="calciteInternalHiddenInputInput";const E=t=>{t.target.dispatchEvent(new CustomEvent(C,{bubbles:true}))};const y=t=>t.removeEventListener("input",E);function $(t){const{el:n,formEl:i,name:e,value:s}=t;const{ownerDocument:c}=n;const r=n.querySelectorAll(`input[slot="${o}"]`);if(!i||!e){r.forEach((t=>{y(t);t.remove()}));return}const u=Array.isArray(s)?s:[s];const a=[];const f=new Set;r.forEach((n=>{const i=u.find((t=>t==n.value));if(i!=null){f.add(i);k(t,n,i)}else{a.push(n)}}));let l;u.forEach((n=>{if(f.has(n)){return}let i=a.pop();if(!i){i=c.createElement("input");i.slot=o}if(!l){l=c.createDocumentFragment()}l.append(i);i.addEventListener("input",E);k(t,i,n)}));if(l){n.append(l)}a.forEach((t=>{y(t);t.remove()}))}function k(t,n,i){const{defaultValue:e,disabled:s,form:o,name:r,required:u}=t;n.defaultValue=e;n.disabled=s;n.name=r;n.required=u;n.tabIndex=-1;if(o){n.setAttribute("form",o)}else{n.removeAttribute("form")}if(c(t)){n.checked=t.checked;n.defaultChecked=t.defaultChecked;n.value=t.checked?i||"on":""}else{n.value=i||""}t.syncHiddenFormInput?.(n);const a=l(t.el);if(a&&"validity"in a){for(const t in{...n?.validity}){a.validity[t]=n.validity[t]}}}const A=({component:n})=>{$(n);return t("slot",{name:o})};export{A as H,w as a,b as c,g as d,h as f,C as i,v as r,p as s};
|
|
7
|
+
//# sourceMappingURL=p-8356a697.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,f as e,h as i,g as s,c as a,H as n}from"./p-e48d006d.js";import{g as l}from"./p-c26dde6d.js";import{c as h}from"./p-2fec90cc.js";import{l as r,v as o}from"./p-99726b90.js";import{c,d,a as u,H as m}from"./p-8356a697.js";import{c as b,d as f,u as p,I as g}from"./p-ae04d854.js";import{i as v}from"./p-70c530fa.js";import{c as x,d as k,g as _}from"./p-9e5dd305.js";import{s as $,a as y,c as w}from"./p-bf0746a3.js";import{n as M,c as z,d as V}from"./p-8e3a4720.js";import{d as L,c as H}from"./p-0592bb74.js";import"./p-57e21d44.js";import"./p-c5966b3e.js";import"./p-ae81e665.js";function j(t,e,i){const s=e[0]-t[0];const a=i[0]-e[0];const n=e[1]-t[1];const l=i[1]-e[1];const h=n/(s||a<0&&0);const r=l/(a||s<0&&0);const o=(h*a+r*s)/(s+a);return(Math.sign(h)+Math.sign(r))*Math.min(Math.abs(h),Math.abs(r),.5*Math.abs(o))||0}function X(t,e,i){const s=e[0]-t[0];const a=e[1]-t[1];return s?(3*a/s-i)/2:i}function T(t,e,i,s,a){const[n,l]=t;const[h,r]=e;const o=(h-n)/3;const c=a([n+o,l+o*i]).join(",");const d=a([h-o,r-o*s]).join(",");const u=a([h,r]).join(",");return`C ${c} ${d} ${u}`}function C({width:t,height:e,min:i,max:s}){const a=s[0]-i[0];const n=s[1]-i[1];return s=>{const l=(s[0]-i[0])/a*t;const h=e-s[1]/n*e;return[l,h]}}function D(t){const[e,i]=t[0];const s=[e,i];const a=[e,i];return t.reduce((({min:t,max:e},[i,s])=>({min:[Math.min(t[0],i),Math.min(t[1],s)],max:[Math.max(e[0],i),Math.max(e[1],s)]})),{min:s,max:a})}function A({data:t,min:e,max:i,t:s}){if(t.length===0){return""}const[a,n]=s(t[0]);const[l,h]=s(e);const[r]=s(i);let o;let c;let d;const u=t.reduce(((e,i,a)=>{c=t[a-2];d=t[a-1];if(a>1){const t=j(c,d,i);const a=o===undefined?X(c,d,t):o;const n=T(c,d,a,t,s);o=t;return`${e} ${n}`}return e}),`M ${l},${h} L ${l},${n} L ${a},${n}`);const m=t[t.length-1];const b=T(d,m,o,X(d,m,o),s);return`${u} ${b} L ${r},${h} Z`}const S=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-color-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";const I=S;const R=class{constructor(i){t(this,i);this.graphId=`calcite-graph-${l()}`;this.resizeObserver=h("resize",(()=>e(this)));this.data=[];this.colorStops=undefined;this.highlightMin=undefined;this.highlightMax=undefined;this.min=undefined;this.max=undefined}connectedCallback(){this.resizeObserver?.observe(this.el)}disconnectedCallback(){this.resizeObserver?.disconnect()}render(){const{data:t,colorStops:e,el:s,highlightMax:a,highlightMin:n,min:l,max:h}=this;const r=this.graphId;const{clientHeight:o,clientWidth:c}=s;if(!t||t.length===0){return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c})}const{min:d,max:u}=D(t);let m=d;let b=u;if(l<d[0]||l>d[0]){m=[l,0]}if(h>u[0]||h<u[0]){b=[h,u[1]]}const f=C({min:m,max:b,width:c,height:o});const[p]=f([n,b[1]]);const[g]=f([a,b[1]]);const v=A({data:t,min:d,max:u,t:f});const x=e?`url(#linear-gradient-${r})`:undefined;return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},e?i("defs",null,i("linearGradient",{id:`linear-gradient-${r}`,x1:"0",x2:"1",y1:"0",y2:"0"},e.map((({offset:t,color:e,opacity:s})=>i("stop",{offset:`${t*100}%`,"stop-color":e,"stop-opacity":s}))))):null,n!==undefined?[i("mask",{height:"100%",id:`${r}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${p-1},0\n L ${p-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${p+1},0\n L ${g-1},0\n L ${g-1},${o}\n L ${p+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${g+1},0\n L ${c},0\n L ${c},${o}\n L ${g+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}1)`}),i("path",{class:"graph-path--highlight",d:v,fill:x,mask:`url(#${r}2)`}),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}3)`})]:i("path",{class:"graph-path",d:v,fill:x}))}get el(){return s(this)}};R.style=I;const F={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"};const P=250;const O='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';const W=O;function N(t){return Array.isArray(t)}const U=class{constructor(e){t(this,e);this.calciteSliderInput=a(this,"calciteSliderInput",6);this.calciteSliderChange=a(this,"calciteSliderChange",6);this.handleKeyDown=t=>{const e=this.shouldMirror();const{activeProp:i,max:s,min:a,pageStep:n,step:l}=this;const h=this[i];const{key:r}=t;if(v(r)){t.preventDefault();return}let o;if(r==="ArrowUp"||r==="ArrowRight"){const t=e&&r==="ArrowRight"?-1:1;o=h+l*t}else if(r==="ArrowDown"||r==="ArrowLeft"){const t=e&&r==="ArrowLeft"?-1:1;o=h-l*t}else if(r==="PageUp"){if(n){o=h+n}}else if(r==="PageDown"){if(n){o=h-n}}else if(r==="Home"){o=a}else if(r==="End"){o=s}if(isNaN(o)){return}t.preventDefault();const c=Number(o.toFixed(L(l)));this.setValue({[i]:this.clamp(c,i)})};this.activeProp="value";this.guid=`calcite-slider-${l()}`;this.onThumbBlur=()=>{this.activeProp=null};this.onThumbFocus=t=>{const e=t.currentTarget;this.activeProp=e.getAttribute("data-value-prop")};this.onThumbPointerDown=t=>{const e=t.currentTarget;this.pointerDownDragStart(t,e.getAttribute("data-value-prop"))};this.onTrackPointerDown=t=>{this.pointerDownDragStart(t,"minMaxValue")};this.dragUpdate=t=>{if(this.disabled){return}t.preventDefault();if(this.dragProp){const e=this.translate(t.clientX||t.pageX);if(N(this.value)&&this.dragProp==="minMaxValue"){if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=e-this.minValueDragRange;const i=e+this.maxValueDragRange;if(i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange){this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(i,"maxValue")})}}else{this.minValueDragRange=e-this.minValue;this.maxValueDragRange=this.maxValue-e;this.minMaxValueRange=this.maxValue-this.minValue}}else{this.setValue({[this.dragProp]:this.clamp(e,this.dragProp)})}}};this.pointerUpDragEnd=t=>{if(this.disabled||!r(t)){return}this.dragEnd(t)};this.dragEnd=t=>{if(this.disabled){return}this.removeDragListeners();this.focusActiveHandle(t.clientX);if(this.lastDragPropValue!=this[this.dragProp]){this.emitChange()}this.dragProp=null;this.lastDragPropValue=null;this.minValueDragRange=null;this.maxValueDragRange=null;this.minMaxValueRange=null};this.storeTrackRef=t=>{this.trackEl=t};this.storeThumbRef=t=>{if(!t){return}const e=t.getAttribute("data-value-prop");e==="minValue"?this.minHandle=t:this.maxHandle=t};this.formatValue=t=>{M.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};return M.localize(t.toString())};this.disabled=false;this.fillPlacement="start";this.form=undefined;this.groupSeparator=false;this.hasHistogram=false;this.histogram=undefined;this.histogramStops=undefined;this.labelHandles=false;this.labelFormatter=undefined;this.labelTicks=false;this.max=100;this.maxLabel=undefined;this.maxValue=undefined;this.min=0;this.minLabel=undefined;this.minValue=undefined;this.mirrored=false;this.name=undefined;this.numberingSystem=undefined;this.pageStep=undefined;this.precise=false;this.required=false;this.snap=false;this.step=1;this.ticks=undefined;this.value=0;this.scale="m";this.effectiveLocale="";this.minMaxValueRange=null;this.minValueDragRange=null;this.maxValueDragRange=null;this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}ticksWatcher(){this.tickValues=this.generateTickValues()}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){b(this);z(this);this.setMinMaxFromValue();this.setValueFromMinMax();x(this);c(this)}disconnectedCallback(){f(this);k(this);d(this);V(this);this.removeDragListeners()}componentWillLoad(){$(this);if(!N(this.value)){this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)}this.ticksWatcher();this.histogramWatcher(this.histogram);u(this,this.value)}componentDidLoad(){y(this)}componentDidRender(){if(this.labelHandles){this.adjustHostObscuredHandleLabel("value");if(N(this.value)){this.adjustHostObscuredHandleLabel("minValue");if(!(this.precise&&!this.hasHistogram)){this.hyphenateCollidingRangeHandleLabels()}}}this.hideObscuredBoundingTickLabels();p(this)}render(){const t=this.el.id||this.guid;const e=N(this.value)?this.maxValue:this.value;const s=this.minValue||this.min;const a=this.shouldUseMinValue();const l=this.getUnitInterval(a?this.minValue:s)*100;const h=this.getUnitInterval(e)*100;const r=this.shouldMirror();const o=N(this.value);const c=this.buildThumbType("max");const d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:h,minInterval:l,mirror:r});const u=this.buildThumbType("min");const b=o&&this.renderThumb({type:u,thumbPlacement:u.includes("histogram")||u.includes("precise")?"below":"above",maxInterval:h,minInterval:l,mirror:r});const f=o?"start":this.fillPlacement;const p=f==="none"?{left:`unset`,right:`unset`}:f==="end"?{left:`${r?l:h}%`,right:`${r?h:l}%`}:{left:`${r?100-h:l}%`,right:`${r?l:100-h}%`};return i(n,{key:"86ec64bfb42495e7fc927751ad7d2a667b0a625d",id:t,onKeyDown:this.handleKeyDown,onTouchStart:this.handleTouchStart},i(g,{key:"842aacebaf4199a088f71b2d2ad7420845cf2629",disabled:this.disabled},i("div",{key:"364511c370bbf454958accdd4c3084a1c339de22","aria-label":_(this),class:{[F.container]:true,[F.containerRange]:o,[`scale--${this.scale}`]:true}},this.renderGraph(),i("div",{key:"c8366d13976102bdabf6bca85523f295e9713c53",class:F.track,ref:this.storeTrackRef},i("div",{key:"9b078da10285e125f525a8307b52457cd83edf89",class:F.trackRange,onPointerDown:this.onTrackPointerDown,style:p}),i("div",{key:"78fe14d82f98b323d21db80061d64cd348495793",class:F.ticks},this.tickValues.map((t=>{const n=`${this.getUnitInterval(t)*100}%`;let l=false;if(f==="start"||f==="end"){if(a){l=t>=this.minValue&&t<=this.maxValue}else{const i=f==="start"?s:e;const a=f==="start"?e:this.max;l=t>=i&&t<=a}}return i("span",{class:{[F.tick]:true,[F.tickActive]:l},style:{left:r?"":n,right:r?n:""}},this.renderTickLabel(t))})))),i("div",{key:"65cd9bb7414a77ba26468a9253369ed0bca0503f",class:F.thumbContainer},b,d,i(m,{key:"83a8c80504e00feb2f5fd584efcdeda53a65c2fd",component:this})))))}renderThumb({type:t,mirror:e,thumbPlacement:s,minInterval:a,maxInterval:n}){const l=t.includes("labeled");const h=t.includes("precise");const r=t.includes("min");const o=N(this.value);const c=r?this.minValue:o?this.maxValue:this.value;const d=r?"minValue":o?"maxValue":"value";const u=r?this.minLabel:o?this.maxLabel:this.minLabel;const m=r?this.minValue:c;const b=d==="minValue"?this.internalLabelFormatter(this.minValue,"min"):d==="maxValue"?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(c,"value");const f=r?{left:`${e?100-a:a}%`}:{right:`${e?n:100-n}%`};const p=`${F.handleLabel} ${r?F.handleLabelMinValue:F.handleLabelValue}`;const g=l?[i("span",{"aria-hidden":"true",class:p},b),i("span",{"aria-hidden":"true",class:`${p} ${F.static}`},b),i("span",{"aria-hidden":"true",class:`${p} ${F.transformed}`},b)]:[];const v=[...g,i("div",{class:F.handle}),h&&i("div",{class:F.handleExtension})];if(s==="below"){v.reverse()}return i("div",{"aria-disabled":this.disabled,"aria-label":u,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":m,class:{[F.thumb]:true,[F.thumbValue]:!r,[F.thumbActive]:this.lastDragProp!=="minMaxValue"&&this.dragProp===d,[F.thumbPrecise]:h,[F.thumbMinValue]:r},"data-value-prop":d,key:t,onBlur:this.onThumbBlur,onFocus:this.onThumbFocus,onPointerDown:this.onThumbPointerDown,ref:this.storeThumbRef,role:"slider",style:f,tabIndex:0},v)}renderGraph(){return this.histogram?i("calcite-graph",{class:F.graph,colorStops:this.histogramStops,data:this.histogram,highlightMax:N(this.value)?this.maxValue:this.value,highlightMin:N(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const{hasHistogram:e,labelHandles:s,labelTicks:a,max:n,min:l,precise:h,value:r}=this;const o=N(r);const c=t===l;const d=t===n;const u=c||d;const m=a&&(!e&&(u||!h||!o)||e&&(u||!h&&!s));return m?i("span",{class:{[F.tickLabel]:true,[F.tickMin]:c,[F.tickMax]:d}},this.internalLabelFormatter(t,"tick")):null}pointerDownHandler(t){if(this.disabled||!r(t)){return}const e=t.clientX||t.pageX;const i=this.translate(e);let s="value";if(N(this.value)){const t=i>=this.minValue&&i<=this.maxValue;if(t&&this.lastDragProp==="minMaxValue"){s="minMaxValue"}else{const t=Math.abs(this.maxValue-i)<Math.abs(this.minValue-i);s=t||i>=this.maxValue?"maxValue":"minValue"}}this.lastDragPropValue=this[s];this.dragStart(s);const a=this.el.shadowRoot.querySelector(`.${F.thumb}:active`);if(!a){this.setValue({[s]:this.clamp(i,s)})}this.focusActiveHandle(e)}handleTouchStart(t){t.preventDefault()}async setFocus(){await w(this);const t=this.minHandle?this.minHandle:this.maxHandle;t?.focus()}buildThumbType(t){const e=[t];if(this.labelHandles){e.push("labeled")}if(this.precise){e.push("precise")}if(this.hasHistogram){e.push("histogram")}return e.join("-")}setValueFromMinMax(){const{minValue:t,maxValue:e}=this;if(typeof t==="number"&&typeof e==="number"){this.value=[t,e]}}setMinMaxFromValue(){const{value:t}=this;if(N(t)){this.minValue=t[0];this.maxValue=t[1]}}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){if(!N(this.value)){return false}return this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0}getTickDensity(){const t=(this.max-this.min)/this.ticks/P;return t<1?1:t}generateTickValues(){const t=this.ticks??0;if(t<=0){return[]}const e=[this.min];const i=this.getTickDensity();const s=t*i;let a=this.min;while(a<this.max){a+=s;e.push(Math.min(a,this.max))}if(!e.includes(this.max)){e.push(this.max)}return e}pointerDownDragStart(t,e){if(!r(t)){return}this.dragStart(e)}dragStart(t){this.dragProp=t;this.lastDragProp=this.dragProp;this.activeProp=t;window.addEventListener("pointermove",this.dragUpdate);window.addEventListener("pointerup",this.pointerUpDragEnd);window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){if(this.dragProp==="minValue"){this.minHandle.focus()}else if(this.dragProp==="maxValue"||this.dragProp==="value"){this.maxHandle.focus()}else if(this.dragProp==="minMaxValue"){this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate);window.removeEventListener("pointerup",this.pointerUpDragEnd);window.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let e;Object.keys(t).forEach((i=>{const s=t[i];if(!e){const t=this[i];e=t!==s}this[i]=s}));if(!e){return}const i=this.dragProp;if(!i){this.emitChange()}this.emitInput()}clamp(t,e){t=H(t,this.min,this.max);if(e==="maxValue"){t=Math.max(t,this.minValue)}if(e==="minValue"){t=Math.min(t,this.maxValue)}return t}translate(t){const e=this.max-this.min;const{left:i,width:s}=this.trackEl.getBoundingClientRect();const a=(t-i)/s;const n=this.shouldMirror();const l=this.clamp(this.min+e*(n?1-a:a));const h=Number(l.toFixed(L(this.step)));return!(this.snap&&this.step)?h:this.getClosestStep(h)}getClosestStep(t){const{max:e,min:i,step:s}=this;let a=Math.floor((t-i)/s)*s+i;a=Math.min(Math.max(a,i),e);if(a>e){a-=s}return a}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,e){return Math.abs(t.getBoundingClientRect().left-e)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){t=this.clamp(t);const e=this.max-this.min;return(t-this.min)/e}adjustHostObscuredHandleLabel(t){const e=this.el.shadowRoot.querySelector(`.handle__label--${t}`);const i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`);const s=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`);const a=i.getBoundingClientRect();const n=this.getHostOffset(a.left,a.right);e.style.transform=`translateX(${n}px)`;s.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el;const e=this.shouldMirror();const i=e?"value":"minValue";const s=e?"minValue":"value";const a=t.querySelector(`.handle__label--${i}`);const n=t.querySelector(`.handle__label--${i}.static`);const l=t.querySelector(`.handle__label--${i}.transformed`);const h=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right);const r=t.querySelector(`.handle__label--${s}`);const o=t.querySelector(`.handle__label--${s}.static`);const c=t.querySelector(`.handle__label--${s}.transformed`);const d=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right);const u=this.getFontSizeForElement(a);const m=this.getRangeLabelOverlap(l,c);const b=a;const f=u/2;if(m>0){b.classList.add(F.hyphen,F.hyphenWrap);if(d===0&&h===0){let t=m/2-f;t=Math.sign(t)===-1?Math.abs(t):-t;const e=this.getHostOffset(l.getBoundingClientRect().left+t-f,l.getBoundingClientRect().right+t-f);let i=m/2;const s=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);if(e!==0){t+=e;i+=e}if(s!==0){t+=s;i+=s}a.style.transform=`translateX(${t}px)`;l.style.transform=`translateX(${t-f}px)`;r.style.transform=`translateX(${i}px)`;c.style.transform=`translateX(${i}px)`}else if(h>0||d>0){a.style.transform=`translateX(${h+f}px)`;r.style.transform=`translateX(${m+d}px)`;c.style.transform=`translateX(${m+d}px)`}else if(h<0||d<0){let t=Math.abs(h)+m-f;t=Math.sign(t)===-1?Math.abs(t):-t;a.style.transform=`translateX(${t}px)`;l.style.transform=`translateX(${t-f}px)`}}else{b.classList.remove(F.hyphen,F.hyphenWrap);a.style.transform=`translateX(${h}px)`;l.style.transform=`translateX(${h}px)`;r.style.transform=`translateX(${d}px)`;c.style.transform=`translateX(${d}px)`}}hideObscuredBoundingTickLabels(){const t=N(this.value);if(!this.hasHistogram&&!t&&!this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise){return}if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise){return}if(!this.hasHistogram&&t&&!this.precise){return}if(this.hasHistogram&&!this.precise&&!this.labelHandles){return}const e=this.el.shadowRoot.querySelector(`.${F.thumbMinValue}`);const i=this.el.shadowRoot.querySelector(`.${F.thumbValue}`);const s=this.el.shadowRoot.querySelector(`.${F.tickMin}`);const a=this.el.shadowRoot.querySelector(`.${F.tickMax}`);if(!e&&i&&s&&a){s.style.opacity=this.isMinTickLabelObscured(s,i)?"0":"1";a.style.opacity=this.isMaxTickLabelObscured(a,i)?"0":"1"}if(e&&i&&s&&a){s.style.opacity=this.isMinTickLabelObscured(s,e)||this.isMinTickLabelObscured(s,i)?"0":"1";a.style.opacity=this.isMaxTickLabelObscured(a,e)||this.isMaxTickLabelObscured(a,i)&&this.hasHistogram?"0":"1"}}getHostOffset(t,e){const i=this.el.getBoundingClientRect();const s=7;if(t+s<i.left){return i.left-t-s}if(e-s>i.right){return-(e-i.right)+s}return 0}getRangeLabelOverlap(t,e){const i=t.getBoundingClientRect();const s=e.getBoundingClientRect();const a=this.getFontSizeForElement(t);const n=i.right+a-s.left;return Math.max(n,0)}isMinTickLabelObscured(t,e){const i=t.getBoundingClientRect();const s=e.getBoundingClientRect();return o(i,s)}isMaxTickLabelObscured(t,e){const i=t.getBoundingClientRect();const s=e.getBoundingClientRect();return o(i,s)}internalLabelFormatter(t,e){const i=this.labelFormatter;if(!i){return this.formatValue(t)}const s=i(t,e,this.formatValue);if(s==null){return this.formatValue(t)}return s}static get delegatesFocus(){return true}get el(){return s(this)}static get watchers(){return{histogram:["histogramWatcher"],ticks:["ticksWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};U.style=W;export{R as calcite_graph,U as calcite_slider};
|
|
7
|
+
//# sourceMappingURL=p-8582076d.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,h as t,H as i,g as n}from"./p-e48d006d.js";import{s as a,a as s}from"./p-bf0746a3.js";import{a as l,c as r,d as c}from"./p-8356a697.js";import{g as o,n as h,c as d,d as b}from"./p-8e3a4720.js";import{v as u}from"./p-99726b90.js";import{c as f}from"./p-2fec90cc.js";import"./p-ae81e665.js";import"./p-70c530fa.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";const p={container:"container",fill:"fill",stepLine:"step-line",label:"label",labelHidden:"label-hidden",labelRange:"label-range",labelValue:"label-value",unitLabel:"unit-label",stepsVisible:"steps-visible",valueVisible:"value-visible",success:"fill-success",warning:"fill-warning",danger:"fill-danger"};const g=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-meter-space-internal:0.125rem;--calcite-meter-height-internal:1rem;--calcite-meter-font-size-internal:var(--calcite-font-size--1)}:host([scale=s]){--calcite-meter-height-internal:0.75rem;--calcite-meter-font-size-internal:var(--calcite-font-size--2)}:host([scale=l]){--calcite-meter-height-internal:1.5rem;--calcite-meter-font-size-internal:var(--calcite-font-size-0)}.container{position:relative;margin:0px;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-border-3);border-radius:var(--calcite-meter-height-internal)}.solid{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-3)}.outline{background-color:transparent}.value-visible{margin-block-start:1.5rem}.steps-visible{margin-block-end:1.5rem}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-color-border-3)}.label{position:absolute;font-size:var(--calcite-meter-font-size-internal)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + 0.5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.label-range{color:var(--calcite-color-text-3);inset-block-start:calc(100% + 0.5em)}.unit-label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3)}.label-value .unit-label{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;background-color:var(--calcite-color-brand);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size, background-color, box-shadow}.fill-danger{background-color:var(--calcite-color-status-danger)}.fill-success{background-color:var(--calcite-color-status-success)}.fill-warning{background-color:var(--calcite-color-status-warning)}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-color-brand)}.solid .fill-danger{box-shadow:0 0 0 1px var(--calcite-color-status-danger)}.solid .fill-success{box-shadow:0 0 0 1px var(--calcite-color-status-success)}.solid .fill-warning{box-shadow:0 0 0 1px var(--calcite-color-status-warning)}";const m=g;const v=class{constructor(t){e(this,t);this.labelFlipMax=.8;this.labelFlipProximity=.15;this.maxPercent=100;this.minPercent=0;this.resizeObserver=f("resize",(()=>this.resizeHandler()));this.formatLabel=(e,t)=>{if(t==="percent"){if(!this.percentFormatting){const e=o(this.effectiveLocale);const t=new Intl.NumberFormat(e,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:t,locale:e}}return this.percentFormatting.formatter.format(e)}else{h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};return h.localize(e.toString())}};this.appearance="outline-fill";this.disabled=false;this.fillType="range";this.form=undefined;this.groupSeparator=false;this.high=undefined;this.label=undefined;this.low=undefined;this.max=100;this.min=0;this.name=undefined;this.numberingSystem=undefined;this.rangeLabels=false;this.rangeLabelType="percent";this.scale="m";this.unitLabel="";this.value=undefined;this.valueLabel=false;this.valueLabelType="percent";this.currentPercent=undefined;this.effectiveLocale=undefined;this.highActive=undefined;this.highPercent=undefined;this.lowActive=undefined;this.lowPercent=undefined}handleRangeChange(){this.calculateValues();this.updateLabels()}handleLabelChange(){this.updateLabels()}async componentWillLoad(){a(this);this.calculateValues();l(this,this.value)}componentDidLoad(){s(this);this.updateLabels()}connectedCallback(){d(this);r(this);this.resizeObserver?.observe(this.el)}disconnectedCallback(){b(this);c(this);this.resizeObserver?.disconnect()}resizeHandler(){this.updateLabels()}updateLabels(){if(this.valueLabelEl){this.determineValueLabelPosition()}if(this.rangeLabels){this.determineVisibleLabels()}}calculateValues(){const{min:e,max:t,low:i,high:n,value:a}=this;const s=100*(i-e)/(t-e);const l=100*(n-e)/(t-e);const r=100*(a-e)/(t-e);if(!i||i<e||i>n||i>t){this.low=e}if(!n||n>t||n<i||n<e){this.high=t}if(!a){this.value=e}this.lowPercent=s;this.highPercent=l;this.currentPercent=a?r:0;this.lowActive=!!i&&i>e&&(!a||i>a)&&(!n||i<n);this.highActive=!!n&&e<=n&&n<t&&(!a||n>a)&&(!i||n>i)}getMeterKindCssClass(){const{low:e,high:t,min:i,max:n,value:a}=this;const s=e?e:i;const l=t?t:n;const r=a>=s;const c=a<s;const o=a>=l;const h=a<l;if(!a||!e&&h||c){return p.success}else if(r&&h){return p.warning}else if(o){return p.danger}else{return p.success}}intersects(e,t){return e&&t&&u(e.getBoundingClientRect(),t.getBoundingClientRect())}determineVisibleLabels(){const{minLabelEl:e,lowLabelEl:t,highLabelEl:i,maxLabelEl:n}=this;const a=this.intersects(i,n);const s=this.intersects(t,i);const l=this.intersects(t,n);const r=this.intersects(e,i);const c=this.intersects(e,t);const o=this.intersects(e,n);const h=p.labelHidden;if(t){if(c||l||s){t.classList.add(h)}else{t.classList.remove(h)}}if(i){if(r||l||a){i.classList.add(h)}else{i.classList.remove(h)}}if(e&&n){if(o){n.classList.add(h)}else{n.classList.remove(h)}}}determineValueLabelPosition(){const{valueLabelEl:e,meterContainerEl:t,currentPercent:i}=this;const n=i>100?100:i>0?i:0;const a=e.getBoundingClientRect().width;const s=t.getBoundingClientRect().width;const l=100*(a-0)/(s-0);if(n+l>=100){e.style.insetInlineEnd="0%";e.style.removeProperty("inset-inline-start")}else{e.style.insetInlineStart=`${n}% `;e.style.removeProperty("inset-inline-end")}}renderMeterFill(){const{currentPercent:e,fillType:i}=this;const n=this.getMeterKindCssClass();return t("div",{class:{[p.fill]:true,[n]:i!=="single"},style:{width:`${e}%`}})}renderRangeLine(e){const i={insetInlineStart:`${e}%`};return t("div",{class:p.stepLine,style:i})}renderValueLabel(){const{currentPercent:e,valueLabelType:i,unitLabel:n,value:a}=this;const s=this.formatLabel(i==="percent"?e/100:a||0,i);return t("div",{class:{[p.label]:true,[p.labelValue]:true},key:"low-label-line",ref:e=>this.valueLabelEl=e},s,n&&i!=="percent"&&t("span",{class:p.unitLabel}," ",n))}renderMinLabel(){const{rangeLabelType:e,min:i,minPercent:n,unitLabel:a}=this;const s={insetInlineStart:`${n}%`};const l=this.formatLabel(e==="percent"?n:i,e);return t("div",{class:{[p.label]:true,[p.labelRange]:true},key:"min-label-line",ref:e=>this.minLabelEl=e,style:s},l,a&&e!=="percent"&&t("span",{class:p.unitLabel}," ",a))}renderLowLabel(){const{rangeLabelType:e,low:i,lowPercent:n,highPercent:a,labelFlipProximity:s}=this;const l=i?this.formatLabel(e==="percent"?n/100:i,e):"";const r={insetInlineStart:`${n}%`};const c={insetInlineEnd:`${100-n}%`};const o=(a-n)/100<s?c:r;return t("div",{class:{[p.label]:true,[p.labelRange]:true},key:"low-label-line",ref:e=>this.lowLabelEl=e,style:o},l)}renderHighLabel(){const{rangeLabelType:e,high:i,highPercent:n,labelFlipMax:a}=this;const s=i?this.formatLabel(e==="percent"?n/100:i,e):"";const l={insetInlineStart:`${n}%`};const r={insetInlineEnd:`${100-n}%`};const c=n/100>=a?r:l;return t("div",{class:{[p.label]:true,[p.labelRange]:true},key:"high-label-line",ref:e=>this.highLabelEl=e,style:c},s)}renderMaxLabel(){const{rangeLabelType:e,max:i,maxPercent:n}=this;const a={insetInlineEnd:`${100-n}%`};const s=this.formatLabel(e==="percent"?n/100:i,e);return t("div",{class:{[p.label]:true,[p.labelRange]:true},key:"max-label-line",ref:e=>this.maxLabelEl=e,style:a},s)}render(){const{appearance:e,currentPercent:n,highActive:a,highPercent:s,label:l,lowActive:r,lowPercent:c,max:o,maxPercent:h,min:d,minPercent:b,rangeLabels:u,rangeLabelType:f,unitLabel:g,value:m,valueLabel:v,valueLabelType:y}=this;const L=this.formatLabel(n/100,"percent");const x=`${m} ${g}`;const w=y==="percent"?L:g?x:undefined;return t(i,{key:"37b481bf217dabf031fea5dd71ec3f9feb0a04cf"},t("div",{key:"a42279feb58be3052a4874c8c274bf9409e75fd7","aria-label":l,"aria-valuemax":f==="percent"?h:o,"aria-valuemin":f==="percent"?b:d,"aria-valuenow":y==="percent"?n:m,"aria-valuetext":w,class:{[p.container]:true,[p.stepsVisible]:u,[p.valueVisible]:v,[e]:e!=="outline-fill"},ref:e=>this.meterContainerEl=e,role:"meter"},this.renderMeterFill(),v&&this.renderValueLabel(),r&&this.renderRangeLine(c),a&&this.renderRangeLine(s),u&&this.renderMinLabel(),u&&r&&this.renderLowLabel(),u&&a&&this.renderHighLabel(),u&&this.renderMaxLabel()))}get el(){return n(this)}static get watchers(){return{min:["handleRangeChange"],max:["handleRangeChange"],low:["handleRangeChange"],high:["handleRangeChange"],value:["handleRangeChange"],rangeLabels:["handleLabelChange"],rangeLabelType:["handleLabelChange"],unitLabel:["handleLabelChange"],valueLabel:["handleLabelChange"],valueLabelType:["handleLabelChange"]}}};v.style=m;export{v as calcite_meter};
|
|
7
|
+
//# sourceMappingURL=p-859f14a3.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","container","fill","stepLine","label","labelHidden","labelRange","labelValue","unitLabel","stepsVisible","valueVisible","success","warning","danger","meterCss","CalciteMeterStyle0","Meter","this","labelFlipMax","labelFlipProximity","maxPercent","minPercent","resizeObserver","createObserver","resizeHandler","formatLabel","value","labelType","percentFormatting","locale","getSupportedLocale","effectiveLocale","formatter","Intl","NumberFormat","useGrouping","groupSeparator","style","format","numberStringFormatter","numberFormatOptions","numberingSystem","localize","toString","handleRangeChange","calculateValues","updateLabels","handleLabelChange","componentWillLoad","setUpLoadableComponent","afterConnectDefaultValueSet","componentDidLoad","setComponentLoaded","connectedCallback","connectLocalized","connectForm","observe","el","disconnectedCallback","disconnectLocalized","disconnectForm","disconnect","valueLabelEl","determineValueLabelPosition","rangeLabels","determineVisibleLabels","min","max","low","high","lowPercent","highPercent","currentPercent","lowActive","highActive","getMeterKindCssClass","lowest","highest","aboveLowest","belowLowest","aboveHighest","belowHighest","intersects","el1","el2","getBoundingClientRect","minLabelEl","lowLabelEl","highLabelEl","maxLabelEl","highMaxOverlap","lowHighOverlap","lowMaxOverlap","minHighOverlap","minLowOverlap","minMaxOverlap","hiddenClass","classList","add","remove","meterContainerEl","valuePosition","valueLabelWidth","width","containerWidth","labelWidthPercent","insetInlineEnd","removeProperty","insetInlineStart","renderMeterFill","fillType","kindClass","h","class","renderRangeLine","position","renderValueLabel","valueLabelType","key","ref","renderMinLabel","rangeLabelType","labelMin","renderLowLabel","styleDefault","styleFlipped","renderHighLabel","renderMaxLabel","labelMax","render","appearance","valueLabel","textPercentLabelWithPercent","textUnitLabel","valueText","undefined","Host","role"],"sources":["src/components/meter/resources.ts","src/components/meter/meter.scss?tag=calcite-meter&encapsulation=shadow","src/components/meter/meter.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n fill: \"fill\",\n stepLine: \"step-line\",\n label: \"label\",\n labelHidden: \"label-hidden\",\n labelRange: \"label-range\",\n labelValue: \"label-value\",\n unitLabel: \"unit-label\",\n stepsVisible: \"steps-visible\",\n valueVisible: \"value-visible\",\n success: \"fill-success\",\n warning: \"fill-warning\",\n danger: \"fill-danger\",\n};\n","@include base-component();\n@include disabled();\n\n:host {\n @apply flex;\n --calcite-meter-space-internal: theme(\"spacing[0.5]\");\n --calcite-meter-height-internal: theme(\"spacing.4\");\n --calcite-meter-font-size-internal: var(--calcite-font-size--1);\n}\n\n:host([scale=\"s\"]) {\n --calcite-meter-height-internal: theme(\"spacing.3\");\n --calcite-meter-font-size-internal: var(--calcite-font-size--2);\n}\n\n:host([scale=\"l\"]) {\n --calcite-meter-height-internal: theme(\"spacing.6\");\n --calcite-meter-font-size-internal: var(--calcite-font-size-0);\n}\n\n.container {\n @apply flex relative items-center w-full m-0;\n block-size: var(--calcite-meter-height-internal);\n background-color: var(--calcite-color-foreground-2);\n border: 1px solid var(--calcite-color-border-3);\n border-radius: var(--calcite-meter-height-internal);\n}\n\n.solid {\n border: 1px solid var(--calcite-color-foreground-3);\n background-color: var(--calcite-color-foreground-3);\n}\n\n.outline {\n @apply bg-transparent;\n}\n\n.value-visible {\n margin-block-start: theme(\"spacing.6\");\n}\n\n.steps-visible {\n margin-block-end: theme(\"spacing.6\");\n}\n\n.step-line {\n @apply block absolute inset-y-0;\n inline-size: var(--calcite-meter-space-internal);\n background-color: var(--calcite-color-border-3);\n}\n\n.label {\n @apply absolute;\n font-size: var(--calcite-meter-font-size-internal);\n}\n\n.label-hidden {\n @apply invisible opacity-0;\n}\n\n.label-value {\n inset-block-end: calc(100% + 0.5em);\n font-weight: var(--calcite-font-weight-bold);\n color: var(--calcite-color-text-1);\n}\n\n.label-range {\n @apply text-color-3;\n inset-block-start: calc(100% + 0.5em);\n}\n\n.unit-label {\n @apply text-color-3 font-medium;\n}\n\n.label-value .unit-label {\n @apply text-color-2 font-bold;\n}\n\n.fill {\n @apply block absolute duration-150 ease-in-out bg-brand z-default;\n inset-inline-start: var(--calcite-meter-space-internal);\n inset-block: var(--calcite-meter-space-internal);\n border-radius: var(--calcite-meter-height-internal);\n max-inline-size: calc(100% - (var(--calcite-meter-space-internal) * 2));\n min-inline-size: calc(var(--calcite-meter-height-internal) - (var(--calcite-meter-space-internal) * 2));\n transition-property: inline-size, background-color, box-shadow;\n}\n\n.fill-danger {\n background-color: var(--calcite-color-status-danger);\n}\n\n.fill-success {\n background-color: var(--calcite-color-status-success);\n}\n\n.fill-warning {\n background-color: var(--calcite-color-status-warning);\n}\n\n.solid .fill {\n inset-block: 0;\n inset-inline-start: 0;\n max-inline-size: 100%;\n min-inline-size: calc(var(--calcite-meter-height-internal));\n box-shadow: 0 0 0 1px var(--calcite-color-brand);\n}\n\n.solid .fill-danger {\n box-shadow: 0 0 0 1px var(--calcite-color-status-danger);\n}\n\n.solid .fill-success {\n box-shadow: 0 0 0 1px var(--calcite-color-status-success);\n}\n\n.solid .fill-warning {\n box-shadow: 0 0 0 1px var(--calcite-color-status-warning);\n}\n","import { Component, Element, h, Host, Prop, State, VNode, Watch } from \"@stencil/core\";\nimport { Appearance, Scale } from \"../interfaces\";\nimport {\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n} from \"../../utils/form\";\nimport {\n connectLocalized,\n disconnectLocalized,\n getSupportedLocale,\n LocalizedComponent,\n NumberingSystem,\n numberStringFormatter,\n SupportedLocale,\n} from \"../../utils/locale\";\nimport { intersects } from \"../../utils/dom\";\nimport { createObserver } from \"../../utils/observers\";\nimport { CSS } from \"./resources\";\nimport { MeterLabelType } from \"./interfaces\";\n\n@Component({\n tag: \"calcite-meter\",\n styleUrl: \"meter.scss\",\n shadow: true,\n})\nexport class Meter implements FormComponent, LoadableComponent, LocalizedComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> =\n \"outline-fill\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Specifies the component's display, where `\"single\"` displays a single color and `\"range\"` displays a range of colors based on provided `low`, `high`, `min` or `max` values. */\n @Prop({ reflect: true }) fillType: \"single\" | \"range\" = \"range\";\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /** When `true`, number values are displayed with a group separator corresponding to the language and country format. */\n @Prop({ reflect: true }) groupSeparator = false;\n\n /** Specifies a high value. When `fillType` is `\"range\"`, displays a different color when above the specified threshold. */\n @Prop({ reflect: true, mutable: true }) high: number;\n\n /** Accessible name for the component. */\n @Prop() label!: string;\n\n /** Specifies a low value. When `fillType` is `\"range\"`, displays a different color when above the specified threshold. */\n @Prop({ reflect: true, mutable: true }) low: number;\n\n /** Specifies the highest allowed value of the component. */\n @Prop({ reflect: true }) max = 100;\n\n /** Specifies the lowest allowed value of the component. */\n @Prop({ reflect: true }) min = 0;\n\n @Watch(\"min\")\n @Watch(\"max\")\n @Watch(\"low\")\n @Watch(\"high\")\n @Watch(\"value\")\n handleRangeChange(): void {\n this.calculateValues();\n this.updateLabels();\n }\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** Specifies the Unicode numeral system used by the component for localization. */\n @Prop() numberingSystem: NumberingSystem;\n\n /** When `true`, displays the values of `high`, `low`, `min`, and `max`. */\n @Prop({ reflect: true }) rangeLabels = false;\n\n /** When `rangeLabels` is `true`, specifies the format of displayed labels. */\n @Prop({ reflect: true }) rangeLabelType: MeterLabelType = \"percent\";\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** When `rangeLabelType` is `\"units\"` and either `valueLabel` or `rangeLabels` are `true`, displays beside the `value` and/or `min` values. */\n @Prop() unitLabel = \"\";\n\n /** Specifies the current value of the component. */\n @Prop({ mutable: true }) value: number;\n\n /** When `true`, displays the current value. */\n @Prop({ reflect: true }) valueLabel = false;\n\n /** When `valueLabel` is `true`, specifies the format of displayed label. */\n @Prop({ reflect: true }) valueLabelType: MeterLabelType = \"percent\";\n\n @Watch(\"rangeLabels\")\n @Watch(\"rangeLabelType\")\n @Watch(\"unitLabel\")\n @Watch(\"valueLabel\")\n @Watch(\"valueLabelType\")\n handleLabelChange(): void {\n this.updateLabels();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.calculateValues();\n afterConnectDefaultValueSet(this, this.value);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.updateLabels();\n }\n\n connectedCallback(): void {\n connectLocalized(this);\n connectForm(this);\n this.resizeObserver?.observe(this.el);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectForm(this);\n this.resizeObserver?.disconnect();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteMeterElement;\n\n defaultValue: Meter[\"value\"];\n\n formEl: HTMLFormElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n private highLabelEl: HTMLDivElement;\n\n private labelFlipMax = 0.8;\n\n private labelFlipProximity = 0.15;\n\n private lowLabelEl: HTMLDivElement;\n\n private maxLabelEl: HTMLDivElement;\n\n private maxPercent = 100;\n\n private meterContainerEl: HTMLDivElement;\n\n private minLabelEl: HTMLDivElement;\n\n private minPercent = 0;\n\n private percentFormatting: {\n formatter: Intl.NumberFormat;\n locale: SupportedLocale;\n };\n\n private resizeObserver = createObserver(\"resize\", () => this.resizeHandler());\n\n private valueLabelEl: HTMLDivElement;\n\n @State() currentPercent: number;\n\n @State() effectiveLocale: string;\n\n @State() highActive: boolean;\n\n @State() highPercent: number;\n\n @State() lowActive: boolean;\n\n @State() lowPercent: number;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private resizeHandler(): void {\n this.updateLabels();\n }\n\n private updateLabels(): void {\n if (this.valueLabelEl) {\n this.determineValueLabelPosition();\n }\n if (this.rangeLabels) {\n this.determineVisibleLabels();\n }\n }\n\n private calculateValues(): void {\n const { min, max, low, high, value } = this;\n const lowPercent = (100 * (low - min)) / (max - min);\n const highPercent = (100 * (high - min)) / (max - min);\n const currentPercent = (100 * (value - min)) / (max - min);\n\n if (!low || low < min || low > high || low > max) {\n this.low = min;\n }\n if (!high || high > max || high < low || high < min) {\n this.high = max;\n }\n if (!value) {\n this.value = min;\n }\n\n this.lowPercent = lowPercent;\n this.highPercent = highPercent;\n this.currentPercent = value ? currentPercent : 0;\n this.lowActive = !!low && low > min && (!value || low > value) && (!high || low < high);\n this.highActive =\n !!high && min <= high && high < max && (!value || high > value) && (!low || high > low);\n }\n\n private formatLabel = (value: number, labelType: MeterLabelType): string => {\n if (labelType === \"percent\") {\n if (!this.percentFormatting) {\n const locale = getSupportedLocale(this.effectiveLocale);\n const formatter = new Intl.NumberFormat(locale, {\n useGrouping: this.groupSeparator,\n style: \"percent\",\n });\n this.percentFormatting = { formatter, locale };\n }\n return this.percentFormatting.formatter.format(value);\n } else {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n return numberStringFormatter.localize(value.toString());\n }\n };\n\n private getMeterKindCssClass(): string {\n const { low, high, min, max, value } = this;\n const lowest = low ? low : min;\n const highest = high ? high : max;\n const aboveLowest = value >= lowest;\n const belowLowest = value < lowest;\n const aboveHighest = value >= highest;\n const belowHighest = value < highest;\n\n if (!value || (!low && belowHighest) || belowLowest) {\n return CSS.success;\n } else if (aboveLowest && belowHighest) {\n return CSS.warning;\n } else if (aboveHighest) {\n return CSS.danger;\n } else {\n return CSS.success;\n }\n }\n\n private intersects(el1: HTMLDivElement, el2: HTMLDivElement): boolean {\n return el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect());\n }\n\n private determineVisibleLabels(): void {\n const { minLabelEl, lowLabelEl, highLabelEl, maxLabelEl } = this;\n const highMaxOverlap = this.intersects(highLabelEl, maxLabelEl);\n const lowHighOverlap = this.intersects(lowLabelEl, highLabelEl);\n const lowMaxOverlap = this.intersects(lowLabelEl, maxLabelEl);\n const minHighOverlap = this.intersects(minLabelEl, highLabelEl);\n const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);\n const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);\n const hiddenClass = CSS.labelHidden;\n\n if (lowLabelEl) {\n if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {\n lowLabelEl.classList.add(hiddenClass);\n } else {\n lowLabelEl.classList.remove(hiddenClass);\n }\n }\n\n if (highLabelEl) {\n if (minHighOverlap || lowMaxOverlap || highMaxOverlap) {\n highLabelEl.classList.add(hiddenClass);\n } else {\n highLabelEl.classList.remove(hiddenClass);\n }\n }\n\n if (minLabelEl && maxLabelEl) {\n if (minMaxOverlap) {\n maxLabelEl.classList.add(hiddenClass);\n } else {\n maxLabelEl.classList.remove(hiddenClass);\n }\n }\n }\n\n private determineValueLabelPosition(): void {\n const { valueLabelEl, meterContainerEl, currentPercent } = this;\n const valuePosition = currentPercent > 100 ? 100 : currentPercent > 0 ? currentPercent : 0;\n const valueLabelWidth = valueLabelEl.getBoundingClientRect().width;\n const containerWidth = meterContainerEl.getBoundingClientRect().width;\n const labelWidthPercent = (100 * (valueLabelWidth - 0)) / (containerWidth - 0);\n\n if (valuePosition + labelWidthPercent >= 100) {\n valueLabelEl.style.insetInlineEnd = \"0%\";\n valueLabelEl.style.removeProperty(\"inset-inline-start\");\n } else {\n valueLabelEl.style.insetInlineStart = `${valuePosition}% `;\n valueLabelEl.style.removeProperty(\"inset-inline-end\");\n }\n }\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderMeterFill(): VNode {\n const { currentPercent, fillType } = this;\n const kindClass = this.getMeterKindCssClass();\n return (\n <div\n class={{ [CSS.fill]: true, [kindClass]: fillType !== \"single\" }}\n style={{ width: `${currentPercent}%` }}\n />\n );\n }\n\n renderRangeLine(position: number): VNode {\n const style = { insetInlineStart: `${position}%` };\n return <div class={CSS.stepLine} style={style} />;\n }\n\n renderValueLabel(): VNode {\n const { currentPercent, valueLabelType, unitLabel, value } = this;\n const label = this.formatLabel(\n valueLabelType === \"percent\" ? currentPercent / 100 : value || 0,\n valueLabelType,\n );\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelValue]: true }}\n key=\"low-label-line\"\n ref={(el) => (this.valueLabelEl = el)}\n >\n {label}\n {unitLabel && valueLabelType !== \"percent\" && (\n <span class={CSS.unitLabel}> {unitLabel}</span>\n )}\n </div>\n );\n }\n\n renderMinLabel(): VNode {\n const { rangeLabelType, min, minPercent, unitLabel } = this;\n const style = { insetInlineStart: `${minPercent}%` };\n const labelMin = this.formatLabel(\n rangeLabelType === \"percent\" ? minPercent : min,\n rangeLabelType,\n );\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelRange]: true }}\n key=\"min-label-line\"\n ref={(el) => (this.minLabelEl = el)}\n style={style}\n >\n {labelMin}\n {unitLabel && rangeLabelType !== \"percent\" && (\n <span class={CSS.unitLabel}> {unitLabel}</span>\n )}\n </div>\n );\n }\n\n renderLowLabel(): VNode {\n const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;\n const label = low\n ? this.formatLabel(rangeLabelType === \"percent\" ? lowPercent / 100 : low, rangeLabelType)\n : \"\";\n const styleDefault = { insetInlineStart: `${lowPercent}%` };\n const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };\n const style =\n (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelRange]: true }}\n key=\"low-label-line\"\n ref={(el) => (this.lowLabelEl = el)}\n style={style}\n >\n {label}\n </div>\n );\n }\n\n renderHighLabel(): VNode {\n const { rangeLabelType, high, highPercent, labelFlipMax } = this;\n const label = high\n ? this.formatLabel(rangeLabelType === \"percent\" ? highPercent / 100 : high, rangeLabelType)\n : \"\";\n const styleDefault = { insetInlineStart: `${highPercent}%` };\n const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };\n const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelRange]: true }}\n key=\"high-label-line\"\n ref={(el) => (this.highLabelEl = el as HTMLDivElement)}\n style={style}\n >\n {label}\n </div>\n );\n }\n\n renderMaxLabel(): VNode {\n const { rangeLabelType, max, maxPercent } = this;\n const style = { insetInlineEnd: `${100 - maxPercent}%` };\n const labelMax = this.formatLabel(\n rangeLabelType === \"percent\" ? maxPercent / 100 : max,\n rangeLabelType,\n );\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelRange]: true }}\n key=\"max-label-line\"\n ref={(el) => (this.maxLabelEl = el as HTMLDivElement)}\n style={style}\n >\n {labelMax}\n </div>\n );\n }\n\n render(): VNode {\n const {\n appearance,\n currentPercent,\n highActive,\n highPercent,\n label,\n lowActive,\n lowPercent,\n max,\n maxPercent,\n min,\n minPercent,\n rangeLabels,\n rangeLabelType,\n unitLabel,\n value,\n valueLabel,\n valueLabelType,\n } = this;\n const textPercentLabelWithPercent = this.formatLabel(currentPercent / 100, \"percent\");\n const textUnitLabel = `${value} ${unitLabel}`;\n const valueText =\n valueLabelType === \"percent\"\n ? textPercentLabelWithPercent\n : unitLabel\n ? textUnitLabel\n : undefined;\n return (\n <Host>\n <div\n aria-label={label}\n aria-valuemax={rangeLabelType === \"percent\" ? maxPercent : max}\n aria-valuemin={rangeLabelType === \"percent\" ? minPercent : min}\n aria-valuenow={valueLabelType === \"percent\" ? currentPercent : value}\n aria-valuetext={valueText}\n class={{\n [CSS.container]: true,\n [CSS.stepsVisible]: rangeLabels,\n [CSS.valueVisible]: valueLabel,\n [appearance]: appearance !== \"outline-fill\",\n }}\n ref={(el) => (this.meterContainerEl = el as HTMLDivElement)}\n role=\"meter\"\n >\n {this.renderMeterFill()}\n {valueLabel && this.renderValueLabel()}\n {lowActive && this.renderRangeLine(lowPercent)}\n {highActive && this.renderRangeLine(highPercent)}\n {rangeLabels && this.renderMinLabel()}\n {rangeLabels && lowActive && this.renderLowLabel()}\n {rangeLabels && highActive && this.renderHighLabel()}\n {rangeLabels && this.renderMaxLabel()}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;uXAAO,MAAMA,EAAM,CACjBC,UAAW,YACXC,KAAM,OACNC,SAAU,YACVC,MAAO,QACPC,YAAa,eACbC,WAAY,cACZC,WAAY,cACZC,UAAW,aACXC,aAAc,gBACdC,aAAc,gBACdC,QAAS,eACTC,QAAS,eACTC,OAAQ,eCbV,MAAMC,EAAW,imGACjB,MAAAC,EAAeD,E,MC+BFE,EAAK,M,yBAyIRC,KAAAC,aAAe,GAEfD,KAAAE,mBAAqB,IAMrBF,KAAAG,WAAa,IAMbH,KAAAI,WAAa,EAObJ,KAAAK,eAAiBC,EAAe,UAAU,IAAMN,KAAKO,kBA2DrDP,KAAAQ,YAAc,CAACC,EAAeC,KACpC,GAAIA,IAAc,UAAW,CAC3B,IAAKV,KAAKW,kBAAmB,CAC3B,MAAMC,EAASC,EAAmBb,KAAKc,iBACvC,MAAMC,EAAY,IAAIC,KAAKC,aAAaL,EAAQ,CAC9CM,YAAalB,KAAKmB,eAClBC,MAAO,YAETpB,KAAKW,kBAAoB,CAAEI,YAAWH,S,CAExC,OAAOZ,KAAKW,kBAAkBI,UAAUM,OAAOZ,E,KAC1C,CACLa,EAAsBC,oBAAsB,CAC1CX,OAAQZ,KAAKc,gBACbU,gBAAiBxB,KAAKwB,gBACtBN,YAAalB,KAAKmB,gBAEpB,OAAOG,EAAsBG,SAAShB,EAAMiB,W,mBAjO9C,e,cAGkC,M,cAGoB,Q,wCAUd,M,qEAYX,I,SAGA,E,oEAuBQ,M,oBAGmB,U,WAGlB,I,eAGpB,G,qCAMkB,M,oBAGoB,U,qKAlC1D,iBAAAC,GACE3B,KAAK4B,kBACL5B,KAAK6B,c,CAuCP,iBAAAC,GACE9B,KAAK6B,c,CASP,uBAAME,GACJC,EAAuBhC,MACvBA,KAAK4B,kBACLK,EAA4BjC,KAAMA,KAAKS,M,CAGzC,gBAAAyB,GACEC,EAAmBnC,MACnBA,KAAK6B,c,CAGP,iBAAAO,GACEC,EAAiBrC,MACjBsC,EAAYtC,MACZA,KAAKK,gBAAgBkC,QAAQvC,KAAKwC,G,CAGpC,oBAAAC,GACEC,EAAoB1C,MACpB2C,EAAe3C,MACfA,KAAKK,gBAAgBuC,Y,CA8Df,aAAArC,GACNP,KAAK6B,c,CAGC,YAAAA,GACN,GAAI7B,KAAK6C,aAAc,CACrB7C,KAAK8C,6B,CAEP,GAAI9C,KAAK+C,YAAa,CACpB/C,KAAKgD,wB,EAID,eAAApB,GACN,MAAMqB,IAAEA,EAAGC,IAAEA,EAAGC,IAAEA,EAAGC,KAAEA,EAAI3C,MAAEA,GAAUT,KACvC,MAAMqD,EAAc,KAAOF,EAAMF,IAASC,EAAMD,GAChD,MAAMK,EAAe,KAAOF,EAAOH,IAASC,EAAMD,GAClD,MAAMM,EAAkB,KAAO9C,EAAQwC,IAASC,EAAMD,GAEtD,IAAKE,GAAOA,EAAMF,GAAOE,EAAMC,GAAQD,EAAMD,EAAK,CAChDlD,KAAKmD,IAAMF,C,CAEb,IAAKG,GAAQA,EAAOF,GAAOE,EAAOD,GAAOC,EAAOH,EAAK,CACnDjD,KAAKoD,KAAOF,C,CAEd,IAAKzC,EAAO,CACVT,KAAKS,MAAQwC,C,CAGfjD,KAAKqD,WAAaA,EAClBrD,KAAKsD,YAAcA,EACnBtD,KAAKuD,eAAiB9C,EAAQ8C,EAAiB,EAC/CvD,KAAKwD,YAAcL,GAAOA,EAAMF,KAASxC,GAAS0C,EAAM1C,MAAY2C,GAAQD,EAAMC,GAClFpD,KAAKyD,aACDL,GAAQH,GAAOG,GAAQA,EAAOF,KAASzC,GAAS2C,EAAO3C,MAAY0C,GAAOC,EAAOD,E,CAwB/E,oBAAAO,GACN,MAAMP,IAAEA,EAAGC,KAAEA,EAAIH,IAAEA,EAAGC,IAAEA,EAAGzC,MAAEA,GAAUT,KACvC,MAAM2D,EAASR,EAAMA,EAAMF,EAC3B,MAAMW,EAAUR,EAAOA,EAAOF,EAC9B,MAAMW,EAAcpD,GAASkD,EAC7B,MAAMG,EAAcrD,EAAQkD,EAC5B,MAAMI,EAAetD,GAASmD,EAC9B,MAAMI,EAAevD,EAAQmD,EAE7B,IAAKnD,IAAW0C,GAAOa,GAAiBF,EAAa,CACnD,OAAO/E,EAAIW,O,MACN,GAAImE,GAAeG,EAAc,CACtC,OAAOjF,EAAIY,O,MACN,GAAIoE,EAAc,CACvB,OAAOhF,EAAIa,M,KACN,CACL,OAAOb,EAAIW,O,EAIP,UAAAuE,CAAWC,EAAqBC,GACtC,OAAOD,GAAOC,GAAOF,EAAWC,EAAIE,wBAAyBD,EAAIC,wB,CAG3D,sBAAApB,GACN,MAAMqB,WAAEA,EAAUC,WAAEA,EAAUC,YAAEA,EAAWC,WAAEA,GAAexE,KAC5D,MAAMyE,EAAiBzE,KAAKiE,WAAWM,EAAaC,GACpD,MAAME,EAAiB1E,KAAKiE,WAAWK,EAAYC,GACnD,MAAMI,EAAgB3E,KAAKiE,WAAWK,EAAYE,GAClD,MAAMI,EAAiB5E,KAAKiE,WAAWI,EAAYE,GACnD,MAAMM,EAAgB7E,KAAKiE,WAAWI,EAAYC,GAClD,MAAMQ,EAAgB9E,KAAKiE,WAAWI,EAAYG,GAClD,MAAMO,EAAchG,EAAIK,YAExB,GAAIkF,EAAY,CACd,GAAIO,GAAiBF,GAAiBD,EAAgB,CACpDJ,EAAWU,UAAUC,IAAIF,E,KACpB,CACLT,EAAWU,UAAUE,OAAOH,E,EAIhC,GAAIR,EAAa,CACf,GAAIK,GAAkBD,GAAiBF,EAAgB,CACrDF,EAAYS,UAAUC,IAAIF,E,KACrB,CACLR,EAAYS,UAAUE,OAAOH,E,EAIjC,GAAIV,GAAcG,EAAY,CAC5B,GAAIM,EAAe,CACjBN,EAAWQ,UAAUC,IAAIF,E,KACpB,CACLP,EAAWQ,UAAUE,OAAOH,E,GAK1B,2BAAAjC,GACN,MAAMD,aAAEA,EAAYsC,iBAAEA,EAAgB5B,eAAEA,GAAmBvD,KAC3D,MAAMoF,EAAgB7B,EAAiB,IAAM,IAAMA,EAAiB,EAAIA,EAAiB,EACzF,MAAM8B,EAAkBxC,EAAauB,wBAAwBkB,MAC7D,MAAMC,EAAiBJ,EAAiBf,wBAAwBkB,MAChE,MAAME,EAAqB,KAAOH,EAAkB,IAAOE,EAAiB,GAE5E,GAAIH,EAAgBI,GAAqB,IAAK,CAC5C3C,EAAazB,MAAMqE,eAAiB,KACpC5C,EAAazB,MAAMsE,eAAe,qB,KAC7B,CACL7C,EAAazB,MAAMuE,iBAAmB,GAAGP,MACzCvC,EAAazB,MAAMsE,eAAe,mB,EAStC,eAAAE,GACE,MAAMrC,eAAEA,EAAcsC,SAAEA,GAAa7F,KACrC,MAAM8F,EAAY9F,KAAK0D,uBACvB,OACEqC,EAAA,OACEC,MAAO,CAAE,CAACjH,EAAIE,MAAO,KAAM6G,CAACA,GAAYD,IAAa,UACrDzE,MAAO,CAAEkE,MAAO,GAAG/B,O,CAKzB,eAAA0C,CAAgBC,GACd,MAAM9E,EAAQ,CAAEuE,iBAAkB,GAAGO,MACrC,OAAOH,EAAA,OAAKC,MAAOjH,EAAIG,SAAUkC,MAAOA,G,CAG1C,gBAAA+E,GACE,MAAM5C,eAAEA,EAAc6C,eAAEA,EAAc7G,UAAEA,EAASkB,MAAEA,GAAUT,KAC7D,MAAMb,EAAQa,KAAKQ,YACjB4F,IAAmB,UAAY7C,EAAiB,IAAM9C,GAAS,EAC/D2F,GAEF,OACEL,EAAA,OACEC,MAAO,CAAE,CAACjH,EAAII,OAAQ,KAAM,CAACJ,EAAIO,YAAa,MAC9C+G,IAAI,iBACJC,IAAM9D,GAAQxC,KAAK6C,aAAeL,GAEjCrD,EACAI,GAAa6G,IAAmB,WAC/BL,EAAA,QAAMC,MAAOjH,EAAIQ,WAAS,IAASA,G,CAM3C,cAAAgH,GACE,MAAMC,eAAEA,EAAcvD,IAAEA,EAAG7C,WAAEA,EAAUb,UAAEA,GAAcS,KACvD,MAAMoB,EAAQ,CAAEuE,iBAAkB,GAAGvF,MACrC,MAAMqG,EAAWzG,KAAKQ,YACpBgG,IAAmB,UAAYpG,EAAa6C,EAC5CuD,GAEF,OACET,EAAA,OACEC,MAAO,CAAE,CAACjH,EAAII,OAAQ,KAAM,CAACJ,EAAIM,YAAa,MAC9CgH,IAAI,iBACJC,IAAM9D,GAAQxC,KAAKqE,WAAa7B,EAChCpB,MAAOA,GAENqF,EACAlH,GAAaiH,IAAmB,WAC/BT,EAAA,QAAMC,MAAOjH,EAAIQ,WAAS,IAASA,G,CAM3C,cAAAmH,GACE,MAAMF,eAAEA,EAAcrD,IAAEA,EAAGE,WAAEA,EAAUC,YAAEA,EAAWpD,mBAAEA,GAAuBF,KAC7E,MAAMb,EAAQgE,EACVnD,KAAKQ,YAAYgG,IAAmB,UAAYnD,EAAa,IAAMF,EAAKqD,GACxE,GACJ,MAAMG,EAAe,CAAEhB,iBAAkB,GAAGtC,MAC5C,MAAMuD,EAAe,CAAEnB,eAAgB,GAAG,IAAMpC,MAChD,MAAMjC,GACHkC,EAAcD,GAAc,IAAMnD,EAAqB0G,EAAeD,EACzE,OACEZ,EAAA,OACEC,MAAO,CAAE,CAACjH,EAAII,OAAQ,KAAM,CAACJ,EAAIM,YAAa,MAC9CgH,IAAI,iBACJC,IAAM9D,GAAQxC,KAAKsE,WAAa9B,EAChCpB,MAAOA,GAENjC,E,CAKP,eAAA0H,GACE,MAAML,eAAEA,EAAcpD,KAAEA,EAAIE,YAAEA,EAAWrD,aAAEA,GAAiBD,KAC5D,MAAMb,EAAQiE,EACVpD,KAAKQ,YAAYgG,IAAmB,UAAYlD,EAAc,IAAMF,EAAMoD,GAC1E,GACJ,MAAMG,EAAe,CAAEhB,iBAAkB,GAAGrC,MAC5C,MAAMsD,EAAe,CAAEnB,eAAgB,GAAG,IAAMnC,MAChD,MAAMlC,EAAQkC,EAAc,KAAOrD,EAAe2G,EAAeD,EACjE,OACEZ,EAAA,OACEC,MAAO,CAAE,CAACjH,EAAII,OAAQ,KAAM,CAACJ,EAAIM,YAAa,MAC9CgH,IAAI,kBACJC,IAAM9D,GAAQxC,KAAKuE,YAAc/B,EACjCpB,MAAOA,GAENjC,E,CAKP,cAAA2H,GACE,MAAMN,eAAEA,EAActD,IAAEA,EAAG/C,WAAEA,GAAeH,KAC5C,MAAMoB,EAAQ,CAAEqE,eAAgB,GAAG,IAAMtF,MACzC,MAAM4G,EAAW/G,KAAKQ,YACpBgG,IAAmB,UAAYrG,EAAa,IAAM+C,EAClDsD,GAEF,OACET,EAAA,OACEC,MAAO,CAAE,CAACjH,EAAII,OAAQ,KAAM,CAACJ,EAAIM,YAAa,MAC9CgH,IAAI,iBACJC,IAAM9D,GAAQxC,KAAKwE,WAAahC,EAChCpB,MAAOA,GAEN2F,E,CAKP,MAAAC,GACE,MAAMC,WACJA,EAAU1D,eACVA,EAAcE,WACdA,EAAUH,YACVA,EAAWnE,MACXA,EAAKqE,UACLA,EAASH,WACTA,EAAUH,IACVA,EAAG/C,WACHA,EAAU8C,IACVA,EAAG7C,WACHA,EAAU2C,YACVA,EAAWyD,eACXA,EAAcjH,UACdA,EAASkB,MACTA,EAAKyG,WACLA,EAAUd,eACVA,GACEpG,KACJ,MAAMmH,EAA8BnH,KAAKQ,YAAY+C,EAAiB,IAAK,WAC3E,MAAM6D,EAAgB,GAAG3G,KAASlB,IAClC,MAAM8H,EACJjB,IAAmB,UACfe,EACA5H,EACE6H,EACAE,UACR,OACEvB,EAACwB,EAAI,CAAAlB,IAAA,4CACHN,EAAA,OAAAM,IAAA,wDACclH,EAAK,gBACFqH,IAAmB,UAAYrG,EAAa+C,EAAG,gBAC/CsD,IAAmB,UAAYpG,EAAa6C,EAAG,gBAC/CmD,IAAmB,UAAY7C,EAAiB9C,EAAK,iBACpD4G,EAChBrB,MAAO,CACL,CAACjH,EAAIC,WAAY,KACjB,CAACD,EAAIS,cAAeuD,EACpB,CAAChE,EAAIU,cAAeyH,EACpBD,CAACA,GAAaA,IAAe,gBAE/BX,IAAM9D,GAAQxC,KAAKmF,iBAAmB3C,EACtCgF,KAAK,SAEJxH,KAAK4F,kBACLsB,GAAclH,KAAKmG,mBACnB3C,GAAaxD,KAAKiG,gBAAgB5C,GAClCI,GAAczD,KAAKiG,gBAAgB3C,GACnCP,GAAe/C,KAAKuG,iBACpBxD,GAAeS,GAAaxD,KAAK0G,iBACjC3D,GAAeU,GAAczD,KAAK6G,kBAClC9D,GAAe/C,KAAK8G,kB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
const t=(()=>{const t=Intl.supportedValuesOf("timeZone");const n=["Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9"];return[...new Set([...t,...n])]})();const n=new Date;const c=n.toISOString();const e=365;const o=e;const s={startDate:c,groupDateRange:o,debug:false};const r=new Set(["Europe","Asia","America","America/Argentina","Africa","Australia","Pacific","Atlantic","Antarctica","Arctic","Indian"]);const a=(t,n,c)=>{const e=[];let o=c.create(t);for(let t=0;t<=n;t++){o=c.increase(o);e.push(c.formatToIsoDateString(o))}return e};const i=t=>{if(t.includes("Istanbul")){return"Europe"}const n=t.lastIndexOf("/");return n===-1?t:t.slice(0,n)};const u=t=>r.has(t);const l=(t,n,c,e,o=false)=>{const s=new Map;if(o){console.log(`Initializing data starting ${n} with ${c} days in the future, comparing ${t.length} timezones`)}const r=a(n,c,e);return t.map((t=>{const n=t.label;const c=i(n);const o=r.map((t=>{const c=`${t}-${n}`;let o=s.get(c);if(o){return o}o=e.isoToTimeZone(t,n);s.set(c,o);return o}));return{...t,continent:c,isRegularContinent:u(c),dates:o}}))};const E=(t,n,c)=>t.length===n.length&&t.every(((t,e)=>c.same(t,n[e])));const M=(t,n=5)=>{const c=t.filter((({label:t})=>u(i(t))));if(c.length===0){return[0]}const e=c.map((n=>t.indexOf(n)));return T(e,n)};function T(t,n=5){const c=t.length;if(c<=n){return t}const e=Math.min(c-2,n-2);const o=(c-1)/(e+1);return[t[0],...Array.from({length:e},((n,c)=>t[Math.round((c+1)*o)])),t[c-1]]}async function G(n){const{debug:c,groupDateRange:e,hooks:o,startDate:r,dateEngine:a}={...s,...n};const i=[];if(!a){throw new Error("dateEngine is required")}const u=t.map((t=>({label:t})));o?.onBeforeTimeZoneMetadataCreate?.(u);const T=l(u,r,e,a,c);o?.onTimeZoneMetadataCreate?.(T);for(const t of T){const{label:n,continent:c,dates:e}=t;if(t.visited){continue}t.visited=true;const s={labelTzIndices:undefined,tzs:[{label:n}]};o?.onGroupCreate?.(s,t);for(const t of T.filter((t=>!t.visited))){const{label:n,continent:r,isRegularContinent:i,dates:u}=t;if((c===r||!i)&&E(e,u,a)){const c={label:n};s.tzs.push(c);o?.onGroupTimeZoneAdd?.(s,c,t);t.visited=true}}i.push(s);o?.onGroupAdd?.(s)}const G=i.map((t=>{o?.onBeforeFinalGroupCreate?.(t);t.tzs=t.tzs.sort(((t,n)=>t.label.localeCompare(n.label)));const n={labelTzIndices:M(t.tzs,7),tzs:t.tzs.map((t=>t.label))};o?.onFinalGroupCreate?.(n,t);return n})).sort(((t,n)=>n.tzs.length-t.tzs.length));if(c){const n=t.map((t=>G.some((n=>n.tzs.includes(t)))?null:t)).filter(Boolean);if(n.length>0){throw new Error(`There are ${n.length} missing timezones: ${n.toString()}`)}}return o?.onFinalGroupingCreate?o.onFinalGroupingCreate(G):G}export{G as groupTimeZones};
|
|
7
|
+
//# sourceMappingURL=p-87e00193.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{d as e}from"./p-9229616c.js";import"./p-e48d006d.js";import"./p-8356a697.js";import"./p-99726b90.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";import"./p-ae04d854.js";import"./p-c5966b3e.js";import"./p-70c530fa.js";import"./p-9e5dd305.js";import"./p-ae81e665.js";import"./p-bf0746a3.js";import"./p-8e3a4720.js";import"./p-2fec90cc.js";import"./p-94138947.js";import"./p-0592bb74.js";import"./p-dd1ec8aa.js";import"./p-effbb31d.js";import"./p-c6f9db24.js";var o={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function e(o){return o+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(o,null,true);export{o as default};
|
|
7
|
+
//# sourceMappingURL=p-8a489084.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
import{d as _}from"./p-9229616c.js";import"./p-e48d006d.js";import"./p-8356a697.js";import"./p-99726b90.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";import"./p-ae04d854.js";import"./p-c5966b3e.js";import"./p-70c530fa.js";import"./p-9e5dd305.js";import"./p-ae81e665.js";import"./p-bf0746a3.js";import"./p-8e3a4720.js";import"./p-2fec90cc.js";import"./p-94138947.js";import"./p-0592bb74.js";import"./p-dd1ec8aa.js";import"./p-effbb31d.js";import"./p-c6f9db24.js";var r="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_");var t="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_");var p=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function m(_,r){var t=_.split("_");return r%10===1&&r%100!==11?t[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?t[1]:t[2]}function e(_,r,t){var p={ss:r?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:r?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:r?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};if(t==="m"){return r?"хвилина":"хвилину"}else if(t==="h"){return r?"година":"годину"}return _+" "+m(p[t],+_)}var s=function _(m,e){if(p.test(e)){return r[m.month()]}return t[m.month()]};s.s=t;s.f=r;var o={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:e,mm:e,h:e,hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},ordinal:function _(r){return 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"}};_.locale(o,null,true);export{o as default};
|
|
7
|
+
//# sourceMappingURL=p-8a5e2f30.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
|
+
*/
|
|
6
|
+
const s="24px";const a="32px";const c="44px";const o="48px";export{s as a,a as b,o as c,c as d};
|
|
7
|
+
//# sourceMappingURL=p-8a92a3ce.js.map
|