@esri/calcite-components 1.0.0-next.686 → 1.0.0-next.687
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-56890424.entry.js → p-00a5bf32.entry.js} +2 -2
- package/dist/calcite/{p-9deaa309.entry.js → p-01554333.entry.js} +2 -2
- package/dist/calcite/{p-6824ca41.js → p-01ba740b.js} +1 -1
- package/dist/calcite/{p-055ab9b3.entry.js → p-04a1e9a5.entry.js} +2 -2
- package/dist/calcite/{p-cae27dce.entry.js → p-06903eff.entry.js} +2 -2
- package/dist/calcite/{p-8c12a8f0.entry.js → p-0d3b40a6.entry.js} +2 -2
- package/dist/calcite/{p-4f24d324.entry.js → p-0e0a38f5.entry.js} +2 -2
- package/dist/calcite/{p-0529e8c1.entry.js → p-0f210417.entry.js} +2 -2
- package/dist/calcite/{p-26604cdc.js → p-10cb63ab.js} +1 -1
- package/dist/calcite/p-145826cd.entry.js +6 -0
- package/dist/calcite/{p-e89c8d76.entry.js → p-17b03c89.entry.js} +2 -2
- package/dist/calcite/p-17b168f5.entry.js +6 -0
- package/dist/calcite/{p-b9518a53.entry.js → p-24d1da1d.entry.js} +2 -2
- package/dist/calcite/{p-81215b22.entry.js → p-295b6093.entry.js} +2 -2
- package/dist/calcite/{p-1dea13ec.entry.js → p-297709b2.entry.js} +2 -2
- package/dist/calcite/p-2a1a2545.entry.js +6 -0
- package/dist/calcite/{p-2b3a9485.entry.js → p-2d9f9205.entry.js} +2 -2
- package/dist/calcite/{p-61e195c0.js → p-328e83a2.js} +2 -2
- package/dist/calcite/{p-20091960.entry.js → p-34afc9c4.entry.js} +2 -2
- package/dist/calcite/{p-7a985267.entry.js → p-3623960e.entry.js} +2 -2
- package/dist/calcite/{p-99eb0e56.js → p-38d86998.js} +2 -2
- package/dist/calcite/p-3e92e8d5.entry.js +6 -0
- package/dist/calcite/{p-da4c815d.entry.js → p-40d01474.entry.js} +2 -2
- package/dist/calcite/p-40e29eac.js +6 -0
- package/dist/calcite/p-41f42880.entry.js +6 -0
- package/dist/calcite/{p-6ec640f5.entry.js → p-48305455.entry.js} +2 -2
- package/dist/calcite/p-48b04dda.entry.js +6 -0
- package/dist/calcite/{p-af1288b8.entry.js → p-49262012.entry.js} +2 -2
- package/dist/calcite/{p-f0e2bf7f.entry.js → p-49b68140.entry.js} +2 -2
- package/dist/calcite/{p-164a3e2f.entry.js → p-4f1d6e3a.entry.js} +2 -2
- package/dist/calcite/{p-e98fc94d.js → p-50fd1bdb.js} +2 -2
- package/dist/calcite/{p-e5dcb599.js → p-54ccd99e.js} +1 -1
- package/dist/calcite/p-58538204.entry.js +6 -0
- package/dist/calcite/{p-b6fcce91.js → p-5d068ec6.js} +2 -2
- package/dist/calcite/{p-28d5a917.entry.js → p-6093ab99.entry.js} +2 -2
- package/dist/calcite/{p-7824938d.js → p-60c58d95.js} +2 -2
- package/dist/calcite/p-673dec2a.entry.js +6 -0
- package/dist/calcite/{p-319cf9bc.js → p-68bc80bb.js} +1 -1
- package/dist/calcite/{p-b3aac60f.entry.js → p-6921b9ac.entry.js} +2 -2
- package/dist/calcite/{p-43679ce3.entry.js → p-6abf8a3b.entry.js} +2 -2
- package/dist/calcite/{p-ede72305.js → p-6e619bab.js} +1 -1
- package/dist/calcite/p-71c116ea.entry.js +6 -0
- package/dist/calcite/{p-f0454ff1.js → p-78747227.js} +2 -2
- package/dist/calcite/{p-dffa4b0a.entry.js → p-7f1fd591.entry.js} +2 -2
- package/dist/calcite/{p-a4eb5631.js → p-7fdc9366.js} +2 -2
- package/dist/calcite/{p-dcf59d52.entry.js → p-832c4410.entry.js} +2 -2
- package/dist/calcite/{p-f0bbc245.js → p-840ef180.js} +1 -1
- package/dist/calcite/{p-198a7d55.js → p-858bd0a4.js} +1 -1
- package/dist/calcite/{p-58e96a1a.entry.js → p-86b09d28.entry.js} +2 -2
- package/dist/calcite/p-8b4828bf.entry.js +6 -0
- package/dist/calcite/{p-33088377.entry.js → p-8e0ef1b3.entry.js} +2 -2
- package/dist/calcite/{p-72e7b7a4.entry.js → p-920e852a.entry.js} +2 -2
- package/dist/calcite/{p-21410fff.entry.js → p-934f816f.entry.js} +2 -2
- package/dist/calcite/{p-4c0443e2.entry.js → p-9af094b6.entry.js} +2 -2
- package/dist/calcite/{p-913087ab.entry.js → p-a471f310.entry.js} +2 -2
- package/dist/calcite/{p-69840c6d.js → p-a7ae9132.js} +2 -2
- package/dist/calcite/{p-22bd55ca.js → p-ad959d58.js} +2 -2
- package/dist/calcite/{p-8ed3ae17.js → p-afbeb55b.js} +1 -1
- package/dist/calcite/{p-d3ebc9c4.js → p-b287688f.js} +2 -2
- package/dist/calcite/{p-84be75f4.entry.js → p-b68cc69c.entry.js} +2 -2
- package/dist/calcite/{p-edd3a715.entry.js → p-bb8d6ae1.entry.js} +2 -2
- package/dist/calcite/{p-0b98a470.entry.js → p-bcb3ce50.entry.js} +2 -2
- package/dist/calcite/{p-5e42938f.entry.js → p-be9515bf.entry.js} +2 -2
- package/dist/calcite/{p-db3efad1.js → p-c4d70078.js} +1 -1
- package/dist/calcite/{p-5984670c.entry.js → p-c7c21528.entry.js} +2 -2
- package/dist/calcite/{p-71e1037d.entry.js → p-ca292075.entry.js} +2 -2
- package/dist/calcite/{p-9c0603ed.js → p-cd8ecee9.js} +1 -1
- package/dist/calcite/{p-bdf6eeda.entry.js → p-ce69e34a.entry.js} +2 -2
- package/dist/calcite/{p-e3a28f90.entry.js → p-cfdb85e1.entry.js} +2 -2
- package/dist/calcite/{p-ec77737a.entry.js → p-cfe07c54.entry.js} +2 -2
- package/dist/calcite/{p-daa7ee0f.entry.js → p-d1037f88.entry.js} +2 -2
- package/dist/calcite/{p-8a6441e0.entry.js → p-d1b17bb5.entry.js} +2 -2
- package/dist/calcite/{p-4f1a0bed.js → p-d2710afb.js} +1 -1
- package/dist/calcite/p-d380eba6.entry.js +6 -0
- package/dist/calcite/{p-20a384f5.entry.js → p-da0576cd.entry.js} +2 -2
- package/dist/calcite/{p-e2c6054a.js → p-df67489d.js} +1 -1
- package/dist/calcite/{p-68d716fd.js → p-e1679158.js} +2 -2
- package/dist/calcite/{p-0bf912c2.js → p-e2ec1e1a.js} +2 -2
- package/dist/calcite/{p-a50e3ece.entry.js → p-e360d06a.entry.js} +2 -2
- package/dist/calcite/p-e5c75855.js +6 -0
- package/dist/calcite/{p-5c8487bb.entry.js → p-e7c928df.entry.js} +2 -2
- package/dist/calcite/{p-72772692.entry.js → p-e8ec86a1.entry.js} +2 -2
- package/dist/calcite/{p-c75f0b1e.js → p-ea711266.js} +2 -2
- package/dist/calcite/{p-cafac5b3.js → p-eac5f7f6.js} +2 -2
- package/dist/calcite/{p-6a629195.js → p-ec50f730.js} +1 -1
- package/dist/calcite/{p-1cb2d5b4.js → p-f0b757ec.js} +2 -2
- package/dist/calcite/{p-7dfe187f.js → p-f6a21cb0.js} +1 -1
- package/dist/calcite/p-f8ce2e30.entry.js +6 -0
- package/dist/calcite/{p-586c7163.entry.js → p-f96212e0.entry.js} +2 -2
- package/dist/calcite/{p-7f8f81d4.entry.js → p-f9c7f655.entry.js} +2 -2
- package/dist/calcite/{p-f463abfb.js → p-fc470c43.js} +1 -1
- package/dist/calcite/{p-0ae8a5d4.entry.js → p-ff0eaeeb.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-45756a68.js → ExpandToggle-b11abbd9.js} +5 -5
- package/dist/cjs/{Heading-6b74fdc4.js → Heading-a2244463.js} +2 -2
- package/dist/cjs/{app-globals-6c97e8a2.js → app-globals-a6438bdc.js} +2 -2
- package/dist/cjs/{array-b496dbca.js → array-b5981f4a.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -22
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +16 -21
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -18
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -17
- 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 +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -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 +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-50a96097.js → conditionalSlot-252bce24.js} +3 -3
- package/dist/cjs/{debounce-f24e2e2f.js → debounce-b22e207a.js} +1 -1
- package/dist/cjs/{dom-53afe91f.js → dom-c68ad2a4.js} +3 -3
- package/dist/cjs/{filter-0da1914f.js → filter-801db336.js} +2 -2
- package/dist/cjs/{floating-ui-e30dce0b.js → floating-ui-6265efd0.js} +4 -4
- package/dist/cjs/{focusTrapComponent-370096c6.js → focusTrapComponent-51dd9fca.js} +2 -2
- package/dist/cjs/{form-6130c77e.js → form-595876ec.js} +3 -3
- package/dist/cjs/{guid-9d815eba.js → guid-24d105f1.js} +1 -1
- package/dist/cjs/{index-d849f743.js → index-19128b9d.js} +5 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-013cee30.js → interactive-8cbf7541.js} +1 -1
- package/dist/cjs/{key-3ef28a50.js → key-0f5f08a7.js} +1 -1
- package/dist/cjs/{label-b113cdc7.js → label-c5a655ed.js} +2 -2
- package/dist/cjs/{loadable-ea8b063e.js → loadable-dbcb117c.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-f78f4a21.js → locale-5f1a707d.js} +4 -4
- package/dist/cjs/{math-2b139bd1.js → math-d06e42c1.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-90ba9262.js → nonChromiumPlatformUtils-2da953fd.js} +6 -6
- package/dist/cjs/{observers-acb48387.js → observers-c2a02313.js} +1 -1
- package/dist/cjs/{openCloseComponent-c6da7e66.js → openCloseComponent-54ebecf8.js} +2 -2
- package/dist/cjs/{resources-4037854b.js → resources-171e9399.js} +5 -5
- package/dist/cjs/{resources-0f7ff7d4.js → resources-1b15187f.js} +1 -1
- package/dist/cjs/{resources-04373cab.js → resources-21b569b2.js} +1 -1
- package/dist/cjs/{resources-9f1b6663.js → resources-6eedad0e.js} +1 -1
- package/dist/cjs/{resources-2af6490c.js → resources-a9dcc174.js} +1 -1
- package/dist/cjs/{resources-811c186c.js → resources-dfdb9ede.js} +1 -1
- package/dist/cjs/{sortable.esm-088fbcb3.js → sortable.esm-e1dd4fe4.js} +1 -1
- package/dist/cjs/{t9n-c5ff0399.js → t9n-3f65ba13.js} +3 -3
- package/dist/cjs/{utils-9566b8bd.js → utils-92616cc8.js} +1 -1
- package/dist/cjs/{utils-436492ba.js → utils-ef8ab369.js} +3 -3
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +7 -21
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +2 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +7 -21
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +4 -3
- 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 +2 -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 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +2 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +3 -3
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +3 -7
- 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 +3 -2
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +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 +3 -2
- 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 +1 -1
- 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/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +2 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.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/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +2 -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 +2 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/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 +2 -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/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/utils/array.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/nonChromiumPlatformUtils.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/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/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +3 -2
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.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 +5 -10
- 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 +5 -10
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +5 -4
- 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 +3 -2
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -8
- package/dist/components/calcite-input-date-picker.js +4 -3
- 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 +4 -3
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +3 -2
- 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 +3 -2
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- 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 +3 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +3 -2
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-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 +2 -2
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.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 +3 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +4 -3
- package/dist/components/filter.js +4 -4
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +2 -2
- package/dist/components/form.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/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.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/scrim.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +3 -2
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-0bb88d72.js → ExpandToggle-82b748f6.js} +5 -5
- package/dist/esm/{Heading-1a57f4fd.js → Heading-e9ed5b12.js} +2 -2
- package/dist/esm/{app-globals-954fbe00.js → app-globals-bbcedc96.js} +2 -2
- package/dist/esm/{array-ca991b39.js → array-551023d8.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +17 -22
- package/dist/esm/calcite-action-group.entry.js +13 -12
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +16 -21
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +16 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -12
- package/dist/esm/calcite-dropdown_3.entry.js +14 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +15 -14
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +14 -13
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -18
- package/dist/esm/calcite-input-date-picker.entry.js +18 -17
- 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 +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -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 +7 -7
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -9
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +15 -15
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-1712a58c.js → conditionalSlot-7fe42be0.js} +3 -3
- package/dist/esm/{debounce-4298a315.js → debounce-459c96e9.js} +1 -1
- package/dist/esm/{dom-285f7254.js → dom-a0a231ce.js} +3 -3
- package/dist/esm/{filter-0b175e02.js → filter-2cf5faa3.js} +2 -2
- package/dist/esm/{floating-ui-af754833.js → floating-ui-7a14abd2.js} +4 -4
- package/dist/esm/{focusTrapComponent-e98c4d67.js → focusTrapComponent-6cf8f6d6.js} +2 -2
- package/dist/esm/{form-a4fdb454.js → form-3b077c0a.js} +3 -3
- package/dist/esm/{guid-e4a64dcc.js → guid-7d58ed7a.js} +1 -1
- package/dist/esm/{index-030b26cd.js → index-03b1c5a5.js} +5 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-23c0ffb9.js → interactive-6bf2f97e.js} +1 -1
- package/dist/esm/{key-f99c6711.js → key-122cb653.js} +1 -1
- package/dist/esm/{label-231b23ff.js → label-afb59605.js} +2 -2
- package/dist/esm/{loadable-672fa2c5.js → loadable-a0feca58.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-3fd5ccfe.js → locale-5cdbf146.js} +4 -4
- package/dist/esm/{math-a20c9503.js → math-6624acb6.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-90a9b8f0.js → nonChromiumPlatformUtils-b1bc4bba.js} +6 -6
- package/dist/esm/{observers-33f3ce83.js → observers-04457c0e.js} +1 -1
- package/dist/esm/{openCloseComponent-fee0a561.js → openCloseComponent-09cb996b.js} +2 -2
- package/dist/esm/{resources-946fa0a5.js → resources-0ef92290.js} +1 -1
- package/dist/esm/{resources-3e7e475f.js → resources-3db92520.js} +1 -1
- package/dist/esm/{resources-5f7b4bda.js → resources-a3b234d4.js} +1 -1
- package/dist/esm/{resources-c02d2c2f.js → resources-dc543e1b.js} +5 -5
- package/dist/esm/{resources-54fdcb42.js → resources-dd8ebfcf.js} +1 -1
- package/dist/esm/{resources-59a7547d.js → resources-f3e7dd5a.js} +1 -1
- package/dist/esm/{sortable.esm-ed721727.js → sortable.esm-3766ea3f.js} +1 -1
- package/dist/esm/{t9n-d57055a9.js → t9n-fbd1b36b.js} +3 -3
- package/dist/esm/{utils-661a3129.js → utils-333fcf65.js} +1 -1
- package/dist/esm/{utils-27f32f99.js → utils-536d6ec3.js} +3 -3
- package/dist/extras/docs-json.json +5 -15
- 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-bar/action-bar.d.ts +1 -3
- package/dist/types/components/action-pad/action-pad.d.ts +1 -3
- package/dist/types/components.d.ts +2 -4
- package/hydrate/index.js +41 -42
- package/package.json +1 -1
- package/dist/calcite/p-039fa17a.entry.js +0 -6
- package/dist/calcite/p-19b960b8.entry.js +0 -6
- package/dist/calcite/p-4e8d4e58.entry.js +0 -6
- package/dist/calcite/p-5616d5b9.entry.js +0 -6
- package/dist/calcite/p-6fcfc44c.entry.js +0 -6
- package/dist/calcite/p-78ddc1aa.entry.js +0 -6
- package/dist/calcite/p-7f50fca0.entry.js +0 -6
- package/dist/calcite/p-84640f88.entry.js +0 -6
- package/dist/calcite/p-8f4bb839.entry.js +0 -6
- package/dist/calcite/p-abffa97f.entry.js +0 -6
- package/dist/calcite/p-cd4cc051.entry.js +0 -6
- package/dist/calcite/p-f778e1bd.js +0 -6
- package/dist/calcite/p-fc028034.js +0 -6
- package/dist/calcite/p-fd33542e.entry.js +0 -6
|
@@ -215,9 +215,8 @@ export namespace Components {
|
|
|
215
215
|
"scale": Scale;
|
|
216
216
|
/**
|
|
217
217
|
* Sets focus on the component.
|
|
218
|
-
* @param focusId
|
|
219
218
|
*/
|
|
220
|
-
"setFocus": (
|
|
219
|
+
"setFocus": () => Promise<void>;
|
|
221
220
|
}
|
|
222
221
|
interface CalciteActionGroup {
|
|
223
222
|
/**
|
|
@@ -314,9 +313,8 @@ export namespace Components {
|
|
|
314
313
|
"scale": Scale;
|
|
315
314
|
/**
|
|
316
315
|
* Sets focus on the component.
|
|
317
|
-
* @param focusId
|
|
318
316
|
*/
|
|
319
|
-
"setFocus": (
|
|
317
|
+
"setFocus": () => Promise<void>;
|
|
320
318
|
}
|
|
321
319
|
interface CalciteAlert {
|
|
322
320
|
/**
|
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.687
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -4948,7 +4948,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4948
4948
|
|
|
4949
4949
|
|
|
4950
4950
|
const NAMESPACE = 'calcite';
|
|
4951
|
-
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: false, scriptDataOpts: false, shadowDelegatesFocus:
|
|
4951
|
+
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4952
4952
|
|
|
4953
4953
|
const autoTheme = "calcite-theme-auto";
|
|
4954
4954
|
const darkTheme = "calcite-theme-dark";
|
|
@@ -8763,15 +8763,9 @@ class ActionBar {
|
|
|
8763
8763
|
}
|
|
8764
8764
|
/**
|
|
8765
8765
|
* Sets focus on the component.
|
|
8766
|
-
*
|
|
8767
|
-
* @param focusId
|
|
8768
8766
|
*/
|
|
8769
|
-
async setFocus(
|
|
8767
|
+
async setFocus() {
|
|
8770
8768
|
await componentLoaded(this);
|
|
8771
|
-
if (focusId === "expand-toggle") {
|
|
8772
|
-
await focusElement(this.expandToggleEl);
|
|
8773
|
-
return;
|
|
8774
|
-
}
|
|
8775
8769
|
this.el?.focus();
|
|
8776
8770
|
}
|
|
8777
8771
|
// --------------------------------------------------------------------------
|
|
@@ -8788,6 +8782,7 @@ class ActionBar {
|
|
|
8788
8782
|
render() {
|
|
8789
8783
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
8790
8784
|
}
|
|
8785
|
+
static get delegatesFocus() { return true; }
|
|
8791
8786
|
static get assetsDirs() { return ["assets"]; }
|
|
8792
8787
|
get el() { return getElement(this); }
|
|
8793
8788
|
static get watchers() { return {
|
|
@@ -8799,7 +8794,7 @@ class ActionBar {
|
|
|
8799
8794
|
}; }
|
|
8800
8795
|
static get style() { return actionBarCss; }
|
|
8801
8796
|
static get cmpMeta() { return {
|
|
8802
|
-
"$flags$":
|
|
8797
|
+
"$flags$": 25,
|
|
8803
8798
|
"$tagName$": "calcite-action-bar",
|
|
8804
8799
|
"$members$": {
|
|
8805
8800
|
"expandDisabled": [516, "expand-disabled"],
|
|
@@ -8894,6 +8889,7 @@ class ActionGroup {
|
|
|
8894
8889
|
render() {
|
|
8895
8890
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
8896
8891
|
}
|
|
8892
|
+
static get delegatesFocus() { return true; }
|
|
8897
8893
|
static get assetsDirs() { return ["assets"]; }
|
|
8898
8894
|
get el() { return getElement(this); }
|
|
8899
8895
|
static get watchers() { return {
|
|
@@ -8903,7 +8899,7 @@ class ActionGroup {
|
|
|
8903
8899
|
}; }
|
|
8904
8900
|
static get style() { return actionGroupCss; }
|
|
8905
8901
|
static get cmpMeta() { return {
|
|
8906
|
-
"$flags$":
|
|
8902
|
+
"$flags$": 25,
|
|
8907
8903
|
"$tagName$": "calcite-action-group",
|
|
8908
8904
|
"$members$": {
|
|
8909
8905
|
"expanded": [516],
|
|
@@ -9304,15 +9300,9 @@ class ActionPad {
|
|
|
9304
9300
|
// --------------------------------------------------------------------------
|
|
9305
9301
|
/**
|
|
9306
9302
|
* Sets focus on the component.
|
|
9307
|
-
*
|
|
9308
|
-
* @param focusId
|
|
9309
9303
|
*/
|
|
9310
|
-
async setFocus(
|
|
9304
|
+
async setFocus() {
|
|
9311
9305
|
await componentLoaded(this);
|
|
9312
|
-
if (focusId === "expand-toggle") {
|
|
9313
|
-
await focusElement(this.expandToggleEl);
|
|
9314
|
-
return;
|
|
9315
|
-
}
|
|
9316
9306
|
this.el?.focus();
|
|
9317
9307
|
}
|
|
9318
9308
|
// --------------------------------------------------------------------------
|
|
@@ -9329,6 +9319,7 @@ class ActionPad {
|
|
|
9329
9319
|
render() {
|
|
9330
9320
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$S.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
9331
9321
|
}
|
|
9322
|
+
static get delegatesFocus() { return true; }
|
|
9332
9323
|
static get assetsDirs() { return ["assets"]; }
|
|
9333
9324
|
get el() { return getElement(this); }
|
|
9334
9325
|
static get watchers() { return {
|
|
@@ -9338,7 +9329,7 @@ class ActionPad {
|
|
|
9338
9329
|
}; }
|
|
9339
9330
|
static get style() { return actionPadCss; }
|
|
9340
9331
|
static get cmpMeta() { return {
|
|
9341
|
-
"$flags$":
|
|
9332
|
+
"$flags$": 25,
|
|
9342
9333
|
"$tagName$": "calcite-action-pad",
|
|
9343
9334
|
"$members$": {
|
|
9344
9335
|
"expandDisabled": [516, "expand-disabled"],
|
|
@@ -13896,7 +13887,7 @@ class ColorPicker {
|
|
|
13896
13887
|
/** Sets focus on the component. */
|
|
13897
13888
|
async setFocus() {
|
|
13898
13889
|
await componentLoaded(this);
|
|
13899
|
-
|
|
13890
|
+
this.el.focus();
|
|
13900
13891
|
}
|
|
13901
13892
|
//--------------------------------------------------------------------------
|
|
13902
13893
|
//
|
|
@@ -14150,6 +14141,7 @@ class ColorPicker {
|
|
|
14150
14141
|
.array()
|
|
14151
14142
|
.map((value) => Math.floor(value));
|
|
14152
14143
|
}
|
|
14144
|
+
static get delegatesFocus() { return true; }
|
|
14153
14145
|
static get assetsDirs() { return ["assets"]; }
|
|
14154
14146
|
get el() { return getElement(this); }
|
|
14155
14147
|
static get watchers() { return {
|
|
@@ -14162,7 +14154,7 @@ class ColorPicker {
|
|
|
14162
14154
|
}; }
|
|
14163
14155
|
static get style() { return colorPickerCss; }
|
|
14164
14156
|
static get cmpMeta() { return {
|
|
14165
|
-
"$flags$":
|
|
14157
|
+
"$flags$": 25,
|
|
14166
14158
|
"$tagName$": "calcite-color-picker",
|
|
14167
14159
|
"$members$": {
|
|
14168
14160
|
"allowEmpty": [516, "allow-empty"],
|
|
@@ -17830,6 +17822,7 @@ class DatePicker {
|
|
|
17830
17822
|
getActiveEndDate(value, min, max) {
|
|
17831
17823
|
return (dateFromRange(this.activeEndDate, min, max) || value || dateFromRange(new Date(), min, max));
|
|
17832
17824
|
}
|
|
17825
|
+
static get delegatesFocus() { return true; }
|
|
17833
17826
|
static get assetsDirs() { return ["assets"]; }
|
|
17834
17827
|
get el() { return getElement(this); }
|
|
17835
17828
|
static get watchers() { return {
|
|
@@ -17845,7 +17838,7 @@ class DatePicker {
|
|
|
17845
17838
|
}; }
|
|
17846
17839
|
static get style() { return datePickerCss; }
|
|
17847
17840
|
static get cmpMeta() { return {
|
|
17848
|
-
"$flags$":
|
|
17841
|
+
"$flags$": 25,
|
|
17849
17842
|
"$tagName$": "calcite-date-picker",
|
|
17850
17843
|
"$members$": {
|
|
17851
17844
|
"activeDate": [1040],
|
|
@@ -18901,6 +18894,7 @@ class Dropdown {
|
|
|
18901
18894
|
: item;
|
|
18902
18895
|
focusElement(target);
|
|
18903
18896
|
}
|
|
18897
|
+
static get delegatesFocus() { return true; }
|
|
18904
18898
|
get el() { return getElement(this); }
|
|
18905
18899
|
static get watchers() { return {
|
|
18906
18900
|
"open": ["openHandler"],
|
|
@@ -18912,7 +18906,7 @@ class Dropdown {
|
|
|
18912
18906
|
}; }
|
|
18913
18907
|
static get style() { return dropdownCss; }
|
|
18914
18908
|
static get cmpMeta() { return {
|
|
18915
|
-
"$flags$":
|
|
18909
|
+
"$flags$": 25,
|
|
18916
18910
|
"$tagName$": "calcite-dropdown",
|
|
18917
18911
|
"$members$": {
|
|
18918
18912
|
"open": [1540],
|
|
@@ -18993,10 +18987,11 @@ class DropdownGroup {
|
|
|
18993
18987
|
getGroupPosition() {
|
|
18994
18988
|
return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"), this.el);
|
|
18995
18989
|
}
|
|
18990
|
+
static get delegatesFocus() { return true; }
|
|
18996
18991
|
get el() { return getElement(this); }
|
|
18997
18992
|
static get style() { return dropdownGroupCss; }
|
|
18998
18993
|
static get cmpMeta() { return {
|
|
18999
|
-
"$flags$":
|
|
18994
|
+
"$flags$": 25,
|
|
19000
18995
|
"$tagName$": "calcite-dropdown-group",
|
|
19001
18996
|
"$members$": {
|
|
19002
18997
|
"groupTitle": [513, "group-title"],
|
|
@@ -19382,7 +19377,7 @@ class Filter {
|
|
|
19382
19377
|
/** Sets focus on the component. */
|
|
19383
19378
|
async setFocus() {
|
|
19384
19379
|
await componentLoaded(this);
|
|
19385
|
-
|
|
19380
|
+
this.el?.focus();
|
|
19386
19381
|
}
|
|
19387
19382
|
updateFiltered(filtered, emit = false) {
|
|
19388
19383
|
this.filteredItems.length = 0;
|
|
@@ -19402,6 +19397,7 @@ class Filter {
|
|
|
19402
19397
|
this.textInput = el;
|
|
19403
19398
|
}, scale: scale, type: "text", value: this.value })))));
|
|
19404
19399
|
}
|
|
19400
|
+
static get delegatesFocus() { return true; }
|
|
19405
19401
|
static get assetsDirs() { return ["assets"]; }
|
|
19406
19402
|
get el() { return getElement(this); }
|
|
19407
19403
|
static get watchers() { return {
|
|
@@ -19412,7 +19408,7 @@ class Filter {
|
|
|
19412
19408
|
}; }
|
|
19413
19409
|
static get style() { return filterCss; }
|
|
19414
19410
|
static get cmpMeta() { return {
|
|
19415
|
-
"$flags$":
|
|
19411
|
+
"$flags$": 25,
|
|
19416
19412
|
"$tagName$": "calcite-filter",
|
|
19417
19413
|
"$members$": {
|
|
19418
19414
|
"items": [1040],
|
|
@@ -20370,12 +20366,7 @@ class InlineEditable {
|
|
|
20370
20366
|
//--------------------------------------------------------------------------
|
|
20371
20367
|
async setFocus() {
|
|
20372
20368
|
await componentLoaded(this);
|
|
20373
|
-
|
|
20374
|
-
this.inputElement?.setFocus();
|
|
20375
|
-
}
|
|
20376
|
-
else {
|
|
20377
|
-
this.enableEditingButton?.setFocus();
|
|
20378
|
-
}
|
|
20369
|
+
this.el?.focus();
|
|
20379
20370
|
}
|
|
20380
20371
|
//--------------------------------------------------------------------------
|
|
20381
20372
|
//
|
|
@@ -20404,6 +20395,7 @@ class InlineEditable {
|
|
|
20404
20395
|
get shouldShowControls() {
|
|
20405
20396
|
return this.editingEnabled && this.controls;
|
|
20406
20397
|
}
|
|
20398
|
+
static get delegatesFocus() { return true; }
|
|
20407
20399
|
static get assetsDirs() { return ["assets"]; }
|
|
20408
20400
|
get el() { return getElement(this); }
|
|
20409
20401
|
static get watchers() { return {
|
|
@@ -20414,7 +20406,7 @@ class InlineEditable {
|
|
|
20414
20406
|
}; }
|
|
20415
20407
|
static get style() { return inlineEditableCss; }
|
|
20416
20408
|
static get cmpMeta() { return {
|
|
20417
|
-
"$flags$":
|
|
20409
|
+
"$flags$": 25,
|
|
20418
20410
|
"$tagName$": "calcite-inline-editable",
|
|
20419
20411
|
"$members$": {
|
|
20420
20412
|
"disabled": [516],
|
|
@@ -21425,7 +21417,7 @@ class InputDatePicker {
|
|
|
21425
21417
|
/** Sets focus on the component. */
|
|
21426
21418
|
async setFocus() {
|
|
21427
21419
|
await componentLoaded(this);
|
|
21428
|
-
this.
|
|
21420
|
+
this.el.focus();
|
|
21429
21421
|
}
|
|
21430
21422
|
/**
|
|
21431
21423
|
* Updates the position of the component.
|
|
@@ -21639,6 +21631,7 @@ class InputDatePicker {
|
|
|
21639
21631
|
warnAboutInvalidValue(value) {
|
|
21640
21632
|
console.warn(`The specified value "${value}" does not conform to the required format, "yyyy-MM-dd".`);
|
|
21641
21633
|
}
|
|
21634
|
+
static get delegatesFocus() { return true; }
|
|
21642
21635
|
get el() { return getElement(this); }
|
|
21643
21636
|
static get watchers() { return {
|
|
21644
21637
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
@@ -21658,7 +21651,7 @@ class InputDatePicker {
|
|
|
21658
21651
|
}; }
|
|
21659
21652
|
static get style() { return inputDatePickerCss; }
|
|
21660
21653
|
static get cmpMeta() { return {
|
|
21661
|
-
"$flags$":
|
|
21654
|
+
"$flags$": 25,
|
|
21662
21655
|
"$tagName$": "calcite-input-date-picker",
|
|
21663
21656
|
"$members$": {
|
|
21664
21657
|
"disabled": [516],
|
|
@@ -23070,7 +23063,7 @@ class InputTimePicker {
|
|
|
23070
23063
|
/** Sets focus on the component. */
|
|
23071
23064
|
async setFocus() {
|
|
23072
23065
|
await componentLoaded(this);
|
|
23073
|
-
this.
|
|
23066
|
+
this.el.focus();
|
|
23074
23067
|
}
|
|
23075
23068
|
/**
|
|
23076
23069
|
* Updates the position of the component.
|
|
@@ -23123,6 +23116,7 @@ class InputTimePicker {
|
|
|
23123
23116
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
23124
23117
|
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { focusTrapDisabled: true, id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messagesOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
23125
23118
|
}
|
|
23119
|
+
static get delegatesFocus() { return true; }
|
|
23126
23120
|
get el() { return getElement(this); }
|
|
23127
23121
|
static get watchers() { return {
|
|
23128
23122
|
"open": ["openHandler"],
|
|
@@ -23134,7 +23128,7 @@ class InputTimePicker {
|
|
|
23134
23128
|
}; }
|
|
23135
23129
|
static get style() { return inputTimePickerCss; }
|
|
23136
23130
|
static get cmpMeta() { return {
|
|
23137
|
-
"$flags$":
|
|
23131
|
+
"$flags$": 25,
|
|
23138
23132
|
"$tagName$": "calcite-input-time-picker",
|
|
23139
23133
|
"$members$": {
|
|
23140
23134
|
"open": [1540],
|
|
@@ -26127,6 +26121,7 @@ class Pagination {
|
|
|
26127
26121
|
[CSS$l.disabled]: nextDisabled
|
|
26128
26122
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
26129
26123
|
}
|
|
26124
|
+
static get delegatesFocus() { return true; }
|
|
26130
26125
|
static get assetsDirs() { return ["assets"]; }
|
|
26131
26126
|
get el() { return getElement(this); }
|
|
26132
26127
|
static get watchers() { return {
|
|
@@ -26135,7 +26130,7 @@ class Pagination {
|
|
|
26135
26130
|
}; }
|
|
26136
26131
|
static get style() { return paginationCss; }
|
|
26137
26132
|
static get cmpMeta() { return {
|
|
26138
|
-
"$flags$":
|
|
26133
|
+
"$flags$": 25,
|
|
26139
26134
|
"$tagName$": "calcite-pagination",
|
|
26140
26135
|
"$members$": {
|
|
26141
26136
|
"groupSeparator": [516, "group-separator"],
|
|
@@ -28042,6 +28037,7 @@ class RadioButtonGroup {
|
|
|
28042
28037
|
render() {
|
|
28043
28038
|
return (hAsync(Host, { role: "radiogroup" }, hAsync("slot", null)));
|
|
28044
28039
|
}
|
|
28040
|
+
static get delegatesFocus() { return true; }
|
|
28045
28041
|
get el() { return getElement(this); }
|
|
28046
28042
|
static get watchers() { return {
|
|
28047
28043
|
"disabled": ["onDisabledChange"],
|
|
@@ -28051,7 +28047,7 @@ class RadioButtonGroup {
|
|
|
28051
28047
|
}; }
|
|
28052
28048
|
static get style() { return radioButtonGroupCss; }
|
|
28053
28049
|
static get cmpMeta() { return {
|
|
28054
|
-
"$flags$":
|
|
28050
|
+
"$flags$": 25,
|
|
28055
28051
|
"$tagName$": "calcite-radio-button-group",
|
|
28056
28052
|
"$members$": {
|
|
28057
28053
|
"disabled": [516],
|
|
@@ -29958,6 +29954,7 @@ class Slider {
|
|
|
29958
29954
|
const handleBounds = handle.getBoundingClientRect();
|
|
29959
29955
|
return intersects(maxLabelBounds, handleBounds);
|
|
29960
29956
|
}
|
|
29957
|
+
static get delegatesFocus() { return true; }
|
|
29961
29958
|
get el() { return getElement(this); }
|
|
29962
29959
|
static get watchers() { return {
|
|
29963
29960
|
"histogram": ["histogramWatcher"],
|
|
@@ -29967,7 +29964,7 @@ class Slider {
|
|
|
29967
29964
|
}; }
|
|
29968
29965
|
static get style() { return sliderCss; }
|
|
29969
29966
|
static get cmpMeta() { return {
|
|
29970
|
-
"$flags$":
|
|
29967
|
+
"$flags$": 25,
|
|
29971
29968
|
"$tagName$": "calcite-slider",
|
|
29972
29969
|
"$members$": {
|
|
29973
29970
|
"disabled": [516],
|
|
@@ -33259,6 +33256,7 @@ class SplitButton {
|
|
|
33259
33256
|
? "ellipsis"
|
|
33260
33257
|
: "handle-vertical";
|
|
33261
33258
|
}
|
|
33259
|
+
static get delegatesFocus() { return true; }
|
|
33262
33260
|
get el() { return getElement(this); }
|
|
33263
33261
|
static get watchers() { return {
|
|
33264
33262
|
"disabled": ["handleDisabledChange"],
|
|
@@ -33266,7 +33264,7 @@ class SplitButton {
|
|
|
33266
33264
|
}; }
|
|
33267
33265
|
static get style() { return splitButtonCss; }
|
|
33268
33266
|
static get cmpMeta() { return {
|
|
33269
|
-
"$flags$":
|
|
33267
|
+
"$flags$": 25,
|
|
33270
33268
|
"$tagName$": "calcite-split-button",
|
|
33271
33269
|
"$members$": {
|
|
33272
33270
|
"appearance": [513],
|
|
@@ -35446,6 +35444,7 @@ class TimePicker {
|
|
|
35446
35444
|
[CSS$5.buttonBottomRight]: true
|
|
35447
35445
|
}, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
|
|
35448
35446
|
}
|
|
35447
|
+
static get delegatesFocus() { return true; }
|
|
35449
35448
|
static get assetsDirs() { return ["assets"]; }
|
|
35450
35449
|
get el() { return getElement(this); }
|
|
35451
35450
|
static get watchers() { return {
|
|
@@ -35455,7 +35454,7 @@ class TimePicker {
|
|
|
35455
35454
|
}; }
|
|
35456
35455
|
static get style() { return timePickerCss; }
|
|
35457
35456
|
static get cmpMeta() { return {
|
|
35458
|
-
"$flags$":
|
|
35457
|
+
"$flags$": 25,
|
|
35459
35458
|
"$tagName$": "calcite-time-picker",
|
|
35460
35459
|
"$members$": {
|
|
35461
35460
|
"scale": [513],
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.686
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as e,F as a,g as s}from"./p-b6fcce91.js";import{n,c as o,d as c}from"./p-1cb2d5b4.js";import{u as r,c as l,s as h,d as p}from"./p-61e195c0.js";import"./p-f0bbc245.js";import"./p-198a7d55.js";import"./p-cafac5b3.js";import"./p-db3efad1.js";import"./p-4f1a0bed.js";const d=class{constructor(e){i(this,e),this.calcitePaginationChange=t(this,"calcitePaginationChange",6),this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()},this.groupSeparator=!1,this.messageOverrides=void 0,this.num=20,this.numberingSystem=void 0,this.start=1,this.total=0,this.scale="m",this.defaultMessages=void 0,this.effectiveLocale="",this.messages=void 0}onMessagesChange(){}effectiveLocaleChange(){r(this,this.effectiveLocale)}effectiveLocaleWatcher(){n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}connectedCallback(){o(this),l(this)}async componentWillLoad(){await h(this)}disconnectedCallback(){c(this),p(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:i,num:t}=this;return 1+(i%t==0?i-t:Math.floor(i/t)*t)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){this.calcitePaginationChange.emit()}renderPages(){const i=this.getLastStart();let t,e;this.total/this.num<=5?(e=1+this.num,t=i-this.num):this.start/this.num<4?(e=1+this.num,t=1+4*this.num):this.start+3*this.num>=this.total?(e=i-4*this.num,t=i-this.num):(e=this.start-this.num,t=this.start+this.num);const a=[];for(;e<=t;)a.push(e),e+=this.num;return a.map((i=>this.renderPage(i)))}renderPage(i){const t=Math.floor(i/this.num)+(1===this.num?0:1);n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=n.localize(t.toString());return e("button",{class:{page:!0,"is-selected":i===this.start},onClick:()=>{this.start=i,this.emitUpdate()}},a)}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return e("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return e("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:i,num:t,start:s}=this,n=1===t?s<=t:s<t,o=s+t>i;return e(a,null,e("button",{"aria-label":this.messages.previous,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),i>t?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),e("button",{"aria-label":this.messages.next,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"]}}};d.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:flex;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:flex;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{d as calcite_pagination}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.686
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as a,F as e,g as n}from"./p-b6fcce91.js";import{f as s}from"./p-cafac5b3.js";import{u as c}from"./p-f463abfb.js";import{f as o}from"./p-e98fc94d.js";import{c as r,d as l}from"./p-1cb2d5b4.js";import{u as d,s as m,c as h,d as p}from"./p-61e195c0.js";import{s as f,a as u,c as b}from"./p-ede72305.js";import{d as g}from"./p-7dfe187f.js";import"./p-db3efad1.js";import"./p-4f1a0bed.js";import"./p-f0bbc245.js";import"./p-198a7d55.js";const v=class{constructor(a){i(this,a),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.filter=g(((i,t=!1)=>this.updateFiltered(o(this.items,i),t)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filter(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filter(this.value)}onMessagesChange(){}valueHandler(i){this.filter(i)}effectiveLocaleChange(){d(this,this.effectiveLocale)}async componentWillLoad(){f(this),this.updateFiltered(o(this.items,this.value)),this.filter(this.value),await m(this)}connectedCallback(){r(this),h(this)}componentDidRender(){c(this)}disconnectedCallback(){l(this),p(this)}componentDidLoad(){u(this)}async setFocus(){await b(this),s(this.textInput)}updateFiltered(i,t=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(i),t&&this.calciteFilterChange.emit()}render(){const{disabled:i,scale:t}=this;return a(e,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.messages.label,clearable:!0,disabled:i,icon:"search",messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:i=>{this.textInput=i},scale:t,type:"text",value:this.value}))))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{v as calcite_filter}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.686
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as e,H as n,g as a}from"./p-b6fcce91.js";import{t as o,i as r,f as s,h as c}from"./p-cafac5b3.js";import{f as l,c as d,d as h,u as m,a as p,F as u,r as f}from"./p-69840c6d.js";import{c as g}from"./p-198a7d55.js";import{u as w}from"./p-f463abfb.js";import{c as v,d as b}from"./p-7824938d.js";import{g as y}from"./p-4f1a0bed.js";import{i as k}from"./p-f0bbc245.js";import{c as x,s as D,a as z}from"./p-ede72305.js";import"./p-db3efad1.js";import"./p-7dfe187f.js";const _=class{constructor(e){i(this,e),this.calciteDropdownSelect=t(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=t(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=t(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=t(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=t(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=g("mutation",(()=>this.updateItems())),this.resizeObserver=g("resize",(i=>this.resizeObserverCallback(i))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${y()}`,this.defaultAssignedElements=[],this.slotChangeHandler=i=>{this.defaultAssignedElements=i.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?l(t,i):null},this.updateTriggers=i=>{this.triggers=i.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((i=>Array.from(i?.querySelectorAll("calcite-dropdown-item")))).reduce(((i,t)=>[...i,...t]),[]),this.updateSelectedItems(),this.reposition(!0)},this.updateGroups=i=>{const t=i.target.assignedElements({flatten:!0}).filter((i=>i?.matches("calcite-dropdown-group")));this.groups=t,this.updateItems()},this.resizeObserverCallback=i=>{i.forEach((i=>{const{target:t}=i;t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:i,scrollerEl:t}=this,e=i?.clientWidth;e&&t&&(t.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:i}=this;if(!i)return;this.reposition(!0);const t=this.getMaxScrollerHeight();i.style.maxHeight=t>0?`${t}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=i=>{this.resizeObserver.observe(i),this.scrollerEl=i,this.transitionEl=i,v(this)},this.setReferenceEl=i=>{this.referenceEl=i,d(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(i)},this.setFloatingEl=i=>{this.floatingEl=i,d(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=i=>{if(i.target!==this.referenceEl)return;const{defaultPrevented:t,key:e}=i;if(!t){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void i.preventDefault();if(i.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void i.preventDefault()}k(e)?(this.openCalciteDropdown(),i.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),i.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((i=>i.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=h,this.scale="m",this.selectedItems=[],this.type="click",this.width=void 0}openHandler(i){this.disabled?(i||m(this.floatingEl),this.open=!1):i?this.reposition(!0):m(this.floatingEl)}handleDisabledChange(i){i||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&this.openHandler(this.open),v(this)}componentDidLoad(){this.reposition(!0)}componentDidRender(){w(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),p(this,this.referenceEl,this.floatingEl),this.resizeObserver?.disconnect(),b(this)}render(){const{open:i,guid:t}=this;return e(n,null,e("div",{class:"calcite-trigger-container",id:`${t}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},e("slot",{"aria-controls":`${t}-menu`,"aria-expanded":o(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),e("div",{"aria-hidden":o(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},e("div",{"aria-labelledby":`${t}-menubutton`,class:{"calcite-dropdown-content":!0,[u.animation]:!0,[u.animationActive]:i},id:`${t}-menu`,ref:this.setScrollerAndTransitionEl,role:"menu"},e("slot",{onSlotchange:this.updateGroups}))))}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:n,overlayPositioning:a,filteredFlipPlacements:o}=this;return f(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:n,flipPlacements:o,type:"menu"},i)}closeCalciteDropdownOnClick(i){r(i)&&this.open&&!i.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(i){this.closeCalciteDropdown(),i.stopPropagation()}closeCalciteDropdownOnOpenEvent(i){i.composedPath().includes(this.el)||(this.open=!1)}mouseEnterHandler(){"hover"===this.type&&this.openCalciteDropdown()}mouseLeaveHandler(){"hover"===this.type&&this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(i){const{keyboardEvent:t}=i.detail,e=t.target,n="A"!==e.nodeName?e:e.parentNode,a=0===this.itemIndex(n),o=this.itemIndex(n)===this.items.length-1;switch(t.key){case"Tab":o&&!t.shiftKey||a&&t.shiftKey?this.closeCalciteDropdown():t.shiftKey?this.focusPrevItem(n):this.focusNextItem(n);break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}i.stopPropagation()}handleItemSelect(i){this.updateSelectedItems(),i.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==i.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),i.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((i=>i.selected))}getMaxScrollerHeight(){const{maxItems:i,items:t}=this;let e,n=0,a=0;return this.groups.forEach((t=>{i>0&&n<i&&Array.from(t.children).forEach(((t,o)=>{0===o&&(isNaN(e)&&(e=t.offsetTop),a+=e),n<i&&(a+=t.offsetHeight,n+=1)}))})),t.length>i?a:0}closeCalciteDropdown(i=!0){this.open=!1,i&&s(this.triggers[0])}focusFirstItem(){this.getFocusableElement(this.items[0])}focusLastItem(){this.getFocusableElement(this.items[this.items.length-1])}focusNextItem(i){const t=this.itemIndex(i);this.getFocusableElement(this.items[t+1]||this.items[0])}focusPrevItem(i){const t=this.itemIndex(i);this.getFocusableElement(this.items[t-1]||this.items[this.items.length-1])}itemIndex(i){return this.items.indexOf(i)}getFocusableElement(i){if(!i)return;const t=i.attributes.isLink?i.shadowRoot.querySelector("a"):i;s(t)}get el(){return a(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}}};_.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:600;display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;flex:1 1 auto}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";const I=class{constructor(e){i(this,e),this.calciteInternalDropdownItemChange=t(this,"calciteInternalDropdownItemChange",6),this.groupTitle=void 0,this.selectionMode="single",this.scale=void 0}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const i=this.scale||c(this.el,"scale","m"),t=this.groupTitle?e("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,a=this.groupPosition>0?e("div",{class:"dropdown-separator",role:"separator"}):null;return e(n,{"aria-label":this.groupTitle,role:"group"},e("div",{class:{container:!0,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i},title:this.groupTitle},a,t,e("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}get el(){return a(this)}};I.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";const E=class{constructor(e){i(this,e),this.calciteDropdownItemSelect=t(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=t(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=t(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=t(this,"calciteInternalDropdownCloseRequest",6),this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0}async setFocus(){await x(this),this.el?.focus()}componentWillLoad(){D(this),this.initialize()}componentDidLoad(){z(this)}connectedCallback(){this.initialize()}render(){const i=c(this.el,"scale","m"),t=e("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),a=e("span",{class:"dropdown-item-content"},e("slot",null)),r=e("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),s=this.iconStart&&this.iconEnd?[t,a,r]:this.iconStart?[t,e("slot",null)]:this.iconEnd?[a,r]:a,l=this.href?e("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:i=>this.childLink=i,rel:this.rel,target:this.target},s):s,d=this.href?null:"single"===this.selectionMode?"menuitemradio":"multiple"===this.selectionMode||"multi"===this.selectionMode?"menuitemcheckbox":"menuitem",h="none"!==this.selectionMode?o(this.selected):null;return e(n,{"aria-checked":h,role:d,tabindex:"0"},e("div",{class:{container:!0,"container--link":!!this.href,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i,"container--multi-selection":"multiple"===this.selectionMode||"multi"===this.selectionMode,"container--single-selection":"single"===this.selectionMode,"container--none-selection":"none"===this.selectionMode}},"none"!==this.selectionMode?e("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===this.selectionMode||"multi"===this.selectionMode?"check":"bullet-point",scale:"s"}):null,l))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.selectionMode=c(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multi":case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return a(this)}};E.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}";export{_ as calcite_dropdown,I as calcite_dropdown_group,E as calcite_dropdown_item}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.686
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,g as e}from"./p-b6fcce91.js";import{u as o}from"./p-f463abfb.js";const n=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.color="blue",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.loading=!1,this.overlayPositioning="absolute",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}componentDidRender(){o(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};n.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:flex;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host:host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host:host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container,:host([appearance=minimal]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container,:host([appearance=minimal]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container,:host([appearance=minimal]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]),:host([appearance=minimal]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]),:host([appearance=minimal]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container,:host([appearance=minimal]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{n as calcite_split_button}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.686
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,g as n}from"./p-b6fcce91.js";import{S as e}from"./p-9c0603ed.js";import{c as s}from"./p-198a7d55.js";import{u as c}from"./p-f463abfb.js";const o=class{constructor(a){t(this,a),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=s("mutation",(()=>{this.cleanUpDragAndDrop(),this.items=Array.from(this.el.children),this.setUpDragAndDrop()})),this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1,this.handleActivated=!1}connectedCallback(){this.items=Array.from(this.el.children),this.setUpDragAndDrop(),this.beginObserving()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.cleanUpDragAndDrop()}componentDidRender(){c(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}handleNudgeEvent(t){const{direction:i}=t.detail,a=t.target,n=this.items.find((i=>i.contains(a)||t.composedPath().includes(i))),e=this.items.length-1,s=this.items.indexOf(n);let c,o=!1;"up"===i?0===s?o=!0:c=s-1:s===e?c=0:s===e-1?o=!0:c=s+2,this.mutationObserver?.disconnect(),o?n.parentElement.appendChild(n):n.parentElement.insertBefore(n,this.items[c]),this.items=Array.from(this.el.children),a.activated=!0,a.setFocus(),this.beginObserving()}setUpDragAndDrop(){this.cleanUpDragAndDrop();const t={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()},onStart:()=>{this.mutationObserver?.disconnect()},onEnd:()=>{this.beginObserving()}};this.dragSelector&&(t.draggable=this.dragSelector),this.sortable=e.create(this.el,t)}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}render(){const{layout:t}=this,i="horizontal"===t||!1;return a("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},a("slot",null))}get el(){return n(this)}};o.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{o as calcite_sortable_list}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.686
|
|
5
|
-
*/
|
|
6
|
-
import{r as a,c as t,h as i,H as o,g as e}from"./p-b6fcce91.js";import{t as n,E as r}from"./p-c75f0b1e.js";import{f as c,g as s}from"./p-cafac5b3.js";import{c as l,d}from"./p-f778e1bd.js";import{c as p,d as m}from"./p-1cb2d5b4.js";import{u as h,c as u,d as f,s as x}from"./p-61e195c0.js";import{s as g,a as b,c as w}from"./p-ede72305.js";import"./p-e2c6054a.js";import"./p-6a629195.js";import"./p-db3efad1.js";import"./p-4f1a0bed.js";import"./p-198a7d55.js";import"./p-f0bbc245.js";const v=class{constructor(i){a(this,i),this.calciteActionPadToggle=t(this,"calciteActionPadToggle",6),this.actionMenuOpenHandler=a=>{if(a.target.menuOpen){const t=a.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((a=>{t.includes(a)||(a.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=a=>{this.expandToggleEl=a},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(a){n({parent:this.el,expanded:a})}onMessagesChange(){}effectiveLocaleChange(){h(this,this.effectiveLocale)}connectedCallback(){l(this),p(this),u(this)}disconnectedCallback(){m(this),f(this),d(this)}async componentWillLoad(){g(this);const{el:a,expanded:t}=this;n({parent:a,expanded:t}),await x(this)}componentDidLoad(){b(this)}async setFocus(a){await w(this),"expand-toggle"!==a?this.el?.focus():await c(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:a,expandDisabled:t,messages:o,el:e,position:n,toggleExpand:c,scale:l,layout:d}=this,p=s(e,"expand-tooltip"),m=t?null:i(r,{el:e,expanded:a,intlCollapse:o.collapse,intlExpand:o.expand,position:n,ref:this.setExpandToggleRef,scale:l,toggle:c,tooltip:p});return m?i("calcite-action-group",{class:"action-group--bottom",layout:d,scale:l},i("slot",{name:"expand-tooltip"}),m):null}render(){return i(o,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",null),this.renderBottomActionGroup()))}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{v as calcite_action_pad}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.686
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as o}from"./p-b6fcce91.js";import{t as n,o as s,q as r,g as c,a as l,E as d,b as h}from"./p-c75f0b1e.js";import{f as p,g as m}from"./p-cafac5b3.js";import{c as f}from"./p-198a7d55.js";import{c as u,d as g}from"./p-f778e1bd.js";import{c as b,d as x}from"./p-1cb2d5b4.js";import{u as v,c as y,s as w,d as j}from"./p-61e195c0.js";import{a as D,s as k,c as z}from"./p-ede72305.js";import{d as C}from"./p-7dfe187f.js";import"./p-e2c6054a.js";import"./p-6a629195.js";import"./p-db3efad1.js";import"./p-4f1a0bed.js";import"./p-f0bbc245.js";const _=class{constructor(a){t(this,a),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=f("mutation",(()=>{const{el:t,expanded:i}=this;n({parent:t,expanded:i}),this.conditionallyOverflowActions()})),this.resizeObserver=f("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:a}=t.contentRect;this.resize({width:i,height:a})},this.resize=C((({width:t,height:i})=>{const{el:a,expanded:e,expandDisabled:o,layout:n}=this;if("vertical"===n&&!i||"horizontal"===n&&!t)return;const s=r(a),d=o?s.length:s.length+1,p=Array.from(a.querySelectorAll("calcite-action-group")),f=m(a,"bottom-actions")||!o?p.length+1:p.length,{actionHeight:u,actionWidth:g}=c(s),b=h({layout:n,actionCount:d,actionHeight:u,actionWidth:g,height:i,width:t,groupCount:f});l({actionGroups:p,expanded:e,overflowCount:b})}),s),this.conditionallyOverflowActions=()=>{this.overflowActionsDisabled||this.overflowActions()},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}expandHandler(){this.conditionallyOverflowActions()}expandedHandler(t){n({parent:this.el,expanded:t}),this.conditionallyOverflowActions()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}onMessagesChange(){}effectiveLocaleChange(){v(this,this.effectiveLocale)}componentDidLoad(){D(this),this.conditionallyOverflowActions()}connectedCallback(){const{el:t,expanded:i}=this;b(this),y(this),n({parent:t,expanded:i}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.conditionallyOverflowActions(),u(this)}async componentWillLoad(){k(this),await w(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),g(this),x(this),j(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){await z(this),"expand-toggle"!==t?this.el?.focus():await p(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,el:e,position:o,toggleExpand:n,scale:s,layout:r,messages:c}=this,l=m(e,"expand-tooltip"),h=i?null:a(d,{el:e,expanded:t,intlCollapse:c.collapse,intlExpand:c.expand,position:o,ref:this.setExpandToggleRef,scale:s,toggle:n,tooltip:l});return m(e,"bottom-actions")||h?a("calcite-action-group",{class:"action-group--bottom",layout:r,scale:s},a("slot",{name:"bottom-actions"}),a("slot",{name:"expand-tooltip"}),h):null}render(){return a(e,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},a("slot",null),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};_.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{pointer-events:auto;display:inline-flex;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px;padding-inline-end:0px}";export{_ as calcite_action_bar}
|