@esri/calcite-components 1.8.0 → 1.8.1-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/p-01100e14.entry.js +6 -0
- package/dist/calcite/{p-3016d554.entry.js → p-01354a40.entry.js} +2 -2
- package/dist/calcite/{p-777fc250.entry.js → p-036a9464.entry.js} +2 -2
- package/dist/calcite/{p-fc80fd0c.entry.js → p-05523622.entry.js} +2 -2
- package/dist/calcite/p-09840d11.js +6 -0
- package/dist/calcite/{p-4ac69fa9.entry.js → p-0a820048.entry.js} +2 -2
- package/dist/calcite/{p-5456ac93.js → p-0ba3a8f1.js} +2 -2
- package/dist/calcite/{p-e8956d93.entry.js → p-11b5c9ad.entry.js} +2 -2
- package/dist/calcite/{p-ccb64439.js → p-133f7d98.js} +2 -2
- package/dist/calcite/{p-f0e33a92.entry.js → p-148dc023.entry.js} +2 -2
- package/dist/calcite/{p-136cbd04.entry.js → p-1522bff4.entry.js} +2 -2
- package/dist/calcite/{p-5f05de44.entry.js → p-16b40b0d.entry.js} +2 -2
- package/dist/calcite/{p-54e5b8a5.js → p-17dad290.js} +2 -2
- package/dist/calcite/{p-62f0e667.js → p-18dcbb17.js} +1 -1
- package/dist/calcite/{p-c1dcc159.js → p-1996d296.js} +2 -2
- package/dist/calcite/{p-ced7211a.js → p-1a55b3ae.js} +2 -2
- package/dist/calcite/{p-ff95e457.entry.js → p-1a56e1e4.entry.js} +2 -2
- package/dist/calcite/{p-f8d3e969.js → p-1fd1ff1c.js} +2 -2
- package/dist/calcite/p-2521ec75.entry.js +6 -0
- package/dist/calcite/{p-b0ba8b2d.js → p-2650f85d.js} +2 -2
- package/dist/calcite/{p-06263d7d.entry.js → p-26c02004.entry.js} +2 -2
- package/dist/calcite/{p-9aea502a.js → p-270607ff.js} +2 -2
- package/dist/calcite/{p-5f6a02b7.js → p-2732faad.js} +2 -2
- package/dist/calcite/{p-9ab1ffb3.js → p-27d8e63c.js} +2 -2
- package/dist/calcite/{p-71e6d9c0.js → p-2a10b155.js} +2 -2
- package/dist/calcite/p-2a7a6ac4.js +6 -0
- package/dist/calcite/{p-77cdbef2.entry.js → p-2e038a41.entry.js} +2 -2
- package/dist/calcite/{p-b96e7507.js → p-2e6b02ff.js} +2 -2
- package/dist/calcite/{p-4ca5e599.js → p-318eab69.js} +2 -2
- package/dist/calcite/{p-010a3ce5.js → p-31b25d29.js} +2 -2
- package/dist/calcite/{p-84f6cc7a.entry.js → p-3302b51f.entry.js} +2 -2
- package/dist/calcite/{p-fd1cdef4.js → p-330790de.js} +2 -2
- package/dist/calcite/{p-61f4bbba.js → p-33c8c2ac.js} +2 -2
- package/dist/calcite/{p-ceeae984.entry.js → p-358cb4d6.entry.js} +2 -2
- package/dist/calcite/{p-48c01530.js → p-35a85805.js} +1 -1
- package/dist/calcite/{p-64e05331.entry.js → p-36be206d.entry.js} +2 -2
- package/dist/calcite/{p-91ec4d13.js → p-37ff56b1.js} +1 -1
- package/dist/calcite/{p-92667410.js → p-3848fc0e.js} +1 -1
- package/dist/calcite/{p-6f2df5d5.js → p-3a058505.js} +2 -2
- package/dist/calcite/{p-6263a3cc.entry.js → p-3a3e186b.entry.js} +2 -2
- package/dist/calcite/{p-d8e6a60c.entry.js → p-3abb28a9.entry.js} +2 -2
- package/dist/calcite/{p-b272182f.js → p-3bbff05c.js} +1 -1
- package/dist/calcite/{p-37956698.js → p-3d588e06.js} +2 -2
- package/dist/calcite/{p-0818e050.js → p-3def5979.js} +2 -2
- package/dist/calcite/{p-f80f71ef.entry.js → p-3e485505.entry.js} +2 -2
- package/dist/calcite/{p-8a23c465.js → p-3fabf579.js} +1 -1
- package/dist/calcite/{p-9a181249.js → p-3fcc1b1a.js} +2 -2
- package/dist/calcite/{p-71a62439.js → p-42295d64.js} +2 -2
- package/dist/calcite/{p-b0b556eb.entry.js → p-4345804c.entry.js} +2 -2
- package/dist/calcite/{p-b5a92732.js → p-44a3afdc.js} +2 -2
- package/dist/calcite/{p-ed53d421.js → p-44b256cf.js} +2 -2
- package/dist/calcite/p-46b0da9e.entry.js +6 -0
- package/dist/calcite/{p-d515a97d.entry.js → p-4716e135.entry.js} +2 -2
- package/dist/calcite/{p-0ffc38cc.entry.js → p-48e261ff.entry.js} +2 -2
- package/dist/calcite/{p-c6f96874.js → p-4bd40c2b.js} +2 -2
- package/dist/calcite/{p-78cd2317.entry.js → p-4fba2dd4.entry.js} +2 -2
- package/dist/calcite/{p-be75ec44.js → p-52351f05.js} +2 -2
- package/dist/calcite/{p-593e9704.js → p-525cbf29.js} +1 -1
- package/dist/calcite/{p-9ff306fb.entry.js → p-5379ce8d.entry.js} +2 -2
- package/dist/calcite/{p-7074ea3a.entry.js → p-565fe336.entry.js} +2 -2
- package/dist/calcite/{p-13e5ac45.entry.js → p-56ce9e08.entry.js} +2 -2
- package/dist/calcite/{p-36862740.js → p-5a1f412c.js} +1 -1
- package/dist/calcite/{p-d4e83769.js → p-5a8cf097.js} +2 -2
- package/dist/calcite/{p-74fad121.js → p-5c0a7600.js} +2 -2
- package/dist/calcite/{p-964ebff9.entry.js → p-5d514c6a.entry.js} +2 -2
- package/dist/calcite/{p-f4157460.entry.js → p-5dcd7766.entry.js} +2 -2
- package/dist/calcite/{p-b3c0882d.entry.js → p-5f2b9b57.entry.js} +2 -2
- package/dist/calcite/{p-bbb5e763.js → p-5f8c75ad.js} +2 -2
- package/dist/calcite/{p-1bbd222d.js → p-61adb0ca.js} +2 -2
- package/dist/calcite/{p-6ec540cc.entry.js → p-63cdb893.entry.js} +2 -2
- package/dist/calcite/{p-47e8d46c.js → p-640b775d.js} +2 -2
- package/dist/calcite/{p-fa23bdb3.js → p-641025cb.js} +2 -2
- package/dist/calcite/{p-a48cbcc5.js → p-66962194.js} +2 -2
- package/dist/calcite/p-6bad2d5a.entry.js +6 -0
- package/dist/calcite/{p-857c9a68.entry.js → p-6c148467.entry.js} +2 -2
- package/dist/calcite/{p-f89a17aa.js → p-6ce60128.js} +2 -2
- package/dist/calcite/{p-ba392a64.entry.js → p-6d25389b.entry.js} +2 -2
- package/dist/calcite/{p-07b61595.js → p-6d6b5052.js} +2 -2
- package/dist/calcite/{p-0fda87f0.js → p-6e55bdf6.js} +2 -2
- package/dist/calcite/{p-85ebc9fc.entry.js → p-6ec963e4.entry.js} +2 -2
- package/dist/calcite/{p-c3adccae.entry.js → p-7100324a.entry.js} +2 -2
- package/dist/calcite/{p-b9136834.entry.js → p-7101f24b.entry.js} +2 -2
- package/dist/calcite/{p-c7ea7404.entry.js → p-73f5af8c.entry.js} +2 -2
- package/dist/calcite/{p-1beae67f.js → p-74f995e3.js} +2 -2
- package/dist/calcite/{p-db2946ad.js → p-75261fbc.js} +2 -2
- package/dist/calcite/{p-b1b6cc08.js → p-77b9326c.js} +2 -2
- package/dist/calcite/{p-0c468713.entry.js → p-78e14925.entry.js} +2 -2
- package/dist/calcite/{p-2892b8df.entry.js → p-7ec5cfe1.entry.js} +2 -2
- package/dist/calcite/{p-fcbf45c8.js → p-7fbdd594.js} +2 -2
- package/dist/calcite/{p-eb1ea915.js → p-8171f48f.js} +2 -2
- package/dist/calcite/{p-a53d8b42.entry.js → p-820de82c.entry.js} +2 -2
- package/dist/calcite/{p-37ac0fe2.entry.js → p-842efd5d.entry.js} +2 -2
- package/dist/calcite/{p-bdab2827.entry.js → p-8542b782.entry.js} +2 -2
- package/dist/calcite/{p-a169a829.js → p-87753227.js} +2 -2
- package/dist/calcite/p-8aa9e747.entry.js +6 -0
- package/dist/calcite/{p-a6db4128.entry.js → p-8bf0f3db.entry.js} +2 -2
- package/dist/calcite/{p-9554068f.js → p-8d9d1628.js} +1 -1
- package/dist/calcite/{p-5db3ce8d.js → p-90a599ca.js} +2 -2
- package/dist/calcite/{p-bb1433d7.js → p-90dda697.js} +2 -2
- package/dist/calcite/{p-5f56ab0e.js → p-91b9baec.js} +1 -1
- package/dist/calcite/p-924cc40e.entry.js +6 -0
- package/dist/calcite/{p-8208c1d3.js → p-94ba2959.js} +2 -2
- package/dist/calcite/{p-53b66033.js → p-96773fa2.js} +3 -3
- package/dist/calcite/{p-2e7e7843.js → p-97109558.js} +1 -1
- package/dist/calcite/{p-349ad3f8.js → p-993cb6c9.js} +1 -1
- package/dist/calcite/{p-f2b03d30.js → p-99b5fe87.js} +2 -2
- package/dist/calcite/{p-e8aff0fe.entry.js → p-9a3bac05.entry.js} +2 -2
- package/dist/calcite/{p-c310270d.js → p-9a5905d1.js} +2 -2
- package/dist/calcite/{p-970b2c15.entry.js → p-9b4f5360.entry.js} +2 -2
- package/dist/calcite/{p-def1aaf7.js → p-9bd04d11.js} +2 -2
- package/dist/calcite/{p-aff54c4b.entry.js → p-9d2c7944.entry.js} +2 -2
- package/dist/calcite/{p-1771ef94.js → p-9f008632.js} +2 -2
- package/dist/calcite/{p-08e4a737.js → p-9f3a4f25.js} +2 -2
- package/dist/calcite/{p-4bf2bbde.js → p-a2110d2a.js} +2 -2
- package/dist/calcite/{p-2ef96413.entry.js → p-a2b766e2.entry.js} +2 -2
- package/dist/calcite/{p-0441fff3.entry.js → p-a41817f2.entry.js} +2 -2
- package/dist/calcite/{p-984de672.entry.js → p-a435ed42.entry.js} +2 -2
- package/dist/calcite/{p-cefe626e.js → p-a73b0856.js} +2 -2
- package/dist/calcite/{p-a9d6680d.entry.js → p-a752b353.entry.js} +2 -2
- package/dist/calcite/{p-9e40bb67.js → p-a9593306.js} +1 -1
- package/dist/calcite/{p-f57875b0.entry.js → p-ade28cae.entry.js} +2 -2
- package/dist/calcite/p-afc474df.entry.js +6 -0
- package/dist/calcite/{p-cc499d66.js → p-b08d1666.js} +2 -2
- package/dist/calcite/{p-2a9288a3.js → p-b29d2b19.js} +2 -2
- package/dist/calcite/{p-674260ff.entry.js → p-b474b794.entry.js} +2 -2
- package/dist/calcite/{p-e9f48218.entry.js → p-b93d52ec.entry.js} +2 -2
- package/dist/calcite/{p-484a6ecd.js → p-bad561c5.js} +2 -2
- package/dist/calcite/{p-a0657dc4.js → p-bbef93e1.js} +2 -2
- package/dist/calcite/{p-a40155f1.js → p-bc272862.js} +2 -2
- package/dist/calcite/{p-b20009dc.js → p-bc380a9f.js} +1 -1
- package/dist/calcite/{p-b61a72de.js → p-bd2818d7.js} +2 -2
- package/dist/calcite/{p-a8e035e9.js → p-be02faa2.js} +2 -2
- package/dist/calcite/{p-d10f6c37.js → p-be252232.js} +1 -1
- package/dist/calcite/{p-b4e5febe.js → p-c7ca8058.js} +1 -1
- package/dist/calcite/{p-38cce385.entry.js → p-cc337cbb.entry.js} +2 -2
- package/dist/calcite/{p-1a4dd781.entry.js → p-cf95e830.entry.js} +2 -2
- package/dist/calcite/{p-cb235674.js → p-d2ac1730.js} +2 -2
- package/dist/calcite/{p-2fa294ff.entry.js → p-d50624b2.entry.js} +2 -2
- package/dist/calcite/{p-8c99ec03.entry.js → p-e01e7e4b.entry.js} +2 -2
- package/dist/calcite/{p-f994dea9.entry.js → p-e45d9be1.entry.js} +2 -2
- package/dist/calcite/{p-825d267b.entry.js → p-e4afebec.entry.js} +2 -2
- package/dist/calcite/p-e8ab6202.js +6 -0
- package/dist/calcite/{p-883d4a81.js → p-e9592b4a.js} +2 -2
- package/dist/calcite/{p-0721a070.entry.js → p-eac2018c.entry.js} +2 -2
- package/dist/calcite/{p-2c036a90.js → p-ed30afd0.js} +2 -2
- package/dist/calcite/{p-23fefff0.js → p-eecedf24.js} +2 -2
- package/dist/calcite/{p-e193eaac.js → p-eef4900f.js} +2 -2
- package/dist/calcite/{p-11397c60.entry.js → p-f01cb3f3.entry.js} +2 -2
- package/dist/calcite/{p-59945e49.js → p-f1d39389.js} +2 -2
- package/dist/calcite/{p-bad907bc.entry.js → p-f34e7eed.entry.js} +2 -2
- package/dist/calcite/p-f5badc40.entry.js +6 -0
- package/dist/calcite/{p-a01205d6.js → p-f73ffe27.js} +2 -2
- package/dist/calcite/{p-e5ab95fe.entry.js → p-fa060a2b.entry.js} +2 -2
- package/dist/calcite/{p-855ab7e4.entry.js → p-fb49e31c.entry.js} +2 -2
- package/dist/calcite/p-fb5d3d06.entry.js +6 -0
- package/dist/calcite/{p-07fe7205.entry.js → p-ff529d20.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-65783100.js → ExpandToggle-50c1ef25.js} +5 -5
- package/dist/cjs/{FloatingArrow-5b9108b0.js → FloatingArrow-e828b946.js} +2 -2
- package/dist/cjs/{Heading-cc33c391.js → Heading-2ab8477b.js} +2 -2
- package/dist/cjs/{app-globals-3ffe73ab.js → app-globals-2699bd64.js} +2 -2
- package/dist/cjs/{ar-97976ac7.js → ar-10beb127.js} +17 -17
- package/dist/cjs/{array-3a6ffab1.js → array-640b95a5.js} +1 -1
- package/dist/cjs/{bg-4746b592.js → bg-4f9bd69c.js} +17 -17
- package/dist/cjs/{browser-4b414e47.js → browser-c0105078.js} +1 -1
- package/dist/cjs/{bs-4666e5f6.js → bs-60c8a8cd.js} +17 -17
- package/dist/cjs/{ca-d4192420.js → ca-c2f6d6f0.js} +17 -17
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +25 -33
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-ab292d66.js → calcite-input-time-picker.calcite-time-picker-391991de.js} +61 -61
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-46000414.js → conditionalSlot-c803da5b.js} +3 -3
- package/dist/cjs/{cs-ae3a7243.js → cs-323b50e9.js} +17 -17
- package/dist/cjs/{da-cbc17c28.js → da-4648e818.js} +17 -17
- package/dist/cjs/{de-at-62e039d2.js → de-at-f045a250.js} +17 -17
- package/dist/cjs/{de-522a0cc6.js → de-bfdc6060.js} +17 -17
- package/dist/cjs/{de-ch-abd81f24.js → de-ch-6ecd068a.js} +17 -17
- package/dist/cjs/{debounce-a9edc4d8.js → debounce-89139c07.js} +1 -1
- package/dist/cjs/{dom-9979fb41.js → dom-6865092a.js} +3 -3
- package/dist/cjs/{el-74aaa2d5.js → el-fd9145c4.js} +17 -17
- package/dist/cjs/{en-au-3dc4b8f2.js → en-au-3930e312.js} +17 -17
- package/dist/cjs/{en-ca-50b6caa0.js → en-ca-d5a811a0.js} +17 -17
- package/dist/cjs/{en-gb-520d2783.js → en-gb-25227a52.js} +17 -17
- package/dist/cjs/{es-a9564b6c.js → es-08294fc6.js} +17 -17
- package/dist/cjs/{es-mx-c184b261.js → es-mx-dcc4fcb8.js} +17 -17
- package/dist/cjs/{et-56117848.js → et-d1f54ccf.js} +17 -17
- package/dist/cjs/{fi-5582d366.js → fi-2aa69fe9.js} +17 -17
- package/dist/cjs/{filter-14fc3c28.js → filter-f7bf7743.js} +2 -2
- package/dist/cjs/{floating-ui-4a9eec97.js → floating-ui-04ac9938.js} +3 -3
- package/dist/cjs/{focusTrapComponent-e6c10d8e.js → focusTrapComponent-8c3e493c.js} +2 -2
- package/dist/cjs/{form-1398d7a0.js → form-1e99fca5.js} +3 -3
- package/dist/cjs/{fr-a9d96fce.js → fr-90f204f7.js} +17 -17
- package/dist/cjs/{fr-ch-5f0d3354.js → fr-ch-70bcfd49.js} +17 -17
- package/dist/cjs/{guid-c15e3062.js → guid-0b3d8460.js} +1 -1
- package/dist/cjs/{he-c2a00064.js → he-d01e0fb6.js} +17 -17
- package/dist/cjs/{hi-572b66b6.js → hi-5d398d31.js} +17 -17
- package/dist/cjs/{hr-af1039ab.js → hr-03df2b20.js} +17 -17
- package/dist/cjs/{hu-011ab7e9.js → hu-812e8771.js} +17 -17
- package/dist/cjs/{id-e8ddc09a.js → id-bd43384a.js} +17 -17
- package/dist/cjs/{index-87ea969e.js → index-acc8e5b3.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-5ba8516a.js → interactive-ace64114.js} +2 -2
- package/dist/cjs/{it-04b79e75.js → it-99f5408c.js} +17 -17
- package/dist/cjs/{it-ch-6abde76d.js → it-ch-a3c1cfae.js} +17 -17
- package/dist/cjs/{ja-58b6932f.js → ja-2da40d87.js} +17 -17
- package/dist/cjs/{key-2c57c89b.js → key-9c60a28c.js} +1 -1
- package/dist/cjs/{ko-98251438.js → ko-54e3dd92.js} +17 -17
- package/dist/cjs/{label-75f6d1ae.js → label-4800922e.js} +2 -2
- package/dist/cjs/{loadable-43262b0c.js → loadable-5231d6da.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-1975c3e6.js → locale-662628f2.js} +4 -4
- package/dist/cjs/{lt-01ad1f2e.js → lt-0d1fddaa.js} +17 -17
- package/dist/cjs/{lv-a74983d6.js → lv-1230179e.js} +17 -17
- package/dist/cjs/{math-46f2df97.js → math-bd6dcd65.js} +1 -1
- package/dist/cjs/{mk-9b70e9b2.js → mk-088a9a1a.js} +17 -17
- package/dist/cjs/{nb-08bd6e17.js → nb-1770911b.js} +17 -17
- package/dist/cjs/{nl-9d6c092b.js → nl-54e85d48.js} +17 -17
- package/dist/cjs/{observers-a2d49a9d.js → observers-04bb482e.js} +1 -1
- package/dist/cjs/{openCloseComponent-4734be6e.js → openCloseComponent-f3705a03.js} +2 -2
- package/dist/cjs/{pl-1a742e77.js → pl-742f5aa5.js} +17 -17
- package/dist/cjs/{pt-8c16c923.js → pt-1971c523.js} +17 -17
- package/dist/cjs/{pt-br-effec1e7.js → pt-br-418c0c6e.js} +17 -17
- package/dist/cjs/{resources-6c1b1082.js → resources-46683e91.js} +1 -1
- package/dist/cjs/{resources-0a568df9.js → resources-60e58040.js} +1 -1
- package/dist/cjs/{resources-2f4236a8.js → resources-8045b6d3.js} +1 -1
- package/dist/cjs/{resources-7ca18125.js → resources-9aea125f.js} +5 -5
- package/dist/cjs/{resources-a4a845fb.js → resources-b14855bb.js} +1 -1
- package/dist/cjs/{resources-f0c49ccf.js → resources-c8cd6ab8.js} +1 -1
- package/dist/cjs/{resources-d6ee85b5.js → resources-cee328d1.js} +1 -1
- package/dist/cjs/{ro-49a54585.js → ro-4213968f.js} +17 -17
- package/dist/cjs/{ru-4ee656a9.js → ru-9557dba4.js} +17 -17
- package/dist/cjs/{sk-1781afbe.js → sk-0126d637.js} +17 -17
- package/dist/cjs/{sl-cb33fdea.js → sl-ef8adf94.js} +17 -17
- package/dist/cjs/{sortableComponent-783f1e62.js → sortableComponent-703f484f.js} +1 -1
- package/dist/cjs/{sr-b12ace5f.js → sr-8f96e6ed.js} +17 -17
- package/dist/cjs/{sv-71bf1d6a.js → sv-c32c68dc.js} +17 -17
- package/dist/cjs/{t9n-d7a704d1.js → t9n-d6f0b1b5.js} +3 -3
- package/dist/cjs/{th-62937fc7.js → th-75f84d24.js} +17 -17
- package/dist/cjs/{throttle-af79d50f.js → throttle-de884f81.js} +2 -2
- package/dist/cjs/{tr-04848974.js → tr-611559f6.js} +17 -17
- package/dist/cjs/{uk-746aa2ff.js → uk-2729ba52.js} +17 -17
- package/dist/cjs/{utils-bc61c523.js → utils-675a14ec.js} +1 -1
- package/dist/cjs/{utils-3c8ccd67.js → utils-ce16fdbb.js} +3 -3
- package/dist/cjs/{vi-1fa91d12.js → vi-207ff4ee.js} +17 -17
- package/dist/cjs/{zh-cn-85711a52.js → zh-cn-62d4e1ba.js} +17 -17
- package/dist/cjs/{zh-hk-94db032e.js → zh-hk-ab0fbcef.js} +17 -17
- package/dist/cjs/{zh-tw-da6c531a.js → zh-tw-6a53d29e.js} +17 -17
- package/dist/collection/components/accordion/accordion.css +4 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +4 -0
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +4 -0
- 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 +4 -0
- 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 +4 -0
- 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 +4 -0
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +4 -0
- 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 +4 -0
- 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 +4 -0
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +4 -0
- 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 +4 -0
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +4 -0
- 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 +4 -0
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +4 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +4 -0
- 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 +4 -0
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +4 -0
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +4 -0
- 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 +4 -0
- 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 +4 -0
- package/dist/collection/components/combobox/combobox.js +6 -14
- 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 +4 -0
- 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 +12 -0
- 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 +4 -0
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +4 -0
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +4 -0
- 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 +4 -0
- 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 +4 -0
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +4 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +4 -0
- 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 +4 -0
- 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 +4 -0
- 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 +4 -0
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +4 -0
- 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 +4 -0
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +4 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +4 -0
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +4 -0
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +4 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +4 -0
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +4 -0
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +4 -0
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +4 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +4 -0
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +4 -0
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +4 -0
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +4 -0
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +4 -0
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +4 -0
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +4 -0
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +4 -0
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +4 -0
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +4 -0
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +4 -0
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +4 -0
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +4 -0
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +4 -0
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +4 -0
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +4 -0
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +4 -0
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +4 -0
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +4 -0
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +4 -0
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +4 -0
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +4 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +4 -0
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +4 -0
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +4 -0
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +4 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.css +4 -0
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +4 -0
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +4 -0
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +4 -0
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +4 -0
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +4 -0
- 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 +4 -0
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +4 -0
- 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 +4 -0
- 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 +4 -0
- 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 +4 -0
- 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 +4 -0
- 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 +4 -0
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.css +4 -0
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +4 -0
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +4 -0
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.css +4 -0
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +4 -0
- 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 +4 -0
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +4 -0
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +4 -0
- 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 +4 -0
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/table-row.css +4 -0
- 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 +4 -0
- 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 +4 -0
- 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 +4 -0
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +4 -0
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +4 -0
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +4 -0
- 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 +4 -0
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +4 -0
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +4 -0
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +4 -0
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +4 -0
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +4 -0
- 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 +4 -0
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +4 -0
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +33 -0
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-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 +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +6 -14
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/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/tile.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 +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-ba89f8f8.js → ExpandToggle-74d205f9.js} +5 -5
- package/dist/esm/{FloatingArrow-2468a9d9.js → FloatingArrow-9a781735.js} +2 -2
- package/dist/esm/{Heading-aa0d0c17.js → Heading-d2992050.js} +2 -2
- package/dist/esm/{app-globals-ae07dde8.js → app-globals-a22fddac.js} +2 -2
- package/dist/esm/{ar-6a3de9a1.js → ar-1fba145d.js} +17 -17
- package/dist/esm/{array-9d62235a.js → array-754cfc72.js} +1 -1
- package/dist/esm/{bg-0a1c23cf.js → bg-20483814.js} +17 -17
- package/dist/esm/{browser-689f2af5.js → browser-e447fa36.js} +1 -1
- package/dist/esm/{bs-94234e13.js → bs-afe811db.js} +17 -17
- package/dist/esm/{ca-15e9c857.js → ca-591dba12.js} +17 -17
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +14 -14
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +25 -33
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +14 -14
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +19 -19
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-403f5a6f.js → calcite-input-time-picker.calcite-time-picker-bcf5ada8.js} +61 -61
- package/dist/esm/calcite-input-time-picker_2.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +12 -12
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-1769401e.js → conditionalSlot-5e5ec02e.js} +3 -3
- package/dist/esm/{cs-f3b4bef3.js → cs-6684c21b.js} +17 -17
- package/dist/esm/{da-850f2489.js → da-6a68ac5a.js} +17 -17
- package/dist/esm/{de-8a3aa705.js → de-38b74d29.js} +17 -17
- package/dist/esm/{de-at-4e28c72c.js → de-at-2cab8e5e.js} +17 -17
- package/dist/esm/{de-ch-510f5e87.js → de-ch-76b947e0.js} +17 -17
- package/dist/esm/{debounce-a3648c49.js → debounce-394566aa.js} +1 -1
- package/dist/esm/{dom-32bdb50b.js → dom-d05da0bb.js} +3 -3
- package/dist/esm/{el-f83c55e3.js → el-6ed31c5a.js} +17 -17
- package/dist/esm/{en-au-3c936d0c.js → en-au-cd64de04.js} +17 -17
- package/dist/esm/{en-ca-760f3687.js → en-ca-0f7ff616.js} +17 -17
- package/dist/esm/{en-gb-1a165558.js → en-gb-cfe0c636.js} +17 -17
- package/dist/esm/{es-da85faf4.js → es-5e590e93.js} +17 -17
- package/dist/esm/{es-mx-ed189da1.js → es-mx-b7f640f0.js} +17 -17
- package/dist/esm/{et-60c03682.js → et-c37650a6.js} +17 -17
- package/dist/esm/{fi-22a814c2.js → fi-6ca77d64.js} +17 -17
- package/dist/esm/{filter-f0e2d06b.js → filter-e0560373.js} +2 -2
- package/dist/esm/{floating-ui-f21e3f38.js → floating-ui-2673fc3f.js} +3 -3
- package/dist/esm/{focusTrapComponent-c6e1aaff.js → focusTrapComponent-af1dc8d0.js} +2 -2
- package/dist/esm/{form-20239525.js → form-5755e430.js} +3 -3
- package/dist/esm/{fr-85b6e53a.js → fr-2054b04b.js} +17 -17
- package/dist/esm/{fr-ch-79a3b2b2.js → fr-ch-565c5175.js} +17 -17
- package/dist/esm/{guid-2a8131ea.js → guid-f2992f60.js} +1 -1
- package/dist/esm/{he-dd773a70.js → he-237fbd95.js} +17 -17
- package/dist/esm/{hi-270d9b2e.js → hi-4f7e9c51.js} +17 -17
- package/dist/esm/{hr-3ba6f1d4.js → hr-aa98bbae.js} +17 -17
- package/dist/esm/{hu-0c2dc20a.js → hu-2afd683f.js} +17 -17
- package/dist/esm/{id-e9d1b855.js → id-b3603bf2.js} +17 -17
- package/dist/esm/{index-ae8503a2.js → index-390a3ecf.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-c790e261.js → interactive-28fec378.js} +2 -2
- package/dist/esm/{it-49bebba7.js → it-a982262a.js} +17 -17
- package/dist/esm/{it-ch-0491501c.js → it-ch-f447f97b.js} +17 -17
- package/dist/esm/{ja-b28dd757.js → ja-575a3b6b.js} +17 -17
- package/dist/esm/{key-d353e9d1.js → key-5a8380df.js} +1 -1
- package/dist/esm/{ko-8143f219.js → ko-f1d314d2.js} +17 -17
- package/dist/esm/{label-cdf7ee61.js → label-fe5fa255.js} +2 -2
- package/dist/esm/{loadable-d2f19cec.js → loadable-6c96fed1.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-2c050f01.js → locale-5567c974.js} +4 -4
- package/dist/esm/{lt-a5d9cae8.js → lt-c552da6b.js} +17 -17
- package/dist/esm/{lv-9cad463f.js → lv-7b0983ef.js} +17 -17
- package/dist/esm/{math-f364afab.js → math-649d5537.js} +1 -1
- package/dist/esm/{mk-317e7de2.js → mk-d4915790.js} +17 -17
- package/dist/esm/{nb-da12d22c.js → nb-8b5824d6.js} +17 -17
- package/dist/esm/{nl-52389be4.js → nl-fd23e826.js} +17 -17
- package/dist/esm/{observers-88ad66e4.js → observers-61c59502.js} +1 -1
- package/dist/esm/{openCloseComponent-f9000b63.js → openCloseComponent-ac9581f8.js} +2 -2
- package/dist/esm/{pl-96091f70.js → pl-c81c7255.js} +17 -17
- package/dist/esm/{pt-4ecf1497.js → pt-40723329.js} +17 -17
- package/dist/esm/{pt-br-ea64fe10.js → pt-br-55adb286.js} +17 -17
- package/dist/esm/{resources-f15e88b4.js → resources-18000e52.js} +1 -1
- package/dist/esm/{resources-389803a4.js → resources-36a28b4a.js} +1 -1
- package/dist/esm/{resources-29c98e1b.js → resources-39085f24.js} +1 -1
- package/dist/esm/{resources-dda3f237.js → resources-6b5815fd.js} +1 -1
- package/dist/esm/{resources-b225a029.js → resources-8085dec2.js} +5 -5
- package/dist/esm/{resources-fb067fb2.js → resources-c0cca8c9.js} +1 -1
- package/dist/esm/{resources-64cb892c.js → resources-ed95bdf4.js} +1 -1
- package/dist/esm/{ro-2b8423c1.js → ro-0c42d01a.js} +17 -17
- package/dist/esm/{ru-cb44afb9.js → ru-5dca6013.js} +17 -17
- package/dist/esm/{sk-8d8d8235.js → sk-1b034078.js} +17 -17
- package/dist/esm/{sl-dcc4e0e8.js → sl-879c5db7.js} +17 -17
- package/dist/esm/{sortableComponent-52fbec57.js → sortableComponent-640ed897.js} +1 -1
- package/dist/esm/{sr-963da802.js → sr-dd22629c.js} +17 -17
- package/dist/esm/{sv-3a956185.js → sv-a75fd7f6.js} +17 -17
- package/dist/esm/{t9n-ae6e1b73.js → t9n-5f2956bc.js} +3 -3
- package/dist/esm/{th-15ef6af5.js → th-f69f3d35.js} +17 -17
- package/dist/esm/{throttle-de33bfa2.js → throttle-644b0455.js} +2 -2
- package/dist/esm/{tr-ff6c1bda.js → tr-7a6e7ffc.js} +17 -17
- package/dist/esm/{uk-b4153689.js → uk-a5e9d184.js} +17 -17
- package/dist/esm/{utils-cce2294a.js → utils-42d66320.js} +1 -1
- package/dist/esm/{utils-dd05c44f.js → utils-f6616a07.js} +3 -3
- package/dist/esm/{vi-36ca6ba2.js → vi-1f8953b7.js} +17 -17
- package/dist/esm/{zh-cn-b01fc160.js → zh-cn-5a3ef0c6.js} +17 -17
- package/dist/esm/{zh-hk-da89cd3c.js → zh-hk-b8ac459a.js} +17 -17
- package/dist/esm/{zh-tw-52d2a8db.js → zh-tw-991f1e07.js} +17 -17
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/combobox/combobox.d.ts +1 -1
- package/dist/types/utils/responsive.d.ts +15 -0
- package/hydrate/index.js +7 -15
- package/package.json +2 -2
- package/dist/calcite/p-039768a2.entry.js +0 -6
- package/dist/calcite/p-126001dc.entry.js +0 -6
- package/dist/calcite/p-240cb709.entry.js +0 -6
- package/dist/calcite/p-2d9155bb.entry.js +0 -6
- package/dist/calcite/p-3c2ab980.entry.js +0 -6
- package/dist/calcite/p-4ae6ae4c.js +0 -6
- package/dist/calcite/p-6e3502d9.entry.js +0 -6
- package/dist/calcite/p-84f2de26.js +0 -6
- package/dist/calcite/p-cb8121ca.js +0 -6
- package/dist/calcite/p-cfd18aa8.entry.js +0 -6
- package/dist/calcite/p-d0883f00.entry.js +0 -6
- package/dist/calcite/p-e059356b.entry.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as s,a as o,F as n}from"./p-5f56ab0e.js";import{z as a,l as c,g as r,A as l,B as h,t as d}from"./p-53b66033.js";import{g as b}from"./p-593e9704.js";import{c as u}from"./p-9554068f.js";import{c as p,d as m,u as v}from"./p-ccb64439.js";import{c as g,d as f}from"./p-a48cbcc5.js";import{c as x,d as k,s as y,u as T}from"./p-cb8121ca.js";import"./p-48c01530.js";import"./p-b20009dc.js";import"./p-349ad3f8.js";const w=class{constructor(i){t(this,i),this.calciteInternalTabRegister=e(this,"calciteInternalTabRegister",6),this.guid=`calcite-tab-title-${b()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return i(s,{"aria-labelledby":this.labeledBy,id:this.el.id||this.guid},i("div",{class:"container",role:"tabpanel",tabIndex:this.selected?0:-1},i("section",null,i("slot",null))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}componentWillRender(){this.scale=this.parentTabsEl?.scale}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(a(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 o(this)}};w.style=":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}section,.container{display:none;block-size:100%;inline-size:100%}:host([scale=s]){padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-block:13px}:host([hidden]){display:none}[hidden]{display:none}";const z=class{constructor(i){t(this,i),this.calciteTabChange=e(this,"calciteTabChange",6),this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6),this.animationActiveDuration=.3,this.resizeObserver=u("resize",(()=>{this.activeIndicatorEl&&(this.activeIndicatorEl.style.transitionDuration="0s",this.updateActiveWidth(),this.updateOffsetPosition())})),this.handleTabFocus=(t,e,i)=>{c(this.enabledTabTitles,e,i),t.stopPropagation()},this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateOffsetPosition()},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.indicatorOffset=void 0,this.indicatorWidth=void 0,this.selectedTabId=void 0}async selectedTabIdChanged(){localStorage&&this.storageId&&null!=this.selectedTabId&&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.updateOffsetPosition(),this.updateActiveWidth(),this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs"),this.resizeObserver?.observe(this.el)}disconnectedCallback(){this.resizeObserver?.disconnect()}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}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout,this.position=t?.position,this.scale=t?.scale,this.bordered=t?.bordered,this.selectedTitle&&this.updateOffsetPosition()}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}render(){const t=r(this.el),e=`${this.indicatorWidth}px`,o=`${this.indicatorOffset}px`,n="rtl"!==t?{width:e,left:o}:{width:e,right:o};return i(s,{role:"tablist"},i("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},i("slot",null),i("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},i("div",{class:"tab-nav-active-indicator",style:n,ref:t=>this.activeIndicatorEl=t}))))}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){this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target),t.stopPropagation()}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail)}globalInternalTabChangeHandler(t){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.updateActiveWidth()}updateOffsetPosition(){const t=r(this.el),e=this.activeIndicatorContainerEl?.offsetWidth,i=this.selectedTitle?.offsetLeft,s=this.selectedTitle?.offsetWidth;this.indicatorOffset="rtl"!==t?i-this.tabNavEl?.scrollLeft:e-(i+s)+this.tabNavEl?.scrollLeft}updateActiveWidth(){this.indicatorWidth=this.selectedTitle?.offsetWidth}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 l(this.el,"calcite-tab-title")}get enabledTabTitles(){return l(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this,i=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),s=i.length;if(1===s&&e[i[0]].closable)e[i[0]].closable=!1,this.selectedTabId=i[0];else if(s>1){const o=e.findIndex((e=>e===t)),n=i.find((t=>t>o));this.selectedTabId===o&&(this.selectedTabId=n||s-1)}requestAnimationFrame((()=>{this.updateOffsetPosition(),this.updateActiveWidth(),e[this.selectedTabId].focus()}))}get el(){return o(this)}static get watchers(){return{selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"]}}};z.style=":host{position:relative;display:flex}:host([scale=s]){min-block-size:1.5rem}:host([scale=m]){min-block-size:2rem}:host([scale=l]){min-block-size:2.75rem}.tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}.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-ui-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)}:host([layout=center]) .tab-nav{justify-content:space-evenly}: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 C="close-button",I="calcite-tab-title--icon",A=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=u("mutation",(()=>this.updateHasText())),this.resizeObserver=u("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${b()}`,this.selected=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.layout=void 0,this.position=void 0,this.scale=void 0,this.bordered=!1,this.tab=void 0,this.messages=void 0,this.messageOverrides=void 0,this.controls=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1}selectedHandler(){this.selected&&this.emitActiveTab(!1)}onMessagesChange(){}connectedCallback(){p(this),g(this),x(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(),m(this),f(this),k(this)}async componentWillLoad(){await y(this),this.updateHasText(),this.tab&&this.selected&&this.emitActiveTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.position=this.parentTabsEl.position,this.scale=this.parentTabsEl.scale,this.bordered=this.parentTabsEl.bordered),!this.parentTabsEl&&this.parentTabNavEl&&(this.position=h(this.parentTabNavEl,"position",this.position),this.scale=h(this.parentTabNavEl,"scale",this.scale))}render(){const{el:t,closed:e}=this,o=t.id||this.guid,n=i("calcite-icon",{class:{[I]:!0,"icon-start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"}),a=i("calcite-icon",{class:{[I]:!0,"icon-end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"l"===this.scale?"m":"s"});return i(s,{"aria-controls":this.controls,"aria-selected":d(this.selected),id:o,role:"tab",tabIndex:this.selected?0:-1},i("div",{class:{container:!0,"icon-present":!!this.iconStart||!!this.iconEnd},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{class:{content:!0,"content--has-text":this.hasText}},this.iconStart?n:null,i("slot",null),this.iconEnd?a:null),this.renderCloseButton()))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:C,disabled:!1,key:C,onClick:this.closeClickHandler,title:e.close,type:"button",ref:t=>this.closeButtonEl=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){v(this,(()=>this.selected))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}onClick(){this.disabled||this.emitActiveTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.emitActiveTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===r(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===r(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit();break;case"Home":t.preventDefault(),this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault(),this.calciteInternalTabsFocusLast.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(a(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}effectiveLocaleChange(){T(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}emitActiveTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px;margin-inline-end:1.25rem}:host([layout=center][scale=s]),:host([layout=center][scale=m]),:host([layout=center][scale=l]){margin-block:0px;text-align:center;margin-inline-end:0px;flex-basis:12rem}:host([layout=center][scale=s]) .content,:host([layout=center][scale=m]) .content,:host([layout=center][scale=l]) .content{margin:auto}:host([layout=center][closable]) .content{padding-inline-start:32px}:host([layout=center][bordered][closable][scale=s]) .content{padding-inline-start:36px}:host([layout=center][bordered][closable][scale=m]) .content{padding-inline-start:40px}:host([layout=center][closable][scale=l]) .content{padding-inline-start:40px}:host([layout=center][closable][bordered][scale=l]) .content{padding-inline-start:52px}: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}.container{outline-color:transparent}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);text-decoration-line:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-ui-text-1)}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){margin-inline-end:1rem}:host([scale=s]) .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){margin-inline-end:1.5rem}:host([scale=l]) .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.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-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}.content{display:flex;align-items:center;justify-content:center}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:all 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;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:calc(100% - 2px);background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}.close-button:focus,.close-button:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}.close-button:active{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-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-ui-foreground-1)}:host([bordered][selected][position=bottom]){box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) .container,:host([bordered]:focus) .container,:host([bordered]:active) .container{position:relative}:host([bordered]:hover) .container{background-color:var(--calcite-button-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]) .content{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}: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-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}:host([bordered]) .content{padding-inline:0.75rem}:host([bordered][scale=s]) .content{padding-inline:0.5rem}:host([bordered][scale=l]) .content{padding-inline:1rem}@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-app-z-index)}}:host([hidden]){display:none}[hidden]{display:none}";const H=class{constructor(e){t(this,e),this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}render(){return i(n,null,i("slot",{name:"title-group"}),i("section",null,i("slot",null)))}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()}async registryHandler(){let t,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()))),s=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=i.reduce(((t,e,i)=>(t[e]=this.tabs[i].id,t)),[]),e=s.reduce(((t,e,i)=>(t[e]=this.titles[i].id,t)),[])}this.tabs.forEach((i=>i.updateAriaInfo(t,e))),this.titles.forEach((i=>i.updateAriaInfo(t,e)))}get el(){return o(this)}};H.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}: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-ui-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-ui-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}";export{w as calcite_tab,z as calcite_tab_nav,A as calcite_tab_title,H as calcite_tabs}
|
|
6
|
+
import{r as t,c as e,h as i,H as s,a as o,F as n}from"./p-91b9baec.js";import{z as a,l as c,g as r,A as l,B as h,t as d}from"./p-96773fa2.js";import{g as b}from"./p-525cbf29.js";import{c as u}from"./p-8d9d1628.js";import{c as p,d as m,u as v}from"./p-133f7d98.js";import{c as g,d as f}from"./p-66962194.js";import{c as x,d as k,s as y,u as T}from"./p-e8ab6202.js";import"./p-35a85805.js";import"./p-bc380a9f.js";import"./p-993cb6c9.js";const w=class{constructor(i){t(this,i),this.calciteInternalTabRegister=e(this,"calciteInternalTabRegister",6),this.guid=`calcite-tab-title-${b()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return i(s,{"aria-labelledby":this.labeledBy,id:this.el.id||this.guid},i("div",{class:"container",role:"tabpanel",tabIndex:this.selected?0:-1},i("section",null,i("slot",null))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}componentWillRender(){this.scale=this.parentTabsEl?.scale}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(a(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 o(this)}};w.style=":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}section,.container{display:none;block-size:100%;inline-size:100%}:host([scale=s]){padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-block:13px}:host([hidden]){display:none}[hidden]{display:none}";const z=class{constructor(i){t(this,i),this.calciteTabChange=e(this,"calciteTabChange",6),this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6),this.animationActiveDuration=.3,this.resizeObserver=u("resize",(()=>{this.activeIndicatorEl&&(this.activeIndicatorEl.style.transitionDuration="0s",this.updateActiveWidth(),this.updateOffsetPosition())})),this.handleTabFocus=(t,e,i)=>{c(this.enabledTabTitles,e,i),t.stopPropagation()},this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateOffsetPosition()},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.indicatorOffset=void 0,this.indicatorWidth=void 0,this.selectedTabId=void 0}async selectedTabIdChanged(){localStorage&&this.storageId&&null!=this.selectedTabId&&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.updateOffsetPosition(),this.updateActiveWidth(),this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs"),this.resizeObserver?.observe(this.el)}disconnectedCallback(){this.resizeObserver?.disconnect()}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}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout,this.position=t?.position,this.scale=t?.scale,this.bordered=t?.bordered,this.selectedTitle&&this.updateOffsetPosition()}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}render(){const t=r(this.el),e=`${this.indicatorWidth}px`,o=`${this.indicatorOffset}px`,n="rtl"!==t?{width:e,left:o}:{width:e,right:o};return i(s,{role:"tablist"},i("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},i("slot",null),i("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},i("div",{class:"tab-nav-active-indicator",style:n,ref:t=>this.activeIndicatorEl=t}))))}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){this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target),t.stopPropagation()}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail)}globalInternalTabChangeHandler(t){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.updateActiveWidth()}updateOffsetPosition(){const t=r(this.el),e=this.activeIndicatorContainerEl?.offsetWidth,i=this.selectedTitle?.offsetLeft,s=this.selectedTitle?.offsetWidth;this.indicatorOffset="rtl"!==t?i-this.tabNavEl?.scrollLeft:e-(i+s)+this.tabNavEl?.scrollLeft}updateActiveWidth(){this.indicatorWidth=this.selectedTitle?.offsetWidth}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 l(this.el,"calcite-tab-title")}get enabledTabTitles(){return l(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this,i=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),s=i.length;if(1===s&&e[i[0]].closable)e[i[0]].closable=!1,this.selectedTabId=i[0];else if(s>1){const o=e.findIndex((e=>e===t)),n=i.find((t=>t>o));this.selectedTabId===o&&(this.selectedTabId=n||s-1)}requestAnimationFrame((()=>{this.updateOffsetPosition(),this.updateActiveWidth(),e[this.selectedTabId].focus()}))}get el(){return o(this)}static get watchers(){return{selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"]}}};z.style=":host{position:relative;display:flex}:host([scale=s]){min-block-size:1.5rem}:host([scale=m]){min-block-size:2rem}:host([scale=l]){min-block-size:2.75rem}.tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}.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-ui-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)}:host([layout=center]) .tab-nav{justify-content:space-evenly}: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 C="close-button",I="calcite-tab-title--icon",A=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=u("mutation",(()=>this.updateHasText())),this.resizeObserver=u("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${b()}`,this.selected=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.layout=void 0,this.position=void 0,this.scale=void 0,this.bordered=!1,this.tab=void 0,this.messages=void 0,this.messageOverrides=void 0,this.controls=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1}selectedHandler(){this.selected&&this.emitActiveTab(!1)}onMessagesChange(){}connectedCallback(){p(this),g(this),x(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(),m(this),f(this),k(this)}async componentWillLoad(){await y(this),this.updateHasText(),this.tab&&this.selected&&this.emitActiveTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.position=this.parentTabsEl.position,this.scale=this.parentTabsEl.scale,this.bordered=this.parentTabsEl.bordered),!this.parentTabsEl&&this.parentTabNavEl&&(this.position=h(this.parentTabNavEl,"position",this.position),this.scale=h(this.parentTabNavEl,"scale",this.scale))}render(){const{el:t,closed:e}=this,o=t.id||this.guid,n=i("calcite-icon",{class:{[I]:!0,"icon-start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"}),a=i("calcite-icon",{class:{[I]:!0,"icon-end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"l"===this.scale?"m":"s"});return i(s,{"aria-controls":this.controls,"aria-selected":d(this.selected),id:o,role:"tab",tabIndex:this.selected?0:-1},i("div",{class:{container:!0,"icon-present":!!this.iconStart||!!this.iconEnd},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{class:{content:!0,"content--has-text":this.hasText}},this.iconStart?n:null,i("slot",null),this.iconEnd?a:null),this.renderCloseButton()))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:C,disabled:!1,key:C,onClick:this.closeClickHandler,title:e.close,type:"button",ref:t=>this.closeButtonEl=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){v(this,(()=>this.selected))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}onClick(){this.disabled||this.emitActiveTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.emitActiveTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===r(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===r(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit();break;case"Home":t.preventDefault(),this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault(),this.calciteInternalTabsFocusLast.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(a(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}effectiveLocaleChange(){T(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}emitActiveTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px;margin-inline-end:1.25rem}:host([layout=center][scale=s]),:host([layout=center][scale=m]),:host([layout=center][scale=l]){margin-block:0px;text-align:center;margin-inline-end:0px;flex-basis:12rem}:host([layout=center][scale=s]) .content,:host([layout=center][scale=m]) .content,:host([layout=center][scale=l]) .content{margin:auto}:host([layout=center][closable]) .content{padding-inline-start:32px}:host([layout=center][bordered][closable][scale=s]) .content{padding-inline-start:36px}:host([layout=center][bordered][closable][scale=m]) .content{padding-inline-start:40px}:host([layout=center][closable][scale=l]) .content{padding-inline-start:40px}:host([layout=center][closable][bordered][scale=l]) .content{padding-inline-start:52px}: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}.container{outline-color:transparent}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);text-decoration-line:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-ui-text-1)}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){margin-inline-end:1rem}:host([scale=s]) .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){margin-inline-end:1.5rem}:host([scale=l]) .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.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-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}.content{display:flex;align-items:center;justify-content:center}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:all 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;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:calc(100% - 2px);background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}.close-button:focus,.close-button:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}.close-button:active{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-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-ui-foreground-1)}:host([bordered][selected][position=bottom]){box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) .container,:host([bordered]:focus) .container,:host([bordered]:active) .container{position:relative}:host([bordered]:hover) .container{background-color:var(--calcite-button-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]) .content{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}: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-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}:host([bordered]) .content{padding-inline:0.75rem}:host([bordered][scale=s]) .content{padding-inline:0.5rem}:host([bordered][scale=l]) .content{padding-inline:1rem}@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-app-z-index)}}:host([hidden]){display:none}[hidden]{display:none}";const H=class{constructor(e){t(this,e),this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}render(){return i(n,null,i("slot",{name:"title-group"}),i("section",null,i("slot",null)))}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()}async registryHandler(){let t,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()))),s=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=i.reduce(((t,e,i)=>(t[e]=this.tabs[i].id,t)),[]),e=s.reduce(((t,e,i)=>(t[e]=this.titles[i].id,t)),[])}this.tabs.forEach((i=>i.updateAriaInfo(t,e))),this.titles.forEach((i=>i.updateAriaInfo(t,e)))}get el(){return o(this)}};H.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}: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-ui-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-ui-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}";export{w as calcite_tab,z as calcite_tab_nav,A as calcite_tab_title,H as calcite_tabs}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-6d6b5052.js";import"./p-91b9baec.js";import"./p-f73ffe27.js";import"./p-96773fa2.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-133f7d98.js";import"./p-bc380a9f.js";import"./p-993cb6c9.js";import"./p-7fbdd594.js";import"./p-9f008632.js";import"./p-66962194.js";import"./p-8d9d1628.js";import"./p-5c0a7600.js";import"./p-a9593306.js";import"./p-e8ab6202.js";var a={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};e.locale(a,null,!0);export default a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{g as t}from"./p-53b66033.js";import{d as n}from"./p-b4e5febe.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function b(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function v(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},v=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-v.top+y.top)/b.y,bottom:(v.bottom-h.bottom+y.bottom)/b.y,left:(h.left-v.left+y.left)/b.x,right:(v.right-h.right+y.right)/b.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[v(t),n,v(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(v)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=b(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const b=a.fn({...t,[y]:h,[u]:w});return{...b,data:{x:b.x-n,y:b.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&v(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=b(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),b=await l.getDimensions(s),v="y"===g,A=v?"top":"left",k=v?"bottom":"right",P=v?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-b[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-b[x]-C,B=O/2-b[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-b[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=vt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),vt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},bt=new WeakMap,vt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),bt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(bt.get(t)?.(),bt.delete(t),vt.get(t)?.cancel(),vt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
|
|
6
|
+
import{g as t}from"./p-96773fa2.js";import{d as n}from"./p-c7ca8058.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),v=await l.getDimensions(s),b="y"===g,A=b?"top":"left",k=b?"bottom":"right",P=b?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-v[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-v[x]-C,B=O/2-v[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-v[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=bt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),bt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,bt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),bt.get(t)?.cancel(),bt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e,a as t}from"./p-
|
|
6
|
+
import{d as e,a as t}from"./p-35a85805.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as a}from"./p-
|
|
6
|
+
import{d as a}from"./p-6d6b5052.js";import"./p-91b9baec.js";import"./p-f73ffe27.js";import"./p-96773fa2.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-133f7d98.js";import"./p-bc380a9f.js";import"./p-993cb6c9.js";import"./p-7fbdd594.js";import"./p-9f008632.js";import"./p-66962194.js";import"./p-8d9d1628.js";import"./p-5c0a7600.js";import"./p-a9593306.js";import"./p-e8ab6202.js";var s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),_="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),t=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,p=function(a,p){return t.test(p)?s[a.month()]:_[a.month()]};p.s=_,p.f=s;var o={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:p,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(a){return a+"."}};a.locale(o,null,!0);export default o;
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
* v1.8.1-next.0
|
|
5
|
+
*/
|
|
6
|
+
import{f as t}from"./p-91b9baec.js";import{c as o}from"./p-8d9d1628.js";const n=new Set;let c;const s={childList:!0};function f(t){c||(c=o("mutation",a)),c.observe(t.el,s)}function i(t){n.delete(t.el),a(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as
|
|
6
|
+
import{r as t,c as e,h as i,H as n,a as o}from"./p-91b9baec.js";import{g as l,t as a}from"./p-96773fa2.js";import{a as s,c as r,d as c,H as h}from"./p-f73ffe27.js";import{c as d,d as m,u}from"./p-133f7d98.js";import{c as p,d as g}from"./p-7fbdd594.js";import{s as f,a as b,c as v}from"./p-9f008632.js";import{c as k}from"./p-8d9d1628.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-bc380a9f.js";const w=class{constructor(i){t(this,i),this.calciteSegmentedControlChange=e(this,"calciteSegmentedControlChange",6),this.handleClick=t=>{this.disabled||"calcite-segmented-control-item"===t.target.localName&&this.selectItem(t.target,!0)},this.mutationObserver=k("mutation",(()=>this.setUpItems())),this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.name=void 0,this.layout="horizontal",this.scale="m",this.value=null,this.selectedItem=void 0,this.width="auto"}handlePropsChange(){this.handleItemPropChange()}valueHandler(t){this.getItems().forEach((e=>e.checked=e.value===t))}handleSelectedItemChange(t,e){if(this.value=t?.value,t===e)return;const i=this.getItems(),n=i.filter((e=>e===t)).pop();n?this.selectItem(n):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){f(this),this.setUpItems()}componentDidLoad(){s(this,this.value),b(this)}connectedCallback(){d(this),p(this),r(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.handleItemPropChange()}disconnectedCallback(){m(this),g(this),c(this),this.mutationObserver?.unobserve(this.el)}componentDidRender(){u(this)}render(){return i(n,{onClick:this.handleClick,role:"radiogroup"},i("slot",null),i(h,{component:this}))}handleSelected(t){t.preventDefault(),this.selectItem(t.target),t.stopPropagation()}handleKeyDown(t){const{key:e}=t,{el:i,selectedItem:n}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(e))return;let o=e;"rtl"===l(i)&&("ArrowRight"===e&&(o="ArrowLeft"),"ArrowLeft"===e&&(o="ArrowRight"));const a=this.getItems();let s=-1;switch(a.forEach(((t,e)=>{t===n&&(s=e)})),o){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(s<1?a[a.length-1]:a[s-1],!0);case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(-1===s?a[1]:a[s+1]||a[0],!0);case" ":return t.preventDefault(),void this.selectItem(t.target,!0);default:return}}async setFocus(){await v(this),(this.selectedItem||this.getItems()[0])?.focus()}handleItemPropChange(){this.getItems().forEach((t=>{t.appearance=this.appearance,t.layout=this.layout,t.scale=this.scale}))}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(t,e=!1){if(t===this.selectedItem)return;const i=this.getItems();let n=null;i.forEach((i=>{const o=i===t;(o&&!i.checked||!o&&i.checked)&&(i.checked=o),i.tabIndex=o?0:-1,o&&(n=i,e&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=n,n&&n.focus()}setUpItems(){const t=this.getItems(),e=t.filter((t=>t.checked)).pop();e?this.selectItem(e):t[0]&&(t[0].tabIndex=0)}get el(){return o(this)}static get watchers(){return{appearance:["handlePropsChange"],layout:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};w.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::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 x="segmented-control-item-icon",y=class{constructor(i){t(this,i),this.calciteInternalSegmentedControlItemChange=e(this,"calciteInternalSegmentedControlItemChange",6),this.checked=!1,this.iconFlipRtl=!1,this.iconStart=void 0,this.iconEnd=void 0,this.value=void 0,this.appearance="solid",this.layout="horizontal",this.scale="m"}handleCheckedChange(){this.calciteInternalSegmentedControlItemChange.emit()}render(){const{appearance:t,checked:e,layout:o,scale:l,value:s}=this,r=this.iconStart?i("calcite-icon",{class:x,flipRtl:this.iconFlipRtl,icon:this.iconStart,key:"icon-start",scale:"s"}):null,c=this.iconEnd?i("calcite-icon",{class:x,flipRtl:this.iconFlipRtl,icon:this.iconEnd,key:"icon-end",scale:"s"}):null;return i(n,{"aria-checked":a(e),"aria-label":s,role:"radio"},i("label",{class:{"label--scale-s":"s"===l,"label--scale-m":"m"===l,"label--scale-l":"l"===l,"label--horizontal":"horizontal"===o,"label--outline":"outline"===t,"label--outline-fill":"outline-fill"===t}},this.iconStart?r:null,i("slot",null,s),i("slot",{name:"input"}),this.iconEnd?c:null))}get el(){return o(this)}static get watchers(){return{checked:["handleCheckedChange"]}}};y.style=":host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon{color:highlightText}}.segmented-control-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-start]) .label--scale-s .segmented-control-item-icon{margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .segmented-control-item-icon{margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .segmented-control-item-icon{margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .segmented-control-item-icon{margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .segmented-control-item-icon{margin-inline-end:1rem}:host([icon-end]) .label--scale-l .segmented-control-item-icon{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_segmented_control,y as calcite_segmented_control_item}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as _}from"./p-
|
|
6
|
+
import{d as _}from"./p-6d6b5052.js";import"./p-91b9baec.js";import"./p-f73ffe27.js";import"./p-96773fa2.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-133f7d98.js";import"./p-bc380a9f.js";import"./p-993cb6c9.js";import"./p-7fbdd594.js";import"./p-9f008632.js";import"./p-66962194.js";import"./p-8d9d1628.js";import"./p-5c0a7600.js";import"./p-a9593306.js";import"./p-e8ab6202.js";var m={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-6d6b5052.js";import"./p-91b9baec.js";import"./p-f73ffe27.js";import"./p-96773fa2.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-133f7d98.js";import"./p-bc380a9f.js";import"./p-993cb6c9.js";import"./p-7fbdd594.js";import"./p-9f008632.js";import"./p-66962194.js";import"./p-8d9d1628.js";import"./p-5c0a7600.js";import"./p-a9593306.js";import"./p-e8ab6202.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var n={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,!0);export default n;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as r}from"./p-
|
|
6
|
+
import{d as r}from"./p-6d6b5052.js";import"./p-91b9baec.js";import"./p-f73ffe27.js";import"./p-96773fa2.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-133f7d98.js";import"./p-bc380a9f.js";import"./p-993cb6c9.js";import"./p-7fbdd594.js";import"./p-9f008632.js";import"./p-66962194.js";import"./p-8d9d1628.js";import"./p-5c0a7600.js";import"./p-a9593306.js";import"./p-e8ab6202.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},m={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},_={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return m[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(_,null,!0);export default _;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as e,a as s,F as a}from"./p-5f56ab0e.js";import{c as o,d as n,u as c}from"./p-ccb64439.js";import{s as l,a as r,c as h}from"./p-1771ef94.js";import{c as d}from"./p-9554068f.js";import{m as p,d as m,a as u,s as g,h as b,b as f,c as v,k as x,i as w,f as k,l as y,j as z,r as C,o as L,p as j,n as I,q as H,t as W,I as F,L as _,u as D,v as R,w as M,C as S,S as V}from"./p-2a9288a3.js";import{c as A,d as P}from"./p-84f2de26.js";import{h as T,t as U}from"./p-53b66033.js";import{H as K,c as O}from"./p-1beae67f.js";import{c as q,d as E}from"./p-a48cbcc5.js";import{u as B,c as G,s as J,d as N}from"./p-cb8121ca.js";import"./p-b20009dc.js";import"./p-92667410.js";import"./p-b4e5febe.js";import"./p-593e9704.js";import"./p-48c01530.js";import"./p-349ad3f8.js";const Q=class{constructor(e){t(this,e),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=d("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=u.bind(this),this.selectSiblings=g.bind(this),this.handleFilter=b.bind(this),this.handleFilterEvent=f.bind(this),this.getItemData=v.bind(this),this.keyDownHandler=x.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){w.call(this),k.call(this),o(this)}disconnectedCallback(){y.call(this),n(this)}componentWillLoad(){l(this)}componentDidLoad(){r(this),z.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){C.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){j.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){I.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await h(this),W.call(this,t)}getIconType(){return this.multiple?F.square:F.circle}render(){return e(_,{onKeyDown:this.keyDownHandler,props:this})}get el(){return s(this)}};Q.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";const X=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){A(this)}disconnectedCallback(){P(this)}render(){const{el:t,groupTitle:i,headingLevel:s}=this,o=null!==T(t,D.parentItem),n={[R.container]:!0,[R.indented]:o},c=i,l=t.closest("calcite-pick-list")?.headingLevel,r=l?O(l+1):null;return e(a,null,c?e(K,{class:R.heading,level:s||r},c):null,e("slot",{name:D.parentItem}),e("section",{class:n},e("slot",null)))}get el(){return s(this)}};X.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";const Y=class{constructor(e){t(this,e),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){B(this,this.effectiveLocale)}connectedCallback(){o(this),q(this),G(this),A(this)}async componentWillLoad(){await J(this),l(this)}componentDidLoad(){r(this)}disconnectedCallback(){n(this),E(this),N(this),P(this)}componentDidRender(){c(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await h(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?e("span",{class:{[S.icon]:!0,[S.iconDot]:t===F.circle},onClick:this.pickListClickHandler},t===F.square?e("calcite-icon",{flipRtl:i,icon:M.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?e("calcite-action",{class:S.remove,icon:M.remove,onClick:this.removeClickHandler,slot:V.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return T(t,V.actionsStart)?e("div",{class:{[S.actions]:!0,[S.actionsStart]:!0}},e("slot",{name:V.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return T(t,V.actionsEnd)||i?e("div",{class:{[S.actions]:!0,[S.actionsEnd]:!0}},e("slot",{name:V.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return e(a,null,this.renderIcon(),this.renderActionsStart(),e("label",{"aria-label":i,class:S.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},e("div",{"aria-checked":U(this.selected),class:S.textContainer,role:"menuitemcheckbox"},e("span",{class:S.title},i),t?e("span",{class:S.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{Q as calcite_pick_list,X as calcite_pick_list_group,Y as calcite_pick_list_item}
|
|
6
|
+
import{r as t,c as i,h as e,a as s,F as a}from"./p-91b9baec.js";import{c as o,d as n,u as c}from"./p-133f7d98.js";import{s as l,a as r,c as h}from"./p-9f008632.js";import{c as d}from"./p-8d9d1628.js";import{m as p,d as m,a as u,s as g,h as b,b as f,c as v,k as x,i as w,f as k,l as y,j as z,r as C,o as L,p as j,n as I,q as H,t as W,I as F,L as _,u as D,v as R,w as M,C as S,S as V}from"./p-b29d2b19.js";import{c as A,d as P}from"./p-2a7a6ac4.js";import{h as T,t as U}from"./p-96773fa2.js";import{H as K,c as O}from"./p-74f995e3.js";import{c as q,d as E}from"./p-66962194.js";import{u as B,c as G,s as J,d as N}from"./p-e8ab6202.js";import"./p-bc380a9f.js";import"./p-3848fc0e.js";import"./p-c7ca8058.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-993cb6c9.js";const Q=class{constructor(e){t(this,e),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=d("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=u.bind(this),this.selectSiblings=g.bind(this),this.handleFilter=b.bind(this),this.handleFilterEvent=f.bind(this),this.getItemData=v.bind(this),this.keyDownHandler=x.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){w.call(this),k.call(this),o(this)}disconnectedCallback(){y.call(this),n(this)}componentWillLoad(){l(this)}componentDidLoad(){r(this),z.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){C.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){j.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){I.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await h(this),W.call(this,t)}getIconType(){return this.multiple?F.square:F.circle}render(){return e(_,{onKeyDown:this.keyDownHandler,props:this})}get el(){return s(this)}};Q.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";const X=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){A(this)}disconnectedCallback(){P(this)}render(){const{el:t,groupTitle:i,headingLevel:s}=this,o=null!==T(t,D.parentItem),n={[R.container]:!0,[R.indented]:o},c=i,l=t.closest("calcite-pick-list")?.headingLevel,r=l?O(l+1):null;return e(a,null,c?e(K,{class:R.heading,level:s||r},c):null,e("slot",{name:D.parentItem}),e("section",{class:n},e("slot",null)))}get el(){return s(this)}};X.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";const Y=class{constructor(e){t(this,e),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){B(this,this.effectiveLocale)}connectedCallback(){o(this),q(this),G(this),A(this)}async componentWillLoad(){await J(this),l(this)}componentDidLoad(){r(this)}disconnectedCallback(){n(this),E(this),N(this),P(this)}componentDidRender(){c(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await h(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?e("span",{class:{[S.icon]:!0,[S.iconDot]:t===F.circle},onClick:this.pickListClickHandler},t===F.square?e("calcite-icon",{flipRtl:i,icon:M.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?e("calcite-action",{class:S.remove,icon:M.remove,onClick:this.removeClickHandler,slot:V.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return T(t,V.actionsStart)?e("div",{class:{[S.actions]:!0,[S.actionsStart]:!0}},e("slot",{name:V.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return T(t,V.actionsEnd)||i?e("div",{class:{[S.actions]:!0,[S.actionsEnd]:!0}},e("slot",{name:V.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return e(a,null,this.renderIcon(),this.renderActionsStart(),e("label",{"aria-label":i,class:S.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},e("div",{"aria-checked":U(this.selected),class:S.textContainer,role:"menuitemcheckbox"},e("span",{class:S.title},i),t?e("span",{class:S.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{Q as calcite_pick_list,X as calcite_pick_list_group,Y as calcite_pick_list_item}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-6d6b5052.js";import"./p-91b9baec.js";import"./p-f73ffe27.js";import"./p-96773fa2.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-133f7d98.js";import"./p-bc380a9f.js";import"./p-993cb6c9.js";import"./p-7fbdd594.js";import"./p-9f008632.js";import"./p-66962194.js";import"./p-8d9d1628.js";import"./p-5c0a7600.js";import"./p-a9593306.js";import"./p-e8ab6202.js";var a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,a){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?a[0]:a[1]:a[2]},relativeTimeFormatter:function(e,d,t,r){var n=a.words[t];if(1===t.length)return"y"===t&&d?"jedna godina":r||d?n[0]:n[1];var m=a.correctGrammarCase(e,n);return"yy"===t&&d&&"%d godinu"===m?e+" godina":m.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(d,null,!0);export default d;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0
|
|
4
|
+
* v1.8.1-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{d as e}from"./p-
|
|
6
|
+
import{d as e}from"./p-6d6b5052.js";import"./p-91b9baec.js";import"./p-f73ffe27.js";import"./p-96773fa2.js";import"./p-525cbf29.js";import"./p-35a85805.js";import"./p-133f7d98.js";import"./p-bc380a9f.js";import"./p-993cb6c9.js";import"./p-7fbdd594.js";import"./p-9f008632.js";import"./p-66962194.js";import"./p-8d9d1628.js";import"./p-5c0a7600.js";import"./p-a9593306.js";import"./p-e8ab6202.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,s,n){var m=e+" ";switch(s){case"s":return t||n?"pár sekund":"pár sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?m+(r(e)?"minuty":"minut"):m+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?m+(r(e)?"hodiny":"hodin"):m+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?m+(r(e)?"dny":"dní"):m+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?m+(r(e)?"měsíce":"měsíců"):m+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?m+(r(e)?"roky":"let"):m+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(s,null,!0);export default s;
|