@esri/calcite-components 1.9.0-next.0 → 1.9.0-next.10
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/assets/icon/projectTemplate16.json +1 -0
- package/dist/calcite/assets/icon/projectTemplate24.json +1 -0
- package/dist/calcite/assets/icon/projectTemplate32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-dc9a4b86.js → p-002e6f00.js} +1 -1
- package/dist/calcite/{p-95a00ff8.entry.js → p-01d89769.entry.js} +2 -2
- package/dist/calcite/{p-cf852e91.entry.js → p-077cbeb0.entry.js} +2 -2
- package/dist/calcite/p-0971070f.entry.js +6 -0
- package/dist/calcite/p-0bab43a7.entry.js +6 -0
- package/dist/calcite/{p-cd0b12c9.entry.js → p-0c68a944.entry.js} +2 -2
- package/dist/calcite/p-0e26fcba.js +6 -0
- package/dist/calcite/p-0e8e2df5.js +6 -0
- package/dist/calcite/{p-b821958e.js → p-11867f3d.js} +3 -3
- package/dist/calcite/{p-3a9e98a1.entry.js → p-11ca40a5.entry.js} +2 -2
- package/dist/calcite/{p-7c1908d9.js → p-1463cc4a.js} +1 -1
- package/dist/calcite/p-14cf3a41.js +6 -0
- package/dist/calcite/p-189e4ba6.js +6 -0
- package/dist/calcite/p-1a9e6556.js +6 -0
- package/dist/calcite/{p-b0b37be1.entry.js → p-1c6e73f7.entry.js} +2 -2
- package/dist/calcite/p-1d43decf.js +6 -0
- package/dist/calcite/p-1dbd7d82.js +6 -0
- package/dist/calcite/{p-6e09d39f.entry.js → p-1e6463d5.entry.js} +2 -2
- package/dist/calcite/p-1f377010.js +6 -0
- package/dist/calcite/{p-f746c161.js → p-21381cf1.js} +2 -2
- package/dist/calcite/{p-3d469832.entry.js → p-2279756b.entry.js} +2 -2
- package/dist/calcite/{p-80628575.entry.js → p-253821f0.entry.js} +2 -2
- package/dist/calcite/{p-87f8e833.js → p-254270fb.js} +2 -2
- package/dist/calcite/{p-15ab19a6.entry.js → p-26102c48.entry.js} +2 -2
- package/dist/calcite/{p-2cdba890.js → p-2708290d.js} +2 -2
- package/dist/calcite/{p-b2f47adf.js → p-274cc0b4.js} +1 -1
- package/dist/calcite/p-27b62b17.js +6 -0
- package/dist/calcite/{p-f750e912.js → p-28b61cf7.js} +1 -1
- package/dist/calcite/{p-29247368.js → p-2942bf6d.js} +2 -2
- package/dist/calcite/{p-7189f18d.js → p-2a638b42.js} +2 -2
- package/dist/calcite/p-2bd50b37.js +6 -0
- package/dist/calcite/{p-f0ebf512.entry.js → p-2dd0a3b2.entry.js} +2 -2
- package/dist/calcite/p-3109bbf3.js +6 -0
- package/dist/calcite/{p-6d3c8bff.entry.js → p-34768de0.entry.js} +2 -2
- package/dist/calcite/{p-c5221743.js → p-38748d8e.js} +1 -1
- package/dist/calcite/{p-6e2563ad.js → p-39b951fb.js} +1 -1
- package/dist/calcite/{p-7618634f.js → p-3b02744e.js} +2 -2
- package/dist/calcite/{p-4cdd82fe.js → p-3c5e4046.js} +2 -2
- package/dist/calcite/{p-d2a35338.entry.js → p-3d88e352.entry.js} +2 -2
- package/dist/calcite/{p-795a977d.js → p-461d908d.js} +1 -1
- package/dist/calcite/{p-d5f410ed.entry.js → p-464617c2.entry.js} +2 -2
- package/dist/calcite/p-466307b3.js +6 -0
- package/dist/calcite/p-48b3e25e.entry.js +6 -0
- package/dist/calcite/{p-2867f02e.js → p-48fe48aa.js} +2 -2
- package/dist/calcite/p-493cff3b.entry.js +6 -0
- package/dist/calcite/p-4b8f9b78.js +6 -0
- package/dist/calcite/{p-fe124016.entry.js → p-4bf7bd39.entry.js} +2 -2
- package/dist/calcite/p-50f192db.js +6 -0
- package/dist/calcite/p-512adae5.js +6 -0
- package/dist/calcite/p-5512e379.js +6 -0
- package/dist/calcite/p-555a232b.js +6 -0
- package/dist/calcite/p-574bd23e.js +6 -0
- package/dist/calcite/p-58bb0e60.js +6 -0
- package/dist/calcite/p-595ac475.entry.js +6 -0
- package/dist/calcite/p-59623cef.js +6 -0
- package/dist/calcite/{p-bf34e2cf.js → p-5afcc53a.js} +1 -1
- package/dist/calcite/{p-a005946e.entry.js → p-5b262bab.entry.js} +2 -2
- package/dist/calcite/p-5db319aa.js +6 -0
- package/dist/calcite/{p-95805965.entry.js → p-621f6819.entry.js} +2 -2
- package/dist/calcite/{p-df8aaf2a.entry.js → p-6338a147.entry.js} +2 -2
- package/dist/calcite/p-63c60923.js +6 -0
- package/dist/calcite/{p-9306b273.js → p-656cdb45.js} +1 -1
- package/dist/calcite/{p-2f635b01.entry.js → p-657f73dc.entry.js} +2 -2
- package/dist/calcite/{p-bd6e908b.entry.js → p-6735a868.entry.js} +2 -2
- package/dist/calcite/p-6774776a.js +6 -0
- package/dist/calcite/{p-027f348f.js → p-6c844146.js} +1 -1
- package/dist/calcite/p-6cc5d75a.js +6 -0
- package/dist/calcite/{p-c183e94d.entry.js → p-6fabf040.entry.js} +2 -2
- package/dist/calcite/{p-ccaa73e8.entry.js → p-71914a52.entry.js} +2 -2
- package/dist/calcite/p-753e0f13.js +6 -0
- package/dist/calcite/p-779df12a.entry.js +6 -0
- package/dist/calcite/{p-32d96507.entry.js → p-77c8f31d.entry.js} +2 -2
- package/dist/calcite/{p-a7206ffb.entry.js → p-7a28f6a2.entry.js} +2 -2
- package/dist/calcite/{p-f769fc4e.js → p-7a82c2b0.js} +2 -2
- package/dist/calcite/p-7db19910.js +6 -0
- package/dist/calcite/{p-613ff2a1.entry.js → p-80e5b4a5.entry.js} +2 -2
- package/dist/calcite/{p-2a84bfce.entry.js → p-813586e5.entry.js} +2 -2
- package/dist/calcite/p-8145349d.entry.js +6 -0
- package/dist/calcite/p-81a26a0e.js +6 -0
- package/dist/calcite/{p-889eb822.entry.js → p-81d4d8d9.entry.js} +2 -2
- package/dist/calcite/{p-ea2fb46c.entry.js → p-83e9826c.entry.js} +2 -2
- package/dist/calcite/{p-e877fc55.js → p-8ba2b54a.js} +2 -2
- package/dist/calcite/p-8cc6df21.js +6 -0
- package/dist/calcite/p-8ceeb6c9.entry.js +6 -0
- package/dist/calcite/p-8df4d0bc.js +6 -0
- package/dist/calcite/{p-74398e03.entry.js → p-8e4f9c6c.entry.js} +2 -2
- package/dist/calcite/p-8e4fdc09.js +6 -0
- package/dist/calcite/{p-68d0191b.entry.js → p-8f0f4860.entry.js} +2 -2
- package/dist/calcite/p-8f9894ce.js +6 -0
- package/dist/calcite/p-90777e84.entry.js +6 -0
- package/dist/calcite/p-92879a96.entry.js +6 -0
- package/dist/calcite/{p-741b82d7.entry.js → p-92cc2cdf.entry.js} +2 -2
- package/dist/calcite/p-9714f8b9.entry.js +6 -0
- package/dist/calcite/p-9d913afb.js +6 -0
- package/dist/calcite/{p-5570b658.js → p-9e4e9118.js} +1 -1
- package/dist/calcite/{p-bb1499b9.entry.js → p-a01fb6f4.entry.js} +2 -2
- package/dist/calcite/p-a18e1dcf.js +6 -0
- package/dist/calcite/{p-5b728e96.js → p-a8085de9.js} +2 -2
- package/dist/calcite/{p-0afd1ea0.js → p-a86c0fa1.js} +1 -1
- package/dist/calcite/p-a89d8289.js +6 -0
- package/dist/calcite/p-ac030f07.js +6 -0
- package/dist/calcite/p-acc7e3af.entry.js +6 -0
- package/dist/calcite/{p-7bd9782f.js → p-b1b2f9a9.js} +2 -2
- package/dist/calcite/{p-e332b1d1.js → p-b1bc1885.js} +1 -1
- package/dist/calcite/p-b4009a16.js +6 -0
- package/dist/calcite/{p-ea1e9c7e.js → p-b4518adb.js} +2 -2
- package/dist/calcite/p-b46e84bf.js +6 -0
- package/dist/calcite/p-b49ba183.js +6 -0
- package/dist/calcite/{p-e59ad6a5.entry.js → p-b86e10a4.entry.js} +2 -2
- package/dist/calcite/{p-f58516a1.entry.js → p-bae7a9b9.entry.js} +2 -2
- package/dist/calcite/p-bc8ea5ec.js +6 -0
- package/dist/calcite/{p-7489b24f.entry.js → p-bd386f93.entry.js} +2 -2
- package/dist/calcite/p-be5d661c.js +6 -0
- package/dist/calcite/p-be7ad7b8.js +6 -0
- package/dist/calcite/p-bf184f04.js +6 -0
- package/dist/calcite/p-c2219bf4.js +6 -0
- package/dist/calcite/{p-bbc294cb.entry.js → p-c260f4e3.entry.js} +2 -2
- package/dist/calcite/p-c46a1a8d.js +6 -0
- package/dist/calcite/{p-46abf998.entry.js → p-c474ba1a.entry.js} +2 -2
- package/dist/calcite/{p-000b790b.entry.js → p-c4ce916f.entry.js} +2 -2
- package/dist/calcite/{p-be824e95.entry.js → p-c67e20ac.entry.js} +2 -2
- package/dist/calcite/p-c7412a73.js +6 -0
- package/dist/calcite/{p-d62f7de4.entry.js → p-c7eb8ad8.entry.js} +2 -2
- package/dist/calcite/{p-b5b28aea.js → p-c81a434a.js} +1 -1
- package/dist/calcite/{p-27dddd00.js → p-cb23c4d6.js} +1 -1
- package/dist/calcite/p-cb570084.js +6 -0
- package/dist/calcite/{p-d66634f2.entry.js → p-cca38d67.entry.js} +2 -2
- package/dist/calcite/p-cf463503.js +6 -0
- package/dist/calcite/{p-260add57.entry.js → p-d12c5a6b.entry.js} +2 -2
- package/dist/calcite/p-d25df974.js +6 -0
- package/dist/calcite/{p-6f3d7255.entry.js → p-d804a9f4.entry.js} +2 -2
- package/dist/calcite/{p-4fd1bb20.entry.js → p-d8903553.entry.js} +2 -2
- package/dist/calcite/{p-354da26c.entry.js → p-dd6bc666.entry.js} +2 -2
- package/dist/calcite/p-dd799de5.entry.js +6 -0
- package/dist/calcite/p-df551136.js +6 -0
- package/dist/calcite/p-dff29071.js +6 -0
- package/dist/calcite/p-e11d217c.entry.js +6 -0
- package/dist/calcite/{p-3f02982e.entry.js → p-e2a0b580.entry.js} +2 -2
- package/dist/calcite/{p-b7b042ee.entry.js → p-e33d1e9c.entry.js} +2 -2
- package/dist/calcite/p-e33d59db.entry.js +6 -0
- package/dist/calcite/p-e87e1041.entry.js +6 -0
- package/dist/calcite/{p-66acc733.entry.js → p-e8cf8abe.entry.js} +2 -2
- package/dist/calcite/{p-cc87c534.entry.js → p-ea2b15a1.entry.js} +2 -2
- package/dist/calcite/p-ea33050e.js +6 -0
- package/dist/calcite/p-eac6e5e6.js +6 -0
- package/dist/calcite/{p-31446bef.entry.js → p-ef6f7661.entry.js} +2 -2
- package/dist/calcite/p-f0454fb7.js +6 -0
- package/dist/calcite/{p-b4269703.entry.js → p-f09d939f.entry.js} +2 -2
- package/dist/calcite/p-f37e881e.js +6 -0
- package/dist/calcite/{p-ecc1ce4f.entry.js → p-f5b3900e.entry.js} +2 -2
- package/dist/calcite/{p-a48dca13.entry.js → p-fa32f299.entry.js} +2 -2
- package/dist/calcite/p-fbf528de.js +6 -0
- package/dist/calcite/p-fbfe6d2f.js +6 -0
- package/dist/calcite/p-fe002d18.entry.js +6 -0
- package/dist/calcite/{p-c4077d7e.entry.js → p-ffba47dd.entry.js} +2 -2
- package/dist/calcite/{p-0593964f.entry.js → p-fff7c277.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-3d435d00.js → ExpandToggle-26c3d172.js} +9 -8
- package/dist/cjs/{FloatingArrow-f67ba7fe.js → FloatingArrow-dadda9d5.js} +2 -2
- package/dist/cjs/{Heading-3608baef.js → Heading-51c96ba2.js} +2 -2
- package/dist/cjs/{app-globals-96de1a4c.js → app-globals-c021d5a9.js} +2 -2
- package/dist/cjs/{ar-a6b0a10b.js → ar-bc7f89b7.js} +21 -17
- package/dist/cjs/{array-5b1da7fd.js → array-f2a028ad.js} +1 -1
- package/dist/cjs/{bg-6ffc5547.js → bg-93aec4e9.js} +18 -17
- package/dist/cjs/{browser-3d431272.js → browser-b25a931d.js} +1 -1
- package/dist/cjs/{bs-9ace6e4d.js → bs-828f87b4.js} +18 -17
- package/dist/cjs/{ca-98a8e351.js → ca-873c93f7.js} +18 -17
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +22 -19
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-menu.cjs.entry.js +13 -12
- 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 +15 -14
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +45 -15
- 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 +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -15
- 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 +14 -14
- package/dist/cjs/calcite-flow.cjs.entry.js +8 -5
- 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-812285de.js → calcite-input-time-picker.calcite-time-picker-9f5b5826.js} +95 -69
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -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 +30 -26
- 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 +41 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +15 -14
- package/dist/cjs/calcite-pagination.cjs.entry.js +161 -64
- 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 +34 -23
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -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 +5 -5
- package/dist/cjs/{conditionalSlot-3cd26e47.js → conditionalSlot-cd73fe8e.js} +3 -3
- package/dist/cjs/{cs-0e027e67.js → cs-e91f6ff2.js} +18 -17
- package/dist/cjs/{da-0767020b.js → da-a5f42c32.js} +18 -17
- package/dist/cjs/{de-487116ac.js → de-7a7eb5b0.js} +18 -17
- package/dist/cjs/{de-at-9df6a8c7.js → de-at-a0fa29fb.js} +18 -17
- package/dist/cjs/{de-ch-84400d44.js → de-ch-d0afefed.js} +18 -17
- package/dist/cjs/{debounce-37ab9244.js → debounce-7d0414b2.js} +1 -1
- package/dist/cjs/{dom-66e68d19.js → dom-f28f1418.js} +3 -3
- package/dist/cjs/{el-f4ea6851.js → el-681d14b1.js} +18 -17
- package/dist/cjs/{en-au-d5d4b0f5.js → en-au-1f776d34.js} +18 -17
- package/dist/cjs/{en-ca-b6592960.js → en-ca-e1e3b664.js} +18 -17
- package/dist/cjs/{en-gb-34618515.js → en-gb-a615902a.js} +18 -17
- package/dist/cjs/{es-66da7eeb.js → es-c6d1d253.js} +18 -17
- package/dist/cjs/{es-mx-6f5c8530.js → es-mx-a074e4ab.js} +18 -17
- package/dist/cjs/{et-bf6fe2b4.js → et-5b79c9f3.js} +18 -17
- package/dist/cjs/{fi-579f5b9d.js → fi-bb877fa5.js} +18 -17
- package/dist/cjs/{filter-e4169741.js → filter-013003b9.js} +2 -2
- package/dist/cjs/{floating-ui-088c1abe.js → floating-ui-8462c4fe.js} +32 -16
- package/dist/cjs/{focusTrapComponent-1c5f566e.js → focusTrapComponent-99bdbbbf.js} +2 -2
- package/dist/cjs/{form-31d90af9.js → form-c1064534.js} +3 -3
- package/dist/cjs/{fr-d8fb5262.js → fr-afd0cafb.js} +18 -17
- package/dist/cjs/{fr-ch-8be62bce.js → fr-ch-56d8929b.js} +18 -17
- package/dist/cjs/{guid-9c9d691a.js → guid-eb6da960.js} +1 -1
- package/dist/cjs/{he-1efc1e57.js → he-948a2130.js} +18 -17
- package/dist/cjs/{hi-0b28799e.js → hi-c71b7cd1.js} +18 -17
- package/dist/cjs/{hr-7c1d5977.js → hr-7eca5b23.js} +18 -17
- package/dist/cjs/{hu-b96ea42a.js → hu-e96729a4.js} +18 -17
- package/dist/cjs/{id-43a122f0.js → id-313e8cf0.js} +18 -17
- package/dist/cjs/{index-0eb834a9.js → index-8fd7d26e.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-4bbade79.js → interactive-dfe81ae5.js} +2 -2
- package/dist/cjs/{it-8c934eeb.js → it-c3265bd3.js} +18 -17
- package/dist/cjs/{it-ch-fdd7dc7e.js → it-ch-491b02a6.js} +18 -17
- package/dist/cjs/{ja-34f31a18.js → ja-a753eb2b.js} +18 -17
- package/dist/cjs/{key-76902727.js → key-96a3d0b0.js} +1 -1
- package/dist/cjs/{ko-a0c33e22.js → ko-e858699f.js} +19 -18
- package/dist/cjs/{label-fddec357.js → label-d9121291.js} +2 -2
- package/dist/cjs/{loadable-4dc0a6b9.js → loadable-5a7c2607.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-001ad3d7.js → locale-206f6691.js} +4 -4
- package/dist/cjs/{lt-35a9e618.js → lt-8039e1e9.js} +18 -17
- package/dist/cjs/{lv-55568a9b.js → lv-902edaf4.js} +18 -17
- package/dist/cjs/{math-f7468262.js → math-9e9628e0.js} +1 -1
- package/dist/cjs/{mk-a116ba94.js → mk-50f9e11e.js} +18 -17
- package/dist/cjs/{nb-f68eaea0.js → nb-5e0ec2f5.js} +18 -17
- package/dist/cjs/{nl-d5b860ef.js → nl-2749200d.js} +18 -17
- package/dist/cjs/{observers-9c222c56.js → observers-b32032dc.js} +1 -1
- package/dist/cjs/{openCloseComponent-ca0a4b20.js → openCloseComponent-ed9203f3.js} +2 -2
- package/dist/cjs/{pl-6d39025e.js → pl-9307de0d.js} +18 -17
- package/dist/cjs/{pt-6f15a239.js → pt-93df256e.js} +18 -17
- package/dist/cjs/{pt-br-de93636d.js → pt-br-3f5f3383.js} +18 -17
- package/dist/cjs/{resources-4ccebb8a.js → resources-2d2b91f9.js} +1 -1
- package/dist/cjs/{resources-7f63d66f.js → resources-5b4942c2.js} +1 -1
- package/dist/cjs/{resources-862d405e.js → resources-77f17b12.js} +1 -1
- package/dist/cjs/{resources-8cce4517.js → resources-7a49a31d.js} +1 -1
- package/dist/cjs/{resources-e00951ef.js → resources-a3ed8610.js} +1 -1
- package/dist/cjs/{resources-774c42f1.js → resources-ad716de6.js} +1 -1
- package/dist/cjs/{resources-5ebaff35.js → resources-b4597195.js} +5 -5
- package/dist/cjs/{ro-54cfa0d2.js → ro-225ef240.js} +18 -17
- package/dist/cjs/{ru-ca012014.js → ru-0306741b.js} +18 -17
- package/dist/cjs/{sk-d68bcfab.js → sk-a6c7978e.js} +18 -17
- package/dist/cjs/sl-32cebea7.js +166 -0
- package/dist/cjs/{sortableComponent-6605152f.js → sortableComponent-dc63b318.js} +5 -5
- package/dist/cjs/{sr-73389d67.js → sr-9da6cd3e.js} +18 -17
- package/dist/cjs/{sv-3ab42562.js → sv-09743209.js} +18 -17
- package/dist/cjs/{t9n-a6e91381.js → t9n-bd4bca3a.js} +3 -3
- package/dist/cjs/{th-50b95467.js → th-25b1bb5b.js} +18 -17
- package/dist/cjs/{throttle-7cd472d4.js → throttle-fd37b4f5.js} +2 -2
- package/dist/cjs/{tr-a4723435.js → tr-7beba26d.js} +18 -17
- package/dist/cjs/{uk-c93c486a.js → uk-7c50a84c.js} +18 -17
- package/dist/cjs/{utils-021e1783.js → utils-b5deb79b.js} +1 -1
- package/dist/cjs/{utils-c94647f2.js → utils-e10a4cfa.js} +3 -3
- package/dist/cjs/{vi-1360b86a.js → vi-a0552105.js} +18 -17
- package/dist/cjs/{zh-cn-b8681f2f.js → zh-cn-f16b31f6.js} +18 -17
- package/dist/cjs/{zh-hk-cae5a1de.js → zh-hk-7e71c641.js} +18 -17
- package/dist/cjs/{zh-tw-792b31db.js → zh-tw-6b203e60.js} +18 -17
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +2 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +8 -5
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +5 -4
- package/dist/collection/components/action-group/action-group.css +6 -2
- 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 +0 -1
- package/dist/collection/components/action-menu/action-menu.js +30 -3
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +4 -3
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +94 -3
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +10 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +2 -3
- package/dist/collection/components/dropdown/resources.js +1 -4
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +5 -2
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +2 -2
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/projectTemplate16.json +1 -0
- package/dist/collection/components/icon/assets/icon/projectTemplate24.json +1 -0
- package/dist/collection/components/icon/assets/icon/projectTemplate32.json +1 -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.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +85 -5
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +16 -12
- package/dist/collection/components/list/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +62 -5
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +5 -4
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +41 -56
- package/dist/collection/components/pagination/pagination.js +180 -110
- package/dist/collection/components/pagination/resources.js +5 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +12 -12
- package/dist/collection/components/stepper-item/resources.js +15 -0
- package/dist/collection/components/stepper-item/stepper-item.css +12 -0
- package/dist/collection/components/stepper-item/stepper-item.js +4 -4
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +2 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +3 -1
- package/dist/collection/utils/sortableComponent.js +5 -5
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +5 -4
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +6 -4
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +4 -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 +8 -5
- 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 +4 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +32 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +2 -2
- package/dist/components/calcite-flow.js +5 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +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 +35 -9
- 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 +16 -12
- 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 +30 -3
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +5 -4
- 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 +15 -5
- package/dist/components/calcite-stepper.js +12 -12
- 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 +2 -2
- 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 +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +2 -3
- 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 +30 -14
- 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 +2 -2
- 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 +158 -58
- 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 +115 -13
- package/dist/components/sortableComponent.js +5 -5
- 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 +2 -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-e85f9cd7.js → ExpandToggle-f79c01aa.js} +9 -8
- package/dist/esm/{FloatingArrow-f2d6a6d4.js → FloatingArrow-04dfbd97.js} +2 -2
- package/dist/esm/{Heading-d1438ee0.js → Heading-98351dd9.js} +2 -2
- package/dist/esm/{app-globals-6f6f7a6d.js → app-globals-9264883b.js} +2 -2
- package/dist/esm/{ar-0c125b1c.js → ar-49dd670a.js} +21 -17
- package/dist/esm/{array-a779c257.js → array-16883c58.js} +1 -1
- package/dist/esm/{bg-32ab2174.js → bg-dc75b45d.js} +18 -17
- package/dist/esm/{browser-1f46db12.js → browser-a4117011.js} +1 -1
- package/dist/esm/{bs-b1a0d839.js → bs-b2391e3f.js} +18 -17
- package/dist/esm/{ca-ddfc2a5d.js → ca-f6fcc19b.js} +18 -17
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +22 -19
- package/dist/esm/calcite-action-group.entry.js +14 -14
- package/dist/esm/calcite-action-menu.entry.js +13 -12
- 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 +15 -14
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +45 -15
- 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 +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +19 -19
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +14 -15
- 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 +14 -14
- package/dist/esm/calcite-flow.entry.js +8 -5
- 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-1868737f.js → calcite-input-time-picker.calcite-time-picker-fbfa2fd4.js} +95 -69
- package/dist/esm/calcite-input-time-picker_2.entry.js +18 -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 +30 -26
- 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 +41 -14
- package/dist/esm/calcite-option_3.entry.js +15 -14
- package/dist/esm/calcite-pagination.entry.js +161 -64
- 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 +34 -23
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +12 -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 +6 -6
- package/dist/esm/{conditionalSlot-fbcea850.js → conditionalSlot-3bfb71fe.js} +3 -3
- package/dist/esm/{cs-724060c5.js → cs-4db62f4d.js} +18 -17
- package/dist/esm/{da-228dd449.js → da-1b4d167f.js} +18 -17
- package/dist/esm/{de-fc0c8fc8.js → de-5a22d083.js} +18 -17
- package/dist/esm/{de-at-e735f1f1.js → de-at-227c0fdc.js} +18 -17
- package/dist/esm/{de-ch-7ee786d6.js → de-ch-754adad4.js} +18 -17
- package/dist/esm/{debounce-12caf7b3.js → debounce-eb63b3c4.js} +1 -1
- package/dist/esm/{dom-e7d573dc.js → dom-41e9b097.js} +3 -3
- package/dist/esm/{el-a2878767.js → el-08566113.js} +18 -17
- package/dist/esm/{en-au-4bd689d9.js → en-au-f0f2e9e6.js} +18 -17
- package/dist/esm/{en-ca-1f529c42.js → en-ca-74031c02.js} +18 -17
- package/dist/esm/{en-gb-842808fa.js → en-gb-b2f05989.js} +18 -17
- package/dist/esm/{es-94b48a83.js → es-7954e3c0.js} +18 -17
- package/dist/esm/{es-mx-0b382bf9.js → es-mx-c8e5f7ed.js} +18 -17
- package/dist/esm/{et-8ea2e3fe.js → et-fc4618c4.js} +18 -17
- package/dist/esm/{fi-785f17bb.js → fi-d2195f3c.js} +18 -17
- package/dist/esm/{filter-2a4fc05e.js → filter-0cb3bfa5.js} +2 -2
- package/dist/esm/{floating-ui-bd65f094.js → floating-ui-fe735b28.js} +32 -16
- package/dist/esm/{focusTrapComponent-933fa3b8.js → focusTrapComponent-37e525fd.js} +2 -2
- package/dist/esm/{form-5a49a6de.js → form-ff033513.js} +3 -3
- package/dist/esm/{fr-cb6b23a9.js → fr-c5c5e019.js} +18 -17
- package/dist/esm/{fr-ch-682abb47.js → fr-ch-afb1e399.js} +18 -17
- package/dist/esm/{guid-05ebe381.js → guid-6fa53ef2.js} +1 -1
- package/dist/esm/{he-6e41b5e9.js → he-49d7d5bc.js} +18 -17
- package/dist/esm/{hi-e589e86b.js → hi-b9d881c9.js} +18 -17
- package/dist/esm/{hr-3d719701.js → hr-9bcace0d.js} +18 -17
- package/dist/esm/{hu-ce8a5799.js → hu-35ce002a.js} +18 -17
- package/dist/esm/{id-b389e133.js → id-9b270d72.js} +18 -17
- package/dist/esm/{index-5a7d9954.js → index-945238e8.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-1c6f7ad6.js → interactive-e25ea779.js} +2 -2
- package/dist/esm/{it-ch-778695ed.js → it-ch-ca72e751.js} +18 -17
- package/dist/esm/{it-c949d202.js → it-d03e6a28.js} +18 -17
- package/dist/esm/{ja-198c3f19.js → ja-26b74e74.js} +18 -17
- package/dist/esm/{key-0b4ea65d.js → key-326fc004.js} +1 -1
- package/dist/esm/{ko-dc7945b9.js → ko-1eb27406.js} +19 -18
- package/dist/esm/{label-a882dbfe.js → label-63b096c8.js} +2 -2
- package/dist/esm/{loadable-b52acfd2.js → loadable-4b31c445.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-4e3c8cfa.js → locale-5c391c44.js} +4 -4
- package/dist/esm/{lt-ad3cf385.js → lt-f41167e3.js} +18 -17
- package/dist/esm/{lv-505c9248.js → lv-53757a3c.js} +18 -17
- package/dist/esm/{math-4eb9295c.js → math-52e8c6fe.js} +1 -1
- package/dist/esm/{mk-923484dc.js → mk-a5afe05a.js} +18 -17
- package/dist/esm/{nb-444139a9.js → nb-6f41dee3.js} +18 -17
- package/dist/esm/{nl-38eb38b1.js → nl-2204176c.js} +18 -17
- package/dist/esm/{observers-5eed72df.js → observers-25f21ed9.js} +1 -1
- package/dist/esm/{openCloseComponent-24fe3915.js → openCloseComponent-91b9b7ca.js} +2 -2
- package/dist/esm/{pl-556c4e53.js → pl-0a36f0e5.js} +18 -17
- package/dist/esm/{pt-br-d4f0588b.js → pt-br-5e1905c8.js} +18 -17
- package/dist/esm/{pt-ea4a96ad.js → pt-e35f60ea.js} +18 -17
- package/dist/esm/{resources-036c215c.js → resources-333473cc.js} +1 -1
- package/dist/esm/{resources-c4dfb2d5.js → resources-606ca7fd.js} +1 -1
- package/dist/esm/{resources-9dcbb2e9.js → resources-70ad52c7.js} +1 -1
- package/dist/esm/{resources-30b95fc9.js → resources-89addd0c.js} +5 -5
- package/dist/esm/{resources-b24a6ae4.js → resources-b978115a.js} +1 -1
- package/dist/esm/{resources-0dce365d.js → resources-e20bef51.js} +1 -1
- package/dist/esm/{resources-a1f7b31f.js → resources-fbe3f486.js} +1 -1
- package/dist/esm/{ro-31cb4a7f.js → ro-3bca4107.js} +18 -17
- package/dist/esm/{ru-4c6a90e1.js → ru-0dcfc286.js} +18 -17
- package/dist/esm/{sk-a5d7433d.js → sk-f2231ad3.js} +18 -17
- package/dist/esm/sl-593e9a33.js +164 -0
- package/dist/esm/{sortableComponent-0e13dada.js → sortableComponent-000e27a7.js} +5 -5
- package/dist/esm/{sr-28adcfe1.js → sr-876d38bb.js} +18 -17
- package/dist/esm/{sv-6419d761.js → sv-2dba2cf8.js} +18 -17
- package/dist/esm/{t9n-c4333472.js → t9n-aab5d964.js} +3 -3
- package/dist/esm/{th-c952bb82.js → th-7b63765b.js} +18 -17
- package/dist/esm/{throttle-9d195510.js → throttle-bd0dab9a.js} +2 -2
- package/dist/esm/{tr-c68fbeb2.js → tr-41e7dfd6.js} +18 -17
- package/dist/esm/{uk-638406e4.js → uk-5ffbfd6a.js} +18 -17
- package/dist/esm/{utils-e3afb363.js → utils-2e629d1c.js} +3 -3
- package/dist/esm/{utils-7508ce34.js → utils-a1ed0d40.js} +1 -1
- package/dist/esm/{vi-59d1995f.js → vi-5ea7ce7d.js} +18 -17
- package/dist/esm/{zh-cn-11a7f095.js → zh-cn-923a15d0.js} +18 -17
- package/dist/esm/{zh-hk-0e1be527.js → zh-hk-692959e2.js} +18 -17
- package/dist/esm/{zh-tw-166188c8.js → zh-tw-22859488.js} +18 -17
- package/dist/extras/docs-json.json +181 -35
- package/dist/extras/vscode-data.json +12 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action/action.d.ts +1 -0
- package/dist/types/components/action-menu/action-menu.d.ts +3 -1
- package/dist/types/components/block/block.d.ts +20 -1
- package/dist/types/components/dropdown/resources.d.ts +0 -3
- package/dist/types/components/flow/flow.d.ts +1 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +18 -3
- package/dist/types/components/notice/notice.d.ts +16 -3
- package/dist/types/components/pagination/pagination.d.ts +22 -15
- package/dist/types/components/pagination/resources.d.ts +4 -0
- package/dist/types/components/stepper/assets/stepper/t9n/index.d.ts +3 -0
- package/dist/types/components/stepper/stepper.d.ts +1 -0
- package/dist/types/components/stepper-item/assets/stepper-item/t9n/index.d.ts +3 -0
- package/dist/types/components/stepper-item/resources.d.ts +10 -0
- package/dist/types/components.d.ts +51 -2
- package/dist/types/preact.d.ts +13 -3
- package/dist/types/utils/openCloseComponent.d.ts +1 -1
- package/dist/types/utils/responsive.d.ts +3 -2
- package/dist/types/utils/sortableComponent.d.ts +2 -0
- package/hydrate/index.js +953 -626
- package/package.json +8 -8
- package/dist/calcite/p-00683563.js +0 -6
- package/dist/calcite/p-00cc2a2f.js +0 -6
- package/dist/calcite/p-01a4c9c2.js +0 -6
- package/dist/calcite/p-06c9b6ce.js +0 -6
- package/dist/calcite/p-115ce7ef.js +0 -6
- package/dist/calcite/p-11926af1.js +0 -6
- package/dist/calcite/p-133f8bdb.js +0 -6
- package/dist/calcite/p-1ce1505b.js +0 -6
- package/dist/calcite/p-1d828472.js +0 -6
- package/dist/calcite/p-22490fcd.js +0 -6
- package/dist/calcite/p-2b2ca0f3.js +0 -6
- package/dist/calcite/p-2cf4fea3.js +0 -6
- package/dist/calcite/p-3b942167.js +0 -6
- package/dist/calcite/p-403a423a.entry.js +0 -6
- package/dist/calcite/p-4454ce5b.js +0 -6
- package/dist/calcite/p-46b6aad2.entry.js +0 -6
- package/dist/calcite/p-4ae3f22f.js +0 -6
- package/dist/calcite/p-4b74c7c4.js +0 -6
- package/dist/calcite/p-4e88a256.js +0 -6
- package/dist/calcite/p-5120e593.js +0 -6
- package/dist/calcite/p-53d35126.js +0 -6
- package/dist/calcite/p-548c94bf.js +0 -6
- package/dist/calcite/p-56070331.js +0 -6
- package/dist/calcite/p-5ae294eb.entry.js +0 -6
- package/dist/calcite/p-5b0b39d8.js +0 -6
- package/dist/calcite/p-5bb0d7a9.entry.js +0 -6
- package/dist/calcite/p-5c8bb369.entry.js +0 -6
- package/dist/calcite/p-5e03a181.js +0 -6
- package/dist/calcite/p-64db4212.js +0 -6
- package/dist/calcite/p-6fd36c54.js +0 -6
- package/dist/calcite/p-7442ca43.js +0 -6
- package/dist/calcite/p-747e7028.js +0 -6
- package/dist/calcite/p-74ee1070.entry.js +0 -6
- package/dist/calcite/p-778ba03c.js +0 -6
- package/dist/calcite/p-77fa0c5c.entry.js +0 -6
- package/dist/calcite/p-7c965c0e.js +0 -6
- package/dist/calcite/p-7f276abe.js +0 -6
- package/dist/calcite/p-85a548bb.entry.js +0 -6
- package/dist/calcite/p-8dc97289.entry.js +0 -6
- package/dist/calcite/p-8de8706a.entry.js +0 -6
- package/dist/calcite/p-8e935a7e.js +0 -6
- package/dist/calcite/p-90b27f53.js +0 -6
- package/dist/calcite/p-9102f7ed.js +0 -6
- package/dist/calcite/p-9702da27.entry.js +0 -6
- package/dist/calcite/p-9735a3d7.js +0 -6
- package/dist/calcite/p-9e745fe1.js +0 -6
- package/dist/calcite/p-9f9da502.js +0 -6
- package/dist/calcite/p-a44e6c9e.entry.js +0 -6
- package/dist/calcite/p-add33c5f.js +0 -6
- package/dist/calcite/p-b0d2eaf2.js +0 -6
- package/dist/calcite/p-b1b99c11.js +0 -6
- package/dist/calcite/p-b2a1d80f.js +0 -6
- package/dist/calcite/p-b3e857a0.js +0 -6
- package/dist/calcite/p-b66f055c.js +0 -6
- package/dist/calcite/p-c0c09f54.js +0 -6
- package/dist/calcite/p-c1bffb70.js +0 -6
- package/dist/calcite/p-cb074a1a.js +0 -6
- package/dist/calcite/p-cbc7ec28.js +0 -6
- package/dist/calcite/p-cdf6fd13.entry.js +0 -6
- package/dist/calcite/p-d6185a28.js +0 -6
- package/dist/calcite/p-d9c6ad79.entry.js +0 -6
- package/dist/calcite/p-dd3a2dd6.entry.js +0 -6
- package/dist/calcite/p-e102e3da.js +0 -6
- package/dist/calcite/p-e20cc222.js +0 -6
- package/dist/calcite/p-ea4c2967.entry.js +0 -6
- package/dist/calcite/p-edc5eaa9.js +0 -6
- package/dist/calcite/p-f190edec.js +0 -6
- package/dist/calcite/p-f1adba63.js +0 -6
- package/dist/calcite/p-f3dccb64.js +0 -6
- package/dist/calcite/p-f60136df.entry.js +0 -6
- package/dist/calcite/p-f82a6edf.js +0 -6
- package/dist/calcite/p-fa2d43ce.js +0 -6
- package/dist/calcite/p-fbffa984.js +0 -6
- package/dist/cjs/sl-48b82032.js +0 -63
- package/dist/esm/sl-588598fc.js +0 -61
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.9.0-next.
|
|
4
|
+
* v1.9.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6989,7 +6989,7 @@ const SLOTS$z = {
|
|
|
6989
6989
|
actionsStart: "actions-start",
|
|
6990
6990
|
actionsEnd: "actions-end",
|
|
6991
6991
|
};
|
|
6992
|
-
const CSS$
|
|
6992
|
+
const CSS$1d = {
|
|
6993
6993
|
icon: "icon",
|
|
6994
6994
|
header: "header",
|
|
6995
6995
|
headerContent: "header-content",
|
|
@@ -7057,28 +7057,28 @@ class AccordionItem {
|
|
|
7057
7057
|
// --------------------------------------------------------------------------
|
|
7058
7058
|
renderActionsStart() {
|
|
7059
7059
|
const { el } = this;
|
|
7060
|
-
return getSlotted(el, SLOTS$z.actionsStart) ? (hAsync("div", { class: CSS$
|
|
7060
|
+
return getSlotted(el, SLOTS$z.actionsStart) ? (hAsync("div", { class: CSS$1d.actionsStart }, hAsync("slot", { name: SLOTS$z.actionsStart }))) : null;
|
|
7061
7061
|
}
|
|
7062
7062
|
renderActionsEnd() {
|
|
7063
7063
|
const { el } = this;
|
|
7064
|
-
return getSlotted(el, SLOTS$z.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
7064
|
+
return getSlotted(el, SLOTS$z.actionsEnd) ? (hAsync("div", { class: CSS$1d.actionsEnd }, hAsync("slot", { name: SLOTS$z.actionsEnd }))) : null;
|
|
7065
7065
|
}
|
|
7066
7066
|
render() {
|
|
7067
7067
|
const { iconFlipRtl } = this;
|
|
7068
7068
|
const dir = getElementDir(this.el);
|
|
7069
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7070
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7069
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$1d.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7070
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$1d.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7071
7071
|
const { description } = this;
|
|
7072
7072
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7073
7073
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7074
7074
|
[`icon-type--${this.iconType}`]: true,
|
|
7075
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7075
|
+
} }, hAsync("div", { class: { [CSS$1d.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-controls": IDS$2.section, "aria-expanded": toAriaBoolean(this.expanded), class: CSS$1d.headerContent, id: IDS$2.sectionToggle, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$1d.headerContainer }, iconStartEl, hAsync("div", { class: CSS$1d.headerText }, hAsync("span", { class: CSS$1d.heading }, this.heading), description ? hAsync("span", { class: CSS$1d.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$1d.expandIcon, icon: this.iconType === "chevron"
|
|
7076
7076
|
? "chevronDown"
|
|
7077
7077
|
: this.iconType === "caret"
|
|
7078
7078
|
? "caretDown"
|
|
7079
7079
|
: this.expanded
|
|
7080
7080
|
? "minus"
|
|
7081
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("section", { "aria-labelledby": IDS$2.sectionToggle, class: CSS$
|
|
7081
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("section", { "aria-labelledby": IDS$2.sectionToggle, class: CSS$1d.content, id: IDS$2.section }, hAsync("slot", null)))));
|
|
7082
7082
|
}
|
|
7083
7083
|
//--------------------------------------------------------------------------
|
|
7084
7084
|
//
|
|
@@ -8000,7 +8000,7 @@ function defaultOnMessagesChange() {
|
|
|
8000
8000
|
mergeMessages(this);
|
|
8001
8001
|
}
|
|
8002
8002
|
|
|
8003
|
-
const CSS$
|
|
8003
|
+
const CSS$1c = {
|
|
8004
8004
|
button: "button",
|
|
8005
8005
|
buttonTextVisible: "button--text-visible",
|
|
8006
8006
|
buttonCompact: "button--compact",
|
|
@@ -8019,6 +8019,7 @@ const actionCss = "/*!@:host*/.sc-calcite-action-h{box-sizing:border-box;backgro
|
|
|
8019
8019
|
|
|
8020
8020
|
/**
|
|
8021
8021
|
* @slot - A slot for adding a `calcite-icon`.
|
|
8022
|
+
* @slot tooltip - A slot for adding a `calcite-tooltip`.
|
|
8022
8023
|
*/
|
|
8023
8024
|
class Action {
|
|
8024
8025
|
constructor(hostRef) {
|
|
@@ -8111,14 +8112,14 @@ class Action {
|
|
|
8111
8112
|
renderTextContainer() {
|
|
8112
8113
|
const { text, textEnabled } = this;
|
|
8113
8114
|
const textContainerClasses = {
|
|
8114
|
-
[CSS$
|
|
8115
|
-
[CSS$
|
|
8115
|
+
[CSS$1c.textContainer]: true,
|
|
8116
|
+
[CSS$1c.textContainerVisible]: textEnabled,
|
|
8116
8117
|
};
|
|
8117
8118
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8118
8119
|
}
|
|
8119
8120
|
renderIndicatorText() {
|
|
8120
8121
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8121
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8122
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$1c.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8122
8123
|
}
|
|
8123
8124
|
renderIconContainer() {
|
|
8124
8125
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8129,18 +8130,18 @@ class Action {
|
|
|
8129
8130
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8130
8131
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8131
8132
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8132
|
-
[CSS$
|
|
8133
|
-
[CSS$
|
|
8133
|
+
[CSS$1c.slotContainer]: true,
|
|
8134
|
+
[CSS$1c.slotContainerHidden]: loading,
|
|
8134
8135
|
} }, hAsync("slot", null)));
|
|
8135
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8136
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$1c.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8136
8137
|
}
|
|
8137
8138
|
render() {
|
|
8138
8139
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8139
8140
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8140
8141
|
const buttonClasses = {
|
|
8141
|
-
[CSS$
|
|
8142
|
-
[CSS$
|
|
8143
|
-
[CSS$
|
|
8142
|
+
[CSS$1c.button]: true,
|
|
8143
|
+
[CSS$1c.buttonTextVisible]: textEnabled,
|
|
8144
|
+
[CSS$1c.buttonCompact]: compact,
|
|
8144
8145
|
};
|
|
8145
8146
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
8146
8147
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
@@ -9449,14 +9450,14 @@ const SLOTS$x = {
|
|
|
9449
9450
|
menuActions: "menu-actions",
|
|
9450
9451
|
menuTooltip: "menu-tooltip",
|
|
9451
9452
|
};
|
|
9452
|
-
const ICONS$
|
|
9453
|
+
const ICONS$k = {
|
|
9453
9454
|
menu: "ellipsis",
|
|
9454
9455
|
};
|
|
9455
|
-
const CSS$
|
|
9456
|
+
const CSS$1b = {
|
|
9456
9457
|
container: "container",
|
|
9457
9458
|
};
|
|
9458
9459
|
|
|
9459
|
-
const CSS$
|
|
9460
|
+
const CSS$1a = {
|
|
9460
9461
|
menu: "menu",
|
|
9461
9462
|
defaultTrigger: "default-trigger",
|
|
9462
9463
|
};
|
|
@@ -9464,7 +9465,7 @@ const SLOTS$w = {
|
|
|
9464
9465
|
tooltip: "tooltip",
|
|
9465
9466
|
trigger: "trigger",
|
|
9466
9467
|
};
|
|
9467
|
-
const ICONS$
|
|
9468
|
+
const ICONS$j = {
|
|
9468
9469
|
menu: "ellipsis",
|
|
9469
9470
|
};
|
|
9470
9471
|
|
|
@@ -9472,10 +9473,11 @@ const overflowActionsDebounceInMs = 150;
|
|
|
9472
9473
|
const groupBufferPx = 2;
|
|
9473
9474
|
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
9474
9475
|
const geActionDimensions = (actions) => {
|
|
9475
|
-
const
|
|
9476
|
+
const actionsNotSlotted = actions.filter((action) => action.slot !== SLOTS$x.menuActions);
|
|
9477
|
+
const actionLen = actionsNotSlotted?.length;
|
|
9476
9478
|
return {
|
|
9477
|
-
actionWidth: actionLen ? getAverage(
|
|
9478
|
-
actionHeight: actionLen ? getAverage(
|
|
9479
|
+
actionWidth: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientWidth || 0)) : 0,
|
|
9480
|
+
actionHeight: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientHeight || 0)) : 0,
|
|
9479
9481
|
};
|
|
9480
9482
|
};
|
|
9481
9483
|
const getMaxActionCount = ({ width, actionWidth, layout, height, actionHeight, groupCount, }) => {
|
|
@@ -9518,7 +9520,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount, }) => {
|
|
|
9518
9520
|
});
|
|
9519
9521
|
};
|
|
9520
9522
|
|
|
9521
|
-
const ICONS$
|
|
9523
|
+
const ICONS$i = {
|
|
9522
9524
|
chevronsLeft: "chevrons-left",
|
|
9523
9525
|
chevronsRight: "chevrons-right",
|
|
9524
9526
|
};
|
|
@@ -9543,7 +9545,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref, }) => {
|
|
|
9543
9545
|
const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position, tooltip, ref, scale, }) => {
|
|
9544
9546
|
const rtl = getElementDir(el) === "rtl";
|
|
9545
9547
|
const text = expanded ? collapseText : expandText;
|
|
9546
|
-
const icons = [ICONS$
|
|
9548
|
+
const icons = [ICONS$i.chevronsLeft, ICONS$i.chevronsRight];
|
|
9547
9549
|
if (rtl) {
|
|
9548
9550
|
icons.reverse();
|
|
9549
9551
|
}
|
|
@@ -9556,7 +9558,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9556
9558
|
return actionNode;
|
|
9557
9559
|
};
|
|
9558
9560
|
|
|
9559
|
-
const CSS$
|
|
9561
|
+
const CSS$19 = {
|
|
9560
9562
|
actionGroupEnd: "action-group--end",
|
|
9561
9563
|
};
|
|
9562
9564
|
const SLOTS$v = {
|
|
@@ -9679,9 +9681,12 @@ class ActionBar {
|
|
|
9679
9681
|
this.updateGroups();
|
|
9680
9682
|
}
|
|
9681
9683
|
overflowDisabledHandler(overflowActionsDisabled) {
|
|
9682
|
-
overflowActionsDisabled
|
|
9683
|
-
|
|
9684
|
-
|
|
9684
|
+
if (overflowActionsDisabled) {
|
|
9685
|
+
this.resizeObserver?.disconnect();
|
|
9686
|
+
return;
|
|
9687
|
+
}
|
|
9688
|
+
this.resizeObserver?.observe(this.el);
|
|
9689
|
+
this.overflowActions();
|
|
9685
9690
|
}
|
|
9686
9691
|
onMessagesChange() {
|
|
9687
9692
|
/* wired up by t9n util */
|
|
@@ -9759,7 +9764,7 @@ class ActionBar {
|
|
|
9759
9764
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9760
9765
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
9761
9766
|
ref: this.setExpandToggleRef })) : null;
|
|
9762
|
-
return (hAsync("calcite-action-group", { class: CSS$
|
|
9767
|
+
return (hAsync("calcite-action-group", { class: CSS$19.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$v.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$v.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$v.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9763
9768
|
}
|
|
9764
9769
|
render() {
|
|
9765
9770
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9802,7 +9807,7 @@ class ActionBar {
|
|
|
9802
9807
|
}; }
|
|
9803
9808
|
}
|
|
9804
9809
|
|
|
9805
|
-
const actionGroupCss = "/*!@:host*/.sc-calcite-action-group-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-group-h *.sc-calcite-action-group{box-sizing:border-box}/*!@:host*/.sc-calcite-action-group-h{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}/*!@.container*/.container.sc-calcite-action-group{display:flex;flex-grow:1;flex-direction:column}/*!@:host([columns=\"1\"])*/[columns=\"1\"].sc-calcite-action-group-h{--calcite-action-group-columns:1}/*!@:host([columns=\"2\"])*/[columns=\"2\"].sc-calcite-action-group-h{--calcite-action-group-columns:2}/*!@:host([columns=\"3\"])*/[columns=\"3\"].sc-calcite-action-group-h{--calcite-action-group-columns:3}/*!@:host([columns=\"4\"])*/[columns=\"4\"].sc-calcite-action-group-h{--calcite-action-group-columns:4}/*!@:host([columns=\"5\"])*/[columns=\"5\"].sc-calcite-action-group-h{--calcite-action-group-columns:5}/*!@:host([columns=\"6\"])*/[columns=\"6\"].sc-calcite-action-group-h{--calcite-action-group-columns:6}/*!@:host(:first-child)*/.sc-calcite-action-group-h:first-child{padding-block-start:0px}/*!@:host([layout=horizontal]),\n:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-group-h,[layout=horizontal].sc-calcite-action-group-h .container.sc-calcite-action-group{flex-direction:row}/*!@:host([layout=grid])*/[layout=grid].sc-calcite-action-group-h{display:grid}/*!@:host([layout=grid]) .container*/[layout=grid].sc-calcite-action-group-h .container.sc-calcite-action-group{display:grid;place-content:stretch;
|
|
9810
|
+
const actionGroupCss = "/*!@:host*/.sc-calcite-action-group-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-group-h *.sc-calcite-action-group{box-sizing:border-box}/*!@:host*/.sc-calcite-action-group-h{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3;--calcite-action-group-gap:1px;--calcite-action-group-padding:1px}/*!@.container*/.container.sc-calcite-action-group{display:flex;flex-grow:1;flex-direction:column}/*!@:host([columns=\"1\"])*/[columns=\"1\"].sc-calcite-action-group-h{--calcite-action-group-columns:1}/*!@:host([columns=\"2\"])*/[columns=\"2\"].sc-calcite-action-group-h{--calcite-action-group-columns:2}/*!@:host([columns=\"3\"])*/[columns=\"3\"].sc-calcite-action-group-h{--calcite-action-group-columns:3}/*!@:host([columns=\"4\"])*/[columns=\"4\"].sc-calcite-action-group-h{--calcite-action-group-columns:4}/*!@:host([columns=\"5\"])*/[columns=\"5\"].sc-calcite-action-group-h{--calcite-action-group-columns:5}/*!@:host([columns=\"6\"])*/[columns=\"6\"].sc-calcite-action-group-h{--calcite-action-group-columns:6}/*!@:host(:first-child)*/.sc-calcite-action-group-h:first-child{padding-block-start:0px}/*!@:host([layout=horizontal]),\n:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-group-h,[layout=horizontal].sc-calcite-action-group-h .container.sc-calcite-action-group{flex-direction:row}/*!@:host([layout=grid])*/[layout=grid].sc-calcite-action-group-h{display:grid}/*!@:host([layout=grid]) .container*/[layout=grid].sc-calcite-action-group-h .container.sc-calcite-action-group{display:grid;place-content:stretch;background-color:var(--calcite-ui-background);gap:var(--calcite-action-group-gap);padding:var(--calcite-action-group-gap);grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}/*!@:host([hidden])*/[hidden].sc-calcite-action-group-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-group{display:none}";
|
|
9806
9811
|
|
|
9807
9812
|
/**
|
|
9808
9813
|
* @slot - A slot for adding a group of `calcite-action`s.
|
|
@@ -9884,10 +9889,10 @@ class ActionGroup {
|
|
|
9884
9889
|
// --------------------------------------------------------------------------
|
|
9885
9890
|
renderMenu() {
|
|
9886
9891
|
const { expanded, menuOpen, scale, layout, messages, overlayPositioning, hasMenuActions } = this;
|
|
9887
|
-
return (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], hidden: !hasMenuActions, label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, overlayPositioning: overlayPositioning, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$
|
|
9892
|
+
return (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], hidden: !hasMenuActions, label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, overlayPositioning: overlayPositioning, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$k.menu, scale: scale, slot: SLOTS$w.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$x.menuActions, onSlotchange: this.handleMenuActionsSlotChange }), hAsync("slot", { name: SLOTS$x.menuTooltip, slot: SLOTS$w.tooltip })));
|
|
9888
9893
|
}
|
|
9889
9894
|
render() {
|
|
9890
|
-
return (hAsync("div", { "aria-label": this.label, class: CSS$
|
|
9895
|
+
return (hAsync("div", { "aria-label": this.label, class: CSS$1b.container, role: "group" }, hAsync("slot", null), this.renderMenu()));
|
|
9891
9896
|
}
|
|
9892
9897
|
static get delegatesFocus() { return true; }
|
|
9893
9898
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -9926,7 +9931,7 @@ function getRoundRobinIndex(index, total) {
|
|
|
9926
9931
|
return (index + total) % total;
|
|
9927
9932
|
}
|
|
9928
9933
|
|
|
9929
|
-
const actionMenuCss = "/*!@:host*/.sc-calcite-action-menu-h{box-sizing:border-box;display:flex;flex-direction:column;
|
|
9934
|
+
const actionMenuCss = "/*!@:host*/.sc-calcite-action-menu-h{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}/*!@.menu ::slotted(calcite-action)*/.menu .sc-calcite-action-menu-s>calcite-action{margin:0.125rem;display:flex;outline-color:transparent}/*!@.menu ::slotted(calcite-action[active])*/.menu .sc-calcite-action-menu-s>calcite-action[active]{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:0px}/*!@.default-trigger*/.default-trigger.sc-calcite-action-menu{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}/*!@slot[name=trigger]::slotted(calcite-action),\ncalcite-action::slotted([slot=trigger])*/slot[name=trigger].sc-calcite-action-menu-s>calcite-action,calcite-action.sc-calcite-action-menu-s>[slot=trigger]{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}/*!@.menu*/.menu.sc-calcite-action-menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}/*!@:host([hidden])*/[hidden].sc-calcite-action-menu-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-menu{display:none}";
|
|
9930
9935
|
|
|
9931
9936
|
const SUPPORTED_MENU_NAV_KEYS = ["ArrowUp", "ArrowDown", "End", "Home"];
|
|
9932
9937
|
/**
|
|
@@ -10110,6 +10115,7 @@ class ActionMenu {
|
|
|
10110
10115
|
this.el.addEventListener("calcitePopoverOpen", this.toggleOpenEnd);
|
|
10111
10116
|
this.open = value;
|
|
10112
10117
|
};
|
|
10118
|
+
this.appearance = "solid";
|
|
10113
10119
|
this.expanded = false;
|
|
10114
10120
|
this.flipPlacements = undefined;
|
|
10115
10121
|
this.label = undefined;
|
|
@@ -10170,8 +10176,8 @@ class ActionMenu {
|
|
|
10170
10176
|
return focusElement(this.menuButtonEl);
|
|
10171
10177
|
}
|
|
10172
10178
|
renderMenuButton() {
|
|
10173
|
-
const { label, scale, expanded } = this;
|
|
10174
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$w.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
10179
|
+
const { appearance, label, scale, expanded } = this;
|
|
10180
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$w.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { appearance: appearance, class: CSS$1a.defaultTrigger, icon: ICONS$j.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10175
10181
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10176
10182
|
ref: this.setDefaultMenuButtonEl })));
|
|
10177
10183
|
return menuButtonSlot;
|
|
@@ -10180,7 +10186,7 @@ class ActionMenu {
|
|
|
10180
10186
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
|
|
10181
10187
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
10182
10188
|
const activeDescendantId = activeAction?.id || null;
|
|
10183
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
10189
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$1a.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
10184
10190
|
}
|
|
10185
10191
|
render() {
|
|
10186
10192
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$w.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -10199,6 +10205,7 @@ class ActionMenu {
|
|
|
10199
10205
|
"$flags$": 9,
|
|
10200
10206
|
"$tagName$": "calcite-action-menu",
|
|
10201
10207
|
"$members$": {
|
|
10208
|
+
"appearance": [513],
|
|
10202
10209
|
"expanded": [516],
|
|
10203
10210
|
"flipPlacements": [16],
|
|
10204
10211
|
"label": [1],
|
|
@@ -10212,11 +10219,11 @@ class ActionMenu {
|
|
|
10212
10219
|
},
|
|
10213
10220
|
"$listeners$": [[9, "pointerdown", "closeCalciteActionMenuOnClick"]],
|
|
10214
10221
|
"$lazyBundleId$": "-",
|
|
10215
|
-
"$attrsToReflect$": [["expanded", "expanded"], ["open", "open"], ["overlayPositioning", "overlay-positioning"], ["placement", "placement"], ["scale", "scale"]]
|
|
10222
|
+
"$attrsToReflect$": [["appearance", "appearance"], ["expanded", "expanded"], ["open", "open"], ["overlayPositioning", "overlay-positioning"], ["placement", "placement"], ["scale", "scale"]]
|
|
10216
10223
|
}; }
|
|
10217
10224
|
}
|
|
10218
10225
|
|
|
10219
|
-
const CSS$
|
|
10226
|
+
const CSS$18 = {
|
|
10220
10227
|
actionGroupEnd: "action-group--end",
|
|
10221
10228
|
container: "container",
|
|
10222
10229
|
};
|
|
@@ -10341,10 +10348,10 @@ class ActionPad {
|
|
|
10341
10348
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
10342
10349
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10343
10350
|
ref: this.setExpandToggleRef })) : null;
|
|
10344
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10351
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$18.actionGroupEnd, label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10345
10352
|
}
|
|
10346
10353
|
render() {
|
|
10347
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10354
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$18.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10348
10355
|
}
|
|
10349
10356
|
static get delegatesFocus() { return true; }
|
|
10350
10357
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10476,7 +10483,7 @@ const SLOTS$t = {
|
|
|
10476
10483
|
message: "message",
|
|
10477
10484
|
link: "link",
|
|
10478
10485
|
};
|
|
10479
|
-
const CSS$
|
|
10486
|
+
const CSS$17 = {
|
|
10480
10487
|
actionsEnd: "actions-end",
|
|
10481
10488
|
container: "container",
|
|
10482
10489
|
close: "alert-close",
|
|
@@ -10592,15 +10599,16 @@ class Alert {
|
|
|
10592
10599
|
connectMessages(this);
|
|
10593
10600
|
const open = this.open;
|
|
10594
10601
|
if (open && !this.queued) {
|
|
10595
|
-
this.openHandler();
|
|
10596
10602
|
this.calciteInternalAlertRegister.emit();
|
|
10597
|
-
onToggleOpenCloseComponent(this);
|
|
10598
10603
|
}
|
|
10599
10604
|
}
|
|
10600
10605
|
async componentWillLoad() {
|
|
10601
10606
|
setUpLoadableComponent(this);
|
|
10602
10607
|
this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);
|
|
10603
10608
|
await setUpMessages(this);
|
|
10609
|
+
if (this.open) {
|
|
10610
|
+
onToggleOpenCloseComponent(this);
|
|
10611
|
+
}
|
|
10604
10612
|
}
|
|
10605
10613
|
componentDidLoad() {
|
|
10606
10614
|
setComponentLoaded(this);
|
|
@@ -10636,10 +10644,10 @@ class Alert {
|
|
|
10636
10644
|
container: true,
|
|
10637
10645
|
queued,
|
|
10638
10646
|
[placement]: true,
|
|
10639
|
-
[CSS$
|
|
10647
|
+
[CSS$17.slottedInShell]: this.slottedInShell,
|
|
10640
10648
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10641
10649
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10642
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$t.title }), hAsync("slot", { name: SLOTS$t.message }), hAsync("slot", { name: SLOTS$t.link })), hAsync("div", { class: CSS$
|
|
10650
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$t.title }), hAsync("slot", { name: SLOTS$t.message }), hAsync("slot", { name: SLOTS$t.link })), hAsync("div", { class: CSS$17.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10643
10651
|
}
|
|
10644
10652
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10645
10653
|
alertSync(event) {
|
|
@@ -11113,7 +11121,7 @@ const IDS$1 = {
|
|
|
11113
11121
|
toggle: "toggle",
|
|
11114
11122
|
header: "header",
|
|
11115
11123
|
};
|
|
11116
|
-
const CSS$
|
|
11124
|
+
const CSS$16 = {
|
|
11117
11125
|
button: "button",
|
|
11118
11126
|
container: "container",
|
|
11119
11127
|
content: "content",
|
|
@@ -11136,7 +11144,7 @@ const SLOTS$s = {
|
|
|
11136
11144
|
control: "control",
|
|
11137
11145
|
headerMenuActions: "header-menu-actions",
|
|
11138
11146
|
};
|
|
11139
|
-
const ICONS$
|
|
11147
|
+
const ICONS$h = {
|
|
11140
11148
|
opened: "chevron-up",
|
|
11141
11149
|
closed: "chevron-down",
|
|
11142
11150
|
valid: "check-circle",
|
|
@@ -11154,7 +11162,12 @@ const blockCss = "/*!@:host*/.sc-calcite-block-h{box-sizing:border-box;backgroun
|
|
|
11154
11162
|
class Block {
|
|
11155
11163
|
constructor(hostRef) {
|
|
11156
11164
|
registerInstance(this, hostRef);
|
|
11165
|
+
this.calciteBlockBeforeClose = createEvent(this, "calciteBlockBeforeClose", 6);
|
|
11166
|
+
this.calciteBlockBeforeOpen = createEvent(this, "calciteBlockBeforeOpen", 6);
|
|
11167
|
+
this.calciteBlockClose = createEvent(this, "calciteBlockClose", 6);
|
|
11168
|
+
this.calciteBlockOpen = createEvent(this, "calciteBlockOpen", 6);
|
|
11157
11169
|
this.calciteBlockToggle = createEvent(this, "calciteBlockToggle", 6);
|
|
11170
|
+
this.openTransitionProp = "opacity";
|
|
11158
11171
|
// --------------------------------------------------------------------------
|
|
11159
11172
|
//
|
|
11160
11173
|
// Private Methods
|
|
@@ -11164,6 +11177,9 @@ class Block {
|
|
|
11164
11177
|
this.open = !this.open;
|
|
11165
11178
|
this.calciteBlockToggle.emit();
|
|
11166
11179
|
};
|
|
11180
|
+
this.setTransitionEl = (el) => {
|
|
11181
|
+
this.transitionEl = el;
|
|
11182
|
+
};
|
|
11167
11183
|
this.collapsible = false;
|
|
11168
11184
|
this.disabled = false;
|
|
11169
11185
|
this.dragHandle = false;
|
|
@@ -11178,6 +11194,9 @@ class Block {
|
|
|
11178
11194
|
this.effectiveLocale = undefined;
|
|
11179
11195
|
this.defaultMessages = undefined;
|
|
11180
11196
|
}
|
|
11197
|
+
openHandler() {
|
|
11198
|
+
onToggleOpenCloseComponent(this);
|
|
11199
|
+
}
|
|
11181
11200
|
onMessagesChange() {
|
|
11182
11201
|
/* wired up by t9n util */
|
|
11183
11202
|
}
|
|
@@ -11194,6 +11213,18 @@ class Block {
|
|
|
11194
11213
|
await componentFocusable(this);
|
|
11195
11214
|
focusFirstTabbable(this.el);
|
|
11196
11215
|
}
|
|
11216
|
+
onBeforeOpen() {
|
|
11217
|
+
this.calciteBlockBeforeOpen.emit();
|
|
11218
|
+
}
|
|
11219
|
+
onOpen() {
|
|
11220
|
+
this.calciteBlockOpen.emit();
|
|
11221
|
+
}
|
|
11222
|
+
onBeforeClose() {
|
|
11223
|
+
this.calciteBlockBeforeClose.emit();
|
|
11224
|
+
}
|
|
11225
|
+
onClose() {
|
|
11226
|
+
this.calciteBlockClose.emit();
|
|
11227
|
+
}
|
|
11197
11228
|
effectiveLocaleChange() {
|
|
11198
11229
|
updateMessages(this);
|
|
11199
11230
|
}
|
|
@@ -11217,6 +11248,9 @@ class Block {
|
|
|
11217
11248
|
async componentWillLoad() {
|
|
11218
11249
|
await setUpMessages(this);
|
|
11219
11250
|
setUpLoadableComponent(this);
|
|
11251
|
+
if (this.open) {
|
|
11252
|
+
onToggleOpenCloseComponent(this);
|
|
11253
|
+
}
|
|
11220
11254
|
}
|
|
11221
11255
|
componentDidLoad() {
|
|
11222
11256
|
setComponentLoaded(this);
|
|
@@ -11237,31 +11271,34 @@ class Block {
|
|
|
11237
11271
|
renderIcon() {
|
|
11238
11272
|
const { loading, messages, status } = this;
|
|
11239
11273
|
const hasSlottedIcon = !!getSlotted(this.el, SLOTS$s.icon);
|
|
11240
|
-
return loading ? (hAsync("div", { class: CSS$
|
|
11241
|
-
[CSS$
|
|
11242
|
-
[CSS$
|
|
11243
|
-
[CSS$
|
|
11244
|
-
}, icon: ICONS$
|
|
11274
|
+
return loading ? (hAsync("div", { class: CSS$16.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$16.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
|
|
11275
|
+
[CSS$16.statusIcon]: true,
|
|
11276
|
+
[CSS$16.valid]: status == "valid",
|
|
11277
|
+
[CSS$16.invalid]: status == "invalid",
|
|
11278
|
+
}, icon: ICONS$h[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$16.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$s.icon }))) : null;
|
|
11245
11279
|
}
|
|
11246
11280
|
renderTitle() {
|
|
11247
11281
|
const { heading, headingLevel, description } = this;
|
|
11248
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11282
|
+
return heading || description ? (hAsync("div", { class: CSS$16.title }, hAsync(Heading, { class: CSS$16.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$16.description }, description) : null)) : null;
|
|
11249
11283
|
}
|
|
11250
11284
|
render() {
|
|
11251
11285
|
const { collapsible, el, loading, open, messages } = this;
|
|
11252
11286
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11253
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11287
|
+
const headerContent = (hAsync("header", { class: CSS$16.header, id: IDS$1.header }, this.renderIcon(), this.renderTitle()));
|
|
11254
11288
|
const hasControl = !!getSlotted(el, SLOTS$s.control);
|
|
11255
11289
|
const hasMenuActions = !!getSlotted(el, SLOTS$s.headerMenuActions);
|
|
11256
|
-
const collapseIcon = open ? ICONS$
|
|
11257
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11290
|
+
const collapseIcon = open ? ICONS$h.opened : ICONS$h.closed;
|
|
11291
|
+
const headerNode = (hAsync("div", { class: CSS$16.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": IDS$1.content, "aria-describedby": IDS$1.header, "aria-expanded": collapsible ? toAriaBoolean(open) : null, class: CSS$16.toggle, id: IDS$1.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$16.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$16.controlContainer }, hAsync("slot", { name: SLOTS$s.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$s.headerMenuActions }))) : null));
|
|
11258
11292
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11259
|
-
[CSS$
|
|
11260
|
-
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$
|
|
11293
|
+
[CSS$16.container]: true,
|
|
11294
|
+
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$16.content, hidden: !open, id: IDS$1.content,
|
|
11295
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
11296
|
+
ref: this.setTransitionEl }, this.renderScrim()))));
|
|
11261
11297
|
}
|
|
11262
11298
|
static get assetsDirs() { return ["assets"]; }
|
|
11263
11299
|
get el() { return getElement(this); }
|
|
11264
11300
|
static get watchers() { return {
|
|
11301
|
+
"open": ["openHandler"],
|
|
11265
11302
|
"messageOverrides": ["onMessagesChange"],
|
|
11266
11303
|
"effectiveLocale": ["effectiveLocaleChange"]
|
|
11267
11304
|
}; }
|
|
@@ -11295,7 +11332,7 @@ const IDS = {
|
|
|
11295
11332
|
content: "content",
|
|
11296
11333
|
toggle: "toggle",
|
|
11297
11334
|
};
|
|
11298
|
-
const CSS$
|
|
11335
|
+
const CSS$15 = {
|
|
11299
11336
|
content: "content",
|
|
11300
11337
|
focusGuard: "focus-guard",
|
|
11301
11338
|
invalid: "invalid",
|
|
@@ -11309,7 +11346,7 @@ const CSS$14 = {
|
|
|
11309
11346
|
toggleSwitchText: "toggle--switch__text",
|
|
11310
11347
|
valid: "valid",
|
|
11311
11348
|
};
|
|
11312
|
-
const ICONS$
|
|
11349
|
+
const ICONS$g = {
|
|
11313
11350
|
menuOpen: "chevron-down",
|
|
11314
11351
|
menuClosedLeft: "chevron-left",
|
|
11315
11352
|
menuClosedRight: "chevron-right",
|
|
@@ -11397,11 +11434,11 @@ class BlockSection {
|
|
|
11397
11434
|
// --------------------------------------------------------------------------
|
|
11398
11435
|
renderStatusIcon() {
|
|
11399
11436
|
const { status } = this;
|
|
11400
|
-
const statusIcon = ICONS$
|
|
11437
|
+
const statusIcon = ICONS$g[status] ?? false;
|
|
11401
11438
|
const statusIconClasses = {
|
|
11402
|
-
[CSS$
|
|
11403
|
-
[CSS$
|
|
11404
|
-
[CSS$
|
|
11439
|
+
[CSS$15.statusIcon]: true,
|
|
11440
|
+
[CSS$15.valid]: status == "valid",
|
|
11441
|
+
[CSS$15.invalid]: status == "invalid",
|
|
11405
11442
|
};
|
|
11406
11443
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11407
11444
|
}
|
|
@@ -11409,21 +11446,21 @@ class BlockSection {
|
|
|
11409
11446
|
const { el, messages, open, text, toggleDisplay } = this;
|
|
11410
11447
|
const dir = getElementDir(el);
|
|
11411
11448
|
const arrowIcon = open
|
|
11412
|
-
? ICONS$
|
|
11449
|
+
? ICONS$g.menuOpen
|
|
11413
11450
|
: dir === "rtl"
|
|
11414
|
-
? ICONS$
|
|
11415
|
-
: ICONS$
|
|
11451
|
+
? ICONS$g.menuClosedLeft
|
|
11452
|
+
: ICONS$g.menuClosedRight;
|
|
11416
11453
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11417
11454
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { class: {
|
|
11418
|
-
[CSS$
|
|
11455
|
+
[CSS$15.toggleSwitchContainer]: true,
|
|
11419
11456
|
} }, hAsync("div", { "aria-controls": IDS.content, "aria-expanded": toAriaBoolean(open), class: {
|
|
11420
|
-
[CSS$
|
|
11421
|
-
[CSS$
|
|
11422
|
-
}, id: IDS.toggle, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, role: "button", tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
11423
|
-
[CSS$
|
|
11424
|
-
[CSS$
|
|
11425
|
-
}, id: IDS.toggle, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
11426
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-labelledby": IDS.toggle, class: CSS$
|
|
11457
|
+
[CSS$15.toggle]: true,
|
|
11458
|
+
[CSS$15.toggleSwitch]: true,
|
|
11459
|
+
}, id: IDS.toggle, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, role: "button", tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$15.toggleSwitchContent }, hAsync("span", { class: CSS$15.toggleSwitchText }, text)), this.renderStatusIcon()), hAsync("calcite-label", { class: CSS$15.focusGuard, layout: "inline", tabIndex: -1 }, hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s" })))) : (hAsync("button", { "aria-controls": IDS.content, "aria-expanded": toAriaBoolean(open), class: {
|
|
11460
|
+
[CSS$15.sectionHeader]: true,
|
|
11461
|
+
[CSS$15.toggle]: true,
|
|
11462
|
+
}, id: IDS.toggle, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$15.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11463
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-labelledby": IDS.toggle, class: CSS$15.content, hidden: !open, id: IDS.content }, hAsync("slot", null))));
|
|
11427
11464
|
}
|
|
11428
11465
|
static get assetsDirs() { return ["assets"]; }
|
|
11429
11466
|
get el() { return getElement(this); }
|
|
@@ -11853,7 +11890,7 @@ function onLabelDisconnected() {
|
|
|
11853
11890
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11854
11891
|
}
|
|
11855
11892
|
|
|
11856
|
-
const CSS$
|
|
11893
|
+
const CSS$14 = {
|
|
11857
11894
|
buttonLoader: "calcite-button--loader",
|
|
11858
11895
|
content: "content",
|
|
11859
11896
|
contentSlotted: "content--slotted",
|
|
@@ -11981,17 +12018,17 @@ class Button {
|
|
|
11981
12018
|
render() {
|
|
11982
12019
|
const childElType = this.href ? "a" : "button";
|
|
11983
12020
|
const Tag = childElType;
|
|
11984
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
12021
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$14.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$14.loadingIn : CSS$14.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11985
12022
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11986
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11987
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11988
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
12023
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$14.icon]: true, [CSS$14.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
12024
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$14.icon]: true, [CSS$14.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
12025
|
+
const contentEl = (hAsync("span", { class: CSS$14.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11989
12026
|
return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
|
|
11990
|
-
[CSS$
|
|
11991
|
-
[CSS$
|
|
11992
|
-
[CSS$
|
|
11993
|
-
[CSS$
|
|
11994
|
-
[CSS$
|
|
12027
|
+
[CSS$14.buttonPadding]: noStartEndIcons,
|
|
12028
|
+
[CSS$14.buttonPaddingShrunk]: !noStartEndIcons,
|
|
12029
|
+
[CSS$14.contentSlotted]: this.hasContent,
|
|
12030
|
+
[CSS$14.iconStartEmpty]: !this.iconStart,
|
|
12031
|
+
[CSS$14.iconEndEmpty]: !this.iconEnd,
|
|
11995
12032
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
11996
12033
|
}
|
|
11997
12034
|
//--------------------------------------------------------------------------
|
|
@@ -12306,7 +12343,7 @@ class CalciteMenu {
|
|
|
12306
12343
|
}; }
|
|
12307
12344
|
}
|
|
12308
12345
|
|
|
12309
|
-
const CSS$
|
|
12346
|
+
const CSS$13 = {
|
|
12310
12347
|
container: "container",
|
|
12311
12348
|
content: "content",
|
|
12312
12349
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12510,54 +12547,54 @@ class CalciteMenuItem {
|
|
|
12510
12547
|
//
|
|
12511
12548
|
//--------------------------------------------------------------------------
|
|
12512
12549
|
renderIconStart() {
|
|
12513
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12550
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$13.iconStart, scale: "s" }));
|
|
12514
12551
|
}
|
|
12515
12552
|
renderIconEnd() {
|
|
12516
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12553
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$13.iconEnd, scale: "s" }));
|
|
12517
12554
|
}
|
|
12518
12555
|
renderBreadcrumbIcon(dir) {
|
|
12519
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12556
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$13.iconBreadcrumb, scale: "s" }));
|
|
12520
12557
|
}
|
|
12521
12558
|
renderDropdownIcon(dir) {
|
|
12522
12559
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12523
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12560
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12524
12561
|
? this.open
|
|
12525
12562
|
? "chevron-up"
|
|
12526
12563
|
: "chevron-down"
|
|
12527
|
-
: dirChevron, key: CSS$
|
|
12564
|
+
: dirChevron, key: CSS$13.iconDropdown, scale: "s" }));
|
|
12528
12565
|
}
|
|
12529
12566
|
renderDropdownAction(dir) {
|
|
12530
12567
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12531
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12568
|
+
return (hAsync("calcite-action", { class: CSS$13.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12532
12569
|
? this.open
|
|
12533
12570
|
? "chevron-up"
|
|
12534
12571
|
: "chevron-down"
|
|
12535
|
-
: dirChevron, key: CSS$
|
|
12572
|
+
: dirChevron, key: CSS$13.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12536
12573
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12537
12574
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12538
12575
|
}
|
|
12539
12576
|
renderSubmenuItems(dir) {
|
|
12540
12577
|
return (hAsync("calcite-menu", { class: {
|
|
12541
|
-
[CSS$
|
|
12542
|
-
[CSS$
|
|
12543
|
-
[CSS$
|
|
12578
|
+
[CSS$13.dropdownMenuItems]: true,
|
|
12579
|
+
[CSS$13.open]: this.open,
|
|
12580
|
+
[CSS$13.nested]: !this.isTopLevelItem,
|
|
12544
12581
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12545
|
-
[CSS$
|
|
12582
|
+
[CSS$13.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12546
12583
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12547
12584
|
}
|
|
12548
12585
|
renderHrefIcon(dir) {
|
|
12549
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12586
|
+
return (hAsync("calcite-icon", { class: CSS$13.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$13.hoverHrefIcon, scale: "s" }));
|
|
12550
12587
|
}
|
|
12551
12588
|
renderItemContent(dir) {
|
|
12552
12589
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12553
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12590
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$13.textContainer }, hAsync("span", null, this.text)), hasHref && this.renderHrefIcon(dir), this.iconEnd && this.renderIconEnd(), this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null));
|
|
12554
12591
|
}
|
|
12555
12592
|
render() {
|
|
12556
12593
|
const dir = getElementDir(this.el);
|
|
12557
12594
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12558
|
-
[CSS$
|
|
12559
|
-
[CSS$
|
|
12560
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12595
|
+
[CSS$13.container]: true,
|
|
12596
|
+
[CSS$13.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12597
|
+
}, role: "none" }, hAsync("div", { class: CSS$13.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$13.layoutVertical]: this.layout === "vertical", [CSS$13.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12561
12598
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12562
12599
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12563
12600
|
}
|
|
@@ -12600,7 +12637,7 @@ class CalciteMenuItem {
|
|
|
12600
12637
|
}; }
|
|
12601
12638
|
}
|
|
12602
12639
|
|
|
12603
|
-
const CSS$
|
|
12640
|
+
const CSS$12 = {
|
|
12604
12641
|
container: "container",
|
|
12605
12642
|
containerContent: "container-content",
|
|
12606
12643
|
hasProgress: "progress-bar",
|
|
@@ -12620,7 +12657,7 @@ const SLOTS$r = {
|
|
|
12620
12657
|
navSecondary: "navigation-secondary",
|
|
12621
12658
|
navTertiary: "navigation-tertiary",
|
|
12622
12659
|
};
|
|
12623
|
-
const ICONS$
|
|
12660
|
+
const ICONS$f = {
|
|
12624
12661
|
hamburger: "hamburger",
|
|
12625
12662
|
};
|
|
12626
12663
|
|
|
@@ -12735,7 +12772,7 @@ class CalciteNavigation {
|
|
|
12735
12772
|
//
|
|
12736
12773
|
//--------------------------------------------------------------------------
|
|
12737
12774
|
renderMenuAction() {
|
|
12738
|
-
return (hAsync("slot", { name: SLOTS$r.navigationAction, onSlotchange: this.handleMenuActionSlotChange }, this.navigationAction && (hAsync("calcite-action", { icon: ICONS$
|
|
12775
|
+
return (hAsync("slot", { name: SLOTS$r.navigationAction, onSlotchange: this.handleMenuActionSlotChange }, this.navigationAction && (hAsync("calcite-action", { icon: ICONS$f.hamburger, onClick: this.actionClickHandler, text: this.label,
|
|
12739
12776
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12740
12777
|
ref: (el) => (this.navigationActionEl = el) }))));
|
|
12741
12778
|
}
|
|
@@ -12749,11 +12786,11 @@ class CalciteNavigation {
|
|
|
12749
12786
|
this.navigationAction;
|
|
12750
12787
|
const slotName = this.el.slot;
|
|
12751
12788
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12752
|
-
[CSS$
|
|
12753
|
-
[CSS$
|
|
12754
|
-
[CSS$
|
|
12755
|
-
[CSS$
|
|
12756
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12789
|
+
[CSS$12.container]: true,
|
|
12790
|
+
[CSS$12.secondary]: slotName === SLOTS$r.navSecondary,
|
|
12791
|
+
[CSS$12.tertiary]: slotName === SLOTS$r.navTertiary,
|
|
12792
|
+
[CSS$12.primary]: primaryLevelHasElements,
|
|
12793
|
+
} }, hAsync("div", { class: { [CSS$12.hide]: !this.progressSlotHasElement, [SLOTS$r.progress]: true } }, hAsync("slot", { name: SLOTS$r.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$12.containerContent]: true, [CSS$12.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$12.hide]: !this.logoSlotHasElements, [SLOTS$r.logo]: true } }, hAsync("slot", { name: SLOTS$r.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$r.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$r.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$r.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$12.hide]: !this.userSlotHasElements, [SLOTS$r.user]: true } }, hAsync("slot", { name: SLOTS$r.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$r.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$r.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
|
|
12757
12794
|
}
|
|
12758
12795
|
get el() { return getElement(this); }
|
|
12759
12796
|
static get style() { return navigationCss; }
|
|
@@ -12780,7 +12817,7 @@ class CalciteNavigation {
|
|
|
12780
12817
|
}; }
|
|
12781
12818
|
}
|
|
12782
12819
|
|
|
12783
|
-
const CSS$
|
|
12820
|
+
const CSS$11 = {
|
|
12784
12821
|
container: "container",
|
|
12785
12822
|
heading: "heading",
|
|
12786
12823
|
description: "description",
|
|
@@ -12833,10 +12870,10 @@ class CalciteNavigationLogo {
|
|
|
12833
12870
|
// --------------------------------------------------------------------------
|
|
12834
12871
|
render() {
|
|
12835
12872
|
const { heading, description, thumbnail } = this;
|
|
12836
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12837
|
-
[CSS$
|
|
12838
|
-
[CSS$
|
|
12839
|
-
}, key: CSS$
|
|
12873
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$11.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$11.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$11.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
|
|
12874
|
+
[CSS$11.heading]: true,
|
|
12875
|
+
[CSS$11.standalone]: !this.description,
|
|
12876
|
+
}, key: CSS$11.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$11.description, key: CSS$11.description }, description)))))));
|
|
12840
12877
|
}
|
|
12841
12878
|
static get delegatesFocus() { return true; }
|
|
12842
12879
|
get el() { return getElement(this); }
|
|
@@ -12861,7 +12898,7 @@ class CalciteNavigationLogo {
|
|
|
12861
12898
|
}; }
|
|
12862
12899
|
}
|
|
12863
12900
|
|
|
12864
|
-
const CSS
|
|
12901
|
+
const CSS$10 = {
|
|
12865
12902
|
textContainer: "text-container",
|
|
12866
12903
|
fullName: "full-name",
|
|
12867
12904
|
username: "username",
|
|
@@ -12908,7 +12945,7 @@ class CalciteNavigationUser {
|
|
|
12908
12945
|
//
|
|
12909
12946
|
// --------------------------------------------------------------------------
|
|
12910
12947
|
render() {
|
|
12911
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS
|
|
12948
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$10.button }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$10.textContainer }, this.fullName && (hAsync("span", { class: CSS$10.fullName, key: CSS$10.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$10.username, key: CSS$10.username }, this.username)))))));
|
|
12912
12949
|
}
|
|
12913
12950
|
static get delegatesFocus() { return true; }
|
|
12914
12951
|
get el() { return getElement(this); }
|
|
@@ -12932,7 +12969,7 @@ class CalciteNavigationUser {
|
|
|
12932
12969
|
}; }
|
|
12933
12970
|
}
|
|
12934
12971
|
|
|
12935
|
-
const CSS
|
|
12972
|
+
const CSS$$ = {
|
|
12936
12973
|
container: "container",
|
|
12937
12974
|
header: "header",
|
|
12938
12975
|
footer: "footer",
|
|
@@ -13017,7 +13054,7 @@ class Card {
|
|
|
13017
13054
|
render() {
|
|
13018
13055
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13019
13056
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
13020
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS
|
|
13057
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$$.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
13021
13058
|
}
|
|
13022
13059
|
effectiveLocaleChange() {
|
|
13023
13060
|
updateMessages(this);
|
|
@@ -13027,24 +13064,24 @@ class Card {
|
|
|
13027
13064
|
this.calciteCardSelect.emit();
|
|
13028
13065
|
}
|
|
13029
13066
|
renderThumbnail() {
|
|
13030
|
-
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS
|
|
13067
|
+
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS$$.thumbnailWrapper }, hAsync("slot", { name: SLOTS$q.thumbnail }))) : null;
|
|
13031
13068
|
}
|
|
13032
13069
|
renderCheckbox() {
|
|
13033
|
-
return (hAsync("calcite-label", { class: CSS
|
|
13070
|
+
return (hAsync("calcite-label", { class: CSS$$.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13034
13071
|
}
|
|
13035
13072
|
renderHeader() {
|
|
13036
13073
|
const { el } = this;
|
|
13037
13074
|
const title = getSlotted(el, SLOTS$q.title);
|
|
13038
13075
|
const subtitle = getSlotted(el, SLOTS$q.subtitle);
|
|
13039
13076
|
const hasHeader = title || subtitle;
|
|
13040
|
-
return hasHeader ? (hAsync("header", { class: CSS
|
|
13077
|
+
return hasHeader ? (hAsync("header", { class: CSS$$.header }, hAsync("slot", { name: SLOTS$q.title }), hAsync("slot", { name: SLOTS$q.subtitle }))) : null;
|
|
13041
13078
|
}
|
|
13042
13079
|
renderFooter() {
|
|
13043
13080
|
const { el } = this;
|
|
13044
13081
|
const startFooter = getSlotted(el, SLOTS$q.footerStart);
|
|
13045
13082
|
const endFooter = getSlotted(el, SLOTS$q.footerEnd);
|
|
13046
13083
|
const hasFooter = startFooter || endFooter;
|
|
13047
|
-
return hasFooter ? (hAsync("footer", { class: CSS
|
|
13084
|
+
return hasFooter ? (hAsync("footer", { class: CSS$$.footer }, hAsync("slot", { name: SLOTS$q.footerStart }), hAsync("slot", { name: SLOTS$q.footerEnd }))) : null;
|
|
13048
13085
|
}
|
|
13049
13086
|
static get assetsDirs() { return ["assets"]; }
|
|
13050
13087
|
get el() { return getElement(this); }
|
|
@@ -13072,7 +13109,7 @@ class Card {
|
|
|
13072
13109
|
}; }
|
|
13073
13110
|
}
|
|
13074
13111
|
|
|
13075
|
-
const checkboxCss = "/*!@:host([disabled])*/[disabled].sc-calcite-checkbox-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-checkbox-h *.sc-calcite-checkbox,.sc-calcite-checkbox-h[disabled] .sc-calcite-checkbox-s>*{pointer-events:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-checkbox-h{--calcite-checkbox-size:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-checkbox-h{--calcite-checkbox-size:var(--calcite-font-size--1)}/*!@:host([scale=l])*/[scale=l].sc-calcite-checkbox-h{--calcite-checkbox-size:1rem}/*!@:host*/.sc-calcite-checkbox-h{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}/*!@:host .check-svg,\n:host .toggle*/.sc-calcite-checkbox-h .check-svg.sc-calcite-checkbox,.sc-calcite-checkbox-h .toggle.sc-calcite-checkbox{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}/*!@:host .check-svg*/.sc-calcite-checkbox-h .check-svg.sc-calcite-checkbox{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}/*!@:host([checked]) .check-svg,\n:host([indeterminate]) .check-svg*/[checked].sc-calcite-checkbox-h .check-svg.sc-calcite-checkbox,[indeterminate].sc-calcite-checkbox-h .check-svg.sc-calcite-checkbox{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}/*!@:host([hovered]) .toggle .check-svg,\n:host .toggle:hover .check-svg*/[hovered].sc-calcite-checkbox-h .toggle.sc-calcite-checkbox .check-svg.sc-calcite-checkbox,.sc-calcite-checkbox-h .toggle.sc-calcite-checkbox:hover .check-svg.sc-calcite-checkbox{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@.toggle*/.toggle.sc-calcite-checkbox{outline-color:transparent}/*!@.toggle:active, .toggle:focus, .toggle:focus-visible*/.toggle.sc-calcite-checkbox:active,.toggle.sc-calcite-checkbox:focus,.toggle.sc-calcite-checkbox:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-checkbox-h[disabled] .sc-calcite-checkbox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-checkbox-h [calcite-hydrated][disabled].sc-calcite-checkbox{opacity:1}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-checkbox-s>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])*/[hidden].sc-calcite-checkbox-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-checkbox{display:none}";
|
|
13112
|
+
const checkboxCss = "/*!@:host([disabled])*/[disabled].sc-calcite-checkbox-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-checkbox-h *.sc-calcite-checkbox,.sc-calcite-checkbox-h[disabled] .sc-calcite-checkbox-s>*{pointer-events:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-checkbox-h{--calcite-checkbox-size:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-checkbox-h{--calcite-checkbox-size:var(--calcite-font-size--1)}/*!@:host([scale=l])*/[scale=l].sc-calcite-checkbox-h{--calcite-checkbox-size:1rem}/*!@:host*/.sc-calcite-checkbox-h{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}/*!@:host .check-svg,\n:host .toggle*/.sc-calcite-checkbox-h .check-svg.sc-calcite-checkbox,.sc-calcite-checkbox-h .toggle.sc-calcite-checkbox{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}/*!@:host .check-svg*/.sc-calcite-checkbox-h .check-svg.sc-calcite-checkbox{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}/*!@:host([checked]) .check-svg,\n:host([indeterminate]) .check-svg*/[checked].sc-calcite-checkbox-h .check-svg.sc-calcite-checkbox,[indeterminate].sc-calcite-checkbox-h .check-svg.sc-calcite-checkbox{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}/*!@:host([hovered]) .toggle .check-svg,\n:host .toggle:hover .check-svg*/[hovered].sc-calcite-checkbox-h .toggle.sc-calcite-checkbox .check-svg.sc-calcite-checkbox,.sc-calcite-checkbox-h .toggle.sc-calcite-checkbox:hover .check-svg.sc-calcite-checkbox{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@.toggle*/.toggle.sc-calcite-checkbox{position:relative;outline-color:transparent}/*!@.toggle:active, .toggle:focus, .toggle:focus-visible*/.toggle.sc-calcite-checkbox:active,.toggle.sc-calcite-checkbox:focus,.toggle.sc-calcite-checkbox:focus-visible{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 )}/*!@.toggle::after*/.toggle.sc-calcite-checkbox::after{content:\"\";inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute;transform:translateX(-50%) translateY(-50%)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-checkbox-h[disabled] .sc-calcite-checkbox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-checkbox-h [calcite-hydrated][disabled].sc-calcite-checkbox{opacity:1}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-checkbox-s>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])*/[hidden].sc-calcite-checkbox-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-checkbox{display:none}";
|
|
13076
13113
|
|
|
13077
13114
|
class Checkbox {
|
|
13078
13115
|
constructor(hostRef) {
|
|
@@ -13207,7 +13244,7 @@ class Checkbox {
|
|
|
13207
13244
|
}; }
|
|
13208
13245
|
}
|
|
13209
13246
|
|
|
13210
|
-
const CSS$
|
|
13247
|
+
const CSS$_ = {
|
|
13211
13248
|
title: "title",
|
|
13212
13249
|
close: "close",
|
|
13213
13250
|
imageContainer: "image-container",
|
|
@@ -13226,7 +13263,7 @@ const CSS$Z = {
|
|
|
13226
13263
|
const SLOTS$p = {
|
|
13227
13264
|
image: "image",
|
|
13228
13265
|
};
|
|
13229
|
-
const ICONS$
|
|
13266
|
+
const ICONS$e = {
|
|
13230
13267
|
close: "x",
|
|
13231
13268
|
unchecked: "circle",
|
|
13232
13269
|
checkedSingle: "circle-f",
|
|
@@ -13376,28 +13413,28 @@ class Chip {
|
|
|
13376
13413
|
//
|
|
13377
13414
|
//--------------------------------------------------------------------------
|
|
13378
13415
|
renderChipImage() {
|
|
13379
|
-
return (hAsync("div", { class: CSS$
|
|
13416
|
+
return (hAsync("div", { class: CSS$_.imageContainer }, hAsync("slot", { name: SLOTS$p.image, onSlotchange: this.handleSlotImageChange })));
|
|
13380
13417
|
}
|
|
13381
13418
|
renderSelectionIcon() {
|
|
13382
13419
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
13383
|
-
? ICONS$
|
|
13420
|
+
? ICONS$e.checked
|
|
13384
13421
|
: this.selectionMode === "multiple"
|
|
13385
|
-
? ICONS$
|
|
13422
|
+
? ICONS$e.unchecked
|
|
13386
13423
|
: this.selected
|
|
13387
|
-
? ICONS$
|
|
13424
|
+
? ICONS$e.checkedSingle
|
|
13388
13425
|
: undefined;
|
|
13389
13426
|
return (hAsync("div", { class: {
|
|
13390
|
-
[CSS$
|
|
13391
|
-
[CSS$
|
|
13427
|
+
[CSS$_.selectIcon]: true,
|
|
13428
|
+
[CSS$_.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13392
13429
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13393
13430
|
}
|
|
13394
13431
|
renderCloseButton() {
|
|
13395
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13432
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$_.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13396
13433
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13397
|
-
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$
|
|
13434
|
+
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$e.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13398
13435
|
}
|
|
13399
13436
|
renderIcon() {
|
|
13400
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13437
|
+
return (hAsync("calcite-icon", { class: CSS$_.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13401
13438
|
}
|
|
13402
13439
|
render() {
|
|
13403
13440
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13411,21 +13448,21 @@ class Chip {
|
|
|
13411
13448
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13412
13449
|
? toAriaBoolean(this.selected)
|
|
13413
13450
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13414
|
-
[CSS$
|
|
13415
|
-
[CSS$
|
|
13416
|
-
[CSS$
|
|
13417
|
-
[CSS$
|
|
13418
|
-
[CSS$
|
|
13419
|
-
[CSS$
|
|
13420
|
-
[CSS$
|
|
13421
|
-
[CSS$
|
|
13451
|
+
[CSS$_.container]: true,
|
|
13452
|
+
[CSS$_.textSlotted]: this.hasText,
|
|
13453
|
+
[CSS$_.imageSlotted]: this.hasImage,
|
|
13454
|
+
[CSS$_.selectable]: this.selectionMode !== "none",
|
|
13455
|
+
[CSS$_.multiple]: this.selectionMode === "multiple",
|
|
13456
|
+
[CSS$_.closable]: this.closable,
|
|
13457
|
+
[CSS$_.nonInteractive]: !this.interactive,
|
|
13458
|
+
[CSS$_.isCircle]: !this.closable &&
|
|
13422
13459
|
!this.hasText &&
|
|
13423
13460
|
(!this.icon || !this.hasImage) &&
|
|
13424
13461
|
(this.selectionMode === "none" ||
|
|
13425
13462
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13426
13463
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13427
13464
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13428
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13465
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$_.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13429
13466
|
}
|
|
13430
13467
|
static get assetsDirs() { return ["assets"]; }
|
|
13431
13468
|
get el() { return getElement(this); }
|
|
@@ -15747,7 +15784,7 @@ function zeroArray(array, length) {
|
|
|
15747
15784
|
|
|
15748
15785
|
var color = Color;
|
|
15749
15786
|
|
|
15750
|
-
const CSS$
|
|
15787
|
+
const CSS$Z = {
|
|
15751
15788
|
channel: "channel",
|
|
15752
15789
|
channels: "channels",
|
|
15753
15790
|
colorField: "color-field",
|
|
@@ -16096,7 +16133,7 @@ class ColorPicker {
|
|
|
16096
16133
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16097
16134
|
const selected = channelMode === activeChannelMode;
|
|
16098
16135
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16099
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
16136
|
+
return (hAsync("calcite-tab-title", { class: CSS$Z.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16100
16137
|
};
|
|
16101
16138
|
this.renderChannelsTab = (channelMode) => {
|
|
16102
16139
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16107,7 +16144,7 @@ class ColorPicker {
|
|
|
16107
16144
|
: [messages.hue, messages.saturation, messages.value];
|
|
16108
16145
|
const direction = getElementDir(this.el);
|
|
16109
16146
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16110
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
16147
|
+
return (hAsync("calcite-tab", { class: CSS$Z.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$Z.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
16111
16148
|
const isAlphaChannel = index === 3;
|
|
16112
16149
|
if (isAlphaChannel) {
|
|
16113
16150
|
channelValue =
|
|
@@ -16118,7 +16155,7 @@ class ColorPicker {
|
|
|
16118
16155
|
}))));
|
|
16119
16156
|
};
|
|
16120
16157
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16121
|
-
return (hAsync("calcite-input-number", { class: CSS$
|
|
16158
|
+
return (hAsync("calcite-input-number", { class: CSS$Z.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.handleChannelChange, onCalciteInputNumberInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
16122
16159
|
// workaround to ensure input borders overlap as desired
|
|
16123
16160
|
// this is because the build transforms margin-left to its
|
|
16124
16161
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16308,7 +16345,7 @@ class ColorPicker {
|
|
|
16308
16345
|
this.shiftKeyChannelAdjustment = 0;
|
|
16309
16346
|
const { key } = event;
|
|
16310
16347
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16311
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
16348
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$Z.channel))) {
|
|
16312
16349
|
return;
|
|
16313
16350
|
}
|
|
16314
16351
|
const { shiftKey } = event;
|
|
@@ -16400,35 +16437,35 @@ class ColorPicker {
|
|
|
16400
16437
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16401
16438
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16402
16439
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16403
|
-
return (hAsync("div", { class: CSS$
|
|
16440
|
+
return (hAsync("div", { class: CSS$Z.container }, hAsync("div", { class: CSS$Z.controlAndScope }, hAsync("canvas", { class: CSS$Z.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16404
16441
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16405
|
-
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
16442
|
+
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$Z.scope]: true, [CSS$Z.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16406
16443
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16407
16444
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16408
16445
|
}, tabindex: "0",
|
|
16409
16446
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16410
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16447
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$Z.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$Z.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$Z.sliders }, hAsync("div", { class: CSS$Z.controlAndScope }, hAsync("canvas", { class: { [CSS$Z.slider]: true, [CSS$Z.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16411
16448
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16412
|
-
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$
|
|
16449
|
+
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$Z.scope]: true, [CSS$Z.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16413
16450
|
top: `${adjustedHueScopeTop}px`,
|
|
16414
16451
|
left: `${adjustedHueScopeLeft}px`,
|
|
16415
16452
|
}, tabindex: "0",
|
|
16416
16453
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16417
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16454
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$Z.controlAndScope }, hAsync("canvas", { class: { [CSS$Z.slider]: true, [CSS$Z.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16418
16455
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16419
|
-
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$
|
|
16456
|
+
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$Z.scope]: true, [CSS$Z.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16420
16457
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16421
16458
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16422
16459
|
}, tabindex: "0",
|
|
16423
16460
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16424
16461
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16425
|
-
[CSS$
|
|
16426
|
-
[CSS$
|
|
16427
|
-
} }, hAsync("div", { class: CSS$
|
|
16428
|
-
[CSS$
|
|
16429
|
-
[CSS$
|
|
16430
|
-
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$
|
|
16431
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
16462
|
+
[CSS$Z.controlSection]: true,
|
|
16463
|
+
[CSS$Z.section]: true,
|
|
16464
|
+
} }, hAsync("div", { class: CSS$Z.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$Z.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$Z.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16465
|
+
[CSS$Z.colorModeContainer]: true,
|
|
16466
|
+
[CSS$Z.splitSection]: true,
|
|
16467
|
+
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$Z.savedColorsSection]: true, [CSS$Z.section]: true } }, hAsync("div", { class: CSS$Z.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$Z.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$Z.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$Z.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$Z.savedColors }, [
|
|
16468
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$Z.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
16432
16469
|
])) : null))));
|
|
16433
16470
|
}
|
|
16434
16471
|
// --------------------------------------------------------------------------
|
|
@@ -16799,7 +16836,7 @@ class ColorPicker {
|
|
|
16799
16836
|
}; }
|
|
16800
16837
|
}
|
|
16801
16838
|
|
|
16802
|
-
const CSS$
|
|
16839
|
+
const CSS$Y = {
|
|
16803
16840
|
container: "container",
|
|
16804
16841
|
hexInput: "hex-input",
|
|
16805
16842
|
opacityInput: "opacity-input",
|
|
@@ -16967,9 +17004,9 @@ class ColorPickerHexInput {
|
|
|
16967
17004
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16968
17005
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16969
17006
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16970
|
-
return (hAsync("div", { class: CSS$
|
|
17007
|
+
return (hAsync("div", { class: CSS$Y.container }, hAsync("calcite-input-text", { class: CSS$Y.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16971
17008
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16972
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
17009
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$Y.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
16973
17010
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16974
17011
|
ref: this.storeOpacityInputRef })) : null));
|
|
16975
17012
|
}
|
|
@@ -17065,7 +17102,7 @@ class ColorPickerHexInput {
|
|
|
17065
17102
|
}; }
|
|
17066
17103
|
}
|
|
17067
17104
|
|
|
17068
|
-
const CSS$
|
|
17105
|
+
const CSS$X = {
|
|
17069
17106
|
swatch: "swatch",
|
|
17070
17107
|
noColorSwatch: "swatch--no-color",
|
|
17071
17108
|
checker: "checker",
|
|
@@ -17103,8 +17140,8 @@ class ColorPickerSwatch {
|
|
|
17103
17140
|
render() {
|
|
17104
17141
|
const isEmpty = !this.internalColor;
|
|
17105
17142
|
const classes = {
|
|
17106
|
-
[CSS$
|
|
17107
|
-
[CSS$
|
|
17143
|
+
[CSS$X.swatch]: true,
|
|
17144
|
+
[CSS$X.noColorSwatch]: isEmpty,
|
|
17108
17145
|
};
|
|
17109
17146
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17110
17147
|
}
|
|
@@ -17130,7 +17167,7 @@ class ColorPickerSwatch {
|
|
|
17130
17167
|
const alpha = internalColor.alpha();
|
|
17131
17168
|
const hex = hexify(internalColor);
|
|
17132
17169
|
const hexa = hexify(internalColor, alpha < 1);
|
|
17133
|
-
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$
|
|
17170
|
+
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$X.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$X.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
|
|
17134
17171
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17135
17172
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17136
17173
|
}
|
|
@@ -17534,7 +17571,8 @@ const arrow = options => ({
|
|
|
17534
17571
|
placement,
|
|
17535
17572
|
rects,
|
|
17536
17573
|
platform,
|
|
17537
|
-
elements
|
|
17574
|
+
elements,
|
|
17575
|
+
middlewareData
|
|
17538
17576
|
} = state;
|
|
17539
17577
|
// Since `element` is required, we don't Partial<> the type.
|
|
17540
17578
|
const {
|
|
@@ -17582,16 +17620,20 @@ const arrow = options => ({
|
|
|
17582
17620
|
|
|
17583
17621
|
// If the reference is small enough that the arrow's padding causes it to
|
|
17584
17622
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
17585
|
-
// floating element itself.
|
|
17586
|
-
//
|
|
17587
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
17588
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1
|
|
17623
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
|
17624
|
+
// a single reset is performed when this is true.
|
|
17625
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
17626
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
17589
17627
|
return {
|
|
17590
|
-
[axis]: coords[axis]
|
|
17628
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
17591
17629
|
data: {
|
|
17592
17630
|
[axis]: offset,
|
|
17593
|
-
centerOffset: center - offset
|
|
17594
|
-
|
|
17631
|
+
centerOffset: center - offset - alignmentOffset,
|
|
17632
|
+
...(shouldAddOffset && {
|
|
17633
|
+
alignmentOffset
|
|
17634
|
+
})
|
|
17635
|
+
},
|
|
17636
|
+
reset: shouldAddOffset
|
|
17595
17637
|
};
|
|
17596
17638
|
}
|
|
17597
17639
|
});
|
|
@@ -17713,7 +17755,7 @@ const flip = function (options) {
|
|
|
17713
17755
|
name: 'flip',
|
|
17714
17756
|
options,
|
|
17715
17757
|
async fn(state) {
|
|
17716
|
-
var _middlewareData$flip;
|
|
17758
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
17717
17759
|
const {
|
|
17718
17760
|
placement,
|
|
17719
17761
|
middlewareData,
|
|
@@ -17731,6 +17773,14 @@ const flip = function (options) {
|
|
|
17731
17773
|
flipAlignment = true,
|
|
17732
17774
|
...detectOverflowOptions
|
|
17733
17775
|
} = evaluate(options, state);
|
|
17776
|
+
|
|
17777
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
17778
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
17779
|
+
// work.
|
|
17780
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
17781
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
17782
|
+
return {};
|
|
17783
|
+
}
|
|
17734
17784
|
const side = getSide(placement);
|
|
17735
17785
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
17736
17786
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
@@ -18131,18 +18181,21 @@ function getNearestOverflowAncestor(node) {
|
|
|
18131
18181
|
}
|
|
18132
18182
|
return getNearestOverflowAncestor(parentNode);
|
|
18133
18183
|
}
|
|
18134
|
-
function getOverflowAncestors(node, list) {
|
|
18184
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
18135
18185
|
var _node$ownerDocument2;
|
|
18136
18186
|
if (list === void 0) {
|
|
18137
18187
|
list = [];
|
|
18138
18188
|
}
|
|
18189
|
+
if (traverseIframes === void 0) {
|
|
18190
|
+
traverseIframes = true;
|
|
18191
|
+
}
|
|
18139
18192
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
18140
18193
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
18141
18194
|
const win = getWindow(scrollableAncestor);
|
|
18142
18195
|
if (isBody) {
|
|
18143
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
18196
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
18144
18197
|
}
|
|
18145
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
18198
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
18146
18199
|
}
|
|
18147
18200
|
|
|
18148
18201
|
function getCssDimensions(element) {
|
|
@@ -18413,7 +18466,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
18413
18466
|
if (cachedResult) {
|
|
18414
18467
|
return cachedResult;
|
|
18415
18468
|
}
|
|
18416
|
-
let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
18469
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
18417
18470
|
let currentContainingBlockComputedStyle = null;
|
|
18418
18471
|
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
18419
18472
|
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
@@ -18859,7 +18912,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18859
18912
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18860
18913
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18861
18914
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18862
|
-
const CSS$
|
|
18915
|
+
const CSS$W = {
|
|
18863
18916
|
listContainer: "list-container",
|
|
18864
18917
|
};
|
|
18865
18918
|
|
|
@@ -18887,11 +18940,11 @@ function isSingleLike(selectionMode) {
|
|
|
18887
18940
|
return selectionMode.includes("single");
|
|
18888
18941
|
}
|
|
18889
18942
|
|
|
18890
|
-
const CSS$
|
|
18943
|
+
const CSS$V = {
|
|
18891
18944
|
button: "x-button",
|
|
18892
18945
|
};
|
|
18893
18946
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18894
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18947
|
+
return (hAsync("button", { "aria-label": label, class: CSS$V.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18895
18948
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
18896
18949
|
ref: ref },
|
|
18897
18950
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19089,7 +19142,7 @@ class Combobox {
|
|
|
19089
19142
|
event.preventDefault();
|
|
19090
19143
|
return;
|
|
19091
19144
|
}
|
|
19092
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19145
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$V.button))) {
|
|
19093
19146
|
this.clearValue();
|
|
19094
19147
|
event.preventDefault();
|
|
19095
19148
|
return;
|
|
@@ -19697,7 +19750,7 @@ class Combobox {
|
|
|
19697
19750
|
renderFloatingUIContainer() {
|
|
19698
19751
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19699
19752
|
const classes = {
|
|
19700
|
-
[CSS$
|
|
19753
|
+
[CSS$W.listContainer]: true,
|
|
19701
19754
|
[FloatingCSS.animation]: true,
|
|
19702
19755
|
[FloatingCSS.animationActive]: open,
|
|
19703
19756
|
};
|
|
@@ -19796,7 +19849,7 @@ class Combobox {
|
|
|
19796
19849
|
}; }
|
|
19797
19850
|
}
|
|
19798
19851
|
|
|
19799
|
-
const CSS$
|
|
19852
|
+
const CSS$U = {
|
|
19800
19853
|
icon: "icon",
|
|
19801
19854
|
iconActive: "icon--active",
|
|
19802
19855
|
iconIndent: "icon--indent",
|
|
@@ -19875,20 +19928,20 @@ class ComboboxItem {
|
|
|
19875
19928
|
// --------------------------------------------------------------------------
|
|
19876
19929
|
renderIcon(iconPath) {
|
|
19877
19930
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19878
|
-
[CSS$
|
|
19879
|
-
[CSS$
|
|
19880
|
-
[CSS$
|
|
19931
|
+
[CSS$U.custom]: !!this.icon,
|
|
19932
|
+
[CSS$U.iconActive]: this.icon && this.selected,
|
|
19933
|
+
[CSS$U.iconIndent]: true,
|
|
19881
19934
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19882
19935
|
}
|
|
19883
19936
|
renderSelectIndicator(showDot, iconPath) {
|
|
19884
19937
|
return showDot ? (hAsync("span", { class: {
|
|
19885
|
-
[CSS$
|
|
19886
|
-
[CSS$
|
|
19887
|
-
[CSS$
|
|
19938
|
+
[CSS$U.icon]: true,
|
|
19939
|
+
[CSS$U.dot]: true,
|
|
19940
|
+
[CSS$U.iconIndent]: true,
|
|
19888
19941
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19889
|
-
[CSS$
|
|
19890
|
-
[CSS$
|
|
19891
|
-
[CSS$
|
|
19942
|
+
[CSS$U.icon]: true,
|
|
19943
|
+
[CSS$U.iconActive]: this.selected,
|
|
19944
|
+
[CSS$U.iconIndent]: true,
|
|
19892
19945
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19893
19946
|
}
|
|
19894
19947
|
renderChildren() {
|
|
@@ -19903,10 +19956,10 @@ class ComboboxItem {
|
|
|
19903
19956
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19904
19957
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19905
19958
|
const classes = {
|
|
19906
|
-
[CSS$
|
|
19907
|
-
[CSS$
|
|
19908
|
-
[CSS$
|
|
19909
|
-
[CSS$
|
|
19959
|
+
[CSS$U.label]: true,
|
|
19960
|
+
[CSS$U.selected]: this.selected,
|
|
19961
|
+
[CSS$U.active]: this.active,
|
|
19962
|
+
[CSS$U.single]: isSingleSelect,
|
|
19910
19963
|
};
|
|
19911
19964
|
const depth = getDepth$1();
|
|
19912
19965
|
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
|
|
@@ -19939,7 +19992,7 @@ class ComboboxItem {
|
|
|
19939
19992
|
}; }
|
|
19940
19993
|
}
|
|
19941
19994
|
|
|
19942
|
-
const CSS$
|
|
19995
|
+
const CSS$T = {
|
|
19943
19996
|
list: "list",
|
|
19944
19997
|
label: "label",
|
|
19945
19998
|
title: "title",
|
|
@@ -19975,7 +20028,7 @@ class ComboboxItemGroup {
|
|
|
19975
20028
|
render() {
|
|
19976
20029
|
const { el, scale } = this;
|
|
19977
20030
|
const depth = getDepth$1();
|
|
19978
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
20031
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$T.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$T.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$T.title }, this.label)), hAsync("slot", null)));
|
|
19979
20032
|
}
|
|
19980
20033
|
get el() { return getElement(this); }
|
|
19981
20034
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21162,7 +21215,7 @@ class DatePickerMonth {
|
|
|
21162
21215
|
}; }
|
|
21163
21216
|
}
|
|
21164
21217
|
|
|
21165
|
-
const CSS$
|
|
21218
|
+
const CSS$S = {
|
|
21166
21219
|
header: "header",
|
|
21167
21220
|
month: "month",
|
|
21168
21221
|
chevron: "chevron",
|
|
@@ -21262,7 +21315,7 @@ class DatePickerMonthHeader {
|
|
|
21262
21315
|
this.setNextPrevMonthDates();
|
|
21263
21316
|
}
|
|
21264
21317
|
render() {
|
|
21265
|
-
return hAsync("div", { class: CSS$
|
|
21318
|
+
return hAsync("div", { class: CSS$S.header }, this.renderContent());
|
|
21266
21319
|
}
|
|
21267
21320
|
renderContent() {
|
|
21268
21321
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21285,12 +21338,12 @@ class DatePickerMonthHeader {
|
|
|
21285
21338
|
const order = getOrder(unitOrder);
|
|
21286
21339
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21287
21340
|
const suffix = localeData.year?.suffix;
|
|
21288
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21341
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$S.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$S.textReverse]: reverse } }, hAsync(Heading, { class: CSS$S.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$S.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
21289
21342
|
year: true,
|
|
21290
|
-
[CSS$
|
|
21343
|
+
[CSS$S.yearSuffix]: !!suffix,
|
|
21291
21344
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21292
21345
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21293
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
21346
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$S.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$S.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
21294
21347
|
}
|
|
21295
21348
|
setNextPrevMonthDates() {
|
|
21296
21349
|
if (!this.activeDate) {
|
|
@@ -21473,8 +21526,7 @@ class Dropdown {
|
|
|
21473
21526
|
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
21474
21527
|
};
|
|
21475
21528
|
this.keyDownHandler = (event) => {
|
|
21476
|
-
|
|
21477
|
-
if (target !== this.referenceEl) {
|
|
21529
|
+
if (!event.composedPath().includes(this.referenceEl)) {
|
|
21478
21530
|
return;
|
|
21479
21531
|
}
|
|
21480
21532
|
const { defaultPrevented, key } = event;
|
|
@@ -21793,7 +21845,7 @@ class Dropdown {
|
|
|
21793
21845
|
}; }
|
|
21794
21846
|
}
|
|
21795
21847
|
|
|
21796
|
-
const CSS$
|
|
21848
|
+
const CSS$R = {
|
|
21797
21849
|
container: "container",
|
|
21798
21850
|
containerLink: "container--link",
|
|
21799
21851
|
containerMulti: "container--multi-selection",
|
|
@@ -21841,8 +21893,8 @@ class DropdownGroup {
|
|
|
21841
21893
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21842
21894
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21843
21895
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21844
|
-
[CSS$
|
|
21845
|
-
[`${CSS$
|
|
21896
|
+
[CSS$R.container]: true,
|
|
21897
|
+
[`${CSS$R.container}--${this.scale}`]: true,
|
|
21846
21898
|
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21847
21899
|
}
|
|
21848
21900
|
//--------------------------------------------------------------------------
|
|
@@ -21936,9 +21988,9 @@ class DropdownItem {
|
|
|
21936
21988
|
}
|
|
21937
21989
|
render() {
|
|
21938
21990
|
const { href, selectionMode, label, iconFlipRtl, scale } = this;
|
|
21939
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
21940
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
21941
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
21991
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$R.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21992
|
+
const contentNode = (hAsync("span", { class: CSS$R.itemContent }, hAsync("slot", null)));
|
|
21993
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$R.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
21942
21994
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21943
21995
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21944
21996
|
: this.iconStart
|
|
@@ -21946,7 +21998,7 @@ class DropdownItem {
|
|
|
21946
21998
|
: this.iconEnd
|
|
21947
21999
|
? [contentNode, iconEndEl]
|
|
21948
22000
|
: contentNode;
|
|
21949
|
-
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$
|
|
22001
|
+
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$R.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21950
22002
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21951
22003
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21952
22004
|
const itemRole = href
|
|
@@ -21958,13 +22010,13 @@ class DropdownItem {
|
|
|
21958
22010
|
: "menuitem";
|
|
21959
22011
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21960
22012
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21961
|
-
[CSS$
|
|
21962
|
-
[CSS$
|
|
21963
|
-
[`${CSS$
|
|
21964
|
-
[CSS$
|
|
21965
|
-
[CSS$
|
|
21966
|
-
[CSS$
|
|
21967
|
-
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
22013
|
+
[CSS$R.container]: true,
|
|
22014
|
+
[CSS$R.containerLink]: !!href,
|
|
22015
|
+
[`${CSS$R.container}--${scale}`]: true,
|
|
22016
|
+
[CSS$R.containerMulti]: selectionMode === "multiple",
|
|
22017
|
+
[CSS$R.containerSingle]: selectionMode === "single",
|
|
22018
|
+
[CSS$R.containerNone]: selectionMode === "none",
|
|
22019
|
+
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$R.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
21968
22020
|
}
|
|
21969
22021
|
//--------------------------------------------------------------------------
|
|
21970
22022
|
//
|
|
@@ -22071,10 +22123,10 @@ class DropdownItem {
|
|
|
22071
22123
|
}; }
|
|
22072
22124
|
}
|
|
22073
22125
|
|
|
22074
|
-
const CSS$
|
|
22126
|
+
const CSS$Q = {
|
|
22075
22127
|
button: "button",
|
|
22076
22128
|
};
|
|
22077
|
-
const ICONS$
|
|
22129
|
+
const ICONS$d = {
|
|
22078
22130
|
plus: "plus",
|
|
22079
22131
|
};
|
|
22080
22132
|
|
|
@@ -22086,7 +22138,7 @@ class Fab {
|
|
|
22086
22138
|
this.appearance = "solid";
|
|
22087
22139
|
this.kind = "brand";
|
|
22088
22140
|
this.disabled = false;
|
|
22089
|
-
this.icon = ICONS$
|
|
22141
|
+
this.icon = ICONS$d.plus;
|
|
22090
22142
|
this.iconFlipRtl = false;
|
|
22091
22143
|
this.label = undefined;
|
|
22092
22144
|
this.loading = false;
|
|
@@ -22132,7 +22184,7 @@ class Fab {
|
|
|
22132
22184
|
render() {
|
|
22133
22185
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22134
22186
|
const title = !textEnabled ? label || text || null : null;
|
|
22135
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
22187
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$Q.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
|
|
22136
22188
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22137
22189
|
ref: (buttonEl) => {
|
|
22138
22190
|
this.buttonEl = buttonEl;
|
|
@@ -22162,11 +22214,11 @@ class Fab {
|
|
|
22162
22214
|
}; }
|
|
22163
22215
|
}
|
|
22164
22216
|
|
|
22165
|
-
const CSS$
|
|
22217
|
+
const CSS$P = {
|
|
22166
22218
|
container: "container",
|
|
22167
22219
|
searchIcon: "search-icon",
|
|
22168
22220
|
};
|
|
22169
|
-
const ICONS$
|
|
22221
|
+
const ICONS$c = {
|
|
22170
22222
|
search: "search",
|
|
22171
22223
|
close: "x",
|
|
22172
22224
|
};
|
|
@@ -22291,7 +22343,7 @@ class Filter {
|
|
|
22291
22343
|
// --------------------------------------------------------------------------
|
|
22292
22344
|
render() {
|
|
22293
22345
|
const { disabled, scale } = this;
|
|
22294
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
22346
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$P.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$c.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
22295
22347
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22296
22348
|
ref: (el) => {
|
|
22297
22349
|
this.textInput = el;
|
|
@@ -22330,7 +22382,7 @@ class Filter {
|
|
|
22330
22382
|
}; }
|
|
22331
22383
|
}
|
|
22332
22384
|
|
|
22333
|
-
const CSS$
|
|
22385
|
+
const CSS$O = {
|
|
22334
22386
|
frame: "frame",
|
|
22335
22387
|
frameAdvancing: "frame--advancing",
|
|
22336
22388
|
frameRetreating: "frame--retreating",
|
|
@@ -22440,7 +22492,10 @@ class Flow {
|
|
|
22440
22492
|
// Private Methods
|
|
22441
22493
|
//
|
|
22442
22494
|
// --------------------------------------------------------------------------
|
|
22443
|
-
async handleItemBackClick() {
|
|
22495
|
+
async handleItemBackClick(event) {
|
|
22496
|
+
if (event.defaultPrevented) {
|
|
22497
|
+
return;
|
|
22498
|
+
}
|
|
22444
22499
|
await this.back();
|
|
22445
22500
|
return this.setFocus();
|
|
22446
22501
|
}
|
|
@@ -22452,9 +22507,9 @@ class Flow {
|
|
|
22452
22507
|
render() {
|
|
22453
22508
|
const { flowDirection } = this;
|
|
22454
22509
|
const frameDirectionClasses = {
|
|
22455
|
-
[CSS$
|
|
22456
|
-
[CSS$
|
|
22457
|
-
[CSS$
|
|
22510
|
+
[CSS$O.frame]: true,
|
|
22511
|
+
[CSS$O.frameAdvancing]: flowDirection === "advancing",
|
|
22512
|
+
[CSS$O.frameRetreating]: flowDirection === "retreating",
|
|
22458
22513
|
};
|
|
22459
22514
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22460
22515
|
}
|
|
@@ -22477,7 +22532,7 @@ class Flow {
|
|
|
22477
22532
|
}; }
|
|
22478
22533
|
}
|
|
22479
22534
|
|
|
22480
|
-
const CSS$
|
|
22535
|
+
const CSS$N = {
|
|
22481
22536
|
actionBarContainer: "action-bar-container",
|
|
22482
22537
|
backButton: "back-button",
|
|
22483
22538
|
container: "container",
|
|
@@ -22495,7 +22550,7 @@ const CSS$M = {
|
|
|
22495
22550
|
fabContainer: "fab-container",
|
|
22496
22551
|
footer: "footer",
|
|
22497
22552
|
};
|
|
22498
|
-
const ICONS$
|
|
22553
|
+
const ICONS$b = {
|
|
22499
22554
|
close: "x",
|
|
22500
22555
|
menu: "ellipsis",
|
|
22501
22556
|
backLeft: "chevron-left",
|
|
@@ -22512,10 +22567,10 @@ const SLOTS$n = {
|
|
|
22512
22567
|
footerActions: "footer-actions",
|
|
22513
22568
|
};
|
|
22514
22569
|
|
|
22515
|
-
const CSS$
|
|
22570
|
+
const CSS$M = {
|
|
22516
22571
|
backButton: "back-button",
|
|
22517
22572
|
};
|
|
22518
|
-
const ICONS$
|
|
22573
|
+
const ICONS$a = {
|
|
22519
22574
|
backLeft: "chevron-left",
|
|
22520
22575
|
backRight: "chevron-right",
|
|
22521
22576
|
};
|
|
@@ -22546,7 +22601,7 @@ const flowItemCss = "/*!@:host*/.sc-calcite-flow-item-h{box-sizing:border-box;ba
|
|
|
22546
22601
|
class FlowItem {
|
|
22547
22602
|
constructor(hostRef) {
|
|
22548
22603
|
registerInstance(this, hostRef);
|
|
22549
|
-
this.calciteFlowItemBack = createEvent(this, "calciteFlowItemBack",
|
|
22604
|
+
this.calciteFlowItemBack = createEvent(this, "calciteFlowItemBack", 7);
|
|
22550
22605
|
this.calciteFlowItemScroll = createEvent(this, "calciteFlowItemScroll", 6);
|
|
22551
22606
|
this.calciteFlowItemClose = createEvent(this, "calciteFlowItemClose", 6);
|
|
22552
22607
|
// --------------------------------------------------------------------------
|
|
@@ -22659,8 +22714,8 @@ class FlowItem {
|
|
|
22659
22714
|
const rtl = getElementDir(el) === "rtl";
|
|
22660
22715
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22661
22716
|
const label = messages.back;
|
|
22662
|
-
const icon = rtl ? ICONS$
|
|
22663
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
22717
|
+
const icon = rtl ? ICONS$a.backRight : ICONS$a.backLeft;
|
|
22718
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$M.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
|
|
22664
22719
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22665
22720
|
ref: this.setBackRef })) : null;
|
|
22666
22721
|
}
|
|
@@ -22767,7 +22822,7 @@ function bezier(p0, p1, m0, m1, t) {
|
|
|
22767
22822
|
* @param root0.min
|
|
22768
22823
|
* @param root0.max
|
|
22769
22824
|
*/
|
|
22770
|
-
function translate$
|
|
22825
|
+
function translate$4({ width, height, min, max }) {
|
|
22771
22826
|
const rangeX = max[0] - min[0];
|
|
22772
22827
|
const rangeY = max[1] - min[1];
|
|
22773
22828
|
return (point) => {
|
|
@@ -22873,7 +22928,7 @@ class Graph {
|
|
|
22873
22928
|
if (max > rangeMax[0] || max < rangeMax[0]) {
|
|
22874
22929
|
currentMax = [max, rangeMax[1]];
|
|
22875
22930
|
}
|
|
22876
|
-
const t = translate$
|
|
22931
|
+
const t = translate$4({ min: currentMin, max: currentMax, width, height });
|
|
22877
22932
|
const [hMinX] = t([highlightMin, currentMax[1]]);
|
|
22878
22933
|
const [hMaxX] = t([highlightMax, currentMax[1]]);
|
|
22879
22934
|
const areaPath = area({ data, min: rangeMin, max: rangeMax, t });
|
|
@@ -22924,11 +22979,11 @@ class Graph {
|
|
|
22924
22979
|
}; }
|
|
22925
22980
|
}
|
|
22926
22981
|
|
|
22927
|
-
const CSS$
|
|
22982
|
+
const CSS$L = {
|
|
22928
22983
|
handle: "handle",
|
|
22929
22984
|
handleActivated: "handle--activated",
|
|
22930
22985
|
};
|
|
22931
|
-
const ICONS$
|
|
22986
|
+
const ICONS$9 = {
|
|
22932
22987
|
drag: "drag",
|
|
22933
22988
|
};
|
|
22934
22989
|
|
|
@@ -23047,11 +23102,11 @@ class Handle {
|
|
|
23047
23102
|
render() {
|
|
23048
23103
|
return (
|
|
23049
23104
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23050
|
-
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
23105
|
+
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$L.handle]: true, [CSS$L.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
|
|
23051
23106
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23052
23107
|
ref: (el) => {
|
|
23053
23108
|
this.handleButton = el;
|
|
23054
|
-
} }, hAsync("calcite-icon", { icon: ICONS$
|
|
23109
|
+
} }, hAsync("calcite-icon", { icon: ICONS$9.drag, scale: "s" })));
|
|
23055
23110
|
}
|
|
23056
23111
|
static get assetsDirs() { return ["assets"]; }
|
|
23057
23112
|
get el() { return getElement(this); }
|
|
@@ -23086,7 +23141,7 @@ class Handle {
|
|
|
23086
23141
|
}; }
|
|
23087
23142
|
}
|
|
23088
23143
|
|
|
23089
|
-
const CSS$
|
|
23144
|
+
const CSS$K = {
|
|
23090
23145
|
icon: "icon",
|
|
23091
23146
|
flipRtl: "flip-rtl",
|
|
23092
23147
|
};
|
|
@@ -23134,7 +23189,7 @@ class Icon {
|
|
|
23134
23189
|
const semantic = !!textLabel;
|
|
23135
23190
|
const paths = [].concat(pathData || "");
|
|
23136
23191
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23137
|
-
[CSS$
|
|
23192
|
+
[CSS$K.flipRtl]: dir === "rtl" && flipRtl,
|
|
23138
23193
|
svg: true,
|
|
23139
23194
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
23140
23195
|
}
|
|
@@ -23180,7 +23235,7 @@ class Icon {
|
|
|
23180
23235
|
}; }
|
|
23181
23236
|
}
|
|
23182
23237
|
|
|
23183
|
-
const CSS$
|
|
23238
|
+
const CSS$J = {
|
|
23184
23239
|
wrapper: "wrapper",
|
|
23185
23240
|
confirmChangesButton: "confirm-changes-button",
|
|
23186
23241
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23330,16 +23385,16 @@ class InlineEditable {
|
|
|
23330
23385
|
updateHostInteraction(this);
|
|
23331
23386
|
}
|
|
23332
23387
|
render() {
|
|
23333
|
-
return (hAsync("div", { class: CSS$
|
|
23388
|
+
return (hAsync("div", { class: CSS$J.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$J.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$J.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$J.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
23334
23389
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23335
23390
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23336
23391
|
}, type: "button",
|
|
23337
23392
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23338
23393
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23339
|
-
hAsync("div", { class: CSS$
|
|
23394
|
+
hAsync("div", { class: CSS$J.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$J.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
23340
23395
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23341
23396
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23342
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
23397
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$J.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
23343
23398
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23344
23399
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23345
23400
|
])));
|
|
@@ -23425,7 +23480,7 @@ class InlineEditable {
|
|
|
23425
23480
|
}; }
|
|
23426
23481
|
}
|
|
23427
23482
|
|
|
23428
|
-
const CSS$
|
|
23483
|
+
const CSS$I = {
|
|
23429
23484
|
loader: "loader",
|
|
23430
23485
|
clearButton: "clear-button",
|
|
23431
23486
|
editingEnabled: "editing-enabled",
|
|
@@ -24009,38 +24064,38 @@ class Input {
|
|
|
24009
24064
|
// --------------------------------------------------------------------------
|
|
24010
24065
|
render() {
|
|
24011
24066
|
const dir = getElementDir(this.el);
|
|
24012
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24013
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24014
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24067
|
+
const loader = (hAsync("div", { class: CSS$I.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24068
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$I.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24069
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$I.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
24015
24070
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24016
24071
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24017
|
-
[CSS$
|
|
24018
|
-
[CSS$
|
|
24072
|
+
[CSS$I.numberButtonItem]: true,
|
|
24073
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24019
24074
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
24020
24075
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24021
|
-
[CSS$
|
|
24022
|
-
[CSS$
|
|
24076
|
+
[CSS$I.numberButtonItem]: true,
|
|
24077
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24023
24078
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
24024
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24025
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24026
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
24079
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$I.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
24080
|
+
const prefixText = hAsync("div", { class: CSS$I.prefix }, this.prefixText);
|
|
24081
|
+
const suffixText = hAsync("div", { class: CSS$I.suffix }, this.suffixText);
|
|
24027
24082
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
24028
24083
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
24029
24084
|
ref: this.setChildNumberElRef })) : null;
|
|
24030
24085
|
const childEl = this.type !== "number"
|
|
24031
24086
|
? [
|
|
24032
24087
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24033
|
-
[CSS$
|
|
24034
|
-
[CSS$
|
|
24088
|
+
[CSS$I.editingEnabled]: this.editingEnabled,
|
|
24089
|
+
[CSS$I.inlineChild]: !!this.inlineEditableEl,
|
|
24035
24090
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
|
|
24036
24091
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
24037
24092
|
ref: this.setChildElRef }),
|
|
24038
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
24093
|
+
this.isTextarea ? (hAsync("div", { class: CSS$I.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
|
|
24039
24094
|
]
|
|
24040
24095
|
: null;
|
|
24041
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24096
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$I.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24042
24097
|
? numberButtonsHorizontalDown
|
|
24043
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24098
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$I.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$I.actionWrapper }, hAsync("slot", { name: SLOTS$l.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
24044
24099
|
? numberButtonsVertical
|
|
24045
24100
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24046
24101
|
? numberButtonsHorizontalUp
|
|
@@ -24115,7 +24170,7 @@ class Input {
|
|
|
24115
24170
|
}; }
|
|
24116
24171
|
}
|
|
24117
24172
|
|
|
24118
|
-
const CSS$
|
|
24173
|
+
const CSS$H = {
|
|
24119
24174
|
assistiveText: "assistive-text",
|
|
24120
24175
|
menu: "menu-container",
|
|
24121
24176
|
menuActive: "menu-container--active",
|
|
@@ -25582,9 +25637,9 @@ class InputDatePicker {
|
|
|
25582
25637
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25583
25638
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
25584
25639
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25585
|
-
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$
|
|
25586
|
-
[CSS$
|
|
25587
|
-
[CSS$
|
|
25640
|
+
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$H.assistiveText, id: this.placeholderTextId }, "Date Format: ", this.localeData?.placeholder)), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
25641
|
+
[CSS$H.menu]: true,
|
|
25642
|
+
[CSS$H.menuActive]: this.open,
|
|
25588
25643
|
}, id: this.dialogId, role: "dialog",
|
|
25589
25644
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25590
25645
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25606,7 +25661,7 @@ class InputDatePicker {
|
|
|
25606
25661
|
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25607
25662
|
}
|
|
25608
25663
|
renderToggleIcon(open) {
|
|
25609
|
-
return (hAsync("span", { class: CSS$
|
|
25664
|
+
return (hAsync("span", { class: CSS$H.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25610
25665
|
}
|
|
25611
25666
|
setReferenceEl() {
|
|
25612
25667
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -25871,7 +25926,7 @@ class InputMessage {
|
|
|
25871
25926
|
}; }
|
|
25872
25927
|
}
|
|
25873
25928
|
|
|
25874
|
-
const CSS$
|
|
25929
|
+
const CSS$G = {
|
|
25875
25930
|
loader: "loader",
|
|
25876
25931
|
clearButton: "clear-button",
|
|
25877
25932
|
editingEnabled: "editing-enabled",
|
|
@@ -26386,27 +26441,27 @@ class InputNumber {
|
|
|
26386
26441
|
// --------------------------------------------------------------------------
|
|
26387
26442
|
render() {
|
|
26388
26443
|
const dir = getElementDir(this.el);
|
|
26389
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26390
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26391
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26444
|
+
const loader = (hAsync("div", { class: CSS$G.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26445
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$G.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26446
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$G.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26392
26447
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26393
26448
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26394
|
-
[CSS$
|
|
26395
|
-
[CSS$
|
|
26449
|
+
[CSS$G.numberButtonItem]: true,
|
|
26450
|
+
[CSS$G.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26396
26451
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
26397
26452
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26398
|
-
[CSS$
|
|
26399
|
-
[CSS$
|
|
26453
|
+
[CSS$G.numberButtonItem]: true,
|
|
26454
|
+
[CSS$G.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26400
26455
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
26401
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
26402
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26403
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26456
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$G.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
26457
|
+
const prefixText = hAsync("div", { class: CSS$G.prefix }, this.prefixText);
|
|
26458
|
+
const suffixText = hAsync("div", { class: CSS$G.suffix }, this.suffixText);
|
|
26404
26459
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
26405
26460
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
26406
26461
|
ref: this.setChildNumberElRef }));
|
|
26407
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26462
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$G.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26408
26463
|
? numberButtonsHorizontalDown
|
|
26409
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
26464
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$G.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$G.actionWrapper }, hAsync("slot", { name: SLOTS$k.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26410
26465
|
? numberButtonsHorizontalUp
|
|
26411
26466
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26412
26467
|
}
|
|
@@ -26474,7 +26529,7 @@ class InputNumber {
|
|
|
26474
26529
|
}; }
|
|
26475
26530
|
}
|
|
26476
26531
|
|
|
26477
|
-
const CSS$
|
|
26532
|
+
const CSS$F = {
|
|
26478
26533
|
loader: "loader",
|
|
26479
26534
|
clearButton: "clear-button",
|
|
26480
26535
|
editingEnabled: "editing-enabled",
|
|
@@ -26774,18 +26829,18 @@ class InputText {
|
|
|
26774
26829
|
// --------------------------------------------------------------------------
|
|
26775
26830
|
render() {
|
|
26776
26831
|
const dir = getElementDir(this.el);
|
|
26777
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26778
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26779
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26780
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26781
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26832
|
+
const loader = (hAsync("div", { class: CSS$F.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26833
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$F.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26834
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$F.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26835
|
+
const prefixText = hAsync("div", { class: CSS$F.prefix }, this.prefixText);
|
|
26836
|
+
const suffixText = hAsync("div", { class: CSS$F.suffix }, this.suffixText);
|
|
26782
26837
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26783
|
-
[CSS$
|
|
26784
|
-
[CSS$
|
|
26838
|
+
[CSS$F.editingEnabled]: this.editingEnabled,
|
|
26839
|
+
[CSS$F.inlineChild]: !!this.inlineEditableEl,
|
|
26785
26840
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
26786
26841
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
26787
26842
|
ref: this.setChildElRef }));
|
|
26788
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26843
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$F.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$F.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$F.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26789
26844
|
}
|
|
26790
26845
|
static get assetsDirs() { return ["assets"]; }
|
|
26791
26846
|
get el() { return getElement(this); }
|
|
@@ -27101,7 +27156,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
27101
27156
|
return isoTimeString;
|
|
27102
27157
|
}
|
|
27103
27158
|
|
|
27104
|
-
const CSS$
|
|
27159
|
+
const CSS$E = {
|
|
27105
27160
|
toggleIcon: "toggle-icon",
|
|
27106
27161
|
};
|
|
27107
27162
|
|
|
@@ -27211,11 +27266,11 @@ var L = 'en'; // global locale
|
|
|
27211
27266
|
var Ls = {}; // global loaded locale
|
|
27212
27267
|
|
|
27213
27268
|
Ls[L] = en;
|
|
27269
|
+
var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define
|
|
27214
27270
|
|
|
27215
27271
|
var isDayjs = function isDayjs(d) {
|
|
27216
|
-
return d instanceof Dayjs;
|
|
27217
|
-
};
|
|
27218
|
-
|
|
27272
|
+
return d instanceof Dayjs || !!(d && d[IS_DAYJS]);
|
|
27273
|
+
};
|
|
27219
27274
|
|
|
27220
27275
|
var parseLocale = function parseLocale(preset, object, isLocal) {
|
|
27221
27276
|
var l;
|
|
@@ -27308,13 +27363,15 @@ var Dayjs = /*#__PURE__*/function () {
|
|
|
27308
27363
|
function Dayjs(cfg) {
|
|
27309
27364
|
this.$L = parseLocale(cfg.locale, null, true);
|
|
27310
27365
|
this.parse(cfg); // for plugin
|
|
27366
|
+
|
|
27367
|
+
this.$x = this.$x || cfg.x || {};
|
|
27368
|
+
this[IS_DAYJS] = true;
|
|
27311
27369
|
}
|
|
27312
27370
|
|
|
27313
27371
|
var _proto = Dayjs.prototype;
|
|
27314
27372
|
|
|
27315
27373
|
_proto.parse = function parse(cfg) {
|
|
27316
27374
|
this.$d = parseDate(cfg);
|
|
27317
|
-
this.$x = cfg.x || {};
|
|
27318
27375
|
this.init();
|
|
27319
27376
|
};
|
|
27320
27377
|
|
|
@@ -28329,12 +28386,17 @@ dayjs.extend(updateLocale);
|
|
|
28329
28386
|
class InputTimePicker {
|
|
28330
28387
|
constructor(hostRef) {
|
|
28331
28388
|
registerInstance(this, hostRef);
|
|
28389
|
+
this.calciteInputTimePickerBeforeClose = createEvent(this, "calciteInputTimePickerBeforeClose", 6);
|
|
28390
|
+
this.calciteInputTimePickerBeforeOpen = createEvent(this, "calciteInputTimePickerBeforeOpen", 6);
|
|
28332
28391
|
this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
|
|
28392
|
+
this.calciteInputTimePickerClose = createEvent(this, "calciteInputTimePickerClose", 6);
|
|
28393
|
+
this.calciteInputTimePickerOpen = createEvent(this, "calciteInputTimePickerOpen", 6);
|
|
28333
28394
|
this.focusOnOpen = false;
|
|
28334
28395
|
this.dialogId = `time-picker-dialog--${guid()}`;
|
|
28335
28396
|
/** whether the value of the input was changed as a result of user typing or not */
|
|
28336
28397
|
this.userChangedValue = false;
|
|
28337
28398
|
this.referenceElementId = `input-time-picker-${guid()}`;
|
|
28399
|
+
this.openTransitionProp = "opacity";
|
|
28338
28400
|
//--------------------------------------------------------------------------
|
|
28339
28401
|
//
|
|
28340
28402
|
// Event Listeners
|
|
@@ -28407,6 +28469,7 @@ class InputTimePicker {
|
|
|
28407
28469
|
this.focusOnOpen = false;
|
|
28408
28470
|
},
|
|
28409
28471
|
});
|
|
28472
|
+
this.open = false;
|
|
28410
28473
|
};
|
|
28411
28474
|
this.popoverOpenHandler = () => {
|
|
28412
28475
|
activateFocusTrap(this, {
|
|
@@ -28460,8 +28523,9 @@ class InputTimePicker {
|
|
|
28460
28523
|
this.setCalcitePopoverEl = (el) => {
|
|
28461
28524
|
this.popoverEl = el;
|
|
28462
28525
|
};
|
|
28463
|
-
this.
|
|
28526
|
+
this.setInputAndTransitionEl = (el) => {
|
|
28464
28527
|
this.calciteInputEl = el;
|
|
28528
|
+
this.transitionEl = el;
|
|
28465
28529
|
};
|
|
28466
28530
|
this.setCalciteTimePickerEl = (el) => {
|
|
28467
28531
|
this.calciteTimePickerEl = el;
|
|
@@ -28549,12 +28613,13 @@ class InputTimePicker {
|
|
|
28549
28613
|
this.defaultMessages = undefined;
|
|
28550
28614
|
this.effectiveLocale = "";
|
|
28551
28615
|
}
|
|
28552
|
-
openHandler(
|
|
28616
|
+
openHandler(open) {
|
|
28617
|
+
onToggleOpenCloseComponent(this);
|
|
28553
28618
|
if (this.disabled || this.readOnly) {
|
|
28554
28619
|
this.open = false;
|
|
28555
28620
|
return;
|
|
28556
28621
|
}
|
|
28557
|
-
if (
|
|
28622
|
+
if (open) {
|
|
28558
28623
|
this.reposition(true);
|
|
28559
28624
|
}
|
|
28560
28625
|
}
|
|
@@ -28626,6 +28691,18 @@ class InputTimePicker {
|
|
|
28626
28691
|
// Private Methods
|
|
28627
28692
|
//
|
|
28628
28693
|
// --------------------------------------------------------------------------
|
|
28694
|
+
onBeforeOpen() {
|
|
28695
|
+
this.calciteInputTimePickerBeforeOpen.emit();
|
|
28696
|
+
}
|
|
28697
|
+
onOpen() {
|
|
28698
|
+
this.calciteInputTimePickerOpen.emit();
|
|
28699
|
+
}
|
|
28700
|
+
onBeforeClose() {
|
|
28701
|
+
this.calciteInputTimePickerBeforeClose.emit();
|
|
28702
|
+
}
|
|
28703
|
+
onClose() {
|
|
28704
|
+
this.calciteInputTimePickerClose.emit();
|
|
28705
|
+
}
|
|
28629
28706
|
delocalizeTimeString(value) {
|
|
28630
28707
|
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
|
28631
28708
|
dayjs.locale(this.effectiveLocale.toLowerCase());
|
|
@@ -28834,6 +28911,9 @@ class InputTimePicker {
|
|
|
28834
28911
|
async componentWillLoad() {
|
|
28835
28912
|
setUpLoadableComponent(this);
|
|
28836
28913
|
await Promise.all([setUpMessages(this), this.loadDateTimeLocaleData()]);
|
|
28914
|
+
if (this.open) {
|
|
28915
|
+
onToggleOpenCloseComponent(this);
|
|
28916
|
+
}
|
|
28837
28917
|
}
|
|
28838
28918
|
componentDidLoad() {
|
|
28839
28919
|
setComponentLoaded(this);
|
|
@@ -28867,14 +28947,14 @@ class InputTimePicker {
|
|
|
28867
28947
|
const { disabled, messages, readOnly, dialogId } = this;
|
|
28868
28948
|
return (hAsync(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
28869
28949
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
28870
|
-
ref: this.
|
|
28950
|
+
ref: this.setInputAndTransitionEl }), !this.readOnly && this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
28871
28951
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
28872
28952
|
ref: this.setCalcitePopoverEl }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
|
28873
28953
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
28874
28954
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28875
28955
|
}
|
|
28876
28956
|
renderToggleIcon(open) {
|
|
28877
|
-
return (hAsync("span", { class: CSS$
|
|
28957
|
+
return (hAsync("span", { class: CSS$E.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
28878
28958
|
}
|
|
28879
28959
|
static get delegatesFocus() { return true; }
|
|
28880
28960
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -29114,7 +29194,7 @@ class InputTimeZone {
|
|
|
29114
29194
|
}; }
|
|
29115
29195
|
}
|
|
29116
29196
|
|
|
29117
|
-
const CSS$
|
|
29197
|
+
const CSS$D = {
|
|
29118
29198
|
container: "container",
|
|
29119
29199
|
};
|
|
29120
29200
|
|
|
@@ -29154,7 +29234,7 @@ class Label {
|
|
|
29154
29234
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
29155
29235
|
}
|
|
29156
29236
|
render() {
|
|
29157
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
29237
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$D.container }, hAsync("slot", null))));
|
|
29158
29238
|
}
|
|
29159
29239
|
get el() { return getElement(this); }
|
|
29160
29240
|
static get style() { return labelCss; }
|
|
@@ -29289,7 +29369,7 @@ class Link {
|
|
|
29289
29369
|
}; }
|
|
29290
29370
|
}
|
|
29291
29371
|
|
|
29292
|
-
const CSS$
|
|
29372
|
+
const CSS$C = {
|
|
29293
29373
|
container: "container",
|
|
29294
29374
|
containerBorderSelected: "container--border-selected",
|
|
29295
29375
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29319,7 +29399,7 @@ const SLOTS$i = {
|
|
|
29319
29399
|
};
|
|
29320
29400
|
// Set to zero to extend until the end of the table section.
|
|
29321
29401
|
const MAX_COLUMNS = 0;
|
|
29322
|
-
const ICONS$
|
|
29402
|
+
const ICONS$8 = {
|
|
29323
29403
|
selectedMultiple: "check-circle-f",
|
|
29324
29404
|
selectedSingle: "circle-f",
|
|
29325
29405
|
unselected: "blank",
|
|
@@ -29356,7 +29436,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29356
29436
|
}
|
|
29357
29437
|
}
|
|
29358
29438
|
|
|
29359
|
-
const CSS$
|
|
29439
|
+
const CSS$B = {
|
|
29360
29440
|
container: "container",
|
|
29361
29441
|
table: "table",
|
|
29362
29442
|
scrim: "scrim",
|
|
@@ -32392,7 +32472,7 @@ Sortable.mount(new AutoScrollPlugin());
|
|
|
32392
32472
|
Sortable.mount(Remove, Revert);
|
|
32393
32473
|
|
|
32394
32474
|
const sortableComponentSet = new Set();
|
|
32395
|
-
const CSS$
|
|
32475
|
+
const CSS$A = {
|
|
32396
32476
|
ghostClass: "calcite-sortable--ghost",
|
|
32397
32477
|
chosenClass: "calcite-sortable--chosen",
|
|
32398
32478
|
dragClass: "calcite-sortable--drag",
|
|
@@ -32409,16 +32489,16 @@ function connectSortableComponent(component) {
|
|
|
32409
32489
|
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
32410
32490
|
component.sortable = Sortable.create(component.el, {
|
|
32411
32491
|
dataIdAttr,
|
|
32412
|
-
...CSS$
|
|
32492
|
+
...CSS$A,
|
|
32413
32493
|
...(!!draggable && { draggable }),
|
|
32414
32494
|
...(!!group && {
|
|
32415
32495
|
group: {
|
|
32416
32496
|
name: group,
|
|
32417
32497
|
...(!!component.canPull && {
|
|
32418
|
-
pull: (to, from, dragEl) => component.canPull({ toEl: to.el, fromEl: from.el, dragEl }),
|
|
32498
|
+
pull: (to, from, dragEl, { newIndex, oldIndex }) => component.canPull({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
|
|
32419
32499
|
}),
|
|
32420
32500
|
...(!!component.canPut && {
|
|
32421
|
-
put: (to, from, dragEl) => component.canPut({ toEl: to.el, fromEl: from.el, dragEl }),
|
|
32501
|
+
put: (to, from, dragEl, { newIndex, oldIndex }) => component.canPut({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
|
|
32422
32502
|
}),
|
|
32423
32503
|
},
|
|
32424
32504
|
}),
|
|
@@ -32431,8 +32511,8 @@ function connectSortableComponent(component) {
|
|
|
32431
32511
|
dragState.active = false;
|
|
32432
32512
|
onDragEnd();
|
|
32433
32513
|
},
|
|
32434
|
-
onSort: ({ from: fromEl, item: dragEl, to: toEl }) => {
|
|
32435
|
-
component.onDragSort({ fromEl, dragEl, toEl });
|
|
32514
|
+
onSort: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
|
|
32515
|
+
component.onDragSort({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
|
32436
32516
|
},
|
|
32437
32517
|
});
|
|
32438
32518
|
}
|
|
@@ -32463,7 +32543,7 @@ function onDragEnd() {
|
|
|
32463
32543
|
Array.from(sortableComponentSet).forEach((component) => component.onDragEnd());
|
|
32464
32544
|
}
|
|
32465
32545
|
|
|
32466
|
-
const CSS$
|
|
32546
|
+
const CSS$z = {
|
|
32467
32547
|
container: "container",
|
|
32468
32548
|
actionsStart: "actions-start",
|
|
32469
32549
|
contentStart: "content-start",
|
|
@@ -32792,9 +32872,9 @@ class List$1 {
|
|
|
32792
32872
|
// --------------------------------------------------------------------------
|
|
32793
32873
|
render() {
|
|
32794
32874
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
32795
|
-
return (hAsync("div", { class: CSS$
|
|
32875
|
+
return (hAsync("div", { class: CSS$B.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$B.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$B.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$B.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$B.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$B.stack }, hAsync("slot", { name: SLOTS$h.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: SLOTS$g.actionsStart }), hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
|
|
32796
32876
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
32797
|
-
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$h.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$g.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$
|
|
32877
|
+
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$h.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$g.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$B.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
32798
32878
|
}
|
|
32799
32879
|
// --------------------------------------------------------------------------
|
|
32800
32880
|
//
|
|
@@ -32875,26 +32955,28 @@ class List$1 {
|
|
|
32875
32955
|
const { enabledListItems } = this;
|
|
32876
32956
|
const sameParentItems = enabledListItems.filter((item) => item.parentElement === parentEl);
|
|
32877
32957
|
const lastIndex = sameParentItems.length - 1;
|
|
32878
|
-
const
|
|
32958
|
+
const oldIndex = sameParentItems.indexOf(sortItem);
|
|
32879
32959
|
let appendInstead = false;
|
|
32880
|
-
let
|
|
32960
|
+
let newIndex;
|
|
32881
32961
|
if (direction === "up") {
|
|
32882
|
-
if (
|
|
32962
|
+
if (oldIndex === 0) {
|
|
32883
32963
|
appendInstead = true;
|
|
32964
|
+
newIndex = lastIndex;
|
|
32884
32965
|
}
|
|
32885
32966
|
else {
|
|
32886
|
-
|
|
32967
|
+
newIndex = oldIndex - 1;
|
|
32887
32968
|
}
|
|
32888
32969
|
}
|
|
32889
32970
|
else {
|
|
32890
|
-
if (
|
|
32891
|
-
|
|
32971
|
+
if (oldIndex === lastIndex) {
|
|
32972
|
+
newIndex = 0;
|
|
32892
32973
|
}
|
|
32893
|
-
else if (
|
|
32974
|
+
else if (oldIndex === lastIndex - 1) {
|
|
32894
32975
|
appendInstead = true;
|
|
32976
|
+
newIndex = lastIndex;
|
|
32895
32977
|
}
|
|
32896
32978
|
else {
|
|
32897
|
-
|
|
32979
|
+
newIndex = oldIndex + 2;
|
|
32898
32980
|
}
|
|
32899
32981
|
}
|
|
32900
32982
|
this.disconnectObserver();
|
|
@@ -32902,14 +32984,16 @@ class List$1 {
|
|
|
32902
32984
|
parentEl.appendChild(sortItem);
|
|
32903
32985
|
}
|
|
32904
32986
|
else {
|
|
32905
|
-
parentEl.insertBefore(sortItem, sameParentItems[
|
|
32987
|
+
parentEl.insertBefore(sortItem, sameParentItems[newIndex]);
|
|
32906
32988
|
}
|
|
32907
32989
|
this.updateListItems();
|
|
32908
32990
|
this.connectObserver();
|
|
32909
32991
|
this.calciteListOrderChange.emit({
|
|
32910
32992
|
dragEl: sortItem,
|
|
32911
|
-
fromEl:
|
|
32912
|
-
toEl:
|
|
32993
|
+
fromEl: parentEl,
|
|
32994
|
+
toEl: parentEl,
|
|
32995
|
+
newIndex,
|
|
32996
|
+
oldIndex,
|
|
32913
32997
|
});
|
|
32914
32998
|
handle.setFocus().then(() => {
|
|
32915
32999
|
handle.activated = true;
|
|
@@ -33210,47 +33294,47 @@ class ListItem {
|
|
|
33210
33294
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
33211
33295
|
return null;
|
|
33212
33296
|
}
|
|
33213
|
-
return (hAsync("td", { class: CSS$
|
|
33297
|
+
return (hAsync("td", { class: CSS$C.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
33214
33298
|
? selectionMode === "multiple"
|
|
33215
|
-
? ICONS$
|
|
33216
|
-
: ICONS$
|
|
33217
|
-
: ICONS$
|
|
33299
|
+
? ICONS$8.selectedMultiple
|
|
33300
|
+
: ICONS$8.selectedSingle
|
|
33301
|
+
: ICONS$8.unselected, scale: "s" })));
|
|
33218
33302
|
}
|
|
33219
33303
|
renderDragHandle() {
|
|
33220
|
-
return this.dragHandle ? (hAsync("td", { class: CSS$
|
|
33304
|
+
return this.dragHandle ? (hAsync("td", { class: CSS$C.dragContainer, key: "drag-handle-container" }, hAsync("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
|
|
33221
33305
|
}
|
|
33222
33306
|
renderOpen() {
|
|
33223
33307
|
const { el, open, openable, parentListEl } = this;
|
|
33224
33308
|
const dir = getElementDir(el);
|
|
33225
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
33309
|
+
return openable ? (hAsync("td", { class: CSS$C.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$8.open : dir === "rtl" ? ICONS$8.closedRTL : ICONS$8.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$C.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$8.blank, scale: "s" }))) : null;
|
|
33226
33310
|
}
|
|
33227
33311
|
renderActionsStart() {
|
|
33228
33312
|
const { label, hasActionsStart } = this;
|
|
33229
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33313
|
+
return (hAsync("td", { "aria-label": label, class: CSS$C.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
33230
33314
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33231
33315
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$i.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
33232
33316
|
}
|
|
33233
33317
|
renderActionsEnd() {
|
|
33234
33318
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
33235
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33319
|
+
return (hAsync("td", { "aria-label": label, class: CSS$C.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
33236
33320
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33237
|
-
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$i.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$
|
|
33321
|
+
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$i.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$8.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
33238
33322
|
}
|
|
33239
33323
|
renderContentStart() {
|
|
33240
33324
|
const { hasContentStart } = this;
|
|
33241
|
-
return (hAsync("div", { class: CSS$
|
|
33325
|
+
return (hAsync("div", { class: CSS$C.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$i.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
33242
33326
|
}
|
|
33243
33327
|
renderCustomContent() {
|
|
33244
33328
|
const { hasCustomContent } = this;
|
|
33245
|
-
return (hAsync("div", { class: CSS$
|
|
33329
|
+
return (hAsync("div", { class: CSS$C.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$i.content, onSlotchange: this.handleContentSlotChange })));
|
|
33246
33330
|
}
|
|
33247
33331
|
renderContentEnd() {
|
|
33248
33332
|
const { hasContentEnd } = this;
|
|
33249
|
-
return (hAsync("div", { class: CSS$
|
|
33333
|
+
return (hAsync("div", { class: CSS$C.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$i.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
33250
33334
|
}
|
|
33251
33335
|
renderContentProperties() {
|
|
33252
33336
|
const { label, description, hasCustomContent } = this;
|
|
33253
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
33337
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$C.content, key: "content" }, label ? (hAsync("div", { class: CSS$C.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$C.description, key: "description" }, description)) : null)) : null;
|
|
33254
33338
|
}
|
|
33255
33339
|
renderContentContainer() {
|
|
33256
33340
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -33262,9 +33346,9 @@ class ListItem {
|
|
|
33262
33346
|
this.renderContentEnd(),
|
|
33263
33347
|
];
|
|
33264
33348
|
return (hAsync("td", { "aria-label": label, class: {
|
|
33265
|
-
[CSS$
|
|
33266
|
-
[CSS$
|
|
33267
|
-
[CSS$
|
|
33349
|
+
[CSS$C.contentContainer]: true,
|
|
33350
|
+
[CSS$C.contentContainerSelectable]: selectionMode !== "none",
|
|
33351
|
+
[CSS$C.contentContainerHasCenterContent]: hasCenterContent,
|
|
33268
33352
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
33269
33353
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33270
33354
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -33275,14 +33359,14 @@ class ListItem {
|
|
|
33275
33359
|
const borderSelected = showBorder && selected;
|
|
33276
33360
|
const borderUnselected = showBorder && !selected;
|
|
33277
33361
|
return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
|
|
33278
|
-
[CSS$
|
|
33279
|
-
[CSS$
|
|
33280
|
-
[CSS$
|
|
33362
|
+
[CSS$C.container]: true,
|
|
33363
|
+
[CSS$C.containerBorderSelected]: borderSelected,
|
|
33364
|
+
[CSS$C.containerBorderUnselected]: borderUnselected,
|
|
33281
33365
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33282
33366
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33283
33367
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33284
|
-
[CSS$
|
|
33285
|
-
[CSS$
|
|
33368
|
+
[CSS$C.nestedContainer]: true,
|
|
33369
|
+
[CSS$C.nestedContainerHidden]: openable && !open,
|
|
33286
33370
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33287
33371
|
}
|
|
33288
33372
|
// --------------------------------------------------------------------------
|
|
@@ -33372,7 +33456,7 @@ class ListItem {
|
|
|
33372
33456
|
}; }
|
|
33373
33457
|
}
|
|
33374
33458
|
|
|
33375
|
-
const CSS$
|
|
33459
|
+
const CSS$y = {
|
|
33376
33460
|
container: "container",
|
|
33377
33461
|
heading: "heading",
|
|
33378
33462
|
};
|
|
@@ -33421,7 +33505,7 @@ class ListItemGroup {
|
|
|
33421
33505
|
// --------------------------------------------------------------------------
|
|
33422
33506
|
render() {
|
|
33423
33507
|
const { heading, visualLevel } = this;
|
|
33424
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
33508
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$y.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$y.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
33425
33509
|
}
|
|
33426
33510
|
get el() { return getElement(this); }
|
|
33427
33511
|
static get style() { return listItemGroupCss; }
|
|
@@ -33521,7 +33605,7 @@ class Loader {
|
|
|
33521
33605
|
}; }
|
|
33522
33606
|
}
|
|
33523
33607
|
|
|
33524
|
-
const CSS$
|
|
33608
|
+
const CSS$x = {
|
|
33525
33609
|
container: "container",
|
|
33526
33610
|
fill: "fill",
|
|
33527
33611
|
stepLine: "step-line",
|
|
@@ -33671,16 +33755,16 @@ class Meter {
|
|
|
33671
33755
|
const aboveHighest = value >= highest;
|
|
33672
33756
|
const belowHighest = value < highest;
|
|
33673
33757
|
if (!value || (!low && belowHighest) || belowLowest) {
|
|
33674
|
-
return CSS$
|
|
33758
|
+
return CSS$x.success;
|
|
33675
33759
|
}
|
|
33676
33760
|
else if (aboveLowest && belowHighest) {
|
|
33677
|
-
return CSS$
|
|
33761
|
+
return CSS$x.warning;
|
|
33678
33762
|
}
|
|
33679
33763
|
else if (aboveHighest) {
|
|
33680
|
-
return CSS$
|
|
33764
|
+
return CSS$x.danger;
|
|
33681
33765
|
}
|
|
33682
33766
|
else {
|
|
33683
|
-
return CSS$
|
|
33767
|
+
return CSS$x.success;
|
|
33684
33768
|
}
|
|
33685
33769
|
}
|
|
33686
33770
|
intersects(el1, el2) {
|
|
@@ -33694,7 +33778,7 @@ class Meter {
|
|
|
33694
33778
|
const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
|
|
33695
33779
|
const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
|
|
33696
33780
|
const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
|
|
33697
|
-
const hiddenClass = CSS$
|
|
33781
|
+
const hiddenClass = CSS$x.labelHidden;
|
|
33698
33782
|
if (lowLabelEl) {
|
|
33699
33783
|
if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
|
|
33700
33784
|
lowLabelEl.classList.add(hiddenClass);
|
|
@@ -33743,26 +33827,26 @@ class Meter {
|
|
|
33743
33827
|
renderMeterFill() {
|
|
33744
33828
|
const { currentPercent, fillType } = this;
|
|
33745
33829
|
const kindClass = this.getMeterKindCssClass();
|
|
33746
|
-
return (hAsync("div", { class: { [CSS$
|
|
33830
|
+
return (hAsync("div", { class: { [CSS$x.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
|
|
33747
33831
|
}
|
|
33748
33832
|
renderRangeLine(position) {
|
|
33749
33833
|
const style = { insetInlineStart: `${position}%` };
|
|
33750
|
-
return hAsync("div", { class: CSS$
|
|
33834
|
+
return hAsync("div", { class: CSS$x.stepLine, style: style });
|
|
33751
33835
|
}
|
|
33752
33836
|
renderValueLabel() {
|
|
33753
33837
|
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
33754
33838
|
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
33755
|
-
return (hAsync("div", { class: { [CSS$
|
|
33839
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelValue]: true }, key: "low-label-line",
|
|
33756
33840
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33757
|
-
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$
|
|
33841
|
+
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$x.unitLabel }, "\u00A0", unitLabel))));
|
|
33758
33842
|
}
|
|
33759
33843
|
renderMinLabel() {
|
|
33760
33844
|
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
33761
33845
|
const style = { insetInlineStart: `${minPercent}%` };
|
|
33762
33846
|
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
33763
|
-
return (hAsync("div", { class: { [CSS$
|
|
33847
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "min-label-line", style: style,
|
|
33764
33848
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33765
|
-
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$
|
|
33849
|
+
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$x.unitLabel }, "\u00A0", unitLabel))));
|
|
33766
33850
|
}
|
|
33767
33851
|
renderLowLabel() {
|
|
33768
33852
|
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
@@ -33772,7 +33856,7 @@ class Meter {
|
|
|
33772
33856
|
const styleDefault = { insetInlineStart: `${lowPercent}%` };
|
|
33773
33857
|
const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
|
|
33774
33858
|
const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
|
|
33775
|
-
return (hAsync("div", { class: { [CSS$
|
|
33859
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "low-label-line", style: style,
|
|
33776
33860
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33777
33861
|
ref: (el) => (this.lowLabelEl = el) }, label));
|
|
33778
33862
|
}
|
|
@@ -33784,7 +33868,7 @@ class Meter {
|
|
|
33784
33868
|
const styleDefault = { insetInlineStart: `${highPercent}%` };
|
|
33785
33869
|
const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
|
|
33786
33870
|
const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
|
|
33787
|
-
return (hAsync("div", { class: { [CSS$
|
|
33871
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "high-label-line", style: style,
|
|
33788
33872
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33789
33873
|
ref: (el) => (this.highLabelEl = el) }, label));
|
|
33790
33874
|
}
|
|
@@ -33792,7 +33876,7 @@ class Meter {
|
|
|
33792
33876
|
const { rangeLabelType, max, maxPercent } = this;
|
|
33793
33877
|
const style = { insetInlineEnd: `${100 - maxPercent}%` };
|
|
33794
33878
|
const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
|
|
33795
|
-
return (hAsync("div", { class: { [CSS$
|
|
33879
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "max-label-line", style: style,
|
|
33796
33880
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33797
33881
|
ref: (el) => (this.maxLabelEl = el) }, labelMax));
|
|
33798
33882
|
}
|
|
@@ -33806,9 +33890,9 @@ class Meter {
|
|
|
33806
33890
|
? textUnitLabel
|
|
33807
33891
|
: undefined;
|
|
33808
33892
|
return (hAsync(Host, null, hAsync("div", { "aria-label": label, "aria-valuemax": rangeLabelType === "percent" ? maxPercent : max, "aria-valuemin": rangeLabelType === "percent" ? minPercent : min, "aria-valuenow": valueLabelType === "percent" ? currentPercent : value, "aria-valuetext": valueText, class: {
|
|
33809
|
-
[CSS$
|
|
33810
|
-
[CSS$
|
|
33811
|
-
[CSS$
|
|
33893
|
+
[CSS$x.container]: true,
|
|
33894
|
+
[CSS$x.stepsVisible]: rangeLabels,
|
|
33895
|
+
[CSS$x.valueVisible]: valueLabel,
|
|
33812
33896
|
[appearance]: appearance !== "outline-fill",
|
|
33813
33897
|
}, role: "meter",
|
|
33814
33898
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -33864,7 +33948,7 @@ class Meter {
|
|
|
33864
33948
|
}; }
|
|
33865
33949
|
}
|
|
33866
33950
|
|
|
33867
|
-
const CSS$
|
|
33951
|
+
const CSS$w = {
|
|
33868
33952
|
modal: "modal",
|
|
33869
33953
|
title: "title",
|
|
33870
33954
|
header: "header",
|
|
@@ -33888,7 +33972,7 @@ const CSS$v = {
|
|
|
33888
33972
|
closingIdle: "modal--closing-idle",
|
|
33889
33973
|
closingActive: "modal--closing-active",
|
|
33890
33974
|
};
|
|
33891
|
-
const ICONS$
|
|
33975
|
+
const ICONS$7 = {
|
|
33892
33976
|
close: "x",
|
|
33893
33977
|
};
|
|
33894
33978
|
const SLOTS$f = {
|
|
@@ -34054,50 +34138,50 @@ class Modal {
|
|
|
34054
34138
|
}
|
|
34055
34139
|
render() {
|
|
34056
34140
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
34057
|
-
[CSS$
|
|
34058
|
-
[CSS$
|
|
34059
|
-
[CSS$
|
|
34060
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
34061
|
-
[CSS$
|
|
34141
|
+
[CSS$w.container]: true,
|
|
34142
|
+
[CSS$w.containerOpen]: this.opened,
|
|
34143
|
+
[CSS$w.slottedInShell]: this.slottedInShell,
|
|
34144
|
+
} }, hAsync("calcite-scrim", { class: CSS$w.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
34145
|
+
[CSS$w.modal]: true,
|
|
34062
34146
|
},
|
|
34063
34147
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34064
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
34065
|
-
[CSS$
|
|
34066
|
-
[CSS$
|
|
34148
|
+
ref: this.setTransitionEl }, hAsync("div", { class: CSS$w.header }, this.renderCloseButton(), hAsync("header", { class: CSS$w.title }, hAsync("slot", { name: CSS$w.header }))), this.renderContentTop(), hAsync("div", { class: {
|
|
34149
|
+
[CSS$w.content]: true,
|
|
34150
|
+
[CSS$w.contentNoFooter]: !this.hasFooter,
|
|
34067
34151
|
},
|
|
34068
34152
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34069
34153
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
34070
34154
|
}
|
|
34071
34155
|
renderFooter() {
|
|
34072
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
34156
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$w.footer, key: "footer" }, hAsync("span", { class: CSS$w.back }, hAsync("slot", { name: SLOTS$f.back })), hAsync("span", { class: CSS$w.secondary }, hAsync("slot", { name: SLOTS$f.secondary })), hAsync("span", { class: CSS$w.primary }, hAsync("slot", { name: SLOTS$f.primary })))) : null;
|
|
34073
34157
|
}
|
|
34074
34158
|
renderContentTop() {
|
|
34075
|
-
return (hAsync("div", { class: CSS$
|
|
34159
|
+
return (hAsync("div", { class: CSS$w.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$f.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
34076
34160
|
}
|
|
34077
34161
|
renderContentBottom() {
|
|
34078
|
-
return (hAsync("div", { class: CSS$
|
|
34162
|
+
return (hAsync("div", { class: CSS$w.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$f.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
34079
34163
|
}
|
|
34080
34164
|
renderCloseButton() {
|
|
34081
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
34165
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$w.close, key: "button", onClick: this.handleCloseClick, title: this.messages.close,
|
|
34082
34166
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34083
|
-
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$
|
|
34167
|
+
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$7.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
34084
34168
|
}
|
|
34085
34169
|
renderStyle() {
|
|
34086
34170
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
34087
|
-
return (hAsync("style", null, `.${CSS$
|
|
34171
|
+
return (hAsync("style", null, `.${CSS$w.container} {
|
|
34088
34172
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
34089
34173
|
}
|
|
34090
|
-
.${CSS$
|
|
34174
|
+
.${CSS$w.modal} {
|
|
34091
34175
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
34092
34176
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
34093
34177
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
34094
34178
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
34095
34179
|
}
|
|
34096
34180
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
34097
|
-
.${CSS$
|
|
34181
|
+
.${CSS$w.container} {
|
|
34098
34182
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
34099
34183
|
}
|
|
34100
|
-
.${CSS$
|
|
34184
|
+
.${CSS$w.modal} {
|
|
34101
34185
|
max-block-size: 100% !important;
|
|
34102
34186
|
inline-size: 100% !important;
|
|
34103
34187
|
max-inline-size: 100% !important;
|
|
@@ -34164,20 +34248,20 @@ class Modal {
|
|
|
34164
34248
|
}
|
|
34165
34249
|
}
|
|
34166
34250
|
onBeforeOpen() {
|
|
34167
|
-
this.transitionEl.classList.add(CSS$
|
|
34251
|
+
this.transitionEl.classList.add(CSS$w.openingActive);
|
|
34168
34252
|
this.calciteModalBeforeOpen.emit();
|
|
34169
34253
|
}
|
|
34170
34254
|
onOpen() {
|
|
34171
|
-
this.transitionEl.classList.remove(CSS$
|
|
34255
|
+
this.transitionEl.classList.remove(CSS$w.openingIdle, CSS$w.openingActive);
|
|
34172
34256
|
this.calciteModalOpen.emit();
|
|
34173
34257
|
activateFocusTrap(this);
|
|
34174
34258
|
}
|
|
34175
34259
|
onBeforeClose() {
|
|
34176
|
-
this.transitionEl.classList.add(CSS$
|
|
34260
|
+
this.transitionEl.classList.add(CSS$w.closingActive);
|
|
34177
34261
|
this.calciteModalBeforeClose.emit();
|
|
34178
34262
|
}
|
|
34179
34263
|
onClose() {
|
|
34180
|
-
this.transitionEl.classList.remove(CSS$
|
|
34264
|
+
this.transitionEl.classList.remove(CSS$w.closingIdle, CSS$w.closingActive);
|
|
34181
34265
|
this.calciteModalClose.emit();
|
|
34182
34266
|
deactivateFocusTrap(this);
|
|
34183
34267
|
}
|
|
@@ -34195,10 +34279,10 @@ class Modal {
|
|
|
34195
34279
|
handleOpenedChange(value) {
|
|
34196
34280
|
onToggleOpenCloseComponent(this);
|
|
34197
34281
|
if (value) {
|
|
34198
|
-
this.transitionEl?.classList.add(CSS$
|
|
34282
|
+
this.transitionEl?.classList.add(CSS$w.openingIdle);
|
|
34199
34283
|
}
|
|
34200
34284
|
else {
|
|
34201
|
-
this.transitionEl?.classList.add(CSS$
|
|
34285
|
+
this.transitionEl?.classList.add(CSS$w.closingIdle);
|
|
34202
34286
|
}
|
|
34203
34287
|
}
|
|
34204
34288
|
openModal() {
|
|
@@ -34269,7 +34353,7 @@ const SLOTS$e = {
|
|
|
34269
34353
|
link: "link",
|
|
34270
34354
|
actionsEnd: "actions-end",
|
|
34271
34355
|
};
|
|
34272
|
-
const CSS$
|
|
34356
|
+
const CSS$v = {
|
|
34273
34357
|
actionsEnd: "actions-end",
|
|
34274
34358
|
close: "notice-close",
|
|
34275
34359
|
container: "container",
|
|
@@ -34294,8 +34378,13 @@ const noticeCss = "/*!@:host([scale=s])*/[scale=s].sc-calcite-notice-h{--calcite
|
|
|
34294
34378
|
class Notice {
|
|
34295
34379
|
constructor(hostRef) {
|
|
34296
34380
|
registerInstance(this, hostRef);
|
|
34381
|
+
this.calciteNoticeBeforeClose = createEvent(this, "calciteNoticeBeforeClose", 6);
|
|
34382
|
+
this.calciteNoticeBeforeOpen = createEvent(this, "calciteNoticeBeforeOpen", 6);
|
|
34297
34383
|
this.calciteNoticeClose = createEvent(this, "calciteNoticeClose", 6);
|
|
34298
34384
|
this.calciteNoticeOpen = createEvent(this, "calciteNoticeOpen", 6);
|
|
34385
|
+
this.setTransitionEl = (el) => {
|
|
34386
|
+
this.transitionEl = el;
|
|
34387
|
+
};
|
|
34299
34388
|
//--------------------------------------------------------------------------
|
|
34300
34389
|
//
|
|
34301
34390
|
// Private Methods
|
|
@@ -34303,8 +34392,8 @@ class Notice {
|
|
|
34303
34392
|
//--------------------------------------------------------------------------
|
|
34304
34393
|
this.close = () => {
|
|
34305
34394
|
this.open = false;
|
|
34306
|
-
this.calciteNoticeClose.emit();
|
|
34307
34395
|
};
|
|
34396
|
+
this.openTransitionProp = "opacity";
|
|
34308
34397
|
this.open = false;
|
|
34309
34398
|
this.kind = "brand";
|
|
34310
34399
|
this.closable = false;
|
|
@@ -34317,6 +34406,9 @@ class Notice {
|
|
|
34317
34406
|
this.effectiveLocale = undefined;
|
|
34318
34407
|
this.defaultMessages = undefined;
|
|
34319
34408
|
}
|
|
34409
|
+
openHandler() {
|
|
34410
|
+
onToggleOpenCloseComponent(this);
|
|
34411
|
+
}
|
|
34320
34412
|
onMessagesChange() {
|
|
34321
34413
|
/* wired up by t9n util */
|
|
34322
34414
|
}
|
|
@@ -34342,17 +34434,22 @@ class Notice {
|
|
|
34342
34434
|
setUpLoadableComponent(this);
|
|
34343
34435
|
this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);
|
|
34344
34436
|
await setUpMessages(this);
|
|
34437
|
+
if (this.open) {
|
|
34438
|
+
onToggleOpenCloseComponent(this);
|
|
34439
|
+
}
|
|
34345
34440
|
}
|
|
34346
34441
|
componentDidLoad() {
|
|
34347
34442
|
setComponentLoaded(this);
|
|
34348
34443
|
}
|
|
34349
34444
|
render() {
|
|
34350
34445
|
const { el } = this;
|
|
34351
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
34446
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$v.close, onClick: this.close,
|
|
34352
34447
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34353
34448
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
34354
34449
|
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
34355
|
-
return (hAsync("div", { class: CSS$
|
|
34450
|
+
return (hAsync("div", { class: CSS$v.container,
|
|
34451
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34452
|
+
ref: this.setTransitionEl }, this.requestedIcon ? (hAsync("div", { class: CSS$v.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$v.content }, hAsync("slot", { name: SLOTS$e.title }), hAsync("slot", { name: SLOTS$e.message }), hAsync("slot", { name: SLOTS$e.link })), hasActionEnd ? (hAsync("div", { class: CSS$v.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
34356
34453
|
}
|
|
34357
34454
|
//--------------------------------------------------------------------------
|
|
34358
34455
|
//
|
|
@@ -34373,12 +34470,25 @@ class Notice {
|
|
|
34373
34470
|
this.closeButton.focus();
|
|
34374
34471
|
}
|
|
34375
34472
|
}
|
|
34473
|
+
onBeforeClose() {
|
|
34474
|
+
this.calciteNoticeBeforeClose.emit();
|
|
34475
|
+
}
|
|
34476
|
+
onBeforeOpen() {
|
|
34477
|
+
this.calciteNoticeBeforeOpen.emit();
|
|
34478
|
+
}
|
|
34479
|
+
onClose() {
|
|
34480
|
+
this.calciteNoticeClose.emit();
|
|
34481
|
+
}
|
|
34482
|
+
onOpen() {
|
|
34483
|
+
this.calciteNoticeOpen.emit();
|
|
34484
|
+
}
|
|
34376
34485
|
effectiveLocaleChange() {
|
|
34377
34486
|
updateMessages(this);
|
|
34378
34487
|
}
|
|
34379
34488
|
static get assetsDirs() { return ["assets"]; }
|
|
34380
34489
|
get el() { return getElement(this); }
|
|
34381
34490
|
static get watchers() { return {
|
|
34491
|
+
"open": ["openHandler"],
|
|
34382
34492
|
"messageOverrides": ["onMessagesChange"],
|
|
34383
34493
|
"icon": ["updateRequestedIcon"],
|
|
34384
34494
|
"kind": ["updateRequestedIcon"],
|
|
@@ -34432,12 +34542,13 @@ class Option {
|
|
|
34432
34542
|
//
|
|
34433
34543
|
//--------------------------------------------------------------------------
|
|
34434
34544
|
ensureTextContentDependentProps() {
|
|
34435
|
-
const { el: { textContent }, } = this;
|
|
34436
|
-
if (!
|
|
34545
|
+
const { el: { textContent }, internallySetLabel, internallySetValue, label, value, } = this;
|
|
34546
|
+
if (!label || label === internallySetLabel) {
|
|
34437
34547
|
this.label = textContent;
|
|
34438
34548
|
this.internallySetLabel = textContent;
|
|
34439
34549
|
}
|
|
34440
|
-
if (
|
|
34550
|
+
if (value == null /* intentional loose equals to handle both undefined & null */ ||
|
|
34551
|
+
value === internallySetValue) {
|
|
34441
34552
|
this.value = textContent;
|
|
34442
34553
|
this.internallySetValue = textContent;
|
|
34443
34554
|
}
|
|
@@ -34531,7 +34642,7 @@ class OptionGroup {
|
|
|
34531
34642
|
}; }
|
|
34532
34643
|
}
|
|
34533
34644
|
|
|
34534
|
-
const CSS$
|
|
34645
|
+
const CSS$u = {
|
|
34535
34646
|
page: "page",
|
|
34536
34647
|
selected: "is-selected",
|
|
34537
34648
|
previous: "previous",
|
|
@@ -34541,36 +34652,90 @@ const CSS$t = {
|
|
|
34541
34652
|
ellipsisStart: "ellipsis--start",
|
|
34542
34653
|
ellipsisEnd: "ellipsis--end",
|
|
34543
34654
|
};
|
|
34655
|
+
const ICONS$6 = {
|
|
34656
|
+
next: "chevronRight",
|
|
34657
|
+
previous: "chevronLeft",
|
|
34658
|
+
};
|
|
34659
|
+
|
|
34660
|
+
let getBreakpointsPromise;
|
|
34661
|
+
function breakpointTokenToNumericalValue(style, tokenName) {
|
|
34662
|
+
return parseInt(style.getPropertyValue(tokenName));
|
|
34663
|
+
}
|
|
34664
|
+
/**
|
|
34665
|
+
* This util will return a breakpoints lookup object.
|
|
34666
|
+
*
|
|
34667
|
+
* Note that the breakpoints will be evaluated at the root and cached for reuse.
|
|
34668
|
+
*
|
|
34669
|
+
* @returns {Promise<Breakpoints>} The Breakpoints object.
|
|
34670
|
+
*/
|
|
34671
|
+
async function getBreakpoints() {
|
|
34672
|
+
if (getBreakpointsPromise) {
|
|
34673
|
+
return getBreakpointsPromise;
|
|
34674
|
+
}
|
|
34675
|
+
getBreakpointsPromise = new Promise((resolve) => {
|
|
34676
|
+
requestAnimationFrame(() => {
|
|
34677
|
+
const rootStyles = getComputedStyle(document.body);
|
|
34678
|
+
resolve({
|
|
34679
|
+
width: {
|
|
34680
|
+
large: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-lg"),
|
|
34681
|
+
medium: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-md"),
|
|
34682
|
+
small: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-sm"),
|
|
34683
|
+
xsmall: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-xs"),
|
|
34684
|
+
},
|
|
34685
|
+
});
|
|
34686
|
+
});
|
|
34687
|
+
});
|
|
34688
|
+
return getBreakpointsPromise;
|
|
34689
|
+
}
|
|
34544
34690
|
|
|
34545
|
-
const paginationCss = "/*!@:host
|
|
34691
|
+
const paginationCss = "/*!@:host*/.sc-calcite-pagination-h{display:flex;writing-mode:horizontal-tb}/*!@:host([scale=s]) .previous, :host([scale=s]) .next, :host([scale=s]) .page, :host([scale=s]) .ellipsis*/[scale=s].sc-calcite-pagination-h .previous.sc-calcite-pagination,[scale=s].sc-calcite-pagination-h .next.sc-calcite-pagination,[scale=s].sc-calcite-pagination-h .page.sc-calcite-pagination,[scale=s].sc-calcite-pagination-h .ellipsis.sc-calcite-pagination{block-size:1.5rem;padding-inline:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}/*!@:host([scale=m]) .previous, :host([scale=m]) .next, :host([scale=m]) .page, :host([scale=m]) .ellipsis*/[scale=m].sc-calcite-pagination-h .previous.sc-calcite-pagination,[scale=m].sc-calcite-pagination-h .next.sc-calcite-pagination,[scale=m].sc-calcite-pagination-h .page.sc-calcite-pagination,[scale=m].sc-calcite-pagination-h .ellipsis.sc-calcite-pagination{block-size:2rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}/*!@:host([scale=l]) .previous, :host([scale=l]) .next, :host([scale=l]) .page, :host([scale=l]) .ellipsis*/[scale=l].sc-calcite-pagination-h .previous.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .next.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .page.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .ellipsis.sc-calcite-pagination{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}/*!@:host([scale=l]) .previous, :host([scale=l]) .next*/[scale=l].sc-calcite-pagination-h .previous.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .next.sc-calcite-pagination{padding-inline:0.625rem}/*!@:host([scale=l]) .page, :host([scale=l]) .ellipsis*/[scale=l].sc-calcite-pagination-h .page.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .ellipsis.sc-calcite-pagination{padding-inline:0.75rem}/*!@:host button*/.sc-calcite-pagination-h button.sc-calcite-pagination{outline-color:transparent}/*!@:host button:focus*/.sc-calcite-pagination-h button.sc-calcite-pagination: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 )}/*!@.previous,\n.next,\n.page,\n.ellipsis*/.previous.sc-calcite-pagination,.next.sc-calcite-pagination,.page.sc-calcite-pagination,.ellipsis.sc-calcite-pagination{margin:0px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity:0;background-color:transparent;padding:0px;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3)}/*!@.previous,\n.next,\n.page*/.previous.sc-calcite-pagination,.next.sc-calcite-pagination,.page.sc-calcite-pagination{cursor:pointer;border-block:2px solid transparent}/*!@.previous:hover,\n.next:hover,\n.page:hover*/.previous.sc-calcite-pagination:hover,.next.sc-calcite-pagination:hover,.page.sc-calcite-pagination:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.page:hover*/.page.sc-calcite-pagination:hover{border-block-end-color:var(--calcite-ui-border-2)}/*!@.page.is-selected*/.page.is-selected.sc-calcite-pagination{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}/*!@.previous:hover,\n.next:hover*/.previous.sc-calcite-pagination:hover,.next.sc-calcite-pagination:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}/*!@.previous:active,\n.next:active*/.previous.sc-calcite-pagination:active,.next.sc-calcite-pagination:active{background-color:var(--calcite-ui-foreground-3)}/*!@.previous.is-disabled,\n.next.is-disabled*/.previous.is-disabled.sc-calcite-pagination,.next.is-disabled.sc-calcite-pagination{pointer-events:none;background-color:transparent}/*!@.previous.is-disabled > calcite-icon,\n.next.is-disabled > calcite-icon*/.previous.is-disabled.sc-calcite-pagination>calcite-icon.sc-calcite-pagination,.next.is-disabled.sc-calcite-pagination>calcite-icon.sc-calcite-pagination{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([hidden])*/[hidden].sc-calcite-pagination-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-pagination{display:none}";
|
|
34546
34692
|
|
|
34547
|
-
const
|
|
34693
|
+
const firstAndLastPageCount = 2;
|
|
34694
|
+
const ellipsisCount = 2;
|
|
34695
|
+
const maxItemBreakpoints = {
|
|
34696
|
+
large: 11,
|
|
34697
|
+
medium: 9,
|
|
34698
|
+
small: 7,
|
|
34699
|
+
xsmall: 5,
|
|
34700
|
+
};
|
|
34548
34701
|
class Pagination {
|
|
34549
34702
|
constructor(hostRef) {
|
|
34550
34703
|
registerInstance(this, hostRef);
|
|
34551
34704
|
this.calcitePaginationChange = createEvent(this, "calcitePaginationChange", 6);
|
|
34552
|
-
this.
|
|
34553
|
-
|
|
34705
|
+
this.resizeObserver = createObserver();
|
|
34706
|
+
this.resizeHandler = ({ contentRect: { width } }) => this.setMaxItemsToBreakpoint(width);
|
|
34707
|
+
this.previousClicked = async () => {
|
|
34708
|
+
await this.previousPage();
|
|
34554
34709
|
this.emitUpdate();
|
|
34555
34710
|
};
|
|
34556
|
-
this.nextClicked = () => {
|
|
34557
|
-
this.nextPage();
|
|
34711
|
+
this.nextClicked = async () => {
|
|
34712
|
+
await this.nextPage();
|
|
34713
|
+
this.emitUpdate();
|
|
34714
|
+
};
|
|
34715
|
+
this.handlePageClick = (event) => {
|
|
34716
|
+
const target = event.target;
|
|
34717
|
+
this.startItem = parseInt(target.value, 10);
|
|
34558
34718
|
this.emitUpdate();
|
|
34559
34719
|
};
|
|
34560
34720
|
this.groupSeparator = false;
|
|
34721
|
+
this.messages = undefined;
|
|
34561
34722
|
this.messageOverrides = undefined;
|
|
34562
|
-
this.pageSize = 20;
|
|
34563
34723
|
this.numberingSystem = undefined;
|
|
34724
|
+
this.pageSize = 20;
|
|
34725
|
+
this.scale = "m";
|
|
34564
34726
|
this.startItem = 1;
|
|
34565
34727
|
this.totalItems = 0;
|
|
34566
|
-
this.scale = "m";
|
|
34567
34728
|
this.defaultMessages = undefined;
|
|
34568
34729
|
this.effectiveLocale = "";
|
|
34569
|
-
this.
|
|
34730
|
+
this.maxItems = maxItemBreakpoints.xsmall;
|
|
34731
|
+
this.totalPages = undefined;
|
|
34570
34732
|
}
|
|
34571
34733
|
onMessagesChange() {
|
|
34572
34734
|
/* wired up by t9n util */
|
|
34573
34735
|
}
|
|
34736
|
+
handleTotalPages() {
|
|
34737
|
+
this.totalPages = this.totalItems / this.pageSize;
|
|
34738
|
+
}
|
|
34574
34739
|
effectiveLocaleChange() {
|
|
34575
34740
|
updateMessages(this);
|
|
34576
34741
|
}
|
|
@@ -34589,17 +34754,22 @@ class Pagination {
|
|
|
34589
34754
|
connectedCallback() {
|
|
34590
34755
|
connectLocalized(this);
|
|
34591
34756
|
connectMessages(this);
|
|
34757
|
+
this.resizeObserver?.observe(this.el);
|
|
34592
34758
|
}
|
|
34593
34759
|
async componentWillLoad() {
|
|
34594
|
-
await setUpMessages(this);
|
|
34760
|
+
const [, breakpoints] = await Promise.all([setUpMessages(this), getBreakpoints()]);
|
|
34761
|
+
this.breakpoints = breakpoints;
|
|
34595
34762
|
setUpLoadableComponent(this);
|
|
34763
|
+
this.handleTotalPages();
|
|
34596
34764
|
}
|
|
34597
34765
|
componentDidLoad() {
|
|
34598
34766
|
setComponentLoaded(this);
|
|
34767
|
+
this.setMaxItemsToBreakpoint(this.el.clientWidth);
|
|
34599
34768
|
}
|
|
34600
34769
|
disconnectedCallback() {
|
|
34601
34770
|
disconnectLocalized(this);
|
|
34602
34771
|
disconnectMessages(this);
|
|
34772
|
+
this.resizeObserver?.disconnect();
|
|
34603
34773
|
}
|
|
34604
34774
|
// --------------------------------------------------------------------------
|
|
34605
34775
|
//
|
|
@@ -34624,18 +34794,39 @@ class Pagination {
|
|
|
34624
34794
|
// Private Methods
|
|
34625
34795
|
//
|
|
34626
34796
|
// --------------------------------------------------------------------------
|
|
34797
|
+
setMaxItemsToBreakpoint(width) {
|
|
34798
|
+
const { breakpoints } = this;
|
|
34799
|
+
if (!breakpoints || !width) {
|
|
34800
|
+
return;
|
|
34801
|
+
}
|
|
34802
|
+
if (width >= breakpoints.width.medium) {
|
|
34803
|
+
this.maxItems = maxItemBreakpoints.large;
|
|
34804
|
+
return;
|
|
34805
|
+
}
|
|
34806
|
+
if (width >= breakpoints.width.small) {
|
|
34807
|
+
this.maxItems = maxItemBreakpoints.medium;
|
|
34808
|
+
return;
|
|
34809
|
+
}
|
|
34810
|
+
if (width >= breakpoints.width.xsmall) {
|
|
34811
|
+
this.maxItems = maxItemBreakpoints.small;
|
|
34812
|
+
return;
|
|
34813
|
+
}
|
|
34814
|
+
this.maxItems = maxItemBreakpoints.xsmall;
|
|
34815
|
+
}
|
|
34627
34816
|
getLastStart() {
|
|
34628
|
-
const { totalItems, pageSize } = this;
|
|
34629
|
-
const lastStart = totalItems % pageSize === 0
|
|
34630
|
-
? totalItems - pageSize
|
|
34631
|
-
: Math.floor(totalItems / pageSize) * pageSize;
|
|
34817
|
+
const { totalItems, pageSize, totalPages } = this;
|
|
34818
|
+
const lastStart = totalItems % pageSize === 0 ? totalItems - pageSize : Math.floor(totalPages) * pageSize;
|
|
34632
34819
|
return lastStart + 1;
|
|
34633
34820
|
}
|
|
34634
|
-
|
|
34635
|
-
return
|
|
34821
|
+
showStartEllipsis() {
|
|
34822
|
+
return (this.totalPages > this.maxItems &&
|
|
34823
|
+
Math.floor(this.startItem / this.pageSize) >
|
|
34824
|
+
this.maxItems - firstAndLastPageCount - ellipsisCount);
|
|
34636
34825
|
}
|
|
34637
|
-
|
|
34638
|
-
return (this.
|
|
34826
|
+
showEndEllipsis() {
|
|
34827
|
+
return (this.totalPages > this.maxItems &&
|
|
34828
|
+
(this.totalItems - this.startItem) / this.pageSize >
|
|
34829
|
+
this.maxItems - firstAndLastPageCount - (ellipsisCount - 1));
|
|
34639
34830
|
}
|
|
34640
34831
|
emitUpdate() {
|
|
34641
34832
|
this.calcitePaginationChange.emit();
|
|
@@ -34645,42 +34836,69 @@ class Pagination {
|
|
|
34645
34836
|
// Render Methods
|
|
34646
34837
|
//
|
|
34647
34838
|
//--------------------------------------------------------------------------
|
|
34648
|
-
|
|
34839
|
+
renderEllipsis(type) {
|
|
34840
|
+
return (hAsync("span", { class: {
|
|
34841
|
+
[CSS$u.ellipsis]: true,
|
|
34842
|
+
[CSS$u.ellipsisStart]: type === "start",
|
|
34843
|
+
[CSS$u.ellipsisEnd]: type === "end",
|
|
34844
|
+
}, key: type }, "\u2026"));
|
|
34845
|
+
}
|
|
34846
|
+
renderItems() {
|
|
34847
|
+
const { totalItems, pageSize, startItem, maxItems, totalPages } = this;
|
|
34848
|
+
const items = [];
|
|
34849
|
+
const renderFirstPage = totalItems > pageSize;
|
|
34850
|
+
const renderStartEllipsis = this.showStartEllipsis();
|
|
34851
|
+
const renderEndEllipsis = this.showEndEllipsis();
|
|
34649
34852
|
const lastStart = this.getLastStart();
|
|
34853
|
+
if (renderFirstPage) {
|
|
34854
|
+
items.push(this.renderPage(1));
|
|
34855
|
+
}
|
|
34856
|
+
if (renderStartEllipsis) {
|
|
34857
|
+
items.push(this.renderEllipsis("start"));
|
|
34858
|
+
}
|
|
34859
|
+
const remainingItems = maxItems -
|
|
34860
|
+
firstAndLastPageCount -
|
|
34861
|
+
(renderEndEllipsis ? 1 : 0) -
|
|
34862
|
+
(renderStartEllipsis ? 1 : 0);
|
|
34650
34863
|
let end;
|
|
34651
34864
|
let nextStart;
|
|
34652
34865
|
// if we don't need ellipses render the whole set
|
|
34653
|
-
if (
|
|
34654
|
-
nextStart = 1 +
|
|
34655
|
-
end = lastStart -
|
|
34866
|
+
if (totalPages - 1 <= remainingItems) {
|
|
34867
|
+
nextStart = 1 + pageSize;
|
|
34868
|
+
end = lastStart - pageSize;
|
|
34656
34869
|
}
|
|
34657
34870
|
else {
|
|
34658
34871
|
// if we're within max pages of page 1
|
|
34659
|
-
if (
|
|
34660
|
-
nextStart = 1 +
|
|
34661
|
-
end = 1 +
|
|
34872
|
+
if (startItem / pageSize < remainingItems) {
|
|
34873
|
+
nextStart = 1 + pageSize;
|
|
34874
|
+
end = 1 + remainingItems * pageSize;
|
|
34662
34875
|
}
|
|
34663
34876
|
else {
|
|
34664
34877
|
// if we're within max pages of last page
|
|
34665
|
-
if (
|
|
34666
|
-
nextStart = lastStart -
|
|
34667
|
-
end = lastStart -
|
|
34878
|
+
if (startItem + remainingItems * pageSize >= totalItems) {
|
|
34879
|
+
nextStart = lastStart - remainingItems * pageSize;
|
|
34880
|
+
end = lastStart - pageSize;
|
|
34668
34881
|
}
|
|
34669
34882
|
else {
|
|
34670
|
-
|
|
34671
|
-
|
|
34883
|
+
// if we're within the center pages
|
|
34884
|
+
nextStart = startItem - pageSize * ((remainingItems - 1) / 2);
|
|
34885
|
+
end = startItem + pageSize * ((remainingItems - 1) / 2);
|
|
34672
34886
|
}
|
|
34673
34887
|
}
|
|
34674
34888
|
}
|
|
34675
|
-
|
|
34676
|
-
|
|
34677
|
-
|
|
34678
|
-
|
|
34889
|
+
for (let i = 0; i < remainingItems && nextStart <= end; i++) {
|
|
34890
|
+
items.push(this.renderPage(nextStart));
|
|
34891
|
+
nextStart = nextStart + pageSize;
|
|
34892
|
+
}
|
|
34893
|
+
if (renderEndEllipsis) {
|
|
34894
|
+
items.push(this.renderEllipsis("end"));
|
|
34679
34895
|
}
|
|
34680
|
-
|
|
34896
|
+
items.push(this.renderPage(lastStart));
|
|
34897
|
+
return items;
|
|
34681
34898
|
}
|
|
34682
34899
|
renderPage(start) {
|
|
34683
|
-
const
|
|
34900
|
+
const { pageSize } = this;
|
|
34901
|
+
const page = Math.floor(start / pageSize) + (pageSize === 1 ? 0 : 1);
|
|
34684
34902
|
numberStringFormatter.numberFormatOptions = {
|
|
34685
34903
|
locale: this.effectiveLocale,
|
|
34686
34904
|
numberingSystem: this.numberingSystem,
|
|
@@ -34689,40 +34907,30 @@ class Pagination {
|
|
|
34689
34907
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
34690
34908
|
const selected = start === this.startItem;
|
|
34691
34909
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
34692
|
-
[CSS$
|
|
34693
|
-
[CSS$
|
|
34694
|
-
}, onClick:
|
|
34695
|
-
this.startItem = start;
|
|
34696
|
-
this.emitUpdate();
|
|
34697
|
-
} }, displayedPage));
|
|
34698
|
-
}
|
|
34699
|
-
renderLeftEllipsis() {
|
|
34700
|
-
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
34701
|
-
return hAsync("span", { class: `${CSS$t.ellipsis} ${CSS$t.ellipsisStart}` }, "\u2026");
|
|
34702
|
-
}
|
|
34703
|
-
}
|
|
34704
|
-
renderRightEllipsis() {
|
|
34705
|
-
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
34706
|
-
return hAsync("span", { class: `${CSS$t.ellipsis} ${CSS$t.ellipsisEnd}` }, "\u2026");
|
|
34707
|
-
}
|
|
34910
|
+
[CSS$u.page]: true,
|
|
34911
|
+
[CSS$u.selected]: selected,
|
|
34912
|
+
}, onClick: this.handlePageClick, value: start }, displayedPage));
|
|
34708
34913
|
}
|
|
34709
34914
|
render() {
|
|
34710
|
-
const { totalItems, pageSize, startItem } = this;
|
|
34915
|
+
const { totalItems, pageSize, startItem, messages, scale } = this;
|
|
34711
34916
|
const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
|
|
34712
34917
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
34713
|
-
|
|
34714
|
-
|
|
34715
|
-
[CSS$
|
|
34716
|
-
|
|
34717
|
-
|
|
34718
|
-
[CSS$
|
|
34719
|
-
|
|
34918
|
+
const iconScale = scale === "l" ? "m" : "s";
|
|
34919
|
+
return (hAsync(Fragment, null, hAsync("button", { "aria-label": messages.previous, class: {
|
|
34920
|
+
[CSS$u.previous]: true,
|
|
34921
|
+
[CSS$u.disabled]: prevDisabled,
|
|
34922
|
+
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.previous, scale: iconScale })), this.renderItems(), hAsync("button", { "aria-label": messages.next, class: {
|
|
34923
|
+
[CSS$u.next]: true,
|
|
34924
|
+
[CSS$u.disabled]: nextDisabled,
|
|
34925
|
+
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.next, scale: iconScale }))));
|
|
34720
34926
|
}
|
|
34721
34927
|
static get delegatesFocus() { return true; }
|
|
34722
34928
|
static get assetsDirs() { return ["assets"]; }
|
|
34723
34929
|
get el() { return getElement(this); }
|
|
34724
34930
|
static get watchers() { return {
|
|
34725
34931
|
"messageOverrides": ["onMessagesChange"],
|
|
34932
|
+
"pageSize": ["handleTotalPages"],
|
|
34933
|
+
"totalItems": ["handleTotalPages"],
|
|
34726
34934
|
"effectiveLocale": ["effectiveLocaleChange", "effectiveLocaleWatcher"]
|
|
34727
34935
|
}; }
|
|
34728
34936
|
static get style() { return paginationCss; }
|
|
@@ -34731,22 +34939,24 @@ class Pagination {
|
|
|
34731
34939
|
"$tagName$": "calcite-pagination",
|
|
34732
34940
|
"$members$": {
|
|
34733
34941
|
"groupSeparator": [516, "group-separator"],
|
|
34942
|
+
"messages": [1040],
|
|
34734
34943
|
"messageOverrides": [1040],
|
|
34735
|
-
"pageSize": [514, "page-size"],
|
|
34736
34944
|
"numberingSystem": [1, "numbering-system"],
|
|
34945
|
+
"pageSize": [514, "page-size"],
|
|
34946
|
+
"scale": [513],
|
|
34737
34947
|
"startItem": [1538, "start-item"],
|
|
34738
34948
|
"totalItems": [514, "total-items"],
|
|
34739
|
-
"scale": [513],
|
|
34740
|
-
"messages": [1040],
|
|
34741
34949
|
"defaultMessages": [32],
|
|
34742
34950
|
"effectiveLocale": [32],
|
|
34951
|
+
"maxItems": [32],
|
|
34952
|
+
"totalPages": [32],
|
|
34743
34953
|
"setFocus": [64],
|
|
34744
34954
|
"nextPage": [64],
|
|
34745
34955
|
"previousPage": [64]
|
|
34746
34956
|
},
|
|
34747
34957
|
"$listeners$": undefined,
|
|
34748
34958
|
"$lazyBundleId$": "-",
|
|
34749
|
-
"$attrsToReflect$": [["groupSeparator", "group-separator"], ["pageSize", "page-size"], ["
|
|
34959
|
+
"$attrsToReflect$": [["groupSeparator", "group-separator"], ["pageSize", "page-size"], ["scale", "scale"], ["startItem", "start-item"], ["totalItems", "total-items"]]
|
|
34750
34960
|
}; }
|
|
34751
34961
|
}
|
|
34752
34962
|
|
|
@@ -34926,36 +35136,36 @@ class Panel {
|
|
|
34926
35136
|
// --------------------------------------------------------------------------
|
|
34927
35137
|
renderHeaderContent() {
|
|
34928
35138
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
34929
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
34930
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
34931
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
35139
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$N.heading, level: headingLevel }, heading)) : null;
|
|
35140
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$N.description }, description) : null;
|
|
35141
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$N.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
34932
35142
|
}
|
|
34933
35143
|
renderActionBar() {
|
|
34934
|
-
return (hAsync("div", { class: CSS$
|
|
35144
|
+
return (hAsync("div", { class: CSS$N.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$n.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
34935
35145
|
}
|
|
34936
35146
|
/**
|
|
34937
35147
|
* Allows user to override the entire header-content node.
|
|
34938
35148
|
*/
|
|
34939
35149
|
renderHeaderSlottedContent() {
|
|
34940
|
-
return (hAsync("div", { class: CSS$
|
|
35150
|
+
return (hAsync("div", { class: CSS$N.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$n.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
34941
35151
|
}
|
|
34942
35152
|
renderHeaderStartActions() {
|
|
34943
35153
|
const { hasStartActions } = this;
|
|
34944
|
-
return (hAsync("div", { class: { [CSS$
|
|
35154
|
+
return (hAsync("div", { class: { [CSS$N.headerActionsStart]: true, [CSS$N.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$n.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
34945
35155
|
}
|
|
34946
35156
|
renderHeaderActionsEnd() {
|
|
34947
35157
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
34948
35158
|
const text = messages.close;
|
|
34949
|
-
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, "data-test": "close", icon: ICONS$
|
|
35159
|
+
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, "data-test": "close", icon: ICONS$b.close, onClick: close, text: text, title: text,
|
|
34950
35160
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34951
35161
|
ref: this.setCloseRef })) : null;
|
|
34952
35162
|
const slotNode = (hAsync("slot", { name: SLOTS$n.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
34953
35163
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
34954
|
-
return (hAsync("div", { class: { [CSS$
|
|
35164
|
+
return (hAsync("div", { class: { [CSS$N.headerActionsEnd]: true, [CSS$N.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
34955
35165
|
}
|
|
34956
35166
|
renderMenu() {
|
|
34957
35167
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
34958
|
-
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$
|
|
35168
|
+
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$b.menu, slot: SLOTS$w.trigger, text: messages.options }), hAsync("slot", { name: SLOTS$n.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
|
34959
35169
|
}
|
|
34960
35170
|
renderHeaderNode() {
|
|
34961
35171
|
const { hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems, hasActionBar, } = this;
|
|
@@ -34967,24 +35177,24 @@ class Panel {
|
|
|
34967
35177
|
closable ||
|
|
34968
35178
|
hasMenuItems;
|
|
34969
35179
|
this.showHeaderContent = showHeaderContent;
|
|
34970
|
-
return (hAsync("header", { class: CSS$
|
|
35180
|
+
return (hAsync("header", { class: CSS$N.header, hidden: !(showHeaderContent || hasActionBar) }, hAsync("div", { class: { [CSS$N.headerContainer]: true, [CSS$N.headerContainerBorderEnd]: hasActionBar }, hidden: !showHeaderContent }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()), this.renderActionBar()));
|
|
34971
35181
|
}
|
|
34972
35182
|
renderFooterNode() {
|
|
34973
35183
|
const { hasFooterContent, hasFooterActions } = this;
|
|
34974
35184
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
34975
|
-
return (hAsync("footer", { class: CSS$
|
|
35185
|
+
return (hAsync("footer", { class: CSS$N.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$n.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$n.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
34976
35186
|
}
|
|
34977
35187
|
renderContent() {
|
|
34978
|
-
return (hAsync("div", { class: CSS$
|
|
35188
|
+
return (hAsync("div", { class: CSS$N.contentWrapper, onScroll: this.panelScrollHandler,
|
|
34979
35189
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34980
35190
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
34981
35191
|
}
|
|
34982
35192
|
renderFab() {
|
|
34983
|
-
return (hAsync("div", { class: CSS$
|
|
35193
|
+
return (hAsync("div", { class: CSS$N.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$n.fab, onSlotchange: this.handleFabSlotChange })));
|
|
34984
35194
|
}
|
|
34985
35195
|
render() {
|
|
34986
35196
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
34987
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
35197
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$N.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
34988
35198
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34989
35199
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
34990
35200
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -35030,7 +35240,7 @@ class Panel {
|
|
|
35030
35240
|
}; }
|
|
35031
35241
|
}
|
|
35032
35242
|
|
|
35033
|
-
const CSS$
|
|
35243
|
+
const CSS$t = {
|
|
35034
35244
|
sticky: "sticky-pos",
|
|
35035
35245
|
};
|
|
35036
35246
|
var ICON_TYPES$1;
|
|
@@ -35043,7 +35253,7 @@ const SLOTS$d = {
|
|
|
35043
35253
|
menuActions: "menu-actions",
|
|
35044
35254
|
};
|
|
35045
35255
|
|
|
35046
|
-
const CSS$
|
|
35256
|
+
const CSS$s = {
|
|
35047
35257
|
heading: "heading",
|
|
35048
35258
|
container: "container",
|
|
35049
35259
|
indented: "container--indented",
|
|
@@ -35369,7 +35579,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
35369
35579
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
35370
35580
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35371
35581
|
ref: storeAssistiveEl })) : null,
|
|
35372
|
-
hAsync("header", { class: { [CSS$
|
|
35582
|
+
hAsync("header", { class: { [CSS$t.sticky]: true } },
|
|
35373
35583
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
35374
35584
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35375
35585
|
ref: setFilterEl })) : null,
|
|
@@ -35560,14 +35770,14 @@ class PickListGroup {
|
|
|
35560
35770
|
const { el, groupTitle, headingLevel } = this;
|
|
35561
35771
|
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
35562
35772
|
const sectionClasses = {
|
|
35563
|
-
[CSS$
|
|
35564
|
-
[CSS$
|
|
35773
|
+
[CSS$s.container]: true,
|
|
35774
|
+
[CSS$s.indented]: hasParentItem,
|
|
35565
35775
|
};
|
|
35566
35776
|
const title = groupTitle;
|
|
35567
35777
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
35568
35778
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
35569
35779
|
const level = headingLevel || relativeLevel;
|
|
35570
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
35780
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$s.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$c.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
35571
35781
|
}
|
|
35572
35782
|
get el() { return getElement(this); }
|
|
35573
35783
|
static get style() { return pickListGroupCss; }
|
|
@@ -35584,7 +35794,7 @@ class PickListGroup {
|
|
|
35584
35794
|
}; }
|
|
35585
35795
|
}
|
|
35586
35796
|
|
|
35587
|
-
const CSS$
|
|
35797
|
+
const CSS$r = {
|
|
35588
35798
|
actions: "actions",
|
|
35589
35799
|
actionsEnd: "actions--end",
|
|
35590
35800
|
actionsStart: "actions--start",
|
|
@@ -35746,28 +35956,28 @@ class PickListItem {
|
|
|
35746
35956
|
return null;
|
|
35747
35957
|
}
|
|
35748
35958
|
return (hAsync("span", { class: {
|
|
35749
|
-
[CSS$
|
|
35750
|
-
[CSS$
|
|
35959
|
+
[CSS$r.icon]: true,
|
|
35960
|
+
[CSS$r.iconDot]: icon === ICON_TYPES$1.circle,
|
|
35751
35961
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$5.checked, scale: "s" })) : null));
|
|
35752
35962
|
}
|
|
35753
35963
|
renderRemoveAction() {
|
|
35754
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
35964
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$r.remove, icon: ICONS$5.remove, onClick: this.removeClickHandler, slot: SLOTS$b.actionsEnd, text: this.messages.remove })) : null;
|
|
35755
35965
|
}
|
|
35756
35966
|
renderActionsStart() {
|
|
35757
35967
|
const { el } = this;
|
|
35758
35968
|
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
35759
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
35969
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$r.actions]: true, [CSS$r.actionsStart]: true } }, hAsync("slot", { name: SLOTS$b.actionsStart }))) : null;
|
|
35760
35970
|
}
|
|
35761
35971
|
renderActionsEnd() {
|
|
35762
35972
|
const { el, removable } = this;
|
|
35763
35973
|
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
35764
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
35974
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$r.actions]: true, [CSS$r.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$b.actionsEnd }), this.renderRemoveAction())) : null;
|
|
35765
35975
|
}
|
|
35766
35976
|
render() {
|
|
35767
35977
|
const { description, label } = this;
|
|
35768
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
35978
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$r.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
35769
35979
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35770
|
-
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$
|
|
35980
|
+
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$r.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$r.title }, label), description ? hAsync("span", { class: CSS$r.description }, description) : null)), this.renderActionsEnd()));
|
|
35771
35981
|
}
|
|
35772
35982
|
static get assetsDirs() { return ["assets"]; }
|
|
35773
35983
|
get el() { return getElement(this); }
|
|
@@ -35810,7 +36020,7 @@ class PickListItem {
|
|
|
35810
36020
|
}; }
|
|
35811
36021
|
}
|
|
35812
36022
|
|
|
35813
|
-
const CSS$
|
|
36023
|
+
const CSS$q = {
|
|
35814
36024
|
container: "container",
|
|
35815
36025
|
imageContainer: "image-container",
|
|
35816
36026
|
closeButtonContainer: "close-button-container",
|
|
@@ -35904,7 +36114,7 @@ class PopoverManager {
|
|
|
35904
36114
|
}
|
|
35905
36115
|
}
|
|
35906
36116
|
|
|
35907
|
-
const CSS$
|
|
36117
|
+
const CSS$p = {
|
|
35908
36118
|
arrow: "calcite-floating-ui-arrow",
|
|
35909
36119
|
arrowStroke: "calcite-floating-ui-arrow__stroke",
|
|
35910
36120
|
};
|
|
@@ -35934,8 +36144,8 @@ const FloatingArrow = ({ floatingLayout, key, ref, }) => {
|
|
|
35934
36144
|
` L${width - svgX},${height}` +
|
|
35935
36145
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
35936
36146
|
" Z";
|
|
35937
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
35938
|
-
strokeWidth > 0 && (hAsync("path", { class: CSS$
|
|
36147
|
+
return (hAsync("svg", { "aria-hidden": "true", class: CSS$p.arrow, height: width, key: key, ref: ref, viewBox: `0 0 ${width} ${width + (!isVertical ? strokeWidth : 0)}`, width: width + (isVertical ? strokeWidth : 0) },
|
|
36148
|
+
strokeWidth > 0 && (hAsync("path", { class: CSS$p.arrowStroke, d: dValue, fill: "none", "stroke-width": strokeWidth + 1 })),
|
|
35939
36149
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
35940
36150
|
};
|
|
35941
36151
|
|
|
@@ -36187,14 +36397,14 @@ class Popover {
|
|
|
36187
36397
|
// --------------------------------------------------------------------------
|
|
36188
36398
|
renderCloseButton() {
|
|
36189
36399
|
const { messages, closable } = this;
|
|
36190
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
36400
|
+
return closable ? (hAsync("div", { class: CSS$q.closeButtonContainer, key: CSS$q.closeButtonContainer }, hAsync("calcite-action", { appearance: "transparent", class: CSS$q.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
|
|
36191
36401
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
36192
36402
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
36193
36403
|
}
|
|
36194
36404
|
renderHeader() {
|
|
36195
36405
|
const { heading, headingLevel } = this;
|
|
36196
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
36197
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
36406
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$q.heading, level: headingLevel }, heading)) : null;
|
|
36407
|
+
return headingNode ? (hAsync("div", { class: CSS$q.header, key: CSS$q.header }, headingNode, this.renderCloseButton())) : null;
|
|
36198
36408
|
}
|
|
36199
36409
|
render() {
|
|
36200
36410
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -36209,9 +36419,9 @@ class Popover {
|
|
|
36209
36419
|
},
|
|
36210
36420
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
36211
36421
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
36212
|
-
[CSS$
|
|
36213
|
-
[CSS$
|
|
36214
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
36422
|
+
[CSS$q.hasHeader]: !!heading,
|
|
36423
|
+
[CSS$q.container]: true,
|
|
36424
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$q.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
36215
36425
|
}
|
|
36216
36426
|
static get assetsDirs() { return ["assets"]; }
|
|
36217
36427
|
get el() { return getElement(this); }
|
|
@@ -36305,7 +36515,7 @@ class Progress {
|
|
|
36305
36515
|
}; }
|
|
36306
36516
|
}
|
|
36307
36517
|
|
|
36308
|
-
const CSS$
|
|
36518
|
+
const CSS$o = {
|
|
36309
36519
|
container: "container",
|
|
36310
36520
|
};
|
|
36311
36521
|
|
|
@@ -36582,7 +36792,7 @@ class RadioButton {
|
|
|
36582
36792
|
// --------------------------------------------------------------------------
|
|
36583
36793
|
render() {
|
|
36584
36794
|
const tabIndex = this.getTabIndex();
|
|
36585
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
36795
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$o.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
|
|
36586
36796
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
36587
36797
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
36588
36798
|
}
|
|
@@ -37009,7 +37219,7 @@ class Rating {
|
|
|
37009
37219
|
}; }
|
|
37010
37220
|
}
|
|
37011
37221
|
|
|
37012
|
-
const CSS$
|
|
37222
|
+
const CSS$n = {
|
|
37013
37223
|
scrim: "scrim",
|
|
37014
37224
|
content: "content",
|
|
37015
37225
|
};
|
|
@@ -37079,7 +37289,7 @@ class Scrim {
|
|
|
37079
37289
|
// --------------------------------------------------------------------------
|
|
37080
37290
|
render() {
|
|
37081
37291
|
const { hasContent, loading, messages } = this;
|
|
37082
|
-
return (hAsync("div", { class: CSS$
|
|
37292
|
+
return (hAsync("div", { class: CSS$n.scrim }, loading ? (hAsync("calcite-loader", { label: messages.loading, ref: this.storeLoaderEl, scale: this.loaderScale })) : null, hAsync("div", { class: CSS$n.content, hidden: !hasContent }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
37083
37293
|
}
|
|
37084
37294
|
getScale(size) {
|
|
37085
37295
|
if (size < BREAKPOINTS.s) {
|
|
@@ -37354,7 +37564,7 @@ class SegmentedControl {
|
|
|
37354
37564
|
const SLOTS$a = {
|
|
37355
37565
|
input: "input",
|
|
37356
37566
|
};
|
|
37357
|
-
const CSS$
|
|
37567
|
+
const CSS$m = {
|
|
37358
37568
|
segmentedControlItemIcon: "segmented-control-item-icon",
|
|
37359
37569
|
};
|
|
37360
37570
|
|
|
@@ -37383,8 +37593,8 @@ class SegmentedControlItem {
|
|
|
37383
37593
|
//--------------------------------------------------------------------------
|
|
37384
37594
|
render() {
|
|
37385
37595
|
const { appearance, checked, layout, scale, value } = this;
|
|
37386
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
37387
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
37596
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$m.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
37597
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$m.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
37388
37598
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
37389
37599
|
"label--scale-s": scale === "s",
|
|
37390
37600
|
"label--scale-m": scale === "m",
|
|
@@ -37418,7 +37628,7 @@ class SegmentedControlItem {
|
|
|
37418
37628
|
}; }
|
|
37419
37629
|
}
|
|
37420
37630
|
|
|
37421
|
-
const CSS$
|
|
37631
|
+
const CSS$l = {
|
|
37422
37632
|
icon: "icon",
|
|
37423
37633
|
iconContainer: "icon-container",
|
|
37424
37634
|
select: "select",
|
|
@@ -37605,10 +37815,10 @@ class Select {
|
|
|
37605
37815
|
//
|
|
37606
37816
|
//--------------------------------------------------------------------------
|
|
37607
37817
|
renderChevron() {
|
|
37608
|
-
return (hAsync("div", { class: CSS$
|
|
37818
|
+
return (hAsync("div", { class: CSS$l.iconContainer }, hAsync("calcite-icon", { class: CSS$l.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
37609
37819
|
}
|
|
37610
37820
|
render() {
|
|
37611
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$
|
|
37821
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$l.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
37612
37822
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
37613
37823
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
37614
37824
|
}
|
|
@@ -37639,7 +37849,7 @@ class Select {
|
|
|
37639
37849
|
}; }
|
|
37640
37850
|
}
|
|
37641
37851
|
|
|
37642
|
-
const CSS$
|
|
37852
|
+
const CSS$k = {
|
|
37643
37853
|
scrim: "scrim",
|
|
37644
37854
|
container: "container",
|
|
37645
37855
|
containerOpen: "container--open",
|
|
@@ -37757,12 +37967,12 @@ class Sheet {
|
|
|
37757
37967
|
render() {
|
|
37758
37968
|
const dir = getElementDir(this.el);
|
|
37759
37969
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-label": this.label, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
37760
|
-
[CSS$
|
|
37761
|
-
[CSS$
|
|
37762
|
-
[CSS$
|
|
37970
|
+
[CSS$k.container]: true,
|
|
37971
|
+
[CSS$k.containerOpen]: this.opened,
|
|
37972
|
+
[CSS$k.containerSlottedInShell]: this.slottedInShell,
|
|
37763
37973
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
37764
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
37765
|
-
[CSS$
|
|
37974
|
+
} }, hAsync("calcite-scrim", { class: CSS$k.scrim, onClick: this.handleOutsideClose }), hAsync("div", { class: {
|
|
37975
|
+
[CSS$k.content]: true,
|
|
37766
37976
|
},
|
|
37767
37977
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
37768
37978
|
ref: this.setTransitionEl }, hAsync("slot", null)))));
|
|
@@ -37863,7 +38073,7 @@ class Sheet {
|
|
|
37863
38073
|
}; }
|
|
37864
38074
|
}
|
|
37865
38075
|
|
|
37866
|
-
const CSS$
|
|
38076
|
+
const CSS$j = {
|
|
37867
38077
|
main: "main",
|
|
37868
38078
|
content: "content",
|
|
37869
38079
|
contentBehind: "content--behind",
|
|
@@ -37965,7 +38175,7 @@ class Shell {
|
|
|
37965
38175
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
37966
38176
|
}
|
|
37967
38177
|
renderFooter() {
|
|
37968
|
-
return (hAsync("div", { class: CSS$
|
|
38178
|
+
return (hAsync("div", { class: CSS$j.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$9.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
37969
38179
|
}
|
|
37970
38180
|
renderAlerts() {
|
|
37971
38181
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -37985,21 +38195,21 @@ class Shell {
|
|
|
37985
38195
|
const content = !!this.contentBehind
|
|
37986
38196
|
? [
|
|
37987
38197
|
hAsync("div", { class: {
|
|
37988
|
-
[CSS$
|
|
37989
|
-
[CSS$
|
|
38198
|
+
[CSS$j.content]: true,
|
|
38199
|
+
[CSS$j.contentBehind]: true,
|
|
37990
38200
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
37991
|
-
hAsync("div", { class: CSS$
|
|
38201
|
+
hAsync("div", { class: CSS$j.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
37992
38202
|
]
|
|
37993
38203
|
: [
|
|
37994
|
-
hAsync("div", { class: CSS$
|
|
38204
|
+
hAsync("div", { class: CSS$j.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
37995
38205
|
];
|
|
37996
38206
|
return content;
|
|
37997
38207
|
}
|
|
37998
38208
|
renderMain() {
|
|
37999
|
-
return (hAsync("div", { class: CSS$
|
|
38209
|
+
return (hAsync("div", { class: CSS$j.main }, hAsync("slot", { name: SLOTS$9.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$9.panelEnd })));
|
|
38000
38210
|
}
|
|
38001
38211
|
renderPositionedSlots() {
|
|
38002
|
-
return (hAsync("div", { class: CSS$
|
|
38212
|
+
return (hAsync("div", { class: CSS$j.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderSheets()));
|
|
38003
38213
|
}
|
|
38004
38214
|
render() {
|
|
38005
38215
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -38023,7 +38233,7 @@ class Shell {
|
|
|
38023
38233
|
}; }
|
|
38024
38234
|
}
|
|
38025
38235
|
|
|
38026
|
-
const CSS$
|
|
38236
|
+
const CSS$i = {
|
|
38027
38237
|
actionBarContainer: "action-bar-container",
|
|
38028
38238
|
content: "content",
|
|
38029
38239
|
};
|
|
@@ -38062,9 +38272,9 @@ class ShellCenterRow {
|
|
|
38062
38272
|
// --------------------------------------------------------------------------
|
|
38063
38273
|
render() {
|
|
38064
38274
|
const { el } = this;
|
|
38065
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
38275
|
+
const contentNode = (hAsync("div", { class: CSS$i.content }, hAsync("slot", null)));
|
|
38066
38276
|
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
38067
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
38277
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$i.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$8.actionBar }))) : null;
|
|
38068
38278
|
const children = [actionBarNode, contentNode];
|
|
38069
38279
|
if (actionBar?.position === "end") {
|
|
38070
38280
|
children.reverse();
|
|
@@ -38087,7 +38297,7 @@ class ShellCenterRow {
|
|
|
38087
38297
|
}; }
|
|
38088
38298
|
}
|
|
38089
38299
|
|
|
38090
|
-
const CSS$
|
|
38300
|
+
const CSS$h = {
|
|
38091
38301
|
container: "container",
|
|
38092
38302
|
content: "content",
|
|
38093
38303
|
contentHeader: "content__header",
|
|
@@ -38350,7 +38560,7 @@ class ShellPanel {
|
|
|
38350
38560
|
//
|
|
38351
38561
|
// --------------------------------------------------------------------------
|
|
38352
38562
|
renderHeader() {
|
|
38353
|
-
return (hAsync("div", { class: CSS$
|
|
38563
|
+
return (hAsync("div", { class: CSS$h.contentHeader, hidden: !this.hasHeader, key: "header" }, hAsync("slot", { name: SLOTS$7.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38354
38564
|
}
|
|
38355
38565
|
render() {
|
|
38356
38566
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode, } = this;
|
|
@@ -38367,7 +38577,7 @@ class ShellPanel {
|
|
|
38367
38577
|
: null;
|
|
38368
38578
|
const separatorNode = !collapsed && allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": layout === "horizontal" ? "vertical" : "horizontal", "aria-valuemax": layout == "horizontal" ? contentHeightMax : contentWidthMax, "aria-valuemin": layout == "horizontal" ? contentHeightMin : contentWidthMin, "aria-valuenow": layout == "horizontal"
|
|
38369
38579
|
? contentHeight ?? initialContentHeight
|
|
38370
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
38580
|
+
: contentWidth ?? initialContentWidth, class: CSS$h.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
38371
38581
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38372
38582
|
ref: this.connectSeparator })) : null;
|
|
38373
38583
|
const getAnimationDir = () => {
|
|
@@ -38383,20 +38593,20 @@ class ShellPanel {
|
|
|
38383
38593
|
};
|
|
38384
38594
|
const contentNode = (hAsync("div", { class: {
|
|
38385
38595
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
38386
|
-
[CSS$
|
|
38387
|
-
[CSS$
|
|
38388
|
-
[CSS$
|
|
38596
|
+
[CSS$h.content]: true,
|
|
38597
|
+
[CSS$h.contentOverlay]: displayMode === "overlay",
|
|
38598
|
+
[CSS$h.contentFloat]: displayMode === "float",
|
|
38389
38599
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
38390
38600
|
[getAnimationDir()]: displayMode === "overlay",
|
|
38391
38601
|
}, hidden: collapsed, key: "content", style: style,
|
|
38392
38602
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38393
|
-
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
38603
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$h.contentBody }, hAsync("slot", null)), separatorNode));
|
|
38394
38604
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
38395
38605
|
const mainNodes = [actionBarNode, contentNode];
|
|
38396
38606
|
if (position === "end") {
|
|
38397
38607
|
mainNodes.reverse();
|
|
38398
38608
|
}
|
|
38399
|
-
return hAsync("div", { class: { [CSS$
|
|
38609
|
+
return hAsync("div", { class: { [CSS$h.container]: true } }, mainNodes);
|
|
38400
38610
|
}
|
|
38401
38611
|
// --------------------------------------------------------------------------
|
|
38402
38612
|
//
|
|
@@ -38497,7 +38707,7 @@ class ShellPanel {
|
|
|
38497
38707
|
}; }
|
|
38498
38708
|
}
|
|
38499
38709
|
|
|
38500
|
-
const CSS$
|
|
38710
|
+
const CSS$g = {
|
|
38501
38711
|
handleLabel: "handle__label",
|
|
38502
38712
|
handleLabelMinValue: "handle__label--minValue",
|
|
38503
38713
|
handleLabelValue: "handle__label--value",
|
|
@@ -38696,8 +38906,8 @@ class Slider {
|
|
|
38696
38906
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
38697
38907
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
38698
38908
|
const valueIsRange = isRange(this.value);
|
|
38699
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
38700
|
-
const handleLabelValueClasses = `${CSS$
|
|
38909
|
+
const handleLabelMinValueClasses = `${CSS$g.handleLabel} ${CSS$g.handleLabelMinValue}`;
|
|
38910
|
+
const handleLabelValueClasses = `${CSS$g.handleLabel} ${CSS$g.handleLabelValue}`;
|
|
38701
38911
|
const handle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
38702
38912
|
thumb: true,
|
|
38703
38913
|
"thumb--value": true,
|
|
@@ -38833,8 +39043,8 @@ class Slider {
|
|
|
38833
39043
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
38834
39044
|
const tickLabel = (hAsync("span", { class: {
|
|
38835
39045
|
tick__label: true,
|
|
38836
|
-
[CSS$
|
|
38837
|
-
[CSS$
|
|
39046
|
+
[CSS$g.tickMin]: isMinTickLabel,
|
|
39047
|
+
[CSS$g.tickMax]: isMaxTickLabel,
|
|
38838
39048
|
} }, displayedTickValue));
|
|
38839
39049
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
38840
39050
|
return tickLabel;
|
|
@@ -39392,7 +39602,7 @@ class Slider {
|
|
|
39392
39602
|
}; }
|
|
39393
39603
|
}
|
|
39394
39604
|
|
|
39395
|
-
const CSS$
|
|
39605
|
+
const CSS$f = {
|
|
39396
39606
|
sortItem: "sort-item",
|
|
39397
39607
|
container: "container",
|
|
39398
39608
|
containerHorizontal: "container--horizontal",
|
|
@@ -39526,9 +39736,9 @@ class SortableList {
|
|
|
39526
39736
|
const { layout } = this;
|
|
39527
39737
|
const horizontal = layout === "horizontal" || false;
|
|
39528
39738
|
return (hAsync("div", { class: {
|
|
39529
|
-
[CSS$
|
|
39530
|
-
[CSS$
|
|
39531
|
-
[CSS$
|
|
39739
|
+
[CSS$f.container]: true,
|
|
39740
|
+
[CSS$f.containerVertical]: !horizontal,
|
|
39741
|
+
[CSS$f.containerHorizontal]: horizontal,
|
|
39532
39742
|
} }, hAsync("slot", null)));
|
|
39533
39743
|
}
|
|
39534
39744
|
get el() { return getElement(this); }
|
|
@@ -39552,7 +39762,7 @@ class SortableList {
|
|
|
39552
39762
|
}; }
|
|
39553
39763
|
}
|
|
39554
39764
|
|
|
39555
|
-
const CSS$
|
|
39765
|
+
const CSS$e = {
|
|
39556
39766
|
container: "split-button__container",
|
|
39557
39767
|
dividerContainer: "split-button__divider-container",
|
|
39558
39768
|
divider: "split-button__divider",
|
|
@@ -39631,13 +39841,13 @@ class SplitButton {
|
|
|
39631
39841
|
}
|
|
39632
39842
|
render() {
|
|
39633
39843
|
const widthClasses = {
|
|
39634
|
-
[CSS$
|
|
39635
|
-
[CSS$
|
|
39636
|
-
[CSS$
|
|
39637
|
-
[CSS$
|
|
39844
|
+
[CSS$e.container]: true,
|
|
39845
|
+
[CSS$e.widthAuto]: this.width === "auto",
|
|
39846
|
+
[CSS$e.widthHalf]: this.width === "half",
|
|
39847
|
+
[CSS$e.widthFull]: this.width === "full",
|
|
39638
39848
|
};
|
|
39639
39849
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
39640
|
-
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$
|
|
39850
|
+
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$e.dividerContainer }, hAsync("div", { class: CSS$e.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
|
|
39641
39851
|
}
|
|
39642
39852
|
get dropdownIcon() {
|
|
39643
39853
|
return this.dropdownIconType === "chevron"
|
|
@@ -39724,25 +39934,25 @@ class Stack {
|
|
|
39724
39934
|
// --------------------------------------------------------------------------
|
|
39725
39935
|
renderActionsStart() {
|
|
39726
39936
|
const { hasActionsStart } = this;
|
|
39727
|
-
return (hAsync("div", { class: CSS$
|
|
39937
|
+
return (hAsync("div", { class: CSS$z.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$g.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
39728
39938
|
}
|
|
39729
39939
|
renderActionsEnd() {
|
|
39730
39940
|
const { hasActionsEnd } = this;
|
|
39731
|
-
return (hAsync("div", { class: CSS$
|
|
39941
|
+
return (hAsync("div", { class: CSS$z.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$g.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
39732
39942
|
}
|
|
39733
39943
|
renderContentStart() {
|
|
39734
39944
|
const { hasContentStart } = this;
|
|
39735
|
-
return (hAsync("div", { class: CSS$
|
|
39945
|
+
return (hAsync("div", { class: CSS$z.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
39736
39946
|
}
|
|
39737
39947
|
renderDefaultContent() {
|
|
39738
|
-
return (hAsync("div", { class: CSS$
|
|
39948
|
+
return (hAsync("div", { class: CSS$z.content }, hAsync("slot", null)));
|
|
39739
39949
|
}
|
|
39740
39950
|
renderContentEnd() {
|
|
39741
39951
|
const { hasContentEnd } = this;
|
|
39742
|
-
return (hAsync("div", { class: CSS$
|
|
39952
|
+
return (hAsync("div", { class: CSS$z.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
39743
39953
|
}
|
|
39744
39954
|
render() {
|
|
39745
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
39955
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$z.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
39746
39956
|
}
|
|
39747
39957
|
static get style() { return stackCss; }
|
|
39748
39958
|
static get cmpMeta() { return {
|
|
@@ -39777,6 +39987,14 @@ class Stepper {
|
|
|
39777
39987
|
/** list of enabled Stepper items */
|
|
39778
39988
|
this.enabledItems = [];
|
|
39779
39989
|
this.mutationObserver = createObserver();
|
|
39990
|
+
this.handleDefaultSlotChange = (event) => {
|
|
39991
|
+
const slottedItems = slotChangeGetAssignedElements(event);
|
|
39992
|
+
const items = slottedItems.filter((el) => el?.tagName === "CALCITE-STEPPER-ITEM");
|
|
39993
|
+
const spacing = Array(items.length).fill("1fr").join(" ");
|
|
39994
|
+
this.el.style.gridTemplateAreas = spacing;
|
|
39995
|
+
this.el.style.gridTemplateColumns = spacing;
|
|
39996
|
+
this.setStepperItemNumberingSystem();
|
|
39997
|
+
};
|
|
39780
39998
|
this.icon = false;
|
|
39781
39999
|
this.layout = "horizontal";
|
|
39782
40000
|
this.numbered = false;
|
|
@@ -39808,15 +40026,7 @@ class Stepper {
|
|
|
39808
40026
|
}
|
|
39809
40027
|
}
|
|
39810
40028
|
render() {
|
|
39811
|
-
return (hAsync("slot", { onSlotchange:
|
|
39812
|
-
const items = event.currentTarget
|
|
39813
|
-
.assignedElements()
|
|
39814
|
-
.filter((el) => el?.tagName === "CALCITE-STEPPER-ITEM");
|
|
39815
|
-
const spacing = Array(items.length).fill("1fr").join(" ");
|
|
39816
|
-
this.el.style.gridTemplateAreas = spacing;
|
|
39817
|
-
this.el.style.gridTemplateColumns = spacing;
|
|
39818
|
-
this.setStepperItemNumberingSystem();
|
|
39819
|
-
} }));
|
|
40029
|
+
return (hAsync(Host, { "aria-label": "Progress steps", role: "region" }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
39820
40030
|
}
|
|
39821
40031
|
//--------------------------------------------------------------------------
|
|
39822
40032
|
//
|
|
@@ -39985,7 +40195,18 @@ class Stepper {
|
|
|
39985
40195
|
}; }
|
|
39986
40196
|
}
|
|
39987
40197
|
|
|
39988
|
-
const stepperItemCss = "/*!@:host([layout=horizontal][disabled]) .stepper-item-header, :host([disabled])*/[layout=horizontal][disabled].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item,[disabled].sc-calcite-stepper-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([layout=horizontal][disabled]) .stepper-item-header *, :host([disabled]) *,\n:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),\n:host([disabled]) ::slotted(*)*/[layout=horizontal][disabled].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item,[disabled].sc-calcite-stepper-item-h *.sc-calcite-stepper-item,.sc-calcite-stepper-item-h[layout=horizontal][disabled] .stepper-item-header .sc-calcite-stepper-item-s>*,.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>*{pointer-events:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}/*!@:host([scale=s]) .stepper-item-description*/[scale=s].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .stepper-item-description*/[scale=m].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .stepper-item-description*/[scale=l].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-stepper-item-h{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host*/.sc-calcite-stepper-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-stepper-item-h: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 )}/*!@:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{display:flex;cursor:pointer;align-items:flex-start}/*!@:host .stepper-item-content,\n:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host .stepper-item-header **/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .stepper-item-content*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host .stepper-item-icon*/.sc-calcite-stepper-item-h .stepper-item-icon.sc-calcite-stepper-item{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .stepper-item-header-text*/.sc-calcite-stepper-item-h .stepper-item-header-text.sc-calcite-stepper-item{flex-direction:column;text-align:initial;margin-inline-end:auto}/*!@:host .stepper-item-heading,\n:host .stepper-item-description*/.sc-calcite-stepper-item-h .stepper-item-heading.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{display:flex;inline-size:100%}/*!@:host .stepper-item-heading*/.sc-calcite-stepper-item-h .stepper-item-heading.sc-calcite-stepper-item{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .stepper-item-description*/.sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-3)}/*!@:host .stepper-item-number*/.sc-calcite-stepper-item-h .stepper-item-number.sc-calcite-stepper-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-stepper-item-h [calcite-hydrated][disabled].sc-calcite-stepper-item{opacity:1}/*!@:host([complete]) .container*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([complete]) .container .stepper-item-icon*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([error]) .container*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-number*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-icon*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{opacity:1;color:var(--calcite-ui-danger)}/*!@:host(:hover:not([disabled]):not([selected])) .container,\n:host(:focus:not([disabled]):not([selected])) .container*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-brand)}/*!@:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,\n:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,\n:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([error]:hover:not([disabled]):not([selected])) .container,\n:host([error]:focus:not([disabled]):not([selected])) .container*/[error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-danger-hover)}/*!@:host([selected]) .container*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-brand)}/*!@:host([selected]) .container .stepper-item-heading*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host([selected]) .container .stepper-item-description*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([selected]) .container .stepper-item-number*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([selected]) .container .stepper-item-icon*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand);opacity:1}/*!@:host([selected]) .container .stepper-item-content*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{display:flex}/*!@:host([layout=vertical]) .container*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]) .container .stepper-item-icon*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}/*!@:host([layout=vertical]) .container .stepper-item-header*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-header.sc-calcite-stepper-item{padding-inline-end:0px}/*!@:host([layout=vertical]) .container .stepper-item-content*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{padding:0px}/*!@:host([layout=vertical][complete]) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][error]) .container*/[layout=vertical][error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=vertical][selected]) .container*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty)*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical]:focus:not([disabled]):not([selected])) .container*/[layout=vertical].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container*/[layout=vertical][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-stepper-item-h{display:contents}/*!@:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{display:contents}/*!@:host([layout=horizontal]) .stepper-item-header*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal]) .stepper-item-header:focus*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item: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 )}/*!@:host([layout=horizontal]) .stepper-item-content*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host([layout=horizontal][selected]) .stepper-item-content*/[layout=horizontal][selected].sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{grid-area:2/1/2/-1}/*!@:host([layout=horizontal][scale=s]) .stepper-item-header*/[layout=horizontal][scale=s].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal][scale=l]) .stepper-item-header*/[layout=horizontal][scale=l].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal][complete]) .stepper-item-header*/[layout=horizontal][complete].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=horizontal][error]) .stepper-item-header*/[layout=horizontal][error].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=horizontal][selected]) .stepper-item-header*/[layout=horizontal][selected].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{outline-width:0;outline-offset:0}/*!@:host(:focus),\n :host(:focus-visible)*/.sc-calcite-stepper-item-h:focus,.sc-calcite-stepper-item-h:focus-visible{outline-color:canvasText}/*!@:host([selected]) .container*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:highlight}/*!@:host([selected]) .container .stepper-item-number*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:highlight}/*!@:host([selected]) .container .stepper-item-icon*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:highlight}/*!@:host([layout=vertical][selected]) .container*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:highlight}}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-stepper-item{display:none}";
|
|
40198
|
+
const CSS$d = {
|
|
40199
|
+
container: "container",
|
|
40200
|
+
stepperItemContent: "stepper-item-content",
|
|
40201
|
+
stepperItemDescription: "stepper-item-description",
|
|
40202
|
+
stepperItemHeader: "stepper-item-header",
|
|
40203
|
+
stepperItemHeading: "stepper-item-heading",
|
|
40204
|
+
stepperItemHeaderText: "stepper-item-header-text",
|
|
40205
|
+
stepperItemNumber: "stepper-item-number",
|
|
40206
|
+
visuallyHidden: "visually-hidden",
|
|
40207
|
+
};
|
|
40208
|
+
|
|
40209
|
+
const stepperItemCss = "/*!@:host([layout=horizontal][disabled]) .stepper-item-header, :host([disabled])*/[layout=horizontal][disabled].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item,[disabled].sc-calcite-stepper-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([layout=horizontal][disabled]) .stepper-item-header *, :host([disabled]) *,\n:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),\n:host([disabled]) ::slotted(*)*/[layout=horizontal][disabled].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item,[disabled].sc-calcite-stepper-item-h *.sc-calcite-stepper-item,.sc-calcite-stepper-item-h[layout=horizontal][disabled] .stepper-item-header .sc-calcite-stepper-item-s>*,.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>*{pointer-events:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}/*!@:host([scale=s]) .stepper-item-description*/[scale=s].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .stepper-item-description*/[scale=m].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .stepper-item-description*/[scale=l].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-stepper-item-h{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host*/.sc-calcite-stepper-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-stepper-item-h: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 )}/*!@:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{display:flex;cursor:pointer;align-items:flex-start}/*!@:host .stepper-item-content,\n:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host .stepper-item-header **/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .stepper-item-content*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host .stepper-item-icon*/.sc-calcite-stepper-item-h .stepper-item-icon.sc-calcite-stepper-item{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .stepper-item-header-text*/.sc-calcite-stepper-item-h .stepper-item-header-text.sc-calcite-stepper-item{flex-direction:column;text-align:initial;margin-inline-end:auto}/*!@:host .stepper-item-heading,\n:host .stepper-item-description*/.sc-calcite-stepper-item-h .stepper-item-heading.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{display:flex;inline-size:100%}/*!@:host .stepper-item-heading*/.sc-calcite-stepper-item-h .stepper-item-heading.sc-calcite-stepper-item{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .stepper-item-description*/.sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-3)}/*!@:host .stepper-item-number*/.sc-calcite-stepper-item-h .stepper-item-number.sc-calcite-stepper-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-stepper-item-h [calcite-hydrated][disabled].sc-calcite-stepper-item{opacity:1}/*!@:host([complete]) .container*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([complete]) .container .stepper-item-icon*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([error]) .container*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-number*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-icon*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{opacity:1;color:var(--calcite-ui-danger)}/*!@:host(:hover:not([disabled]):not([selected])) .container,\n:host(:focus:not([disabled]):not([selected])) .container*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-brand)}/*!@:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,\n:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,\n:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([error]:hover:not([disabled]):not([selected])) .container,\n:host([error]:focus:not([disabled]):not([selected])) .container*/[error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-danger-hover)}/*!@:host([selected]) .container*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-brand)}/*!@:host([selected]) .container .stepper-item-heading*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host([selected]) .container .stepper-item-description*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([selected]) .container .stepper-item-number*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([selected]) .container .stepper-item-icon*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand);opacity:1}/*!@:host([selected]) .container .stepper-item-content*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{display:flex}/*!@:host([layout=vertical]) .container*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]) .container .stepper-item-icon*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}/*!@:host([layout=vertical]) .container .stepper-item-header*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-header.sc-calcite-stepper-item{padding-inline-end:0px}/*!@:host([layout=vertical]) .container .stepper-item-content*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{padding:0px}/*!@:host([layout=vertical][complete]) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][error]) .container*/[layout=vertical][error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=vertical][selected]) .container*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty)*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical]:focus:not([disabled]):not([selected])) .container*/[layout=vertical].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container*/[layout=vertical][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-stepper-item-h{display:contents}/*!@:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{display:contents}/*!@:host([layout=horizontal]) .stepper-item-header*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal]) .stepper-item-header:focus*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item: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 )}/*!@:host([layout=horizontal]) .stepper-item-content*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host([layout=horizontal][selected]) .stepper-item-content*/[layout=horizontal][selected].sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{grid-area:2/1/2/-1}/*!@:host([layout=horizontal][scale=s]) .stepper-item-header*/[layout=horizontal][scale=s].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal][scale=l]) .stepper-item-header*/[layout=horizontal][scale=l].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal][complete]) .stepper-item-header*/[layout=horizontal][complete].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=horizontal][error]) .stepper-item-header*/[layout=horizontal][error].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=horizontal][selected]) .stepper-item-header*/[layout=horizontal][selected].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{outline-width:0;outline-offset:0}/*!@:host(:focus),\n :host(:focus-visible)*/.sc-calcite-stepper-item-h:focus,.sc-calcite-stepper-item-h:focus-visible{outline-color:canvasText}/*!@:host([selected]) .container*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:highlight}/*!@:host([selected]) .container .stepper-item-number*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:highlight}/*!@:host([selected]) .container .stepper-item-icon*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:highlight}/*!@:host([layout=vertical][selected]) .container*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:highlight}}/*!@.visually-hidden*/.visually-hidden.sc-calcite-stepper-item{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-stepper-item{display:none}";
|
|
39989
40210
|
|
|
39990
40211
|
/**
|
|
39991
40212
|
* @slot - A slot for adding custom content.
|
|
@@ -40108,11 +40329,11 @@ class StepperItem {
|
|
|
40108
40329
|
disconnectLocalized(this);
|
|
40109
40330
|
}
|
|
40110
40331
|
render() {
|
|
40111
|
-
return (hAsync(Host, { "aria-
|
|
40332
|
+
return (hAsync(Host, { "aria-current": this.selected ? "step" : "false", onClick: this.handleItemClick, onKeyDown: this.keyDownHandler }, hAsync("div", { class: CSS$d.container }, this.complete && (hAsync("span", { "aria-live": "polite", class: CSS$d.visuallyHidden }, "Completed step")), hAsync("div", { class: CSS$d.stepperItemHeader, tabIndex:
|
|
40112
40333
|
/* additional tab index logic needed because of display: contents */
|
|
40113
40334
|
this.layout === "horizontal" && !this.disabled ? 0 : null,
|
|
40114
40335
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
40115
|
-
ref: (el) => (this.headerEl = el) }, this.icon ? this.renderIcon() : null, this.numbered ? hAsync("div", { class:
|
|
40336
|
+
ref: (el) => (this.headerEl = el) }, this.icon ? this.renderIcon() : null, this.numbered ? (hAsync("div", { class: CSS$d.stepperItemNumber }, this.renderNumbers(), ".")) : null, hAsync("div", { class: CSS$d.stepperItemHeaderText }, hAsync("span", { class: CSS$d.stepperItemHeading }, this.heading), hAsync("span", { class: CSS$d.stepperItemDescription }, this.description))), hAsync("div", { class: CSS$d.stepperItemContent }, hAsync("slot", null)))));
|
|
40116
40337
|
}
|
|
40117
40338
|
//--------------------------------------------------------------------------
|
|
40118
40339
|
//
|
|
@@ -40579,6 +40800,7 @@ class TabNav {
|
|
|
40579
40800
|
}
|
|
40580
40801
|
iconStartChangeHandler() {
|
|
40581
40802
|
this.updateActiveWidth();
|
|
40803
|
+
this.updateOffsetPosition();
|
|
40582
40804
|
}
|
|
40583
40805
|
updateOffsetPosition() {
|
|
40584
40806
|
const dir = getElementDir(this.el);
|
|
@@ -45308,8 +45530,8 @@ class ValueListItem {
|
|
|
45308
45530
|
const { icon, iconFlipRtl } = this;
|
|
45309
45531
|
if (icon === ICON_TYPES$1.grip) {
|
|
45310
45532
|
return (hAsync("span", { class: {
|
|
45311
|
-
[CSS$
|
|
45312
|
-
[CSS$
|
|
45533
|
+
[CSS$r.handle]: true,
|
|
45534
|
+
[CSS$r.handleActivated]: this.handleActivated,
|
|
45313
45535
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => (this.handleEl = el), role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
45314
45536
|
}
|
|
45315
45537
|
}
|
|
@@ -45488,6 +45710,9 @@ var locale$M = {
|
|
|
45488
45710
|
months: months$5,
|
|
45489
45711
|
monthsShort: months$5,
|
|
45490
45712
|
weekStart: 6,
|
|
45713
|
+
meridiem: function meridiem(hour) {
|
|
45714
|
+
return hour > 12 ? 'م' : 'ص';
|
|
45715
|
+
},
|
|
45491
45716
|
relativeTime: {
|
|
45492
45717
|
future: 'بعد %s',
|
|
45493
45718
|
past: 'منذ %s',
|
|
@@ -45675,7 +45900,7 @@ function plural$4(n) {
|
|
|
45675
45900
|
/* eslint-disable */
|
|
45676
45901
|
|
|
45677
45902
|
|
|
45678
|
-
function translate$
|
|
45903
|
+
function translate$3(number, withoutSuffix, key, isFuture) {
|
|
45679
45904
|
var result = number + " ";
|
|
45680
45905
|
|
|
45681
45906
|
switch (key) {
|
|
@@ -45771,17 +45996,17 @@ var locale$I = {
|
|
|
45771
45996
|
relativeTime: {
|
|
45772
45997
|
future: 'za %s',
|
|
45773
45998
|
past: 'před %s',
|
|
45774
|
-
s: translate$
|
|
45775
|
-
m: translate$
|
|
45776
|
-
mm: translate$
|
|
45777
|
-
h: translate$
|
|
45778
|
-
hh: translate$
|
|
45779
|
-
d: translate$
|
|
45780
|
-
dd: translate$
|
|
45781
|
-
M: translate$
|
|
45782
|
-
MM: translate$
|
|
45783
|
-
y: translate$
|
|
45784
|
-
yy: translate$
|
|
45999
|
+
s: translate$3,
|
|
46000
|
+
m: translate$3,
|
|
46001
|
+
mm: translate$3,
|
|
46002
|
+
h: translate$3,
|
|
46003
|
+
hh: translate$3,
|
|
46004
|
+
d: translate$3,
|
|
46005
|
+
dd: translate$3,
|
|
46006
|
+
M: translate$3,
|
|
46007
|
+
MM: translate$3,
|
|
46008
|
+
y: translate$3,
|
|
46009
|
+
yy: translate$3
|
|
45785
46010
|
}
|
|
45786
46011
|
};
|
|
45787
46012
|
dayjs.locale(locale$I, null, true);
|
|
@@ -46977,7 +47202,7 @@ var locale$l = {
|
|
|
46977
47202
|
months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
|
|
46978
47203
|
monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
|
|
46979
47204
|
ordinal: function ordinal(n) {
|
|
46980
|
-
return n;
|
|
47205
|
+
return n + "\uC77C";
|
|
46981
47206
|
},
|
|
46982
47207
|
formats: {
|
|
46983
47208
|
LT: 'A h:mm',
|
|
@@ -47273,7 +47498,7 @@ function plural$3(n) {
|
|
|
47273
47498
|
/* eslint-disable */
|
|
47274
47499
|
|
|
47275
47500
|
|
|
47276
|
-
function translate$
|
|
47501
|
+
function translate$2(number, withoutSuffix, key) {
|
|
47277
47502
|
var result = number + " ";
|
|
47278
47503
|
|
|
47279
47504
|
switch (key) {
|
|
@@ -47329,16 +47554,16 @@ var locale$f = {
|
|
|
47329
47554
|
future: 'za %s',
|
|
47330
47555
|
past: '%s temu',
|
|
47331
47556
|
s: 'kilka sekund',
|
|
47332
|
-
m: translate$
|
|
47333
|
-
mm: translate$
|
|
47334
|
-
h: translate$
|
|
47335
|
-
hh: translate$
|
|
47557
|
+
m: translate$2,
|
|
47558
|
+
mm: translate$2,
|
|
47559
|
+
h: translate$2,
|
|
47560
|
+
hh: translate$2,
|
|
47336
47561
|
d: '1 dzień',
|
|
47337
47562
|
dd: '%d dni',
|
|
47338
47563
|
M: 'miesiąc',
|
|
47339
|
-
MM: translate$
|
|
47564
|
+
MM: translate$2,
|
|
47340
47565
|
y: 'rok',
|
|
47341
|
-
yy: translate$
|
|
47566
|
+
yy: translate$2
|
|
47342
47567
|
},
|
|
47343
47568
|
formats: {
|
|
47344
47569
|
LT: 'HH:mm',
|
|
@@ -47596,7 +47821,7 @@ function plural$1(n) {
|
|
|
47596
47821
|
/* eslint-disable */
|
|
47597
47822
|
|
|
47598
47823
|
|
|
47599
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
|
47824
|
+
function translate$1(number, withoutSuffix, key, isFuture) {
|
|
47600
47825
|
var result = number + " ";
|
|
47601
47826
|
|
|
47602
47827
|
switch (key) {
|
|
@@ -47693,17 +47918,17 @@ var locale$a = {
|
|
|
47693
47918
|
future: 'za %s',
|
|
47694
47919
|
// Should be `o %s` (change when moment/moment#5408 is fixed)
|
|
47695
47920
|
past: 'pred %s',
|
|
47696
|
-
s: translate,
|
|
47697
|
-
m: translate,
|
|
47698
|
-
mm: translate,
|
|
47699
|
-
h: translate,
|
|
47700
|
-
hh: translate,
|
|
47701
|
-
d: translate,
|
|
47702
|
-
dd: translate,
|
|
47703
|
-
M: translate,
|
|
47704
|
-
MM: translate,
|
|
47705
|
-
y: translate,
|
|
47706
|
-
yy: translate
|
|
47921
|
+
s: translate$1,
|
|
47922
|
+
m: translate$1,
|
|
47923
|
+
mm: translate$1,
|
|
47924
|
+
h: translate$1,
|
|
47925
|
+
hh: translate$1,
|
|
47926
|
+
d: translate$1,
|
|
47927
|
+
dd: translate$1,
|
|
47928
|
+
M: translate$1,
|
|
47929
|
+
MM: translate$1,
|
|
47930
|
+
y: translate$1,
|
|
47931
|
+
yy: translate$1
|
|
47707
47932
|
}
|
|
47708
47933
|
};
|
|
47709
47934
|
dayjs.locale(locale$a, null, true);
|
|
@@ -47714,6 +47939,107 @@ var sk = /*#__PURE__*/Object.freeze({
|
|
|
47714
47939
|
});
|
|
47715
47940
|
|
|
47716
47941
|
// Slovenian [sl]
|
|
47942
|
+
|
|
47943
|
+
function dual(n) {
|
|
47944
|
+
return n % 100 == 2; // eslint-disable-line
|
|
47945
|
+
}
|
|
47946
|
+
|
|
47947
|
+
function threeFour(n) {
|
|
47948
|
+
return n % 100 == 3 || n % 100 == 4; // eslint-disable-line
|
|
47949
|
+
}
|
|
47950
|
+
/* eslint-disable */
|
|
47951
|
+
|
|
47952
|
+
|
|
47953
|
+
function translate(number, withoutSuffix, key, isFuture) {
|
|
47954
|
+
var result = number + " ";
|
|
47955
|
+
|
|
47956
|
+
switch (key) {
|
|
47957
|
+
case 's':
|
|
47958
|
+
// a few seconds / in a few seconds / a few seconds ago
|
|
47959
|
+
return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';
|
|
47960
|
+
|
|
47961
|
+
case 'm':
|
|
47962
|
+
// a minute / in a minute / a minute ago
|
|
47963
|
+
return withoutSuffix ? 'ena minuta' : 'eno minuto';
|
|
47964
|
+
|
|
47965
|
+
case 'mm':
|
|
47966
|
+
// 9 minutes / in 9 minutes / 9 minutes ago
|
|
47967
|
+
if (dual(number)) {
|
|
47968
|
+
return result + (withoutSuffix || isFuture ? 'minuti' : 'minutama');
|
|
47969
|
+
}
|
|
47970
|
+
|
|
47971
|
+
if (threeFour(number)) {
|
|
47972
|
+
return result + (withoutSuffix || isFuture ? 'minute' : 'minutami');
|
|
47973
|
+
}
|
|
47974
|
+
|
|
47975
|
+
return result + (withoutSuffix || isFuture ? 'minut' : 'minutami');
|
|
47976
|
+
|
|
47977
|
+
case 'h':
|
|
47978
|
+
// an hour / in an hour / an hour ago
|
|
47979
|
+
return withoutSuffix ? 'ena ura' : isFuture ? 'eno uro' : 'eno uro';
|
|
47980
|
+
|
|
47981
|
+
case 'hh':
|
|
47982
|
+
// 9 hours / in 9 hours / 9 hours ago
|
|
47983
|
+
if (dual(number)) {
|
|
47984
|
+
return result + (withoutSuffix || isFuture ? 'uri' : 'urama');
|
|
47985
|
+
}
|
|
47986
|
+
|
|
47987
|
+
if (threeFour(number)) {
|
|
47988
|
+
return result + (withoutSuffix || isFuture ? 'ure' : 'urami');
|
|
47989
|
+
}
|
|
47990
|
+
|
|
47991
|
+
return result + (withoutSuffix || isFuture ? 'ur' : 'urami');
|
|
47992
|
+
|
|
47993
|
+
case 'd':
|
|
47994
|
+
// a day / in a day / a day ago
|
|
47995
|
+
return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
|
|
47996
|
+
|
|
47997
|
+
case 'dd':
|
|
47998
|
+
// 9 days / in 9 days / 9 days ago
|
|
47999
|
+
if (dual(number)) {
|
|
48000
|
+
return result + (withoutSuffix || isFuture ? 'dneva' : 'dnevoma');
|
|
48001
|
+
}
|
|
48002
|
+
|
|
48003
|
+
return result + (withoutSuffix || isFuture ? 'dni' : 'dnevi');
|
|
48004
|
+
|
|
48005
|
+
case 'M':
|
|
48006
|
+
// a month / in a month / a month ago
|
|
48007
|
+
return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
|
|
48008
|
+
|
|
48009
|
+
case 'MM':
|
|
48010
|
+
// 9 months / in 9 months / 9 months ago
|
|
48011
|
+
if (dual(number)) {
|
|
48012
|
+
// 2 minutes / in 2 minutes
|
|
48013
|
+
return result + (withoutSuffix || isFuture ? 'meseca' : 'mesecema');
|
|
48014
|
+
}
|
|
48015
|
+
|
|
48016
|
+
if (threeFour(number)) {
|
|
48017
|
+
return result + (withoutSuffix || isFuture ? 'mesece' : 'meseci');
|
|
48018
|
+
}
|
|
48019
|
+
|
|
48020
|
+
return result + (withoutSuffix || isFuture ? 'mesecev' : 'meseci');
|
|
48021
|
+
|
|
48022
|
+
case 'y':
|
|
48023
|
+
// a year / in a year / a year ago
|
|
48024
|
+
return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
|
|
48025
|
+
|
|
48026
|
+
case 'yy':
|
|
48027
|
+
// 9 years / in 9 years / 9 years ago
|
|
48028
|
+
if (dual(number)) {
|
|
48029
|
+
// 2 minutes / in 2 minutes
|
|
48030
|
+
return result + (withoutSuffix || isFuture ? 'leti' : 'letoma');
|
|
48031
|
+
}
|
|
48032
|
+
|
|
48033
|
+
if (threeFour(number)) {
|
|
48034
|
+
return result + (withoutSuffix || isFuture ? 'leta' : 'leti');
|
|
48035
|
+
}
|
|
48036
|
+
|
|
48037
|
+
return result + (withoutSuffix || isFuture ? 'let' : 'leti');
|
|
48038
|
+
}
|
|
48039
|
+
}
|
|
48040
|
+
/* eslint-enable */
|
|
48041
|
+
|
|
48042
|
+
|
|
47717
48043
|
var locale$9 = {
|
|
47718
48044
|
name: 'sl',
|
|
47719
48045
|
weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
|
|
@@ -47731,22 +48057,23 @@ var locale$9 = {
|
|
|
47731
48057
|
L: 'DD.MM.YYYY',
|
|
47732
48058
|
LL: 'D. MMMM YYYY',
|
|
47733
48059
|
LLL: 'D. MMMM YYYY H:mm',
|
|
47734
|
-
LLLL: 'dddd, D. MMMM YYYY H:mm'
|
|
48060
|
+
LLLL: 'dddd, D. MMMM YYYY H:mm',
|
|
48061
|
+
l: 'D. M. YYYY'
|
|
47735
48062
|
},
|
|
47736
48063
|
relativeTime: {
|
|
47737
48064
|
future: 'čez %s',
|
|
47738
48065
|
past: 'pred %s',
|
|
47739
|
-
s:
|
|
47740
|
-
m:
|
|
47741
|
-
mm:
|
|
47742
|
-
h:
|
|
47743
|
-
hh:
|
|
47744
|
-
d:
|
|
47745
|
-
dd:
|
|
47746
|
-
M:
|
|
47747
|
-
MM:
|
|
47748
|
-
y:
|
|
47749
|
-
yy:
|
|
48066
|
+
s: translate,
|
|
48067
|
+
m: translate,
|
|
48068
|
+
mm: translate,
|
|
48069
|
+
h: translate,
|
|
48070
|
+
hh: translate,
|
|
48071
|
+
d: translate,
|
|
48072
|
+
dd: translate,
|
|
48073
|
+
M: translate,
|
|
48074
|
+
MM: translate,
|
|
48075
|
+
y: translate,
|
|
48076
|
+
yy: translate
|
|
47750
48077
|
}
|
|
47751
48078
|
};
|
|
47752
48079
|
dayjs.locale(locale$9, null, true);
|