{"version":3,"file":"element-plus-b266cad7.js","sources":["../../../node_modules/element-plus/es/utils/dom/aria.mjs","../../../node_modules/element-plus/es/utils/dom/event.mjs","../../../node_modules/element-plus/es/utils/types.mjs","../../../node_modules/element-plus/es/utils/strings.mjs","../../../node_modules/element-plus/es/utils/objects.mjs","../../../node_modules/element-plus/es/utils/error.mjs","../../../node_modules/element-plus/es/utils/dom/style.mjs","../../../node_modules/element-plus/es/utils/dom/scroll.mjs","../../../node_modules/element-plus/es/utils/vue/props/runtime.mjs","../../../node_modules/element-plus/es/utils/vue/icon.mjs","../../../node_modules/element-plus/es/utils/vue/install.mjs","../../../node_modules/element-plus/es/constants/aria.mjs","../../../node_modules/element-plus/es/constants/event.mjs","../../../node_modules/element-plus/es/constants/size.mjs","../../../node_modules/element-plus/es/utils/vue/validator.mjs","../../../node_modules/element-plus/es/utils/vue/vnode.mjs","../../../node_modules/element-plus/es/utils/arrays.mjs","../../../node_modules/element-plus/es/utils/i18n.mjs","../../../node_modules/element-plus/es/utils/rand.mjs","../../../node_modules/element-plus/es/hooks/use-attrs/index.mjs","../../../node_modules/element-plus/es/hooks/use-deprecated/index.mjs","../../../node_modules/element-plus/es/hooks/use-draggable/index.mjs","../../../node_modules/element-plus/es/locale/lang/en.mjs","../../../node_modules/element-plus/es/hooks/use-locale/index.mjs","../../../node_modules/element-plus/es/hooks/use-namespace/index.mjs","../../../node_modules/element-plus/es/hooks/use-lockscreen/index.mjs","../../../node_modules/element-plus/es/hooks/use-model-toggle/index.mjs","../../../node_modules/element-plus/es/hooks/use-prop/index.mjs","../../../node_modules/element-plus/es/hooks/use-popper/index.mjs","../../../node_modules/element-plus/es/hooks/use-same-target/index.mjs","../../../node_modules/element-plus/es/hooks/use-timeout/index.mjs","../../../node_modules/element-plus/es/hooks/use-id/index.mjs","../../../node_modules/element-plus/es/hooks/use-escape-keydown/index.mjs","../../../node_modules/element-plus/es/hooks/use-popper-container/index.mjs","../../../node_modules/element-plus/es/hooks/use-delayed-toggle/index.mjs","../../../node_modules/element-plus/es/hooks/use-forward-ref/index.mjs","../../../node_modules/element-plus/es/hooks/use-z-index/index.mjs","../../../node_modules/element-plus/es/hooks/use-ordered-children/index.mjs","../../../node_modules/element-plus/es/hooks/use-size/index.mjs","../../../node_modules/element-plus/es/components/config-provider/src/constants.mjs","../../../node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs","../../../node_modules/element-plus/es/components/config-provider/src/config-provider-props.mjs","../../../node_modules/element-plus/es/components/config-provider/src/config-provider.mjs","../../../node_modules/element-plus/es/components/config-provider/index.mjs","../../../node_modules/element-plus/es/_virtual/plugin-vue_export-helper.mjs","../../../node_modules/element-plus/es/components/icon/src/icon.mjs","../../../node_modules/element-plus/es/components/icon/src/icon2.mjs","../../../node_modules/element-plus/es/components/icon/index.mjs","../../../node_modules/element-plus/es/components/form/src/constants.mjs","../../../node_modules/element-plus/es/components/form/src/hooks/use-form-common-props.mjs","../../../node_modules/element-plus/es/components/form/src/hooks/use-form-item.mjs","../../../node_modules/element-plus/es/components/form/src/form.mjs","../../../node_modules/element-plus/es/components/form/src/utils.mjs","../../../node_modules/element-plus/es/components/form/src/form2.mjs","../../../node_modules/element-plus/es/components/form/src/form-item.mjs","../../../node_modules/element-plus/es/components/form/src/form-label-wrap.mjs","../../../node_modules/element-plus/es/components/form/src/form-item2.mjs","../../../node_modules/element-plus/es/components/form/index.mjs","../../../node_modules/element-plus/es/components/input/src/utils.mjs","../../../node_modules/element-plus/es/utils/browser.mjs","../../../node_modules/element-plus/es/components/input/src/input.mjs","../../../node_modules/element-plus/es/components/input/src/input2.mjs","../../../node_modules/element-plus/es/components/input/index.mjs","../../../node_modules/element-plus/es/hooks/use-focus-controller/index.mjs","../../../node_modules/element-plus/es/hooks/use-cursor/index.mjs","../../../node_modules/element-plus/es/components/scrollbar/src/util.mjs","../../../node_modules/element-plus/es/components/scrollbar/src/constants.mjs","../../../node_modules/element-plus/es/components/scrollbar/src/thumb.mjs","../../../node_modules/element-plus/es/components/scrollbar/src/thumb2.mjs","../../../node_modules/element-plus/es/components/scrollbar/src/bar.mjs","../../../node_modules/element-plus/es/components/scrollbar/src/bar2.mjs","../../../node_modules/element-plus/es/components/scrollbar/src/scrollbar.mjs","../../../node_modules/element-plus/es/components/scrollbar/src/scrollbar2.mjs","../../../node_modules/element-plus/es/components/scrollbar/index.mjs","../../../node_modules/element-plus/es/components/popper/src/constants.mjs","../../../node_modules/element-plus/es/components/popper/src/popper.mjs","../../../node_modules/element-plus/es/components/popper/src/popper2.mjs","../../../node_modules/element-plus/es/components/popper/src/arrow.mjs","../../../node_modules/element-plus/es/components/popper/src/arrow2.mjs","../../../node_modules/element-plus/es/components/slot/src/only-child.mjs","../../../node_modules/element-plus/es/components/popper/src/trigger.mjs","../../../node_modules/element-plus/es/components/popper/src/trigger2.mjs","../../../node_modules/element-plus/es/components/focus-trap/src/tokens.mjs","../../../node_modules/element-plus/es/components/focus-trap/src/utils.mjs","../../../node_modules/element-plus/es/components/focus-trap/src/focus-trap.mjs","../../../node_modules/element-plus/es/components/popper/src/content.mjs","../../../node_modules/element-plus/es/components/popper/src/utils.mjs","../../../node_modules/element-plus/es/components/popper/src/composables/use-content.mjs","../../../node_modules/element-plus/es/components/popper/src/content2.mjs","../../../node_modules/element-plus/es/components/popper/src/composables/use-focus-trap.mjs","../../../node_modules/element-plus/es/components/popper/src/composables/use-content-dom.mjs","../../../node_modules/element-plus/es/components/popper/index.mjs","../../../node_modules/element-plus/es/components/tooltip/src/constants.mjs","../../../node_modules/element-plus/es/components/tooltip/src/content.mjs","../../../node_modules/element-plus/es/components/tooltip/src/trigger.mjs","../../../node_modules/element-plus/es/components/tooltip/src/tooltip.mjs","../../../node_modules/element-plus/es/components/tooltip/src/utils.mjs","../../../node_modules/element-plus/es/components/tooltip/src/trigger2.mjs","../../../node_modules/element-plus/es/components/tooltip/src/content2.mjs","../../../node_modules/element-plus/es/components/tooltip/src/tooltip2.mjs","../../../node_modules/element-plus/es/components/tooltip/index.mjs","../../../node_modules/element-plus/es/components/avatar/src/avatar.mjs","../../../node_modules/element-plus/es/components/avatar/src/avatar2.mjs","../../../node_modules/element-plus/es/components/avatar/index.mjs","../../../node_modules/element-plus/es/components/backtop/src/backtop.mjs","../../../node_modules/element-plus/es/components/backtop/src/backtop2.mjs","../../../node_modules/element-plus/es/components/backtop/index.mjs","../../../node_modules/element-plus/es/components/backtop/src/use-backtop.mjs","../../../node_modules/element-plus/es/components/badge/src/badge.mjs","../../../node_modules/element-plus/es/components/badge/src/badge2.mjs","../../../node_modules/element-plus/es/components/badge/index.mjs","../../../node_modules/element-plus/es/components/breadcrumb/src/constants.mjs","../../../node_modules/element-plus/es/components/breadcrumb/src/breadcrumb.mjs","../../../node_modules/element-plus/es/components/breadcrumb/src/breadcrumb2.mjs","../../../node_modules/element-plus/es/components/breadcrumb/src/breadcrumb-item.mjs","../../../node_modules/element-plus/es/components/breadcrumb/src/breadcrumb-item2.mjs","../../../node_modules/element-plus/es/components/breadcrumb/index.mjs","../../../node_modules/element-plus/es/components/button/src/constants.mjs","../../../node_modules/element-plus/es/components/button/src/button.mjs","../../../node_modules/element-plus/es/components/button/src/button-custom.mjs","../../../node_modules/element-plus/es/components/button/src/button2.mjs","../../../node_modules/element-plus/es/components/button/src/use-button.mjs","../../../node_modules/element-plus/es/components/button/src/button-group.mjs","../../../node_modules/element-plus/es/components/button/src/button-group2.mjs","../../../node_modules/element-plus/es/components/button/index.mjs","../../../node_modules/element-plus/es/components/time-picker/src/constants.mjs","../../../node_modules/element-plus/es/components/time-picker/src/utils.mjs","../../../node_modules/element-plus/es/components/time-picker/src/props/shared.mjs","../../../node_modules/element-plus/es/components/time-picker/src/common/props.mjs","../../../node_modules/element-plus/es/components/time-picker/src/common/picker.mjs","../../../node_modules/element-plus/es/components/time-picker/src/props/panel-time-picker.mjs","../../../node_modules/element-plus/es/components/time-picker/src/composables/use-time-picker.mjs","../../../node_modules/element-plus/es/directives/click-outside/index.mjs","../../../node_modules/element-plus/es/directives/repeat-click/index.mjs","../../../node_modules/element-plus/es/directives/trap-focus/index.mjs","../../../node_modules/element-plus/es/directives/mousewheel/index.mjs","../../../node_modules/element-plus/es/components/time-picker/src/props/basic-time-spinner.mjs","../../../node_modules/element-plus/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs","../../../node_modules/element-plus/es/components/time-picker/src/time-picker-com/panel-time-pick.mjs","../../../node_modules/element-plus/es/components/time-picker/src/composables/use-time-panel.mjs","../../../node_modules/element-plus/es/components/card/src/card.mjs","../../../node_modules/element-plus/es/components/card/src/card2.mjs","../../../node_modules/element-plus/es/components/card/index.mjs","../../../node_modules/element-plus/es/components/carousel/src/carousel.mjs","../../../node_modules/element-plus/es/components/carousel/src/constants.mjs","../../../node_modules/element-plus/es/components/carousel/src/use-carousel.mjs","../../../node_modules/element-plus/es/components/carousel/src/carousel2.mjs","../../../node_modules/element-plus/es/components/carousel/src/carousel-item.mjs","../../../node_modules/element-plus/es/components/carousel/src/use-carousel-item.mjs","../../../node_modules/element-plus/es/components/carousel/src/carousel-item2.mjs","../../../node_modules/element-plus/es/components/carousel/index.mjs","../../../node_modules/element-plus/es/components/checkbox/src/checkbox.mjs","../../../node_modules/element-plus/es/components/checkbox/src/constants.mjs","../../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-event.mjs","../../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox.mjs","../../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-model.mjs","../../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-status.mjs","../../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.mjs","../../../node_modules/element-plus/es/components/checkbox/src/checkbox2.mjs","../../../node_modules/element-plus/es/components/checkbox/src/checkbox-button.mjs","../../../node_modules/element-plus/es/components/checkbox/src/checkbox-group.mjs","../../../node_modules/element-plus/es/components/checkbox/src/checkbox-group2.mjs","../../../node_modules/element-plus/es/components/checkbox/index.mjs","../../../node_modules/element-plus/es/components/radio/src/radio.mjs","../../../node_modules/element-plus/es/components/radio/src/constants.mjs","../../../node_modules/element-plus/es/components/radio/src/use-radio.mjs","../../../node_modules/element-plus/es/components/radio/src/radio2.mjs","../../../node_modules/element-plus/es/components/radio/src/radio-button.mjs","../../../node_modules/element-plus/es/components/radio/src/radio-button2.mjs","../../../node_modules/element-plus/es/components/radio/src/radio-group.mjs","../../../node_modules/element-plus/es/components/radio/src/radio-group2.mjs","../../../node_modules/element-plus/es/components/radio/index.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/node-content.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/types.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/node2.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/menu.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/node.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/store.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/config.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/utils.mjs","../../../node_modules/element-plus/es/components/cascader-panel/src/index.mjs","../../../node_modules/element-plus/es/components/cascader-panel/index.mjs","../../../node_modules/element-plus/es/components/tag/src/tag.mjs","../../../node_modules/element-plus/es/components/tag/src/tag2.mjs","../../../node_modules/element-plus/es/components/tag/index.mjs","../../../node_modules/element-plus/es/components/cascader/src/cascader.mjs","../../../node_modules/element-plus/es/components/cascader/src/cascader2.mjs","../../../node_modules/element-plus/es/components/cascader/index.mjs","../../../node_modules/element-plus/es/components/collapse/src/collapse.mjs","../../../node_modules/element-plus/es/components/collapse/src/constants.mjs","../../../node_modules/element-plus/es/components/collapse/src/collapse2.mjs","../../../node_modules/element-plus/es/components/collapse/src/use-collapse.mjs","../../../node_modules/element-plus/es/components/collapse-transition/src/collapse-transition.mjs","../../../node_modules/element-plus/es/components/collapse-transition/index.mjs","../../../node_modules/element-plus/es/components/collapse/src/collapse-item.mjs","../../../node_modules/element-plus/es/components/collapse/src/collapse-item2.mjs","../../../node_modules/element-plus/es/components/collapse/src/use-collapse-item.mjs","../../../node_modules/element-plus/es/components/collapse/index.mjs","../../../node_modules/element-plus/es/components/container/src/container.mjs","../../../node_modules/element-plus/es/components/container/src/aside.mjs","../../../node_modules/element-plus/es/components/container/src/footer.mjs","../../../node_modules/element-plus/es/components/container/src/header.mjs","../../../node_modules/element-plus/es/components/container/src/main.mjs","../../../node_modules/element-plus/es/components/container/index.mjs","../../../node_modules/element-plus/es/components/date-picker/src/constants.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/date-picker.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/shared.mjs","../../../node_modules/element-plus/es/constants/date.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/panel-date-pick.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/basic-date-table.mjs","../../../node_modules/element-plus/es/components/date-picker/src/utils.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/basic-cell.mjs","../../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-cell-render.mjs","../../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-date-table.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/basic-month-table.mjs","../../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-month-table.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/basic-year-table.mjs","../../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-year-table.mjs","../../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/panel-date-range.mjs","../../../node_modules/element-plus/es/components/date-picker/src/composables/use-range-picker.mjs","../../../node_modules/element-plus/es/components/date-picker/src/composables/use-shortcut.mjs","../../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-date-range.mjs","../../../node_modules/element-plus/es/components/date-picker/src/props/panel-month-range.mjs","../../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-month-range.mjs","../../../node_modules/element-plus/es/components/date-picker/src/composables/use-month-range-header.mjs","../../../node_modules/element-plus/es/components/date-picker/src/date-picker.mjs","../../../node_modules/element-plus/es/components/date-picker/index.mjs","../../../node_modules/element-plus/es/components/date-picker/src/panel-utils.mjs","../../../node_modules/element-plus/es/components/descriptions/src/token.mjs","../../../node_modules/element-plus/es/components/descriptions/src/descriptions-cell.mjs","../../../node_modules/element-plus/es/components/descriptions/src/descriptions-row.mjs","../../../node_modules/element-plus/es/components/descriptions/src/descriptions-row2.mjs","../../../node_modules/element-plus/es/components/descriptions/src/description.mjs","../../../node_modules/element-plus/es/components/descriptions/src/description2.mjs","../../../node_modules/element-plus/es/components/descriptions/src/description-item.mjs","../../../node_modules/element-plus/es/components/descriptions/index.mjs","../../../node_modules/element-plus/es/components/overlay/src/overlay.mjs","../../../node_modules/element-plus/es/components/overlay/index.mjs","../../../node_modules/element-plus/es/components/dialog/src/constants.mjs","../../../node_modules/element-plus/es/components/dialog/src/dialog-content.mjs","../../../node_modules/element-plus/es/components/dialog/src/dialog-content2.mjs","../../../node_modules/element-plus/es/utils/vue/refs.mjs","../../../node_modules/element-plus/es/components/dialog/src/dialog.mjs","../../../node_modules/element-plus/es/components/dialog/src/dialog2.mjs","../../../node_modules/element-plus/es/components/dialog/index.mjs","../../../node_modules/element-plus/es/components/dialog/src/use-dialog.mjs","../../../node_modules/element-plus/es/components/empty/src/img-empty.mjs","../../../node_modules/element-plus/es/components/empty/src/empty.mjs","../../../node_modules/element-plus/es/components/empty/src/empty2.mjs","../../../node_modules/element-plus/es/components/empty/index.mjs","../../../node_modules/element-plus/es/components/image-viewer/src/image-viewer.mjs","../../../node_modules/element-plus/es/components/image-viewer/src/image-viewer2.mjs","../../../node_modules/element-plus/es/components/image-viewer/index.mjs","../../../node_modules/element-plus/es/components/image/src/image.mjs","../../../node_modules/element-plus/es/components/image/src/image2.mjs","../../../node_modules/element-plus/es/components/image/index.mjs","../../../node_modules/element-plus/es/utils/dom/position.mjs","../../../node_modules/element-plus/es/components/input-number/src/input-number.mjs","../../../node_modules/element-plus/es/components/input-number/src/input-number2.mjs","../../../node_modules/element-plus/es/components/input-number/index.mjs","../../../node_modules/element-plus/es/components/link/src/link.mjs","../../../node_modules/element-plus/es/components/link/src/link2.mjs","../../../node_modules/element-plus/es/components/link/index.mjs","../../../node_modules/element-plus/es/components/pagination/src/constants.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/prev.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/prev2.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/next.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/next2.mjs","../../../node_modules/element-plus/es/components/select/src/token.mjs","../../../node_modules/element-plus/es/components/select/src/option.mjs","../../../node_modules/element-plus/es/components/select/src/useOption.mjs","../../../node_modules/element-plus/es/components/select/src/select-dropdown.mjs","../../../node_modules/element-plus/es/components/select/src/useSelect.mjs","../../../node_modules/element-plus/es/utils/vue/size.mjs","../../../node_modules/element-plus/es/components/select/src/options.mjs","../../../node_modules/element-plus/es/components/select/src/select.mjs","../../../node_modules/element-plus/es/components/select/src/option-group.mjs","../../../node_modules/element-plus/es/components/select/index.mjs","../../../node_modules/element-plus/es/components/pagination/src/usePagination.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/sizes.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/sizes2.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/jumper.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/jumper2.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/total.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/total2.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/pager.mjs","../../../node_modules/element-plus/es/components/pagination/src/components/pager2.mjs","../../../node_modules/element-plus/es/components/pagination/src/pagination.mjs","../../../node_modules/element-plus/es/components/pagination/index.mjs","../../../node_modules/element-plus/es/components/progress/src/progress.mjs","../../../node_modules/element-plus/es/components/progress/src/progress2.mjs","../../../node_modules/element-plus/es/components/progress/index.mjs","../../../node_modules/element-plus/es/components/steps/src/steps.mjs","../../../node_modules/element-plus/es/components/steps/src/steps2.mjs","../../../node_modules/element-plus/es/components/steps/src/item.mjs","../../../node_modules/element-plus/es/components/steps/src/item2.mjs","../../../node_modules/element-plus/es/components/steps/index.mjs","../../../node_modules/element-plus/es/components/switch/src/switch.mjs","../../../node_modules/element-plus/es/components/switch/src/switch2.mjs","../../../node_modules/element-plus/es/components/switch/index.mjs","../../../node_modules/element-plus/es/components/table/src/util.mjs","../../../node_modules/element-plus/es/components/table/src/store/watcher.mjs","../../../node_modules/element-plus/es/components/table/src/store/expand.mjs","../../../node_modules/element-plus/es/components/table/src/store/tree.mjs","../../../node_modules/element-plus/es/components/table/src/store/current.mjs","../../../node_modules/element-plus/es/components/table/src/store/index.mjs","../../../node_modules/element-plus/es/components/table/src/store/helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-layout.mjs","../../../node_modules/element-plus/es/components/table/src/filter-panel.mjs","../../../node_modules/element-plus/es/components/table/src/layout-observer.mjs","../../../node_modules/element-plus/es/components/table/src/tokens.mjs","../../../node_modules/element-plus/es/components/table/src/table-header/utils-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-header/index.mjs","../../../node_modules/element-plus/es/components/table/src/table-header/event-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-header/style.helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-body/events-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-body/render-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-body/styles-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-body/defaults.mjs","../../../node_modules/element-plus/es/components/table/src/table-body/index.mjs","../../../node_modules/element-plus/es/components/table/src/h-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-footer/style-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-footer/mapState-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-footer/index.mjs","../../../node_modules/element-plus/es/components/table/src/table/style-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table/key-render-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table/defaults.mjs","../../../node_modules/element-plus/es/components/table/src/table.mjs","../../../node_modules/element-plus/es/components/table/src/table/utils-helper.mjs","../../../node_modules/element-plus/es/components/table/src/composables/use-scrollbar.mjs","../../../node_modules/element-plus/es/components/table/src/config.mjs","../../../node_modules/element-plus/es/components/table/src/table-column/watcher-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-column/render-helper.mjs","../../../node_modules/element-plus/es/components/table/src/table-column/defaults.mjs","../../../node_modules/element-plus/es/components/table/src/table-column/index.mjs","../../../node_modules/element-plus/es/components/table/index.mjs","../../../node_modules/element-plus/es/components/tabs/src/constants.mjs","../../../node_modules/element-plus/es/components/tabs/src/tab-bar.mjs","../../../node_modules/element-plus/es/components/tabs/src/tab-bar2.mjs","../../../node_modules/element-plus/es/components/tabs/src/tab-nav.mjs","../../../node_modules/element-plus/es/components/tabs/src/tabs.mjs","../../../node_modules/element-plus/es/components/tabs/src/tab-pane.mjs","../../../node_modules/element-plus/es/components/tabs/src/tab-pane2.mjs","../../../node_modules/element-plus/es/components/tabs/index.mjs","../../../node_modules/element-plus/es/components/upload/src/constants.mjs","../../../node_modules/element-plus/es/components/upload/src/ajax.mjs","../../../node_modules/element-plus/es/components/upload/src/upload.mjs","../../../node_modules/element-plus/es/components/upload/src/upload-list.mjs","../../../node_modules/element-plus/es/components/upload/src/upload-list2.mjs","../../../node_modules/element-plus/es/components/upload/src/upload-dragger.mjs","../../../node_modules/element-plus/es/components/upload/src/upload-dragger2.mjs","../../../node_modules/element-plus/es/components/upload/src/upload-content.mjs","../../../node_modules/element-plus/es/components/upload/src/upload-content2.mjs","../../../node_modules/element-plus/es/components/upload/src/use-handlers.mjs","../../../node_modules/element-plus/es/components/upload/src/upload2.mjs","../../../node_modules/element-plus/es/components/upload/index.mjs","../../../node_modules/element-plus/es/components/loading/src/loading.mjs","../../../node_modules/element-plus/es/components/loading/src/service.mjs","../../../node_modules/element-plus/es/components/loading/src/directive.mjs","../../../node_modules/element-plus/es/components/message/src/message.mjs","../../../node_modules/element-plus/es/components/message/src/instance.mjs","../../../node_modules/element-plus/es/components/message/src/message2.mjs","../../../node_modules/element-plus/es/components/message/src/method.mjs","../../../node_modules/element-plus/es/components/message/index.mjs","../../../node_modules/element-plus/es/components/message-box/src/index.mjs","../../../node_modules/element-plus/es/components/message-box/src/messageBox.mjs","../../../node_modules/element-plus/es/components/message-box/index.mjs","../../../node_modules/element-plus/dist/locale/zh-cn.mjs"],"sourcesContent":["const FOCUSABLE_ELEMENT_SELECTORS = `a[href],button:not([disabled]),button:not([hidden]),:not([tabindex=\"-1\"]),input:not([disabled]),input:not([type=\"hidden\"]),select:not([disabled]),textarea:not([disabled])`;\nconst isVisible = (element) => {\n if (process.env.NODE_ENV === \"test\")\n return true;\n const computed = getComputedStyle(element);\n return computed.position === \"fixed\" ? false : element.offsetParent !== null;\n};\nconst obtainAllFocusableElements = (element) => {\n return Array.from(element.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter((item) => isFocusable(item) && isVisible(item));\n};\nconst isFocusable = (element) => {\n if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute(\"tabIndex\") !== null) {\n return true;\n }\n if (element.disabled) {\n return false;\n }\n switch (element.nodeName) {\n case \"A\": {\n return !!element.href && element.rel !== \"ignore\";\n }\n case \"INPUT\": {\n return !(element.type === \"hidden\" || element.type === \"file\");\n }\n case \"BUTTON\":\n case \"SELECT\":\n case \"TEXTAREA\": {\n return true;\n }\n default: {\n return false;\n }\n }\n};\nconst attemptFocus = (element) => {\n var _a;\n if (!isFocusable(element)) {\n return false;\n }\n (_a = element.focus) == null ? void 0 : _a.call(element);\n return document.activeElement === element;\n};\nconst triggerEvent = function(elm, name, ...opts) {\n let eventName;\n if (name.includes(\"mouse\") || name.includes(\"click\")) {\n eventName = \"MouseEvents\";\n } else if (name.includes(\"key\")) {\n eventName = \"KeyboardEvent\";\n } else {\n eventName = \"HTMLEvents\";\n }\n const evt = document.createEvent(eventName);\n evt.initEvent(name, ...opts);\n elm.dispatchEvent(evt);\n return elm;\n};\nconst isLeaf = (el) => !el.getAttribute(\"aria-owns\");\nconst getSibling = (el, distance, elClass) => {\n const { parentNode } = el;\n if (!parentNode)\n return null;\n const siblings = parentNode.querySelectorAll(elClass);\n const index = Array.prototype.indexOf.call(siblings, el);\n return siblings[index + distance] || null;\n};\nconst focusNode = (el) => {\n if (!el)\n return;\n el.focus();\n !isLeaf(el) && el.click();\n};\n\nexport { attemptFocus, focusNode, getSibling, isFocusable, isLeaf, isVisible, obtainAllFocusableElements, triggerEvent };\n//# sourceMappingURL=aria.mjs.map\n","const composeEventHandlers = (theirsHandler, oursHandler, { checkForDefaultPrevented = true } = {}) => {\n const handleEvent = (event) => {\n const shouldPrevent = theirsHandler == null ? void 0 : theirsHandler(event);\n if (checkForDefaultPrevented === false || !shouldPrevent) {\n return oursHandler == null ? void 0 : oursHandler(event);\n }\n };\n return handleEvent;\n};\nconst whenMouse = (handler) => {\n return (e) => e.pointerType === \"mouse\" ? handler(e) : void 0;\n};\n\nexport { composeEventHandlers, whenMouse };\n//# sourceMappingURL=event.mjs.map\n","import { isArray, isObject, isString } from '@vue/shared';\nexport { isArray, isDate, isFunction, isObject, isPromise, isString, isSymbol } from '@vue/shared';\nimport { isNil } from 'lodash-unified';\nexport { isVNode } from 'vue';\n\nconst isUndefined = (val) => val === void 0;\nconst isBoolean = (val) => typeof val === \"boolean\";\nconst isNumber = (val) => typeof val === \"number\";\nconst isEmpty = (val) => !val && val !== 0 || isArray(val) && val.length === 0 || isObject(val) && !Object.keys(val).length;\nconst isElement = (e) => {\n if (typeof Element === \"undefined\")\n return false;\n return e instanceof Element;\n};\nconst isPropAbsent = (prop) => {\n return isNil(prop);\n};\nconst isStringNumber = (val) => {\n if (!isString(val)) {\n return false;\n }\n return !Number.isNaN(Number(val));\n};\n\nexport { isBoolean, isElement, isEmpty, isNumber, isPropAbsent, isStringNumber, isUndefined };\n//# sourceMappingURL=types.mjs.map\n","import { capitalize as capitalize$1 } from '@vue/shared';\nexport { camelize, hyphenate, hyphenate as kebabCase } from '@vue/shared';\n\nconst escapeStringRegexp = (string = \"\") => string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\nconst capitalize = (str) => capitalize$1(str);\n\nexport { capitalize, escapeStringRegexp };\n//# sourceMappingURL=strings.mjs.map\n","import { get, set } from 'lodash-unified';\nexport { hasOwn } from '@vue/shared';\n\nconst keysOf = (arr) => Object.keys(arr);\nconst entriesOf = (arr) => Object.entries(arr);\nconst getProp = (obj, path, defaultValue) => {\n return {\n get value() {\n return get(obj, path, defaultValue);\n },\n set value(val) {\n set(obj, path, val);\n }\n };\n};\n\nexport { entriesOf, getProp, keysOf };\n//# sourceMappingURL=objects.mjs.map\n","import './types.mjs';\nimport { isString } from '@vue/shared';\n\nclass ElementPlusError extends Error {\n constructor(m) {\n super(m);\n this.name = \"ElementPlusError\";\n }\n}\nfunction throwError(scope, m) {\n throw new ElementPlusError(`[${scope}] ${m}`);\n}\nfunction debugWarn(scope, message) {\n if (process.env.NODE_ENV !== \"production\") {\n const error = isString(scope) ? new ElementPlusError(`[${scope}] ${message}`) : scope;\n console.warn(error);\n }\n}\n\nexport { debugWarn, throwError };\n//# sourceMappingURL=error.mjs.map\n","import { isNumber, isStringNumber } from '../types.mjs';\nimport '../browser.mjs';\nimport '../strings.mjs';\nimport { entriesOf, keysOf } from '../objects.mjs';\nimport { debugWarn } from '../error.mjs';\nimport { isClient } from '@vueuse/core';\nimport { camelize, isObject, isString } from '@vue/shared';\n\nconst SCOPE = \"utils/dom/style\";\nconst classNameToArray = (cls = \"\") => cls.split(\" \").filter((item) => !!item.trim());\nconst hasClass = (el, cls) => {\n if (!el || !cls)\n return false;\n if (cls.includes(\" \"))\n throw new Error(\"className should not contain space.\");\n return el.classList.contains(cls);\n};\nconst addClass = (el, cls) => {\n if (!el || !cls.trim())\n return;\n el.classList.add(...classNameToArray(cls));\n};\nconst removeClass = (el, cls) => {\n if (!el || !cls.trim())\n return;\n el.classList.remove(...classNameToArray(cls));\n};\nconst getStyle = (element, styleName) => {\n var _a;\n if (!isClient || !element || !styleName)\n return \"\";\n let key = camelize(styleName);\n if (key === \"float\")\n key = \"cssFloat\";\n try {\n const style = element.style[key];\n if (style)\n return style;\n const computed = (_a = document.defaultView) == null ? void 0 : _a.getComputedStyle(element, \"\");\n return computed ? computed[key] : \"\";\n } catch (e) {\n return element.style[key];\n }\n};\nconst setStyle = (element, styleName, value) => {\n if (!element || !styleName)\n return;\n if (isObject(styleName)) {\n entriesOf(styleName).forEach(([prop, value2]) => setStyle(element, prop, value2));\n } else {\n const key = camelize(styleName);\n element.style[key] = value;\n }\n};\nconst removeStyle = (element, style) => {\n if (!element || !style)\n return;\n if (isObject(style)) {\n keysOf(style).forEach((prop) => removeStyle(element, prop));\n } else {\n setStyle(element, style, \"\");\n }\n};\nfunction addUnit(value, defaultUnit = \"px\") {\n if (!value)\n return \"\";\n if (isNumber(value) || isStringNumber(value)) {\n return `${value}${defaultUnit}`;\n } else if (isString(value)) {\n return value;\n }\n debugWarn(SCOPE, \"binding value must be a string or number\");\n}\n\nexport { addClass, addUnit, classNameToArray, getStyle, hasClass, removeClass, removeStyle, setStyle };\n//# sourceMappingURL=style.mjs.map\n","import '../browser.mjs';\nimport { getStyle } from './style.mjs';\nimport { isClient } from '@vueuse/core';\n\nconst isScroll = (el, isVertical) => {\n if (!isClient)\n return false;\n const key = {\n undefined: \"overflow\",\n true: \"overflow-y\",\n false: \"overflow-x\"\n }[String(isVertical)];\n const overflow = getStyle(el, key);\n return [\"scroll\", \"auto\", \"overlay\"].some((s) => overflow.includes(s));\n};\nconst getScrollContainer = (el, isVertical) => {\n if (!isClient)\n return;\n let parent = el;\n while (parent) {\n if ([window, document, document.documentElement].includes(parent))\n return window;\n if (isScroll(parent, isVertical))\n return parent;\n parent = parent.parentNode;\n }\n return parent;\n};\nlet scrollBarWidth;\nconst getScrollBarWidth = (namespace) => {\n var _a;\n if (!isClient)\n return 0;\n if (scrollBarWidth !== void 0)\n return scrollBarWidth;\n const outer = document.createElement(\"div\");\n outer.className = `${namespace}-scrollbar__wrap`;\n outer.style.visibility = \"hidden\";\n outer.style.width = \"100px\";\n outer.style.position = \"absolute\";\n outer.style.top = \"-9999px\";\n document.body.appendChild(outer);\n const widthNoScroll = outer.offsetWidth;\n outer.style.overflow = \"scroll\";\n const inner = document.createElement(\"div\");\n inner.style.width = \"100%\";\n outer.appendChild(inner);\n const widthWithScroll = inner.offsetWidth;\n (_a = outer.parentNode) == null ? void 0 : _a.removeChild(outer);\n scrollBarWidth = widthNoScroll - widthWithScroll;\n return scrollBarWidth;\n};\nfunction scrollIntoView(container, selected) {\n if (!isClient)\n return;\n if (!selected) {\n container.scrollTop = 0;\n return;\n }\n const offsetParents = [];\n let pointer = selected.offsetParent;\n while (pointer !== null && container !== pointer && container.contains(pointer)) {\n offsetParents.push(pointer);\n pointer = pointer.offsetParent;\n }\n const top = selected.offsetTop + offsetParents.reduce((prev, curr) => prev + curr.offsetTop, 0);\n const bottom = top + selected.offsetHeight;\n const viewRectTop = container.scrollTop;\n const viewRectBottom = viewRectTop + container.clientHeight;\n if (top < viewRectTop) {\n container.scrollTop = top;\n } else if (bottom > viewRectBottom) {\n container.scrollTop = bottom - container.clientHeight;\n }\n}\n\nexport { getScrollBarWidth, getScrollContainer, isScroll, scrollIntoView };\n//# sourceMappingURL=scroll.mjs.map\n","import { warn } from 'vue';\nimport { fromPairs } from 'lodash-unified';\nimport '../../types.mjs';\nimport '../../objects.mjs';\nimport { isObject, hasOwn } from '@vue/shared';\n\nconst epPropKey = \"__epPropKey\";\nconst definePropType = (val) => val;\nconst isEpProp = (val) => isObject(val) && !!val[epPropKey];\nconst buildProp = (prop, key) => {\n if (!isObject(prop) || isEpProp(prop))\n return prop;\n const { values, required, default: defaultValue, type, validator } = prop;\n const _validator = values || validator ? (val) => {\n let valid = false;\n let allowedValues = [];\n if (values) {\n allowedValues = Array.from(values);\n if (hasOwn(prop, \"default\")) {\n allowedValues.push(defaultValue);\n }\n valid || (valid = allowedValues.includes(val));\n }\n if (validator)\n valid || (valid = validator(val));\n if (!valid && allowedValues.length > 0) {\n const allowValuesText = [...new Set(allowedValues)].map((value) => JSON.stringify(value)).join(\", \");\n warn(`Invalid prop: validation failed${key ? ` for prop \"${key}\"` : \"\"}. Expected one of [${allowValuesText}], got value ${JSON.stringify(val)}.`);\n }\n return valid;\n } : void 0;\n const epProp = {\n type,\n required: !!required,\n validator: _validator,\n [epPropKey]: true\n };\n if (hasOwn(prop, \"default\"))\n epProp.default = defaultValue;\n return epProp;\n};\nconst buildProps = (props) => fromPairs(Object.entries(props).map(([key, option]) => [\n key,\n buildProp(option, key)\n]));\n\nexport { buildProp, buildProps, definePropType, epPropKey, isEpProp };\n//# sourceMappingURL=runtime.mjs.map\n","import { Close, SuccessFilled, InfoFilled, WarningFilled, CircleCloseFilled, Loading, CircleCheck, CircleClose } from '@element-plus/icons-vue';\nimport './props/index.mjs';\nimport { definePropType } from './props/runtime.mjs';\n\nconst iconPropType = definePropType([\n String,\n Object,\n Function\n]);\nconst CloseComponents = {\n Close\n};\nconst TypeComponents = {\n Close,\n SuccessFilled,\n InfoFilled,\n WarningFilled,\n CircleCloseFilled\n};\nconst TypeComponentsMap = {\n success: SuccessFilled,\n warning: WarningFilled,\n error: CircleCloseFilled,\n info: InfoFilled\n};\nconst ValidateComponentsMap = {\n validating: Loading,\n success: CircleCheck,\n error: CircleClose\n};\n\nexport { CloseComponents, TypeComponents, TypeComponentsMap, ValidateComponentsMap, iconPropType };\n//# sourceMappingURL=icon.mjs.map\n","import { NOOP } from '@vue/shared';\n\nconst withInstall = (main, extra) => {\n ;\n main.install = (app) => {\n for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {\n app.component(comp.name, comp);\n }\n };\n if (extra) {\n for (const [key, comp] of Object.entries(extra)) {\n ;\n main[key] = comp;\n }\n }\n return main;\n};\nconst withInstallFunction = (fn, name) => {\n ;\n fn.install = (app) => {\n ;\n fn._context = app._context;\n app.config.globalProperties[name] = fn;\n };\n return fn;\n};\nconst withInstallDirective = (directive, name) => {\n ;\n directive.install = (app) => {\n app.directive(name, directive);\n };\n return directive;\n};\nconst withNoopInstall = (component) => {\n ;\n component.install = NOOP;\n return component;\n};\n\nexport { withInstall, withInstallDirective, withInstallFunction, withNoopInstall };\n//# sourceMappingURL=install.mjs.map\n","const EVENT_CODE = {\n tab: \"Tab\",\n enter: \"Enter\",\n space: \"Space\",\n left: \"ArrowLeft\",\n up: \"ArrowUp\",\n right: \"ArrowRight\",\n down: \"ArrowDown\",\n esc: \"Escape\",\n delete: \"Delete\",\n backspace: \"Backspace\",\n numpadEnter: \"NumpadEnter\",\n pageUp: \"PageUp\",\n pageDown: \"PageDown\",\n home: \"Home\",\n end: \"End\"\n};\n\nexport { EVENT_CODE };\n//# sourceMappingURL=aria.mjs.map\n","const UPDATE_MODEL_EVENT = \"update:modelValue\";\nconst CHANGE_EVENT = \"change\";\nconst INPUT_EVENT = \"input\";\n\nexport { CHANGE_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT };\n//# sourceMappingURL=event.mjs.map\n","const componentSizes = [\"\", \"default\", \"small\", \"large\"];\nconst componentSizeMap = {\n large: 40,\n default: 32,\n small: 24\n};\n\nexport { componentSizeMap, componentSizes };\n//# sourceMappingURL=size.mjs.map\n","import '../../constants/index.mjs';\nimport { componentSizes } from '../../constants/size.mjs';\nimport { datePickTypes } from '../../constants/date.mjs';\n\nconst isValidComponentSize = (val) => [\"\", ...componentSizes].includes(val);\nconst isValidDatePickType = (val) => [...datePickTypes].includes(val);\n\nexport { isValidComponentSize, isValidDatePickType };\n//# sourceMappingURL=validator.mjs.map\n","import { isVNode, Fragment, Text, Comment, openBlock, createBlock, createCommentVNode } from 'vue';\nimport { hasOwn, camelize, isArray } from '@vue/shared';\nimport '../objects.mjs';\nimport { debugWarn } from '../error.mjs';\n\nconst SCOPE = \"utils/vue/vnode\";\nvar PatchFlags = /* @__PURE__ */ ((PatchFlags2) => {\n PatchFlags2[PatchFlags2[\"TEXT\"] = 1] = \"TEXT\";\n PatchFlags2[PatchFlags2[\"CLASS\"] = 2] = \"CLASS\";\n PatchFlags2[PatchFlags2[\"STYLE\"] = 4] = \"STYLE\";\n PatchFlags2[PatchFlags2[\"PROPS\"] = 8] = \"PROPS\";\n PatchFlags2[PatchFlags2[\"FULL_PROPS\"] = 16] = \"FULL_PROPS\";\n PatchFlags2[PatchFlags2[\"HYDRATE_EVENTS\"] = 32] = \"HYDRATE_EVENTS\";\n PatchFlags2[PatchFlags2[\"STABLE_FRAGMENT\"] = 64] = \"STABLE_FRAGMENT\";\n PatchFlags2[PatchFlags2[\"KEYED_FRAGMENT\"] = 128] = \"KEYED_FRAGMENT\";\n PatchFlags2[PatchFlags2[\"UNKEYED_FRAGMENT\"] = 256] = \"UNKEYED_FRAGMENT\";\n PatchFlags2[PatchFlags2[\"NEED_PATCH\"] = 512] = \"NEED_PATCH\";\n PatchFlags2[PatchFlags2[\"DYNAMIC_SLOTS\"] = 1024] = \"DYNAMIC_SLOTS\";\n PatchFlags2[PatchFlags2[\"HOISTED\"] = -1] = \"HOISTED\";\n PatchFlags2[PatchFlags2[\"BAIL\"] = -2] = \"BAIL\";\n return PatchFlags2;\n})(PatchFlags || {});\nfunction isFragment(node) {\n return isVNode(node) && node.type === Fragment;\n}\nfunction isText(node) {\n return isVNode(node) && node.type === Text;\n}\nfunction isComment(node) {\n return isVNode(node) && node.type === Comment;\n}\nconst TEMPLATE = \"template\";\nfunction isTemplate(node) {\n return isVNode(node) && node.type === TEMPLATE;\n}\nfunction isValidElementNode(node) {\n return isVNode(node) && !isFragment(node) && !isComment(node);\n}\nfunction getChildren(node, depth) {\n if (isComment(node))\n return;\n if (isFragment(node) || isTemplate(node)) {\n return depth > 0 ? getFirstValidNode(node.children, depth - 1) : void 0;\n }\n return node;\n}\nconst getFirstValidNode = (nodes, maxDepth = 3) => {\n if (Array.isArray(nodes)) {\n return getChildren(nodes[0], maxDepth);\n } else {\n return getChildren(nodes, maxDepth);\n }\n};\nfunction renderIf(condition, ...args) {\n return condition ? renderBlock(...args) : createCommentVNode(\"v-if\", true);\n}\nfunction renderBlock(...args) {\n return openBlock(), createBlock(...args);\n}\nconst getNormalizedProps = (node) => {\n if (!isVNode(node)) {\n debugWarn(SCOPE, \"[getNormalizedProps] must be a VNode\");\n return {};\n }\n const raw = node.props || {};\n const type = (isVNode(node.type) ? node.type.props : void 0) || {};\n const props = {};\n Object.keys(type).forEach((key) => {\n if (hasOwn(type[key], \"default\")) {\n props[key] = type[key].default;\n }\n });\n Object.keys(raw).forEach((key) => {\n props[camelize(key)] = raw[key];\n });\n return props;\n};\nconst ensureOnlyChild = (children) => {\n if (!isArray(children) || children.length > 1) {\n throw new Error(\"expect to receive a single Vue element child\");\n }\n return children[0];\n};\nconst flattedChildren = (children) => {\n const vNodes = isArray(children) ? children : [children];\n const result = [];\n vNodes.forEach((child) => {\n var _a;\n if (isArray(child)) {\n result.push(...flattedChildren(child));\n } else if (isVNode(child) && isArray(child.children)) {\n result.push(...flattedChildren(child.children));\n } else {\n result.push(child);\n if (isVNode(child) && ((_a = child.component) == null ? void 0 : _a.subTree)) {\n result.push(...flattedChildren(child.component.subTree));\n }\n }\n });\n return result;\n};\n\nexport { PatchFlags, ensureOnlyChild, flattedChildren, getFirstValidNode, getNormalizedProps, isComment, isFragment, isTemplate, isText, isValidElementNode, renderBlock, renderIf };\n//# sourceMappingURL=vnode.mjs.map\n","export { castArray as ensureArray } from 'lodash-unified';\n\nconst unique = (arr) => [...new Set(arr)];\nconst castArray = (arr) => {\n if (!arr && arr !== 0)\n return [];\n return Array.isArray(arr) ? arr : [arr];\n};\n\nexport { castArray, unique };\n//# sourceMappingURL=arrays.mjs.map\n","const isKorean = (text) => /([\\uAC00-\\uD7AF\\u3130-\\u318F])+/gi.test(text);\n\nexport { isKorean };\n//# sourceMappingURL=i18n.mjs.map\n","const generateId = () => Math.floor(Math.random() * 1e4);\nconst getRandomInt = (max) => Math.floor(Math.random() * Math.floor(max));\n\nexport { generateId, getRandomInt };\n//# sourceMappingURL=rand.mjs.map\n","import { computed, getCurrentInstance } from 'vue';\nimport { fromPairs } from 'lodash-unified';\nimport '../../utils/index.mjs';\nimport { debugWarn } from '../../utils/error.mjs';\n\nconst DEFAULT_EXCLUDE_KEYS = [\"class\", \"style\"];\nconst LISTENER_PREFIX = /^on[A-Z]/;\nconst useAttrs = (params = {}) => {\n const { excludeListeners = false, excludeKeys } = params;\n const allExcludeKeys = computed(() => {\n return ((excludeKeys == null ? void 0 : excludeKeys.value) || []).concat(DEFAULT_EXCLUDE_KEYS);\n });\n const instance = getCurrentInstance();\n if (!instance) {\n debugWarn(\"use-attrs\", \"getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function\");\n return computed(() => ({}));\n }\n return computed(() => {\n var _a;\n return fromPairs(Object.entries((_a = instance.proxy) == null ? void 0 : _a.$attrs).filter(([key]) => !allExcludeKeys.value.includes(key) && !(excludeListeners && LISTENER_PREFIX.test(key))));\n });\n};\n\nexport { useAttrs };\n//# sourceMappingURL=index.mjs.map\n","import { watch, unref } from 'vue';\nimport '../../utils/index.mjs';\nimport { debugWarn } from '../../utils/error.mjs';\n\nconst useDeprecated = ({ from, replacement, scope, version, ref, type = \"API\" }, condition) => {\n watch(() => unref(condition), (val) => {\n if (val) {\n debugWarn(scope, `[${type}] ${from} is about to be deprecated in version ${version}, please use ${replacement} instead.\nFor more detail, please visit: ${ref}\n`);\n }\n }, {\n immediate: true\n });\n};\n\nexport { useDeprecated };\n//# sourceMappingURL=index.mjs.map\n","import { onMounted, watchEffect, onBeforeUnmount } from 'vue';\nimport '../../utils/index.mjs';\nimport { addUnit } from '../../utils/dom/style.mjs';\n\nconst useDraggable = (targetRef, dragRef, draggable) => {\n let transform = {\n offsetX: 0,\n offsetY: 0\n };\n const onMousedown = (e) => {\n const downX = e.clientX;\n const downY = e.clientY;\n const { offsetX, offsetY } = transform;\n const targetRect = targetRef.value.getBoundingClientRect();\n const targetLeft = targetRect.left;\n const targetTop = targetRect.top;\n const targetWidth = targetRect.width;\n const targetHeight = targetRect.height;\n const clientWidth = document.documentElement.clientWidth;\n const clientHeight = document.documentElement.clientHeight;\n const minLeft = -targetLeft + offsetX;\n const minTop = -targetTop + offsetY;\n const maxLeft = clientWidth - targetLeft - targetWidth + offsetX;\n const maxTop = clientHeight - targetTop - targetHeight + offsetY;\n const onMousemove = (e2) => {\n const moveX = Math.min(Math.max(offsetX + e2.clientX - downX, minLeft), maxLeft);\n const moveY = Math.min(Math.max(offsetY + e2.clientY - downY, minTop), maxTop);\n transform = {\n offsetX: moveX,\n offsetY: moveY\n };\n targetRef.value.style.transform = `translate(${addUnit(moveX)}, ${addUnit(moveY)})`;\n };\n const onMouseup = () => {\n document.removeEventListener(\"mousemove\", onMousemove);\n document.removeEventListener(\"mouseup\", onMouseup);\n };\n document.addEventListener(\"mousemove\", onMousemove);\n document.addEventListener(\"mouseup\", onMouseup);\n };\n const onDraggable = () => {\n if (dragRef.value && targetRef.value) {\n dragRef.value.addEventListener(\"mousedown\", onMousedown);\n }\n };\n const offDraggable = () => {\n if (dragRef.value && targetRef.value) {\n dragRef.value.removeEventListener(\"mousedown\", onMousedown);\n }\n };\n onMounted(() => {\n watchEffect(() => {\n if (draggable.value) {\n onDraggable();\n } else {\n offDraggable();\n }\n });\n });\n onBeforeUnmount(() => {\n offDraggable();\n });\n};\n\nexport { useDraggable };\n//# sourceMappingURL=index.mjs.map\n","var English = {\n name: \"en\",\n el: {\n colorpicker: {\n confirm: \"OK\",\n clear: \"Clear\",\n defaultLabel: \"color picker\",\n description: \"current color is {color}. press enter to select a new color.\"\n },\n datepicker: {\n now: \"Now\",\n today: \"Today\",\n cancel: \"Cancel\",\n clear: \"Clear\",\n confirm: \"OK\",\n dateTablePrompt: \"Use the arrow keys and enter to select the day of the month\",\n monthTablePrompt: \"Use the arrow keys and enter to select the month\",\n yearTablePrompt: \"Use the arrow keys and enter to select the year\",\n selectedDate: \"Selected date\",\n selectDate: \"Select date\",\n selectTime: \"Select time\",\n startDate: \"Start Date\",\n startTime: \"Start Time\",\n endDate: \"End Date\",\n endTime: \"End Time\",\n prevYear: \"Previous Year\",\n nextYear: \"Next Year\",\n prevMonth: \"Previous Month\",\n nextMonth: \"Next Month\",\n year: \"\",\n month1: \"January\",\n month2: \"February\",\n month3: \"March\",\n month4: \"April\",\n month5: \"May\",\n month6: \"June\",\n month7: \"July\",\n month8: \"August\",\n month9: \"September\",\n month10: \"October\",\n month11: \"November\",\n month12: \"December\",\n week: \"week\",\n weeks: {\n sun: \"Sun\",\n mon: \"Mon\",\n tue: \"Tue\",\n wed: \"Wed\",\n thu: \"Thu\",\n fri: \"Fri\",\n sat: \"Sat\"\n },\n weeksFull: {\n sun: \"Sunday\",\n mon: \"Monday\",\n tue: \"Tuesday\",\n wed: \"Wednesday\",\n thu: \"Thursday\",\n fri: \"Friday\",\n sat: \"Saturday\"\n },\n months: {\n jan: \"Jan\",\n feb: \"Feb\",\n mar: \"Mar\",\n apr: \"Apr\",\n may: \"May\",\n jun: \"Jun\",\n jul: \"Jul\",\n aug: \"Aug\",\n sep: \"Sep\",\n oct: \"Oct\",\n nov: \"Nov\",\n dec: \"Dec\"\n }\n },\n inputNumber: {\n decrease: \"decrease number\",\n increase: \"increase number\"\n },\n select: {\n loading: \"Loading\",\n noMatch: \"No matching data\",\n noData: \"No data\",\n placeholder: \"Select\"\n },\n dropdown: {\n toggleDropdown: \"Toggle Dropdown\"\n },\n cascader: {\n noMatch: \"No matching data\",\n loading: \"Loading\",\n placeholder: \"Select\",\n noData: \"No data\"\n },\n pagination: {\n goto: \"Go to\",\n pagesize: \"/page\",\n total: \"Total {total}\",\n pageClassifier: \"\",\n page: \"Page\",\n prev: \"Go to previous page\",\n next: \"Go to next page\",\n currentPage: \"page {pager}\",\n prevPages: \"Previous {pager} pages\",\n nextPages: \"Next {pager} pages\",\n deprecationWarning: \"Deprecated usages detected, please refer to the el-pagination documentation for more details\"\n },\n dialog: {\n close: \"Close this dialog\"\n },\n drawer: {\n close: \"Close this dialog\"\n },\n messagebox: {\n title: \"Message\",\n confirm: \"OK\",\n cancel: \"Cancel\",\n error: \"Illegal input\",\n close: \"Close this dialog\"\n },\n upload: {\n deleteTip: \"press delete to remove\",\n delete: \"Delete\",\n preview: \"Preview\",\n continue: \"Continue\"\n },\n slider: {\n defaultLabel: \"slider between {min} and {max}\",\n defaultRangeStartLabel: \"pick start value\",\n defaultRangeEndLabel: \"pick end value\"\n },\n table: {\n emptyText: \"No Data\",\n confirmFilter: \"Confirm\",\n resetFilter: \"Reset\",\n clearFilter: \"All\",\n sumText: \"Sum\"\n },\n tree: {\n emptyText: \"No Data\"\n },\n transfer: {\n noMatch: \"No matching data\",\n noData: \"No data\",\n titles: [\"List 1\", \"List 2\"],\n filterPlaceholder: \"Enter keyword\",\n noCheckedFormat: \"{total} items\",\n hasCheckedFormat: \"{checked}/{total} checked\"\n },\n image: {\n error: \"FAILED\"\n },\n pageHeader: {\n title: \"Back\"\n },\n popconfirm: {\n confirmButtonText: \"Yes\",\n cancelButtonText: \"No\"\n }\n }\n};\n\nexport { English as default };\n//# sourceMappingURL=en.mjs.map\n","import { unref, computed, isRef, ref, inject } from 'vue';\nimport { get } from 'lodash-unified';\nimport English from '../../locale/lang/en.mjs';\n\nconst buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));\nconst translate = (path, option, locale) => get(locale, path, path).replace(/\\{(\\w+)\\}/g, (_, key) => {\n var _a;\n return `${(_a = option == null ? void 0 : option[key]) != null ? _a : `{${key}}`}`;\n});\nconst buildLocaleContext = (locale) => {\n const lang = computed(() => unref(locale).name);\n const localeRef = isRef(locale) ? locale : ref(locale);\n return {\n lang,\n locale: localeRef,\n t: buildTranslator(locale)\n };\n};\nconst localeContextKey = Symbol(\"localeContextKey\");\nconst useLocale = (localeOverrides) => {\n const locale = localeOverrides || inject(localeContextKey, ref());\n return buildLocaleContext(computed(() => locale.value || English));\n};\n\nexport { buildLocaleContext, buildTranslator, localeContextKey, translate, useLocale };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, inject, ref, computed, unref } from 'vue';\n\nconst defaultNamespace = \"el\";\nconst statePrefix = \"is-\";\nconst _bem = (namespace, block, blockSuffix, element, modifier) => {\n let cls = `${namespace}-${block}`;\n if (blockSuffix) {\n cls += `-${blockSuffix}`;\n }\n if (element) {\n cls += `__${element}`;\n }\n if (modifier) {\n cls += `--${modifier}`;\n }\n return cls;\n};\nconst namespaceContextKey = Symbol(\"namespaceContextKey\");\nconst useGetDerivedNamespace = (namespaceOverrides) => {\n const derivedNamespace = namespaceOverrides || (getCurrentInstance() ? inject(namespaceContextKey, ref(defaultNamespace)) : ref(defaultNamespace));\n const namespace = computed(() => {\n return unref(derivedNamespace) || defaultNamespace;\n });\n return namespace;\n};\nconst useNamespace = (block, namespaceOverrides) => {\n const namespace = useGetDerivedNamespace(namespaceOverrides);\n const b = (blockSuffix = \"\") => _bem(namespace.value, block, blockSuffix, \"\", \"\");\n const e = (element) => element ? _bem(namespace.value, block, \"\", element, \"\") : \"\";\n const m = (modifier) => modifier ? _bem(namespace.value, block, \"\", \"\", modifier) : \"\";\n const be = (blockSuffix, element) => blockSuffix && element ? _bem(namespace.value, block, blockSuffix, element, \"\") : \"\";\n const em = (element, modifier) => element && modifier ? _bem(namespace.value, block, \"\", element, modifier) : \"\";\n const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(namespace.value, block, blockSuffix, \"\", modifier) : \"\";\n const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(namespace.value, block, blockSuffix, element, modifier) : \"\";\n const is = (name, ...args) => {\n const state = args.length >= 1 ? args[0] : true;\n return name && state ? `${statePrefix}${name}` : \"\";\n };\n const cssVar = (object) => {\n const styles = {};\n for (const key in object) {\n if (object[key]) {\n styles[`--${namespace.value}-${key}`] = object[key];\n }\n }\n return styles;\n };\n const cssVarBlock = (object) => {\n const styles = {};\n for (const key in object) {\n if (object[key]) {\n styles[`--${namespace.value}-${block}-${key}`] = object[key];\n }\n }\n return styles;\n };\n const cssVarName = (name) => `--${namespace.value}-${name}`;\n const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;\n return {\n namespace,\n b,\n e,\n m,\n be,\n em,\n bm,\n bem,\n is,\n cssVar,\n cssVarName,\n cssVarBlock,\n cssVarBlockName\n };\n};\n\nexport { defaultNamespace, namespaceContextKey, useGetDerivedNamespace, useNamespace };\n//# sourceMappingURL=index.mjs.map\n","import { isRef, watch, onScopeDispose } from 'vue';\nimport { computed } from '@vue/reactivity';\nimport '../../utils/index.mjs';\nimport { useNamespace } from '../use-namespace/index.mjs';\nimport { throwError } from '../../utils/error.mjs';\nimport { isClient } from '@vueuse/core';\nimport { hasClass, removeClass, getStyle, addClass } from '../../utils/dom/style.mjs';\nimport { getScrollBarWidth } from '../../utils/dom/scroll.mjs';\n\nconst useLockscreen = (trigger, options = {}) => {\n if (!isRef(trigger)) {\n throwError(\"[useLockscreen]\", \"You need to pass a ref param to this function\");\n }\n const ns = options.ns || useNamespace(\"popup\");\n const hiddenCls = computed(() => ns.bm(\"parent\", \"hidden\"));\n if (!isClient || hasClass(document.body, hiddenCls.value)) {\n return;\n }\n let scrollBarWidth = 0;\n let withoutHiddenClass = false;\n let bodyWidth = \"0\";\n const cleanup = () => {\n setTimeout(() => {\n removeClass(document == null ? void 0 : document.body, hiddenCls.value);\n if (withoutHiddenClass && document) {\n document.body.style.width = bodyWidth;\n }\n }, 200);\n };\n watch(trigger, (val) => {\n if (!val) {\n cleanup();\n return;\n }\n withoutHiddenClass = !hasClass(document.body, hiddenCls.value);\n if (withoutHiddenClass) {\n bodyWidth = document.body.style.width;\n }\n scrollBarWidth = getScrollBarWidth(ns.namespace.value);\n const bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight;\n const bodyOverflowY = getStyle(document.body, \"overflowY\");\n if (scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === \"scroll\") && withoutHiddenClass) {\n document.body.style.width = `calc(100% - ${scrollBarWidth}px)`;\n }\n addClass(document.body, hiddenCls.value);\n });\n onScopeDispose(() => cleanup());\n};\n\nexport { useLockscreen };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, computed, watch, onMounted } from 'vue';\nimport { isFunction } from '@vue/shared';\nimport '../../utils/index.mjs';\nimport { buildProp, definePropType } from '../../utils/vue/props/runtime.mjs';\nimport { isClient } from '@vueuse/core';\nimport { isBoolean } from '../../utils/types.mjs';\n\nconst _prop = buildProp({\n type: definePropType(Boolean),\n default: null\n});\nconst _event = buildProp({\n type: definePropType(Function)\n});\nconst createModelToggleComposable = (name) => {\n const updateEventKey = `update:${name}`;\n const updateEventKeyRaw = `onUpdate:${name}`;\n const useModelToggleEmits2 = [updateEventKey];\n const useModelToggleProps2 = {\n [name]: _prop,\n [updateEventKeyRaw]: _event\n };\n const useModelToggle2 = ({\n indicator,\n toggleReason,\n shouldHideWhenRouteChanges,\n shouldProceed,\n onShow,\n onHide\n }) => {\n const instance = getCurrentInstance();\n const { emit } = instance;\n const props = instance.props;\n const hasUpdateHandler = computed(() => isFunction(props[updateEventKeyRaw]));\n const isModelBindingAbsent = computed(() => props[name] === null);\n const doShow = (event) => {\n if (indicator.value === true) {\n return;\n }\n indicator.value = true;\n if (toggleReason) {\n toggleReason.value = event;\n }\n if (isFunction(onShow)) {\n onShow(event);\n }\n };\n const doHide = (event) => {\n if (indicator.value === false) {\n return;\n }\n indicator.value = false;\n if (toggleReason) {\n toggleReason.value = event;\n }\n if (isFunction(onHide)) {\n onHide(event);\n }\n };\n const show = (event) => {\n if (props.disabled === true || isFunction(shouldProceed) && !shouldProceed())\n return;\n const shouldEmit = hasUpdateHandler.value && isClient;\n if (shouldEmit) {\n emit(updateEventKey, true);\n }\n if (isModelBindingAbsent.value || !shouldEmit) {\n doShow(event);\n }\n };\n const hide = (event) => {\n if (props.disabled === true || !isClient)\n return;\n const shouldEmit = hasUpdateHandler.value && isClient;\n if (shouldEmit) {\n emit(updateEventKey, false);\n }\n if (isModelBindingAbsent.value || !shouldEmit) {\n doHide(event);\n }\n };\n const onChange = (val) => {\n if (!isBoolean(val))\n return;\n if (props.disabled && val) {\n if (hasUpdateHandler.value) {\n emit(updateEventKey, false);\n }\n } else if (indicator.value !== val) {\n if (val) {\n doShow();\n } else {\n doHide();\n }\n }\n };\n const toggle = () => {\n if (indicator.value) {\n hide();\n } else {\n show();\n }\n };\n watch(() => props[name], onChange);\n if (shouldHideWhenRouteChanges && instance.appContext.config.globalProperties.$route !== void 0) {\n watch(() => ({\n ...instance.proxy.$route\n }), () => {\n if (shouldHideWhenRouteChanges.value && indicator.value) {\n hide();\n }\n });\n }\n onMounted(() => {\n onChange(props[name]);\n });\n return {\n hide,\n show,\n toggle,\n hasUpdateHandler\n };\n };\n return {\n useModelToggle: useModelToggle2,\n useModelToggleProps: useModelToggleProps2,\n useModelToggleEmits: useModelToggleEmits2\n };\n};\nconst { useModelToggle, useModelToggleProps, useModelToggleEmits } = createModelToggleComposable(\"modelValue\");\n\nexport { createModelToggleComposable, useModelToggle, useModelToggleEmits, useModelToggleProps };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, computed } from 'vue';\n\nconst useProp = (name) => {\n const vm = getCurrentInstance();\n return computed(() => {\n var _a, _b;\n return (_b = (_a = vm == null ? void 0 : vm.proxy) == null ? void 0 : _a.$props) == null ? void 0 : _b[name];\n });\n};\n\nexport { useProp };\n//# sourceMappingURL=index.mjs.map\n","import { computed, unref, shallowRef, ref, watch, onBeforeUnmount } from 'vue';\nimport { createPopper } from '@popperjs/core';\nimport { fromPairs } from 'lodash-unified';\n\nconst usePopper = (referenceElementRef, popperElementRef, opts = {}) => {\n const stateUpdater = {\n name: \"updateState\",\n enabled: true,\n phase: \"write\",\n fn: ({ state }) => {\n const derivedState = deriveState(state);\n Object.assign(states.value, derivedState);\n },\n requires: [\"computeStyles\"]\n };\n const options = computed(() => {\n const { onFirstUpdate, placement, strategy, modifiers } = unref(opts);\n return {\n onFirstUpdate,\n placement: placement || \"bottom\",\n strategy: strategy || \"absolute\",\n modifiers: [\n ...modifiers || [],\n stateUpdater,\n { name: \"applyStyles\", enabled: false }\n ]\n };\n });\n const instanceRef = shallowRef();\n const states = ref({\n styles: {\n popper: {\n position: unref(options).strategy,\n left: \"0\",\n top: \"0\"\n },\n arrow: {\n position: \"absolute\"\n }\n },\n attributes: {}\n });\n const destroy = () => {\n if (!instanceRef.value)\n return;\n instanceRef.value.destroy();\n instanceRef.value = void 0;\n };\n watch(options, (newOptions) => {\n const instance = unref(instanceRef);\n if (instance) {\n instance.setOptions(newOptions);\n }\n }, {\n deep: true\n });\n watch([referenceElementRef, popperElementRef], ([referenceElement, popperElement]) => {\n destroy();\n if (!referenceElement || !popperElement)\n return;\n instanceRef.value = createPopper(referenceElement, popperElement, unref(options));\n });\n onBeforeUnmount(() => {\n destroy();\n });\n return {\n state: computed(() => {\n var _a;\n return { ...((_a = unref(instanceRef)) == null ? void 0 : _a.state) || {} };\n }),\n styles: computed(() => unref(states).styles),\n attributes: computed(() => unref(states).attributes),\n update: () => {\n var _a;\n return (_a = unref(instanceRef)) == null ? void 0 : _a.update();\n },\n forceUpdate: () => {\n var _a;\n return (_a = unref(instanceRef)) == null ? void 0 : _a.forceUpdate();\n },\n instanceRef: computed(() => unref(instanceRef))\n };\n};\nfunction deriveState(state) {\n const elements = Object.keys(state.elements);\n const styles = fromPairs(elements.map((element) => [element, state.styles[element] || {}]));\n const attributes = fromPairs(elements.map((element) => [element, state.attributes[element]]));\n return {\n styles,\n attributes\n };\n}\n\nexport { usePopper };\n//# sourceMappingURL=index.mjs.map\n","import { NOOP } from '@vue/shared';\n\nconst useSameTarget = (handleClick) => {\n if (!handleClick) {\n return { onClick: NOOP, onMousedown: NOOP, onMouseup: NOOP };\n }\n let mousedownTarget = false;\n let mouseupTarget = false;\n const onClick = (e) => {\n if (mousedownTarget && mouseupTarget) {\n handleClick(e);\n }\n mousedownTarget = mouseupTarget = false;\n };\n const onMousedown = (e) => {\n mousedownTarget = e.target === e.currentTarget;\n };\n const onMouseup = (e) => {\n mouseupTarget = e.target === e.currentTarget;\n };\n return { onClick, onMousedown, onMouseup };\n};\n\nexport { useSameTarget };\n//# sourceMappingURL=index.mjs.map\n","import { tryOnScopeDispose } from '@vueuse/core';\n\nfunction useTimeout() {\n let timeoutHandle;\n const registerTimeout = (fn, delay) => {\n cancelTimeout();\n timeoutHandle = window.setTimeout(fn, delay);\n };\n const cancelTimeout = () => window.clearTimeout(timeoutHandle);\n tryOnScopeDispose(() => cancelTimeout());\n return {\n registerTimeout,\n cancelTimeout\n };\n}\n\nexport { useTimeout };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, inject, computed, unref } from 'vue';\nimport '../../utils/index.mjs';\nimport { useGetDerivedNamespace } from '../use-namespace/index.mjs';\nimport { isClient } from '@vueuse/core';\nimport { debugWarn } from '../../utils/error.mjs';\n\nconst defaultIdInjection = {\n prefix: Math.floor(Math.random() * 1e4),\n current: 0\n};\nconst ID_INJECTION_KEY = Symbol(\"elIdInjection\");\nconst useIdInjection = () => {\n return getCurrentInstance() ? inject(ID_INJECTION_KEY, defaultIdInjection) : defaultIdInjection;\n};\nconst useId = (deterministicId) => {\n const idInjection = useIdInjection();\n if (!isClient && idInjection === defaultIdInjection) {\n debugWarn(\"IdInjection\", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})`);\n }\n const namespace = useGetDerivedNamespace();\n const idRef = computed(() => unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);\n return idRef;\n};\n\nexport { ID_INJECTION_KEY, useId, useIdInjection };\n//# sourceMappingURL=index.mjs.map\n","import { onMounted, onBeforeUnmount } from 'vue';\nimport '../../utils/index.mjs';\nimport '../../constants/index.mjs';\nimport { EVENT_CODE } from '../../constants/aria.mjs';\nimport { isClient } from '@vueuse/core';\n\nlet registeredEscapeHandlers = [];\nconst cachedHandler = (e) => {\n const event = e;\n if (event.key === EVENT_CODE.esc) {\n registeredEscapeHandlers.forEach((registeredHandler) => registeredHandler(event));\n }\n};\nconst useEscapeKeydown = (handler) => {\n onMounted(() => {\n if (registeredEscapeHandlers.length === 0) {\n document.addEventListener(\"keydown\", cachedHandler);\n }\n if (isClient)\n registeredEscapeHandlers.push(handler);\n });\n onBeforeUnmount(() => {\n registeredEscapeHandlers = registeredEscapeHandlers.filter((registeredHandler) => registeredHandler !== handler);\n if (registeredEscapeHandlers.length === 0) {\n if (isClient)\n document.removeEventListener(\"keydown\", cachedHandler);\n }\n });\n};\n\nexport { useEscapeKeydown };\n//# sourceMappingURL=index.mjs.map\n","import { computed, onBeforeMount } from 'vue';\nimport '../../utils/index.mjs';\nimport { useGetDerivedNamespace } from '../use-namespace/index.mjs';\nimport { useIdInjection } from '../use-id/index.mjs';\nimport { isClient } from '@vueuse/core';\n\nlet cachedContainer;\nconst usePopperContainerId = () => {\n const namespace = useGetDerivedNamespace();\n const idInjection = useIdInjection();\n const id = computed(() => {\n return `${namespace.value}-popper-container-${idInjection.prefix}`;\n });\n const selector = computed(() => `#${id.value}`);\n return {\n id,\n selector\n };\n};\nconst createContainer = (id) => {\n const container = document.createElement(\"div\");\n container.id = id;\n document.body.appendChild(container);\n return container;\n};\nconst usePopperContainer = () => {\n const { id, selector } = usePopperContainerId();\n onBeforeMount(() => {\n if (!isClient)\n return;\n if (process.env.NODE_ENV === \"test\" || !cachedContainer && !document.body.querySelector(selector.value)) {\n cachedContainer = createContainer(id.value);\n }\n });\n return {\n id,\n selector\n };\n};\n\nexport { usePopperContainer, usePopperContainerId };\n//# sourceMappingURL=index.mjs.map\n","import { unref } from 'vue';\nimport '../../utils/index.mjs';\nimport { useTimeout } from '../use-timeout/index.mjs';\nimport { buildProps } from '../../utils/vue/props/runtime.mjs';\nimport { isNumber } from '../../utils/types.mjs';\n\nconst useDelayedToggleProps = buildProps({\n showAfter: {\n type: Number,\n default: 0\n },\n hideAfter: {\n type: Number,\n default: 200\n },\n autoClose: {\n type: Number,\n default: 0\n }\n});\nconst useDelayedToggle = ({\n showAfter,\n hideAfter,\n autoClose,\n open,\n close\n}) => {\n const { registerTimeout } = useTimeout();\n const {\n registerTimeout: registerTimeoutForAutoClose,\n cancelTimeout: cancelTimeoutForAutoClose\n } = useTimeout();\n const onOpen = (event) => {\n registerTimeout(() => {\n open(event);\n const _autoClose = unref(autoClose);\n if (isNumber(_autoClose) && _autoClose > 0) {\n registerTimeoutForAutoClose(() => {\n close(event);\n }, _autoClose);\n }\n }, unref(showAfter));\n };\n const onClose = (event) => {\n cancelTimeoutForAutoClose();\n registerTimeout(() => {\n close(event);\n }, unref(hideAfter));\n };\n return {\n onOpen,\n onClose\n };\n};\n\nexport { useDelayedToggle, useDelayedToggleProps };\n//# sourceMappingURL=index.mjs.map\n","import { provide } from 'vue';\n\nconst FORWARD_REF_INJECTION_KEY = Symbol(\"elForwardRef\");\nconst useForwardRef = (forwardRef) => {\n const setForwardRef = (el) => {\n forwardRef.value = el;\n };\n provide(FORWARD_REF_INJECTION_KEY, {\n setForwardRef\n });\n};\nconst useForwardRefDirective = (setForwardRef) => {\n return {\n mounted(el) {\n setForwardRef(el);\n },\n updated(el) {\n setForwardRef(el);\n },\n unmounted() {\n setForwardRef(null);\n }\n };\n};\n\nexport { FORWARD_REF_INJECTION_KEY, useForwardRef, useForwardRefDirective };\n//# sourceMappingURL=index.mjs.map\n","import { ref, getCurrentInstance, inject, computed, unref } from 'vue';\nimport '../../utils/index.mjs';\nimport { isNumber } from '../../utils/types.mjs';\n\nconst zIndex = ref(0);\nconst defaultInitialZIndex = 2e3;\nconst zIndexContextKey = Symbol(\"zIndexContextKey\");\nconst useZIndex = (zIndexOverrides) => {\n const zIndexInjection = zIndexOverrides || (getCurrentInstance() ? inject(zIndexContextKey, void 0) : void 0);\n const initialZIndex = computed(() => {\n const zIndexFromInjection = unref(zIndexInjection);\n return isNumber(zIndexFromInjection) ? zIndexFromInjection : defaultInitialZIndex;\n });\n const currentZIndex = computed(() => initialZIndex.value + zIndex.value);\n const nextZIndex = () => {\n zIndex.value++;\n return currentZIndex.value;\n };\n return {\n initialZIndex,\n currentZIndex,\n nextZIndex\n };\n};\n\nexport { defaultInitialZIndex, useZIndex, zIndexContextKey };\n//# sourceMappingURL=index.mjs.map\n","import { isVNode, shallowRef } from 'vue';\nimport '../../utils/index.mjs';\nimport { flattedChildren } from '../../utils/vue/vnode.mjs';\n\nconst getOrderedChildren = (vm, childComponentName, children) => {\n const nodes = flattedChildren(vm.subTree).filter((n) => {\n var _a;\n return isVNode(n) && ((_a = n.type) == null ? void 0 : _a.name) === childComponentName && !!n.component;\n });\n const uids = nodes.map((n) => n.component.uid);\n return uids.map((uid) => children[uid]).filter((p) => !!p);\n};\nconst useOrderedChildren = (vm, childComponentName) => {\n const children = {};\n const orderedChildren = shallowRef([]);\n const addChild = (child) => {\n children[child.uid] = child;\n orderedChildren.value = getOrderedChildren(vm, childComponentName, children);\n };\n const removeChild = (uid) => {\n delete children[uid];\n orderedChildren.value = orderedChildren.value.filter((children2) => children2.uid !== uid);\n };\n return {\n children: orderedChildren,\n addChild,\n removeChild\n };\n};\n\nexport { useOrderedChildren };\n//# sourceMappingURL=index.mjs.map\n","import { inject, computed, unref } from 'vue';\nimport '../../utils/index.mjs';\nimport '../../constants/index.mjs';\nimport { buildProp } from '../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../constants/size.mjs';\n\nconst useSizeProp = buildProp({\n type: String,\n values: componentSizes,\n required: false\n});\nconst useSizeProps = {\n size: useSizeProp\n};\nconst SIZE_INJECTION_KEY = Symbol(\"size\");\nconst useGlobalSize = () => {\n const injectedSize = inject(SIZE_INJECTION_KEY, {});\n return computed(() => {\n return unref(injectedSize.size) || \"\";\n });\n};\n\nexport { SIZE_INJECTION_KEY, useGlobalSize, useSizeProp, useSizeProps };\n//# sourceMappingURL=index.mjs.map\n","const configProviderContextKey = Symbol();\n\nexport { configProviderContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { ref, getCurrentInstance, inject, computed, unref, provide } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { configProviderContextKey } from '../constants.mjs';\nimport { useNamespace, defaultNamespace, namespaceContextKey } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale, localeContextKey } from '../../../../hooks/use-locale/index.mjs';\nimport { useZIndex, defaultInitialZIndex, zIndexContextKey } from '../../../../hooks/use-z-index/index.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\nimport { SIZE_INJECTION_KEY } from '../../../../hooks/use-size/index.mjs';\nimport { keysOf } from '../../../../utils/objects.mjs';\n\nconst globalConfig = ref();\nfunction useGlobalConfig(key, defaultValue = void 0) {\n const config = getCurrentInstance() ? inject(configProviderContextKey, globalConfig) : globalConfig;\n if (key) {\n return computed(() => {\n var _a, _b;\n return (_b = (_a = config.value) == null ? void 0 : _a[key]) != null ? _b : defaultValue;\n });\n } else {\n return config;\n }\n}\nfunction useGlobalComponentSettings(block, sizeFallback) {\n const config = useGlobalConfig();\n const ns = useNamespace(block, computed(() => {\n var _a;\n return ((_a = config.value) == null ? void 0 : _a.namespace) || defaultNamespace;\n }));\n const locale = useLocale(computed(() => {\n var _a;\n return (_a = config.value) == null ? void 0 : _a.locale;\n }));\n const zIndex = useZIndex(computed(() => {\n var _a;\n return ((_a = config.value) == null ? void 0 : _a.zIndex) || defaultInitialZIndex;\n }));\n const size = computed(() => {\n var _a;\n return unref(sizeFallback) || ((_a = config.value) == null ? void 0 : _a.size) || \"\";\n });\n provideGlobalConfig(computed(() => unref(config) || {}));\n return {\n ns,\n locale,\n zIndex,\n size\n };\n}\nconst provideGlobalConfig = (config, app, global = false) => {\n var _a;\n const inSetup = !!getCurrentInstance();\n const oldConfig = inSetup ? useGlobalConfig() : void 0;\n const provideFn = (_a = app == null ? void 0 : app.provide) != null ? _a : inSetup ? provide : void 0;\n if (!provideFn) {\n debugWarn(\"provideGlobalConfig\", \"provideGlobalConfig() can only be used inside setup().\");\n return;\n }\n const context = computed(() => {\n const cfg = unref(config);\n if (!(oldConfig == null ? void 0 : oldConfig.value))\n return cfg;\n return mergeConfig(oldConfig.value, cfg);\n });\n provideFn(configProviderContextKey, context);\n provideFn(localeContextKey, computed(() => context.value.locale));\n provideFn(namespaceContextKey, computed(() => context.value.namespace));\n provideFn(zIndexContextKey, computed(() => context.value.zIndex));\n provideFn(SIZE_INJECTION_KEY, {\n size: computed(() => context.value.size || \"\")\n });\n if (global || !globalConfig.value) {\n globalConfig.value = context.value;\n }\n return context;\n};\nconst mergeConfig = (a, b) => {\n var _a;\n const keys = [.../* @__PURE__ */ new Set([...keysOf(a), ...keysOf(b)])];\n const obj = {};\n for (const key of keys) {\n obj[key] = (_a = b[key]) != null ? _a : a[key];\n }\n return obj;\n};\n\nexport { provideGlobalConfig, useGlobalComponentSettings, useGlobalConfig };\n//# sourceMappingURL=use-global-config.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\n\nconst configProviderProps = buildProps({\n a11y: {\n type: Boolean,\n default: true\n },\n locale: {\n type: definePropType(Object)\n },\n size: useSizeProp,\n button: {\n type: definePropType(Object)\n },\n experimentalFeatures: {\n type: definePropType(Object)\n },\n keyboardNavigation: {\n type: Boolean,\n default: true\n },\n message: {\n type: definePropType(Object)\n },\n zIndex: Number,\n namespace: {\n type: String,\n default: \"el\"\n }\n});\n\nexport { configProviderProps };\n//# sourceMappingURL=config-provider-props.mjs.map\n","import { defineComponent, watch, renderSlot } from 'vue';\nimport { provideGlobalConfig } from './hooks/use-global-config.mjs';\nimport { configProviderProps } from './config-provider-props.mjs';\n\nconst messageConfig = {};\nconst ConfigProvider = defineComponent({\n name: \"ElConfigProvider\",\n props: configProviderProps,\n setup(props, { slots }) {\n watch(() => props.message, (val) => {\n Object.assign(messageConfig, val != null ? val : {});\n }, { immediate: true, deep: true });\n const config = provideGlobalConfig(props);\n return () => renderSlot(slots, \"default\", { config: config == null ? void 0 : config.value });\n }\n});\n\nexport { ConfigProvider as default, messageConfig };\n//# sourceMappingURL=config-provider.mjs.map\n","import '../../utils/index.mjs';\nimport ConfigProvider from './src/config-provider.mjs';\nexport { messageConfig } from './src/config-provider.mjs';\nexport { configProviderProps } from './src/config-provider-props.mjs';\nexport { configProviderContextKey } from './src/constants.mjs';\nexport { provideGlobalConfig, useGlobalComponentSettings, useGlobalConfig } from './src/hooks/use-global-config.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElConfigProvider = withInstall(ConfigProvider);\n\nexport { ElConfigProvider, ElConfigProvider as default };\n//# sourceMappingURL=index.mjs.map\n","var _export_sfc = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n\nexport { _export_sfc as default };\n//# sourceMappingURL=plugin-vue_export-helper.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst iconProps = buildProps({\n size: {\n type: definePropType([Number, String])\n },\n color: {\n type: String\n }\n});\n\nexport { iconProps };\n//# sourceMappingURL=icon.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, renderSlot } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { iconProps } from './icon.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isUndefined } from '../../../utils/types.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElIcon\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: iconProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"icon\");\n const style = computed(() => {\n const { size, color } = props;\n if (!size && !color)\n return {};\n return {\n fontSize: isUndefined(size) ? void 0 : addUnit(size),\n \"--color\": color\n };\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"i\", mergeProps({\n class: unref(ns).b(),\n style: unref(style)\n }, _ctx.$attrs), [\n renderSlot(_ctx.$slots, \"default\")\n ], 16);\n };\n }\n});\nvar Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue\"]]);\n\nexport { Icon as default };\n//# sourceMappingURL=icon2.mjs.map\n","import '../../utils/index.mjs';\nimport Icon from './src/icon2.mjs';\nexport { iconProps } from './src/icon.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElIcon = withInstall(Icon);\n\nexport { ElIcon, ElIcon as default };\n//# sourceMappingURL=index.mjs.map\n","const formContextKey = Symbol(\"formContextKey\");\nconst formItemContextKey = Symbol(\"formItemContextKey\");\n\nexport { formContextKey, formItemContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { ref, inject, computed, unref } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { formContextKey, formItemContextKey } from '../constants.mjs';\nimport { useProp } from '../../../../hooks/use-prop/index.mjs';\nimport { useGlobalSize } from '../../../../hooks/use-size/index.mjs';\n\nconst useFormSize = (fallback, ignore = {}) => {\n const emptyRef = ref(void 0);\n const size = ignore.prop ? emptyRef : useProp(\"size\");\n const globalConfig = ignore.global ? emptyRef : useGlobalSize();\n const form = ignore.form ? { size: void 0 } : inject(formContextKey, void 0);\n const formItem = ignore.formItem ? { size: void 0 } : inject(formItemContextKey, void 0);\n return computed(() => size.value || unref(fallback) || (formItem == null ? void 0 : formItem.size) || (form == null ? void 0 : form.size) || globalConfig.value || \"\");\n};\nconst useFormDisabled = (fallback) => {\n const disabled = useProp(\"disabled\");\n const form = inject(formContextKey, void 0);\n return computed(() => disabled.value || unref(fallback) || (form == null ? void 0 : form.disabled) || false);\n};\nconst useSize = useFormSize;\nconst useDisabled = useFormDisabled;\n\nexport { useDisabled, useFormDisabled, useFormSize, useSize };\n//# sourceMappingURL=use-form-common-props.mjs.map\n","import { inject, ref, computed, onMounted, watch, toRef, onUnmounted } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { formContextKey, formItemContextKey } from '../constants.mjs';\nimport { useId } from '../../../../hooks/use-id/index.mjs';\n\nconst useFormItem = () => {\n const form = inject(formContextKey, void 0);\n const formItem = inject(formItemContextKey, void 0);\n return {\n form,\n formItem\n };\n};\nconst useFormItemInputId = (props, {\n formItemContext,\n disableIdGeneration,\n disableIdManagement\n}) => {\n if (!disableIdGeneration) {\n disableIdGeneration = ref(false);\n }\n if (!disableIdManagement) {\n disableIdManagement = ref(false);\n }\n const inputId = ref();\n let idUnwatch = void 0;\n const isLabeledByFormItem = computed(() => {\n var _a;\n return !!(!props.label && formItemContext && formItemContext.inputIds && ((_a = formItemContext.inputIds) == null ? void 0 : _a.length) <= 1);\n });\n onMounted(() => {\n idUnwatch = watch([toRef(props, \"id\"), disableIdGeneration], ([id, disableIdGeneration2]) => {\n const newId = id != null ? id : !disableIdGeneration2 ? useId().value : void 0;\n if (newId !== inputId.value) {\n if (formItemContext == null ? void 0 : formItemContext.removeInputId) {\n inputId.value && formItemContext.removeInputId(inputId.value);\n if (!(disableIdManagement == null ? void 0 : disableIdManagement.value) && !disableIdGeneration2 && newId) {\n formItemContext.addInputId(newId);\n }\n }\n inputId.value = newId;\n }\n }, { immediate: true });\n });\n onUnmounted(() => {\n idUnwatch && idUnwatch();\n if (formItemContext == null ? void 0 : formItemContext.removeInputId) {\n inputId.value && formItemContext.removeInputId(inputId.value);\n }\n });\n return {\n isLabeledByFormItem,\n inputId\n };\n};\n\nexport { useFormItem, useFormItemInputId };\n//# sourceMappingURL=use-form-item.mjs.map\n","import '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../../constants/size.mjs';\nimport { isArray, isString } from '@vue/shared';\nimport { isBoolean } from '../../../utils/types.mjs';\n\nconst formMetaProps = buildProps({\n size: {\n type: String,\n values: componentSizes\n },\n disabled: Boolean\n});\nconst formProps = buildProps({\n ...formMetaProps,\n model: Object,\n rules: {\n type: definePropType(Object)\n },\n labelPosition: {\n type: String,\n values: [\"left\", \"right\", \"top\"],\n default: \"right\"\n },\n requireAsteriskPosition: {\n type: String,\n values: [\"left\", \"right\"],\n default: \"left\"\n },\n labelWidth: {\n type: [String, Number],\n default: \"\"\n },\n labelSuffix: {\n type: String,\n default: \"\"\n },\n inline: Boolean,\n inlineMessage: Boolean,\n statusIcon: Boolean,\n showMessage: {\n type: Boolean,\n default: true\n },\n validateOnRuleChange: {\n type: Boolean,\n default: true\n },\n hideRequiredAsterisk: Boolean,\n scrollToError: Boolean,\n scrollIntoViewOptions: {\n type: [Object, Boolean]\n }\n});\nconst formEmits = {\n validate: (prop, isValid, message) => (isArray(prop) || isString(prop)) && isBoolean(isValid) && isString(message)\n};\n\nexport { formEmits, formProps };\n//# sourceMappingURL=form.mjs.map\n","import { ref, computed } from 'vue';\nimport '../../../utils/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { castArray } from 'lodash-unified';\n\nconst SCOPE = \"ElForm\";\nfunction useFormLabelWidth() {\n const potentialLabelWidthArr = ref([]);\n const autoLabelWidth = computed(() => {\n if (!potentialLabelWidthArr.value.length)\n return \"0\";\n const max = Math.max(...potentialLabelWidthArr.value);\n return max ? `${max}px` : \"\";\n });\n function getLabelWidthIndex(width) {\n const index = potentialLabelWidthArr.value.indexOf(width);\n if (index === -1 && autoLabelWidth.value === \"0\") {\n debugWarn(SCOPE, `unexpected width ${width}`);\n }\n return index;\n }\n function registerLabelWidth(val, oldVal) {\n if (val && oldVal) {\n const index = getLabelWidthIndex(oldVal);\n potentialLabelWidthArr.value.splice(index, 1, val);\n } else if (val) {\n potentialLabelWidthArr.value.push(val);\n }\n }\n function deregisterLabelWidth(val) {\n const index = getLabelWidthIndex(val);\n if (index > -1) {\n potentialLabelWidthArr.value.splice(index, 1);\n }\n }\n return {\n autoLabelWidth,\n registerLabelWidth,\n deregisterLabelWidth\n };\n}\nconst filterFields = (fields, props) => {\n const normalized = castArray(props);\n return normalized.length > 0 ? fields.filter((field) => field.prop && normalized.includes(field.prop)) : fields;\n};\n\nexport { filterFields, useFormLabelWidth };\n//# sourceMappingURL=utils.mjs.map\n","import { defineComponent, computed, watch, provide, reactive, toRefs, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport './hooks/index.mjs';\nimport { formContextKey } from './constants.mjs';\nimport { formProps, formEmits } from './form.mjs';\nimport { filterFields, useFormLabelWidth } from './utils.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useFormSize } from './hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst COMPONENT_NAME = \"ElForm\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: formProps,\n emits: formEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const fields = [];\n const formSize = useFormSize();\n const ns = useNamespace(\"form\");\n const formClasses = computed(() => {\n const { labelPosition, inline } = props;\n return [\n ns.b(),\n ns.m(formSize.value || \"default\"),\n {\n [ns.m(`label-${labelPosition}`)]: labelPosition,\n [ns.m(\"inline\")]: inline\n }\n ];\n });\n const addField = (field) => {\n fields.push(field);\n };\n const removeField = (field) => {\n if (field.prop) {\n fields.splice(fields.indexOf(field), 1);\n }\n };\n const resetFields = (properties = []) => {\n if (!props.model) {\n debugWarn(COMPONENT_NAME, \"model is required for resetFields to work.\");\n return;\n }\n filterFields(fields, properties).forEach((field) => field.resetField());\n };\n const clearValidate = (props2 = []) => {\n filterFields(fields, props2).forEach((field) => field.clearValidate());\n };\n const isValidatable = computed(() => {\n const hasModel = !!props.model;\n if (!hasModel) {\n debugWarn(COMPONENT_NAME, \"model is required for validate to work.\");\n }\n return hasModel;\n });\n const obtainValidateFields = (props2) => {\n if (fields.length === 0)\n return [];\n const filteredFields = filterFields(fields, props2);\n if (!filteredFields.length) {\n debugWarn(COMPONENT_NAME, \"please pass correct props!\");\n return [];\n }\n return filteredFields;\n };\n const validate = async (callback) => validateField(void 0, callback);\n const doValidateField = async (props2 = []) => {\n if (!isValidatable.value)\n return false;\n const fields2 = obtainValidateFields(props2);\n if (fields2.length === 0)\n return true;\n let validationErrors = {};\n for (const field of fields2) {\n try {\n await field.validate(\"\");\n } catch (fields3) {\n validationErrors = {\n ...validationErrors,\n ...fields3\n };\n }\n }\n if (Object.keys(validationErrors).length === 0)\n return true;\n return Promise.reject(validationErrors);\n };\n const validateField = async (modelProps = [], callback) => {\n const shouldThrow = !isFunction(callback);\n try {\n const result = await doValidateField(modelProps);\n if (result === true) {\n callback == null ? void 0 : callback(result);\n }\n return result;\n } catch (e) {\n if (e instanceof Error)\n throw e;\n const invalidFields = e;\n if (props.scrollToError) {\n scrollToField(Object.keys(invalidFields)[0]);\n }\n callback == null ? void 0 : callback(false, invalidFields);\n return shouldThrow && Promise.reject(invalidFields);\n }\n };\n const scrollToField = (prop) => {\n var _a;\n const field = filterFields(fields, prop)[0];\n if (field) {\n (_a = field.$el) == null ? void 0 : _a.scrollIntoView(props.scrollIntoViewOptions);\n }\n };\n watch(() => props.rules, () => {\n if (props.validateOnRuleChange) {\n validate().catch((err) => debugWarn(err));\n }\n }, { deep: true });\n provide(formContextKey, reactive({\n ...toRefs(props),\n emit,\n resetFields,\n clearValidate,\n validateField,\n addField,\n removeField,\n ...useFormLabelWidth()\n }));\n expose({\n validate,\n validateField,\n resetFields,\n clearValidate,\n scrollToField\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"form\", {\n class: normalizeClass(unref(formClasses))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nvar Form = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue\"]]);\n\nexport { Form as default };\n//# sourceMappingURL=form2.mjs.map\n","import '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../../constants/size.mjs';\n\nconst formItemValidateStates = [\n \"\",\n \"error\",\n \"validating\",\n \"success\"\n];\nconst formItemProps = buildProps({\n label: String,\n labelWidth: {\n type: [String, Number],\n default: \"\"\n },\n prop: {\n type: definePropType([String, Array])\n },\n required: {\n type: Boolean,\n default: void 0\n },\n rules: {\n type: definePropType([Object, Array])\n },\n error: String,\n validateStatus: {\n type: String,\n values: formItemValidateStates\n },\n for: String,\n inlineMessage: {\n type: [String, Boolean],\n default: \"\"\n },\n showMessage: {\n type: Boolean,\n default: true\n },\n size: {\n type: String,\n values: componentSizes\n }\n});\n\nexport { formItemProps, formItemValidateStates };\n//# sourceMappingURL=form-item.mjs.map\n","import { defineComponent, inject, ref, nextTick, onMounted, onBeforeUnmount, onUpdated, watch, computed, createVNode, Fragment } from 'vue';\nimport { useResizeObserver } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { formContextKey, formItemContextKey } from './constants.mjs';\nimport { throwError } from '../../../utils/error.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst COMPONENT_NAME = \"ElLabelWrap\";\nvar FormLabelWrap = defineComponent({\n name: COMPONENT_NAME,\n props: {\n isAutoWidth: Boolean,\n updateAll: Boolean\n },\n setup(props, {\n slots\n }) {\n const formContext = inject(formContextKey, void 0);\n const formItemContext = inject(formItemContextKey);\n if (!formItemContext)\n throwError(COMPONENT_NAME, \"usage: \");\n const ns = useNamespace(\"form\");\n const el = ref();\n const computedWidth = ref(0);\n const getLabelWidth = () => {\n var _a;\n if ((_a = el.value) == null ? void 0 : _a.firstElementChild) {\n const width = window.getComputedStyle(el.value.firstElementChild).width;\n return Math.ceil(Number.parseFloat(width));\n } else {\n return 0;\n }\n };\n const updateLabelWidth = (action = \"update\") => {\n nextTick(() => {\n if (slots.default && props.isAutoWidth) {\n if (action === \"update\") {\n computedWidth.value = getLabelWidth();\n } else if (action === \"remove\") {\n formContext == null ? void 0 : formContext.deregisterLabelWidth(computedWidth.value);\n }\n }\n });\n };\n const updateLabelWidthFn = () => updateLabelWidth(\"update\");\n onMounted(() => {\n updateLabelWidthFn();\n });\n onBeforeUnmount(() => {\n updateLabelWidth(\"remove\");\n });\n onUpdated(() => updateLabelWidthFn());\n watch(computedWidth, (val, oldVal) => {\n if (props.updateAll) {\n formContext == null ? void 0 : formContext.registerLabelWidth(val, oldVal);\n }\n });\n useResizeObserver(computed(() => {\n var _a, _b;\n return (_b = (_a = el.value) == null ? void 0 : _a.firstElementChild) != null ? _b : null;\n }), updateLabelWidthFn);\n return () => {\n var _a, _b;\n if (!slots)\n return null;\n const {\n isAutoWidth\n } = props;\n if (isAutoWidth) {\n const autoLabelWidth = formContext == null ? void 0 : formContext.autoLabelWidth;\n const hasLabel = formItemContext == null ? void 0 : formItemContext.hasLabel;\n const style = {};\n if (hasLabel && autoLabelWidth && autoLabelWidth !== \"auto\") {\n const marginWidth = Math.max(0, Number.parseInt(autoLabelWidth, 10) - computedWidth.value);\n const marginPosition = formContext.labelPosition === \"left\" ? \"marginRight\" : \"marginLeft\";\n if (marginWidth) {\n style[marginPosition] = `${marginWidth}px`;\n }\n }\n return createVNode(\"div\", {\n \"ref\": el,\n \"class\": [ns.be(\"item\", \"label-wrap\")],\n \"style\": style\n }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);\n } else {\n return createVNode(Fragment, {\n \"ref\": el\n }, [(_b = slots.default) == null ? void 0 : _b.call(slots)]);\n }\n };\n }\n});\n\nexport { FormLabelWrap as default };\n//# sourceMappingURL=form-label-wrap.mjs.map\n","import { defineComponent, useSlots, inject, ref, computed, nextTick, watch, reactive, toRefs, provide, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createBlock, resolveDynamicComponent, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, TransitionGroup } from 'vue';\nimport AsyncValidator from 'async-validator';\nimport { castArray, clone } from 'lodash-unified';\nimport { refDebounced } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport './hooks/index.mjs';\nimport { formItemProps } from './form-item.mjs';\nimport FormLabelWrap from './form-label-wrap.mjs';\nimport { formContextKey, formItemContextKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useFormSize } from './hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\nimport { isBoolean } from '../../../utils/types.mjs';\nimport { isString, isFunction } from '@vue/shared';\nimport { getProp } from '../../../utils/objects.mjs';\n\nconst _hoisted_1 = [\"role\", \"aria-labelledby\"];\nconst __default__ = defineComponent({\n name: \"ElFormItem\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: formItemProps,\n setup(__props, { expose }) {\n const props = __props;\n const slots = useSlots();\n const formContext = inject(formContextKey, void 0);\n const parentFormItemContext = inject(formItemContextKey, void 0);\n const _size = useFormSize(void 0, { formItem: false });\n const ns = useNamespace(\"form-item\");\n const labelId = useId().value;\n const inputIds = ref([]);\n const validateState = ref(\"\");\n const validateStateDebounced = refDebounced(validateState, 100);\n const validateMessage = ref(\"\");\n const formItemRef = ref();\n let initialValue = void 0;\n let isResettingField = false;\n const labelStyle = computed(() => {\n if ((formContext == null ? void 0 : formContext.labelPosition) === \"top\") {\n return {};\n }\n const labelWidth = addUnit(props.labelWidth || (formContext == null ? void 0 : formContext.labelWidth) || \"\");\n if (labelWidth)\n return { width: labelWidth };\n return {};\n });\n const contentStyle = computed(() => {\n if ((formContext == null ? void 0 : formContext.labelPosition) === \"top\" || (formContext == null ? void 0 : formContext.inline)) {\n return {};\n }\n if (!props.label && !props.labelWidth && isNested) {\n return {};\n }\n const labelWidth = addUnit(props.labelWidth || (formContext == null ? void 0 : formContext.labelWidth) || \"\");\n if (!props.label && !slots.label) {\n return { marginLeft: labelWidth };\n }\n return {};\n });\n const formItemClasses = computed(() => [\n ns.b(),\n ns.m(_size.value),\n ns.is(\"error\", validateState.value === \"error\"),\n ns.is(\"validating\", validateState.value === \"validating\"),\n ns.is(\"success\", validateState.value === \"success\"),\n ns.is(\"required\", isRequired.value || props.required),\n ns.is(\"no-asterisk\", formContext == null ? void 0 : formContext.hideRequiredAsterisk),\n (formContext == null ? void 0 : formContext.requireAsteriskPosition) === \"right\" ? \"asterisk-right\" : \"asterisk-left\",\n { [ns.m(\"feedback\")]: formContext == null ? void 0 : formContext.statusIcon }\n ]);\n const _inlineMessage = computed(() => isBoolean(props.inlineMessage) ? props.inlineMessage : (formContext == null ? void 0 : formContext.inlineMessage) || false);\n const validateClasses = computed(() => [\n ns.e(\"error\"),\n { [ns.em(\"error\", \"inline\")]: _inlineMessage.value }\n ]);\n const propString = computed(() => {\n if (!props.prop)\n return \"\";\n return isString(props.prop) ? props.prop : props.prop.join(\".\");\n });\n const hasLabel = computed(() => {\n return !!(props.label || slots.label);\n });\n const labelFor = computed(() => {\n return props.for || inputIds.value.length === 1 ? inputIds.value[0] : void 0;\n });\n const isGroup = computed(() => {\n return !labelFor.value && hasLabel.value;\n });\n const isNested = !!parentFormItemContext;\n const fieldValue = computed(() => {\n const model = formContext == null ? void 0 : formContext.model;\n if (!model || !props.prop) {\n return;\n }\n return getProp(model, props.prop).value;\n });\n const normalizedRules = computed(() => {\n const { required } = props;\n const rules = [];\n if (props.rules) {\n rules.push(...castArray(props.rules));\n }\n const formRules = formContext == null ? void 0 : formContext.rules;\n if (formRules && props.prop) {\n const _rules = getProp(formRules, props.prop).value;\n if (_rules) {\n rules.push(...castArray(_rules));\n }\n }\n if (required !== void 0) {\n const requiredRules = rules.map((rule, i) => [rule, i]).filter(([rule]) => Object.keys(rule).includes(\"required\"));\n if (requiredRules.length > 0) {\n for (const [rule, i] of requiredRules) {\n if (rule.required === required)\n continue;\n rules[i] = { ...rule, required };\n }\n } else {\n rules.push({ required });\n }\n }\n return rules;\n });\n const validateEnabled = computed(() => normalizedRules.value.length > 0);\n const getFilteredRule = (trigger) => {\n const rules = normalizedRules.value;\n return rules.filter((rule) => {\n if (!rule.trigger || !trigger)\n return true;\n if (Array.isArray(rule.trigger)) {\n return rule.trigger.includes(trigger);\n } else {\n return rule.trigger === trigger;\n }\n }).map(({ trigger: trigger2, ...rule }) => rule);\n };\n const isRequired = computed(() => normalizedRules.value.some((rule) => rule.required));\n const shouldShowError = computed(() => {\n var _a;\n return validateStateDebounced.value === \"error\" && props.showMessage && ((_a = formContext == null ? void 0 : formContext.showMessage) != null ? _a : true);\n });\n const currentLabel = computed(() => `${props.label || \"\"}${(formContext == null ? void 0 : formContext.labelSuffix) || \"\"}`);\n const setValidationState = (state) => {\n validateState.value = state;\n };\n const onValidationFailed = (error) => {\n var _a, _b;\n const { errors, fields } = error;\n if (!errors || !fields) {\n console.error(error);\n }\n setValidationState(\"error\");\n validateMessage.value = errors ? (_b = (_a = errors == null ? void 0 : errors[0]) == null ? void 0 : _a.message) != null ? _b : `${props.prop} is required` : \"\";\n formContext == null ? void 0 : formContext.emit(\"validate\", props.prop, false, validateMessage.value);\n };\n const onValidationSucceeded = () => {\n setValidationState(\"success\");\n formContext == null ? void 0 : formContext.emit(\"validate\", props.prop, true, \"\");\n };\n const doValidate = async (rules) => {\n const modelName = propString.value;\n const validator = new AsyncValidator({\n [modelName]: rules\n });\n return validator.validate({ [modelName]: fieldValue.value }, { firstFields: true }).then(() => {\n onValidationSucceeded();\n return true;\n }).catch((err) => {\n onValidationFailed(err);\n return Promise.reject(err);\n });\n };\n const validate = async (trigger, callback) => {\n if (isResettingField || !props.prop) {\n return false;\n }\n const hasCallback = isFunction(callback);\n if (!validateEnabled.value) {\n callback == null ? void 0 : callback(false);\n return false;\n }\n const rules = getFilteredRule(trigger);\n if (rules.length === 0) {\n callback == null ? void 0 : callback(true);\n return true;\n }\n setValidationState(\"validating\");\n return doValidate(rules).then(() => {\n callback == null ? void 0 : callback(true);\n return true;\n }).catch((err) => {\n const { fields } = err;\n callback == null ? void 0 : callback(false, fields);\n return hasCallback ? false : Promise.reject(fields);\n });\n };\n const clearValidate = () => {\n setValidationState(\"\");\n validateMessage.value = \"\";\n isResettingField = false;\n };\n const resetField = async () => {\n const model = formContext == null ? void 0 : formContext.model;\n if (!model || !props.prop)\n return;\n const computedValue = getProp(model, props.prop);\n isResettingField = true;\n computedValue.value = clone(initialValue);\n await nextTick();\n clearValidate();\n isResettingField = false;\n };\n const addInputId = (id) => {\n if (!inputIds.value.includes(id)) {\n inputIds.value.push(id);\n }\n };\n const removeInputId = (id) => {\n inputIds.value = inputIds.value.filter((listId) => listId !== id);\n };\n watch(() => props.error, (val) => {\n validateMessage.value = val || \"\";\n setValidationState(val ? \"error\" : \"\");\n }, { immediate: true });\n watch(() => props.validateStatus, (val) => setValidationState(val || \"\"));\n const context = reactive({\n ...toRefs(props),\n $el: formItemRef,\n size: _size,\n validateState,\n labelId,\n inputIds,\n isGroup,\n hasLabel,\n addInputId,\n removeInputId,\n resetField,\n clearValidate,\n validate\n });\n provide(formItemContextKey, context);\n onMounted(() => {\n if (props.prop) {\n formContext == null ? void 0 : formContext.addField(context);\n initialValue = clone(fieldValue.value);\n }\n });\n onBeforeUnmount(() => {\n formContext == null ? void 0 : formContext.removeField(context);\n });\n expose({\n size: _size,\n validateMessage,\n validateState,\n validate,\n clearValidate,\n resetField\n });\n return (_ctx, _cache) => {\n var _a;\n return openBlock(), createElementBlock(\"div\", {\n ref_key: \"formItemRef\",\n ref: formItemRef,\n class: normalizeClass(unref(formItemClasses)),\n role: unref(isGroup) ? \"group\" : void 0,\n \"aria-labelledby\": unref(isGroup) ? unref(labelId) : void 0\n }, [\n createVNode(unref(FormLabelWrap), {\n \"is-auto-width\": unref(labelStyle).width === \"auto\",\n \"update-all\": ((_a = unref(formContext)) == null ? void 0 : _a.labelWidth) === \"auto\"\n }, {\n default: withCtx(() => [\n unref(hasLabel) ? (openBlock(), createBlock(resolveDynamicComponent(unref(labelFor) ? \"label\" : \"div\"), {\n key: 0,\n id: unref(labelId),\n for: unref(labelFor),\n class: normalizeClass(unref(ns).e(\"label\")),\n style: normalizeStyle(unref(labelStyle))\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"label\", { label: unref(currentLabel) }, () => [\n createTextVNode(toDisplayString(unref(currentLabel)), 1)\n ])\n ]),\n _: 3\n }, 8, [\"id\", \"for\", \"class\", \"style\"])) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"is-auto-width\", \"update-all\"]),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"content\")),\n style: normalizeStyle(unref(contentStyle))\n }, [\n renderSlot(_ctx.$slots, \"default\"),\n createVNode(TransitionGroup, {\n name: `${unref(ns).namespace.value}-zoom-in-top`\n }, {\n default: withCtx(() => [\n unref(shouldShowError) ? renderSlot(_ctx.$slots, \"error\", {\n key: 0,\n error: validateMessage.value\n }, () => [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(validateClasses))\n }, toDisplayString(validateMessage.value), 3)\n ]) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"name\"])\n ], 6)\n ], 10, _hoisted_1);\n };\n }\n});\nvar FormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue\"]]);\n\nexport { FormItem as default };\n//# sourceMappingURL=form-item2.mjs.map\n","import '../../utils/index.mjs';\nimport Form from './src/form2.mjs';\nimport FormItem from './src/form-item2.mjs';\nexport { formEmits, formProps } from './src/form.mjs';\nexport { formItemProps, formItemValidateStates } from './src/form-item.mjs';\nimport './src/types.mjs';\nexport { formContextKey, formItemContextKey } from './src/constants.mjs';\nimport './src/hooks/index.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\nexport { useDisabled, useFormDisabled, useFormSize, useSize } from './src/hooks/use-form-common-props.mjs';\nexport { useFormItem, useFormItemInputId } from './src/hooks/use-form-item.mjs';\n\nconst ElForm = withInstall(Form, {\n FormItem\n});\nconst ElFormItem = withNoopInstall(FormItem);\n\nexport { ElForm, ElFormItem, ElForm as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { isFirefox } from '../../../utils/browser.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nlet hiddenTextarea = void 0;\nconst HIDDEN_STYLE = `\n height:0 !important;\n visibility:hidden !important;\n ${isFirefox() ? \"\" : \"overflow:hidden !important;\"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`;\nconst CONTEXT_STYLE = [\n \"letter-spacing\",\n \"line-height\",\n \"padding-top\",\n \"padding-bottom\",\n \"font-family\",\n \"font-weight\",\n \"font-size\",\n \"text-rendering\",\n \"text-transform\",\n \"width\",\n \"text-indent\",\n \"padding-left\",\n \"padding-right\",\n \"border-width\",\n \"box-sizing\"\n];\nfunction calculateNodeStyling(targetElement) {\n const style = window.getComputedStyle(targetElement);\n const boxSizing = style.getPropertyValue(\"box-sizing\");\n const paddingSize = Number.parseFloat(style.getPropertyValue(\"padding-bottom\")) + Number.parseFloat(style.getPropertyValue(\"padding-top\"));\n const borderSize = Number.parseFloat(style.getPropertyValue(\"border-bottom-width\")) + Number.parseFloat(style.getPropertyValue(\"border-top-width\"));\n const contextStyle = CONTEXT_STYLE.map((name) => `${name}:${style.getPropertyValue(name)}`).join(\";\");\n return { contextStyle, paddingSize, borderSize, boxSizing };\n}\nfunction calcTextareaHeight(targetElement, minRows = 1, maxRows) {\n var _a;\n if (!hiddenTextarea) {\n hiddenTextarea = document.createElement(\"textarea\");\n document.body.appendChild(hiddenTextarea);\n }\n const { paddingSize, borderSize, boxSizing, contextStyle } = calculateNodeStyling(targetElement);\n hiddenTextarea.setAttribute(\"style\", `${contextStyle};${HIDDEN_STYLE}`);\n hiddenTextarea.value = targetElement.value || targetElement.placeholder || \"\";\n let height = hiddenTextarea.scrollHeight;\n const result = {};\n if (boxSizing === \"border-box\") {\n height = height + borderSize;\n } else if (boxSizing === \"content-box\") {\n height = height - paddingSize;\n }\n hiddenTextarea.value = \"\";\n const singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;\n if (isNumber(minRows)) {\n let minHeight = singleRowHeight * minRows;\n if (boxSizing === \"border-box\") {\n minHeight = minHeight + paddingSize + borderSize;\n }\n height = Math.max(minHeight, height);\n result.minHeight = `${minHeight}px`;\n }\n if (isNumber(maxRows)) {\n let maxHeight = singleRowHeight * maxRows;\n if (boxSizing === \"border-box\") {\n maxHeight = maxHeight + paddingSize + borderSize;\n }\n height = Math.min(maxHeight, height);\n }\n result.height = `${height}px`;\n (_a = hiddenTextarea.parentNode) == null ? void 0 : _a.removeChild(hiddenTextarea);\n hiddenTextarea = void 0;\n return result;\n}\n\nexport { calcTextareaHeight };\n//# sourceMappingURL=utils.mjs.map\n","import { isClient } from '@vueuse/core';\nexport { isClient, isIOS } from '@vueuse/core';\n\nconst isFirefox = () => isClient && /firefox/i.test(window.navigator.userAgent);\n\nexport { isFirefox };\n//# sourceMappingURL=browser.mjs.map\n","import { isString } from '@vue/shared';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\n\nconst inputProps = buildProps({\n id: {\n type: String,\n default: void 0\n },\n size: useSizeProp,\n disabled: Boolean,\n modelValue: {\n type: definePropType([\n String,\n Number,\n Object\n ]),\n default: \"\"\n },\n type: {\n type: String,\n default: \"text\"\n },\n resize: {\n type: String,\n values: [\"none\", \"both\", \"horizontal\", \"vertical\"]\n },\n autosize: {\n type: definePropType([Boolean, Object]),\n default: false\n },\n autocomplete: {\n type: String,\n default: \"off\"\n },\n formatter: {\n type: Function\n },\n parser: {\n type: Function\n },\n placeholder: {\n type: String\n },\n form: {\n type: String\n },\n readonly: {\n type: Boolean,\n default: false\n },\n clearable: {\n type: Boolean,\n default: false\n },\n showPassword: {\n type: Boolean,\n default: false\n },\n showWordLimit: {\n type: Boolean,\n default: false\n },\n suffixIcon: {\n type: iconPropType\n },\n prefixIcon: {\n type: iconPropType\n },\n containerRole: {\n type: String,\n default: void 0\n },\n label: {\n type: String,\n default: void 0\n },\n tabindex: {\n type: [String, Number],\n default: 0\n },\n validateEvent: {\n type: Boolean,\n default: true\n },\n inputStyle: {\n type: definePropType([Object, Array, String]),\n default: () => mutable({})\n }\n});\nconst inputEmits = {\n [UPDATE_MODEL_EVENT]: (value) => isString(value),\n input: (value) => isString(value),\n change: (value) => isString(value),\n focus: (evt) => evt instanceof FocusEvent,\n blur: (evt) => evt instanceof FocusEvent,\n clear: () => true,\n mouseleave: (evt) => evt instanceof MouseEvent,\n mouseenter: (evt) => evt instanceof MouseEvent,\n keydown: (evt) => evt instanceof Event,\n compositionstart: (evt) => evt instanceof CompositionEvent,\n compositionupdate: (evt) => evt instanceof CompositionEvent,\n compositionend: (evt) => evt instanceof CompositionEvent\n};\n\nexport { inputEmits, inputProps };\n//# sourceMappingURL=input.mjs.map\n","import { defineComponent, useAttrs, useSlots, computed, shallowRef, ref, nextTick, watch, onMounted, toRef, withDirectives, openBlock, createElementBlock, mergeProps, unref, createCommentVNode, Fragment, normalizeClass, renderSlot, createElementVNode, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, vShow } from 'vue';\nimport { useResizeObserver, isClient } from '@vueuse/core';\nimport { isNil } from 'lodash-unified';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { View, Hide, CircleClose } from '@element-plus/icons-vue';\nimport '../../form/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../constants/index.mjs';\nimport { calcTextareaHeight } from './utils.mjs';\nimport { inputProps, inputEmits } from './input.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useAttrs as useAttrs$1 } from '../../../hooks/use-attrs/index.mjs';\nimport { useFormItem, useFormItemInputId } from '../../form/src/hooks/use-form-item.mjs';\nimport { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFocusController } from '../../../hooks/use-focus-controller/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { ValidateComponentsMap } from '../../../utils/vue/icon.mjs';\nimport { useCursor } from '../../../hooks/use-cursor/index.mjs';\nimport { isObject, NOOP } from '@vue/shared';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { isKorean } from '../../../utils/i18n.mjs';\n\nconst _hoisted_1 = [\"role\"];\nconst _hoisted_2 = [\"id\", \"type\", \"disabled\", \"formatter\", \"parser\", \"readonly\", \"autocomplete\", \"tabindex\", \"aria-label\", \"placeholder\", \"form\"];\nconst _hoisted_3 = [\"id\", \"tabindex\", \"disabled\", \"readonly\", \"autocomplete\", \"aria-label\", \"placeholder\", \"form\"];\nconst __default__ = defineComponent({\n name: \"ElInput\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: inputProps,\n emits: inputEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const rawAttrs = useAttrs();\n const slots = useSlots();\n const containerAttrs = computed(() => {\n const comboBoxAttrs = {};\n if (props.containerRole === \"combobox\") {\n comboBoxAttrs[\"aria-haspopup\"] = rawAttrs[\"aria-haspopup\"];\n comboBoxAttrs[\"aria-owns\"] = rawAttrs[\"aria-owns\"];\n comboBoxAttrs[\"aria-expanded\"] = rawAttrs[\"aria-expanded\"];\n }\n return comboBoxAttrs;\n });\n const containerKls = computed(() => [\n props.type === \"textarea\" ? nsTextarea.b() : nsInput.b(),\n nsInput.m(inputSize.value),\n nsInput.is(\"disabled\", inputDisabled.value),\n nsInput.is(\"exceed\", inputExceed.value),\n {\n [nsInput.b(\"group\")]: slots.prepend || slots.append,\n [nsInput.bm(\"group\", \"append\")]: slots.append,\n [nsInput.bm(\"group\", \"prepend\")]: slots.prepend,\n [nsInput.m(\"prefix\")]: slots.prefix || props.prefixIcon,\n [nsInput.m(\"suffix\")]: slots.suffix || props.suffixIcon || props.clearable || props.showPassword,\n [nsInput.bm(\"suffix\", \"password-clear\")]: showClear.value && showPwdVisible.value\n },\n rawAttrs.class\n ]);\n const wrapperKls = computed(() => [\n nsInput.e(\"wrapper\"),\n nsInput.is(\"focus\", isFocused.value)\n ]);\n const attrs = useAttrs$1({\n excludeKeys: computed(() => {\n return Object.keys(containerAttrs.value);\n })\n });\n const { form, formItem } = useFormItem();\n const { inputId } = useFormItemInputId(props, {\n formItemContext: formItem\n });\n const inputSize = useFormSize();\n const inputDisabled = useFormDisabled();\n const nsInput = useNamespace(\"input\");\n const nsTextarea = useNamespace(\"textarea\");\n const input = shallowRef();\n const textarea = shallowRef();\n const hovering = ref(false);\n const isComposing = ref(false);\n const passwordVisible = ref(false);\n const countStyle = ref();\n const textareaCalcStyle = shallowRef(props.inputStyle);\n const _ref = computed(() => input.value || textarea.value);\n const { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(_ref, {\n afterBlur() {\n var _a;\n if (props.validateEvent) {\n (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"blur\").catch((err) => debugWarn(err));\n }\n }\n });\n const needStatusIcon = computed(() => {\n var _a;\n return (_a = form == null ? void 0 : form.statusIcon) != null ? _a : false;\n });\n const validateState = computed(() => (formItem == null ? void 0 : formItem.validateState) || \"\");\n const validateIcon = computed(() => validateState.value && ValidateComponentsMap[validateState.value]);\n const passwordIcon = computed(() => passwordVisible.value ? View : Hide);\n const containerStyle = computed(() => [\n rawAttrs.style,\n props.inputStyle\n ]);\n const textareaStyle = computed(() => [\n props.inputStyle,\n textareaCalcStyle.value,\n { resize: props.resize }\n ]);\n const nativeInputValue = computed(() => isNil(props.modelValue) ? \"\" : String(props.modelValue));\n const showClear = computed(() => props.clearable && !inputDisabled.value && !props.readonly && !!nativeInputValue.value && (isFocused.value || hovering.value));\n const showPwdVisible = computed(() => props.showPassword && !inputDisabled.value && !props.readonly && !!nativeInputValue.value && (!!nativeInputValue.value || isFocused.value));\n const isWordLimitVisible = computed(() => props.showWordLimit && !!attrs.value.maxlength && (props.type === \"text\" || props.type === \"textarea\") && !inputDisabled.value && !props.readonly && !props.showPassword);\n const textLength = computed(() => nativeInputValue.value.length);\n const inputExceed = computed(() => !!isWordLimitVisible.value && textLength.value > Number(attrs.value.maxlength));\n const suffixVisible = computed(() => !!slots.suffix || !!props.suffixIcon || showClear.value || props.showPassword || isWordLimitVisible.value || !!validateState.value && needStatusIcon.value);\n const [recordCursor, setCursor] = useCursor(input);\n useResizeObserver(textarea, (entries) => {\n onceInitSizeTextarea();\n if (!isWordLimitVisible.value || props.resize !== \"both\")\n return;\n const entry = entries[0];\n const { width } = entry.contentRect;\n countStyle.value = {\n right: `calc(100% - ${width + 15 + 6}px)`\n };\n });\n const resizeTextarea = () => {\n const { type, autosize } = props;\n if (!isClient || type !== \"textarea\" || !textarea.value)\n return;\n if (autosize) {\n const minRows = isObject(autosize) ? autosize.minRows : void 0;\n const maxRows = isObject(autosize) ? autosize.maxRows : void 0;\n const textareaStyle2 = calcTextareaHeight(textarea.value, minRows, maxRows);\n textareaCalcStyle.value = {\n overflowY: \"hidden\",\n ...textareaStyle2\n };\n nextTick(() => {\n textarea.value.offsetHeight;\n textareaCalcStyle.value = textareaStyle2;\n });\n } else {\n textareaCalcStyle.value = {\n minHeight: calcTextareaHeight(textarea.value).minHeight\n };\n }\n };\n const createOnceInitResize = (resizeTextarea2) => {\n let isInit = false;\n return () => {\n var _a;\n if (isInit || !props.autosize)\n return;\n const isElHidden = ((_a = textarea.value) == null ? void 0 : _a.offsetParent) === null;\n if (!isElHidden) {\n resizeTextarea2();\n isInit = true;\n }\n };\n };\n const onceInitSizeTextarea = createOnceInitResize(resizeTextarea);\n const setNativeInputValue = () => {\n const input2 = _ref.value;\n const formatterValue = props.formatter ? props.formatter(nativeInputValue.value) : nativeInputValue.value;\n if (!input2 || input2.value === formatterValue)\n return;\n input2.value = formatterValue;\n };\n const handleInput = async (event) => {\n recordCursor();\n let { value } = event.target;\n if (props.formatter) {\n value = props.parser ? props.parser(value) : value;\n }\n if (isComposing.value)\n return;\n if (value === nativeInputValue.value) {\n setNativeInputValue();\n return;\n }\n emit(UPDATE_MODEL_EVENT, value);\n emit(\"input\", value);\n await nextTick();\n setNativeInputValue();\n setCursor();\n };\n const handleChange = (event) => {\n emit(\"change\", event.target.value);\n };\n const handleCompositionStart = (event) => {\n emit(\"compositionstart\", event);\n isComposing.value = true;\n };\n const handleCompositionUpdate = (event) => {\n var _a;\n emit(\"compositionupdate\", event);\n const text = (_a = event.target) == null ? void 0 : _a.value;\n const lastCharacter = text[text.length - 1] || \"\";\n isComposing.value = !isKorean(lastCharacter);\n };\n const handleCompositionEnd = (event) => {\n emit(\"compositionend\", event);\n if (isComposing.value) {\n isComposing.value = false;\n handleInput(event);\n }\n };\n const handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value;\n focus();\n };\n const focus = async () => {\n var _a;\n await nextTick();\n (_a = _ref.value) == null ? void 0 : _a.focus();\n };\n const blur = () => {\n var _a;\n return (_a = _ref.value) == null ? void 0 : _a.blur();\n };\n const handleMouseLeave = (evt) => {\n hovering.value = false;\n emit(\"mouseleave\", evt);\n };\n const handleMouseEnter = (evt) => {\n hovering.value = true;\n emit(\"mouseenter\", evt);\n };\n const handleKeydown = (evt) => {\n emit(\"keydown\", evt);\n };\n const select = () => {\n var _a;\n (_a = _ref.value) == null ? void 0 : _a.select();\n };\n const clear = () => {\n emit(UPDATE_MODEL_EVENT, \"\");\n emit(\"change\", \"\");\n emit(\"clear\");\n emit(\"input\", \"\");\n };\n watch(() => props.modelValue, () => {\n var _a;\n nextTick(() => resizeTextarea());\n if (props.validateEvent) {\n (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"change\").catch((err) => debugWarn(err));\n }\n });\n watch(nativeInputValue, () => setNativeInputValue());\n watch(() => props.type, async () => {\n await nextTick();\n setNativeInputValue();\n resizeTextarea();\n });\n onMounted(() => {\n if (!props.formatter && props.parser) {\n debugWarn(\"ElInput\", \"If you set the parser, you also need to set the formatter.\");\n }\n setNativeInputValue();\n nextTick(resizeTextarea);\n });\n expose({\n input,\n textarea,\n ref: _ref,\n textareaStyle,\n autosize: toRef(props, \"autosize\"),\n focus,\n blur,\n select,\n clear,\n resizeTextarea\n });\n return (_ctx, _cache) => {\n return withDirectives((openBlock(), createElementBlock(\"div\", mergeProps(unref(containerAttrs), {\n class: unref(containerKls),\n style: unref(containerStyle),\n role: _ctx.containerRole,\n onMouseenter: handleMouseEnter,\n onMouseleave: handleMouseLeave\n }), [\n createCommentVNode(\" input \"),\n _ctx.type !== \"textarea\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createCommentVNode(\" prepend slot \"),\n _ctx.$slots.prepend ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(nsInput).be(\"group\", \"prepend\"))\n }, [\n renderSlot(_ctx.$slots, \"prepend\")\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n ref_key: \"wrapperRef\",\n ref: wrapperRef,\n class: normalizeClass(unref(wrapperKls))\n }, [\n createCommentVNode(\" prefix slot \"),\n _ctx.$slots.prefix || _ctx.prefixIcon ? (openBlock(), createElementBlock(\"span\", {\n key: 0,\n class: normalizeClass(unref(nsInput).e(\"prefix\"))\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(nsInput).e(\"prefix-inner\"))\n }, [\n renderSlot(_ctx.$slots, \"prefix\"),\n _ctx.prefixIcon ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(nsInput).e(\"icon\"))\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.prefixIcon)))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true)\n ], 2)\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"input\", mergeProps({\n id: unref(inputId),\n ref_key: \"input\",\n ref: input,\n class: unref(nsInput).e(\"inner\")\n }, unref(attrs), {\n type: _ctx.showPassword ? passwordVisible.value ? \"text\" : \"password\" : _ctx.type,\n disabled: unref(inputDisabled),\n formatter: _ctx.formatter,\n parser: _ctx.parser,\n readonly: _ctx.readonly,\n autocomplete: _ctx.autocomplete,\n tabindex: _ctx.tabindex,\n \"aria-label\": _ctx.label,\n placeholder: _ctx.placeholder,\n style: _ctx.inputStyle,\n form: props.form,\n onCompositionstart: handleCompositionStart,\n onCompositionupdate: handleCompositionUpdate,\n onCompositionend: handleCompositionEnd,\n onInput: handleInput,\n onFocus: _cache[0] || (_cache[0] = (...args) => unref(handleFocus) && unref(handleFocus)(...args)),\n onBlur: _cache[1] || (_cache[1] = (...args) => unref(handleBlur) && unref(handleBlur)(...args)),\n onChange: handleChange,\n onKeydown: handleKeydown\n }), null, 16, _hoisted_2),\n createCommentVNode(\" suffix slot \"),\n unref(suffixVisible) ? (openBlock(), createElementBlock(\"span\", {\n key: 1,\n class: normalizeClass(unref(nsInput).e(\"suffix\"))\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(nsInput).e(\"suffix-inner\"))\n }, [\n !unref(showClear) || !unref(showPwdVisible) || !unref(isWordLimitVisible) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n renderSlot(_ctx.$slots, \"suffix\"),\n _ctx.suffixIcon ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(nsInput).e(\"icon\"))\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.suffixIcon)))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true)\n ], 64)) : createCommentVNode(\"v-if\", true),\n unref(showClear) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 1,\n class: normalizeClass([unref(nsInput).e(\"icon\"), unref(nsInput).e(\"clear\")]),\n onMousedown: withModifiers(unref(NOOP), [\"prevent\"]),\n onClick: clear\n }, {\n default: withCtx(() => [\n createVNode(unref(CircleClose))\n ]),\n _: 1\n }, 8, [\"class\", \"onMousedown\"])) : createCommentVNode(\"v-if\", true),\n unref(showPwdVisible) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 2,\n class: normalizeClass([unref(nsInput).e(\"icon\"), unref(nsInput).e(\"password\")]),\n onClick: handlePasswordVisible\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(passwordIcon))))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n unref(isWordLimitVisible) ? (openBlock(), createElementBlock(\"span\", {\n key: 3,\n class: normalizeClass(unref(nsInput).e(\"count\"))\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(nsInput).e(\"count-inner\"))\n }, toDisplayString(unref(textLength)) + \" / \" + toDisplayString(unref(attrs).maxlength), 3)\n ], 2)) : createCommentVNode(\"v-if\", true),\n unref(validateState) && unref(validateIcon) && unref(needStatusIcon) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 4,\n class: normalizeClass([\n unref(nsInput).e(\"icon\"),\n unref(nsInput).e(\"validateIcon\"),\n unref(nsInput).is(\"loading\", unref(validateState) === \"validating\")\n ])\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(validateIcon))))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true)\n ], 2)\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 2),\n createCommentVNode(\" append slot \"),\n _ctx.$slots.append ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass(unref(nsInput).be(\"group\", \"append\"))\n }, [\n renderSlot(_ctx.$slots, \"append\")\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n createCommentVNode(\" textarea \"),\n createElementVNode(\"textarea\", mergeProps({\n id: unref(inputId),\n ref_key: \"textarea\",\n ref: textarea,\n class: unref(nsTextarea).e(\"inner\")\n }, unref(attrs), {\n tabindex: _ctx.tabindex,\n disabled: unref(inputDisabled),\n readonly: _ctx.readonly,\n autocomplete: _ctx.autocomplete,\n style: unref(textareaStyle),\n \"aria-label\": _ctx.label,\n placeholder: _ctx.placeholder,\n form: props.form,\n onCompositionstart: handleCompositionStart,\n onCompositionupdate: handleCompositionUpdate,\n onCompositionend: handleCompositionEnd,\n onInput: handleInput,\n onFocus: _cache[2] || (_cache[2] = (...args) => unref(handleFocus) && unref(handleFocus)(...args)),\n onBlur: _cache[3] || (_cache[3] = (...args) => unref(handleBlur) && unref(handleBlur)(...args)),\n onChange: handleChange,\n onKeydown: handleKeydown\n }), null, 16, _hoisted_3),\n unref(isWordLimitVisible) ? (openBlock(), createElementBlock(\"span\", {\n key: 0,\n style: normalizeStyle(countStyle.value),\n class: normalizeClass(unref(nsInput).e(\"count\"))\n }, toDisplayString(unref(textLength)) + \" / \" + toDisplayString(unref(attrs).maxlength), 7)) : createCommentVNode(\"v-if\", true)\n ], 64))\n ], 16, _hoisted_1)), [\n [vShow, _ctx.type !== \"hidden\"]\n ]);\n };\n }\n});\nvar Input = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue\"]]);\n\nexport { Input as default };\n//# sourceMappingURL=input2.mjs.map\n","import '../../utils/index.mjs';\nimport Input from './src/input2.mjs';\nexport { inputEmits, inputProps } from './src/input.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElInput = withInstall(Input);\n\nexport { ElInput, ElInput as default };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, shallowRef, ref, watch } from 'vue';\nimport { useEventListener } from '@vueuse/core';\n\nfunction useFocusController(target, { afterFocus, afterBlur } = {}) {\n const instance = getCurrentInstance();\n const { emit } = instance;\n const wrapperRef = shallowRef();\n const isFocused = ref(false);\n const handleFocus = (event) => {\n if (isFocused.value)\n return;\n isFocused.value = true;\n emit(\"focus\", event);\n afterFocus == null ? void 0 : afterFocus();\n };\n const handleBlur = (event) => {\n var _a;\n if (event.relatedTarget && ((_a = wrapperRef.value) == null ? void 0 : _a.contains(event.relatedTarget)))\n return;\n isFocused.value = false;\n emit(\"blur\", event);\n afterBlur == null ? void 0 : afterBlur();\n };\n const handleClick = () => {\n var _a;\n (_a = target.value) == null ? void 0 : _a.focus();\n };\n watch(wrapperRef, (el) => {\n if (el) {\n el.setAttribute(\"tabindex\", \"-1\");\n }\n });\n useEventListener(wrapperRef, \"click\", handleClick);\n return {\n wrapperRef,\n isFocused,\n handleFocus,\n handleBlur\n };\n}\n\nexport { useFocusController };\n//# sourceMappingURL=index.mjs.map\n","import { ref } from 'vue';\n\nfunction useCursor(input) {\n const selectionRef = ref();\n function recordCursor() {\n if (input.value == void 0)\n return;\n const { selectionStart, selectionEnd, value } = input.value;\n if (selectionStart == null || selectionEnd == null)\n return;\n const beforeTxt = value.slice(0, Math.max(0, selectionStart));\n const afterTxt = value.slice(Math.max(0, selectionEnd));\n selectionRef.value = {\n selectionStart,\n selectionEnd,\n value,\n beforeTxt,\n afterTxt\n };\n }\n function setCursor() {\n if (input.value == void 0 || selectionRef.value == void 0)\n return;\n const { value } = input.value;\n const { beforeTxt, afterTxt, selectionStart } = selectionRef.value;\n if (beforeTxt == void 0 || afterTxt == void 0 || selectionStart == void 0)\n return;\n let startPos = value.length;\n if (value.endsWith(afterTxt)) {\n startPos = value.length - afterTxt.length;\n } else if (value.startsWith(beforeTxt)) {\n startPos = beforeTxt.length;\n } else {\n const beforeLastChar = beforeTxt[selectionStart - 1];\n const newIndex = value.indexOf(beforeLastChar, selectionStart - 1);\n if (newIndex !== -1) {\n startPos = newIndex + 1;\n }\n }\n input.value.setSelectionRange(startPos, startPos);\n }\n return [recordCursor, setCursor];\n}\n\nexport { useCursor };\n//# sourceMappingURL=index.mjs.map\n","const GAP = 4;\nconst BAR_MAP = {\n vertical: {\n offset: \"offsetHeight\",\n scroll: \"scrollTop\",\n scrollSize: \"scrollHeight\",\n size: \"height\",\n key: \"vertical\",\n axis: \"Y\",\n client: \"clientY\",\n direction: \"top\"\n },\n horizontal: {\n offset: \"offsetWidth\",\n scroll: \"scrollLeft\",\n scrollSize: \"scrollWidth\",\n size: \"width\",\n key: \"horizontal\",\n axis: \"X\",\n client: \"clientX\",\n direction: \"left\"\n }\n};\nconst renderThumbStyle = ({\n move,\n size,\n bar\n}) => ({\n [bar.size]: size,\n transform: `translate${bar.axis}(${move}%)`\n});\n\nexport { BAR_MAP, GAP, renderThumbStyle };\n//# sourceMappingURL=util.mjs.map\n","const scrollbarContextKey = Symbol(\"scrollbarContextKey\");\n\nexport { scrollbarContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst thumbProps = buildProps({\n vertical: Boolean,\n size: String,\n move: Number,\n ratio: {\n type: Number,\n required: true\n },\n always: Boolean\n});\n\nexport { thumbProps };\n//# sourceMappingURL=thumb.mjs.map\n","import { defineComponent, inject, ref, computed, onBeforeUnmount, toRef, openBlock, createBlock, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, vShow } from 'vue';\nimport { isClient, useEventListener } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { scrollbarContextKey } from './constants.mjs';\nimport { BAR_MAP, renderThumbStyle } from './util.mjs';\nimport { thumbProps } from './thumb.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { throwError } from '../../../utils/error.mjs';\n\nconst COMPONENT_NAME = \"Thumb\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"thumb\",\n props: thumbProps,\n setup(__props) {\n const props = __props;\n const scrollbar = inject(scrollbarContextKey);\n const ns = useNamespace(\"scrollbar\");\n if (!scrollbar)\n throwError(COMPONENT_NAME, \"can not inject scrollbar context\");\n const instance = ref();\n const thumb = ref();\n const thumbState = ref({});\n const visible = ref(false);\n let cursorDown = false;\n let cursorLeave = false;\n let originalOnSelectStart = isClient ? document.onselectstart : null;\n const bar = computed(() => BAR_MAP[props.vertical ? \"vertical\" : \"horizontal\"]);\n const thumbStyle = computed(() => renderThumbStyle({\n size: props.size,\n move: props.move,\n bar: bar.value\n }));\n const offsetRatio = computed(() => instance.value[bar.value.offset] ** 2 / scrollbar.wrapElement[bar.value.scrollSize] / props.ratio / thumb.value[bar.value.offset]);\n const clickThumbHandler = (e) => {\n var _a;\n e.stopPropagation();\n if (e.ctrlKey || [1, 2].includes(e.button))\n return;\n (_a = window.getSelection()) == null ? void 0 : _a.removeAllRanges();\n startDrag(e);\n const el = e.currentTarget;\n if (!el)\n return;\n thumbState.value[bar.value.axis] = el[bar.value.offset] - (e[bar.value.client] - el.getBoundingClientRect()[bar.value.direction]);\n };\n const clickTrackHandler = (e) => {\n if (!thumb.value || !instance.value || !scrollbar.wrapElement)\n return;\n const offset = Math.abs(e.target.getBoundingClientRect()[bar.value.direction] - e[bar.value.client]);\n const thumbHalf = thumb.value[bar.value.offset] / 2;\n const thumbPositionPercentage = (offset - thumbHalf) * 100 * offsetRatio.value / instance.value[bar.value.offset];\n scrollbar.wrapElement[bar.value.scroll] = thumbPositionPercentage * scrollbar.wrapElement[bar.value.scrollSize] / 100;\n };\n const startDrag = (e) => {\n e.stopImmediatePropagation();\n cursorDown = true;\n document.addEventListener(\"mousemove\", mouseMoveDocumentHandler);\n document.addEventListener(\"mouseup\", mouseUpDocumentHandler);\n originalOnSelectStart = document.onselectstart;\n document.onselectstart = () => false;\n };\n const mouseMoveDocumentHandler = (e) => {\n if (!instance.value || !thumb.value)\n return;\n if (cursorDown === false)\n return;\n const prevPage = thumbState.value[bar.value.axis];\n if (!prevPage)\n return;\n const offset = (instance.value.getBoundingClientRect()[bar.value.direction] - e[bar.value.client]) * -1;\n const thumbClickPosition = thumb.value[bar.value.offset] - prevPage;\n const thumbPositionPercentage = (offset - thumbClickPosition) * 100 * offsetRatio.value / instance.value[bar.value.offset];\n scrollbar.wrapElement[bar.value.scroll] = thumbPositionPercentage * scrollbar.wrapElement[bar.value.scrollSize] / 100;\n };\n const mouseUpDocumentHandler = () => {\n cursorDown = false;\n thumbState.value[bar.value.axis] = 0;\n document.removeEventListener(\"mousemove\", mouseMoveDocumentHandler);\n document.removeEventListener(\"mouseup\", mouseUpDocumentHandler);\n restoreOnselectstart();\n if (cursorLeave)\n visible.value = false;\n };\n const mouseMoveScrollbarHandler = () => {\n cursorLeave = false;\n visible.value = !!props.size;\n };\n const mouseLeaveScrollbarHandler = () => {\n cursorLeave = true;\n visible.value = cursorDown;\n };\n onBeforeUnmount(() => {\n restoreOnselectstart();\n document.removeEventListener(\"mouseup\", mouseUpDocumentHandler);\n });\n const restoreOnselectstart = () => {\n if (document.onselectstart !== originalOnSelectStart)\n document.onselectstart = originalOnSelectStart;\n };\n useEventListener(toRef(scrollbar, \"scrollbarElement\"), \"mousemove\", mouseMoveScrollbarHandler);\n useEventListener(toRef(scrollbar, \"scrollbarElement\"), \"mouseleave\", mouseLeaveScrollbarHandler);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Transition, {\n name: unref(ns).b(\"fade\"),\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"div\", {\n ref_key: \"instance\",\n ref: instance,\n class: normalizeClass([unref(ns).e(\"bar\"), unref(ns).is(unref(bar).key)]),\n onMousedown: clickTrackHandler\n }, [\n createElementVNode(\"div\", {\n ref_key: \"thumb\",\n ref: thumb,\n class: normalizeClass(unref(ns).e(\"thumb\")),\n style: normalizeStyle(unref(thumbStyle)),\n onMousedown: clickThumbHandler\n }, null, 38)\n ], 34), [\n [vShow, _ctx.always || visible.value]\n ])\n ]),\n _: 1\n }, 8, [\"name\"]);\n };\n }\n});\nvar Thumb = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue\"]]);\n\nexport { Thumb as default };\n//# sourceMappingURL=thumb2.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst barProps = buildProps({\n always: {\n type: Boolean,\n default: true\n },\n width: String,\n height: String,\n ratioX: {\n type: Number,\n default: 1\n },\n ratioY: {\n type: Number,\n default: 1\n }\n});\n\nexport { barProps };\n//# sourceMappingURL=bar.mjs.map\n","import { defineComponent, ref, openBlock, createElementBlock, Fragment, createVNode } from 'vue';\nimport { GAP } from './util.mjs';\nimport Thumb from './thumb2.mjs';\nimport { barProps } from './bar.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"bar\",\n props: barProps,\n setup(__props, { expose }) {\n const props = __props;\n const moveX = ref(0);\n const moveY = ref(0);\n const handleScroll = (wrap) => {\n if (wrap) {\n const offsetHeight = wrap.offsetHeight - GAP;\n const offsetWidth = wrap.offsetWidth - GAP;\n moveY.value = wrap.scrollTop * 100 / offsetHeight * props.ratioY;\n moveX.value = wrap.scrollLeft * 100 / offsetWidth * props.ratioX;\n }\n };\n expose({\n handleScroll\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(Fragment, null, [\n createVNode(Thumb, {\n move: moveX.value,\n ratio: _ctx.ratioX,\n size: _ctx.width,\n always: _ctx.always\n }, null, 8, [\"move\", \"ratio\", \"size\", \"always\"]),\n createVNode(Thumb, {\n move: moveY.value,\n ratio: _ctx.ratioY,\n size: _ctx.height,\n vertical: \"\",\n always: _ctx.always\n }, null, 8, [\"move\", \"ratio\", \"size\", \"always\"])\n ], 64);\n };\n }\n});\nvar Bar = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue\"]]);\n\nexport { Bar as default };\n//# sourceMappingURL=bar2.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nconst scrollbarProps = buildProps({\n height: {\n type: [String, Number],\n default: \"\"\n },\n maxHeight: {\n type: [String, Number],\n default: \"\"\n },\n native: {\n type: Boolean,\n default: false\n },\n wrapStyle: {\n type: definePropType([String, Object, Array]),\n default: \"\"\n },\n wrapClass: {\n type: [String, Array],\n default: \"\"\n },\n viewClass: {\n type: [String, Array],\n default: \"\"\n },\n viewStyle: {\n type: [String, Array, Object],\n default: \"\"\n },\n noresize: Boolean,\n tag: {\n type: String,\n default: \"div\"\n },\n always: Boolean,\n minSize: {\n type: Number,\n default: 20\n }\n});\nconst scrollbarEmits = {\n scroll: ({\n scrollTop,\n scrollLeft\n }) => [scrollTop, scrollLeft].every(isNumber)\n};\n\nexport { scrollbarEmits, scrollbarProps };\n//# sourceMappingURL=scrollbar.mjs.map\n","import { defineComponent, ref, computed, watch, nextTick, provide, reactive, onMounted, onUpdated, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createBlock, resolveDynamicComponent, withCtx, renderSlot, createCommentVNode } from 'vue';\nimport { useResizeObserver, useEventListener } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { GAP } from './util.mjs';\nimport Bar from './bar2.mjs';\nimport { scrollbarContextKey } from './constants.mjs';\nimport { scrollbarProps, scrollbarEmits } from './scrollbar.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\nimport { isObject } from '@vue/shared';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst COMPONENT_NAME = \"ElScrollbar\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: scrollbarProps,\n emits: scrollbarEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const ns = useNamespace(\"scrollbar\");\n let stopResizeObserver = void 0;\n let stopResizeListener = void 0;\n const scrollbarRef = ref();\n const wrapRef = ref();\n const resizeRef = ref();\n const sizeWidth = ref(\"0\");\n const sizeHeight = ref(\"0\");\n const barRef = ref();\n const ratioY = ref(1);\n const ratioX = ref(1);\n const style = computed(() => {\n const style2 = {};\n if (props.height)\n style2.height = addUnit(props.height);\n if (props.maxHeight)\n style2.maxHeight = addUnit(props.maxHeight);\n return [props.wrapStyle, style2];\n });\n const wrapKls = computed(() => {\n return [\n props.wrapClass,\n ns.e(\"wrap\"),\n { [ns.em(\"wrap\", \"hidden-default\")]: !props.native }\n ];\n });\n const resizeKls = computed(() => {\n return [ns.e(\"view\"), props.viewClass];\n });\n const handleScroll = () => {\n var _a;\n if (wrapRef.value) {\n (_a = barRef.value) == null ? void 0 : _a.handleScroll(wrapRef.value);\n emit(\"scroll\", {\n scrollTop: wrapRef.value.scrollTop,\n scrollLeft: wrapRef.value.scrollLeft\n });\n }\n };\n function scrollTo(arg1, arg2) {\n if (isObject(arg1)) {\n wrapRef.value.scrollTo(arg1);\n } else if (isNumber(arg1) && isNumber(arg2)) {\n wrapRef.value.scrollTo(arg1, arg2);\n }\n }\n const setScrollTop = (value) => {\n if (!isNumber(value)) {\n debugWarn(COMPONENT_NAME, \"value must be a number\");\n return;\n }\n wrapRef.value.scrollTop = value;\n };\n const setScrollLeft = (value) => {\n if (!isNumber(value)) {\n debugWarn(COMPONENT_NAME, \"value must be a number\");\n return;\n }\n wrapRef.value.scrollLeft = value;\n };\n const update = () => {\n if (!wrapRef.value)\n return;\n const offsetHeight = wrapRef.value.offsetHeight - GAP;\n const offsetWidth = wrapRef.value.offsetWidth - GAP;\n const originalHeight = offsetHeight ** 2 / wrapRef.value.scrollHeight;\n const originalWidth = offsetWidth ** 2 / wrapRef.value.scrollWidth;\n const height = Math.max(originalHeight, props.minSize);\n const width = Math.max(originalWidth, props.minSize);\n ratioY.value = originalHeight / (offsetHeight - originalHeight) / (height / (offsetHeight - height));\n ratioX.value = originalWidth / (offsetWidth - originalWidth) / (width / (offsetWidth - width));\n sizeHeight.value = height + GAP < offsetHeight ? `${height}px` : \"\";\n sizeWidth.value = width + GAP < offsetWidth ? `${width}px` : \"\";\n };\n watch(() => props.noresize, (noresize) => {\n if (noresize) {\n stopResizeObserver == null ? void 0 : stopResizeObserver();\n stopResizeListener == null ? void 0 : stopResizeListener();\n } else {\n ;\n ({ stop: stopResizeObserver } = useResizeObserver(resizeRef, update));\n stopResizeListener = useEventListener(\"resize\", update);\n }\n }, { immediate: true });\n watch(() => [props.maxHeight, props.height], () => {\n if (!props.native)\n nextTick(() => {\n var _a;\n update();\n if (wrapRef.value) {\n (_a = barRef.value) == null ? void 0 : _a.handleScroll(wrapRef.value);\n }\n });\n });\n provide(scrollbarContextKey, reactive({\n scrollbarElement: scrollbarRef,\n wrapElement: wrapRef\n }));\n onMounted(() => {\n if (!props.native)\n nextTick(() => {\n update();\n });\n });\n onUpdated(() => update());\n expose({\n wrapRef,\n update,\n scrollTo,\n setScrollTop,\n setScrollLeft,\n handleScroll\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref_key: \"scrollbarRef\",\n ref: scrollbarRef,\n class: normalizeClass(unref(ns).b())\n }, [\n createElementVNode(\"div\", {\n ref_key: \"wrapRef\",\n ref: wrapRef,\n class: normalizeClass(unref(wrapKls)),\n style: normalizeStyle(unref(style)),\n onScroll: handleScroll\n }, [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {\n ref_key: \"resizeRef\",\n ref: resizeRef,\n class: normalizeClass(unref(resizeKls)),\n style: normalizeStyle(_ctx.viewStyle)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"class\", \"style\"]))\n ], 38),\n !_ctx.native ? (openBlock(), createBlock(Bar, {\n key: 0,\n ref_key: \"barRef\",\n ref: barRef,\n height: sizeHeight.value,\n width: sizeWidth.value,\n always: _ctx.always,\n \"ratio-x\": ratioX.value,\n \"ratio-y\": ratioY.value\n }, null, 8, [\"height\", \"width\", \"always\", \"ratio-x\", \"ratio-y\"])) : createCommentVNode(\"v-if\", true)\n ], 2);\n };\n }\n});\nvar Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue\"]]);\n\nexport { Scrollbar as default };\n//# sourceMappingURL=scrollbar2.mjs.map\n","import '../../utils/index.mjs';\nimport Scrollbar from './src/scrollbar2.mjs';\nexport { BAR_MAP, GAP, renderThumbStyle } from './src/util.mjs';\nexport { scrollbarEmits, scrollbarProps } from './src/scrollbar.mjs';\nexport { thumbProps } from './src/thumb.mjs';\nexport { scrollbarContextKey } from './src/constants.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElScrollbar = withInstall(Scrollbar);\n\nexport { ElScrollbar, ElScrollbar as default };\n//# sourceMappingURL=index.mjs.map\n","const POPPER_INJECTION_KEY = Symbol(\"popper\");\nconst POPPER_CONTENT_INJECTION_KEY = Symbol(\"popperContent\");\n\nexport { POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst effects = [\"light\", \"dark\"];\nconst triggers = [\"click\", \"contextmenu\", \"hover\", \"focus\"];\nconst Effect = {\n LIGHT: \"light\",\n DARK: \"dark\"\n};\nconst roleTypes = [\n \"dialog\",\n \"grid\",\n \"group\",\n \"listbox\",\n \"menu\",\n \"navigation\",\n \"tooltip\",\n \"tree\"\n];\nconst popperProps = buildProps({\n role: {\n type: String,\n values: roleTypes,\n default: \"tooltip\"\n }\n});\nconst usePopperProps = popperProps;\n\nexport { Effect, popperProps, roleTypes, usePopperProps };\n//# sourceMappingURL=popper.mjs.map\n","import { defineComponent, ref, computed, provide, renderSlot } from 'vue';\nimport { POPPER_INJECTION_KEY } from './constants.mjs';\nimport { popperProps } from './popper.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElPopper\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: popperProps,\n setup(__props, { expose }) {\n const props = __props;\n const triggerRef = ref();\n const popperInstanceRef = ref();\n const contentRef = ref();\n const referenceRef = ref();\n const role = computed(() => props.role);\n const popperProvides = {\n triggerRef,\n popperInstanceRef,\n contentRef,\n referenceRef,\n role\n };\n expose(popperProvides);\n provide(POPPER_INJECTION_KEY, popperProvides);\n return (_ctx, _cache) => {\n return renderSlot(_ctx.$slots, \"default\");\n };\n }\n});\nvar Popper = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue\"]]);\n\nexport { Popper as default };\n//# sourceMappingURL=popper2.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst popperArrowProps = buildProps({\n arrowOffset: {\n type: Number,\n default: 5\n }\n});\nconst usePopperArrowProps = popperArrowProps;\n\nexport { popperArrowProps, usePopperArrowProps };\n//# sourceMappingURL=arrow.mjs.map\n","import { defineComponent, inject, watch, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { POPPER_CONTENT_INJECTION_KEY } from './constants.mjs';\nimport { popperArrowProps } from './arrow.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElPopperArrow\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: popperArrowProps,\n setup(__props, { expose }) {\n const props = __props;\n const ns = useNamespace(\"popper\");\n const { arrowOffset, arrowRef, arrowStyle } = inject(POPPER_CONTENT_INJECTION_KEY, void 0);\n watch(() => props.arrowOffset, (val) => {\n arrowOffset.value = val;\n });\n onBeforeUnmount(() => {\n arrowRef.value = void 0;\n });\n expose({\n arrowRef\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"span\", {\n ref_key: \"arrowRef\",\n ref: arrowRef,\n class: normalizeClass(unref(ns).e(\"arrow\")),\n style: normalizeStyle(unref(arrowStyle)),\n \"data-popper-arrow\": \"\"\n }, null, 6);\n };\n }\n});\nvar ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue\"]]);\n\nexport { ElPopperArrow as default };\n//# sourceMappingURL=arrow2.mjs.map\n","import { defineComponent, inject, withDirectives, cloneVNode, Fragment, createVNode, Text, Comment } from 'vue';\nimport { NOOP, isObject } from '@vue/shared';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { FORWARD_REF_INJECTION_KEY, useForwardRefDirective } from '../../../hooks/use-forward-ref/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst NAME = \"ElOnlyChild\";\nconst OnlyChild = defineComponent({\n name: NAME,\n setup(_, {\n slots,\n attrs\n }) {\n var _a;\n const forwardRefInjection = inject(FORWARD_REF_INJECTION_KEY);\n const forwardRefDirective = useForwardRefDirective((_a = forwardRefInjection == null ? void 0 : forwardRefInjection.setForwardRef) != null ? _a : NOOP);\n return () => {\n var _a2;\n const defaultSlot = (_a2 = slots.default) == null ? void 0 : _a2.call(slots, attrs);\n if (!defaultSlot)\n return null;\n if (defaultSlot.length > 1) {\n debugWarn(NAME, \"requires exact only one valid child.\");\n return null;\n }\n const firstLegitNode = findFirstLegitChild(defaultSlot);\n if (!firstLegitNode) {\n debugWarn(NAME, \"no valid child node found\");\n return null;\n }\n return withDirectives(cloneVNode(firstLegitNode, attrs), [[forwardRefDirective]]);\n };\n }\n});\nfunction findFirstLegitChild(node) {\n if (!node)\n return null;\n const children = node;\n for (const child of children) {\n if (isObject(child)) {\n switch (child.type) {\n case Comment:\n continue;\n case Text:\n case \"svg\":\n return wrapTextContent(child);\n case Fragment:\n return findFirstLegitChild(child.children);\n default:\n return child;\n }\n }\n return wrapTextContent(child);\n }\n return null;\n}\nfunction wrapTextContent(s) {\n const ns = useNamespace(\"only-child\");\n return createVNode(\"span\", {\n \"class\": ns.e(\"content\")\n }, [s]);\n}\n\nexport { OnlyChild };\n//# sourceMappingURL=only-child.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst popperTriggerProps = buildProps({\n virtualRef: {\n type: definePropType(Object)\n },\n virtualTriggering: Boolean,\n onMouseenter: {\n type: definePropType(Function)\n },\n onMouseleave: {\n type: definePropType(Function)\n },\n onClick: {\n type: definePropType(Function)\n },\n onKeydown: {\n type: definePropType(Function)\n },\n onFocus: {\n type: definePropType(Function)\n },\n onBlur: {\n type: definePropType(Function)\n },\n onContextmenu: {\n type: definePropType(Function)\n },\n id: String,\n open: Boolean\n});\nconst usePopperTriggerProps = popperTriggerProps;\n\nexport { popperTriggerProps, usePopperTriggerProps };\n//# sourceMappingURL=trigger.mjs.map\n","import { defineComponent, inject, computed, onMounted, watch, onBeforeUnmount, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from 'vue';\nimport { isNil } from 'lodash-unified';\nimport { unrefElement } from '@vueuse/core';\nimport '../../slot/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { POPPER_INJECTION_KEY } from './constants.mjs';\nimport { popperTriggerProps } from './trigger.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useForwardRef } from '../../../hooks/use-forward-ref/index.mjs';\nimport { isElement } from '../../../utils/types.mjs';\nimport { OnlyChild } from '../../slot/src/only-child.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElPopperTrigger\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: popperTriggerProps,\n setup(__props, { expose }) {\n const props = __props;\n const { role, triggerRef } = inject(POPPER_INJECTION_KEY, void 0);\n useForwardRef(triggerRef);\n const ariaControls = computed(() => {\n return ariaHaspopup.value ? props.id : void 0;\n });\n const ariaDescribedby = computed(() => {\n if (role && role.value === \"tooltip\") {\n return props.open && props.id ? props.id : void 0;\n }\n return void 0;\n });\n const ariaHaspopup = computed(() => {\n if (role && role.value !== \"tooltip\") {\n return role.value;\n }\n return void 0;\n });\n const ariaExpanded = computed(() => {\n return ariaHaspopup.value ? `${props.open}` : void 0;\n });\n let virtualTriggerAriaStopWatch = void 0;\n onMounted(() => {\n watch(() => props.virtualRef, (virtualEl) => {\n if (virtualEl) {\n triggerRef.value = unrefElement(virtualEl);\n }\n }, {\n immediate: true\n });\n watch(triggerRef, (el, prevEl) => {\n virtualTriggerAriaStopWatch == null ? void 0 : virtualTriggerAriaStopWatch();\n virtualTriggerAriaStopWatch = void 0;\n if (isElement(el)) {\n ;\n [\n \"onMouseenter\",\n \"onMouseleave\",\n \"onClick\",\n \"onKeydown\",\n \"onFocus\",\n \"onBlur\",\n \"onContextmenu\"\n ].forEach((eventName) => {\n var _a;\n const handler = props[eventName];\n if (handler) {\n ;\n el.addEventListener(eventName.slice(2).toLowerCase(), handler);\n (_a = prevEl == null ? void 0 : prevEl.removeEventListener) == null ? void 0 : _a.call(prevEl, eventName.slice(2).toLowerCase(), handler);\n }\n });\n virtualTriggerAriaStopWatch = watch([ariaControls, ariaDescribedby, ariaHaspopup, ariaExpanded], (watches) => {\n ;\n [\n \"aria-controls\",\n \"aria-describedby\",\n \"aria-haspopup\",\n \"aria-expanded\"\n ].forEach((key, idx) => {\n isNil(watches[idx]) ? el.removeAttribute(key) : el.setAttribute(key, watches[idx]);\n });\n }, { immediate: true });\n }\n if (isElement(prevEl)) {\n ;\n [\n \"aria-controls\",\n \"aria-describedby\",\n \"aria-haspopup\",\n \"aria-expanded\"\n ].forEach((key) => prevEl.removeAttribute(key));\n }\n }, {\n immediate: true\n });\n });\n onBeforeUnmount(() => {\n virtualTriggerAriaStopWatch == null ? void 0 : virtualTriggerAriaStopWatch();\n virtualTriggerAriaStopWatch = void 0;\n });\n expose({\n triggerRef\n });\n return (_ctx, _cache) => {\n return !_ctx.virtualTriggering ? (openBlock(), createBlock(unref(OnlyChild), mergeProps({ key: 0 }, _ctx.$attrs, {\n \"aria-controls\": unref(ariaControls),\n \"aria-describedby\": unref(ariaDescribedby),\n \"aria-expanded\": unref(ariaExpanded),\n \"aria-haspopup\": unref(ariaHaspopup)\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"aria-controls\", \"aria-describedby\", \"aria-expanded\", \"aria-haspopup\"])) : createCommentVNode(\"v-if\", true);\n };\n }\n});\nvar ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue\"]]);\n\nexport { ElPopperTrigger as default };\n//# sourceMappingURL=trigger2.mjs.map\n","const FOCUS_AFTER_TRAPPED = \"focus-trap.focus-after-trapped\";\nconst FOCUS_AFTER_RELEASED = \"focus-trap.focus-after-released\";\nconst FOCUSOUT_PREVENTED = \"focus-trap.focusout-prevented\";\nconst FOCUS_AFTER_TRAPPED_OPTS = {\n cancelable: true,\n bubbles: false\n};\nconst FOCUSOUT_PREVENTED_OPTS = {\n cancelable: true,\n bubbles: false\n};\nconst ON_TRAP_FOCUS_EVT = \"focusAfterTrapped\";\nconst ON_RELEASE_FOCUS_EVT = \"focusAfterReleased\";\nconst FOCUS_TRAP_INJECTION_KEY = Symbol(\"elFocusTrap\");\n\nexport { FOCUSOUT_PREVENTED, FOCUSOUT_PREVENTED_OPTS, FOCUS_AFTER_RELEASED, FOCUS_AFTER_TRAPPED, FOCUS_AFTER_TRAPPED_OPTS, FOCUS_TRAP_INJECTION_KEY, ON_RELEASE_FOCUS_EVT, ON_TRAP_FOCUS_EVT };\n//# sourceMappingURL=tokens.mjs.map\n","import { ref, onMounted, onBeforeUnmount } from 'vue';\nimport { FOCUSOUT_PREVENTED, FOCUSOUT_PREVENTED_OPTS } from './tokens.mjs';\n\nconst focusReason = ref();\nconst lastUserFocusTimestamp = ref(0);\nconst lastAutomatedFocusTimestamp = ref(0);\nlet focusReasonUserCount = 0;\nconst obtainAllFocusableElements = (element) => {\n const nodes = [];\n const walker = document.createTreeWalker(element, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput)\n return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 || node === document.activeElement ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode())\n nodes.push(walker.currentNode);\n return nodes;\n};\nconst getVisibleElement = (elements, container) => {\n for (const element of elements) {\n if (!isHidden(element, container))\n return element;\n }\n};\nconst isHidden = (element, container) => {\n if (process.env.NODE_ENV === \"test\")\n return false;\n if (getComputedStyle(element).visibility === \"hidden\")\n return true;\n while (element) {\n if (container && element === container)\n return false;\n if (getComputedStyle(element).display === \"none\")\n return true;\n element = element.parentElement;\n }\n return false;\n};\nconst getEdges = (container) => {\n const focusable = obtainAllFocusableElements(container);\n const first = getVisibleElement(focusable, container);\n const last = getVisibleElement(focusable.reverse(), container);\n return [first, last];\n};\nconst isSelectable = (element) => {\n return element instanceof HTMLInputElement && \"select\" in element;\n};\nconst tryFocus = (element, shouldSelect) => {\n if (element && element.focus) {\n const prevFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n lastAutomatedFocusTimestamp.value = window.performance.now();\n if (element !== prevFocusedElement && isSelectable(element) && shouldSelect) {\n element.select();\n }\n }\n};\nfunction removeFromStack(list, item) {\n const copy = [...list];\n const idx = list.indexOf(item);\n if (idx !== -1) {\n copy.splice(idx, 1);\n }\n return copy;\n}\nconst createFocusableStack = () => {\n let stack = [];\n const push = (layer) => {\n const currentLayer = stack[0];\n if (currentLayer && layer !== currentLayer) {\n currentLayer.pause();\n }\n stack = removeFromStack(stack, layer);\n stack.unshift(layer);\n };\n const remove = (layer) => {\n var _a, _b;\n stack = removeFromStack(stack, layer);\n (_b = (_a = stack[0]) == null ? void 0 : _a.resume) == null ? void 0 : _b.call(_a);\n };\n return {\n push,\n remove\n };\n};\nconst focusFirstDescendant = (elements, shouldSelect = false) => {\n const prevFocusedElement = document.activeElement;\n for (const element of elements) {\n tryFocus(element, shouldSelect);\n if (document.activeElement !== prevFocusedElement)\n return;\n }\n};\nconst focusableStack = createFocusableStack();\nconst isFocusCausedByUserEvent = () => {\n return lastUserFocusTimestamp.value > lastAutomatedFocusTimestamp.value;\n};\nconst notifyFocusReasonPointer = () => {\n focusReason.value = \"pointer\";\n lastUserFocusTimestamp.value = window.performance.now();\n};\nconst notifyFocusReasonKeydown = () => {\n focusReason.value = \"keyboard\";\n lastUserFocusTimestamp.value = window.performance.now();\n};\nconst useFocusReason = () => {\n onMounted(() => {\n if (focusReasonUserCount === 0) {\n document.addEventListener(\"mousedown\", notifyFocusReasonPointer);\n document.addEventListener(\"touchstart\", notifyFocusReasonPointer);\n document.addEventListener(\"keydown\", notifyFocusReasonKeydown);\n }\n focusReasonUserCount++;\n });\n onBeforeUnmount(() => {\n focusReasonUserCount--;\n if (focusReasonUserCount <= 0) {\n document.removeEventListener(\"mousedown\", notifyFocusReasonPointer);\n document.removeEventListener(\"touchstart\", notifyFocusReasonPointer);\n document.removeEventListener(\"keydown\", notifyFocusReasonKeydown);\n }\n });\n return {\n focusReason,\n lastUserFocusTimestamp,\n lastAutomatedFocusTimestamp\n };\n};\nconst createFocusOutPreventedEvent = (detail) => {\n return new CustomEvent(FOCUSOUT_PREVENTED, {\n ...FOCUSOUT_PREVENTED_OPTS,\n detail\n });\n};\n\nexport { createFocusOutPreventedEvent, focusFirstDescendant, focusableStack, getEdges, getVisibleElement, isFocusCausedByUserEvent, isHidden, obtainAllFocusableElements, tryFocus, useFocusReason };\n//# sourceMappingURL=utils.mjs.map\n","import { defineComponent, ref, provide, watch, unref, nextTick, onMounted, onBeforeUnmount, renderSlot } from 'vue';\nimport { isNil } from 'lodash-unified';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { useFocusReason, getEdges, createFocusOutPreventedEvent, tryFocus, focusableStack, focusFirstDescendant, obtainAllFocusableElements, isFocusCausedByUserEvent } from './utils.mjs';\nimport { ON_TRAP_FOCUS_EVT, ON_RELEASE_FOCUS_EVT, FOCUS_TRAP_INJECTION_KEY, FOCUS_AFTER_TRAPPED, FOCUS_AFTER_TRAPPED_OPTS, FOCUS_AFTER_RELEASED } from './tokens.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useEscapeKeydown } from '../../../hooks/use-escape-keydown/index.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { isString } from '@vue/shared';\n\nconst _sfc_main = defineComponent({\n name: \"ElFocusTrap\",\n inheritAttrs: false,\n props: {\n loop: Boolean,\n trapped: Boolean,\n focusTrapEl: Object,\n focusStartEl: {\n type: [Object, String],\n default: \"first\"\n }\n },\n emits: [\n ON_TRAP_FOCUS_EVT,\n ON_RELEASE_FOCUS_EVT,\n \"focusin\",\n \"focusout\",\n \"focusout-prevented\",\n \"release-requested\"\n ],\n setup(props, { emit }) {\n const forwardRef = ref();\n let lastFocusBeforeTrapped;\n let lastFocusAfterTrapped;\n const { focusReason } = useFocusReason();\n useEscapeKeydown((event) => {\n if (props.trapped && !focusLayer.paused) {\n emit(\"release-requested\", event);\n }\n });\n const focusLayer = {\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n };\n const onKeydown = (e) => {\n if (!props.loop && !props.trapped)\n return;\n if (focusLayer.paused)\n return;\n const { key, altKey, ctrlKey, metaKey, currentTarget, shiftKey } = e;\n const { loop } = props;\n const isTabbing = key === EVENT_CODE.tab && !altKey && !ctrlKey && !metaKey;\n const currentFocusingEl = document.activeElement;\n if (isTabbing && currentFocusingEl) {\n const container = currentTarget;\n const [first, last] = getEdges(container);\n const isTabbable = first && last;\n if (!isTabbable) {\n if (currentFocusingEl === container) {\n const focusoutPreventedEvent = createFocusOutPreventedEvent({\n focusReason: focusReason.value\n });\n emit(\"focusout-prevented\", focusoutPreventedEvent);\n if (!focusoutPreventedEvent.defaultPrevented) {\n e.preventDefault();\n }\n }\n } else {\n if (!shiftKey && currentFocusingEl === last) {\n const focusoutPreventedEvent = createFocusOutPreventedEvent({\n focusReason: focusReason.value\n });\n emit(\"focusout-prevented\", focusoutPreventedEvent);\n if (!focusoutPreventedEvent.defaultPrevented) {\n e.preventDefault();\n if (loop)\n tryFocus(first, true);\n }\n } else if (shiftKey && [first, container].includes(currentFocusingEl)) {\n const focusoutPreventedEvent = createFocusOutPreventedEvent({\n focusReason: focusReason.value\n });\n emit(\"focusout-prevented\", focusoutPreventedEvent);\n if (!focusoutPreventedEvent.defaultPrevented) {\n e.preventDefault();\n if (loop)\n tryFocus(last, true);\n }\n }\n }\n }\n };\n provide(FOCUS_TRAP_INJECTION_KEY, {\n focusTrapRef: forwardRef,\n onKeydown\n });\n watch(() => props.focusTrapEl, (focusTrapEl) => {\n if (focusTrapEl) {\n forwardRef.value = focusTrapEl;\n }\n }, { immediate: true });\n watch([forwardRef], ([forwardRef2], [oldForwardRef]) => {\n if (forwardRef2) {\n forwardRef2.addEventListener(\"keydown\", onKeydown);\n forwardRef2.addEventListener(\"focusin\", onFocusIn);\n forwardRef2.addEventListener(\"focusout\", onFocusOut);\n }\n if (oldForwardRef) {\n oldForwardRef.removeEventListener(\"keydown\", onKeydown);\n oldForwardRef.removeEventListener(\"focusin\", onFocusIn);\n oldForwardRef.removeEventListener(\"focusout\", onFocusOut);\n }\n });\n const trapOnFocus = (e) => {\n emit(ON_TRAP_FOCUS_EVT, e);\n };\n const releaseOnFocus = (e) => emit(ON_RELEASE_FOCUS_EVT, e);\n const onFocusIn = (e) => {\n const trapContainer = unref(forwardRef);\n if (!trapContainer)\n return;\n const target = e.target;\n const relatedTarget = e.relatedTarget;\n const isFocusedInTrap = target && trapContainer.contains(target);\n if (!props.trapped) {\n const isPrevFocusedInTrap = relatedTarget && trapContainer.contains(relatedTarget);\n if (!isPrevFocusedInTrap) {\n lastFocusBeforeTrapped = relatedTarget;\n }\n }\n if (isFocusedInTrap)\n emit(\"focusin\", e);\n if (focusLayer.paused)\n return;\n if (props.trapped) {\n if (isFocusedInTrap) {\n lastFocusAfterTrapped = target;\n } else {\n tryFocus(lastFocusAfterTrapped, true);\n }\n }\n };\n const onFocusOut = (e) => {\n const trapContainer = unref(forwardRef);\n if (focusLayer.paused || !trapContainer)\n return;\n if (props.trapped) {\n const relatedTarget = e.relatedTarget;\n if (!isNil(relatedTarget) && !trapContainer.contains(relatedTarget)) {\n setTimeout(() => {\n if (!focusLayer.paused && props.trapped) {\n const focusoutPreventedEvent = createFocusOutPreventedEvent({\n focusReason: focusReason.value\n });\n emit(\"focusout-prevented\", focusoutPreventedEvent);\n if (!focusoutPreventedEvent.defaultPrevented) {\n tryFocus(lastFocusAfterTrapped, true);\n }\n }\n }, 0);\n }\n } else {\n const target = e.target;\n const isFocusedInTrap = target && trapContainer.contains(target);\n if (!isFocusedInTrap)\n emit(\"focusout\", e);\n }\n };\n async function startTrap() {\n await nextTick();\n const trapContainer = unref(forwardRef);\n if (trapContainer) {\n focusableStack.push(focusLayer);\n const prevFocusedElement = trapContainer.contains(document.activeElement) ? lastFocusBeforeTrapped : document.activeElement;\n lastFocusBeforeTrapped = prevFocusedElement;\n const isPrevFocusContained = trapContainer.contains(prevFocusedElement);\n if (!isPrevFocusContained) {\n const focusEvent = new Event(FOCUS_AFTER_TRAPPED, FOCUS_AFTER_TRAPPED_OPTS);\n trapContainer.addEventListener(FOCUS_AFTER_TRAPPED, trapOnFocus);\n trapContainer.dispatchEvent(focusEvent);\n if (!focusEvent.defaultPrevented) {\n nextTick(() => {\n let focusStartEl = props.focusStartEl;\n if (!isString(focusStartEl)) {\n tryFocus(focusStartEl);\n if (document.activeElement !== focusStartEl) {\n focusStartEl = \"first\";\n }\n }\n if (focusStartEl === \"first\") {\n focusFirstDescendant(obtainAllFocusableElements(trapContainer), true);\n }\n if (document.activeElement === prevFocusedElement || focusStartEl === \"container\") {\n tryFocus(trapContainer);\n }\n });\n }\n }\n }\n }\n function stopTrap() {\n const trapContainer = unref(forwardRef);\n if (trapContainer) {\n trapContainer.removeEventListener(FOCUS_AFTER_TRAPPED, trapOnFocus);\n const releasedEvent = new CustomEvent(FOCUS_AFTER_RELEASED, {\n ...FOCUS_AFTER_TRAPPED_OPTS,\n detail: {\n focusReason: focusReason.value\n }\n });\n trapContainer.addEventListener(FOCUS_AFTER_RELEASED, releaseOnFocus);\n trapContainer.dispatchEvent(releasedEvent);\n if (!releasedEvent.defaultPrevented && (focusReason.value == \"keyboard\" || !isFocusCausedByUserEvent() || trapContainer.contains(document.activeElement))) {\n tryFocus(lastFocusBeforeTrapped != null ? lastFocusBeforeTrapped : document.body);\n }\n trapContainer.removeEventListener(FOCUS_AFTER_RELEASED, releaseOnFocus);\n focusableStack.remove(focusLayer);\n }\n }\n onMounted(() => {\n if (props.trapped) {\n startTrap();\n }\n watch(() => props.trapped, (trapped) => {\n if (trapped) {\n startTrap();\n } else {\n stopTrap();\n }\n });\n });\n onBeforeUnmount(() => {\n if (props.trapped) {\n stopTrap();\n }\n });\n return {\n onKeydown\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return renderSlot(_ctx.$slots, \"default\", { handleKeydown: _ctx.onKeydown });\n}\nvar ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue\"]]);\n\nexport { ElFocusTrap as default };\n//# sourceMappingURL=focus-trap.mjs.map\n","import { placements } from '@popperjs/core';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst POSITIONING_STRATEGIES = [\"fixed\", \"absolute\"];\nconst popperCoreConfigProps = buildProps({\n boundariesPadding: {\n type: Number,\n default: 0\n },\n fallbackPlacements: {\n type: definePropType(Array),\n default: void 0\n },\n gpuAcceleration: {\n type: Boolean,\n default: true\n },\n offset: {\n type: Number,\n default: 12\n },\n placement: {\n type: String,\n values: placements,\n default: \"bottom\"\n },\n popperOptions: {\n type: definePropType(Object),\n default: () => ({})\n },\n strategy: {\n type: String,\n values: POSITIONING_STRATEGIES,\n default: \"absolute\"\n }\n});\nconst popperContentProps = buildProps({\n ...popperCoreConfigProps,\n id: String,\n style: {\n type: definePropType([String, Array, Object])\n },\n className: {\n type: definePropType([String, Array, Object])\n },\n effect: {\n type: String,\n default: \"dark\"\n },\n visible: Boolean,\n enterable: {\n type: Boolean,\n default: true\n },\n pure: Boolean,\n focusOnShow: {\n type: Boolean,\n default: false\n },\n trapping: {\n type: Boolean,\n default: false\n },\n popperClass: {\n type: definePropType([String, Array, Object])\n },\n popperStyle: {\n type: definePropType([String, Array, Object])\n },\n referenceEl: {\n type: definePropType(Object)\n },\n triggerTargetEl: {\n type: definePropType(Object)\n },\n stopPopperMouseEvent: {\n type: Boolean,\n default: true\n },\n ariaLabel: {\n type: String,\n default: void 0\n },\n virtualTriggering: Boolean,\n zIndex: Number\n});\nconst popperContentEmits = {\n mouseenter: (evt) => evt instanceof MouseEvent,\n mouseleave: (evt) => evt instanceof MouseEvent,\n focus: () => true,\n blur: () => true,\n close: () => true\n};\nconst usePopperCoreConfigProps = popperCoreConfigProps;\nconst usePopperContentProps = popperContentProps;\nconst usePopperContentEmits = popperContentEmits;\n\nexport { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps };\n//# sourceMappingURL=content.mjs.map\n","import { isClient, unrefElement } from '@vueuse/core';\nimport '../../../utils/index.mjs';\n\nconst buildPopperOptions = (props, modifiers = []) => {\n const { placement, strategy, popperOptions } = props;\n const options = {\n placement,\n strategy,\n ...popperOptions,\n modifiers: [...genModifiers(props), ...modifiers]\n };\n deriveExtraModifiers(options, popperOptions == null ? void 0 : popperOptions.modifiers);\n return options;\n};\nconst unwrapMeasurableEl = ($el) => {\n if (!isClient)\n return;\n return unrefElement($el);\n};\nfunction genModifiers(options) {\n const { offset, gpuAcceleration, fallbackPlacements } = options;\n return [\n {\n name: \"offset\",\n options: {\n offset: [0, offset != null ? offset : 12]\n }\n },\n {\n name: \"preventOverflow\",\n options: {\n padding: {\n top: 2,\n bottom: 2,\n left: 5,\n right: 5\n }\n }\n },\n {\n name: \"flip\",\n options: {\n padding: 5,\n fallbackPlacements\n }\n },\n {\n name: \"computeStyles\",\n options: {\n gpuAcceleration\n }\n }\n ];\n}\nfunction deriveExtraModifiers(options, modifiers) {\n if (modifiers) {\n options.modifiers = [...options.modifiers, ...modifiers != null ? modifiers : []];\n }\n}\n\nexport { buildPopperOptions, unwrapMeasurableEl };\n//# sourceMappingURL=utils.mjs.map\n","import { inject, ref, computed, unref, watch, onMounted } from 'vue';\nimport { isUndefined } from 'lodash-unified';\nimport '../../../../hooks/index.mjs';\nimport { POPPER_INJECTION_KEY } from '../constants.mjs';\nimport { buildPopperOptions, unwrapMeasurableEl } from '../utils.mjs';\nimport { usePopper } from '../../../../hooks/use-popper/index.mjs';\n\nconst DEFAULT_ARROW_OFFSET = 0;\nconst usePopperContent = (props) => {\n const { popperInstanceRef, contentRef, triggerRef, role } = inject(POPPER_INJECTION_KEY, void 0);\n const arrowRef = ref();\n const arrowOffset = ref();\n const eventListenerModifier = computed(() => {\n return {\n name: \"eventListeners\",\n enabled: !!props.visible\n };\n });\n const arrowModifier = computed(() => {\n var _a;\n const arrowEl = unref(arrowRef);\n const offset = (_a = unref(arrowOffset)) != null ? _a : DEFAULT_ARROW_OFFSET;\n return {\n name: \"arrow\",\n enabled: !isUndefined(arrowEl),\n options: {\n element: arrowEl,\n padding: offset\n }\n };\n });\n const options = computed(() => {\n return {\n onFirstUpdate: () => {\n update();\n },\n ...buildPopperOptions(props, [\n unref(arrowModifier),\n unref(eventListenerModifier)\n ])\n };\n });\n const computedReference = computed(() => unwrapMeasurableEl(props.referenceEl) || unref(triggerRef));\n const { attributes, state, styles, update, forceUpdate, instanceRef } = usePopper(computedReference, contentRef, options);\n watch(instanceRef, (instance) => popperInstanceRef.value = instance);\n onMounted(() => {\n watch(() => {\n var _a;\n return (_a = unref(computedReference)) == null ? void 0 : _a.getBoundingClientRect();\n }, () => {\n update();\n });\n });\n return {\n attributes,\n arrowRef,\n contentRef,\n instanceRef,\n state,\n styles,\n role,\n forceUpdate,\n update\n };\n};\n\nexport { usePopperContent };\n//# sourceMappingURL=use-content.mjs.map\n","import { defineComponent, inject, ref, provide, onMounted, watch, unref, onBeforeUnmount, openBlock, createElementBlock, mergeProps, createVNode, withCtx, renderSlot } from 'vue';\nimport { NOOP } from '@vue/shared';\nimport { isNil } from 'lodash-unified';\nimport '../../focus-trap/index.mjs';\nimport '../../form/index.mjs';\nimport '../../../utils/index.mjs';\nimport { POPPER_CONTENT_INJECTION_KEY } from './constants.mjs';\nimport { popperContentProps, popperContentEmits } from './content.mjs';\nimport './composables/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { usePopperContentFocusTrap } from './composables/use-focus-trap.mjs';\nimport { usePopperContent } from './composables/use-content.mjs';\nimport { usePopperContentDOM } from './composables/use-content-dom.mjs';\nimport { formItemContextKey } from '../../form/src/constants.mjs';\nimport { isElement } from '../../../utils/types.mjs';\nimport ElFocusTrap from '../../focus-trap/src/focus-trap.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElPopperContent\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: popperContentProps,\n emits: popperContentEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const {\n focusStartRef,\n trapped,\n onFocusAfterReleased,\n onFocusAfterTrapped,\n onFocusInTrap,\n onFocusoutPrevented,\n onReleaseRequested\n } = usePopperContentFocusTrap(props, emit);\n const { attributes, arrowRef, contentRef, styles, instanceRef, role, update } = usePopperContent(props);\n const {\n ariaModal,\n arrowStyle,\n contentAttrs,\n contentClass,\n contentStyle,\n updateZIndex\n } = usePopperContentDOM(props, {\n styles,\n attributes,\n role\n });\n const formItemContext = inject(formItemContextKey, void 0);\n const arrowOffset = ref();\n provide(POPPER_CONTENT_INJECTION_KEY, {\n arrowStyle,\n arrowRef,\n arrowOffset\n });\n if (formItemContext && (formItemContext.addInputId || formItemContext.removeInputId)) {\n provide(formItemContextKey, {\n ...formItemContext,\n addInputId: NOOP,\n removeInputId: NOOP\n });\n }\n let triggerTargetAriaStopWatch = void 0;\n const updatePopper = (shouldUpdateZIndex = true) => {\n update();\n shouldUpdateZIndex && updateZIndex();\n };\n const togglePopperAlive = () => {\n updatePopper(false);\n if (props.visible && props.focusOnShow) {\n trapped.value = true;\n } else if (props.visible === false) {\n trapped.value = false;\n }\n };\n onMounted(() => {\n watch(() => props.triggerTargetEl, (triggerTargetEl, prevTriggerTargetEl) => {\n triggerTargetAriaStopWatch == null ? void 0 : triggerTargetAriaStopWatch();\n triggerTargetAriaStopWatch = void 0;\n const el = unref(triggerTargetEl || contentRef.value);\n const prevEl = unref(prevTriggerTargetEl || contentRef.value);\n if (isElement(el)) {\n triggerTargetAriaStopWatch = watch([role, () => props.ariaLabel, ariaModal, () => props.id], (watches) => {\n ;\n [\"role\", \"aria-label\", \"aria-modal\", \"id\"].forEach((key, idx) => {\n isNil(watches[idx]) ? el.removeAttribute(key) : el.setAttribute(key, watches[idx]);\n });\n }, { immediate: true });\n }\n if (prevEl !== el && isElement(prevEl)) {\n ;\n [\"role\", \"aria-label\", \"aria-modal\", \"id\"].forEach((key) => {\n prevEl.removeAttribute(key);\n });\n }\n }, { immediate: true });\n watch(() => props.visible, togglePopperAlive, { immediate: true });\n });\n onBeforeUnmount(() => {\n triggerTargetAriaStopWatch == null ? void 0 : triggerTargetAriaStopWatch();\n triggerTargetAriaStopWatch = void 0;\n });\n expose({\n popperContentRef: contentRef,\n popperInstanceRef: instanceRef,\n updatePopper,\n contentStyle\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", mergeProps({\n ref_key: \"contentRef\",\n ref: contentRef\n }, unref(contentAttrs), {\n style: unref(contentStyle),\n class: unref(contentClass),\n tabindex: \"-1\",\n onMouseenter: _cache[0] || (_cache[0] = (e) => _ctx.$emit(\"mouseenter\", e)),\n onMouseleave: _cache[1] || (_cache[1] = (e) => _ctx.$emit(\"mouseleave\", e))\n }), [\n createVNode(unref(ElFocusTrap), {\n trapped: unref(trapped),\n \"trap-on-focus-in\": true,\n \"focus-trap-el\": unref(contentRef),\n \"focus-start-el\": unref(focusStartRef),\n onFocusAfterTrapped: unref(onFocusAfterTrapped),\n onFocusAfterReleased: unref(onFocusAfterReleased),\n onFocusin: unref(onFocusInTrap),\n onFocusoutPrevented: unref(onFocusoutPrevented),\n onReleaseRequested: unref(onReleaseRequested)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"trapped\", \"focus-trap-el\", \"focus-start-el\", \"onFocusAfterTrapped\", \"onFocusAfterReleased\", \"onFocusin\", \"onFocusoutPrevented\", \"onReleaseRequested\"])\n ], 16);\n };\n }\n});\nvar ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue\"]]);\n\nexport { ElPopperContent as default };\n//# sourceMappingURL=content2.mjs.map\n","import { ref } from 'vue';\n\nconst usePopperContentFocusTrap = (props, emit) => {\n const trapped = ref(false);\n const focusStartRef = ref();\n const onFocusAfterTrapped = () => {\n emit(\"focus\");\n };\n const onFocusAfterReleased = (event) => {\n var _a;\n if (((_a = event.detail) == null ? void 0 : _a.focusReason) !== \"pointer\") {\n focusStartRef.value = \"first\";\n emit(\"blur\");\n }\n };\n const onFocusInTrap = (event) => {\n if (props.visible && !trapped.value) {\n if (event.target) {\n focusStartRef.value = event.target;\n }\n trapped.value = true;\n }\n };\n const onFocusoutPrevented = (event) => {\n if (!props.trapping) {\n if (event.detail.focusReason === \"pointer\") {\n event.preventDefault();\n }\n trapped.value = false;\n }\n };\n const onReleaseRequested = () => {\n trapped.value = false;\n emit(\"close\");\n };\n return {\n focusStartRef,\n trapped,\n onFocusAfterReleased,\n onFocusAfterTrapped,\n onFocusInTrap,\n onFocusoutPrevented,\n onReleaseRequested\n };\n};\n\nexport { usePopperContentFocusTrap };\n//# sourceMappingURL=use-focus-trap.mjs.map\n","import { computed, unref, ref } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { useZIndex } from '../../../../hooks/use-z-index/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nconst usePopperContentDOM = (props, {\n attributes,\n styles,\n role\n}) => {\n const { nextZIndex } = useZIndex();\n const ns = useNamespace(\"popper\");\n const contentAttrs = computed(() => unref(attributes).popper);\n const contentZIndex = ref(props.zIndex || nextZIndex());\n const contentClass = computed(() => [\n ns.b(),\n ns.is(\"pure\", props.pure),\n ns.is(props.effect),\n props.popperClass\n ]);\n const contentStyle = computed(() => {\n return [\n { zIndex: unref(contentZIndex) },\n unref(styles).popper,\n props.popperStyle || {}\n ];\n });\n const ariaModal = computed(() => role.value === \"dialog\" ? \"false\" : void 0);\n const arrowStyle = computed(() => unref(styles).arrow || {});\n const updateZIndex = () => {\n contentZIndex.value = props.zIndex || nextZIndex();\n };\n return {\n ariaModal,\n arrowStyle,\n contentAttrs,\n contentClass,\n contentStyle,\n contentZIndex,\n updateZIndex\n };\n};\n\nexport { usePopperContentDOM };\n//# sourceMappingURL=use-content-dom.mjs.map\n","import '../../utils/index.mjs';\nimport Popper from './src/popper2.mjs';\nexport { default as ElPopperArrow } from './src/arrow2.mjs';\nexport { default as ElPopperTrigger } from './src/trigger2.mjs';\nexport { default as ElPopperContent } from './src/content2.mjs';\nexport { Effect, popperProps, roleTypes, usePopperProps } from './src/popper.mjs';\nexport { popperTriggerProps, usePopperTriggerProps } from './src/trigger.mjs';\nexport { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './src/content.mjs';\nexport { popperArrowProps, usePopperArrowProps } from './src/arrow.mjs';\nexport { POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY } from './src/constants.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElPopper = withInstall(Popper);\n\nexport { ElPopper, ElPopper as default };\n//# sourceMappingURL=index.mjs.map\n","const TOOLTIP_INJECTION_KEY = Symbol(\"elTooltip\");\n\nexport { TOOLTIP_INJECTION_KEY };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../popper/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useDelayedToggleProps } from '../../../hooks/use-delayed-toggle/index.mjs';\nimport { popperContentProps } from '../../popper/src/content.mjs';\n\nconst useTooltipContentProps = buildProps({\n ...useDelayedToggleProps,\n ...popperContentProps,\n appendTo: {\n type: definePropType([String, Object])\n },\n content: {\n type: String,\n default: \"\"\n },\n rawContent: {\n type: Boolean,\n default: false\n },\n persistent: Boolean,\n ariaLabel: String,\n visible: {\n type: definePropType(Boolean),\n default: null\n },\n transition: String,\n teleported: {\n type: Boolean,\n default: true\n },\n disabled: Boolean\n});\n\nexport { useTooltipContentProps };\n//# sourceMappingURL=content.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../popper/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { popperTriggerProps } from '../../popper/src/trigger.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\n\nconst useTooltipTriggerProps = buildProps({\n ...popperTriggerProps,\n disabled: Boolean,\n trigger: {\n type: definePropType([String, Array]),\n default: \"hover\"\n },\n triggerKeys: {\n type: definePropType(Array),\n default: () => [EVENT_CODE.enter, EVENT_CODE.space]\n }\n});\n\nexport { useTooltipTriggerProps };\n//# sourceMappingURL=trigger.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../popper/index.mjs';\nimport { useTooltipContentProps } from './content.mjs';\nimport { useTooltipTriggerProps } from './trigger.mjs';\nimport { createModelToggleComposable } from '../../../hooks/use-model-toggle/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { popperProps } from '../../popper/src/popper.mjs';\nimport { popperArrowProps } from '../../popper/src/arrow.mjs';\n\nconst {\n useModelToggleProps: useTooltipModelToggleProps,\n useModelToggleEmits: useTooltipModelToggleEmits,\n useModelToggle: useTooltipModelToggle\n} = createModelToggleComposable(\"visible\");\nconst useTooltipProps = buildProps({\n ...popperProps,\n ...useTooltipModelToggleProps,\n ...useTooltipContentProps,\n ...useTooltipTriggerProps,\n ...popperArrowProps,\n showArrow: {\n type: Boolean,\n default: true\n }\n});\nconst tooltipEmits = [\n ...useTooltipModelToggleEmits,\n \"before-show\",\n \"before-hide\",\n \"show\",\n \"hide\",\n \"open\",\n \"close\"\n];\n\nexport { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps };\n//# sourceMappingURL=tooltip.mjs.map\n","import { unref } from 'vue';\nimport '../../../utils/index.mjs';\nimport { isArray } from '@vue/shared';\n\nconst isTriggerType = (trigger, type) => {\n if (isArray(trigger)) {\n return trigger.includes(type);\n }\n return trigger === type;\n};\nconst whenTrigger = (trigger, type, handler) => {\n return (e) => {\n isTriggerType(unref(trigger), type) && handler(e);\n };\n};\n\nexport { isTriggerType, whenTrigger };\n//# sourceMappingURL=utils.mjs.map\n","import { defineComponent, inject, ref, unref, toRef, openBlock, createBlock, normalizeClass, withCtx, renderSlot } from 'vue';\nimport '../../popper/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { TOOLTIP_INJECTION_KEY } from './constants.mjs';\nimport { useTooltipTriggerProps } from './trigger.mjs';\nimport { whenTrigger } from './utils.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { composeEventHandlers } from '../../../utils/dom/event.mjs';\nimport ElPopperTrigger from '../../popper/src/trigger2.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElTooltipTrigger\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: useTooltipTriggerProps,\n setup(__props, { expose }) {\n const props = __props;\n const ns = useNamespace(\"tooltip\");\n const { controlled, id, open, onOpen, onClose, onToggle } = inject(TOOLTIP_INJECTION_KEY, void 0);\n const triggerRef = ref(null);\n const stopWhenControlledOrDisabled = () => {\n if (unref(controlled) || props.disabled) {\n return true;\n }\n };\n const trigger = toRef(props, \"trigger\");\n const onMouseenter = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, \"hover\", onOpen));\n const onMouseleave = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, \"hover\", onClose));\n const onClick = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, \"click\", (e) => {\n if (e.button === 0) {\n onToggle(e);\n }\n }));\n const onFocus = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, \"focus\", onOpen));\n const onBlur = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, \"focus\", onClose));\n const onContextMenu = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, \"contextmenu\", (e) => {\n e.preventDefault();\n onToggle(e);\n }));\n const onKeydown = composeEventHandlers(stopWhenControlledOrDisabled, (e) => {\n const { code } = e;\n if (props.triggerKeys.includes(code)) {\n e.preventDefault();\n onToggle(e);\n }\n });\n expose({\n triggerRef\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(ElPopperTrigger), {\n id: unref(id),\n \"virtual-ref\": _ctx.virtualRef,\n open: unref(open),\n \"virtual-triggering\": _ctx.virtualTriggering,\n class: normalizeClass(unref(ns).e(\"trigger\")),\n onBlur: unref(onBlur),\n onClick: unref(onClick),\n onContextmenu: unref(onContextMenu),\n onFocus: unref(onFocus),\n onMouseenter: unref(onMouseenter),\n onMouseleave: unref(onMouseleave),\n onKeydown: unref(onKeydown)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"id\", \"virtual-ref\", \"open\", \"virtual-triggering\", \"class\", \"onBlur\", \"onClick\", \"onContextmenu\", \"onFocus\", \"onMouseenter\", \"onMouseleave\", \"onKeydown\"]);\n };\n }\n});\nvar ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue\"]]);\n\nexport { ElTooltipTrigger as default };\n//# sourceMappingURL=trigger2.mjs.map\n","import { defineComponent, ref, inject, computed, onBeforeUnmount, unref, watch, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, mergeProps, renderSlot, createCommentVNode, vShow } from 'vue';\nimport { onClickOutside } from '@vueuse/core';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../popper/index.mjs';\nimport { TOOLTIP_INJECTION_KEY } from './constants.mjs';\nimport { useTooltipContentProps } from './content.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { usePopperContainerId } from '../../../hooks/use-popper-container/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { composeEventHandlers } from '../../../utils/dom/event.mjs';\nimport ElPopperContent from '../../popper/src/content2.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElTooltipContent\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: useTooltipContentProps,\n setup(__props, { expose }) {\n const props = __props;\n const { selector } = usePopperContainerId();\n const ns = useNamespace(\"tooltip\");\n const contentRef = ref(null);\n const destroyed = ref(false);\n const {\n controlled,\n id,\n open,\n trigger,\n onClose,\n onOpen,\n onShow,\n onHide,\n onBeforeShow,\n onBeforeHide\n } = inject(TOOLTIP_INJECTION_KEY, void 0);\n const transitionClass = computed(() => {\n return props.transition || `${ns.namespace.value}-fade-in-linear`;\n });\n const persistentRef = computed(() => {\n if (process.env.NODE_ENV === \"test\") {\n return true;\n }\n return props.persistent;\n });\n onBeforeUnmount(() => {\n destroyed.value = true;\n });\n const shouldRender = computed(() => {\n return unref(persistentRef) ? true : unref(open);\n });\n const shouldShow = computed(() => {\n return props.disabled ? false : unref(open);\n });\n const appendTo = computed(() => {\n return props.appendTo || selector.value;\n });\n const contentStyle = computed(() => {\n var _a;\n return (_a = props.style) != null ? _a : {};\n });\n const ariaHidden = computed(() => !unref(open));\n const onTransitionLeave = () => {\n onHide();\n };\n const stopWhenControlled = () => {\n if (unref(controlled))\n return true;\n };\n const onContentEnter = composeEventHandlers(stopWhenControlled, () => {\n if (props.enterable && unref(trigger) === \"hover\") {\n onOpen();\n }\n });\n const onContentLeave = composeEventHandlers(stopWhenControlled, () => {\n if (unref(trigger) === \"hover\") {\n onClose();\n }\n });\n const onBeforeEnter = () => {\n var _a, _b;\n (_b = (_a = contentRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);\n onBeforeShow == null ? void 0 : onBeforeShow();\n };\n const onBeforeLeave = () => {\n onBeforeHide == null ? void 0 : onBeforeHide();\n };\n const onAfterShow = () => {\n onShow();\n stopHandle = onClickOutside(computed(() => {\n var _a;\n return (_a = contentRef.value) == null ? void 0 : _a.popperContentRef;\n }), () => {\n if (unref(controlled))\n return;\n const $trigger = unref(trigger);\n if ($trigger !== \"hover\") {\n onClose();\n }\n });\n };\n const onBlur = () => {\n if (!props.virtualTriggering) {\n onClose();\n }\n };\n let stopHandle;\n watch(() => unref(open), (val) => {\n if (!val) {\n stopHandle == null ? void 0 : stopHandle();\n }\n }, {\n flush: \"post\"\n });\n watch(() => props.content, () => {\n var _a, _b;\n (_b = (_a = contentRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);\n });\n expose({\n contentRef\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Teleport, {\n disabled: !_ctx.teleported,\n to: unref(appendTo)\n }, [\n createVNode(Transition, {\n name: unref(transitionClass),\n onAfterLeave: onTransitionLeave,\n onBeforeEnter,\n onAfterEnter: onAfterShow,\n onBeforeLeave\n }, {\n default: withCtx(() => [\n unref(shouldRender) ? withDirectives((openBlock(), createBlock(unref(ElPopperContent), mergeProps({\n key: 0,\n id: unref(id),\n ref_key: \"contentRef\",\n ref: contentRef\n }, _ctx.$attrs, {\n \"aria-label\": _ctx.ariaLabel,\n \"aria-hidden\": unref(ariaHidden),\n \"boundaries-padding\": _ctx.boundariesPadding,\n \"fallback-placements\": _ctx.fallbackPlacements,\n \"gpu-acceleration\": _ctx.gpuAcceleration,\n offset: _ctx.offset,\n placement: _ctx.placement,\n \"popper-options\": _ctx.popperOptions,\n strategy: _ctx.strategy,\n effect: _ctx.effect,\n enterable: _ctx.enterable,\n pure: _ctx.pure,\n \"popper-class\": _ctx.popperClass,\n \"popper-style\": [_ctx.popperStyle, unref(contentStyle)],\n \"reference-el\": _ctx.referenceEl,\n \"trigger-target-el\": _ctx.triggerTargetEl,\n visible: unref(shouldShow),\n \"z-index\": _ctx.zIndex,\n onMouseenter: unref(onContentEnter),\n onMouseleave: unref(onContentLeave),\n onBlur,\n onClose: unref(onClose)\n }), {\n default: withCtx(() => [\n !destroyed.value ? renderSlot(_ctx.$slots, \"default\", { key: 0 }) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 16, [\"id\", \"aria-label\", \"aria-hidden\", \"boundaries-padding\", \"fallback-placements\", \"gpu-acceleration\", \"offset\", \"placement\", \"popper-options\", \"strategy\", \"effect\", \"enterable\", \"pure\", \"popper-class\", \"popper-style\", \"reference-el\", \"trigger-target-el\", \"visible\", \"z-index\", \"onMouseenter\", \"onMouseleave\", \"onClose\"])), [\n [vShow, unref(shouldShow)]\n ]) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"name\"])\n ], 8, [\"disabled\", \"to\"]);\n };\n }\n});\nvar ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue\"]]);\n\nexport { ElTooltipContent as default };\n//# sourceMappingURL=content2.mjs.map\n","import { defineComponent, ref, unref, toRef, computed, provide, readonly, watch, onDeactivated, openBlock, createBlock, withCtx, createVNode, renderSlot, createCommentVNode, createElementBlock, toDisplayString } from 'vue';\nimport { ElPopper } from '../../popper/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { TOOLTIP_INJECTION_KEY } from './constants.mjs';\nimport { useTooltipProps, tooltipEmits, useTooltipModelToggle } from './tooltip.mjs';\nimport ElTooltipTrigger from './trigger2.mjs';\nimport ElTooltipContent from './content2.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { usePopperContainer } from '../../../hooks/use-popper-container/index.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { useDelayedToggle } from '../../../hooks/use-delayed-toggle/index.mjs';\nimport { isBoolean } from '../../../utils/types.mjs';\nimport ElPopperArrow from '../../popper/src/arrow2.mjs';\n\nconst _hoisted_1 = [\"innerHTML\"];\nconst _hoisted_2 = { key: 1 };\nconst __default__ = defineComponent({\n name: \"ElTooltip\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: useTooltipProps,\n emits: tooltipEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n usePopperContainer();\n const id = useId();\n const popperRef = ref();\n const contentRef = ref();\n const updatePopper = () => {\n var _a;\n const popperComponent = unref(popperRef);\n if (popperComponent) {\n (_a = popperComponent.popperInstanceRef) == null ? void 0 : _a.update();\n }\n };\n const open = ref(false);\n const toggleReason = ref();\n const { show, hide, hasUpdateHandler } = useTooltipModelToggle({\n indicator: open,\n toggleReason\n });\n const { onOpen, onClose } = useDelayedToggle({\n showAfter: toRef(props, \"showAfter\"),\n hideAfter: toRef(props, \"hideAfter\"),\n autoClose: toRef(props, \"autoClose\"),\n open: show,\n close: hide\n });\n const controlled = computed(() => isBoolean(props.visible) && !hasUpdateHandler.value);\n provide(TOOLTIP_INJECTION_KEY, {\n controlled,\n id,\n open: readonly(open),\n trigger: toRef(props, \"trigger\"),\n onOpen: (event) => {\n onOpen(event);\n },\n onClose: (event) => {\n onClose(event);\n },\n onToggle: (event) => {\n if (unref(open)) {\n onClose(event);\n } else {\n onOpen(event);\n }\n },\n onShow: () => {\n emit(\"show\", toggleReason.value);\n },\n onHide: () => {\n emit(\"hide\", toggleReason.value);\n },\n onBeforeShow: () => {\n emit(\"before-show\", toggleReason.value);\n },\n onBeforeHide: () => {\n emit(\"before-hide\", toggleReason.value);\n },\n updatePopper\n });\n watch(() => props.disabled, (disabled) => {\n if (disabled && open.value) {\n open.value = false;\n }\n });\n const isFocusInsideContent = (event) => {\n var _a, _b;\n const popperContent = (_b = (_a = contentRef.value) == null ? void 0 : _a.contentRef) == null ? void 0 : _b.popperContentRef;\n const activeElement = (event == null ? void 0 : event.relatedTarget) || document.activeElement;\n return popperContent && popperContent.contains(activeElement);\n };\n onDeactivated(() => open.value && hide());\n expose({\n popperRef,\n contentRef,\n isFocusInsideContent,\n updatePopper,\n onOpen,\n onClose,\n hide\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(ElPopper), {\n ref_key: \"popperRef\",\n ref: popperRef,\n role: _ctx.role\n }, {\n default: withCtx(() => [\n createVNode(ElTooltipTrigger, {\n disabled: _ctx.disabled,\n trigger: _ctx.trigger,\n \"trigger-keys\": _ctx.triggerKeys,\n \"virtual-ref\": _ctx.virtualRef,\n \"virtual-triggering\": _ctx.virtualTriggering\n }, {\n default: withCtx(() => [\n _ctx.$slots.default ? renderSlot(_ctx.$slots, \"default\", { key: 0 }) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"disabled\", \"trigger\", \"trigger-keys\", \"virtual-ref\", \"virtual-triggering\"]),\n createVNode(ElTooltipContent, {\n ref_key: \"contentRef\",\n ref: contentRef,\n \"aria-label\": _ctx.ariaLabel,\n \"boundaries-padding\": _ctx.boundariesPadding,\n content: _ctx.content,\n disabled: _ctx.disabled,\n effect: _ctx.effect,\n enterable: _ctx.enterable,\n \"fallback-placements\": _ctx.fallbackPlacements,\n \"hide-after\": _ctx.hideAfter,\n \"gpu-acceleration\": _ctx.gpuAcceleration,\n offset: _ctx.offset,\n persistent: _ctx.persistent,\n \"popper-class\": _ctx.popperClass,\n \"popper-style\": _ctx.popperStyle,\n placement: _ctx.placement,\n \"popper-options\": _ctx.popperOptions,\n pure: _ctx.pure,\n \"raw-content\": _ctx.rawContent,\n \"reference-el\": _ctx.referenceEl,\n \"trigger-target-el\": _ctx.triggerTargetEl,\n \"show-after\": _ctx.showAfter,\n strategy: _ctx.strategy,\n teleported: _ctx.teleported,\n transition: _ctx.transition,\n \"virtual-triggering\": _ctx.virtualTriggering,\n \"z-index\": _ctx.zIndex,\n \"append-to\": _ctx.appendTo\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"content\", {}, () => [\n _ctx.rawContent ? (openBlock(), createElementBlock(\"span\", {\n key: 0,\n innerHTML: _ctx.content\n }, null, 8, _hoisted_1)) : (openBlock(), createElementBlock(\"span\", _hoisted_2, toDisplayString(_ctx.content), 1))\n ]),\n _ctx.showArrow ? (openBlock(), createBlock(unref(ElPopperArrow), {\n key: 0,\n \"arrow-offset\": _ctx.arrowOffset\n }, null, 8, [\"arrow-offset\"])) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"aria-label\", \"boundaries-padding\", \"content\", \"disabled\", \"effect\", \"enterable\", \"fallback-placements\", \"hide-after\", \"gpu-acceleration\", \"offset\", \"persistent\", \"popper-class\", \"popper-style\", \"placement\", \"popper-options\", \"pure\", \"raw-content\", \"reference-el\", \"trigger-target-el\", \"show-after\", \"strategy\", \"teleported\", \"transition\", \"virtual-triggering\", \"z-index\", \"append-to\"])\n ]),\n _: 3\n }, 8, [\"role\"]);\n };\n }\n});\nvar Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue\"]]);\n\nexport { Tooltip as default };\n//# sourceMappingURL=tooltip2.mjs.map\n","import '../../utils/index.mjs';\nimport Tooltip from './src/tooltip2.mjs';\nexport { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps } from './src/tooltip.mjs';\nexport { useTooltipTriggerProps } from './src/trigger.mjs';\nexport { useTooltipContentProps } from './src/content.mjs';\nexport { TOOLTIP_INJECTION_KEY } from './src/constants.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElTooltip = withInstall(Tooltip);\n\nexport { ElTooltip, ElTooltip as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../../constants/size.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\n\nconst avatarProps = buildProps({\n size: {\n type: [Number, String],\n values: componentSizes,\n default: \"\",\n validator: (val) => isNumber(val)\n },\n shape: {\n type: String,\n values: [\"circle\", \"square\"],\n default: \"circle\"\n },\n icon: {\n type: iconPropType\n },\n src: {\n type: String,\n default: \"\"\n },\n alt: String,\n srcSet: String,\n fit: {\n type: definePropType(String),\n default: \"cover\"\n }\n});\nconst avatarEmits = {\n error: (evt) => evt instanceof Event\n};\n\nexport { avatarEmits, avatarProps };\n//# sourceMappingURL=avatar.mjs.map\n","import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createBlock, withCtx, resolveDynamicComponent, renderSlot } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { avatarProps, avatarEmits } from './avatar.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isString } from '@vue/shared';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\n\nconst _hoisted_1 = [\"src\", \"alt\", \"srcset\"];\nconst __default__ = defineComponent({\n name: \"ElAvatar\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: avatarProps,\n emits: avatarEmits,\n setup(__props, { emit }) {\n const props = __props;\n const ns = useNamespace(\"avatar\");\n const hasLoadError = ref(false);\n const avatarClass = computed(() => {\n const { size, icon, shape } = props;\n const classList = [ns.b()];\n if (isString(size))\n classList.push(ns.m(size));\n if (icon)\n classList.push(ns.m(\"icon\"));\n if (shape)\n classList.push(ns.m(shape));\n return classList;\n });\n const sizeStyle = computed(() => {\n const { size } = props;\n return isNumber(size) ? ns.cssVarBlock({\n size: addUnit(size) || \"\"\n }) : void 0;\n });\n const fitStyle = computed(() => ({\n objectFit: props.fit\n }));\n watch(() => props.src, () => hasLoadError.value = false);\n function handleError(e) {\n hasLoadError.value = true;\n emit(\"error\", e);\n }\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"span\", {\n class: normalizeClass(unref(avatarClass)),\n style: normalizeStyle(unref(sizeStyle))\n }, [\n (_ctx.src || _ctx.srcSet) && !hasLoadError.value ? (openBlock(), createElementBlock(\"img\", {\n key: 0,\n src: _ctx.src,\n alt: _ctx.alt,\n srcset: _ctx.srcSet,\n style: normalizeStyle(unref(fitStyle)),\n onError: handleError\n }, null, 44, _hoisted_1)) : _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))\n ]),\n _: 1\n })) : renderSlot(_ctx.$slots, \"default\", { key: 2 })\n ], 6);\n };\n }\n});\nvar Avatar = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue\"]]);\n\nexport { Avatar as default };\n//# sourceMappingURL=avatar2.mjs.map\n","import '../../utils/index.mjs';\nimport Avatar from './src/avatar2.mjs';\nexport { avatarEmits, avatarProps } from './src/avatar.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElAvatar = withInstall(Avatar);\n\nexport { ElAvatar, ElAvatar as default };\n//# sourceMappingURL=index.mjs.map\n","const backtopProps = {\n visibilityHeight: {\n type: Number,\n default: 200\n },\n target: {\n type: String,\n default: \"\"\n },\n right: {\n type: Number,\n default: 40\n },\n bottom: {\n type: Number,\n default: 40\n }\n};\nconst backtopEmits = {\n click: (evt) => evt instanceof MouseEvent\n};\n\nexport { backtopEmits, backtopProps };\n//# sourceMappingURL=backtop.mjs.map\n","import { defineComponent, computed, openBlock, createBlock, Transition, unref, withCtx, createElementBlock, normalizeStyle, normalizeClass, withModifiers, renderSlot, createVNode, createCommentVNode } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { CaretTop } from '@element-plus/icons-vue';\nimport '../../../hooks/index.mjs';\nimport { backtopProps, backtopEmits } from './backtop.mjs';\nimport { useBackTop } from './use-backtop.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst COMPONENT_NAME = \"ElBacktop\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: backtopProps,\n emits: backtopEmits,\n setup(__props, { emit }) {\n const props = __props;\n const ns = useNamespace(\"backtop\");\n const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME);\n const backTopStyle = computed(() => ({\n right: `${props.right}px`,\n bottom: `${props.bottom}px`\n }));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Transition, {\n name: `${unref(ns).namespace.value}-fade-in`\n }, {\n default: withCtx(() => [\n unref(visible) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n style: normalizeStyle(unref(backTopStyle)),\n class: normalizeClass(unref(ns).b()),\n onClick: _cache[0] || (_cache[0] = withModifiers((...args) => unref(handleClick) && unref(handleClick)(...args), [\"stop\"]))\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createVNode(unref(ElIcon), {\n class: normalizeClass(unref(ns).e(\"icon\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(CaretTop))\n ]),\n _: 1\n }, 8, [\"class\"])\n ])\n ], 6)) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"name\"]);\n };\n }\n});\nvar Backtop = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue\"]]);\n\nexport { Backtop as default };\n//# sourceMappingURL=backtop2.mjs.map\n","import '../../utils/index.mjs';\nimport Backtop from './src/backtop2.mjs';\nexport { backtopEmits, backtopProps } from './src/backtop.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElBacktop = withInstall(Backtop);\n\nexport { ElBacktop, ElBacktop as default };\n//# sourceMappingURL=index.mjs.map\n","import { shallowRef, ref, onMounted } from 'vue';\nimport { useThrottleFn, useEventListener } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport { throwError } from '../../../utils/error.mjs';\n\nconst useBackTop = (props, emit, componentName) => {\n const el = shallowRef();\n const container = shallowRef();\n const visible = ref(false);\n const handleScroll = () => {\n if (el.value)\n visible.value = el.value.scrollTop >= props.visibilityHeight;\n };\n const handleClick = (event) => {\n var _a;\n (_a = el.value) == null ? void 0 : _a.scrollTo({ top: 0, behavior: \"smooth\" });\n emit(\"click\", event);\n };\n const handleScrollThrottled = useThrottleFn(handleScroll, 300, true);\n useEventListener(container, \"scroll\", handleScrollThrottled);\n onMounted(() => {\n var _a;\n container.value = document;\n el.value = document.documentElement;\n if (props.target) {\n el.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;\n if (!el.value) {\n throwError(componentName, `target does not exist: ${props.target}`);\n }\n container.value = el.value;\n }\n handleScroll();\n });\n return {\n visible,\n handleClick\n };\n};\n\nexport { useBackTop };\n//# sourceMappingURL=use-backtop.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst badgeProps = buildProps({\n value: {\n type: [String, Number],\n default: \"\"\n },\n max: {\n type: Number,\n default: 99\n },\n isDot: Boolean,\n hidden: Boolean,\n type: {\n type: String,\n values: [\"primary\", \"success\", \"warning\", \"info\", \"danger\"],\n default: \"danger\"\n }\n});\n\nexport { badgeProps };\n//# sourceMappingURL=badge.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createVNode, Transition, withCtx, withDirectives, createElementVNode, toDisplayString, vShow } from 'vue';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { badgeProps } from './badge.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nconst _hoisted_1 = [\"textContent\"];\nconst __default__ = defineComponent({\n name: \"ElBadge\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: badgeProps,\n setup(__props, { expose }) {\n const props = __props;\n const ns = useNamespace(\"badge\");\n const content = computed(() => {\n if (props.isDot)\n return \"\";\n if (isNumber(props.value) && isNumber(props.max)) {\n return props.max < props.value ? `${props.max}+` : `${props.value}`;\n }\n return `${props.value}`;\n });\n expose({\n content\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(unref(ns).b())\n }, [\n renderSlot(_ctx.$slots, \"default\"),\n createVNode(Transition, {\n name: `${unref(ns).namespace.value}-zoom-in-center`,\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"sup\", {\n class: normalizeClass([\n unref(ns).e(\"content\"),\n unref(ns).em(\"content\", _ctx.type),\n unref(ns).is(\"fixed\", !!_ctx.$slots.default),\n unref(ns).is(\"dot\", _ctx.isDot)\n ]),\n textContent: toDisplayString(unref(content))\n }, null, 10, _hoisted_1), [\n [vShow, !_ctx.hidden && (unref(content) || _ctx.isDot)]\n ])\n ]),\n _: 1\n }, 8, [\"name\"])\n ], 2);\n };\n }\n});\nvar Badge = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue\"]]);\n\nexport { Badge as default };\n//# sourceMappingURL=badge2.mjs.map\n","import '../../utils/index.mjs';\nimport Badge from './src/badge2.mjs';\nexport { badgeProps } from './src/badge.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElBadge = withInstall(Badge);\n\nexport { ElBadge, ElBadge as default };\n//# sourceMappingURL=index.mjs.map\n","const breadcrumbKey = Symbol(\"breadcrumbKey\");\n\nexport { breadcrumbKey };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\n\nconst breadcrumbProps = buildProps({\n separator: {\n type: String,\n default: \"/\"\n },\n separatorIcon: {\n type: iconPropType\n }\n});\n\nexport { breadcrumbProps };\n//# sourceMappingURL=breadcrumb.mjs.map\n","import { defineComponent, ref, provide, onMounted, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { breadcrumbKey } from './constants.mjs';\nimport { breadcrumbProps } from './breadcrumb.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElBreadcrumb\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: breadcrumbProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"breadcrumb\");\n const breadcrumb = ref();\n provide(breadcrumbKey, props);\n onMounted(() => {\n const items = breadcrumb.value.querySelectorAll(`.${ns.e(\"item\")}`);\n if (items.length) {\n items[items.length - 1].setAttribute(\"aria-current\", \"page\");\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref_key: \"breadcrumb\",\n ref: breadcrumb,\n class: normalizeClass(unref(ns).b()),\n \"aria-label\": \"Breadcrumb\",\n role: \"navigation\"\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nvar Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue\"]]);\n\nexport { Breadcrumb as default };\n//# sourceMappingURL=breadcrumb2.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst breadcrumbItemProps = buildProps({\n to: {\n type: definePropType([String, Object]),\n default: \"\"\n },\n replace: {\n type: Boolean,\n default: false\n }\n});\n\nexport { breadcrumbItemProps };\n//# sourceMappingURL=breadcrumb-item.mjs.map\n","import { defineComponent, getCurrentInstance, inject, ref, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, createBlock, withCtx, resolveDynamicComponent, toDisplayString } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { breadcrumbKey } from './constants.mjs';\nimport { breadcrumbItemProps } from './breadcrumb-item.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElBreadcrumbItem\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: breadcrumbItemProps,\n setup(__props) {\n const props = __props;\n const instance = getCurrentInstance();\n const breadcrumbContext = inject(breadcrumbKey, void 0);\n const ns = useNamespace(\"breadcrumb\");\n const router = instance.appContext.config.globalProperties.$router;\n const link = ref();\n const onClick = () => {\n if (!props.to || !router)\n return;\n props.replace ? router.replace(props.to) : router.push(props.to);\n };\n return (_ctx, _cache) => {\n var _a, _b;\n return openBlock(), createElementBlock(\"span\", {\n class: normalizeClass(unref(ns).e(\"item\"))\n }, [\n createElementVNode(\"span\", {\n ref_key: \"link\",\n ref: link,\n class: normalizeClass([unref(ns).e(\"inner\"), unref(ns).is(\"link\", !!_ctx.to)]),\n role: \"link\",\n onClick\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2),\n ((_a = unref(breadcrumbContext)) == null ? void 0 : _a.separatorIcon) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(ns).e(\"separator\"))\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(breadcrumbContext).separatorIcon)))\n ]),\n _: 1\n }, 8, [\"class\"])) : (openBlock(), createElementBlock(\"span\", {\n key: 1,\n class: normalizeClass(unref(ns).e(\"separator\")),\n role: \"presentation\"\n }, toDisplayString((_b = unref(breadcrumbContext)) == null ? void 0 : _b.separator), 3))\n ], 2);\n };\n }\n});\nvar BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue\"]]);\n\nexport { BreadcrumbItem as default };\n//# sourceMappingURL=breadcrumb-item2.mjs.map\n","import '../../utils/index.mjs';\nimport Breadcrumb from './src/breadcrumb2.mjs';\nimport BreadcrumbItem from './src/breadcrumb-item2.mjs';\nexport { breadcrumbProps } from './src/breadcrumb.mjs';\nexport { breadcrumbItemProps } from './src/breadcrumb-item.mjs';\nexport { breadcrumbKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElBreadcrumb = withInstall(Breadcrumb, {\n BreadcrumbItem\n});\nconst ElBreadcrumbItem = withNoopInstall(BreadcrumbItem);\n\nexport { ElBreadcrumb, ElBreadcrumbItem, ElBreadcrumb as default };\n//# sourceMappingURL=index.mjs.map\n","const buttonGroupContextKey = Symbol(\"buttonGroupContextKey\");\n\nexport { buttonGroupContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { Loading } from '@element-plus/icons-vue';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\n\nconst buttonTypes = [\n \"default\",\n \"primary\",\n \"success\",\n \"warning\",\n \"info\",\n \"danger\",\n \"text\",\n \"\"\n];\nconst buttonNativeTypes = [\"button\", \"submit\", \"reset\"];\nconst buttonProps = buildProps({\n size: useSizeProp,\n disabled: Boolean,\n type: {\n type: String,\n values: buttonTypes,\n default: \"\"\n },\n icon: {\n type: iconPropType\n },\n nativeType: {\n type: String,\n values: buttonNativeTypes,\n default: \"button\"\n },\n loading: Boolean,\n loadingIcon: {\n type: iconPropType,\n default: () => Loading\n },\n plain: Boolean,\n text: Boolean,\n link: Boolean,\n bg: Boolean,\n autofocus: Boolean,\n round: Boolean,\n circle: Boolean,\n color: String,\n dark: Boolean,\n autoInsertSpace: {\n type: Boolean,\n default: void 0\n },\n tag: {\n type: definePropType([String, Object]),\n default: \"button\"\n }\n});\nconst buttonEmits = {\n click: (evt) => evt instanceof MouseEvent\n};\n\nexport { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes };\n//# sourceMappingURL=button.mjs.map\n","import { computed } from 'vue';\nimport { TinyColor } from '@ctrl/tinycolor';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nfunction darken(color, amount = 20) {\n return color.mix(\"#141414\", amount).toString();\n}\nfunction useButtonCustomStyle(props) {\n const _disabled = useFormDisabled();\n const ns = useNamespace(\"button\");\n return computed(() => {\n let styles = {};\n const buttonColor = props.color;\n if (buttonColor) {\n const color = new TinyColor(buttonColor);\n const activeBgColor = props.dark ? color.tint(20).toString() : darken(color, 20);\n if (props.plain) {\n styles = ns.cssVarBlock({\n \"bg-color\": props.dark ? darken(color, 90) : color.tint(90).toString(),\n \"text-color\": buttonColor,\n \"border-color\": props.dark ? darken(color, 50) : color.tint(50).toString(),\n \"hover-text-color\": `var(${ns.cssVarName(\"color-white\")})`,\n \"hover-bg-color\": buttonColor,\n \"hover-border-color\": buttonColor,\n \"active-bg-color\": activeBgColor,\n \"active-text-color\": `var(${ns.cssVarName(\"color-white\")})`,\n \"active-border-color\": activeBgColor\n });\n if (_disabled.value) {\n styles[ns.cssVarBlockName(\"disabled-bg-color\")] = props.dark ? darken(color, 90) : color.tint(90).toString();\n styles[ns.cssVarBlockName(\"disabled-text-color\")] = props.dark ? darken(color, 50) : color.tint(50).toString();\n styles[ns.cssVarBlockName(\"disabled-border-color\")] = props.dark ? darken(color, 80) : color.tint(80).toString();\n }\n } else {\n const hoverBgColor = props.dark ? darken(color, 30) : color.tint(30).toString();\n const textColor = color.isDark() ? `var(${ns.cssVarName(\"color-white\")})` : `var(${ns.cssVarName(\"color-black\")})`;\n styles = ns.cssVarBlock({\n \"bg-color\": buttonColor,\n \"text-color\": textColor,\n \"border-color\": buttonColor,\n \"hover-bg-color\": hoverBgColor,\n \"hover-text-color\": textColor,\n \"hover-border-color\": hoverBgColor,\n \"active-bg-color\": activeBgColor,\n \"active-border-color\": activeBgColor\n });\n if (_disabled.value) {\n const disabledButtonColor = props.dark ? darken(color, 50) : color.tint(50).toString();\n styles[ns.cssVarBlockName(\"disabled-bg-color\")] = disabledButtonColor;\n styles[ns.cssVarBlockName(\"disabled-text-color\")] = props.dark ? \"rgba(255, 255, 255, 0.5)\" : `var(${ns.cssVarName(\"color-white\")})`;\n styles[ns.cssVarBlockName(\"disabled-border-color\")] = disabledButtonColor;\n }\n }\n }\n return styles;\n });\n}\n\nexport { darken, useButtonCustomStyle };\n//# sourceMappingURL=button-custom.mjs.map\n","import { defineComponent, openBlock, createBlock, resolveDynamicComponent, mergeProps, unref, withCtx, createElementBlock, Fragment, renderSlot, normalizeClass, createCommentVNode } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { useButton } from './use-button.mjs';\nimport { buttonProps, buttonEmits } from './button.mjs';\nimport { useButtonCustomStyle } from './button-custom.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElButton\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: buttonProps,\n emits: buttonEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const buttonStyle = useButtonCustomStyle(props);\n const ns = useNamespace(\"button\");\n const { _ref, _size, _type, _disabled, _props, shouldAddSpace, handleClick } = useButton(props, emit);\n expose({\n ref: _ref,\n size: _size,\n type: _type,\n disabled: _disabled,\n shouldAddSpace\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps({\n ref_key: \"_ref\",\n ref: _ref\n }, unref(_props), {\n class: [\n unref(ns).b(),\n unref(ns).m(unref(_type)),\n unref(ns).m(unref(_size)),\n unref(ns).is(\"disabled\", unref(_disabled)),\n unref(ns).is(\"loading\", _ctx.loading),\n unref(ns).is(\"plain\", _ctx.plain),\n unref(ns).is(\"round\", _ctx.round),\n unref(ns).is(\"circle\", _ctx.circle),\n unref(ns).is(\"text\", _ctx.text),\n unref(ns).is(\"link\", _ctx.link),\n unref(ns).is(\"has-bg\", _ctx.bg)\n ],\n style: unref(buttonStyle),\n onClick: unref(handleClick)\n }), {\n default: withCtx(() => [\n _ctx.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n _ctx.$slots.loading ? renderSlot(_ctx.$slots, \"loading\", { key: 0 }) : (openBlock(), createBlock(unref(ElIcon), {\n key: 1,\n class: normalizeClass(unref(ns).is(\"loading\"))\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.loadingIcon)))\n ]),\n _: 1\n }, 8, [\"class\"]))\n ], 64)) : _ctx.icon || _ctx.$slots.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {\n default: withCtx(() => [\n _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : renderSlot(_ctx.$slots, \"icon\", { key: 1 })\n ]),\n _: 3\n })) : createCommentVNode(\"v-if\", true),\n _ctx.$slots.default ? (openBlock(), createElementBlock(\"span\", {\n key: 2,\n class: normalizeClass({ [unref(ns).em(\"text\", \"expand\")]: unref(shouldAddSpace) })\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2)) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 16, [\"class\", \"style\", \"onClick\"]);\n };\n }\n});\nvar Button = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue\"]]);\n\nexport { Button as default };\n//# sourceMappingURL=button2.mjs.map\n","import { computed, inject, ref, useSlots, Text } from 'vue';\nimport '../../form/index.mjs';\nimport '../../config-provider/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buttonGroupContextKey } from './constants.mjs';\nimport { useDeprecated } from '../../../hooks/use-deprecated/index.mjs';\nimport { useGlobalConfig } from '../../config-provider/src/hooks/use-global-config.mjs';\nimport { useFormItem } from '../../form/src/hooks/use-form-item.mjs';\nimport { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\n\nconst useButton = (props, emit) => {\n useDeprecated({\n from: \"type.text\",\n replacement: \"link\",\n version: \"3.0.0\",\n scope: \"props\",\n ref: \"https://element-plus.org/en-US/component/button.html#button-attributes\"\n }, computed(() => props.type === \"text\"));\n const buttonGroupContext = inject(buttonGroupContextKey, void 0);\n const globalConfig = useGlobalConfig(\"button\");\n const { form } = useFormItem();\n const _size = useFormSize(computed(() => buttonGroupContext == null ? void 0 : buttonGroupContext.size));\n const _disabled = useFormDisabled();\n const _ref = ref();\n const slots = useSlots();\n const _type = computed(() => props.type || (buttonGroupContext == null ? void 0 : buttonGroupContext.type) || \"\");\n const autoInsertSpace = computed(() => {\n var _a, _b, _c;\n return (_c = (_b = props.autoInsertSpace) != null ? _b : (_a = globalConfig.value) == null ? void 0 : _a.autoInsertSpace) != null ? _c : false;\n });\n const _props = computed(() => {\n if (props.tag === \"button\") {\n return {\n ariaDisabled: _disabled.value || props.loading,\n disabled: _disabled.value || props.loading,\n autofocus: props.autofocus,\n type: props.nativeType\n };\n }\n return {};\n });\n const shouldAddSpace = computed(() => {\n var _a;\n const defaultSlot = (_a = slots.default) == null ? void 0 : _a.call(slots);\n if (autoInsertSpace.value && (defaultSlot == null ? void 0 : defaultSlot.length) === 1) {\n const slot = defaultSlot[0];\n if ((slot == null ? void 0 : slot.type) === Text) {\n const text = slot.children;\n return /^\\p{Unified_Ideograph}{2}$/u.test(text.trim());\n }\n }\n return false;\n });\n const handleClick = (evt) => {\n if (props.nativeType === \"reset\") {\n form == null ? void 0 : form.resetFields();\n }\n emit(\"click\", evt);\n };\n return {\n _disabled,\n _size,\n _type,\n _ref,\n _props,\n shouldAddSpace,\n handleClick\n };\n};\n\nexport { useButton };\n//# sourceMappingURL=use-button.mjs.map\n","import { buttonProps } from './button.mjs';\n\nconst buttonGroupProps = {\n size: buttonProps.size,\n type: buttonProps.type\n};\n\nexport { buttonGroupProps };\n//# sourceMappingURL=button-group.mjs.map\n","import { defineComponent, provide, reactive, toRef, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { buttonGroupProps } from './button-group.mjs';\nimport { buttonGroupContextKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElButtonGroup\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: buttonGroupProps,\n setup(__props) {\n const props = __props;\n provide(buttonGroupContextKey, reactive({\n size: toRef(props, \"size\"),\n type: toRef(props, \"type\")\n }));\n const ns = useNamespace(\"button\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(`${unref(ns).b(\"group\")}`)\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nvar ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue\"]]);\n\nexport { ButtonGroup as default };\n//# sourceMappingURL=button-group2.mjs.map\n","import '../../utils/index.mjs';\nimport Button from './src/button2.mjs';\nimport ButtonGroup from './src/button-group2.mjs';\nexport { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes } from './src/button.mjs';\nexport { buttonGroupContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElButton = withInstall(Button, {\n ButtonGroup\n});\nconst ElButtonGroup = withNoopInstall(ButtonGroup);\n\nexport { ElButton, ElButtonGroup, ElButton as default };\n//# sourceMappingURL=index.mjs.map\n","const timeUnits = [\"hours\", \"minutes\", \"seconds\"];\nconst DEFAULT_FORMATS_TIME = \"HH:mm:ss\";\nconst DEFAULT_FORMATS_DATE = \"YYYY-MM-DD\";\nconst DEFAULT_FORMATS_DATEPICKER = {\n date: DEFAULT_FORMATS_DATE,\n dates: DEFAULT_FORMATS_DATE,\n week: \"gggg[w]ww\",\n year: \"YYYY\",\n month: \"YYYY-MM\",\n datetime: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,\n monthrange: \"YYYY-MM\",\n daterange: DEFAULT_FORMATS_DATE,\n datetimerange: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`\n};\n\nexport { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, timeUnits };\n//# sourceMappingURL=constants.mjs.map\n","import dayjs from 'dayjs';\nimport '../../../utils/index.mjs';\nimport { isDate, isArray } from '@vue/shared';\nimport { isEmpty } from '../../../utils/types.mjs';\n\nconst buildTimeList = (value, bound) => {\n return [\n value > 0 ? value - 1 : void 0,\n value,\n value < bound ? value + 1 : void 0\n ];\n};\nconst rangeArr = (n) => Array.from(Array.from({ length: n }).keys());\nconst extractDateFormat = (format) => {\n return format.replace(/\\W?m{1,2}|\\W?ZZ/g, \"\").replace(/\\W?h{1,2}|\\W?s{1,3}|\\W?a/gi, \"\").trim();\n};\nconst extractTimeFormat = (format) => {\n return format.replace(/\\W?D{1,2}|\\W?Do|\\W?d{1,4}|\\W?M{1,4}|\\W?Y{2,4}/g, \"\").trim();\n};\nconst dateEquals = function(a, b) {\n const aIsDate = isDate(a);\n const bIsDate = isDate(b);\n if (aIsDate && bIsDate) {\n return a.getTime() === b.getTime();\n }\n if (!aIsDate && !bIsDate) {\n return a === b;\n }\n return false;\n};\nconst valueEquals = function(a, b) {\n const aIsArray = isArray(a);\n const bIsArray = isArray(b);\n if (aIsArray && bIsArray) {\n if (a.length !== b.length) {\n return false;\n }\n return a.every((item, index) => dateEquals(item, b[index]));\n }\n if (!aIsArray && !bIsArray) {\n return dateEquals(a, b);\n }\n return false;\n};\nconst parseDate = function(date, format, lang) {\n const day = isEmpty(format) || format === \"x\" ? dayjs(date).locale(lang) : dayjs(date, format).locale(lang);\n return day.isValid() ? day : void 0;\n};\nconst formatter = function(date, format, lang) {\n if (isEmpty(format))\n return date;\n if (format === \"x\")\n return +date;\n return dayjs(date).locale(lang).format(format);\n};\nconst makeList = (total, method) => {\n var _a;\n const arr = [];\n const disabledArr = method == null ? void 0 : method();\n for (let i = 0; i < total; i++) {\n arr.push((_a = disabledArr == null ? void 0 : disabledArr.includes(i)) != null ? _a : false);\n }\n return arr;\n};\n\nexport { buildTimeList, dateEquals, extractDateFormat, extractTimeFormat, formatter, makeList, parseDate, rangeArr, valueEquals };\n//# sourceMappingURL=utils.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst disabledTimeListsProps = buildProps({\n disabledHours: {\n type: definePropType(Function)\n },\n disabledMinutes: {\n type: definePropType(Function)\n },\n disabledSeconds: {\n type: definePropType(Function)\n }\n});\nconst timePanelSharedProps = buildProps({\n visible: Boolean,\n actualVisible: {\n type: Boolean,\n default: void 0\n },\n format: {\n type: String,\n default: \"\"\n }\n});\n\nexport { disabledTimeListsProps, timePanelSharedProps };\n//# sourceMappingURL=shared.mjs.map\n","import '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { CircleClose } from '@element-plus/icons-vue';\nimport { disabledTimeListsProps } from '../props/shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../../hooks/use-size/index.mjs';\n\nconst timePickerDefaultProps = buildProps({\n id: {\n type: definePropType([Array, String])\n },\n name: {\n type: definePropType([Array, String]),\n default: \"\"\n },\n popperClass: {\n type: String,\n default: \"\"\n },\n format: String,\n valueFormat: String,\n type: {\n type: String,\n default: \"\"\n },\n clearable: {\n type: Boolean,\n default: true\n },\n clearIcon: {\n type: definePropType([String, Object]),\n default: CircleClose\n },\n editable: {\n type: Boolean,\n default: true\n },\n prefixIcon: {\n type: definePropType([String, Object]),\n default: \"\"\n },\n size: useSizeProp,\n readonly: {\n type: Boolean,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false\n },\n placeholder: {\n type: String,\n default: \"\"\n },\n popperOptions: {\n type: definePropType(Object),\n default: () => ({})\n },\n modelValue: {\n type: definePropType([Date, Array, String, Number]),\n default: \"\"\n },\n rangeSeparator: {\n type: String,\n default: \"-\"\n },\n startPlaceholder: String,\n endPlaceholder: String,\n defaultValue: {\n type: definePropType([Date, Array])\n },\n defaultTime: {\n type: definePropType([Date, Array])\n },\n isRange: {\n type: Boolean,\n default: false\n },\n ...disabledTimeListsProps,\n disabledDate: {\n type: Function\n },\n cellClassName: {\n type: Function\n },\n shortcuts: {\n type: Array,\n default: () => []\n },\n arrowControl: {\n type: Boolean,\n default: false\n },\n label: {\n type: String,\n default: void 0\n },\n tabindex: {\n type: definePropType([String, Number]),\n default: 0\n },\n validateEvent: {\n type: Boolean,\n default: true\n },\n unlinkPanels: Boolean\n});\n\nexport { timePickerDefaultProps };\n//# sourceMappingURL=props.mjs.map\n","import { defineComponent, useAttrs, inject, ref, computed, watch, nextTick, unref, provide, openBlock, createBlock, mergeProps, withCtx, normalizeClass, normalizeStyle, withModifiers, resolveDynamicComponent, createCommentVNode, createElementBlock, createElementVNode, renderSlot, toDisplayString } from 'vue';\nimport { isEqual } from 'lodash-unified';\nimport { onClickOutside } from '@vueuse/core';\nimport '../../../../hooks/index.mjs';\nimport '../../../form/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ElTooltip } from '../../../tooltip/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { Clock, Calendar } from '@element-plus/icons-vue';\nimport { valueEquals, formatter, parseDate } from '../utils.mjs';\nimport { timePickerDefaultProps } from './props.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useFormItem } from '../../../form/src/hooks/use-form-item.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\nimport { isArray } from '@vue/shared';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\nimport { useFormSize } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst _hoisted_1 = [\"id\", \"name\", \"placeholder\", \"value\", \"disabled\", \"readonly\"];\nconst _hoisted_2 = [\"id\", \"name\", \"placeholder\", \"value\", \"disabled\", \"readonly\"];\nconst __default__ = defineComponent({\n name: \"Picker\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: timePickerDefaultProps,\n emits: [\n \"update:modelValue\",\n \"change\",\n \"focus\",\n \"blur\",\n \"calendar-change\",\n \"panel-change\",\n \"visible-change\",\n \"keydown\"\n ],\n setup(__props, { expose, emit }) {\n const props = __props;\n const attrs = useAttrs();\n const { lang } = useLocale();\n const nsDate = useNamespace(\"date\");\n const nsInput = useNamespace(\"input\");\n const nsRange = useNamespace(\"range\");\n const { form, formItem } = useFormItem();\n const elPopperOptions = inject(\"ElPopperOptions\", {});\n const refPopper = ref();\n const inputRef = ref();\n const pickerVisible = ref(false);\n const pickerActualVisible = ref(false);\n const valueOnOpen = ref(null);\n let hasJustTabExitedInput = false;\n let ignoreFocusEvent = false;\n const rangeInputKls = computed(() => [\n nsDate.b(\"editor\"),\n nsDate.bm(\"editor\", props.type),\n nsInput.e(\"wrapper\"),\n nsDate.is(\"disabled\", pickerDisabled.value),\n nsDate.is(\"active\", pickerVisible.value),\n nsRange.b(\"editor\"),\n pickerSize ? nsRange.bm(\"editor\", pickerSize.value) : \"\",\n attrs.class\n ]);\n const clearIconKls = computed(() => [\n nsInput.e(\"icon\"),\n nsRange.e(\"close-icon\"),\n !showClose.value ? nsRange.e(\"close-icon--hidden\") : \"\"\n ]);\n watch(pickerVisible, (val) => {\n if (!val) {\n userInput.value = null;\n nextTick(() => {\n emitChange(props.modelValue);\n });\n } else {\n nextTick(() => {\n if (val) {\n valueOnOpen.value = props.modelValue;\n }\n });\n }\n });\n const emitChange = (val, isClear) => {\n if (isClear || !valueEquals(val, valueOnOpen.value)) {\n emit(\"change\", val);\n props.validateEvent && (formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err)));\n }\n };\n const emitInput = (input) => {\n if (!valueEquals(props.modelValue, input)) {\n let formatted;\n if (isArray(input)) {\n formatted = input.map((item) => formatter(item, props.valueFormat, lang.value));\n } else if (input) {\n formatted = formatter(input, props.valueFormat, lang.value);\n }\n emit(\"update:modelValue\", input ? formatted : input, lang.value);\n }\n };\n const emitKeydown = (e) => {\n emit(\"keydown\", e);\n };\n const refInput = computed(() => {\n if (inputRef.value) {\n const _r = isRangeInput.value ? inputRef.value : inputRef.value.$el;\n return Array.from(_r.querySelectorAll(\"input\"));\n }\n return [];\n });\n const setSelectionRange = (start, end, pos) => {\n const _inputs = refInput.value;\n if (!_inputs.length)\n return;\n if (!pos || pos === \"min\") {\n _inputs[0].setSelectionRange(start, end);\n _inputs[0].focus();\n } else if (pos === \"max\") {\n _inputs[1].setSelectionRange(start, end);\n _inputs[1].focus();\n }\n };\n const focusOnInputBox = () => {\n focus(true, true);\n nextTick(() => {\n ignoreFocusEvent = false;\n });\n };\n const onPick = (date = \"\", visible = false) => {\n if (!visible) {\n ignoreFocusEvent = true;\n }\n pickerVisible.value = visible;\n let result;\n if (isArray(date)) {\n result = date.map((_) => _.toDate());\n } else {\n result = date ? date.toDate() : date;\n }\n userInput.value = null;\n emitInput(result);\n };\n const onBeforeShow = () => {\n pickerActualVisible.value = true;\n };\n const onShow = () => {\n emit(\"visible-change\", true);\n };\n const onKeydownPopperContent = (event) => {\n if ((event == null ? void 0 : event.key) === EVENT_CODE.esc) {\n focus(true, true);\n }\n };\n const onHide = () => {\n pickerActualVisible.value = false;\n pickerVisible.value = false;\n ignoreFocusEvent = false;\n emit(\"visible-change\", false);\n };\n const handleOpen = () => {\n pickerVisible.value = true;\n };\n const handleClose = () => {\n pickerVisible.value = false;\n };\n const focus = (focusStartInput = true, isIgnoreFocusEvent = false) => {\n ignoreFocusEvent = isIgnoreFocusEvent;\n const [leftInput, rightInput] = unref(refInput);\n let input = leftInput;\n if (!focusStartInput && isRangeInput.value) {\n input = rightInput;\n }\n if (input) {\n input.focus();\n }\n };\n const handleFocusInput = (e) => {\n if (props.readonly || pickerDisabled.value || pickerVisible.value || ignoreFocusEvent) {\n return;\n }\n pickerVisible.value = true;\n emit(\"focus\", e);\n };\n let currentHandleBlurDeferCallback = void 0;\n const handleBlurInput = (e) => {\n const handleBlurDefer = async () => {\n setTimeout(() => {\n var _a;\n if (currentHandleBlurDeferCallback === handleBlurDefer) {\n if (!(((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent()) && !hasJustTabExitedInput) && refInput.value.filter((input) => {\n return input.contains(document.activeElement);\n }).length === 0) {\n handleChange();\n pickerVisible.value = false;\n emit(\"blur\", e);\n props.validateEvent && (formItem == null ? void 0 : formItem.validate(\"blur\").catch((err) => debugWarn(err)));\n }\n hasJustTabExitedInput = false;\n }\n }, 0);\n };\n currentHandleBlurDeferCallback = handleBlurDefer;\n handleBlurDefer();\n };\n const pickerDisabled = computed(() => {\n return props.disabled || (form == null ? void 0 : form.disabled);\n });\n const parsedValue = computed(() => {\n let dayOrDays;\n if (valueIsEmpty.value) {\n if (pickerOptions.value.getDefaultValue) {\n dayOrDays = pickerOptions.value.getDefaultValue();\n }\n } else {\n if (isArray(props.modelValue)) {\n dayOrDays = props.modelValue.map((d) => parseDate(d, props.valueFormat, lang.value));\n } else {\n dayOrDays = parseDate(props.modelValue, props.valueFormat, lang.value);\n }\n }\n if (pickerOptions.value.getRangeAvailableTime) {\n const availableResult = pickerOptions.value.getRangeAvailableTime(dayOrDays);\n if (!isEqual(availableResult, dayOrDays)) {\n dayOrDays = availableResult;\n emitInput(isArray(dayOrDays) ? dayOrDays.map((_) => _.toDate()) : dayOrDays.toDate());\n }\n }\n if (isArray(dayOrDays) && dayOrDays.some((day) => !day)) {\n dayOrDays = [];\n }\n return dayOrDays;\n });\n const displayValue = computed(() => {\n if (!pickerOptions.value.panelReady)\n return \"\";\n const formattedValue = formatDayjsToString(parsedValue.value);\n if (isArray(userInput.value)) {\n return [\n userInput.value[0] || formattedValue && formattedValue[0] || \"\",\n userInput.value[1] || formattedValue && formattedValue[1] || \"\"\n ];\n } else if (userInput.value !== null) {\n return userInput.value;\n }\n if (!isTimePicker.value && valueIsEmpty.value)\n return \"\";\n if (!pickerVisible.value && valueIsEmpty.value)\n return \"\";\n if (formattedValue) {\n return isDatesPicker.value ? formattedValue.join(\", \") : formattedValue;\n }\n return \"\";\n });\n const isTimeLikePicker = computed(() => props.type.includes(\"time\"));\n const isTimePicker = computed(() => props.type.startsWith(\"time\"));\n const isDatesPicker = computed(() => props.type === \"dates\");\n const triggerIcon = computed(() => props.prefixIcon || (isTimeLikePicker.value ? Clock : Calendar));\n const showClose = ref(false);\n const onClearIconClick = (event) => {\n if (props.readonly || pickerDisabled.value)\n return;\n if (showClose.value) {\n event.stopPropagation();\n focusOnInputBox();\n emitInput(null);\n emitChange(null, true);\n showClose.value = false;\n pickerVisible.value = false;\n pickerOptions.value.handleClear && pickerOptions.value.handleClear();\n }\n };\n const valueIsEmpty = computed(() => {\n const { modelValue } = props;\n return !modelValue || isArray(modelValue) && !modelValue.filter(Boolean).length;\n });\n const onMouseDownInput = async (event) => {\n var _a;\n if (props.readonly || pickerDisabled.value)\n return;\n if (((_a = event.target) == null ? void 0 : _a.tagName) !== \"INPUT\" || refInput.value.includes(document.activeElement)) {\n pickerVisible.value = true;\n }\n };\n const onMouseEnter = () => {\n if (props.readonly || pickerDisabled.value)\n return;\n if (!valueIsEmpty.value && props.clearable) {\n showClose.value = true;\n }\n };\n const onMouseLeave = () => {\n showClose.value = false;\n };\n const onTouchStartInput = (event) => {\n var _a;\n if (props.readonly || pickerDisabled.value)\n return;\n if (((_a = event.touches[0].target) == null ? void 0 : _a.tagName) !== \"INPUT\" || refInput.value.includes(document.activeElement)) {\n pickerVisible.value = true;\n }\n };\n const isRangeInput = computed(() => {\n return props.type.includes(\"range\");\n });\n const pickerSize = useFormSize();\n const popperEl = computed(() => {\n var _a, _b;\n return (_b = (_a = unref(refPopper)) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;\n });\n const actualInputRef = computed(() => {\n var _a;\n if (unref(isRangeInput)) {\n return unref(inputRef);\n }\n return (_a = unref(inputRef)) == null ? void 0 : _a.$el;\n });\n onClickOutside(actualInputRef, (e) => {\n const unrefedPopperEl = unref(popperEl);\n const inputEl = unref(actualInputRef);\n if (unrefedPopperEl && (e.target === unrefedPopperEl || e.composedPath().includes(unrefedPopperEl)) || e.target === inputEl || e.composedPath().includes(inputEl))\n return;\n pickerVisible.value = false;\n });\n const userInput = ref(null);\n const handleChange = () => {\n if (userInput.value) {\n const value = parseUserInputToDayjs(displayValue.value);\n if (value) {\n if (isValidValue(value)) {\n emitInput(isArray(value) ? value.map((_) => _.toDate()) : value.toDate());\n userInput.value = null;\n }\n }\n }\n if (userInput.value === \"\") {\n emitInput(null);\n emitChange(null);\n userInput.value = null;\n }\n };\n const parseUserInputToDayjs = (value) => {\n if (!value)\n return null;\n return pickerOptions.value.parseUserInput(value);\n };\n const formatDayjsToString = (value) => {\n if (!value)\n return null;\n return pickerOptions.value.formatToString(value);\n };\n const isValidValue = (value) => {\n return pickerOptions.value.isValidValue(value);\n };\n const handleKeydownInput = async (event) => {\n if (props.readonly || pickerDisabled.value)\n return;\n const { code } = event;\n emitKeydown(event);\n if (code === EVENT_CODE.esc) {\n if (pickerVisible.value === true) {\n pickerVisible.value = false;\n event.preventDefault();\n event.stopPropagation();\n }\n return;\n }\n if (code === EVENT_CODE.down) {\n if (pickerOptions.value.handleFocusPicker) {\n event.preventDefault();\n event.stopPropagation();\n }\n if (pickerVisible.value === false) {\n pickerVisible.value = true;\n await nextTick();\n }\n if (pickerOptions.value.handleFocusPicker) {\n pickerOptions.value.handleFocusPicker();\n return;\n }\n }\n if (code === EVENT_CODE.tab) {\n hasJustTabExitedInput = true;\n return;\n }\n if (code === EVENT_CODE.enter || code === EVENT_CODE.numpadEnter) {\n if (userInput.value === null || userInput.value === \"\" || isValidValue(parseUserInputToDayjs(displayValue.value))) {\n handleChange();\n pickerVisible.value = false;\n }\n event.stopPropagation();\n return;\n }\n if (userInput.value) {\n event.stopPropagation();\n return;\n }\n if (pickerOptions.value.handleKeydownInput) {\n pickerOptions.value.handleKeydownInput(event);\n }\n };\n const onUserInput = (e) => {\n userInput.value = e;\n if (!pickerVisible.value) {\n pickerVisible.value = true;\n }\n };\n const handleStartInput = (event) => {\n const target = event.target;\n if (userInput.value) {\n userInput.value = [target.value, userInput.value[1]];\n } else {\n userInput.value = [target.value, null];\n }\n };\n const handleEndInput = (event) => {\n const target = event.target;\n if (userInput.value) {\n userInput.value = [userInput.value[0], target.value];\n } else {\n userInput.value = [null, target.value];\n }\n };\n const handleStartChange = () => {\n var _a;\n const values = userInput.value;\n const value = parseUserInputToDayjs(values && values[0]);\n const parsedVal = unref(parsedValue);\n if (value && value.isValid()) {\n userInput.value = [\n formatDayjsToString(value),\n ((_a = displayValue.value) == null ? void 0 : _a[1]) || null\n ];\n const newValue = [value, parsedVal && (parsedVal[1] || null)];\n if (isValidValue(newValue)) {\n emitInput(newValue);\n userInput.value = null;\n }\n }\n };\n const handleEndChange = () => {\n var _a;\n const values = unref(userInput);\n const value = parseUserInputToDayjs(values && values[1]);\n const parsedVal = unref(parsedValue);\n if (value && value.isValid()) {\n userInput.value = [\n ((_a = unref(displayValue)) == null ? void 0 : _a[0]) || null,\n formatDayjsToString(value)\n ];\n const newValue = [parsedVal && parsedVal[0], value];\n if (isValidValue(newValue)) {\n emitInput(newValue);\n userInput.value = null;\n }\n }\n };\n const pickerOptions = ref({});\n const onSetPickerOption = (e) => {\n pickerOptions.value[e[0]] = e[1];\n pickerOptions.value.panelReady = true;\n };\n const onCalendarChange = (e) => {\n emit(\"calendar-change\", e);\n };\n const onPanelChange = (value, mode, view) => {\n emit(\"panel-change\", value, mode, view);\n };\n provide(\"EP_PICKER_BASE\", {\n props\n });\n expose({\n focus,\n handleFocusInput,\n handleBlurInput,\n handleOpen,\n handleClose,\n onPick\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(ElTooltip), mergeProps({\n ref_key: \"refPopper\",\n ref: refPopper,\n visible: pickerVisible.value,\n effect: \"light\",\n pure: \"\",\n trigger: \"click\"\n }, _ctx.$attrs, {\n role: \"dialog\",\n teleported: \"\",\n transition: `${unref(nsDate).namespace.value}-zoom-in-top`,\n \"popper-class\": [`${unref(nsDate).namespace.value}-picker__popper`, _ctx.popperClass],\n \"popper-options\": unref(elPopperOptions),\n \"fallback-placements\": [\"bottom\", \"top\", \"right\", \"left\"],\n \"gpu-acceleration\": false,\n \"stop-popper-mouse-event\": false,\n \"hide-after\": 0,\n persistent: \"\",\n onBeforeShow,\n onShow,\n onHide\n }), {\n default: withCtx(() => [\n !unref(isRangeInput) ? (openBlock(), createBlock(unref(ElInput), {\n key: 0,\n id: _ctx.id,\n ref_key: \"inputRef\",\n ref: inputRef,\n \"container-role\": \"combobox\",\n \"model-value\": unref(displayValue),\n name: _ctx.name,\n size: unref(pickerSize),\n disabled: unref(pickerDisabled),\n placeholder: _ctx.placeholder,\n class: normalizeClass([unref(nsDate).b(\"editor\"), unref(nsDate).bm(\"editor\", _ctx.type), _ctx.$attrs.class]),\n style: normalizeStyle(_ctx.$attrs.style),\n readonly: !_ctx.editable || _ctx.readonly || unref(isDatesPicker) || _ctx.type === \"week\",\n label: _ctx.label,\n tabindex: _ctx.tabindex,\n \"validate-event\": false,\n onInput: onUserInput,\n onFocus: handleFocusInput,\n onBlur: handleBlurInput,\n onKeydown: handleKeydownInput,\n onChange: handleChange,\n onMousedown: onMouseDownInput,\n onMouseenter: onMouseEnter,\n onMouseleave: onMouseLeave,\n onTouchstart: onTouchStartInput,\n onClick: _cache[0] || (_cache[0] = withModifiers(() => {\n }, [\"stop\"]))\n }, {\n prefix: withCtx(() => [\n unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(nsInput).e(\"icon\")),\n onMousedown: withModifiers(onMouseDownInput, [\"prevent\"]),\n onTouchstart: onTouchStartInput\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))\n ]),\n _: 1\n }, 8, [\"class\", \"onMousedown\"])) : createCommentVNode(\"v-if\", true)\n ]),\n suffix: withCtx(() => [\n showClose.value && _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(`${unref(nsInput).e(\"icon\")} clear-icon`),\n onClick: withModifiers(onClearIconClick, [\"stop\"])\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))\n ]),\n _: 1\n }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true)\n ]),\n _: 1\n }, 8, [\"id\", \"model-value\", \"name\", \"size\", \"disabled\", \"placeholder\", \"class\", \"style\", \"readonly\", \"label\", \"tabindex\", \"onKeydown\"])) : (openBlock(), createElementBlock(\"div\", {\n key: 1,\n ref_key: \"inputRef\",\n ref: inputRef,\n class: normalizeClass(unref(rangeInputKls)),\n style: normalizeStyle(_ctx.$attrs.style),\n onClick: handleFocusInput,\n onMouseenter: onMouseEnter,\n onMouseleave: onMouseLeave,\n onTouchstart: onTouchStartInput,\n onKeydown: handleKeydownInput\n }, [\n unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass([unref(nsInput).e(\"icon\"), unref(nsRange).e(\"icon\")]),\n onMousedown: withModifiers(onMouseDownInput, [\"prevent\"]),\n onTouchstart: onTouchStartInput\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))\n ]),\n _: 1\n }, 8, [\"class\", \"onMousedown\"])) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"input\", {\n id: _ctx.id && _ctx.id[0],\n autocomplete: \"off\",\n name: _ctx.name && _ctx.name[0],\n placeholder: _ctx.startPlaceholder,\n value: unref(displayValue) && unref(displayValue)[0],\n disabled: unref(pickerDisabled),\n readonly: !_ctx.editable || _ctx.readonly,\n class: normalizeClass(unref(nsRange).b(\"input\")),\n onMousedown: onMouseDownInput,\n onInput: handleStartInput,\n onChange: handleStartChange,\n onFocus: handleFocusInput,\n onBlur: handleBlurInput\n }, null, 42, _hoisted_1),\n renderSlot(_ctx.$slots, \"range-separator\", {}, () => [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(nsRange).b(\"separator\"))\n }, toDisplayString(_ctx.rangeSeparator), 3)\n ]),\n createElementVNode(\"input\", {\n id: _ctx.id && _ctx.id[1],\n autocomplete: \"off\",\n name: _ctx.name && _ctx.name[1],\n placeholder: _ctx.endPlaceholder,\n value: unref(displayValue) && unref(displayValue)[1],\n disabled: unref(pickerDisabled),\n readonly: !_ctx.editable || _ctx.readonly,\n class: normalizeClass(unref(nsRange).b(\"input\")),\n onMousedown: onMouseDownInput,\n onFocus: handleFocusInput,\n onBlur: handleBlurInput,\n onInput: handleEndInput,\n onChange: handleEndChange\n }, null, 42, _hoisted_2),\n _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {\n key: 1,\n class: normalizeClass(unref(clearIconKls)),\n onClick: onClearIconClick\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true)\n ], 38))\n ]),\n content: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {\n visible: pickerVisible.value,\n actualVisible: pickerActualVisible.value,\n parsedValue: unref(parsedValue),\n format: _ctx.format,\n unlinkPanels: _ctx.unlinkPanels,\n type: _ctx.type,\n defaultValue: _ctx.defaultValue,\n onPick,\n onSelectRange: setSelectionRange,\n onSetPickerOption,\n onCalendarChange,\n onPanelChange,\n onKeydown: onKeydownPopperContent,\n onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {\n }, [\"stop\"]))\n })\n ]),\n _: 3\n }, 16, [\"visible\", \"transition\", \"popper-class\", \"popper-options\"]);\n };\n }\n});\nvar CommonPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue\"]]);\n\nexport { CommonPicker as default };\n//# sourceMappingURL=picker.mjs.map\n","import '../../../../utils/index.mjs';\nimport { timePanelSharedProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelTimePickerProps = buildProps({\n ...timePanelSharedProps,\n datetimeRole: String,\n parsedValue: {\n type: definePropType(Object)\n }\n});\n\nexport { panelTimePickerProps };\n//# sourceMappingURL=panel-time-picker.mjs.map\n","import { ref, watch } from 'vue';\nimport { makeList } from '../utils.mjs';\n\nconst makeAvailableArr = (disabledList) => {\n const trueOrNumber = (isDisabled, index) => isDisabled || index;\n const getNumber = (predicate) => predicate !== true;\n return disabledList.map(trueOrNumber).filter(getNumber);\n};\nconst getTimeLists = (disabledHours, disabledMinutes, disabledSeconds) => {\n const getHoursList = (role, compare) => {\n return makeList(24, disabledHours && (() => disabledHours == null ? void 0 : disabledHours(role, compare)));\n };\n const getMinutesList = (hour, role, compare) => {\n return makeList(60, disabledMinutes && (() => disabledMinutes == null ? void 0 : disabledMinutes(hour, role, compare)));\n };\n const getSecondsList = (hour, minute, role, compare) => {\n return makeList(60, disabledSeconds && (() => disabledSeconds == null ? void 0 : disabledSeconds(hour, minute, role, compare)));\n };\n return {\n getHoursList,\n getMinutesList,\n getSecondsList\n };\n};\nconst buildAvailableTimeSlotGetter = (disabledHours, disabledMinutes, disabledSeconds) => {\n const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(disabledHours, disabledMinutes, disabledSeconds);\n const getAvailableHours = (role, compare) => {\n return makeAvailableArr(getHoursList(role, compare));\n };\n const getAvailableMinutes = (hour, role, compare) => {\n return makeAvailableArr(getMinutesList(hour, role, compare));\n };\n const getAvailableSeconds = (hour, minute, role, compare) => {\n return makeAvailableArr(getSecondsList(hour, minute, role, compare));\n };\n return {\n getAvailableHours,\n getAvailableMinutes,\n getAvailableSeconds\n };\n};\nconst useOldValue = (props) => {\n const oldValue = ref(props.parsedValue);\n watch(() => props.visible, (val) => {\n if (!val) {\n oldValue.value = props.parsedValue;\n }\n });\n return oldValue;\n};\n\nexport { buildAvailableTimeSlotGetter, getTimeLists, useOldValue };\n//# sourceMappingURL=use-time-picker.mjs.map\n","import '../../utils/index.mjs';\nimport { isClient } from '@vueuse/core';\nimport { isElement } from '../../utils/types.mjs';\n\nconst nodeList = /* @__PURE__ */ new Map();\nlet startClick;\nif (isClient) {\n document.addEventListener(\"mousedown\", (e) => startClick = e);\n document.addEventListener(\"mouseup\", (e) => {\n for (const handlers of nodeList.values()) {\n for (const { documentHandler } of handlers) {\n documentHandler(e, startClick);\n }\n }\n });\n}\nfunction createDocumentHandler(el, binding) {\n let excludes = [];\n if (Array.isArray(binding.arg)) {\n excludes = binding.arg;\n } else if (isElement(binding.arg)) {\n excludes.push(binding.arg);\n }\n return function(mouseup, mousedown) {\n const popperRef = binding.instance.popperRef;\n const mouseUpTarget = mouseup.target;\n const mouseDownTarget = mousedown == null ? void 0 : mousedown.target;\n const isBound = !binding || !binding.instance;\n const isTargetExists = !mouseUpTarget || !mouseDownTarget;\n const isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);\n const isSelf = el === mouseUpTarget;\n const isTargetExcluded = excludes.length && excludes.some((item) => item == null ? void 0 : item.contains(mouseUpTarget)) || excludes.length && excludes.includes(mouseDownTarget);\n const isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));\n if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {\n return;\n }\n binding.value(mouseup, mousedown);\n };\n}\nconst ClickOutside = {\n beforeMount(el, binding) {\n if (!nodeList.has(el)) {\n nodeList.set(el, []);\n }\n nodeList.get(el).push({\n documentHandler: createDocumentHandler(el, binding),\n bindingFn: binding.value\n });\n },\n updated(el, binding) {\n if (!nodeList.has(el)) {\n nodeList.set(el, []);\n }\n const handlers = nodeList.get(el);\n const oldHandlerIndex = handlers.findIndex((item) => item.bindingFn === binding.oldValue);\n const newHandler = {\n documentHandler: createDocumentHandler(el, binding),\n bindingFn: binding.value\n };\n if (oldHandlerIndex >= 0) {\n handlers.splice(oldHandlerIndex, 1, newHandler);\n } else {\n handlers.push(newHandler);\n }\n },\n unmounted(el) {\n nodeList.delete(el);\n }\n};\n\nexport { ClickOutside as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../utils/index.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst REPEAT_INTERVAL = 100;\nconst REPEAT_DELAY = 600;\nconst vRepeatClick = {\n beforeMount(el, binding) {\n const value = binding.value;\n const { interval = REPEAT_INTERVAL, delay = REPEAT_DELAY } = isFunction(value) ? {} : value;\n let intervalId;\n let delayId;\n const handler = () => isFunction(value) ? value() : value.handler();\n const clear = () => {\n if (delayId) {\n clearTimeout(delayId);\n delayId = void 0;\n }\n if (intervalId) {\n clearInterval(intervalId);\n intervalId = void 0;\n }\n };\n el.addEventListener(\"mousedown\", (evt) => {\n if (evt.button !== 0)\n return;\n clear();\n handler();\n document.addEventListener(\"mouseup\", () => clear(), {\n once: true\n });\n delayId = setTimeout(() => {\n intervalId = setInterval(() => {\n handler();\n }, interval);\n }, delay);\n });\n }\n};\n\nexport { REPEAT_DELAY, REPEAT_INTERVAL, vRepeatClick };\n//# sourceMappingURL=index.mjs.map\n","import { nextTick } from 'vue';\nimport '../../utils/index.mjs';\nimport '../../constants/index.mjs';\nimport { EVENT_CODE } from '../../constants/aria.mjs';\nimport { obtainAllFocusableElements } from '../../utils/dom/aria.mjs';\n\nconst FOCUSABLE_CHILDREN = \"_trap-focus-children\";\nconst TRAP_FOCUS_HANDLER = \"_trap-focus-handler\";\nconst FOCUS_STACK = [];\nconst FOCUS_HANDLER = (e) => {\n var _a;\n if (FOCUS_STACK.length === 0)\n return;\n const focusableElement = FOCUS_STACK[FOCUS_STACK.length - 1][FOCUSABLE_CHILDREN];\n if (focusableElement.length > 0 && e.code === EVENT_CODE.tab) {\n if (focusableElement.length === 1) {\n e.preventDefault();\n if (document.activeElement !== focusableElement[0]) {\n focusableElement[0].focus();\n }\n return;\n }\n const goingBackward = e.shiftKey;\n const isFirst = e.target === focusableElement[0];\n const isLast = e.target === focusableElement[focusableElement.length - 1];\n if (isFirst && goingBackward) {\n e.preventDefault();\n focusableElement[focusableElement.length - 1].focus();\n }\n if (isLast && !goingBackward) {\n e.preventDefault();\n focusableElement[0].focus();\n }\n if (process.env.NODE_ENV === \"test\") {\n const index = focusableElement.indexOf(e.target);\n if (index !== -1) {\n (_a = focusableElement[goingBackward ? index - 1 : index + 1]) == null ? void 0 : _a.focus();\n }\n }\n }\n};\nconst TrapFocus = {\n beforeMount(el) {\n el[FOCUSABLE_CHILDREN] = obtainAllFocusableElements(el);\n FOCUS_STACK.push(el);\n if (FOCUS_STACK.length <= 1) {\n document.addEventListener(\"keydown\", FOCUS_HANDLER);\n }\n },\n updated(el) {\n nextTick(() => {\n el[FOCUSABLE_CHILDREN] = obtainAllFocusableElements(el);\n });\n },\n unmounted() {\n FOCUS_STACK.shift();\n if (FOCUS_STACK.length === 0) {\n document.removeEventListener(\"keydown\", FOCUS_HANDLER);\n }\n }\n};\n\nexport { FOCUSABLE_CHILDREN, TRAP_FOCUS_HANDLER, TrapFocus as default };\n//# sourceMappingURL=index.mjs.map\n","import normalizeWheel from 'normalize-wheel-es';\n\nconst mousewheel = function(element, callback) {\n if (element && element.addEventListener) {\n const fn = function(event) {\n const normalized = normalizeWheel(event);\n callback && Reflect.apply(callback, this, [event, normalized]);\n };\n element.addEventListener(\"wheel\", fn, { passive: true });\n }\n};\nconst Mousewheel = {\n beforeMount(el, binding) {\n mousewheel(el, binding.value);\n }\n};\n\nexport { Mousewheel as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../../utils/index.mjs';\nimport { disabledTimeListsProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicTimeSpinnerProps = buildProps({\n role: {\n type: String,\n required: true\n },\n spinnerDate: {\n type: definePropType(Object),\n required: true\n },\n showSeconds: {\n type: Boolean,\n default: true\n },\n arrowControl: Boolean,\n amPmMode: {\n type: definePropType(String),\n default: \"\"\n },\n ...disabledTimeListsProps\n});\n\nexport { basicTimeSpinnerProps };\n//# sourceMappingURL=basic-time-spinner.mjs.map\n","import { defineComponent, ref, computed, unref, nextTick, onMounted, watch, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, createElementVNode } from 'vue';\nimport { debounce } from 'lodash-unified';\nimport '../../../../directives/index.mjs';\nimport { ElScrollbar } from '../../../scrollbar/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ArrowUp, ArrowDown } from '@element-plus/icons-vue';\nimport '../../../../hooks/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { timeUnits } from '../constants.mjs';\nimport { buildTimeList } from '../utils.mjs';\nimport { basicTimeSpinnerProps } from '../props/basic-time-spinner.mjs';\nimport { getTimeLists } from '../composables/use-time-picker.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { getStyle } from '../../../../utils/dom/style.mjs';\nimport { vRepeatClick } from '../../../../directives/repeat-click/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"onMouseenter\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"basic-time-spinner\",\n props: basicTimeSpinnerProps,\n emits: [\"change\", \"select-range\", \"set-option\"],\n setup(__props, { emit }) {\n const props = __props;\n const ns = useNamespace(\"time\");\n const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(props.disabledHours, props.disabledMinutes, props.disabledSeconds);\n let isScrolling = false;\n const currentScrollbar = ref();\n const listHoursRef = ref();\n const listMinutesRef = ref();\n const listSecondsRef = ref();\n const listRefsMap = {\n hours: listHoursRef,\n minutes: listMinutesRef,\n seconds: listSecondsRef\n };\n const spinnerItems = computed(() => {\n return props.showSeconds ? timeUnits : timeUnits.slice(0, 2);\n });\n const timePartials = computed(() => {\n const { spinnerDate } = props;\n const hours = spinnerDate.hour();\n const minutes = spinnerDate.minute();\n const seconds = spinnerDate.second();\n return { hours, minutes, seconds };\n });\n const timeList = computed(() => {\n const { hours, minutes } = unref(timePartials);\n return {\n hours: getHoursList(props.role),\n minutes: getMinutesList(hours, props.role),\n seconds: getSecondsList(hours, minutes, props.role)\n };\n });\n const arrowControlTimeList = computed(() => {\n const { hours, minutes, seconds } = unref(timePartials);\n return {\n hours: buildTimeList(hours, 23),\n minutes: buildTimeList(minutes, 59),\n seconds: buildTimeList(seconds, 59)\n };\n });\n const debouncedResetScroll = debounce((type) => {\n isScrolling = false;\n adjustCurrentSpinner(type);\n }, 200);\n const getAmPmFlag = (hour) => {\n const shouldShowAmPm = !!props.amPmMode;\n if (!shouldShowAmPm)\n return \"\";\n const isCapital = props.amPmMode === \"A\";\n let content = hour < 12 ? \" am\" : \" pm\";\n if (isCapital)\n content = content.toUpperCase();\n return content;\n };\n const emitSelectRange = (type) => {\n let range;\n switch (type) {\n case \"hours\":\n range = [0, 2];\n break;\n case \"minutes\":\n range = [3, 5];\n break;\n case \"seconds\":\n range = [6, 8];\n break;\n }\n const [left, right] = range;\n emit(\"select-range\", left, right);\n currentScrollbar.value = type;\n };\n const adjustCurrentSpinner = (type) => {\n adjustSpinner(type, unref(timePartials)[type]);\n };\n const adjustSpinners = () => {\n adjustCurrentSpinner(\"hours\");\n adjustCurrentSpinner(\"minutes\");\n adjustCurrentSpinner(\"seconds\");\n };\n const getScrollbarElement = (el) => el.querySelector(`.${ns.namespace.value}-scrollbar__wrap`);\n const adjustSpinner = (type, value) => {\n if (props.arrowControl)\n return;\n const scrollbar = unref(listRefsMap[type]);\n if (scrollbar && scrollbar.$el) {\n getScrollbarElement(scrollbar.$el).scrollTop = Math.max(0, value * typeItemHeight(type));\n }\n };\n const typeItemHeight = (type) => {\n const scrollbar = unref(listRefsMap[type]);\n const listItem = scrollbar == null ? void 0 : scrollbar.$el.querySelector(\"li\");\n if (listItem) {\n return Number.parseFloat(getStyle(listItem, \"height\")) || 0;\n }\n return 0;\n };\n const onIncrement = () => {\n scrollDown(1);\n };\n const onDecrement = () => {\n scrollDown(-1);\n };\n const scrollDown = (step) => {\n if (!currentScrollbar.value) {\n emitSelectRange(\"hours\");\n }\n const label = currentScrollbar.value;\n const now = unref(timePartials)[label];\n const total = currentScrollbar.value === \"hours\" ? 24 : 60;\n const next = findNextUnDisabled(label, now, step, total);\n modifyDateField(label, next);\n adjustSpinner(label, next);\n nextTick(() => emitSelectRange(label));\n };\n const findNextUnDisabled = (type, now, step, total) => {\n let next = (now + step + total) % total;\n const list = unref(timeList)[type];\n while (list[next] && next !== now) {\n next = (next + step + total) % total;\n }\n return next;\n };\n const modifyDateField = (type, value) => {\n const list = unref(timeList)[type];\n const isDisabled = list[value];\n if (isDisabled)\n return;\n const { hours, minutes, seconds } = unref(timePartials);\n let changeTo;\n switch (type) {\n case \"hours\":\n changeTo = props.spinnerDate.hour(value).minute(minutes).second(seconds);\n break;\n case \"minutes\":\n changeTo = props.spinnerDate.hour(hours).minute(value).second(seconds);\n break;\n case \"seconds\":\n changeTo = props.spinnerDate.hour(hours).minute(minutes).second(value);\n break;\n }\n emit(\"change\", changeTo);\n };\n const handleClick = (type, { value, disabled }) => {\n if (!disabled) {\n modifyDateField(type, value);\n emitSelectRange(type);\n adjustSpinner(type, value);\n }\n };\n const handleScroll = (type) => {\n isScrolling = true;\n debouncedResetScroll(type);\n const value = Math.min(Math.round((getScrollbarElement(unref(listRefsMap[type]).$el).scrollTop - (scrollBarHeight(type) * 0.5 - 10) / typeItemHeight(type) + 3) / typeItemHeight(type)), type === \"hours\" ? 23 : 59);\n modifyDateField(type, value);\n };\n const scrollBarHeight = (type) => {\n return unref(listRefsMap[type]).$el.offsetHeight;\n };\n const bindScrollEvent = () => {\n const bindFunction = (type) => {\n const scrollbar = unref(listRefsMap[type]);\n if (scrollbar && scrollbar.$el) {\n getScrollbarElement(scrollbar.$el).onscroll = () => {\n handleScroll(type);\n };\n }\n };\n bindFunction(\"hours\");\n bindFunction(\"minutes\");\n bindFunction(\"seconds\");\n };\n onMounted(() => {\n nextTick(() => {\n !props.arrowControl && bindScrollEvent();\n adjustSpinners();\n if (props.role === \"start\")\n emitSelectRange(\"hours\");\n });\n });\n const setRef = (scrollbar, type) => {\n listRefsMap[type].value = scrollbar;\n };\n emit(\"set-option\", [`${props.role}_scrollDown`, scrollDown]);\n emit(\"set-option\", [`${props.role}_emitSelectRange`, emitSelectRange]);\n watch(() => props.spinnerDate, () => {\n if (isScrolling)\n return;\n adjustSpinners();\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([unref(ns).b(\"spinner\"), { \"has-seconds\": _ctx.showSeconds }])\n }, [\n !_ctx.arrowControl ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(spinnerItems), (item) => {\n return openBlock(), createBlock(unref(ElScrollbar), {\n key: item,\n ref_for: true,\n ref: (scrollbar) => setRef(scrollbar, item),\n class: normalizeClass(unref(ns).be(\"spinner\", \"wrapper\")),\n \"wrap-style\": \"max-height: inherit;\",\n \"view-class\": unref(ns).be(\"spinner\", \"list\"),\n noresize: \"\",\n tag: \"ul\",\n onMouseenter: ($event) => emitSelectRange(item),\n onMousemove: ($event) => adjustCurrentSpinner(item)\n }, {\n default: withCtx(() => [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(timeList)[item], (disabled, key) => {\n return openBlock(), createElementBlock(\"li\", {\n key,\n class: normalizeClass([\n unref(ns).be(\"spinner\", \"item\"),\n unref(ns).is(\"active\", key === unref(timePartials)[item]),\n unref(ns).is(\"disabled\", disabled)\n ]),\n onClick: ($event) => handleClick(item, { value: key, disabled })\n }, [\n item === \"hours\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createTextVNode(toDisplayString((\"0\" + (_ctx.amPmMode ? key % 12 || 12 : key)).slice(-2)) + toDisplayString(getAmPmFlag(key)), 1)\n ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n createTextVNode(toDisplayString((\"0\" + key).slice(-2)), 1)\n ], 64))\n ], 10, _hoisted_1);\n }), 128))\n ]),\n _: 2\n }, 1032, [\"class\", \"view-class\", \"onMouseenter\", \"onMousemove\"]);\n }), 128)) : createCommentVNode(\"v-if\", true),\n _ctx.arrowControl ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(spinnerItems), (item) => {\n return openBlock(), createElementBlock(\"div\", {\n key: item,\n class: normalizeClass([unref(ns).be(\"spinner\", \"wrapper\"), unref(ns).is(\"arrow\")]),\n onMouseenter: ($event) => emitSelectRange(item)\n }, [\n withDirectives((openBlock(), createBlock(unref(ElIcon), {\n class: normalizeClass([\"arrow-up\", unref(ns).be(\"spinner\", \"arrow\")])\n }, {\n default: withCtx(() => [\n createVNode(unref(ArrowUp))\n ]),\n _: 1\n }, 8, [\"class\"])), [\n [unref(vRepeatClick), onDecrement]\n ]),\n withDirectives((openBlock(), createBlock(unref(ElIcon), {\n class: normalizeClass([\"arrow-down\", unref(ns).be(\"spinner\", \"arrow\")])\n }, {\n default: withCtx(() => [\n createVNode(unref(ArrowDown))\n ]),\n _: 1\n }, 8, [\"class\"])), [\n [unref(vRepeatClick), onIncrement]\n ]),\n createElementVNode(\"ul\", {\n class: normalizeClass(unref(ns).be(\"spinner\", \"list\"))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(arrowControlTimeList)[item], (time, key) => {\n return openBlock(), createElementBlock(\"li\", {\n key,\n class: normalizeClass([\n unref(ns).be(\"spinner\", \"item\"),\n unref(ns).is(\"active\", time === unref(timePartials)[item]),\n unref(ns).is(\"disabled\", unref(timeList)[item][time])\n ])\n }, [\n typeof time === \"number\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n item === \"hours\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createTextVNode(toDisplayString((\"0\" + (_ctx.amPmMode ? time % 12 || 12 : time)).slice(-2)) + toDisplayString(getAmPmFlag(time)), 1)\n ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n createTextVNode(toDisplayString((\"0\" + time).slice(-2)), 1)\n ], 64))\n ], 64)) : createCommentVNode(\"v-if\", true)\n ], 2);\n }), 128))\n ], 2)\n ], 42, _hoisted_2);\n }), 128)) : createCommentVNode(\"v-if\", true)\n ], 2);\n };\n }\n});\nvar TimeSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue\"]]);\n\nexport { TimeSpinner as default };\n//# sourceMappingURL=basic-time-spinner.mjs.map\n","import { defineComponent, inject, ref, computed, openBlock, createBlock, Transition, unref, withCtx, createElementBlock, normalizeClass, createElementVNode, createVNode, toDisplayString, createCommentVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../constants/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { panelTimePickerProps } from '../props/panel-time-picker.mjs';\nimport { useTimePanel } from '../composables/use-time-panel.mjs';\nimport { buildAvailableTimeSlotGetter, useOldValue } from '../composables/use-time-picker.mjs';\nimport TimeSpinner from './basic-time-spinner.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"panel-time-pick\",\n props: panelTimePickerProps,\n emits: [\"pick\", \"select-range\", \"set-picker-option\"],\n setup(__props, { emit }) {\n const props = __props;\n const pickerBase = inject(\"EP_PICKER_BASE\");\n const {\n arrowControl,\n disabledHours,\n disabledMinutes,\n disabledSeconds,\n defaultValue\n } = pickerBase.props;\n const { getAvailableHours, getAvailableMinutes, getAvailableSeconds } = buildAvailableTimeSlotGetter(disabledHours, disabledMinutes, disabledSeconds);\n const ns = useNamespace(\"time\");\n const { t, lang } = useLocale();\n const selectionRange = ref([0, 2]);\n const oldValue = useOldValue(props);\n const transitionName = computed(() => {\n return isUndefined(props.actualVisible) ? `${ns.namespace.value}-zoom-in-top` : \"\";\n });\n const showSeconds = computed(() => {\n return props.format.includes(\"ss\");\n });\n const amPmMode = computed(() => {\n if (props.format.includes(\"A\"))\n return \"A\";\n if (props.format.includes(\"a\"))\n return \"a\";\n return \"\";\n });\n const isValidValue = (_date) => {\n const parsedDate = dayjs(_date).locale(lang.value);\n const result = getRangeAvailableTime(parsedDate);\n return parsedDate.isSame(result);\n };\n const handleCancel = () => {\n emit(\"pick\", oldValue.value, false);\n };\n const handleConfirm = (visible = false, first = false) => {\n if (first)\n return;\n emit(\"pick\", props.parsedValue, visible);\n };\n const handleChange = (_date) => {\n if (!props.visible) {\n return;\n }\n const result = getRangeAvailableTime(_date).millisecond(0);\n emit(\"pick\", result, true);\n };\n const setSelectionRange = (start, end) => {\n emit(\"select-range\", start, end);\n selectionRange.value = [start, end];\n };\n const changeSelectionRange = (step) => {\n const list = [0, 3].concat(showSeconds.value ? [6] : []);\n const mapping = [\"hours\", \"minutes\"].concat(showSeconds.value ? [\"seconds\"] : []);\n const index = list.indexOf(selectionRange.value[0]);\n const next = (index + step + list.length) % list.length;\n timePickerOptions[\"start_emitSelectRange\"](mapping[next]);\n };\n const handleKeydown = (event) => {\n const code = event.code;\n const { left, right, up, down } = EVENT_CODE;\n if ([left, right].includes(code)) {\n const step = code === left ? -1 : 1;\n changeSelectionRange(step);\n event.preventDefault();\n return;\n }\n if ([up, down].includes(code)) {\n const step = code === up ? -1 : 1;\n timePickerOptions[\"start_scrollDown\"](step);\n event.preventDefault();\n return;\n }\n };\n const { timePickerOptions, onSetOption, getAvailableTime } = useTimePanel({\n getAvailableHours,\n getAvailableMinutes,\n getAvailableSeconds\n });\n const getRangeAvailableTime = (date) => {\n return getAvailableTime(date, props.datetimeRole || \"\", true);\n };\n const parseUserInput = (value) => {\n if (!value)\n return null;\n return dayjs(value, props.format).locale(lang.value);\n };\n const formatToString = (value) => {\n if (!value)\n return null;\n return value.format(props.format);\n };\n const getDefaultValue = () => {\n return dayjs(defaultValue).locale(lang.value);\n };\n emit(\"set-picker-option\", [\"isValidValue\", isValidValue]);\n emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n emit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n emit(\"set-picker-option\", [\"handleKeydownInput\", handleKeydown]);\n emit(\"set-picker-option\", [\"getRangeAvailableTime\", getRangeAvailableTime]);\n emit(\"set-picker-option\", [\"getDefaultValue\", getDefaultValue]);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Transition, { name: unref(transitionName) }, {\n default: withCtx(() => [\n _ctx.actualVisible || _ctx.visible ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).b(\"panel\"))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass([unref(ns).be(\"panel\", \"content\"), { \"has-seconds\": unref(showSeconds) }])\n }, [\n createVNode(TimeSpinner, {\n ref: \"spinner\",\n role: _ctx.datetimeRole || \"start\",\n \"arrow-control\": unref(arrowControl),\n \"show-seconds\": unref(showSeconds),\n \"am-pm-mode\": unref(amPmMode),\n \"spinner-date\": _ctx.parsedValue,\n \"disabled-hours\": unref(disabledHours),\n \"disabled-minutes\": unref(disabledMinutes),\n \"disabled-seconds\": unref(disabledSeconds),\n onChange: handleChange,\n onSetOption: unref(onSetOption),\n onSelectRange: setSelectionRange\n }, null, 8, [\"role\", \"arrow-control\", \"show-seconds\", \"am-pm-mode\", \"spinner-date\", \"disabled-hours\", \"disabled-minutes\", \"disabled-seconds\", \"onSetOption\"])\n ], 2),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).be(\"panel\", \"footer\"))\n }, [\n createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ns).be(\"panel\", \"btn\"), \"cancel\"]),\n onClick: handleCancel\n }, toDisplayString(unref(t)(\"el.datepicker.cancel\")), 3),\n createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ns).be(\"panel\", \"btn\"), \"confirm\"]),\n onClick: _cache[0] || (_cache[0] = ($event) => handleConfirm())\n }, toDisplayString(unref(t)(\"el.datepicker.confirm\")), 3)\n ], 2)\n ], 2)) : createCommentVNode(\"v-if\", true)\n ]),\n _: 1\n }, 8, [\"name\"]);\n };\n }\n});\nvar TimePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue\"]]);\n\nexport { TimePickPanel as default };\n//# sourceMappingURL=panel-time-pick.mjs.map\n","const useTimePanel = ({\n getAvailableHours,\n getAvailableMinutes,\n getAvailableSeconds\n}) => {\n const getAvailableTime = (date, role, first, compareDate) => {\n const availableTimeGetters = {\n hour: getAvailableHours,\n minute: getAvailableMinutes,\n second: getAvailableSeconds\n };\n let result = date;\n [\"hour\", \"minute\", \"second\"].forEach((type) => {\n if (availableTimeGetters[type]) {\n let availableTimeSlots;\n const method = availableTimeGetters[type];\n switch (type) {\n case \"minute\": {\n availableTimeSlots = method(result.hour(), role, compareDate);\n break;\n }\n case \"second\": {\n availableTimeSlots = method(result.hour(), result.minute(), role, compareDate);\n break;\n }\n default: {\n availableTimeSlots = method(role, compareDate);\n break;\n }\n }\n if ((availableTimeSlots == null ? void 0 : availableTimeSlots.length) && !availableTimeSlots.includes(result[type]())) {\n const pos = first ? 0 : availableTimeSlots.length - 1;\n result = result[type](availableTimeSlots[pos]);\n }\n }\n });\n return result;\n };\n const timePickerOptions = {};\n const onSetOption = ([key, val]) => {\n timePickerOptions[key] = val;\n };\n return {\n timePickerOptions,\n getAvailableTime,\n onSetOption\n };\n};\n\nexport { useTimePanel };\n//# sourceMappingURL=use-time-panel.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst cardProps = buildProps({\n header: {\n type: String,\n default: \"\"\n },\n bodyStyle: {\n type: definePropType([String, Object, Array]),\n default: \"\"\n },\n shadow: {\n type: String,\n values: [\"always\", \"hover\", \"never\"],\n default: \"always\"\n }\n});\n\nexport { cardProps };\n//# sourceMappingURL=card.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { cardProps } from './card.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElCard\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: cardProps,\n setup(__props) {\n const ns = useNamespace(\"card\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([unref(ns).b(), unref(ns).is(`${_ctx.shadow}-shadow`)])\n }, [\n _ctx.$slots.header || _ctx.header ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"header\"))\n }, [\n renderSlot(_ctx.$slots, \"header\", {}, () => [\n createTextVNode(toDisplayString(_ctx.header), 1)\n ])\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"body\")),\n style: normalizeStyle(_ctx.bodyStyle)\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 6)\n ], 2);\n };\n }\n});\nvar Card = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue\"]]);\n\nexport { Card as default };\n//# sourceMappingURL=card2.mjs.map\n","import '../../utils/index.mjs';\nimport Card from './src/card2.mjs';\nexport { cardProps } from './src/card.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElCard = withInstall(Card);\n\nexport { ElCard, ElCard as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nconst carouselProps = buildProps({\n initialIndex: {\n type: Number,\n default: 0\n },\n height: {\n type: String,\n default: \"\"\n },\n trigger: {\n type: String,\n values: [\"hover\", \"click\"],\n default: \"hover\"\n },\n autoplay: {\n type: Boolean,\n default: true\n },\n interval: {\n type: Number,\n default: 3e3\n },\n indicatorPosition: {\n type: String,\n values: [\"\", \"none\", \"outside\"],\n default: \"\"\n },\n arrow: {\n type: String,\n values: [\"always\", \"hover\", \"never\"],\n default: \"hover\"\n },\n type: {\n type: String,\n values: [\"\", \"card\"],\n default: \"\"\n },\n loop: {\n type: Boolean,\n default: true\n },\n direction: {\n type: String,\n values: [\"horizontal\", \"vertical\"],\n default: \"horizontal\"\n },\n pauseOnHover: {\n type: Boolean,\n default: true\n }\n});\nconst carouselEmits = {\n change: (current, prev) => [current, prev].every(isNumber)\n};\n\nexport { carouselEmits, carouselProps };\n//# sourceMappingURL=carousel.mjs.map\n","const carouselContextKey = Symbol(\"carouselContextKey\");\n\nexport { carouselContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { getCurrentInstance, ref, computed, unref, watch, shallowRef, onMounted, onBeforeUnmount, provide } from 'vue';\nimport { throttle } from 'lodash-unified';\nimport { useResizeObserver } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { carouselContextKey } from './constants.mjs';\nimport { useOrderedChildren } from '../../../hooks/use-ordered-children/index.mjs';\nimport { isString } from '@vue/shared';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst THROTTLE_TIME = 300;\nconst useCarousel = (props, emit, componentName) => {\n const {\n children: items,\n addChild: addItem,\n removeChild: removeItem\n } = useOrderedChildren(getCurrentInstance(), \"ElCarouselItem\");\n const activeIndex = ref(-1);\n const timer = ref(null);\n const hover = ref(false);\n const root = ref();\n const containerHeight = ref(0);\n const arrowDisplay = computed(() => props.arrow !== \"never\" && !unref(isVertical));\n const hasLabel = computed(() => {\n return items.value.some((item) => item.props.label.toString().length > 0);\n });\n const isCardType = computed(() => props.type === \"card\");\n const isVertical = computed(() => props.direction === \"vertical\");\n const containerStyle = computed(() => {\n if (props.height !== \"auto\") {\n return {\n height: props.height\n };\n }\n return {\n height: `${containerHeight.value}px`,\n overflow: \"hidden\"\n };\n });\n const throttledArrowClick = throttle((index) => {\n setActiveItem(index);\n }, THROTTLE_TIME, { trailing: true });\n const throttledIndicatorHover = throttle((index) => {\n handleIndicatorHover(index);\n }, THROTTLE_TIME);\n function pauseTimer() {\n if (timer.value) {\n clearInterval(timer.value);\n timer.value = null;\n }\n }\n function startTimer() {\n if (props.interval <= 0 || !props.autoplay || timer.value)\n return;\n timer.value = setInterval(() => playSlides(), props.interval);\n }\n const playSlides = () => {\n if (activeIndex.value < items.value.length - 1) {\n activeIndex.value = activeIndex.value + 1;\n } else if (props.loop) {\n activeIndex.value = 0;\n }\n };\n function setActiveItem(index) {\n if (isString(index)) {\n const filteredItems = items.value.filter((item) => item.props.name === index);\n if (filteredItems.length > 0) {\n index = items.value.indexOf(filteredItems[0]);\n }\n }\n index = Number(index);\n if (Number.isNaN(index) || index !== Math.floor(index)) {\n debugWarn(componentName, \"index must be integer.\");\n return;\n }\n const itemCount = items.value.length;\n const oldIndex = activeIndex.value;\n if (index < 0) {\n activeIndex.value = props.loop ? itemCount - 1 : 0;\n } else if (index >= itemCount) {\n activeIndex.value = props.loop ? 0 : itemCount - 1;\n } else {\n activeIndex.value = index;\n }\n if (oldIndex === activeIndex.value) {\n resetItemPosition(oldIndex);\n }\n resetTimer();\n }\n function resetItemPosition(oldIndex) {\n items.value.forEach((item, index) => {\n item.translateItem(index, activeIndex.value, oldIndex);\n });\n }\n function itemInStage(item, index) {\n var _a, _b, _c, _d;\n const _items = unref(items);\n const itemCount = _items.length;\n if (itemCount === 0 || !item.states.inStage)\n return false;\n const nextItemIndex = index + 1;\n const prevItemIndex = index - 1;\n const lastItemIndex = itemCount - 1;\n const isLastItemActive = _items[lastItemIndex].states.active;\n const isFirstItemActive = _items[0].states.active;\n const isNextItemActive = (_b = (_a = _items[nextItemIndex]) == null ? void 0 : _a.states) == null ? void 0 : _b.active;\n const isPrevItemActive = (_d = (_c = _items[prevItemIndex]) == null ? void 0 : _c.states) == null ? void 0 : _d.active;\n if (index === lastItemIndex && isFirstItemActive || isNextItemActive) {\n return \"left\";\n } else if (index === 0 && isLastItemActive || isPrevItemActive) {\n return \"right\";\n }\n return false;\n }\n function handleMouseEnter() {\n hover.value = true;\n if (props.pauseOnHover) {\n pauseTimer();\n }\n }\n function handleMouseLeave() {\n hover.value = false;\n startTimer();\n }\n function handleButtonEnter(arrow) {\n if (unref(isVertical))\n return;\n items.value.forEach((item, index) => {\n if (arrow === itemInStage(item, index)) {\n item.states.hover = true;\n }\n });\n }\n function handleButtonLeave() {\n if (unref(isVertical))\n return;\n items.value.forEach((item) => {\n item.states.hover = false;\n });\n }\n function handleIndicatorClick(index) {\n activeIndex.value = index;\n }\n function handleIndicatorHover(index) {\n if (props.trigger === \"hover\" && index !== activeIndex.value) {\n activeIndex.value = index;\n }\n }\n function prev() {\n setActiveItem(activeIndex.value - 1);\n }\n function next() {\n setActiveItem(activeIndex.value + 1);\n }\n function resetTimer() {\n pauseTimer();\n startTimer();\n }\n function setContainerHeight(height) {\n if (props.height !== \"auto\")\n return;\n containerHeight.value = height;\n }\n watch(() => activeIndex.value, (current, prev2) => {\n resetItemPosition(prev2);\n if (prev2 > -1) {\n emit(\"change\", current, prev2);\n }\n });\n watch(() => props.autoplay, (autoplay) => {\n autoplay ? startTimer() : pauseTimer();\n });\n watch(() => props.loop, () => {\n setActiveItem(activeIndex.value);\n });\n watch(() => props.interval, () => {\n resetTimer();\n });\n watch(() => items.value, () => {\n if (items.value.length > 0)\n setActiveItem(props.initialIndex);\n });\n const resizeObserver = shallowRef();\n onMounted(() => {\n resizeObserver.value = useResizeObserver(root.value, () => {\n resetItemPosition();\n });\n startTimer();\n });\n onBeforeUnmount(() => {\n pauseTimer();\n if (root.value && resizeObserver.value)\n resizeObserver.value.stop();\n });\n provide(carouselContextKey, {\n root,\n isCardType,\n isVertical,\n items,\n loop: props.loop,\n addItem,\n removeItem,\n setActiveItem,\n setContainerHeight\n });\n return {\n root,\n activeIndex,\n arrowDisplay,\n hasLabel,\n hover,\n isCardType,\n items,\n isVertical,\n containerStyle,\n handleButtonEnter,\n handleButtonLeave,\n handleIndicatorClick,\n handleMouseEnter,\n handleMouseLeave,\n setActiveItem,\n prev,\n next,\n throttledArrowClick,\n throttledIndicatorHover\n };\n};\n\nexport { useCarousel };\n//# sourceMappingURL=use-carousel.mjs.map\n","import { defineComponent, computed, unref, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, normalizeStyle, createBlock, Transition, withCtx, withDirectives, createVNode, vShow, createCommentVNode, renderSlot, Fragment, renderList, toDisplayString } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowLeft, ArrowRight } from '@element-plus/icons-vue';\nimport '../../../hooks/index.mjs';\nimport { carouselProps, carouselEmits } from './carousel.mjs';\nimport { useCarousel } from './use-carousel.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"onMouseenter\", \"onClick\"];\nconst _hoisted_2 = { key: 0 };\nconst COMPONENT_NAME = \"ElCarousel\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: carouselProps,\n emits: carouselEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const {\n root,\n activeIndex,\n arrowDisplay,\n hasLabel,\n hover,\n isCardType,\n items,\n isVertical,\n containerStyle,\n handleButtonEnter,\n handleButtonLeave,\n handleIndicatorClick,\n handleMouseEnter,\n handleMouseLeave,\n setActiveItem,\n prev,\n next,\n throttledArrowClick,\n throttledIndicatorHover\n } = useCarousel(props, emit, COMPONENT_NAME);\n const ns = useNamespace(\"carousel\");\n const carouselClasses = computed(() => {\n const classes = [ns.b(), ns.m(props.direction)];\n if (unref(isCardType)) {\n classes.push(ns.m(\"card\"));\n }\n return classes;\n });\n const indicatorsClasses = computed(() => {\n const classes = [ns.e(\"indicators\"), ns.em(\"indicators\", props.direction)];\n if (unref(hasLabel)) {\n classes.push(ns.em(\"indicators\", \"labels\"));\n }\n if (props.indicatorPosition === \"outside\") {\n classes.push(ns.em(\"indicators\", \"outside\"));\n }\n if (unref(isVertical)) {\n classes.push(ns.em(\"indicators\", \"right\"));\n }\n return classes;\n });\n expose({\n setActiveItem,\n prev,\n next\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref_key: \"root\",\n ref: root,\n class: normalizeClass(unref(carouselClasses)),\n onMouseenter: _cache[6] || (_cache[6] = withModifiers((...args) => unref(handleMouseEnter) && unref(handleMouseEnter)(...args), [\"stop\"])),\n onMouseleave: _cache[7] || (_cache[7] = withModifiers((...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args), [\"stop\"]))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"container\")),\n style: normalizeStyle(unref(containerStyle))\n }, [\n unref(arrowDisplay) ? (openBlock(), createBlock(Transition, {\n key: 0,\n name: \"carousel-arrow-left\",\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ns).e(\"arrow\"), unref(ns).em(\"arrow\", \"left\")]),\n onMouseenter: _cache[0] || (_cache[0] = ($event) => unref(handleButtonEnter)(\"left\")),\n onMouseleave: _cache[1] || (_cache[1] = (...args) => unref(handleButtonLeave) && unref(handleButtonLeave)(...args)),\n onClick: _cache[2] || (_cache[2] = withModifiers(($event) => unref(throttledArrowClick)(unref(activeIndex) - 1), [\"stop\"]))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowLeft))\n ]),\n _: 1\n })\n ], 34), [\n [\n vShow,\n (_ctx.arrow === \"always\" || unref(hover)) && (props.loop || unref(activeIndex) > 0)\n ]\n ])\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true),\n unref(arrowDisplay) ? (openBlock(), createBlock(Transition, {\n key: 1,\n name: \"carousel-arrow-right\",\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ns).e(\"arrow\"), unref(ns).em(\"arrow\", \"right\")]),\n onMouseenter: _cache[3] || (_cache[3] = ($event) => unref(handleButtonEnter)(\"right\")),\n onMouseleave: _cache[4] || (_cache[4] = (...args) => unref(handleButtonLeave) && unref(handleButtonLeave)(...args)),\n onClick: _cache[5] || (_cache[5] = withModifiers(($event) => unref(throttledArrowClick)(unref(activeIndex) + 1), [\"stop\"]))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowRight))\n ]),\n _: 1\n })\n ], 34), [\n [\n vShow,\n (_ctx.arrow === \"always\" || unref(hover)) && (props.loop || unref(activeIndex) < unref(items).length - 1)\n ]\n ])\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true),\n renderSlot(_ctx.$slots, \"default\")\n ], 6),\n _ctx.indicatorPosition !== \"none\" ? (openBlock(), createElementBlock(\"ul\", {\n key: 0,\n class: normalizeClass(unref(indicatorsClasses))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {\n return openBlock(), createElementBlock(\"li\", {\n key: index,\n class: normalizeClass([\n unref(ns).e(\"indicator\"),\n unref(ns).em(\"indicator\", _ctx.direction),\n unref(ns).is(\"active\", index === unref(activeIndex))\n ]),\n onMouseenter: ($event) => unref(throttledIndicatorHover)(index),\n onClick: withModifiers(($event) => unref(handleIndicatorClick)(index), [\"stop\"])\n }, [\n createElementVNode(\"button\", {\n class: normalizeClass(unref(ns).e(\"button\"))\n }, [\n unref(hasLabel) ? (openBlock(), createElementBlock(\"span\", _hoisted_2, toDisplayString(item.props.label), 1)) : createCommentVNode(\"v-if\", true)\n ], 2)\n ], 42, _hoisted_1);\n }), 128))\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 34);\n };\n }\n});\nvar Carousel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue\"]]);\n\nexport { Carousel as default };\n//# sourceMappingURL=carousel2.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst carouselItemProps = buildProps({\n name: { type: String, default: \"\" },\n label: {\n type: [String, Number],\n default: \"\"\n }\n});\n\nexport { carouselItemProps };\n//# sourceMappingURL=carousel-item.mjs.map\n","import { inject, getCurrentInstance, ref, unref, onMounted, reactive, onUnmounted } from 'vue';\nimport '../../../utils/index.mjs';\nimport { carouselContextKey } from './constants.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { isUndefined } from '../../../utils/types.mjs';\n\nconst useCarouselItem = (props, componentName) => {\n const carouselContext = inject(carouselContextKey);\n const instance = getCurrentInstance();\n if (!carouselContext) {\n debugWarn(componentName, \"usage: \");\n }\n if (!instance) {\n debugWarn(componentName, \"compositional hook can only be invoked inside setups\");\n }\n const CARD_SCALE = 0.83;\n const carouselItemRef = ref();\n const hover = ref(false);\n const translate = ref(0);\n const scale = ref(1);\n const active = ref(false);\n const ready = ref(false);\n const inStage = ref(false);\n const animating = ref(false);\n const { isCardType, isVertical } = carouselContext;\n function processIndex(index, activeIndex, length) {\n const lastItemIndex = length - 1;\n const prevItemIndex = activeIndex - 1;\n const nextItemIndex = activeIndex + 1;\n const halfItemIndex = length / 2;\n if (activeIndex === 0 && index === lastItemIndex) {\n return -1;\n } else if (activeIndex === lastItemIndex && index === 0) {\n return length;\n } else if (index < prevItemIndex && activeIndex - index >= halfItemIndex) {\n return length + 1;\n } else if (index > nextItemIndex && index - activeIndex >= halfItemIndex) {\n return -2;\n }\n return index;\n }\n function calcCardTranslate(index, activeIndex) {\n var _a, _b;\n const parentWidth = unref(isVertical) ? ((_a = carouselContext.root.value) == null ? void 0 : _a.offsetHeight) || 0 : ((_b = carouselContext.root.value) == null ? void 0 : _b.offsetWidth) || 0;\n if (inStage.value) {\n return parentWidth * ((2 - CARD_SCALE) * (index - activeIndex) + 1) / 4;\n } else if (index < activeIndex) {\n return -(1 + CARD_SCALE) * parentWidth / 4;\n } else {\n return (3 + CARD_SCALE) * parentWidth / 4;\n }\n }\n function calcTranslate(index, activeIndex, isVertical2) {\n const rootEl = carouselContext.root.value;\n if (!rootEl)\n return 0;\n const distance = (isVertical2 ? rootEl.offsetHeight : rootEl.offsetWidth) || 0;\n return distance * (index - activeIndex);\n }\n const translateItem = (index, activeIndex, oldIndex) => {\n var _a;\n const _isCardType = unref(isCardType);\n const carouselItemLength = (_a = carouselContext.items.value.length) != null ? _a : Number.NaN;\n const isActive = index === activeIndex;\n if (!_isCardType && !isUndefined(oldIndex)) {\n animating.value = isActive || index === oldIndex;\n }\n if (!isActive && carouselItemLength > 2 && carouselContext.loop) {\n index = processIndex(index, activeIndex, carouselItemLength);\n }\n const _isVertical = unref(isVertical);\n active.value = isActive;\n if (_isCardType) {\n inStage.value = Math.round(Math.abs(index - activeIndex)) <= 1;\n translate.value = calcCardTranslate(index, activeIndex);\n scale.value = unref(active) ? 1 : CARD_SCALE;\n } else {\n translate.value = calcTranslate(index, activeIndex, _isVertical);\n }\n ready.value = true;\n if (isActive && carouselItemRef.value) {\n carouselContext.setContainerHeight(carouselItemRef.value.offsetHeight);\n }\n };\n function handleItemClick() {\n if (carouselContext && unref(isCardType)) {\n const index = carouselContext.items.value.findIndex(({ uid }) => uid === instance.uid);\n carouselContext.setActiveItem(index);\n }\n }\n onMounted(() => {\n carouselContext.addItem({\n props,\n states: reactive({\n hover,\n translate,\n scale,\n active,\n ready,\n inStage,\n animating\n }),\n uid: instance.uid,\n translateItem\n });\n });\n onUnmounted(() => {\n carouselContext.removeItem(instance.uid);\n });\n return {\n carouselItemRef,\n active,\n animating,\n hover,\n inStage,\n isVertical,\n translate,\n isCardType,\n scale,\n ready,\n handleItemClick\n };\n};\n\nexport { useCarouselItem };\n//# sourceMappingURL=use-carousel-item.mjs.map\n","import { defineComponent, computed, unref, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, vShow, createCommentVNode, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { carouselItemProps } from './carousel-item.mjs';\nimport { useCarouselItem } from './use-carousel-item.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst COMPONENT_NAME = \"ElCarouselItem\";\nconst __default__ = defineComponent({\n name: \"ElCarouselItem\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: carouselItemProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"carousel\");\n const {\n carouselItemRef,\n active,\n animating,\n hover,\n inStage,\n isVertical,\n translate,\n isCardType,\n scale,\n ready,\n handleItemClick\n } = useCarouselItem(props, COMPONENT_NAME);\n const itemStyle = computed(() => {\n const translateType = `translate${unref(isVertical) ? \"Y\" : \"X\"}`;\n const _translate = `${translateType}(${unref(translate)}px)`;\n const _scale = `scale(${unref(scale)})`;\n const transform = [_translate, _scale].join(\" \");\n return {\n transform\n };\n });\n return (_ctx, _cache) => {\n return withDirectives((openBlock(), createElementBlock(\"div\", {\n ref_key: \"carouselItemRef\",\n ref: carouselItemRef,\n class: normalizeClass([\n unref(ns).e(\"item\"),\n unref(ns).is(\"active\", unref(active)),\n unref(ns).is(\"in-stage\", unref(inStage)),\n unref(ns).is(\"hover\", unref(hover)),\n unref(ns).is(\"animating\", unref(animating)),\n {\n [unref(ns).em(\"item\", \"card\")]: unref(isCardType),\n [unref(ns).em(\"item\", \"card-vertical\")]: unref(isCardType) && unref(isVertical)\n }\n ]),\n style: normalizeStyle(unref(itemStyle)),\n onClick: _cache[0] || (_cache[0] = (...args) => unref(handleItemClick) && unref(handleItemClick)(...args))\n }, [\n unref(isCardType) ? withDirectives((openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"mask\"))\n }, null, 2)), [\n [vShow, !unref(active)]\n ]) : createCommentVNode(\"v-if\", true),\n renderSlot(_ctx.$slots, \"default\")\n ], 6)), [\n [vShow, unref(ready)]\n ]);\n };\n }\n});\nvar CarouselItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue\"]]);\n\nexport { CarouselItem as default };\n//# sourceMappingURL=carousel-item2.mjs.map\n","import '../../utils/index.mjs';\nimport Carousel from './src/carousel2.mjs';\nimport CarouselItem from './src/carousel-item2.mjs';\nexport { carouselEmits, carouselProps } from './src/carousel.mjs';\nexport { carouselItemProps } from './src/carousel-item.mjs';\nexport { carouselContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElCarousel = withInstall(Carousel, {\n CarouselItem\n});\nconst ElCarouselItem = withNoopInstall(CarouselItem);\n\nexport { ElCarousel, ElCarouselItem, ElCarousel as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { isString } from '@vue/shared';\nimport { isNumber, isBoolean } from '../../../utils/types.mjs';\n\nconst checkboxProps = {\n modelValue: {\n type: [Number, String, Boolean],\n default: void 0\n },\n label: {\n type: [String, Boolean, Number, Object]\n },\n indeterminate: Boolean,\n disabled: Boolean,\n checked: Boolean,\n name: {\n type: String,\n default: void 0\n },\n trueLabel: {\n type: [String, Number],\n default: void 0\n },\n falseLabel: {\n type: [String, Number],\n default: void 0\n },\n id: {\n type: String,\n default: void 0\n },\n controls: {\n type: String,\n default: void 0\n },\n border: Boolean,\n size: useSizeProp,\n tabindex: [String, Number],\n validateEvent: {\n type: Boolean,\n default: true\n }\n};\nconst checkboxEmits = {\n [UPDATE_MODEL_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val),\n change: (val) => isString(val) || isNumber(val) || isBoolean(val)\n};\n\nexport { checkboxEmits, checkboxProps };\n//# sourceMappingURL=checkbox.mjs.map\n","const checkboxGroupContextKey = Symbol(\"checkboxGroupContextKey\");\n\nexport { checkboxGroupContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { inject, getCurrentInstance, nextTick, computed, watch } from 'vue';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { useFormItem } from '../../../form/src/hooks/use-form-item.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\n\nconst useCheckboxEvent = (props, {\n model,\n isLimitExceeded,\n hasOwnLabel,\n isDisabled,\n isLabeledByFormItem\n}) => {\n const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n const { formItem } = useFormItem();\n const { emit } = getCurrentInstance();\n function getLabeledValue(value) {\n var _a, _b;\n return value === props.trueLabel || value === true ? (_a = props.trueLabel) != null ? _a : true : (_b = props.falseLabel) != null ? _b : false;\n }\n function emitChangeEvent(checked, e) {\n emit(\"change\", getLabeledValue(checked), e);\n }\n function handleChange(e) {\n if (isLimitExceeded.value)\n return;\n const target = e.target;\n emit(\"change\", getLabeledValue(target.checked), e);\n }\n async function onClickRoot(e) {\n if (isLimitExceeded.value)\n return;\n if (!hasOwnLabel.value && !isDisabled.value && isLabeledByFormItem.value) {\n const eventTargets = e.composedPath();\n const hasLabel = eventTargets.some((item) => item.tagName === \"LABEL\");\n if (!hasLabel) {\n model.value = getLabeledValue([false, props.falseLabel].includes(model.value));\n await nextTick();\n emitChangeEvent(model.value, e);\n }\n }\n }\n const validateEvent = computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.validateEvent) || props.validateEvent);\n watch(() => props.modelValue, () => {\n if (validateEvent.value) {\n formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n }\n });\n return {\n handleChange,\n onClickRoot\n };\n};\n\nexport { useCheckboxEvent };\n//# sourceMappingURL=use-checkbox-event.mjs.map\n","import '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { useCheckboxDisabled } from './use-checkbox-disabled.mjs';\nimport { useCheckboxEvent } from './use-checkbox-event.mjs';\nimport { useCheckboxModel } from './use-checkbox-model.mjs';\nimport { useCheckboxStatus } from './use-checkbox-status.mjs';\nimport { isArray } from '@vue/shared';\nimport { useFormItem, useFormItemInputId } from '../../../form/src/hooks/use-form-item.mjs';\n\nconst setStoreValue = (props, { model }) => {\n function addToStore() {\n if (isArray(model.value) && !model.value.includes(props.label)) {\n model.value.push(props.label);\n } else {\n model.value = props.trueLabel || true;\n }\n }\n props.checked && addToStore();\n};\nconst useCheckbox = (props, slots) => {\n const { formItem: elFormItem } = useFormItem();\n const { model, isGroup, isLimitExceeded } = useCheckboxModel(props);\n const {\n isFocused,\n isChecked,\n checkboxButtonSize,\n checkboxSize,\n hasOwnLabel\n } = useCheckboxStatus(props, slots, { model });\n const { isDisabled } = useCheckboxDisabled({ model, isChecked });\n const { inputId, isLabeledByFormItem } = useFormItemInputId(props, {\n formItemContext: elFormItem,\n disableIdGeneration: hasOwnLabel,\n disableIdManagement: isGroup\n });\n const { handleChange, onClickRoot } = useCheckboxEvent(props, {\n model,\n isLimitExceeded,\n hasOwnLabel,\n isDisabled,\n isLabeledByFormItem\n });\n setStoreValue(props, { model });\n return {\n inputId,\n isLabeledByFormItem,\n isChecked,\n isDisabled,\n isFocused,\n checkboxButtonSize,\n checkboxSize,\n hasOwnLabel,\n model,\n handleChange,\n onClickRoot\n };\n};\n\nexport { useCheckbox };\n//# sourceMappingURL=use-checkbox.mjs.map\n","import { ref, getCurrentInstance, inject, computed } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { isArray } from '@vue/shared';\nimport { UPDATE_MODEL_EVENT } from '../../../../constants/event.mjs';\n\nconst useCheckboxModel = (props) => {\n const selfModel = ref(false);\n const { emit } = getCurrentInstance();\n const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n const isGroup = computed(() => isUndefined(checkboxGroup) === false);\n const isLimitExceeded = ref(false);\n const model = computed({\n get() {\n var _a, _b;\n return isGroup.value ? (_a = checkboxGroup == null ? void 0 : checkboxGroup.modelValue) == null ? void 0 : _a.value : (_b = props.modelValue) != null ? _b : selfModel.value;\n },\n set(val) {\n var _a, _b;\n if (isGroup.value && isArray(val)) {\n isLimitExceeded.value = ((_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value) !== void 0 && val.length > (checkboxGroup == null ? void 0 : checkboxGroup.max.value);\n isLimitExceeded.value === false && ((_b = checkboxGroup == null ? void 0 : checkboxGroup.changeEvent) == null ? void 0 : _b.call(checkboxGroup, val));\n } else {\n emit(UPDATE_MODEL_EVENT, val);\n selfModel.value = val;\n }\n }\n });\n return {\n model,\n isGroup,\n isLimitExceeded\n };\n};\n\nexport { useCheckboxModel };\n//# sourceMappingURL=use-checkbox-model.mjs.map\n","import { inject, ref, computed, toRaw } from 'vue';\nimport { isEqual } from 'lodash-unified';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isBoolean } from '../../../../utils/types.mjs';\nimport { isArray, isObject } from '@vue/shared';\nimport { useFormSize } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst useCheckboxStatus = (props, slots, { model }) => {\n const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n const isFocused = ref(false);\n const isChecked = computed(() => {\n const value = model.value;\n if (isBoolean(value)) {\n return value;\n } else if (isArray(value)) {\n if (isObject(props.label)) {\n return value.map(toRaw).some((o) => isEqual(o, props.label));\n } else {\n return value.map(toRaw).includes(props.label);\n }\n } else if (value !== null && value !== void 0) {\n return value === props.trueLabel;\n } else {\n return !!value;\n }\n });\n const checkboxButtonSize = useFormSize(computed(() => {\n var _a;\n return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;\n }), {\n prop: true\n });\n const checkboxSize = useFormSize(computed(() => {\n var _a;\n return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;\n }));\n const hasOwnLabel = computed(() => {\n return !!(slots.default || props.label);\n });\n return {\n checkboxButtonSize,\n isChecked,\n isFocused,\n checkboxSize,\n hasOwnLabel\n };\n};\n\nexport { useCheckboxStatus };\n//# sourceMappingURL=use-checkbox-status.mjs.map\n","import { inject, computed } from 'vue';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { useFormDisabled } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst useCheckboxDisabled = ({\n model,\n isChecked\n}) => {\n const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n const isLimitDisabled = computed(() => {\n var _a, _b;\n const max = (_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value;\n const min = (_b = checkboxGroup == null ? void 0 : checkboxGroup.min) == null ? void 0 : _b.value;\n return !isUndefined(max) && model.value.length >= max && !isChecked.value || !isUndefined(min) && model.value.length <= min && isChecked.value;\n });\n const isDisabled = useFormDisabled(computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.disabled.value) || isLimitDisabled.value));\n return {\n isDisabled,\n isLimitDisabled\n };\n};\n\nexport { useCheckboxDisabled };\n//# sourceMappingURL=use-checkbox-disabled.mjs.map\n","import { defineComponent, useSlots, computed, openBlock, createBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementVNode, withDirectives, createElementBlock, isRef, vModelCheckbox, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { checkboxProps, checkboxEmits } from './checkbox.mjs';\nimport './composables/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useCheckbox } from './composables/use-checkbox.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"tabindex\", \"role\", \"aria-checked\"];\nconst _hoisted_2 = [\"id\", \"aria-hidden\", \"name\", \"tabindex\", \"disabled\", \"true-value\", \"false-value\"];\nconst _hoisted_3 = [\"id\", \"aria-hidden\", \"disabled\", \"value\", \"name\", \"tabindex\"];\nconst __default__ = defineComponent({\n name: \"ElCheckbox\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: checkboxProps,\n emits: checkboxEmits,\n setup(__props) {\n const props = __props;\n const slots = useSlots();\n const {\n inputId,\n isLabeledByFormItem,\n isChecked,\n isDisabled,\n isFocused,\n checkboxSize,\n hasOwnLabel,\n model,\n handleChange,\n onClickRoot\n } = useCheckbox(props, slots);\n const ns = useNamespace(\"checkbox\");\n const compKls = computed(() => {\n return [\n ns.b(),\n ns.m(checkboxSize.value),\n ns.is(\"disabled\", isDisabled.value),\n ns.is(\"bordered\", props.border),\n ns.is(\"checked\", isChecked.value)\n ];\n });\n const spanKls = computed(() => {\n return [\n ns.e(\"input\"),\n ns.is(\"disabled\", isDisabled.value),\n ns.is(\"checked\", isChecked.value),\n ns.is(\"indeterminate\", props.indeterminate),\n ns.is(\"focus\", isFocused.value)\n ];\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(!unref(hasOwnLabel) && unref(isLabeledByFormItem) ? \"span\" : \"label\"), {\n class: normalizeClass(unref(compKls)),\n \"aria-controls\": _ctx.indeterminate ? _ctx.controls : null,\n onClick: unref(onClickRoot)\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(spanKls)),\n tabindex: _ctx.indeterminate ? 0 : void 0,\n role: _ctx.indeterminate ? \"checkbox\" : void 0,\n \"aria-checked\": _ctx.indeterminate ? \"mixed\" : void 0\n }, [\n _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock(\"input\", {\n key: 0,\n id: unref(inputId),\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),\n class: normalizeClass(unref(ns).e(\"original\")),\n type: \"checkbox\",\n \"aria-hidden\": _ctx.indeterminate ? \"true\" : \"false\",\n name: _ctx.name,\n tabindex: _ctx.tabindex,\n disabled: unref(isDisabled),\n \"true-value\": _ctx.trueLabel,\n \"false-value\": _ctx.falseLabel,\n onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),\n onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)\n }, null, 42, _hoisted_2)), [\n [vModelCheckbox, unref(model)]\n ]) : withDirectives((openBlock(), createElementBlock(\"input\", {\n key: 1,\n id: unref(inputId),\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event) => isRef(model) ? model.value = $event : null),\n class: normalizeClass(unref(ns).e(\"original\")),\n type: \"checkbox\",\n \"aria-hidden\": _ctx.indeterminate ? \"true\" : \"false\",\n disabled: unref(isDisabled),\n value: _ctx.label,\n name: _ctx.name,\n tabindex: _ctx.tabindex,\n onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),\n onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)\n }, null, 42, _hoisted_3)), [\n [vModelCheckbox, unref(model)]\n ]),\n createElementVNode(\"span\", {\n class: normalizeClass(unref(ns).e(\"inner\"))\n }, null, 2)\n ], 10, _hoisted_1),\n unref(hasOwnLabel) ? (openBlock(), createElementBlock(\"span\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"label\"))\n }, [\n renderSlot(_ctx.$slots, \"default\"),\n !_ctx.$slots.default ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createTextVNode(toDisplayString(_ctx.label), 1)\n ], 64)) : createCommentVNode(\"v-if\", true)\n ], 2)) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"class\", \"aria-controls\", \"onClick\"]);\n };\n }\n});\nvar Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue\"]]);\n\nexport { Checkbox as default };\n//# sourceMappingURL=checkbox2.mjs.map\n","import { defineComponent, useSlots, inject, computed, openBlock, createElementBlock, normalizeClass, unref, withDirectives, isRef, vModelCheckbox, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { checkboxGroupContextKey } from './constants.mjs';\nimport './composables/index.mjs';\nimport { checkboxProps, checkboxEmits } from './checkbox.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useCheckbox } from './composables/use-checkbox.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"name\", \"tabindex\", \"disabled\", \"true-value\", \"false-value\"];\nconst _hoisted_2 = [\"name\", \"tabindex\", \"disabled\", \"value\"];\nconst __default__ = defineComponent({\n name: \"ElCheckboxButton\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: checkboxProps,\n emits: checkboxEmits,\n setup(__props) {\n const props = __props;\n const slots = useSlots();\n const {\n isFocused,\n isChecked,\n isDisabled,\n checkboxButtonSize,\n model,\n handleChange\n } = useCheckbox(props, slots);\n const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n const ns = useNamespace(\"checkbox\");\n const activeStyle = computed(() => {\n var _a, _b, _c, _d;\n const fillValue = (_b = (_a = checkboxGroup == null ? void 0 : checkboxGroup.fill) == null ? void 0 : _a.value) != null ? _b : \"\";\n return {\n backgroundColor: fillValue,\n borderColor: fillValue,\n color: (_d = (_c = checkboxGroup == null ? void 0 : checkboxGroup.textColor) == null ? void 0 : _c.value) != null ? _d : \"\",\n boxShadow: fillValue ? `-1px 0 0 0 ${fillValue}` : void 0\n };\n });\n const labelKls = computed(() => {\n return [\n ns.b(\"button\"),\n ns.bm(\"button\", checkboxButtonSize.value),\n ns.is(\"disabled\", isDisabled.value),\n ns.is(\"checked\", isChecked.value),\n ns.is(\"focus\", isFocused.value)\n ];\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"label\", {\n class: normalizeClass(unref(labelKls))\n }, [\n _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock(\"input\", {\n key: 0,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),\n class: normalizeClass(unref(ns).be(\"button\", \"original\")),\n type: \"checkbox\",\n name: _ctx.name,\n tabindex: _ctx.tabindex,\n disabled: unref(isDisabled),\n \"true-value\": _ctx.trueLabel,\n \"false-value\": _ctx.falseLabel,\n onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),\n onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)\n }, null, 42, _hoisted_1)), [\n [vModelCheckbox, unref(model)]\n ]) : withDirectives((openBlock(), createElementBlock(\"input\", {\n key: 1,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event) => isRef(model) ? model.value = $event : null),\n class: normalizeClass(unref(ns).be(\"button\", \"original\")),\n type: \"checkbox\",\n name: _ctx.name,\n tabindex: _ctx.tabindex,\n disabled: unref(isDisabled),\n value: _ctx.label,\n onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),\n onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)\n }, null, 42, _hoisted_2)), [\n [vModelCheckbox, unref(model)]\n ]),\n _ctx.$slots.default || _ctx.label ? (openBlock(), createElementBlock(\"span\", {\n key: 2,\n class: normalizeClass(unref(ns).be(\"button\", \"inner\")),\n style: normalizeStyle(unref(isChecked) ? unref(activeStyle) : void 0)\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(_ctx.label), 1)\n ])\n ], 6)) : createCommentVNode(\"v-if\", true)\n ], 2);\n };\n }\n});\nvar CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue\"]]);\n\nexport { CheckboxButton as default };\n//# sourceMappingURL=checkbox-button.mjs.map\n","import '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { isArray } from '@vue/shared';\n\nconst checkboxGroupProps = buildProps({\n modelValue: {\n type: definePropType(Array),\n default: () => []\n },\n disabled: Boolean,\n min: Number,\n max: Number,\n size: useSizeProp,\n label: String,\n fill: String,\n textColor: String,\n tag: {\n type: String,\n default: \"div\"\n },\n validateEvent: {\n type: Boolean,\n default: true\n }\n});\nconst checkboxGroupEmits = {\n [UPDATE_MODEL_EVENT]: (val) => isArray(val),\n change: (val) => isArray(val)\n};\n\nexport { checkboxGroupEmits, checkboxGroupProps };\n//# sourceMappingURL=checkbox-group.mjs.map\n","import { defineComponent, nextTick, computed, provide, toRefs, watch, openBlock, createBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, renderSlot } from 'vue';\nimport { pick } from 'lodash-unified';\nimport '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport { checkboxGroupProps, checkboxGroupEmits } from './checkbox-group.mjs';\nimport { checkboxGroupContextKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormItem, useFormItemInputId } from '../../form/src/hooks/use-form-item.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElCheckboxGroup\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: checkboxGroupProps,\n emits: checkboxGroupEmits,\n setup(__props, { emit }) {\n const props = __props;\n const ns = useNamespace(\"checkbox\");\n const { formItem } = useFormItem();\n const { inputId: groupId, isLabeledByFormItem } = useFormItemInputId(props, {\n formItemContext: formItem\n });\n const changeEvent = async (value) => {\n emit(UPDATE_MODEL_EVENT, value);\n await nextTick();\n emit(\"change\", value);\n };\n const modelValue = computed({\n get() {\n return props.modelValue;\n },\n set(val) {\n changeEvent(val);\n }\n });\n provide(checkboxGroupContextKey, {\n ...pick(toRefs(props), [\n \"size\",\n \"min\",\n \"max\",\n \"disabled\",\n \"validateEvent\",\n \"fill\",\n \"textColor\"\n ]),\n modelValue,\n changeEvent\n });\n watch(() => props.modelValue, () => {\n if (props.validateEvent) {\n formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n }\n });\n return (_ctx, _cache) => {\n var _a;\n return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {\n id: unref(groupId),\n class: normalizeClass(unref(ns).b(\"group\")),\n role: \"group\",\n \"aria-label\": !unref(isLabeledByFormItem) ? _ctx.label || \"checkbox-group\" : void 0,\n \"aria-labelledby\": unref(isLabeledByFormItem) ? (_a = unref(formItem)) == null ? void 0 : _a.labelId : void 0\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"id\", \"class\", \"aria-label\", \"aria-labelledby\"]);\n };\n }\n});\nvar CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue\"]]);\n\nexport { CheckboxGroup as default };\n//# sourceMappingURL=checkbox-group2.mjs.map\n","import '../../utils/index.mjs';\nimport Checkbox from './src/checkbox2.mjs';\nimport CheckboxButton from './src/checkbox-button.mjs';\nimport CheckboxGroup from './src/checkbox-group2.mjs';\nexport { checkboxGroupEmits, checkboxGroupProps } from './src/checkbox-group.mjs';\nexport { checkboxEmits, checkboxProps } from './src/checkbox.mjs';\nexport { checkboxGroupContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElCheckbox = withInstall(Checkbox, {\n CheckboxButton,\n CheckboxGroup\n});\nconst ElCheckboxButton = withNoopInstall(CheckboxButton);\nconst ElCheckboxGroup = withNoopInstall(CheckboxGroup);\n\nexport { ElCheckbox, ElCheckboxButton, ElCheckboxGroup, ElCheckbox as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { isString } from '@vue/shared';\nimport { isNumber, isBoolean } from '../../../utils/types.mjs';\n\nconst radioPropsBase = buildProps({\n size: useSizeProp,\n disabled: Boolean,\n label: {\n type: [String, Number, Boolean],\n default: \"\"\n }\n});\nconst radioProps = buildProps({\n ...radioPropsBase,\n modelValue: {\n type: [String, Number, Boolean],\n default: \"\"\n },\n name: {\n type: String,\n default: \"\"\n },\n border: Boolean\n});\nconst radioEmits = {\n [UPDATE_MODEL_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val),\n [CHANGE_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val)\n};\n\nexport { radioEmits, radioProps, radioPropsBase };\n//# sourceMappingURL=radio.mjs.map\n","const radioGroupKey = Symbol(\"radioGroupKey\");\n\nexport { radioGroupKey };\n//# sourceMappingURL=constants.mjs.map\n","import { ref, inject, computed } from 'vue';\nimport '../../../constants/index.mjs';\nimport '../../form/index.mjs';\nimport { radioGroupKey } from './constants.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\n\nconst useRadio = (props, emit) => {\n const radioRef = ref();\n const radioGroup = inject(radioGroupKey, void 0);\n const isGroup = computed(() => !!radioGroup);\n const modelValue = computed({\n get() {\n return isGroup.value ? radioGroup.modelValue : props.modelValue;\n },\n set(val) {\n if (isGroup.value) {\n radioGroup.changeEvent(val);\n } else {\n emit && emit(UPDATE_MODEL_EVENT, val);\n }\n radioRef.value.checked = props.modelValue === props.label;\n }\n });\n const size = useFormSize(computed(() => radioGroup == null ? void 0 : radioGroup.size));\n const disabled = useFormDisabled(computed(() => radioGroup == null ? void 0 : radioGroup.disabled));\n const focus = ref(false);\n const tabIndex = computed(() => {\n return disabled.value || isGroup.value && modelValue.value !== props.label ? -1 : 0;\n });\n return {\n radioRef,\n isGroup,\n radioGroup,\n focus,\n size,\n disabled,\n tabIndex,\n modelValue\n };\n};\n\nexport { useRadio };\n//# sourceMappingURL=use-radio.mjs.map\n","import { defineComponent, nextTick, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, withDirectives, isRef, vModelRadio, withModifiers, renderSlot, createTextVNode, toDisplayString } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { radioProps, radioEmits } from './radio.mjs';\nimport { useRadio } from './use-radio.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"value\", \"name\", \"disabled\"];\nconst __default__ = defineComponent({\n name: \"ElRadio\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: radioProps,\n emits: radioEmits,\n setup(__props, { emit }) {\n const props = __props;\n const ns = useNamespace(\"radio\");\n const { radioRef, radioGroup, focus, size, disabled, modelValue } = useRadio(props, emit);\n function handleChange() {\n nextTick(() => emit(\"change\", modelValue.value));\n }\n return (_ctx, _cache) => {\n var _a;\n return openBlock(), createElementBlock(\"label\", {\n class: normalizeClass([\n unref(ns).b(),\n unref(ns).is(\"disabled\", unref(disabled)),\n unref(ns).is(\"focus\", unref(focus)),\n unref(ns).is(\"bordered\", _ctx.border),\n unref(ns).is(\"checked\", unref(modelValue) === _ctx.label),\n unref(ns).m(unref(size))\n ])\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass([\n unref(ns).e(\"input\"),\n unref(ns).is(\"disabled\", unref(disabled)),\n unref(ns).is(\"checked\", unref(modelValue) === _ctx.label)\n ])\n }, [\n withDirectives(createElementVNode(\"input\", {\n ref_key: \"radioRef\",\n ref: radioRef,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),\n class: normalizeClass(unref(ns).e(\"original\")),\n value: _ctx.label,\n name: _ctx.name || ((_a = unref(radioGroup)) == null ? void 0 : _a.name),\n disabled: unref(disabled),\n type: \"radio\",\n onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),\n onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),\n onChange: handleChange\n }, null, 42, _hoisted_1), [\n [vModelRadio, unref(modelValue)]\n ]),\n createElementVNode(\"span\", {\n class: normalizeClass(unref(ns).e(\"inner\"))\n }, null, 2)\n ], 2),\n createElementVNode(\"span\", {\n class: normalizeClass(unref(ns).e(\"label\")),\n onKeydown: _cache[3] || (_cache[3] = withModifiers(() => {\n }, [\"stop\"]))\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(_ctx.label), 1)\n ])\n ], 34)\n ], 2);\n };\n }\n});\nvar Radio = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue\"]]);\n\nexport { Radio as default };\n//# sourceMappingURL=radio2.mjs.map\n","import '../../../utils/index.mjs';\nimport { radioPropsBase } from './radio.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst radioButtonProps = buildProps({\n ...radioPropsBase,\n name: {\n type: String,\n default: \"\"\n }\n});\n\nexport { radioButtonProps };\n//# sourceMappingURL=radio-button.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, withDirectives, createElementVNode, isRef, vModelRadio, normalizeStyle, withModifiers, renderSlot, createTextVNode, toDisplayString } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { useRadio } from './use-radio.mjs';\nimport { radioButtonProps } from './radio-button.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"value\", \"name\", \"disabled\"];\nconst __default__ = defineComponent({\n name: \"ElRadioButton\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: radioButtonProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"radio\");\n const { radioRef, focus, size, disabled, modelValue, radioGroup } = useRadio(props);\n const activeStyle = computed(() => {\n return {\n backgroundColor: (radioGroup == null ? void 0 : radioGroup.fill) || \"\",\n borderColor: (radioGroup == null ? void 0 : radioGroup.fill) || \"\",\n boxShadow: (radioGroup == null ? void 0 : radioGroup.fill) ? `-1px 0 0 0 ${radioGroup.fill}` : \"\",\n color: (radioGroup == null ? void 0 : radioGroup.textColor) || \"\"\n };\n });\n return (_ctx, _cache) => {\n var _a;\n return openBlock(), createElementBlock(\"label\", {\n class: normalizeClass([\n unref(ns).b(\"button\"),\n unref(ns).is(\"active\", unref(modelValue) === _ctx.label),\n unref(ns).is(\"disabled\", unref(disabled)),\n unref(ns).is(\"focus\", unref(focus)),\n unref(ns).bm(\"button\", unref(size))\n ])\n }, [\n withDirectives(createElementVNode(\"input\", {\n ref_key: \"radioRef\",\n ref: radioRef,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),\n class: normalizeClass(unref(ns).be(\"button\", \"original-radio\")),\n value: _ctx.label,\n type: \"radio\",\n name: _ctx.name || ((_a = unref(radioGroup)) == null ? void 0 : _a.name),\n disabled: unref(disabled),\n onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),\n onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false)\n }, null, 42, _hoisted_1), [\n [vModelRadio, unref(modelValue)]\n ]),\n createElementVNode(\"span\", {\n class: normalizeClass(unref(ns).be(\"button\", \"inner\")),\n style: normalizeStyle(unref(modelValue) === _ctx.label ? unref(activeStyle) : {}),\n onKeydown: _cache[3] || (_cache[3] = withModifiers(() => {\n }, [\"stop\"]))\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(_ctx.label), 1)\n ])\n ], 38)\n ], 2);\n };\n }\n});\nvar RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue\"]]);\n\nexport { RadioButton as default };\n//# sourceMappingURL=radio-button2.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { radioEmits } from './radio.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\n\nconst radioGroupProps = buildProps({\n id: {\n type: String,\n default: void 0\n },\n size: useSizeProp,\n disabled: Boolean,\n modelValue: {\n type: [String, Number, Boolean],\n default: \"\"\n },\n fill: {\n type: String,\n default: \"\"\n },\n label: {\n type: String,\n default: void 0\n },\n textColor: {\n type: String,\n default: \"\"\n },\n name: {\n type: String,\n default: void 0\n },\n validateEvent: {\n type: Boolean,\n default: true\n }\n});\nconst radioGroupEmits = radioEmits;\n\nexport { radioGroupEmits, radioGroupProps };\n//# sourceMappingURL=radio-group.mjs.map\n","import { defineComponent, ref, nextTick, onMounted, computed, provide, reactive, toRefs, watch, openBlock, createElementBlock, unref, normalizeClass, renderSlot } from 'vue';\nimport '../../form/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { radioGroupProps, radioGroupEmits } from './radio-group.mjs';\nimport { radioGroupKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { useFormItem, useFormItemInputId } from '../../form/src/hooks/use-form-item.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst _hoisted_1 = [\"id\", \"aria-label\", \"aria-labelledby\"];\nconst __default__ = defineComponent({\n name: \"ElRadioGroup\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: radioGroupProps,\n emits: radioGroupEmits,\n setup(__props, { emit }) {\n const props = __props;\n const ns = useNamespace(\"radio\");\n const radioId = useId();\n const radioGroupRef = ref();\n const { formItem } = useFormItem();\n const { inputId: groupId, isLabeledByFormItem } = useFormItemInputId(props, {\n formItemContext: formItem\n });\n const changeEvent = (value) => {\n emit(UPDATE_MODEL_EVENT, value);\n nextTick(() => emit(\"change\", value));\n };\n onMounted(() => {\n const radios = radioGroupRef.value.querySelectorAll(\"[type=radio]\");\n const firstLabel = radios[0];\n if (!Array.from(radios).some((radio) => radio.checked) && firstLabel) {\n firstLabel.tabIndex = 0;\n }\n });\n const name = computed(() => {\n return props.name || radioId.value;\n });\n provide(radioGroupKey, reactive({\n ...toRefs(props),\n changeEvent,\n name\n }));\n watch(() => props.modelValue, () => {\n if (props.validateEvent) {\n formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n id: unref(groupId),\n ref_key: \"radioGroupRef\",\n ref: radioGroupRef,\n class: normalizeClass(unref(ns).b(\"group\")),\n role: \"radiogroup\",\n \"aria-label\": !unref(isLabeledByFormItem) ? _ctx.label || \"radio-group\" : void 0,\n \"aria-labelledby\": unref(isLabeledByFormItem) ? unref(formItem).labelId : void 0\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_1);\n };\n }\n});\nvar RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue\"]]);\n\nexport { RadioGroup as default };\n//# sourceMappingURL=radio-group2.mjs.map\n","import '../../utils/index.mjs';\nimport Radio from './src/radio2.mjs';\nimport RadioButton from './src/radio-button2.mjs';\nimport RadioGroup from './src/radio-group2.mjs';\nexport { radioEmits, radioProps, radioPropsBase } from './src/radio.mjs';\nexport { radioGroupEmits, radioGroupProps } from './src/radio-group.mjs';\nexport { radioButtonProps } from './src/radio-button.mjs';\nexport { radioGroupKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElRadio = withInstall(Radio, {\n RadioButton,\n RadioGroup\n});\nconst ElRadioGroup = withNoopInstall(RadioGroup);\nconst ElRadioButton = withNoopInstall(RadioButton);\n\nexport { ElRadio, ElRadioButton, ElRadioGroup, ElRadio as default };\n//# sourceMappingURL=index.mjs.map\n","import { defineComponent, h } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nvar NodeContent = defineComponent({\n name: \"NodeContent\",\n setup() {\n const ns = useNamespace(\"cascader-node\");\n return {\n ns\n };\n },\n render() {\n const { ns } = this;\n const { node, panel } = this.$parent;\n const { data, label } = node;\n const { renderLabelFn } = panel;\n return h(\"span\", { class: ns.e(\"label\") }, renderLabelFn ? renderLabelFn({ node, data }) : label);\n }\n});\n\nexport { NodeContent as default };\n//# sourceMappingURL=node-content.mjs.map\n","const CASCADER_PANEL_INJECTION_KEY = Symbol();\n\nexport { CASCADER_PANEL_INJECTION_KEY };\n//# sourceMappingURL=types.mjs.map\n","import { defineComponent, inject, computed, createElementVNode, resolveComponent, openBlock, createElementBlock, normalizeClass, createCommentVNode, createBlock, withModifiers, withCtx, createVNode, Fragment } from 'vue';\nimport { ElCheckbox } from '../../checkbox/index.mjs';\nimport { ElRadio } from '../../radio/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { Check, Loading, ArrowRight } from '@element-plus/icons-vue';\nimport NodeContent from './node-content.mjs';\nimport { CASCADER_PANEL_INJECTION_KEY } from './types.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElCascaderNode\",\n components: {\n ElCheckbox,\n ElRadio,\n NodeContent,\n ElIcon,\n Check,\n Loading,\n ArrowRight\n },\n props: {\n node: {\n type: Object,\n required: true\n },\n menuId: String\n },\n emits: [\"expand\"],\n setup(props, { emit }) {\n const panel = inject(CASCADER_PANEL_INJECTION_KEY);\n const ns = useNamespace(\"cascader-node\");\n const isHoverMenu = computed(() => panel.isHoverMenu);\n const multiple = computed(() => panel.config.multiple);\n const checkStrictly = computed(() => panel.config.checkStrictly);\n const checkedNodeId = computed(() => {\n var _a;\n return (_a = panel.checkedNodes[0]) == null ? void 0 : _a.uid;\n });\n const isDisabled = computed(() => props.node.isDisabled);\n const isLeaf = computed(() => props.node.isLeaf);\n const expandable = computed(() => checkStrictly.value && !isLeaf.value || !isDisabled.value);\n const inExpandingPath = computed(() => isInPath(panel.expandingNode));\n const inCheckedPath = computed(() => checkStrictly.value && panel.checkedNodes.some(isInPath));\n const isInPath = (node) => {\n var _a;\n const { level, uid } = props.node;\n return ((_a = node == null ? void 0 : node.pathNodes[level - 1]) == null ? void 0 : _a.uid) === uid;\n };\n const doExpand = () => {\n if (inExpandingPath.value)\n return;\n panel.expandNode(props.node);\n };\n const doCheck = (checked) => {\n const { node } = props;\n if (checked === node.checked)\n return;\n panel.handleCheckChange(node, checked);\n };\n const doLoad = () => {\n panel.lazyLoad(props.node, () => {\n if (!isLeaf.value)\n doExpand();\n });\n };\n const handleHoverExpand = (e) => {\n if (!isHoverMenu.value)\n return;\n handleExpand();\n !isLeaf.value && emit(\"expand\", e);\n };\n const handleExpand = () => {\n const { node } = props;\n if (!expandable.value || node.loading)\n return;\n node.loaded ? doExpand() : doLoad();\n };\n const handleClick = () => {\n if (isHoverMenu.value && !isLeaf.value)\n return;\n if (isLeaf.value && !isDisabled.value && !checkStrictly.value && !multiple.value) {\n handleCheck(true);\n } else {\n handleExpand();\n }\n };\n const handleSelectCheck = (checked) => {\n if (checkStrictly.value) {\n doCheck(checked);\n if (props.node.loaded) {\n doExpand();\n }\n } else {\n handleCheck(checked);\n }\n };\n const handleCheck = (checked) => {\n if (!props.node.loaded) {\n doLoad();\n } else {\n doCheck(checked);\n !checkStrictly.value && doExpand();\n }\n };\n return {\n panel,\n isHoverMenu,\n multiple,\n checkStrictly,\n checkedNodeId,\n isDisabled,\n isLeaf,\n expandable,\n inExpandingPath,\n inCheckedPath,\n ns,\n handleHoverExpand,\n handleExpand,\n handleClick,\n handleCheck,\n handleSelectCheck\n };\n }\n});\nconst _hoisted_1 = [\"id\", \"aria-haspopup\", \"aria-owns\", \"aria-expanded\", \"tabindex\"];\nconst _hoisted_2 = /* @__PURE__ */ createElementVNode(\"span\", null, null, -1);\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_checkbox = resolveComponent(\"el-checkbox\");\n const _component_el_radio = resolveComponent(\"el-radio\");\n const _component_check = resolveComponent(\"check\");\n const _component_el_icon = resolveComponent(\"el-icon\");\n const _component_node_content = resolveComponent(\"node-content\");\n const _component_loading = resolveComponent(\"loading\");\n const _component_arrow_right = resolveComponent(\"arrow-right\");\n return openBlock(), createElementBlock(\"li\", {\n id: `${_ctx.menuId}-${_ctx.node.uid}`,\n role: \"menuitem\",\n \"aria-haspopup\": !_ctx.isLeaf,\n \"aria-owns\": _ctx.isLeaf ? null : _ctx.menuId,\n \"aria-expanded\": _ctx.inExpandingPath,\n tabindex: _ctx.expandable ? -1 : void 0,\n class: normalizeClass([\n _ctx.ns.b(),\n _ctx.ns.is(\"selectable\", _ctx.checkStrictly),\n _ctx.ns.is(\"active\", _ctx.node.checked),\n _ctx.ns.is(\"disabled\", !_ctx.expandable),\n _ctx.inExpandingPath && \"in-active-path\",\n _ctx.inCheckedPath && \"in-checked-path\"\n ]),\n onMouseenter: _cache[2] || (_cache[2] = (...args) => _ctx.handleHoverExpand && _ctx.handleHoverExpand(...args)),\n onFocus: _cache[3] || (_cache[3] = (...args) => _ctx.handleHoverExpand && _ctx.handleHoverExpand(...args)),\n onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))\n }, [\n createCommentVNode(\" prefix \"),\n _ctx.multiple ? (openBlock(), createBlock(_component_el_checkbox, {\n key: 0,\n \"model-value\": _ctx.node.checked,\n indeterminate: _ctx.node.indeterminate,\n disabled: _ctx.isDisabled,\n onClick: _cache[0] || (_cache[0] = withModifiers(() => {\n }, [\"stop\"])),\n \"onUpdate:modelValue\": _ctx.handleSelectCheck\n }, null, 8, [\"model-value\", \"indeterminate\", \"disabled\", \"onUpdate:modelValue\"])) : _ctx.checkStrictly ? (openBlock(), createBlock(_component_el_radio, {\n key: 1,\n \"model-value\": _ctx.checkedNodeId,\n label: _ctx.node.uid,\n disabled: _ctx.isDisabled,\n \"onUpdate:modelValue\": _ctx.handleSelectCheck,\n onClick: _cache[1] || (_cache[1] = withModifiers(() => {\n }, [\"stop\"]))\n }, {\n default: withCtx(() => [\n createCommentVNode(\"\\n Add an empty element to avoid render label,\\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\\n \"),\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"model-value\", \"label\", \"disabled\", \"onUpdate:modelValue\"])) : _ctx.isLeaf && _ctx.node.checked ? (openBlock(), createBlock(_component_el_icon, {\n key: 2,\n class: normalizeClass(_ctx.ns.e(\"prefix\"))\n }, {\n default: withCtx(() => [\n createVNode(_component_check)\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n createCommentVNode(\" content \"),\n createVNode(_component_node_content),\n createCommentVNode(\" postfix \"),\n !_ctx.isLeaf ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [\n _ctx.node.loading ? (openBlock(), createBlock(_component_el_icon, {\n key: 0,\n class: normalizeClass([_ctx.ns.is(\"loading\"), _ctx.ns.e(\"postfix\")])\n }, {\n default: withCtx(() => [\n createVNode(_component_loading)\n ]),\n _: 1\n }, 8, [\"class\"])) : (openBlock(), createBlock(_component_el_icon, {\n key: 1,\n class: normalizeClass([\"arrow-right\", _ctx.ns.e(\"postfix\")])\n }, {\n default: withCtx(() => [\n createVNode(_component_arrow_right)\n ]),\n _: 1\n }, 8, [\"class\"]))\n ], 64)) : createCommentVNode(\"v-if\", true)\n ], 42, _hoisted_1);\n}\nvar ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue\"]]);\n\nexport { ElCascaderNode as default };\n//# sourceMappingURL=node2.mjs.map\n","import { defineComponent, getCurrentInstance, inject, ref, computed, resolveComponent, openBlock, createBlock, normalizeClass, withCtx, createElementBlock, Fragment, renderList, createVNode, createTextVNode, toDisplayString, createCommentVNode } from 'vue';\nimport { ElScrollbar } from '../../scrollbar/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { Loading } from '@element-plus/icons-vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport ElCascaderNode from './node2.mjs';\nimport { CASCADER_PANEL_INJECTION_KEY } from './types.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { generateId } from '../../../utils/rand.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElCascaderMenu\",\n components: {\n Loading,\n ElIcon,\n ElScrollbar,\n ElCascaderNode\n },\n props: {\n nodes: {\n type: Array,\n required: true\n },\n index: {\n type: Number,\n required: true\n }\n },\n setup(props) {\n const instance = getCurrentInstance();\n const ns = useNamespace(\"cascader-menu\");\n const { t } = useLocale();\n const id = generateId();\n let activeNode = null;\n let hoverTimer = null;\n const panel = inject(CASCADER_PANEL_INJECTION_KEY);\n const hoverZone = ref(null);\n const isEmpty = computed(() => !props.nodes.length);\n const isLoading = computed(() => !panel.initialLoaded);\n const menuId = computed(() => `cascader-menu-${id}-${props.index}`);\n const handleExpand = (e) => {\n activeNode = e.target;\n };\n const handleMouseMove = (e) => {\n if (!panel.isHoverMenu || !activeNode || !hoverZone.value)\n return;\n if (activeNode.contains(e.target)) {\n clearHoverTimer();\n const el = instance.vnode.el;\n const { left } = el.getBoundingClientRect();\n const { offsetWidth, offsetHeight } = el;\n const startX = e.clientX - left;\n const top = activeNode.offsetTop;\n const bottom = top + activeNode.offsetHeight;\n hoverZone.value.innerHTML = `\n \n \n `;\n } else if (!hoverTimer) {\n hoverTimer = window.setTimeout(clearHoverZone, panel.config.hoverThreshold);\n }\n };\n const clearHoverTimer = () => {\n if (!hoverTimer)\n return;\n clearTimeout(hoverTimer);\n hoverTimer = null;\n };\n const clearHoverZone = () => {\n if (!hoverZone.value)\n return;\n hoverZone.value.innerHTML = \"\";\n clearHoverTimer();\n };\n return {\n ns,\n panel,\n hoverZone,\n isEmpty,\n isLoading,\n menuId,\n t,\n handleExpand,\n handleMouseMove,\n clearHoverZone\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_cascader_node = resolveComponent(\"el-cascader-node\");\n const _component_loading = resolveComponent(\"loading\");\n const _component_el_icon = resolveComponent(\"el-icon\");\n const _component_el_scrollbar = resolveComponent(\"el-scrollbar\");\n return openBlock(), createBlock(_component_el_scrollbar, {\n key: _ctx.menuId,\n tag: \"ul\",\n role: \"menu\",\n class: normalizeClass(_ctx.ns.b()),\n \"wrap-class\": _ctx.ns.e(\"wrap\"),\n \"view-class\": [_ctx.ns.e(\"list\"), _ctx.ns.is(\"empty\", _ctx.isEmpty)],\n onMousemove: _ctx.handleMouseMove,\n onMouseleave: _ctx.clearHoverZone\n }, {\n default: withCtx(() => {\n var _a;\n return [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.nodes, (node) => {\n return openBlock(), createBlock(_component_el_cascader_node, {\n key: node.uid,\n node,\n \"menu-id\": _ctx.menuId,\n onExpand: _ctx.handleExpand\n }, null, 8, [\"node\", \"menu-id\", \"onExpand\"]);\n }), 128)),\n _ctx.isLoading ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(_ctx.ns.e(\"empty-text\"))\n }, [\n createVNode(_component_el_icon, {\n size: \"14\",\n class: normalizeClass(_ctx.ns.is(\"loading\"))\n }, {\n default: withCtx(() => [\n createVNode(_component_loading)\n ]),\n _: 1\n }, 8, [\"class\"]),\n createTextVNode(\" \" + toDisplayString(_ctx.t(\"el.cascader.loading\")), 1)\n ], 2)) : _ctx.isEmpty ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass(_ctx.ns.e(\"empty-text\"))\n }, toDisplayString(_ctx.t(\"el.cascader.noData\")), 3)) : ((_a = _ctx.panel) == null ? void 0 : _a.isHoverMenu) ? (openBlock(), createElementBlock(\"svg\", {\n key: 2,\n ref: \"hoverZone\",\n class: normalizeClass(_ctx.ns.e(\"hover-zone\"))\n }, null, 2)) : createCommentVNode(\"v-if\", true)\n ];\n }),\n _: 1\n }, 8, [\"class\", \"wrap-class\", \"view-class\", \"onMousemove\", \"onMouseleave\"]);\n}\nvar ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue\"]]);\n\nexport { ElCascaderMenu as default };\n//# sourceMappingURL=menu.mjs.map\n","import { isFunction } from '@vue/shared';\nimport '../../../utils/index.mjs';\nimport { isEmpty, isUndefined } from '../../../utils/types.mjs';\nimport { capitalize } from '../../../utils/strings.mjs';\n\nlet uid = 0;\nconst calculatePathNodes = (node) => {\n const nodes = [node];\n let { parent } = node;\n while (parent) {\n nodes.unshift(parent);\n parent = parent.parent;\n }\n return nodes;\n};\nclass Node {\n constructor(data, config, parent, root = false) {\n this.data = data;\n this.config = config;\n this.parent = parent;\n this.root = root;\n this.uid = uid++;\n this.checked = false;\n this.indeterminate = false;\n this.loading = false;\n const { value: valueKey, label: labelKey, children: childrenKey } = config;\n const childrenData = data[childrenKey];\n const pathNodes = calculatePathNodes(this);\n this.level = root ? 0 : parent ? parent.level + 1 : 1;\n this.value = data[valueKey];\n this.label = data[labelKey];\n this.pathNodes = pathNodes;\n this.pathValues = pathNodes.map((node) => node.value);\n this.pathLabels = pathNodes.map((node) => node.label);\n this.childrenData = childrenData;\n this.children = (childrenData || []).map((child) => new Node(child, config, this));\n this.loaded = !config.lazy || this.isLeaf || !isEmpty(childrenData);\n }\n get isDisabled() {\n const { data, parent, config } = this;\n const { disabled, checkStrictly } = config;\n const isDisabled = isFunction(disabled) ? disabled(data, this) : !!data[disabled];\n return isDisabled || !checkStrictly && (parent == null ? void 0 : parent.isDisabled);\n }\n get isLeaf() {\n const { data, config, childrenData, loaded } = this;\n const { lazy, leaf } = config;\n const isLeaf = isFunction(leaf) ? leaf(data, this) : data[leaf];\n return isUndefined(isLeaf) ? lazy && !loaded ? false : !(Array.isArray(childrenData) && childrenData.length) : !!isLeaf;\n }\n get valueByOption() {\n return this.config.emitPath ? this.pathValues : this.value;\n }\n appendChild(childData) {\n const { childrenData, children } = this;\n const node = new Node(childData, this.config, this);\n if (Array.isArray(childrenData)) {\n childrenData.push(childData);\n } else {\n this.childrenData = [childData];\n }\n children.push(node);\n return node;\n }\n calcText(allLevels, separator) {\n const text = allLevels ? this.pathLabels.join(separator) : this.label;\n this.text = text;\n return text;\n }\n broadcast(event, ...args) {\n const handlerName = `onParent${capitalize(event)}`;\n this.children.forEach((child) => {\n if (child) {\n child.broadcast(event, ...args);\n child[handlerName] && child[handlerName](...args);\n }\n });\n }\n emit(event, ...args) {\n const { parent } = this;\n const handlerName = `onChild${capitalize(event)}`;\n if (parent) {\n parent[handlerName] && parent[handlerName](...args);\n parent.emit(event, ...args);\n }\n }\n onParentCheck(checked) {\n if (!this.isDisabled) {\n this.setCheckState(checked);\n }\n }\n onChildCheck() {\n const { children } = this;\n const validChildren = children.filter((child) => !child.isDisabled);\n const checked = validChildren.length ? validChildren.every((child) => child.checked) : false;\n this.setCheckState(checked);\n }\n setCheckState(checked) {\n const totalNum = this.children.length;\n const checkedNum = this.children.reduce((c, p) => {\n const num = p.checked ? 1 : p.indeterminate ? 0.5 : 0;\n return c + num;\n }, 0);\n this.checked = this.loaded && this.children.filter((child) => !child.isDisabled).every((child) => child.loaded && child.checked) && checked;\n this.indeterminate = this.loaded && checkedNum !== totalNum && checkedNum > 0;\n }\n doCheck(checked) {\n if (this.checked === checked)\n return;\n const { checkStrictly, multiple } = this.config;\n if (checkStrictly || !multiple) {\n this.checked = checked;\n } else {\n this.broadcast(\"check\", checked);\n this.setCheckState(checked);\n this.emit(\"check\");\n }\n }\n}\n\nexport { Node as default };\n//# sourceMappingURL=node.mjs.map\n","import { isEqual } from 'lodash-unified';\nimport Node from './node.mjs';\n\nconst flatNodes = (nodes, leafOnly) => {\n return nodes.reduce((res, node) => {\n if (node.isLeaf) {\n res.push(node);\n } else {\n !leafOnly && res.push(node);\n res = res.concat(flatNodes(node.children, leafOnly));\n }\n return res;\n }, []);\n};\nclass Store {\n constructor(data, config) {\n this.config = config;\n const nodes = (data || []).map((nodeData) => new Node(nodeData, this.config));\n this.nodes = nodes;\n this.allNodes = flatNodes(nodes, false);\n this.leafNodes = flatNodes(nodes, true);\n }\n getNodes() {\n return this.nodes;\n }\n getFlattedNodes(leafOnly) {\n return leafOnly ? this.leafNodes : this.allNodes;\n }\n appendNode(nodeData, parentNode) {\n const node = parentNode ? parentNode.appendChild(nodeData) : new Node(nodeData, this.config);\n if (!parentNode)\n this.nodes.push(node);\n this.allNodes.push(node);\n node.isLeaf && this.leafNodes.push(node);\n }\n appendNodes(nodeDataList, parentNode) {\n nodeDataList.forEach((nodeData) => this.appendNode(nodeData, parentNode));\n }\n getNodeByValue(value, leafOnly = false) {\n if (!value && value !== 0)\n return null;\n const node = this.getFlattedNodes(leafOnly).find((node2) => isEqual(node2.value, value) || isEqual(node2.pathValues, value));\n return node || null;\n }\n getSameNode(node) {\n if (!node)\n return null;\n const node_ = this.getFlattedNodes(false).find(({ value, level }) => isEqual(node.value, value) && node.level === level);\n return node_ || null;\n }\n}\n\nexport { Store as default };\n//# sourceMappingURL=store.mjs.map\n","import { computed } from 'vue';\nimport { NOOP } from '@vue/shared';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst CommonProps = buildProps({\n modelValue: {\n type: definePropType([Number, String, Array])\n },\n options: {\n type: definePropType(Array),\n default: () => []\n },\n props: {\n type: definePropType(Object),\n default: () => ({})\n }\n});\nconst DefaultProps = {\n expandTrigger: \"click\",\n multiple: false,\n checkStrictly: false,\n emitPath: true,\n lazy: false,\n lazyLoad: NOOP,\n value: \"value\",\n label: \"label\",\n children: \"children\",\n leaf: \"leaf\",\n disabled: \"disabled\",\n hoverThreshold: 500\n};\nconst useCascaderConfig = (props) => {\n return computed(() => ({\n ...DefaultProps,\n ...props.props\n }));\n};\n\nexport { CommonProps, DefaultProps, useCascaderConfig };\n//# sourceMappingURL=config.mjs.map\n","import '../../../utils/index.mjs';\nimport { isLeaf } from '../../../utils/dom/aria.mjs';\n\nconst getMenuIndex = (el) => {\n if (!el)\n return 0;\n const pieces = el.id.split(\"-\");\n return Number(pieces[pieces.length - 2]);\n};\nconst checkNode = (el) => {\n if (!el)\n return;\n const input = el.querySelector(\"input\");\n if (input) {\n input.click();\n } else if (isLeaf(el)) {\n el.click();\n }\n};\nconst sortByOriginalOrder = (oldNodes, newNodes) => {\n const newNodesCopy = newNodes.slice(0);\n const newIds = newNodesCopy.map((node) => node.uid);\n const res = oldNodes.reduce((acc, item) => {\n const index = newIds.indexOf(item.uid);\n if (index > -1) {\n acc.push(item);\n newNodesCopy.splice(index, 1);\n newIds.splice(index, 1);\n }\n return acc;\n }, []);\n res.push(...newNodesCopy);\n return res;\n};\n\nexport { checkNode, getMenuIndex, sortByOriginalOrder };\n//# sourceMappingURL=utils.mjs.map\n","import { defineComponent, ref, computed, reactive, nextTick, provide, watch, onBeforeUpdate, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock } from 'vue';\nimport { isEqual, flattenDeep, cloneDeep } from 'lodash-unified';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport ElCascaderMenu from './menu.mjs';\nimport Store from './store.mjs';\nimport Node from './node.mjs';\nimport { CommonProps, useCascaderConfig } from './config.mjs';\nimport { sortByOriginalOrder, checkNode, getMenuIndex } from './utils.mjs';\nimport { CASCADER_PANEL_INJECTION_KEY } from './types.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isEmpty } from '../../../utils/types.mjs';\nimport { unique, castArray } from '../../../utils/arrays.mjs';\nimport { isClient } from '@vueuse/core';\nimport { scrollIntoView } from '../../../utils/dom/scroll.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { focusNode, getSibling } from '../../../utils/dom/aria.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElCascaderPanel\",\n components: {\n ElCascaderMenu\n },\n props: {\n ...CommonProps,\n border: {\n type: Boolean,\n default: true\n },\n renderLabel: Function\n },\n emits: [UPDATE_MODEL_EVENT, CHANGE_EVENT, \"close\", \"expand-change\"],\n setup(props, { emit, slots }) {\n let manualChecked = false;\n const ns = useNamespace(\"cascader\");\n const config = useCascaderConfig(props);\n let store = null;\n const initialLoaded = ref(true);\n const menuList = ref([]);\n const checkedValue = ref(null);\n const menus = ref([]);\n const expandingNode = ref(null);\n const checkedNodes = ref([]);\n const isHoverMenu = computed(() => config.value.expandTrigger === \"hover\");\n const renderLabelFn = computed(() => props.renderLabel || slots.default);\n const initStore = () => {\n const { options } = props;\n const cfg = config.value;\n manualChecked = false;\n store = new Store(options, cfg);\n menus.value = [store.getNodes()];\n if (cfg.lazy && isEmpty(props.options)) {\n initialLoaded.value = false;\n lazyLoad(void 0, (list) => {\n if (list) {\n store = new Store(list, cfg);\n menus.value = [store.getNodes()];\n }\n initialLoaded.value = true;\n syncCheckedValue(false, true);\n });\n } else {\n syncCheckedValue(false, true);\n }\n };\n const lazyLoad = (node, cb) => {\n const cfg = config.value;\n node = node || new Node({}, cfg, void 0, true);\n node.loading = true;\n const resolve = (dataList) => {\n const _node = node;\n const parent = _node.root ? null : _node;\n dataList && (store == null ? void 0 : store.appendNodes(dataList, parent));\n _node.loading = false;\n _node.loaded = true;\n _node.childrenData = _node.childrenData || [];\n cb && cb(dataList);\n };\n cfg.lazyLoad(node, resolve);\n };\n const expandNode = (node, silent) => {\n var _a;\n const { level } = node;\n const newMenus = menus.value.slice(0, level);\n let newExpandingNode;\n if (node.isLeaf) {\n newExpandingNode = node.pathNodes[level - 2];\n } else {\n newExpandingNode = node;\n newMenus.push(node.children);\n }\n if (((_a = expandingNode.value) == null ? void 0 : _a.uid) !== (newExpandingNode == null ? void 0 : newExpandingNode.uid)) {\n expandingNode.value = node;\n menus.value = newMenus;\n !silent && emit(\"expand-change\", (node == null ? void 0 : node.pathValues) || []);\n }\n };\n const handleCheckChange = (node, checked, emitClose = true) => {\n const { checkStrictly, multiple } = config.value;\n const oldNode = checkedNodes.value[0];\n manualChecked = true;\n !multiple && (oldNode == null ? void 0 : oldNode.doCheck(false));\n node.doCheck(checked);\n calculateCheckedValue();\n emitClose && !multiple && !checkStrictly && emit(\"close\");\n !emitClose && !multiple && !checkStrictly && expandParentNode(node);\n };\n const expandParentNode = (node) => {\n if (!node)\n return;\n node = node.parent;\n expandParentNode(node);\n node && expandNode(node);\n };\n const getFlattedNodes = (leafOnly) => {\n return store == null ? void 0 : store.getFlattedNodes(leafOnly);\n };\n const getCheckedNodes = (leafOnly) => {\n var _a;\n return (_a = getFlattedNodes(leafOnly)) == null ? void 0 : _a.filter((node) => node.checked !== false);\n };\n const clearCheckedNodes = () => {\n checkedNodes.value.forEach((node) => node.doCheck(false));\n calculateCheckedValue();\n menus.value = menus.value.slice(0, 1);\n expandingNode.value = null;\n emit(\"expand-change\", []);\n };\n const calculateCheckedValue = () => {\n var _a;\n const { checkStrictly, multiple } = config.value;\n const oldNodes = checkedNodes.value;\n const newNodes = getCheckedNodes(!checkStrictly);\n const nodes = sortByOriginalOrder(oldNodes, newNodes);\n const values = nodes.map((node) => node.valueByOption);\n checkedNodes.value = nodes;\n checkedValue.value = multiple ? values : (_a = values[0]) != null ? _a : null;\n };\n const syncCheckedValue = (loaded = false, forced = false) => {\n const { modelValue } = props;\n const { lazy, multiple, checkStrictly } = config.value;\n const leafOnly = !checkStrictly;\n if (!initialLoaded.value || manualChecked || !forced && isEqual(modelValue, checkedValue.value))\n return;\n if (lazy && !loaded) {\n const values = unique(flattenDeep(castArray(modelValue)));\n const nodes = values.map((val) => store == null ? void 0 : store.getNodeByValue(val)).filter((node) => !!node && !node.loaded && !node.loading);\n if (nodes.length) {\n nodes.forEach((node) => {\n lazyLoad(node, () => syncCheckedValue(false, forced));\n });\n } else {\n syncCheckedValue(true, forced);\n }\n } else {\n const values = multiple ? castArray(modelValue) : [modelValue];\n const nodes = unique(values.map((val) => store == null ? void 0 : store.getNodeByValue(val, leafOnly)));\n syncMenuState(nodes, forced);\n checkedValue.value = cloneDeep(modelValue);\n }\n };\n const syncMenuState = (newCheckedNodes, reserveExpandingState = true) => {\n const { checkStrictly } = config.value;\n const oldNodes = checkedNodes.value;\n const newNodes = newCheckedNodes.filter((node) => !!node && (checkStrictly || node.isLeaf));\n const oldExpandingNode = store == null ? void 0 : store.getSameNode(expandingNode.value);\n const newExpandingNode = reserveExpandingState && oldExpandingNode || newNodes[0];\n if (newExpandingNode) {\n newExpandingNode.pathNodes.forEach((node) => expandNode(node, true));\n } else {\n expandingNode.value = null;\n }\n oldNodes.forEach((node) => node.doCheck(false));\n if (props.props.multiple) {\n reactive(newNodes).forEach((node) => node.doCheck(true));\n } else {\n newNodes.forEach((node) => node.doCheck(true));\n }\n checkedNodes.value = newNodes;\n nextTick(scrollToExpandingNode);\n };\n const scrollToExpandingNode = () => {\n if (!isClient)\n return;\n menuList.value.forEach((menu) => {\n const menuElement = menu == null ? void 0 : menu.$el;\n if (menuElement) {\n const container = menuElement.querySelector(`.${ns.namespace.value}-scrollbar__wrap`);\n const activeNode = menuElement.querySelector(`.${ns.b(\"node\")}.${ns.is(\"active\")}`) || menuElement.querySelector(`.${ns.b(\"node\")}.in-active-path`);\n scrollIntoView(container, activeNode);\n }\n });\n };\n const handleKeyDown = (e) => {\n const target = e.target;\n const { code } = e;\n switch (code) {\n case EVENT_CODE.up:\n case EVENT_CODE.down: {\n e.preventDefault();\n const distance = code === EVENT_CODE.up ? -1 : 1;\n focusNode(getSibling(target, distance, `.${ns.b(\"node\")}[tabindex=\"-1\"]`));\n break;\n }\n case EVENT_CODE.left: {\n e.preventDefault();\n const preMenu = menuList.value[getMenuIndex(target) - 1];\n const expandedNode = preMenu == null ? void 0 : preMenu.$el.querySelector(`.${ns.b(\"node\")}[aria-expanded=\"true\"]`);\n focusNode(expandedNode);\n break;\n }\n case EVENT_CODE.right: {\n e.preventDefault();\n const nextMenu = menuList.value[getMenuIndex(target) + 1];\n const firstNode = nextMenu == null ? void 0 : nextMenu.$el.querySelector(`.${ns.b(\"node\")}[tabindex=\"-1\"]`);\n focusNode(firstNode);\n break;\n }\n case EVENT_CODE.enter:\n checkNode(target);\n break;\n }\n };\n provide(CASCADER_PANEL_INJECTION_KEY, reactive({\n config,\n expandingNode,\n checkedNodes,\n isHoverMenu,\n initialLoaded,\n renderLabelFn,\n lazyLoad,\n expandNode,\n handleCheckChange\n }));\n watch([config, () => props.options], initStore, {\n deep: true,\n immediate: true\n });\n watch(() => props.modelValue, () => {\n manualChecked = false;\n syncCheckedValue();\n }, {\n deep: true\n });\n watch(() => checkedValue.value, (val) => {\n if (!isEqual(val, props.modelValue)) {\n emit(UPDATE_MODEL_EVENT, val);\n emit(CHANGE_EVENT, val);\n }\n });\n onBeforeUpdate(() => menuList.value = []);\n onMounted(() => !isEmpty(props.modelValue) && syncCheckedValue());\n return {\n ns,\n menuList,\n menus,\n checkedNodes,\n handleKeyDown,\n handleCheckChange,\n getFlattedNodes,\n getCheckedNodes,\n clearCheckedNodes,\n calculateCheckedValue,\n scrollToExpandingNode\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_cascader_menu = resolveComponent(\"el-cascader-menu\");\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([_ctx.ns.b(\"panel\"), _ctx.ns.is(\"bordered\", _ctx.border)]),\n onKeydown: _cache[0] || (_cache[0] = (...args) => _ctx.handleKeyDown && _ctx.handleKeyDown(...args))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menus, (menu, index) => {\n return openBlock(), createBlock(_component_el_cascader_menu, {\n key: index,\n ref_for: true,\n ref: (item) => _ctx.menuList[index] = item,\n index,\n nodes: [...menu]\n }, null, 8, [\"index\", \"nodes\"]);\n }), 128))\n ], 34);\n}\nvar CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue\"]]);\n\nexport { CascaderPanel as default };\n//# sourceMappingURL=index.mjs.map\n","import CascaderPanel from './src/index.mjs';\nexport { CASCADER_PANEL_INJECTION_KEY } from './src/types.mjs';\nexport { CommonProps, DefaultProps, useCascaderConfig } from './src/config.mjs';\nimport './src/instance.mjs';\n\nCascaderPanel.install = (app) => {\n app.component(CascaderPanel.name, CascaderPanel);\n};\nconst _CascaderPanel = CascaderPanel;\nconst ElCascaderPanel = _CascaderPanel;\n\nexport { ElCascaderPanel, _CascaderPanel as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../../constants/size.mjs';\n\nconst tagProps = buildProps({\n type: {\n type: String,\n values: [\"success\", \"info\", \"warning\", \"danger\", \"\"],\n default: \"\"\n },\n closable: Boolean,\n disableTransitions: Boolean,\n hit: Boolean,\n color: {\n type: String,\n default: \"\"\n },\n size: {\n type: String,\n values: componentSizes,\n default: \"\"\n },\n effect: {\n type: String,\n values: [\"dark\", \"light\", \"plain\"],\n default: \"light\"\n },\n round: Boolean\n});\nconst tagEmits = {\n close: (evt) => evt instanceof MouseEvent,\n click: (evt) => evt instanceof MouseEvent\n};\n\nexport { tagEmits, tagProps };\n//# sourceMappingURL=tag.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createElementVNode, renderSlot, createBlock, withModifiers, withCtx, createVNode, createCommentVNode, Transition } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { Close } from '@element-plus/icons-vue';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport { tagProps, tagEmits } from './tag.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useFormSize } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElTag\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: tagProps,\n emits: tagEmits,\n setup(__props, { emit }) {\n const props = __props;\n const tagSize = useFormSize();\n const ns = useNamespace(\"tag\");\n const containerKls = computed(() => {\n const { type, hit, effect, closable, round } = props;\n return [\n ns.b(),\n ns.is(\"closable\", closable),\n ns.m(type),\n ns.m(tagSize.value),\n ns.m(effect),\n ns.is(\"hit\", hit),\n ns.is(\"round\", round)\n ];\n });\n const handleClose = (event) => {\n emit(\"close\", event);\n };\n const handleClick = (event) => {\n emit(\"click\", event);\n };\n return (_ctx, _cache) => {\n return _ctx.disableTransitions ? (openBlock(), createElementBlock(\"span\", {\n key: 0,\n class: normalizeClass(unref(containerKls)),\n style: normalizeStyle({ backgroundColor: _ctx.color }),\n onClick: handleClick\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(ns).e(\"content\"))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2),\n _ctx.closable ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(ns).e(\"close\")),\n onClick: withModifiers(handleClose, [\"stop\"])\n }, {\n default: withCtx(() => [\n createVNode(unref(Close))\n ]),\n _: 1\n }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true)\n ], 6)) : (openBlock(), createBlock(Transition, {\n key: 1,\n name: `${unref(ns).namespace.value}-zoom-in-center`,\n appear: \"\"\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(containerKls)),\n style: normalizeStyle({ backgroundColor: _ctx.color }),\n onClick: handleClick\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(ns).e(\"content\"))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2),\n _ctx.closable ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(ns).e(\"close\")),\n onClick: withModifiers(handleClose, [\"stop\"])\n }, {\n default: withCtx(() => [\n createVNode(unref(Close))\n ]),\n _: 1\n }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true)\n ], 6)\n ]),\n _: 3\n }, 8, [\"name\"]));\n };\n }\n});\nvar Tag = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue\"]]);\n\nexport { Tag as default };\n//# sourceMappingURL=tag2.mjs.map\n","import '../../utils/index.mjs';\nimport Tag from './src/tag2.mjs';\nexport { tagEmits, tagProps } from './src/tag.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElTag = withInstall(Tag);\n\nexport { ElTag, ElTag as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../cascader-panel/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../tooltip/index.mjs';\nimport '../../tag/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { CommonProps } from '../../cascader-panel/src/config.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { useTooltipContentProps } from '../../tooltip/src/content.mjs';\nimport { tagProps } from '../../tag/src/tag.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { isBoolean } from '../../../utils/types.mjs';\n\nconst cascaderProps = buildProps({\n ...CommonProps,\n size: useSizeProp,\n placeholder: String,\n disabled: Boolean,\n clearable: Boolean,\n filterable: Boolean,\n filterMethod: {\n type: definePropType(Function),\n default: (node, keyword) => node.text.includes(keyword)\n },\n separator: {\n type: String,\n default: \" / \"\n },\n showAllLevels: {\n type: Boolean,\n default: true\n },\n collapseTags: Boolean,\n collapseTagsTooltip: {\n type: Boolean,\n default: false\n },\n debounce: {\n type: Number,\n default: 300\n },\n beforeFilter: {\n type: definePropType(Function),\n default: () => true\n },\n popperClass: {\n type: String,\n default: \"\"\n },\n teleported: useTooltipContentProps.teleported,\n tagType: { ...tagProps.type, default: \"info\" },\n validateEvent: {\n type: Boolean,\n default: true\n }\n});\nconst cascaderEmits = {\n [UPDATE_MODEL_EVENT]: (val) => !!val || val === null,\n [CHANGE_EVENT]: (val) => !!val || val === null,\n focus: (evt) => evt instanceof FocusEvent,\n blur: (evt) => evt instanceof FocusEvent,\n visibleChange: (val) => isBoolean(val),\n expandChange: (val) => !!val,\n removeTag: (val) => !!val\n};\n\nexport { cascaderEmits, cascaderProps };\n//# sourceMappingURL=cascader.mjs.map\n","import { defineComponent, useAttrs, ref, computed, nextTick, watch, onMounted, openBlock, createBlock, unref, withCtx, withDirectives, createElementBlock, normalizeClass, normalizeStyle, createVNode, withModifiers, Fragment, renderList, toDisplayString, createElementVNode, withKeys, vModelText, createCommentVNode, isRef, vShow, renderSlot } from 'vue';\nimport { isPromise } from '@vue/shared';\nimport { cloneDeep, debounce } from 'lodash-unified';\nimport { isClient, useCssVar, useResizeObserver } from '@vueuse/core';\nimport _CascaderPanel from '../../cascader-panel/index.mjs';\nimport { ElInput } from '../../input/index.mjs';\nimport { ElTooltip } from '../../tooltip/index.mjs';\nimport { ElScrollbar } from '../../scrollbar/index.mjs';\nimport { ElTag } from '../../tag/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../form/index.mjs';\nimport '../../../directives/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { CircleClose, ArrowDown, Check } from '@element-plus/icons-vue';\nimport { cascaderProps, cascaderEmits } from './cascader.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useFormItem } from '../../form/src/hooks/use-form-item.mjs';\nimport { useFormSize } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { isKorean } from '../../../utils/i18n.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { focusNode, getSibling } from '../../../utils/dom/aria.mjs';\nimport ClickOutside from '../../../directives/click-outside/index.mjs';\n\nconst _hoisted_1 = { key: 0 };\nconst _hoisted_2 = [\"placeholder\", \"onKeydown\"];\nconst _hoisted_3 = [\"onClick\"];\nconst COMPONENT_NAME = \"ElCascader\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: cascaderProps,\n emits: cascaderEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const popperOptions = {\n modifiers: [\n {\n name: \"arrowPosition\",\n enabled: true,\n phase: \"main\",\n fn: ({ state }) => {\n const { modifiersData, placement } = state;\n if ([\"right\", \"left\", \"bottom\", \"top\"].includes(placement))\n return;\n modifiersData.arrow.x = 35;\n },\n requires: [\"arrow\"]\n }\n ]\n };\n const attrs = useAttrs();\n let inputInitialHeight = 0;\n let pressDeleteCount = 0;\n const nsCascader = useNamespace(\"cascader\");\n const nsInput = useNamespace(\"input\");\n const { t } = useLocale();\n const { form, formItem } = useFormItem();\n const tooltipRef = ref(null);\n const input = ref(null);\n const tagWrapper = ref(null);\n const cascaderPanelRef = ref(null);\n const suggestionPanel = ref(null);\n const popperVisible = ref(false);\n const inputHover = ref(false);\n const filtering = ref(false);\n const filterFocus = ref(false);\n const inputValue = ref(\"\");\n const searchInputValue = ref(\"\");\n const presentTags = ref([]);\n const allPresentTags = ref([]);\n const suggestions = ref([]);\n const isOnComposition = ref(false);\n const cascaderStyle = computed(() => {\n return attrs.style;\n });\n const isDisabled = computed(() => props.disabled || (form == null ? void 0 : form.disabled));\n const inputPlaceholder = computed(() => props.placeholder || t(\"el.cascader.placeholder\"));\n const currentPlaceholder = computed(() => searchInputValue.value || presentTags.value.length > 0 || isOnComposition.value ? \"\" : inputPlaceholder.value);\n const realSize = useFormSize();\n const tagSize = computed(() => [\"small\"].includes(realSize.value) ? \"small\" : \"default\");\n const multiple = computed(() => !!props.props.multiple);\n const readonly = computed(() => !props.filterable || multiple.value);\n const searchKeyword = computed(() => multiple.value ? searchInputValue.value : inputValue.value);\n const checkedNodes = computed(() => {\n var _a;\n return ((_a = cascaderPanelRef.value) == null ? void 0 : _a.checkedNodes) || [];\n });\n const clearBtnVisible = computed(() => {\n if (!props.clearable || isDisabled.value || filtering.value || !inputHover.value)\n return false;\n return !!checkedNodes.value.length;\n });\n const presentText = computed(() => {\n const { showAllLevels, separator } = props;\n const nodes = checkedNodes.value;\n return nodes.length ? multiple.value ? \"\" : nodes[0].calcText(showAllLevels, separator) : \"\";\n });\n const checkedValue = computed({\n get() {\n return cloneDeep(props.modelValue);\n },\n set(val) {\n emit(UPDATE_MODEL_EVENT, val);\n emit(CHANGE_EVENT, val);\n if (props.validateEvent) {\n formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n }\n }\n });\n const cascaderKls = computed(() => {\n return [\n nsCascader.b(),\n nsCascader.m(realSize.value),\n nsCascader.is(\"disabled\", isDisabled.value),\n attrs.class\n ];\n });\n const cascaderIconKls = computed(() => {\n return [\n nsInput.e(\"icon\"),\n \"icon-arrow-down\",\n nsCascader.is(\"reverse\", popperVisible.value)\n ];\n });\n const inputClass = computed(() => {\n return nsCascader.is(\"focus\", popperVisible.value || filterFocus.value);\n });\n const contentRef = computed(() => {\n var _a, _b;\n return (_b = (_a = tooltipRef.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;\n });\n const togglePopperVisible = (visible) => {\n var _a, _b, _c;\n if (isDisabled.value)\n return;\n visible = visible != null ? visible : !popperVisible.value;\n if (visible !== popperVisible.value) {\n popperVisible.value = visible;\n (_b = (_a = input.value) == null ? void 0 : _a.input) == null ? void 0 : _b.setAttribute(\"aria-expanded\", `${visible}`);\n if (visible) {\n updatePopperPosition();\n nextTick((_c = cascaderPanelRef.value) == null ? void 0 : _c.scrollToExpandingNode);\n } else if (props.filterable) {\n syncPresentTextValue();\n }\n emit(\"visibleChange\", visible);\n }\n };\n const updatePopperPosition = () => {\n nextTick(() => {\n var _a;\n (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper();\n });\n };\n const hideSuggestionPanel = () => {\n filtering.value = false;\n };\n const genTag = (node) => {\n const { showAllLevels, separator } = props;\n return {\n node,\n key: node.uid,\n text: node.calcText(showAllLevels, separator),\n hitState: false,\n closable: !isDisabled.value && !node.isDisabled,\n isCollapseTag: false\n };\n };\n const deleteTag = (tag) => {\n var _a;\n const node = tag.node;\n node.doCheck(false);\n (_a = cascaderPanelRef.value) == null ? void 0 : _a.calculateCheckedValue();\n emit(\"removeTag\", node.valueByOption);\n };\n const calculatePresentTags = () => {\n if (!multiple.value)\n return;\n const nodes = checkedNodes.value;\n const tags = [];\n const allTags = [];\n nodes.forEach((node) => allTags.push(genTag(node)));\n allPresentTags.value = allTags;\n if (nodes.length) {\n const [first, ...rest] = nodes;\n const restCount = rest.length;\n tags.push(genTag(first));\n if (restCount) {\n if (props.collapseTags) {\n tags.push({\n key: -1,\n text: `+ ${restCount}`,\n closable: false,\n isCollapseTag: true\n });\n } else {\n rest.forEach((node) => tags.push(genTag(node)));\n }\n }\n }\n presentTags.value = tags;\n };\n const calculateSuggestions = () => {\n var _a, _b;\n const { filterMethod, showAllLevels, separator } = props;\n const res = (_b = (_a = cascaderPanelRef.value) == null ? void 0 : _a.getFlattedNodes(!props.props.checkStrictly)) == null ? void 0 : _b.filter((node) => {\n if (node.isDisabled)\n return false;\n node.calcText(showAllLevels, separator);\n return filterMethod(node, searchKeyword.value);\n });\n if (multiple.value) {\n presentTags.value.forEach((tag) => {\n tag.hitState = false;\n });\n allPresentTags.value.forEach((tag) => {\n tag.hitState = false;\n });\n }\n filtering.value = true;\n suggestions.value = res;\n updatePopperPosition();\n };\n const focusFirstNode = () => {\n var _a;\n let firstNode;\n if (filtering.value && suggestionPanel.value) {\n firstNode = suggestionPanel.value.$el.querySelector(`.${nsCascader.e(\"suggestion-item\")}`);\n } else {\n firstNode = (_a = cascaderPanelRef.value) == null ? void 0 : _a.$el.querySelector(`.${nsCascader.b(\"node\")}[tabindex=\"-1\"]`);\n }\n if (firstNode) {\n firstNode.focus();\n !filtering.value && firstNode.click();\n }\n };\n const updateStyle = () => {\n var _a, _b;\n const inputInner = (_a = input.value) == null ? void 0 : _a.input;\n const tagWrapperEl = tagWrapper.value;\n const suggestionPanelEl = (_b = suggestionPanel.value) == null ? void 0 : _b.$el;\n if (!isClient || !inputInner)\n return;\n if (suggestionPanelEl) {\n const suggestionList = suggestionPanelEl.querySelector(`.${nsCascader.e(\"suggestion-list\")}`);\n suggestionList.style.minWidth = `${inputInner.offsetWidth}px`;\n }\n if (tagWrapperEl) {\n const { offsetHeight } = tagWrapperEl;\n const height = presentTags.value.length > 0 ? `${Math.max(offsetHeight + 6, inputInitialHeight)}px` : `${inputInitialHeight}px`;\n inputInner.style.height = height;\n updatePopperPosition();\n }\n };\n const getCheckedNodes = (leafOnly) => {\n var _a;\n return (_a = cascaderPanelRef.value) == null ? void 0 : _a.getCheckedNodes(leafOnly);\n };\n const handleExpandChange = (value) => {\n updatePopperPosition();\n emit(\"expandChange\", value);\n };\n const handleComposition = (event) => {\n var _a;\n const text = (_a = event.target) == null ? void 0 : _a.value;\n if (event.type === \"compositionend\") {\n isOnComposition.value = false;\n nextTick(() => handleInput(text));\n } else {\n const lastCharacter = text[text.length - 1] || \"\";\n isOnComposition.value = !isKorean(lastCharacter);\n }\n };\n const handleKeyDown = (e) => {\n if (isOnComposition.value)\n return;\n switch (e.code) {\n case EVENT_CODE.enter:\n togglePopperVisible();\n break;\n case EVENT_CODE.down:\n togglePopperVisible(true);\n nextTick(focusFirstNode);\n e.preventDefault();\n break;\n case EVENT_CODE.esc:\n if (popperVisible.value === true) {\n e.preventDefault();\n e.stopPropagation();\n togglePopperVisible(false);\n }\n break;\n case EVENT_CODE.tab:\n togglePopperVisible(false);\n break;\n }\n };\n const handleClear = () => {\n var _a;\n (_a = cascaderPanelRef.value) == null ? void 0 : _a.clearCheckedNodes();\n if (!popperVisible.value && props.filterable) {\n syncPresentTextValue();\n }\n togglePopperVisible(false);\n };\n const syncPresentTextValue = () => {\n const { value } = presentText;\n inputValue.value = value;\n searchInputValue.value = value;\n };\n const handleSuggestionClick = (node) => {\n var _a, _b;\n const { checked } = node;\n if (multiple.value) {\n (_a = cascaderPanelRef.value) == null ? void 0 : _a.handleCheckChange(node, !checked, false);\n } else {\n !checked && ((_b = cascaderPanelRef.value) == null ? void 0 : _b.handleCheckChange(node, true, false));\n togglePopperVisible(false);\n }\n };\n const handleSuggestionKeyDown = (e) => {\n const target = e.target;\n const { code } = e;\n switch (code) {\n case EVENT_CODE.up:\n case EVENT_CODE.down: {\n const distance = code === EVENT_CODE.up ? -1 : 1;\n focusNode(getSibling(target, distance, `.${nsCascader.e(\"suggestion-item\")}[tabindex=\"-1\"]`));\n break;\n }\n case EVENT_CODE.enter:\n target.click();\n break;\n }\n };\n const handleDelete = () => {\n const tags = presentTags.value;\n const lastTag = tags[tags.length - 1];\n pressDeleteCount = searchInputValue.value ? 0 : pressDeleteCount + 1;\n if (!lastTag || !pressDeleteCount || props.collapseTags && tags.length > 1)\n return;\n if (lastTag.hitState) {\n deleteTag(lastTag);\n } else {\n lastTag.hitState = true;\n }\n };\n const handleFocus = (e) => {\n const el = e.target;\n const name = nsCascader.e(\"search-input\");\n if (el.className === name) {\n filterFocus.value = true;\n }\n emit(\"focus\", e);\n };\n const handleBlur = (e) => {\n filterFocus.value = false;\n emit(\"blur\", e);\n };\n const handleFilter = debounce(() => {\n const { value } = searchKeyword;\n if (!value)\n return;\n const passed = props.beforeFilter(value);\n if (isPromise(passed)) {\n passed.then(calculateSuggestions).catch(() => {\n });\n } else if (passed !== false) {\n calculateSuggestions();\n } else {\n hideSuggestionPanel();\n }\n }, props.debounce);\n const handleInput = (val, e) => {\n !popperVisible.value && togglePopperVisible(true);\n if (e == null ? void 0 : e.isComposing)\n return;\n val ? handleFilter() : hideSuggestionPanel();\n };\n const getInputInnerHeight = (inputInner) => Number.parseFloat(useCssVar(nsInput.cssVarName(\"input-height\"), inputInner).value) - 2;\n watch(filtering, updatePopperPosition);\n watch([checkedNodes, isDisabled], calculatePresentTags);\n watch(presentTags, () => {\n nextTick(() => updateStyle());\n });\n watch(realSize, async () => {\n await nextTick();\n const inputInner = input.value.input;\n inputInitialHeight = getInputInnerHeight(inputInner) || inputInitialHeight;\n updateStyle();\n });\n watch(presentText, syncPresentTextValue, { immediate: true });\n onMounted(() => {\n const inputInner = input.value.input;\n const inputInnerHeight = getInputInnerHeight(inputInner);\n inputInitialHeight = inputInner.offsetHeight || inputInnerHeight;\n useResizeObserver(inputInner, updateStyle);\n });\n expose({\n getCheckedNodes,\n cascaderPanelRef,\n togglePopperVisible,\n contentRef\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(ElTooltip), {\n ref_key: \"tooltipRef\",\n ref: tooltipRef,\n visible: popperVisible.value,\n teleported: _ctx.teleported,\n \"popper-class\": [unref(nsCascader).e(\"dropdown\"), _ctx.popperClass],\n \"popper-options\": popperOptions,\n \"fallback-placements\": [\n \"bottom-start\",\n \"bottom\",\n \"top-start\",\n \"top\",\n \"right\",\n \"left\"\n ],\n \"stop-popper-mouse-event\": false,\n \"gpu-acceleration\": false,\n placement: \"bottom-start\",\n transition: `${unref(nsCascader).namespace.value}-zoom-in-top`,\n effect: \"light\",\n pure: \"\",\n persistent: \"\",\n onHide: hideSuggestionPanel\n }, {\n default: withCtx(() => [\n withDirectives((openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(unref(cascaderKls)),\n style: normalizeStyle(unref(cascaderStyle)),\n onClick: _cache[5] || (_cache[5] = () => togglePopperVisible(unref(readonly) ? void 0 : true)),\n onKeydown: handleKeyDown,\n onMouseenter: _cache[6] || (_cache[6] = ($event) => inputHover.value = true),\n onMouseleave: _cache[7] || (_cache[7] = ($event) => inputHover.value = false)\n }, [\n createVNode(unref(ElInput), {\n ref_key: \"input\",\n ref: input,\n modelValue: inputValue.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event) => inputValue.value = $event),\n placeholder: unref(currentPlaceholder),\n readonly: unref(readonly),\n disabled: unref(isDisabled),\n \"validate-event\": false,\n size: unref(realSize),\n class: normalizeClass(unref(inputClass)),\n tabindex: unref(multiple) && _ctx.filterable && !unref(isDisabled) ? -1 : void 0,\n onCompositionstart: handleComposition,\n onCompositionupdate: handleComposition,\n onCompositionend: handleComposition,\n onFocus: handleFocus,\n onBlur: handleBlur,\n onInput: handleInput\n }, {\n suffix: withCtx(() => [\n unref(clearBtnVisible) ? (openBlock(), createBlock(unref(ElIcon), {\n key: \"clear\",\n class: normalizeClass([unref(nsInput).e(\"icon\"), \"icon-circle-close\"]),\n onClick: withModifiers(handleClear, [\"stop\"])\n }, {\n default: withCtx(() => [\n createVNode(unref(CircleClose))\n ]),\n _: 1\n }, 8, [\"class\", \"onClick\"])) : (openBlock(), createBlock(unref(ElIcon), {\n key: \"arrow-down\",\n class: normalizeClass(unref(cascaderIconKls)),\n onClick: _cache[0] || (_cache[0] = withModifiers(($event) => togglePopperVisible(), [\"stop\"]))\n }, {\n default: withCtx(() => [\n createVNode(unref(ArrowDown))\n ]),\n _: 1\n }, 8, [\"class\"]))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"placeholder\", \"readonly\", \"disabled\", \"size\", \"class\", \"tabindex\"]),\n unref(multiple) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n ref_key: \"tagWrapper\",\n ref: tagWrapper,\n class: normalizeClass(unref(nsCascader).e(\"tags\"))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(presentTags.value, (tag) => {\n return openBlock(), createBlock(unref(ElTag), {\n key: tag.key,\n type: _ctx.tagType,\n size: unref(tagSize),\n hit: tag.hitState,\n closable: tag.closable,\n \"disable-transitions\": \"\",\n onClose: ($event) => deleteTag(tag)\n }, {\n default: withCtx(() => [\n tag.isCollapseTag === false ? (openBlock(), createElementBlock(\"span\", _hoisted_1, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(unref(ElTooltip), {\n key: 1,\n disabled: popperVisible.value || !_ctx.collapseTagsTooltip,\n \"fallback-placements\": [\"bottom\", \"top\", \"right\", \"left\"],\n placement: \"bottom\",\n effect: \"light\"\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", null, toDisplayString(tag.text), 1)\n ]),\n content: withCtx(() => [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(nsCascader).e(\"collapse-tags\"))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(allPresentTags.value.slice(1), (tag2, idx) => {\n return openBlock(), createElementBlock(\"div\", {\n key: idx,\n class: normalizeClass(unref(nsCascader).e(\"collapse-tag\"))\n }, [\n (openBlock(), createBlock(unref(ElTag), {\n key: tag2.key,\n class: \"in-tooltip\",\n type: _ctx.tagType,\n size: unref(tagSize),\n hit: tag2.hitState,\n closable: tag2.closable,\n \"disable-transitions\": \"\",\n onClose: ($event) => deleteTag(tag2)\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", null, toDisplayString(tag2.text), 1)\n ]),\n _: 2\n }, 1032, [\"type\", \"size\", \"hit\", \"closable\", \"onClose\"]))\n ], 2);\n }), 128))\n ], 2)\n ]),\n _: 2\n }, 1032, [\"disabled\"]))\n ]),\n _: 2\n }, 1032, [\"type\", \"size\", \"hit\", \"closable\", \"onClose\"]);\n }), 128)),\n _ctx.filterable && !unref(isDisabled) ? withDirectives((openBlock(), createElementBlock(\"input\", {\n key: 0,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event) => searchInputValue.value = $event),\n type: \"text\",\n class: normalizeClass(unref(nsCascader).e(\"search-input\")),\n placeholder: unref(presentText) ? \"\" : unref(inputPlaceholder),\n onInput: _cache[3] || (_cache[3] = (e) => handleInput(searchInputValue.value, e)),\n onClick: _cache[4] || (_cache[4] = withModifiers(($event) => togglePopperVisible(true), [\"stop\"])),\n onKeydown: withKeys(handleDelete, [\"delete\"]),\n onCompositionstart: handleComposition,\n onCompositionupdate: handleComposition,\n onCompositionend: handleComposition,\n onFocus: handleFocus,\n onBlur: handleBlur\n }, null, 42, _hoisted_2)), [\n [vModelText, searchInputValue.value]\n ]) : createCommentVNode(\"v-if\", true)\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 38)), [\n [unref(ClickOutside), () => togglePopperVisible(false), unref(contentRef)]\n ])\n ]),\n content: withCtx(() => [\n withDirectives(createVNode(unref(_CascaderPanel), {\n ref_key: \"cascaderPanelRef\",\n ref: cascaderPanelRef,\n modelValue: unref(checkedValue),\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event) => isRef(checkedValue) ? checkedValue.value = $event : null),\n options: _ctx.options,\n props: props.props,\n border: false,\n \"render-label\": _ctx.$slots.default,\n onExpandChange: handleExpandChange,\n onClose: _cache[9] || (_cache[9] = ($event) => _ctx.$nextTick(() => togglePopperVisible(false)))\n }, null, 8, [\"modelValue\", \"options\", \"props\", \"render-label\"]), [\n [vShow, !filtering.value]\n ]),\n _ctx.filterable ? withDirectives((openBlock(), createBlock(unref(ElScrollbar), {\n key: 0,\n ref_key: \"suggestionPanel\",\n ref: suggestionPanel,\n tag: \"ul\",\n class: normalizeClass(unref(nsCascader).e(\"suggestion-panel\")),\n \"view-class\": unref(nsCascader).e(\"suggestion-list\"),\n onKeydown: handleSuggestionKeyDown\n }, {\n default: withCtx(() => [\n suggestions.value.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(suggestions.value, (item) => {\n return openBlock(), createElementBlock(\"li\", {\n key: item.uid,\n class: normalizeClass([\n unref(nsCascader).e(\"suggestion-item\"),\n unref(nsCascader).is(\"checked\", item.checked)\n ]),\n tabindex: -1,\n onClick: ($event) => handleSuggestionClick(item)\n }, [\n createElementVNode(\"span\", null, toDisplayString(item.text), 1),\n item.checked ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {\n default: withCtx(() => [\n createVNode(unref(Check))\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true)\n ], 10, _hoisted_3);\n }), 128)) : renderSlot(_ctx.$slots, \"empty\", { key: 1 }, () => [\n createElementVNode(\"li\", {\n class: normalizeClass(unref(nsCascader).e(\"empty-text\"))\n }, toDisplayString(unref(t)(\"el.cascader.noMatch\")), 3)\n ])\n ]),\n _: 3\n }, 8, [\"class\", \"view-class\"])), [\n [vShow, filtering.value]\n ]) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"visible\", \"teleported\", \"popper-class\", \"transition\"]);\n };\n }\n});\nvar Cascader = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue\"]]);\n\nexport { Cascader as default };\n//# sourceMappingURL=cascader2.mjs.map\n","import Cascader from './src/cascader2.mjs';\nexport { cascaderEmits, cascaderProps } from './src/cascader.mjs';\nimport './src/instances.mjs';\n\nCascader.install = (app) => {\n app.component(Cascader.name, Cascader);\n};\nconst _Cascader = Cascader;\nconst ElCascader = _Cascader;\n\nexport { ElCascader, _Cascader as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst emitChangeFn = (value) => typeof isNumber(value);\nconst collapseProps = buildProps({\n accordion: Boolean,\n modelValue: {\n type: definePropType([Array, String, Number]),\n default: () => mutable([])\n }\n});\nconst collapseEmits = {\n [UPDATE_MODEL_EVENT]: emitChangeFn,\n [CHANGE_EVENT]: emitChangeFn\n};\n\nexport { collapseEmits, collapseProps, emitChangeFn };\n//# sourceMappingURL=collapse.mjs.map\n","const collapseContextKey = Symbol(\"collapseContextKey\");\n\nexport { collapseContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport { collapseProps, collapseEmits } from './collapse.mjs';\nimport { useCollapse, useCollapseDOM } from './use-collapse.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElCollapse\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: collapseProps,\n emits: collapseEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const { activeNames, setActiveNames } = useCollapse(props, emit);\n const { rootKls } = useCollapseDOM();\n expose({\n activeNames,\n setActiveNames\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(unref(rootKls)),\n role: \"tablist\",\n \"aria-multiselectable\": \"true\"\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nvar Collapse = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue\"]]);\n\nexport { Collapse as default };\n//# sourceMappingURL=collapse2.mjs.map\n","import { ref, watch, provide, computed } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../constants/index.mjs';\nimport { collapseContextKey } from './constants.mjs';\nimport { castArray } from 'lodash-unified';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst useCollapse = (props, emit) => {\n const activeNames = ref(castArray(props.modelValue));\n const setActiveNames = (_activeNames) => {\n activeNames.value = _activeNames;\n const value = props.accordion ? activeNames.value[0] : activeNames.value;\n emit(UPDATE_MODEL_EVENT, value);\n emit(CHANGE_EVENT, value);\n };\n const handleItemClick = (name) => {\n if (props.accordion) {\n setActiveNames([activeNames.value[0] === name ? \"\" : name]);\n } else {\n const _activeNames = [...activeNames.value];\n const index = _activeNames.indexOf(name);\n if (index > -1) {\n _activeNames.splice(index, 1);\n } else {\n _activeNames.push(name);\n }\n setActiveNames(_activeNames);\n }\n };\n watch(() => props.modelValue, () => activeNames.value = castArray(props.modelValue), { deep: true });\n provide(collapseContextKey, {\n activeNames,\n handleItemClick\n });\n return {\n activeNames,\n setActiveNames\n };\n};\nconst useCollapseDOM = () => {\n const ns = useNamespace(\"collapse\");\n const rootKls = computed(() => ns.b());\n return {\n rootKls\n };\n};\n\nexport { useCollapse, useCollapseDOM };\n//# sourceMappingURL=use-collapse.mjs.map\n","import { defineComponent, openBlock, createBlock, Transition, mergeProps, unref, toHandlers, withCtx, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElCollapseTransition\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n setup(__props) {\n const ns = useNamespace(\"collapse-transition\");\n const reset = (el) => {\n el.style.maxHeight = \"\";\n el.style.overflow = el.dataset.oldOverflow;\n el.style.paddingTop = el.dataset.oldPaddingTop;\n el.style.paddingBottom = el.dataset.oldPaddingBottom;\n };\n const on = {\n beforeEnter(el) {\n if (!el.dataset)\n el.dataset = {};\n el.dataset.oldPaddingTop = el.style.paddingTop;\n el.dataset.oldPaddingBottom = el.style.paddingBottom;\n el.style.maxHeight = 0;\n el.style.paddingTop = 0;\n el.style.paddingBottom = 0;\n },\n enter(el) {\n el.dataset.oldOverflow = el.style.overflow;\n if (el.scrollHeight !== 0) {\n el.style.maxHeight = `${el.scrollHeight}px`;\n } else {\n el.style.maxHeight = 0;\n }\n el.style.paddingTop = el.dataset.oldPaddingTop;\n el.style.paddingBottom = el.dataset.oldPaddingBottom;\n el.style.overflow = \"hidden\";\n },\n afterEnter(el) {\n el.style.maxHeight = \"\";\n el.style.overflow = el.dataset.oldOverflow;\n },\n enterCancelled(el) {\n reset(el);\n },\n beforeLeave(el) {\n if (!el.dataset)\n el.dataset = {};\n el.dataset.oldPaddingTop = el.style.paddingTop;\n el.dataset.oldPaddingBottom = el.style.paddingBottom;\n el.dataset.oldOverflow = el.style.overflow;\n el.style.maxHeight = `${el.scrollHeight}px`;\n el.style.overflow = \"hidden\";\n },\n leave(el) {\n if (el.scrollHeight !== 0) {\n el.style.maxHeight = 0;\n el.style.paddingTop = 0;\n el.style.paddingBottom = 0;\n }\n },\n afterLeave(el) {\n reset(el);\n },\n leaveCancelled(el) {\n reset(el);\n }\n };\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Transition, mergeProps({\n name: unref(ns).b()\n }, toHandlers(on)), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"name\"]);\n };\n }\n});\nvar CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue\"]]);\n\nexport { CollapseTransition as default };\n//# sourceMappingURL=collapse-transition.mjs.map\n","import CollapseTransition from './src/collapse-transition.mjs';\n\nCollapseTransition.install = (app) => {\n app.component(CollapseTransition.name, CollapseTransition);\n};\nconst _CollapseTransition = CollapseTransition;\nconst ElCollapseTransition = _CollapseTransition;\n\nexport { ElCollapseTransition, _CollapseTransition as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { generateId } from '../../../utils/rand.mjs';\n\nconst collapseItemProps = buildProps({\n title: {\n type: String,\n default: \"\"\n },\n name: {\n type: definePropType([String, Number]),\n default: () => generateId()\n },\n disabled: Boolean\n});\n\nexport { collapseItemProps };\n//# sourceMappingURL=collapse-item.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, withKeys, withModifiers, renderSlot, createTextVNode, toDisplayString, createVNode, withCtx, withDirectives, vShow } from 'vue';\nimport _CollapseTransition from '../../collapse-transition/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowRight } from '@element-plus/icons-vue';\nimport { collapseItemProps } from './collapse-item.mjs';\nimport { useCollapseItem, useCollapseItemDOM } from './use-collapse-item.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _hoisted_1 = [\"aria-expanded\", \"aria-controls\", \"aria-describedby\"];\nconst _hoisted_2 = [\"id\", \"tabindex\"];\nconst _hoisted_3 = [\"id\", \"aria-hidden\", \"aria-labelledby\"];\nconst __default__ = defineComponent({\n name: \"ElCollapseItem\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: collapseItemProps,\n setup(__props, { expose }) {\n const props = __props;\n const {\n focusing,\n id,\n isActive,\n handleFocus,\n handleHeaderClick,\n handleEnterClick\n } = useCollapseItem(props);\n const {\n arrowKls,\n headKls,\n rootKls,\n itemWrapperKls,\n itemContentKls,\n scopedContentId,\n scopedHeadId\n } = useCollapseItemDOM(props, { focusing, isActive, id });\n expose({\n isActive\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(unref(rootKls))\n }, [\n createElementVNode(\"div\", {\n role: \"tab\",\n \"aria-expanded\": unref(isActive),\n \"aria-controls\": unref(scopedContentId),\n \"aria-describedby\": unref(scopedContentId)\n }, [\n createElementVNode(\"div\", {\n id: unref(scopedHeadId),\n class: normalizeClass(unref(headKls)),\n role: \"button\",\n tabindex: _ctx.disabled ? -1 : 0,\n onClick: _cache[0] || (_cache[0] = (...args) => unref(handleHeaderClick) && unref(handleHeaderClick)(...args)),\n onKeypress: _cache[1] || (_cache[1] = withKeys(withModifiers((...args) => unref(handleEnterClick) && unref(handleEnterClick)(...args), [\"stop\", \"prevent\"]), [\"space\", \"enter\"])),\n onFocus: _cache[2] || (_cache[2] = (...args) => unref(handleFocus) && unref(handleFocus)(...args)),\n onBlur: _cache[3] || (_cache[3] = ($event) => focusing.value = false)\n }, [\n renderSlot(_ctx.$slots, \"title\", {}, () => [\n createTextVNode(toDisplayString(_ctx.title), 1)\n ]),\n createVNode(unref(ElIcon), {\n class: normalizeClass(unref(arrowKls))\n }, {\n default: withCtx(() => [\n createVNode(unref(ArrowRight))\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 42, _hoisted_2)\n ], 8, _hoisted_1),\n createVNode(unref(_CollapseTransition), null, {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"div\", {\n id: unref(scopedContentId),\n class: normalizeClass(unref(itemWrapperKls)),\n role: \"tabpanel\",\n \"aria-hidden\": !unref(isActive),\n \"aria-labelledby\": unref(scopedHeadId)\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(itemContentKls))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2)\n ], 10, _hoisted_3), [\n [vShow, unref(isActive)]\n ])\n ]),\n _: 3\n })\n ], 2);\n };\n }\n});\nvar CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue\"]]);\n\nexport { CollapseItem as default };\n//# sourceMappingURL=collapse-item2.mjs.map\n","import { inject, ref, computed, unref } from 'vue';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { collapseContextKey } from './constants.mjs';\nimport { generateId } from '../../../utils/rand.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst useCollapseItem = (props) => {\n const collapse = inject(collapseContextKey);\n const focusing = ref(false);\n const isClick = ref(false);\n const id = ref(generateId());\n const isActive = computed(() => collapse == null ? void 0 : collapse.activeNames.value.includes(props.name));\n const handleFocus = () => {\n setTimeout(() => {\n if (!isClick.value) {\n focusing.value = true;\n } else {\n isClick.value = false;\n }\n }, 50);\n };\n const handleHeaderClick = () => {\n if (props.disabled)\n return;\n collapse == null ? void 0 : collapse.handleItemClick(props.name);\n focusing.value = false;\n isClick.value = true;\n };\n const handleEnterClick = () => {\n collapse == null ? void 0 : collapse.handleItemClick(props.name);\n };\n return {\n focusing,\n id,\n isActive,\n handleFocus,\n handleHeaderClick,\n handleEnterClick\n };\n};\nconst useCollapseItemDOM = (props, { focusing, isActive, id }) => {\n const ns = useNamespace(\"collapse\");\n const rootKls = computed(() => [\n ns.b(\"item\"),\n ns.is(\"active\", unref(isActive)),\n ns.is(\"disabled\", props.disabled)\n ]);\n const headKls = computed(() => [\n ns.be(\"item\", \"header\"),\n ns.is(\"active\", unref(isActive)),\n { focusing: unref(focusing) && !props.disabled }\n ]);\n const arrowKls = computed(() => [\n ns.be(\"item\", \"arrow\"),\n ns.is(\"active\", unref(isActive))\n ]);\n const itemWrapperKls = computed(() => ns.be(\"item\", \"wrap\"));\n const itemContentKls = computed(() => ns.be(\"item\", \"content\"));\n const scopedContentId = computed(() => ns.b(`content-${unref(id)}`));\n const scopedHeadId = computed(() => ns.b(`head-${unref(id)}`));\n return {\n arrowKls,\n headKls,\n rootKls,\n itemWrapperKls,\n itemContentKls,\n scopedContentId,\n scopedHeadId\n };\n};\n\nexport { useCollapseItem, useCollapseItemDOM };\n//# sourceMappingURL=use-collapse-item.mjs.map\n","import '../../utils/index.mjs';\nimport Collapse from './src/collapse2.mjs';\nimport CollapseItem from './src/collapse-item2.mjs';\nexport { collapseEmits, collapseProps, emitChangeFn } from './src/collapse.mjs';\nexport { collapseItemProps } from './src/collapse-item.mjs';\nexport { collapseContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElCollapse = withInstall(Collapse, {\n CollapseItem\n});\nconst ElCollapseItem = withNoopInstall(CollapseItem);\n\nexport { ElCollapse, ElCollapseItem, ElCollapse as default };\n//# sourceMappingURL=index.mjs.map\n","import { defineComponent, useSlots, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElContainer\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: {\n direction: {\n type: String\n }\n },\n setup(__props) {\n const props = __props;\n const slots = useSlots();\n const ns = useNamespace(\"container\");\n const isVertical = computed(() => {\n if (props.direction === \"vertical\") {\n return true;\n } else if (props.direction === \"horizontal\") {\n return false;\n }\n if (slots && slots.default) {\n const vNodes = slots.default();\n return vNodes.some((vNode) => {\n const tag = vNode.type.name;\n return tag === \"ElHeader\" || tag === \"ElFooter\";\n });\n } else {\n return false;\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"section\", {\n class: normalizeClass([unref(ns).b(), unref(ns).is(\"vertical\", unref(isVertical))])\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nvar Container = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue\"]]);\n\nexport { Container as default };\n//# sourceMappingURL=container.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElAside\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: {\n width: {\n type: String,\n default: null\n }\n },\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"aside\");\n const style = computed(() => props.width ? ns.cssVarBlock({ width: props.width }) : {});\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"aside\", {\n class: normalizeClass(unref(ns).b()),\n style: normalizeStyle(unref(style))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 6);\n };\n }\n});\nvar Aside = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue\"]]);\n\nexport { Aside as default };\n//# sourceMappingURL=aside.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElFooter\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: {\n height: {\n type: String,\n default: null\n }\n },\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"footer\");\n const style = computed(() => props.height ? ns.cssVarBlock({ height: props.height }) : {});\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"footer\", {\n class: normalizeClass(unref(ns).b()),\n style: normalizeStyle(unref(style))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 6);\n };\n }\n});\nvar Footer = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue\"]]);\n\nexport { Footer as default };\n//# sourceMappingURL=footer.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElHeader\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: {\n height: {\n type: String,\n default: null\n }\n },\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"header\");\n const style = computed(() => {\n return props.height ? ns.cssVarBlock({\n height: props.height\n }) : {};\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"header\", {\n class: normalizeClass(unref(ns).b()),\n style: normalizeStyle(unref(style))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 6);\n };\n }\n});\nvar Header = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue\"]]);\n\nexport { Header as default };\n//# sourceMappingURL=header.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElMain\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n setup(__props) {\n const ns = useNamespace(\"main\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"main\", {\n class: normalizeClass(unref(ns).b())\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nvar Main = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue\"]]);\n\nexport { Main as default };\n//# sourceMappingURL=main.mjs.map\n","import '../../utils/index.mjs';\nimport Container from './src/container.mjs';\nimport Aside from './src/aside.mjs';\nimport Footer from './src/footer.mjs';\nimport Header from './src/header.mjs';\nimport Main from './src/main.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElContainer = withInstall(Container, {\n Aside,\n Footer,\n Header,\n Main\n});\nconst ElAside = withNoopInstall(Aside);\nconst ElFooter = withNoopInstall(Footer);\nconst ElHeader = withNoopInstall(Header);\nconst ElMain = withNoopInstall(Main);\n\nexport { ElAside, ElContainer, ElFooter, ElHeader, ElMain, ElContainer as default };\n//# sourceMappingURL=index.mjs.map\n","const ROOT_PICKER_INJECTION_KEY = Symbol();\n\nexport { ROOT_PICKER_INJECTION_KEY };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { timePickerDefaultProps } from '../../../time-picker/src/common/props.mjs';\n\nconst datePickerProps = buildProps({\n ...timePickerDefaultProps,\n type: {\n type: definePropType(String),\n default: \"date\"\n }\n});\n\nexport { datePickerProps };\n//# sourceMappingURL=date-picker.mjs.map\n","import '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { datePickTypes } from '../../../../constants/date.mjs';\nimport { isArray } from '@vue/shared';\n\nconst selectionModes = [\"date\", \"dates\", \"year\", \"month\", \"week\", \"range\"];\nconst datePickerSharedProps = buildProps({\n disabledDate: {\n type: definePropType(Function)\n },\n date: {\n type: definePropType(Object),\n required: true\n },\n minDate: {\n type: definePropType(Object)\n },\n maxDate: {\n type: definePropType(Object)\n },\n parsedValue: {\n type: definePropType([Object, Array])\n },\n rangeState: {\n type: definePropType(Object),\n default: () => ({\n endDate: null,\n selecting: false\n })\n }\n});\nconst panelSharedProps = buildProps({\n type: {\n type: definePropType(String),\n required: true,\n values: datePickTypes\n }\n});\nconst panelRangeSharedProps = buildProps({\n unlinkPanels: Boolean,\n parsedValue: {\n type: definePropType(Array)\n }\n});\nconst selectionModeWithDefault = (mode) => {\n return {\n type: String,\n values: selectionModes,\n default: mode\n };\n};\nconst rangePickerSharedEmits = {\n pick: (range) => isArray(range)\n};\n\nexport { datePickerSharedProps, panelRangeSharedProps, panelSharedProps, rangePickerSharedEmits, selectionModeWithDefault };\n//# sourceMappingURL=shared.mjs.map\n","const datePickTypes = [\n \"year\",\n \"month\",\n \"date\",\n \"dates\",\n \"week\",\n \"datetime\",\n \"datetimerange\",\n \"daterange\",\n \"monthrange\"\n];\nconst WEEK_DAYS = [\n \"sun\",\n \"mon\",\n \"tue\",\n \"wed\",\n \"thu\",\n \"fri\",\n \"sat\"\n];\n\nexport { WEEK_DAYS, datePickTypes };\n//# sourceMappingURL=date.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelSharedProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelDatePickProps = buildProps({\n ...panelSharedProps,\n parsedValue: {\n type: definePropType([Object, Array])\n },\n visible: {\n type: Boolean\n },\n format: {\n type: String,\n default: \"\"\n }\n});\n\nexport { panelDatePickProps };\n//# sourceMappingURL=panel-date-pick.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps, selectionModeWithDefault } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicDateTableProps = buildProps({\n ...datePickerSharedProps,\n cellClassName: {\n type: definePropType(Function)\n },\n showWeekNumber: Boolean,\n selectionMode: selectionModeWithDefault(\"date\")\n});\n\nexport { basicDateTableProps };\n//# sourceMappingURL=basic-date-table.mjs.map\n","import dayjs from 'dayjs';\nimport '../../../utils/index.mjs';\nimport { isArray } from '@vue/shared';\n\nconst isValidRange = (range) => {\n if (!isArray(range))\n return false;\n const [left, right] = range;\n return dayjs.isDayjs(left) && dayjs.isDayjs(right) && left.isSameOrBefore(right);\n};\nconst getDefaultValue = (defaultValue, { lang, unit, unlinkPanels }) => {\n let start;\n if (isArray(defaultValue)) {\n let [left, right] = defaultValue.map((d) => dayjs(d).locale(lang));\n if (!unlinkPanels) {\n right = left.add(1, unit);\n }\n return [left, right];\n } else if (defaultValue) {\n start = dayjs(defaultValue);\n } else {\n start = dayjs();\n }\n start = start.locale(lang);\n return [start, start.add(1, unit)];\n};\nconst buildPickerTable = (dimension, rows, {\n columnIndexOffset,\n startDate,\n nextEndDate,\n now,\n unit,\n relativeDateGetter,\n setCellMetadata,\n setRowMetadata\n}) => {\n for (let rowIndex = 0; rowIndex < dimension.row; rowIndex++) {\n const row = rows[rowIndex];\n for (let columnIndex = 0; columnIndex < dimension.column; columnIndex++) {\n let cell = row[columnIndex + columnIndexOffset];\n if (!cell) {\n cell = {\n row: rowIndex,\n column: columnIndex,\n type: \"normal\",\n inRange: false,\n start: false,\n end: false\n };\n }\n const index = rowIndex * dimension.column + columnIndex;\n const nextStartDate = relativeDateGetter(index);\n cell.dayjs = nextStartDate;\n cell.date = nextStartDate.toDate();\n cell.timestamp = nextStartDate.valueOf();\n cell.type = \"normal\";\n cell.inRange = !!(startDate && nextStartDate.isSameOrAfter(startDate, unit) && nextEndDate && nextStartDate.isSameOrBefore(nextEndDate, unit)) || !!(startDate && nextStartDate.isSameOrBefore(startDate, unit) && nextEndDate && nextStartDate.isSameOrAfter(nextEndDate, unit));\n if (startDate == null ? void 0 : startDate.isSameOrAfter(nextEndDate)) {\n cell.start = !!nextEndDate && nextStartDate.isSame(nextEndDate, unit);\n cell.end = startDate && nextStartDate.isSame(startDate, unit);\n } else {\n cell.start = !!startDate && nextStartDate.isSame(startDate, unit);\n cell.end = !!nextEndDate && nextStartDate.isSame(nextEndDate, unit);\n }\n const isToday = nextStartDate.isSame(now, unit);\n if (isToday) {\n cell.type = \"today\";\n }\n setCellMetadata == null ? void 0 : setCellMetadata(cell, { rowIndex, columnIndex });\n row[columnIndex + columnIndexOffset] = cell;\n }\n setRowMetadata == null ? void 0 : setRowMetadata(row);\n }\n};\n\nexport { buildPickerTable, getDefaultValue, isValidRange };\n//# sourceMappingURL=utils.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicCellProps = buildProps({\n cell: {\n type: definePropType(Object)\n }\n});\n\nexport { basicCellProps };\n//# sourceMappingURL=basic-cell.mjs.map\n","import { defineComponent, inject, createVNode } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from '../constants.mjs';\nimport { basicCellProps } from '../props/basic-cell.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nvar ElDatePickerCell = defineComponent({\n name: \"ElDatePickerCell\",\n props: basicCellProps,\n setup(props) {\n const ns = useNamespace(\"date-table-cell\");\n const {\n slots\n } = inject(ROOT_PICKER_INJECTION_KEY);\n return () => {\n const {\n cell\n } = props;\n if (slots.default) {\n const list = slots.default(cell).filter((item) => {\n return item.patchFlag !== -2 && item.type.toString() !== \"Symbol(Comment)\";\n });\n if (list.length) {\n return list;\n }\n }\n return createVNode(\"div\", {\n \"class\": ns.b()\n }, [createVNode(\"span\", {\n \"class\": ns.e(\"text\")\n }, [cell == null ? void 0 : cell.text])]);\n };\n }\n});\n\nexport { ElDatePickerCell as default };\n//# sourceMappingURL=basic-cell-render.mjs.map\n","import { defineComponent, ref, computed, unref, watch, nextTick, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, createVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport { flatten } from 'lodash-unified';\nimport '../../../../hooks/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicDateTableProps } from '../props/basic-date-table.mjs';\nimport { buildPickerTable } from '../utils.mjs';\nimport ElDatePickerCell from './basic-cell-render.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\n\nconst _hoisted_1 = [\"aria-label\", \"onMousedown\"];\nconst _hoisted_2 = {\n key: 0,\n scope: \"col\"\n};\nconst _hoisted_3 = [\"aria-label\"];\nconst _hoisted_4 = [\"aria-current\", \"aria-selected\", \"tabindex\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"basic-date-table\",\n props: basicDateTableProps,\n emits: [\"changerange\", \"pick\", \"select\"],\n setup(__props, { expose, emit }) {\n const props = __props;\n const ns = useNamespace(\"date-table\");\n const { t, lang } = useLocale();\n const tbodyRef = ref();\n const currentCellRef = ref();\n const lastRow = ref();\n const lastColumn = ref();\n const tableRows = ref([[], [], [], [], [], []]);\n let focusWithClick = false;\n const firstDayOfWeek = props.date.$locale().weekStart || 7;\n const WEEKS_CONSTANT = props.date.locale(\"en\").localeData().weekdaysShort().map((_) => _.toLowerCase());\n const offsetDay = computed(() => {\n return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek;\n });\n const startDate = computed(() => {\n const startDayOfMonth = props.date.startOf(\"month\");\n return startDayOfMonth.subtract(startDayOfMonth.day() || 7, \"day\");\n });\n const WEEKS = computed(() => {\n return WEEKS_CONSTANT.concat(WEEKS_CONSTANT).slice(firstDayOfWeek, firstDayOfWeek + 7);\n });\n const hasCurrent = computed(() => {\n return flatten(rows.value).some((row) => {\n return row.isCurrent;\n });\n });\n const days = computed(() => {\n const startOfMonth = props.date.startOf(\"month\");\n const startOfMonthDay = startOfMonth.day() || 7;\n const dateCountOfMonth = startOfMonth.daysInMonth();\n const dateCountOfLastMonth = startOfMonth.subtract(1, \"month\").daysInMonth();\n return {\n startOfMonthDay,\n dateCountOfMonth,\n dateCountOfLastMonth\n };\n });\n const selectedDate = computed(() => {\n return props.selectionMode === \"dates\" ? castArray(props.parsedValue) : [];\n });\n const setDateText = (cell, {\n count,\n rowIndex,\n columnIndex\n }) => {\n const { startOfMonthDay, dateCountOfMonth, dateCountOfLastMonth } = unref(days);\n const offset = unref(offsetDay);\n if (rowIndex >= 0 && rowIndex <= 1) {\n const numberOfDaysFromPreviousMonth = startOfMonthDay + offset < 0 ? 7 + startOfMonthDay + offset : startOfMonthDay + offset;\n if (columnIndex + rowIndex * 7 >= numberOfDaysFromPreviousMonth) {\n cell.text = count;\n return true;\n } else {\n cell.text = dateCountOfLastMonth - (numberOfDaysFromPreviousMonth - columnIndex % 7) + 1 + rowIndex * 7;\n cell.type = \"prev-month\";\n }\n } else {\n if (count <= dateCountOfMonth) {\n cell.text = count;\n } else {\n cell.text = count - dateCountOfMonth;\n cell.type = \"next-month\";\n }\n return true;\n }\n return false;\n };\n const setCellMetadata = (cell, {\n columnIndex,\n rowIndex\n }, count) => {\n const { disabledDate, cellClassName } = props;\n const _selectedDate = unref(selectedDate);\n const shouldIncrement = setDateText(cell, { count, rowIndex, columnIndex });\n const cellDate = cell.dayjs.toDate();\n cell.selected = _selectedDate.find((d) => d.valueOf() === cell.dayjs.valueOf());\n cell.isSelected = !!cell.selected;\n cell.isCurrent = isCurrent(cell);\n cell.disabled = disabledDate == null ? void 0 : disabledDate(cellDate);\n cell.customClass = cellClassName == null ? void 0 : cellClassName(cellDate);\n return shouldIncrement;\n };\n const setRowMetadata = (row) => {\n if (props.selectionMode === \"week\") {\n const [start, end] = props.showWeekNumber ? [1, 7] : [0, 6];\n const isActive = isWeekActive(row[start + 1]);\n row[start].inRange = isActive;\n row[start].start = isActive;\n row[end].inRange = isActive;\n row[end].end = isActive;\n }\n };\n const rows = computed(() => {\n const { minDate, maxDate, rangeState, showWeekNumber } = props;\n const offset = offsetDay.value;\n const rows_ = tableRows.value;\n const dateUnit = \"day\";\n let count = 1;\n if (showWeekNumber) {\n for (let rowIndex = 0; rowIndex < 6; rowIndex++) {\n if (!rows_[rowIndex][0]) {\n rows_[rowIndex][0] = {\n type: \"week\",\n text: startDate.value.add(rowIndex * 7 + 1, dateUnit).week()\n };\n }\n }\n }\n buildPickerTable({ row: 6, column: 7 }, rows_, {\n startDate: minDate,\n columnIndexOffset: showWeekNumber ? 1 : 0,\n nextEndDate: rangeState.endDate || maxDate || rangeState.selecting && minDate || null,\n now: dayjs().locale(unref(lang)).startOf(dateUnit),\n unit: dateUnit,\n relativeDateGetter: (idx) => startDate.value.add(idx - offset, dateUnit),\n setCellMetadata: (...args) => {\n if (setCellMetadata(...args, count)) {\n count += 1;\n }\n },\n setRowMetadata\n });\n return rows_;\n });\n watch(() => props.date, async () => {\n var _a, _b;\n if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n await nextTick();\n (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n }\n });\n const focus = async () => {\n var _a;\n (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n };\n const isNormalDay = (type = \"\") => {\n return [\"normal\", \"today\"].includes(type);\n };\n const isCurrent = (cell) => {\n return props.selectionMode === \"date\" && isNormalDay(cell.type) && cellMatchesDate(cell, props.parsedValue);\n };\n const cellMatchesDate = (cell, date) => {\n if (!date)\n return false;\n return dayjs(date).locale(lang.value).isSame(props.date.date(Number(cell.text)), \"day\");\n };\n const getCellClasses = (cell) => {\n const classes = [];\n if (isNormalDay(cell.type) && !cell.disabled) {\n classes.push(\"available\");\n if (cell.type === \"today\") {\n classes.push(\"today\");\n }\n } else {\n classes.push(cell.type);\n }\n if (isCurrent(cell)) {\n classes.push(\"current\");\n }\n if (cell.inRange && (isNormalDay(cell.type) || props.selectionMode === \"week\")) {\n classes.push(\"in-range\");\n if (cell.start) {\n classes.push(\"start-date\");\n }\n if (cell.end) {\n classes.push(\"end-date\");\n }\n }\n if (cell.disabled) {\n classes.push(\"disabled\");\n }\n if (cell.selected) {\n classes.push(\"selected\");\n }\n if (cell.customClass) {\n classes.push(cell.customClass);\n }\n return classes.join(\" \");\n };\n const getDateOfCell = (row, column) => {\n const offsetFromStart = row * 7 + (column - (props.showWeekNumber ? 1 : 0)) - offsetDay.value;\n return startDate.value.add(offsetFromStart, \"day\");\n };\n const handleMouseMove = (event) => {\n var _a;\n if (!props.rangeState.selecting)\n return;\n let target = event.target;\n if (target.tagName === \"SPAN\") {\n target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;\n }\n if (target.tagName === \"DIV\") {\n target = target.parentNode;\n }\n if (target.tagName !== \"TD\")\n return;\n const row = target.parentNode.rowIndex - 1;\n const column = target.cellIndex;\n if (rows.value[row][column].disabled)\n return;\n if (row !== lastRow.value || column !== lastColumn.value) {\n lastRow.value = row;\n lastColumn.value = column;\n emit(\"changerange\", {\n selecting: true,\n endDate: getDateOfCell(row, column)\n });\n }\n };\n const isSelectedCell = (cell) => {\n return !hasCurrent.value && (cell == null ? void 0 : cell.text) === 1 && cell.type === \"normal\" || cell.isCurrent;\n };\n const handleFocus = (event) => {\n if (focusWithClick || hasCurrent.value || props.selectionMode !== \"date\")\n return;\n handlePickDate(event, true);\n };\n const handleMouseDown = (event) => {\n const target = event.target.closest(\"td\");\n if (!target)\n return;\n focusWithClick = true;\n };\n const handleMouseUp = (event) => {\n const target = event.target.closest(\"td\");\n if (!target)\n return;\n focusWithClick = false;\n };\n const handlePickDate = (event, isKeyboardMovement = false) => {\n const target = event.target.closest(\"td\");\n if (!target)\n return;\n const row = target.parentNode.rowIndex - 1;\n const column = target.cellIndex;\n const cell = rows.value[row][column];\n if (cell.disabled || cell.type === \"week\")\n return;\n const newDate = getDateOfCell(row, column);\n if (props.selectionMode === \"range\") {\n if (!props.rangeState.selecting || !props.minDate) {\n emit(\"pick\", { minDate: newDate, maxDate: null });\n emit(\"select\", true);\n } else {\n if (newDate >= props.minDate) {\n emit(\"pick\", { minDate: props.minDate, maxDate: newDate });\n } else {\n emit(\"pick\", { minDate: newDate, maxDate: props.minDate });\n }\n emit(\"select\", false);\n }\n } else if (props.selectionMode === \"date\") {\n emit(\"pick\", newDate, isKeyboardMovement);\n } else if (props.selectionMode === \"week\") {\n const weekNumber = newDate.week();\n const value = `${newDate.year()}w${weekNumber}`;\n emit(\"pick\", {\n year: newDate.year(),\n week: weekNumber,\n value,\n date: newDate.startOf(\"week\")\n });\n } else if (props.selectionMode === \"dates\") {\n const newValue = cell.selected ? castArray(props.parsedValue).filter((d) => (d == null ? void 0 : d.valueOf()) !== newDate.valueOf()) : castArray(props.parsedValue).concat([newDate]);\n emit(\"pick\", newValue);\n }\n };\n const isWeekActive = (cell) => {\n if (props.selectionMode !== \"week\")\n return false;\n let newDate = props.date.startOf(\"day\");\n if (cell.type === \"prev-month\") {\n newDate = newDate.subtract(1, \"month\");\n }\n if (cell.type === \"next-month\") {\n newDate = newDate.add(1, \"month\");\n }\n newDate = newDate.date(Number.parseInt(cell.text, 10));\n if (props.parsedValue && !Array.isArray(props.parsedValue)) {\n const dayOffset = (props.parsedValue.day() - firstDayOfWeek + 7) % 7 - 1;\n const weekDate = props.parsedValue.subtract(dayOffset, \"day\");\n return weekDate.isSame(newDate, \"day\");\n }\n return false;\n };\n expose({\n focus\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"table\", {\n role: \"grid\",\n \"aria-label\": unref(t)(\"el.datepicker.dateTablePrompt\"),\n cellspacing: \"0\",\n cellpadding: \"0\",\n class: normalizeClass([unref(ns).b(), { \"is-week-mode\": _ctx.selectionMode === \"week\" }]),\n onClick: handlePickDate,\n onMousemove: handleMouseMove,\n onMousedown: withModifiers(handleMouseDown, [\"prevent\"]),\n onMouseup: handleMouseUp\n }, [\n createElementVNode(\"tbody\", {\n ref_key: \"tbodyRef\",\n ref: tbodyRef\n }, [\n createElementVNode(\"tr\", null, [\n _ctx.showWeekNumber ? (openBlock(), createElementBlock(\"th\", _hoisted_2, toDisplayString(unref(t)(\"el.datepicker.week\")), 1)) : createCommentVNode(\"v-if\", true),\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(WEEKS), (week, key) => {\n return openBlock(), createElementBlock(\"th\", {\n key,\n scope: \"col\",\n \"aria-label\": unref(t)(\"el.datepicker.weeksFull.\" + week)\n }, toDisplayString(unref(t)(\"el.datepicker.weeks.\" + week)), 9, _hoisted_3);\n }), 128))\n ]),\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, rowKey) => {\n return openBlock(), createElementBlock(\"tr\", {\n key: rowKey,\n class: normalizeClass([unref(ns).e(\"row\"), { current: isWeekActive(row[1]) }])\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, columnKey) => {\n return openBlock(), createElementBlock(\"td\", {\n key: `${rowKey}.${columnKey}`,\n ref_for: true,\n ref: (el) => isSelectedCell(cell) && (currentCellRef.value = el),\n class: normalizeClass(getCellClasses(cell)),\n \"aria-current\": cell.isCurrent ? \"date\" : void 0,\n \"aria-selected\": cell.isCurrent,\n tabindex: isSelectedCell(cell) ? 0 : -1,\n onFocus: handleFocus\n }, [\n createVNode(unref(ElDatePickerCell), { cell }, null, 8, [\"cell\"])\n ], 42, _hoisted_4);\n }), 128))\n ], 2);\n }), 128))\n ], 512)\n ], 42, _hoisted_1);\n };\n }\n});\nvar DateTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue\"]]);\n\nexport { DateTable as default };\n//# sourceMappingURL=basic-date-table.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps, selectionModeWithDefault } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicMonthTableProps = buildProps({\n ...datePickerSharedProps,\n selectionMode: selectionModeWithDefault(\"month\")\n});\n\nexport { basicMonthTableProps };\n//# sourceMappingURL=basic-month-table.mjs.map\n","import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, Fragment, renderList, withKeys, withModifiers, toDisplayString } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicMonthTableProps } from '../props/basic-month-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { rangeArr } from '../../../time-picker/src/utils.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\nimport { hasClass } from '../../../../utils/dom/style.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"aria-selected\", \"aria-label\", \"tabindex\", \"onKeydown\"];\nconst _hoisted_3 = { class: \"cell\" };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"basic-month-table\",\n props: basicMonthTableProps,\n emits: [\"changerange\", \"pick\", \"select\"],\n setup(__props, { expose, emit }) {\n const props = __props;\n const datesInMonth = (year, month, lang2) => {\n const firstDay = dayjs().locale(lang2).startOf(\"month\").month(month).year(year);\n const numOfDays = firstDay.daysInMonth();\n return rangeArr(numOfDays).map((n) => firstDay.add(n, \"day\").toDate());\n };\n const ns = useNamespace(\"month-table\");\n const { t, lang } = useLocale();\n const tbodyRef = ref();\n const currentCellRef = ref();\n const months = ref(props.date.locale(\"en\").localeData().monthsShort().map((_) => _.toLowerCase()));\n const tableRows = ref([\n [],\n [],\n []\n ]);\n const lastRow = ref();\n const lastColumn = ref();\n const rows = computed(() => {\n var _a, _b;\n const rows2 = tableRows.value;\n const now = dayjs().locale(lang.value).startOf(\"month\");\n for (let i = 0; i < 3; i++) {\n const row = rows2[i];\n for (let j = 0; j < 4; j++) {\n const cell = row[j] || (row[j] = {\n row: i,\n column: j,\n type: \"normal\",\n inRange: false,\n start: false,\n end: false,\n text: -1,\n disabled: false\n });\n cell.type = \"normal\";\n const index = i * 4 + j;\n const calTime = props.date.startOf(\"year\").month(index);\n const calEndDate = props.rangeState.endDate || props.maxDate || props.rangeState.selecting && props.minDate || null;\n cell.inRange = !!(props.minDate && calTime.isSameOrAfter(props.minDate, \"month\") && calEndDate && calTime.isSameOrBefore(calEndDate, \"month\")) || !!(props.minDate && calTime.isSameOrBefore(props.minDate, \"month\") && calEndDate && calTime.isSameOrAfter(calEndDate, \"month\"));\n if ((_a = props.minDate) == null ? void 0 : _a.isSameOrAfter(calEndDate)) {\n cell.start = !!(calEndDate && calTime.isSame(calEndDate, \"month\"));\n cell.end = props.minDate && calTime.isSame(props.minDate, \"month\");\n } else {\n cell.start = !!(props.minDate && calTime.isSame(props.minDate, \"month\"));\n cell.end = !!(calEndDate && calTime.isSame(calEndDate, \"month\"));\n }\n const isToday = now.isSame(calTime);\n if (isToday) {\n cell.type = \"today\";\n }\n cell.text = index;\n cell.disabled = ((_b = props.disabledDate) == null ? void 0 : _b.call(props, calTime.toDate())) || false;\n }\n }\n return rows2;\n });\n const focus = () => {\n var _a;\n (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n };\n const getCellStyle = (cell) => {\n const style = {};\n const year = props.date.year();\n const today = new Date();\n const month = cell.text;\n style.disabled = props.disabledDate ? datesInMonth(year, month, lang.value).every(props.disabledDate) : false;\n style.current = castArray(props.parsedValue).findIndex((date) => dayjs.isDayjs(date) && date.year() === year && date.month() === month) >= 0;\n style.today = today.getFullYear() === year && today.getMonth() === month;\n if (cell.inRange) {\n style[\"in-range\"] = true;\n if (cell.start) {\n style[\"start-date\"] = true;\n }\n if (cell.end) {\n style[\"end-date\"] = true;\n }\n }\n return style;\n };\n const isSelectedCell = (cell) => {\n const year = props.date.year();\n const month = cell.text;\n return castArray(props.date).findIndex((date) => date.year() === year && date.month() === month) >= 0;\n };\n const handleMouseMove = (event) => {\n var _a;\n if (!props.rangeState.selecting)\n return;\n let target = event.target;\n if (target.tagName === \"A\") {\n target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;\n }\n if (target.tagName === \"DIV\") {\n target = target.parentNode;\n }\n if (target.tagName !== \"TD\")\n return;\n const row = target.parentNode.rowIndex;\n const column = target.cellIndex;\n if (rows.value[row][column].disabled)\n return;\n if (row !== lastRow.value || column !== lastColumn.value) {\n lastRow.value = row;\n lastColumn.value = column;\n emit(\"changerange\", {\n selecting: true,\n endDate: props.date.startOf(\"year\").month(row * 4 + column)\n });\n }\n };\n const handleMonthTableClick = (event) => {\n var _a;\n const target = (_a = event.target) == null ? void 0 : _a.closest(\"td\");\n if ((target == null ? void 0 : target.tagName) !== \"TD\")\n return;\n if (hasClass(target, \"disabled\"))\n return;\n const column = target.cellIndex;\n const row = target.parentNode.rowIndex;\n const month = row * 4 + column;\n const newDate = props.date.startOf(\"year\").month(month);\n if (props.selectionMode === \"range\") {\n if (!props.rangeState.selecting) {\n emit(\"pick\", { minDate: newDate, maxDate: null });\n emit(\"select\", true);\n } else {\n if (props.minDate && newDate >= props.minDate) {\n emit(\"pick\", { minDate: props.minDate, maxDate: newDate });\n } else {\n emit(\"pick\", { minDate: newDate, maxDate: props.minDate });\n }\n emit(\"select\", false);\n }\n } else {\n emit(\"pick\", month);\n }\n };\n watch(() => props.date, async () => {\n var _a, _b;\n if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n await nextTick();\n (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n }\n });\n expose({\n focus\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"table\", {\n role: \"grid\",\n \"aria-label\": unref(t)(\"el.datepicker.monthTablePrompt\"),\n class: normalizeClass(unref(ns).b()),\n onClick: handleMonthTableClick,\n onMousemove: handleMouseMove\n }, [\n createElementVNode(\"tbody\", {\n ref_key: \"tbodyRef\",\n ref: tbodyRef\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, key) => {\n return openBlock(), createElementBlock(\"tr\", { key }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, key_) => {\n return openBlock(), createElementBlock(\"td\", {\n key: key_,\n ref_for: true,\n ref: (el) => isSelectedCell(cell) && (currentCellRef.value = el),\n class: normalizeClass(getCellStyle(cell)),\n \"aria-selected\": `${isSelectedCell(cell)}`,\n \"aria-label\": unref(t)(`el.datepicker.month${+cell.text + 1}`),\n tabindex: isSelectedCell(cell) ? 0 : -1,\n onKeydown: [\n withKeys(withModifiers(handleMonthTableClick, [\"prevent\", \"stop\"]), [\"space\"]),\n withKeys(withModifiers(handleMonthTableClick, [\"prevent\", \"stop\"]), [\"enter\"])\n ]\n }, [\n createElementVNode(\"div\", null, [\n createElementVNode(\"span\", _hoisted_3, toDisplayString(unref(t)(\"el.datepicker.months.\" + months.value[cell.text])), 1)\n ])\n ], 42, _hoisted_2);\n }), 128))\n ]);\n }), 128))\n ], 512)\n ], 42, _hoisted_1);\n };\n }\n});\nvar MonthTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue\"]]);\n\nexport { MonthTable as default };\n//# sourceMappingURL=basic-month-table.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst { date, disabledDate, parsedValue } = datePickerSharedProps;\nconst basicYearTableProps = buildProps({\n date,\n disabledDate,\n parsedValue\n});\n\nexport { basicYearTableProps };\n//# sourceMappingURL=basic-year-table.mjs.map\n","import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, Fragment, renderList, withKeys, withModifiers, toDisplayString } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicYearTableProps } from '../props/basic-year-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { rangeArr } from '../../../time-picker/src/utils.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\nimport { hasClass } from '../../../../utils/dom/style.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"aria-selected\", \"tabindex\", \"onKeydown\"];\nconst _hoisted_3 = { class: \"cell\" };\nconst _hoisted_4 = { key: 1 };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"basic-year-table\",\n props: basicYearTableProps,\n emits: [\"pick\"],\n setup(__props, { expose, emit }) {\n const props = __props;\n const datesInYear = (year, lang2) => {\n const firstDay = dayjs(String(year)).locale(lang2).startOf(\"year\");\n const lastDay = firstDay.endOf(\"year\");\n const numOfDays = lastDay.dayOfYear();\n return rangeArr(numOfDays).map((n) => firstDay.add(n, \"day\").toDate());\n };\n const ns = useNamespace(\"year-table\");\n const { t, lang } = useLocale();\n const tbodyRef = ref();\n const currentCellRef = ref();\n const startYear = computed(() => {\n return Math.floor(props.date.year() / 10) * 10;\n });\n const focus = () => {\n var _a;\n (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n };\n const getCellKls = (year) => {\n const kls = {};\n const today = dayjs().locale(lang.value);\n kls.disabled = props.disabledDate ? datesInYear(year, lang.value).every(props.disabledDate) : false;\n kls.current = castArray(props.parsedValue).findIndex((d) => d.year() === year) >= 0;\n kls.today = today.year() === year;\n return kls;\n };\n const isSelectedCell = (year) => {\n return year === startYear.value && props.date.year() < startYear.value && props.date.year() > startYear.value + 9 || castArray(props.date).findIndex((date) => date.year() === year) >= 0;\n };\n const handleYearTableClick = (event) => {\n const clickTarget = event.target;\n const target = clickTarget.closest(\"td\");\n if (target && target.textContent) {\n if (hasClass(target, \"disabled\"))\n return;\n const year = target.textContent || target.innerText;\n emit(\"pick\", Number(year));\n }\n };\n watch(() => props.date, async () => {\n var _a, _b;\n if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n await nextTick();\n (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n }\n });\n expose({\n focus\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"table\", {\n role: \"grid\",\n \"aria-label\": unref(t)(\"el.datepicker.yearTablePrompt\"),\n class: normalizeClass(unref(ns).b()),\n onClick: handleYearTableClick\n }, [\n createElementVNode(\"tbody\", {\n ref_key: \"tbodyRef\",\n ref: tbodyRef\n }, [\n (openBlock(), createElementBlock(Fragment, null, renderList(3, (_, i) => {\n return createElementVNode(\"tr\", { key: i }, [\n (openBlock(), createElementBlock(Fragment, null, renderList(4, (__, j) => {\n return openBlock(), createElementBlock(Fragment, {\n key: i + \"_\" + j\n }, [\n i * 4 + j < 10 ? (openBlock(), createElementBlock(\"td\", {\n key: 0,\n ref_for: true,\n ref: (el) => isSelectedCell(unref(startYear) + i * 4 + j) && (currentCellRef.value = el),\n class: normalizeClass([\"available\", getCellKls(unref(startYear) + i * 4 + j)]),\n \"aria-selected\": `${isSelectedCell(unref(startYear) + i * 4 + j)}`,\n tabindex: isSelectedCell(unref(startYear) + i * 4 + j) ? 0 : -1,\n onKeydown: [\n withKeys(withModifiers(handleYearTableClick, [\"prevent\", \"stop\"]), [\"space\"]),\n withKeys(withModifiers(handleYearTableClick, [\"prevent\", \"stop\"]), [\"enter\"])\n ]\n }, [\n createElementVNode(\"span\", _hoisted_3, toDisplayString(unref(startYear) + i * 4 + j), 1)\n ], 42, _hoisted_2)) : (openBlock(), createElementBlock(\"td\", _hoisted_4))\n ], 64);\n }), 64))\n ]);\n }), 64))\n ], 512)\n ], 10, _hoisted_1);\n };\n }\n});\nvar YearTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue\"]]);\n\nexport { YearTable as default };\n//# sourceMappingURL=basic-year-table.mjs.map\n","import { defineComponent, useAttrs, useSlots, inject, toRef, ref, computed, nextTick, watch, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withDirectives, withCtx, vShow, withKeys, createBlock, createTextVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport { ElButton } from '../../../button/index.mjs';\nimport '../../../../directives/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { DArrowLeft, ArrowLeft, ArrowRight, DArrowRight } from '@element-plus/icons-vue';\nimport '../../../tooltip/index.mjs';\nimport { panelDatePickProps } from '../props/panel-date-pick.mjs';\nimport DateTable from './basic-date-table.mjs';\nimport MonthTable from './basic-month-table.mjs';\nimport YearTable from './basic-year-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { TOOLTIP_INJECTION_KEY } from '../../../tooltip/src/constants.mjs';\nimport { isArray, isFunction } from '@vue/shared';\nimport { extractTimeFormat, extractDateFormat } from '../../../time-picker/src/utils.mjs';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\nimport TimePickPanel from '../../../time-picker/src/time-picker-com/panel-time-pick.mjs';\nimport ClickOutside from '../../../../directives/click-outside/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"aria-label\"];\nconst _hoisted_3 = [\"aria-label\"];\nconst _hoisted_4 = [\"aria-label\"];\nconst _hoisted_5 = [\"aria-label\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"panel-date-pick\",\n props: panelDatePickProps,\n emits: [\"pick\", \"set-picker-option\", \"panel-change\"],\n setup(__props, { emit: contextEmit }) {\n const props = __props;\n const timeWithinRange = (_, __, ___) => true;\n const ppNs = useNamespace(\"picker-panel\");\n const dpNs = useNamespace(\"date-picker\");\n const attrs = useAttrs();\n const slots = useSlots();\n const { t, lang } = useLocale();\n const pickerBase = inject(\"EP_PICKER_BASE\");\n const popper = inject(TOOLTIP_INJECTION_KEY);\n const { shortcuts, disabledDate, cellClassName, defaultTime, arrowControl } = pickerBase.props;\n const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n const currentViewRef = ref();\n const innerDate = ref(dayjs().locale(lang.value));\n const isChangeToNow = ref(false);\n const defaultTimeD = computed(() => {\n return dayjs(defaultTime).locale(lang.value);\n });\n const month = computed(() => {\n return innerDate.value.month();\n });\n const year = computed(() => {\n return innerDate.value.year();\n });\n const selectableRange = ref([]);\n const userInputDate = ref(null);\n const userInputTime = ref(null);\n const checkDateWithinRange = (date) => {\n return selectableRange.value.length > 0 ? timeWithinRange(date, selectableRange.value, props.format || \"HH:mm:ss\") : true;\n };\n const formatEmit = (emitDayjs) => {\n if (defaultTime && !visibleTime.value && !isChangeToNow.value) {\n return defaultTimeD.value.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());\n }\n if (showTime.value)\n return emitDayjs.millisecond(0);\n return emitDayjs.startOf(\"day\");\n };\n const emit = (value, ...args) => {\n if (!value) {\n contextEmit(\"pick\", value, ...args);\n } else if (isArray(value)) {\n const dates = value.map(formatEmit);\n contextEmit(\"pick\", dates, ...args);\n } else {\n contextEmit(\"pick\", formatEmit(value), ...args);\n }\n userInputDate.value = null;\n userInputTime.value = null;\n isChangeToNow.value = false;\n };\n const handleDatePick = (value, keepOpen) => {\n if (selectionMode.value === \"date\") {\n value = value;\n let newDate = props.parsedValue ? props.parsedValue.year(value.year()).month(value.month()).date(value.date()) : value;\n if (!checkDateWithinRange(newDate)) {\n newDate = selectableRange.value[0][0].year(value.year()).month(value.month()).date(value.date());\n }\n innerDate.value = newDate;\n emit(newDate, showTime.value || keepOpen);\n } else if (selectionMode.value === \"week\") {\n emit(value.date);\n } else if (selectionMode.value === \"dates\") {\n emit(value, true);\n }\n };\n const moveByMonth = (forward) => {\n const action = forward ? \"add\" : \"subtract\";\n innerDate.value = innerDate.value[action](1, \"month\");\n handlePanelChange(\"month\");\n };\n const moveByYear = (forward) => {\n const currentDate = innerDate.value;\n const action = forward ? \"add\" : \"subtract\";\n innerDate.value = currentView.value === \"year\" ? currentDate[action](10, \"year\") : currentDate[action](1, \"year\");\n handlePanelChange(\"year\");\n };\n const currentView = ref(\"date\");\n const yearLabel = computed(() => {\n const yearTranslation = t(\"el.datepicker.year\");\n if (currentView.value === \"year\") {\n const startYear = Math.floor(year.value / 10) * 10;\n if (yearTranslation) {\n return `${startYear} ${yearTranslation} - ${startYear + 9} ${yearTranslation}`;\n }\n return `${startYear} - ${startYear + 9}`;\n }\n return `${year.value} ${yearTranslation}`;\n });\n const handleShortcutClick = (shortcut) => {\n const shortcutValue = isFunction(shortcut.value) ? shortcut.value() : shortcut.value;\n if (shortcutValue) {\n emit(dayjs(shortcutValue).locale(lang.value));\n return;\n }\n if (shortcut.onClick) {\n shortcut.onClick({\n attrs,\n slots,\n emit: contextEmit\n });\n }\n };\n const selectionMode = computed(() => {\n const { type } = props;\n if ([\"week\", \"month\", \"year\", \"dates\"].includes(type))\n return type;\n return \"date\";\n });\n const keyboardMode = computed(() => {\n return selectionMode.value === \"date\" ? currentView.value : selectionMode.value;\n });\n const hasShortcuts = computed(() => !!shortcuts.length);\n const handleMonthPick = async (month2) => {\n innerDate.value = innerDate.value.startOf(\"month\").month(month2);\n if (selectionMode.value === \"month\") {\n emit(innerDate.value, false);\n } else {\n currentView.value = \"date\";\n if ([\"month\", \"year\", \"date\", \"week\"].includes(selectionMode.value)) {\n emit(innerDate.value, true);\n await nextTick();\n handleFocusPicker();\n }\n }\n handlePanelChange(\"month\");\n };\n const handleYearPick = async (year2) => {\n if (selectionMode.value === \"year\") {\n innerDate.value = innerDate.value.startOf(\"year\").year(year2);\n emit(innerDate.value, false);\n } else {\n innerDate.value = innerDate.value.year(year2);\n currentView.value = \"month\";\n if ([\"month\", \"year\", \"date\", \"week\"].includes(selectionMode.value)) {\n emit(innerDate.value, true);\n await nextTick();\n handleFocusPicker();\n }\n }\n handlePanelChange(\"year\");\n };\n const showPicker = async (view) => {\n currentView.value = view;\n await nextTick();\n handleFocusPicker();\n };\n const showTime = computed(() => props.type === \"datetime\" || props.type === \"datetimerange\");\n const footerVisible = computed(() => {\n return showTime.value || selectionMode.value === \"dates\";\n });\n const disabledConfirm = computed(() => {\n if (!disabledDate)\n return false;\n if (!props.parsedValue)\n return true;\n if (isArray(props.parsedValue)) {\n return disabledDate(props.parsedValue[0].toDate());\n }\n return disabledDate(props.parsedValue.toDate());\n });\n const onConfirm = () => {\n if (selectionMode.value === \"dates\") {\n emit(props.parsedValue);\n } else {\n let result = props.parsedValue;\n if (!result) {\n const defaultTimeD2 = dayjs(defaultTime).locale(lang.value);\n const defaultValueD = getDefaultValue();\n result = defaultTimeD2.year(defaultValueD.year()).month(defaultValueD.month()).date(defaultValueD.date());\n }\n innerDate.value = result;\n emit(result);\n }\n };\n const disabledNow = computed(() => {\n if (!disabledDate)\n return false;\n return disabledDate(dayjs().locale(lang.value).toDate());\n });\n const changeToNow = () => {\n const now = dayjs().locale(lang.value);\n const nowDate = now.toDate();\n isChangeToNow.value = true;\n if ((!disabledDate || !disabledDate(nowDate)) && checkDateWithinRange(nowDate)) {\n innerDate.value = dayjs().locale(lang.value);\n emit(innerDate.value);\n }\n };\n const timeFormat = computed(() => {\n return extractTimeFormat(props.format);\n });\n const dateFormat = computed(() => {\n return extractDateFormat(props.format);\n });\n const visibleTime = computed(() => {\n if (userInputTime.value)\n return userInputTime.value;\n if (!props.parsedValue && !defaultValue.value)\n return;\n return (props.parsedValue || innerDate.value).format(timeFormat.value);\n });\n const visibleDate = computed(() => {\n if (userInputDate.value)\n return userInputDate.value;\n if (!props.parsedValue && !defaultValue.value)\n return;\n return (props.parsedValue || innerDate.value).format(dateFormat.value);\n });\n const timePickerVisible = ref(false);\n const onTimePickerInputFocus = () => {\n timePickerVisible.value = true;\n };\n const handleTimePickClose = () => {\n timePickerVisible.value = false;\n };\n const getUnits = (date) => {\n return {\n hour: date.hour(),\n minute: date.minute(),\n second: date.second(),\n year: date.year(),\n month: date.month(),\n date: date.date()\n };\n };\n const handleTimePick = (value, visible, first) => {\n const { hour, minute, second } = getUnits(value);\n const newDate = props.parsedValue ? props.parsedValue.hour(hour).minute(minute).second(second) : value;\n innerDate.value = newDate;\n emit(innerDate.value, true);\n if (!first) {\n timePickerVisible.value = visible;\n }\n };\n const handleVisibleTimeChange = (value) => {\n const newDate = dayjs(value, timeFormat.value).locale(lang.value);\n if (newDate.isValid() && checkDateWithinRange(newDate)) {\n const { year: year2, month: month2, date } = getUnits(innerDate.value);\n innerDate.value = newDate.year(year2).month(month2).date(date);\n userInputTime.value = null;\n timePickerVisible.value = false;\n emit(innerDate.value, true);\n }\n };\n const handleVisibleDateChange = (value) => {\n const newDate = dayjs(value, dateFormat.value).locale(lang.value);\n if (newDate.isValid()) {\n if (disabledDate && disabledDate(newDate.toDate())) {\n return;\n }\n const { hour, minute, second } = getUnits(innerDate.value);\n innerDate.value = newDate.hour(hour).minute(minute).second(second);\n userInputDate.value = null;\n emit(innerDate.value, true);\n }\n };\n const isValidValue = (date) => {\n return dayjs.isDayjs(date) && date.isValid() && (disabledDate ? !disabledDate(date.toDate()) : true);\n };\n const formatToString = (value) => {\n if (selectionMode.value === \"dates\") {\n return value.map((_) => _.format(props.format));\n }\n return value.format(props.format);\n };\n const parseUserInput = (value) => {\n return dayjs(value, props.format).locale(lang.value);\n };\n const getDefaultValue = () => {\n const parseDate = dayjs(defaultValue.value).locale(lang.value);\n if (!defaultValue.value) {\n const defaultTimeDValue = defaultTimeD.value;\n return dayjs().hour(defaultTimeDValue.hour()).minute(defaultTimeDValue.minute()).second(defaultTimeDValue.second()).locale(lang.value);\n }\n return parseDate;\n };\n const handleFocusPicker = async () => {\n var _a;\n if ([\"week\", \"month\", \"year\", \"date\"].includes(selectionMode.value)) {\n (_a = currentViewRef.value) == null ? void 0 : _a.focus();\n if (selectionMode.value === \"week\") {\n handleKeyControl(EVENT_CODE.down);\n }\n }\n };\n const handleKeydownTable = (event) => {\n const { code } = event;\n const validCode = [\n EVENT_CODE.up,\n EVENT_CODE.down,\n EVENT_CODE.left,\n EVENT_CODE.right,\n EVENT_CODE.home,\n EVENT_CODE.end,\n EVENT_CODE.pageUp,\n EVENT_CODE.pageDown\n ];\n if (validCode.includes(code)) {\n handleKeyControl(code);\n event.stopPropagation();\n event.preventDefault();\n }\n if ([EVENT_CODE.enter, EVENT_CODE.space, EVENT_CODE.numpadEnter].includes(code) && userInputDate.value === null && userInputTime.value === null) {\n event.preventDefault();\n emit(innerDate.value, false);\n }\n };\n const handleKeyControl = (code) => {\n var _a;\n const { up, down, left, right, home, end, pageUp, pageDown } = EVENT_CODE;\n const mapping = {\n year: {\n [up]: -4,\n [down]: 4,\n [left]: -1,\n [right]: 1,\n offset: (date, step) => date.setFullYear(date.getFullYear() + step)\n },\n month: {\n [up]: -4,\n [down]: 4,\n [left]: -1,\n [right]: 1,\n offset: (date, step) => date.setMonth(date.getMonth() + step)\n },\n week: {\n [up]: -1,\n [down]: 1,\n [left]: -1,\n [right]: 1,\n offset: (date, step) => date.setDate(date.getDate() + step * 7)\n },\n date: {\n [up]: -7,\n [down]: 7,\n [left]: -1,\n [right]: 1,\n [home]: (date) => -date.getDay(),\n [end]: (date) => -date.getDay() + 6,\n [pageUp]: (date) => -new Date(date.getFullYear(), date.getMonth(), 0).getDate(),\n [pageDown]: (date) => new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate(),\n offset: (date, step) => date.setDate(date.getDate() + step)\n }\n };\n const newDate = innerDate.value.toDate();\n while (Math.abs(innerDate.value.diff(newDate, \"year\", true)) < 1) {\n const map = mapping[keyboardMode.value];\n if (!map)\n return;\n map.offset(newDate, isFunction(map[code]) ? map[code](newDate) : (_a = map[code]) != null ? _a : 0);\n if (disabledDate && disabledDate(newDate)) {\n break;\n }\n const result = dayjs(newDate).locale(lang.value);\n innerDate.value = result;\n contextEmit(\"pick\", result, true);\n break;\n }\n };\n const handlePanelChange = (mode) => {\n contextEmit(\"panel-change\", innerDate.value.toDate(), mode, currentView.value);\n };\n watch(() => selectionMode.value, (val) => {\n if ([\"month\", \"year\"].includes(val)) {\n currentView.value = val;\n return;\n }\n currentView.value = \"date\";\n }, { immediate: true });\n watch(() => currentView.value, () => {\n popper == null ? void 0 : popper.updatePopper();\n });\n watch(() => defaultValue.value, (val) => {\n if (val) {\n innerDate.value = getDefaultValue();\n }\n }, { immediate: true });\n watch(() => props.parsedValue, (val) => {\n if (val) {\n if (selectionMode.value === \"dates\")\n return;\n if (Array.isArray(val))\n return;\n innerDate.value = val;\n } else {\n innerDate.value = getDefaultValue();\n }\n }, { immediate: true });\n contextEmit(\"set-picker-option\", [\"isValidValue\", isValidValue]);\n contextEmit(\"set-picker-option\", [\"formatToString\", formatToString]);\n contextEmit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n contextEmit(\"set-picker-option\", [\"handleFocusPicker\", handleFocusPicker]);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\n unref(ppNs).b(),\n unref(dpNs).b(),\n {\n \"has-sidebar\": _ctx.$slots.sidebar || unref(hasShortcuts),\n \"has-time\": unref(showTime)\n }\n ])\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n }, [\n renderSlot(_ctx.$slots, \"sidebar\", {\n class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n }),\n unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n return openBlock(), createElementBlock(\"button\", {\n key,\n type: \"button\",\n class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n onClick: ($event) => handleShortcutClick(shortcut)\n }, toDisplayString(shortcut.text), 11, _hoisted_1);\n }), 128))\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ppNs).e(\"body\"))\n }, [\n unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(dpNs).e(\"time-header\"))\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(dpNs).e(\"editor-wrap\"))\n }, [\n createVNode(unref(ElInput), {\n placeholder: unref(t)(\"el.datepicker.selectDate\"),\n \"model-value\": unref(visibleDate),\n size: \"small\",\n \"validate-event\": false,\n onInput: _cache[0] || (_cache[0] = (val) => userInputDate.value = val),\n onChange: handleVisibleDateChange\n }, null, 8, [\"placeholder\", \"model-value\"])\n ], 2),\n withDirectives((openBlock(), createElementBlock(\"span\", {\n class: normalizeClass(unref(dpNs).e(\"editor-wrap\"))\n }, [\n createVNode(unref(ElInput), {\n placeholder: unref(t)(\"el.datepicker.selectTime\"),\n \"model-value\": unref(visibleTime),\n size: \"small\",\n \"validate-event\": false,\n onFocus: onTimePickerInputFocus,\n onInput: _cache[1] || (_cache[1] = (val) => userInputTime.value = val),\n onChange: handleVisibleTimeChange\n }, null, 8, [\"placeholder\", \"model-value\"]),\n createVNode(unref(TimePickPanel), {\n visible: timePickerVisible.value,\n format: unref(timeFormat),\n \"time-arrow-control\": unref(arrowControl),\n \"parsed-value\": innerDate.value,\n onPick: handleTimePick\n }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n ], 2)), [\n [unref(ClickOutside), handleTimePickClose]\n ])\n ], 2)) : createCommentVNode(\"v-if\", true),\n withDirectives(createElementVNode(\"div\", {\n class: normalizeClass([\n unref(dpNs).e(\"header\"),\n (currentView.value === \"year\" || currentView.value === \"month\") && unref(dpNs).e(\"header--bordered\")\n ])\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(dpNs).e(\"prev-btn\"))\n }, [\n createElementVNode(\"button\", {\n type: \"button\",\n \"aria-label\": unref(t)(`el.datepicker.prevYear`),\n class: normalizeClass([\"d-arrow-left\", unref(ppNs).e(\"icon-btn\")]),\n onClick: _cache[2] || (_cache[2] = ($event) => moveByYear(false))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowLeft))\n ]),\n _: 1\n })\n ], 10, _hoisted_2),\n withDirectives(createElementVNode(\"button\", {\n type: \"button\",\n \"aria-label\": unref(t)(`el.datepicker.prevMonth`),\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-left\"]),\n onClick: _cache[3] || (_cache[3] = ($event) => moveByMonth(false))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowLeft))\n ]),\n _: 1\n })\n ], 10, _hoisted_3), [\n [vShow, currentView.value === \"date\"]\n ])\n ], 2),\n createElementVNode(\"span\", {\n role: \"button\",\n class: normalizeClass(unref(dpNs).e(\"header-label\")),\n \"aria-live\": \"polite\",\n tabindex: \"0\",\n onKeydown: _cache[4] || (_cache[4] = withKeys(($event) => showPicker(\"year\"), [\"enter\"])),\n onClick: _cache[5] || (_cache[5] = ($event) => showPicker(\"year\"))\n }, toDisplayString(unref(yearLabel)), 35),\n withDirectives(createElementVNode(\"span\", {\n role: \"button\",\n \"aria-live\": \"polite\",\n tabindex: \"0\",\n class: normalizeClass([\n unref(dpNs).e(\"header-label\"),\n { active: currentView.value === \"month\" }\n ]),\n onKeydown: _cache[6] || (_cache[6] = withKeys(($event) => showPicker(\"month\"), [\"enter\"])),\n onClick: _cache[7] || (_cache[7] = ($event) => showPicker(\"month\"))\n }, toDisplayString(unref(t)(`el.datepicker.month${unref(month) + 1}`)), 35), [\n [vShow, currentView.value === \"date\"]\n ]),\n createElementVNode(\"span\", {\n class: normalizeClass(unref(dpNs).e(\"next-btn\"))\n }, [\n withDirectives(createElementVNode(\"button\", {\n type: \"button\",\n \"aria-label\": unref(t)(`el.datepicker.nextMonth`),\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-right\"]),\n onClick: _cache[8] || (_cache[8] = ($event) => moveByMonth(true))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowRight))\n ]),\n _: 1\n })\n ], 10, _hoisted_4), [\n [vShow, currentView.value === \"date\"]\n ]),\n createElementVNode(\"button\", {\n type: \"button\",\n \"aria-label\": unref(t)(`el.datepicker.nextYear`),\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n onClick: _cache[9] || (_cache[9] = ($event) => moveByYear(true))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowRight))\n ]),\n _: 1\n })\n ], 10, _hoisted_5)\n ], 2)\n ], 2), [\n [vShow, currentView.value !== \"time\"]\n ]),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ppNs).e(\"content\")),\n onKeydown: handleKeydownTable\n }, [\n currentView.value === \"date\" ? (openBlock(), createBlock(DateTable, {\n key: 0,\n ref_key: \"currentViewRef\",\n ref: currentViewRef,\n \"selection-mode\": unref(selectionMode),\n date: innerDate.value,\n \"parsed-value\": _ctx.parsedValue,\n \"disabled-date\": unref(disabledDate),\n \"cell-class-name\": unref(cellClassName),\n onPick: handleDatePick\n }, null, 8, [\"selection-mode\", \"date\", \"parsed-value\", \"disabled-date\", \"cell-class-name\"])) : createCommentVNode(\"v-if\", true),\n currentView.value === \"year\" ? (openBlock(), createBlock(YearTable, {\n key: 1,\n ref_key: \"currentViewRef\",\n ref: currentViewRef,\n date: innerDate.value,\n \"disabled-date\": unref(disabledDate),\n \"parsed-value\": _ctx.parsedValue,\n onPick: handleYearPick\n }, null, 8, [\"date\", \"disabled-date\", \"parsed-value\"])) : createCommentVNode(\"v-if\", true),\n currentView.value === \"month\" ? (openBlock(), createBlock(MonthTable, {\n key: 2,\n ref_key: \"currentViewRef\",\n ref: currentViewRef,\n date: innerDate.value,\n \"parsed-value\": _ctx.parsedValue,\n \"disabled-date\": unref(disabledDate),\n onPick: handleMonthPick\n }, null, 8, [\"date\", \"parsed-value\", \"disabled-date\"])) : createCommentVNode(\"v-if\", true)\n ], 34)\n ], 2)\n ], 2),\n withDirectives(createElementVNode(\"div\", {\n class: normalizeClass(unref(ppNs).e(\"footer\"))\n }, [\n withDirectives(createVNode(unref(ElButton), {\n text: \"\",\n size: \"small\",\n class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n disabled: unref(disabledNow),\n onClick: changeToNow\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(unref(t)(\"el.datepicker.now\")), 1)\n ]),\n _: 1\n }, 8, [\"class\", \"disabled\"]), [\n [vShow, unref(selectionMode) !== \"dates\"]\n ]),\n createVNode(unref(ElButton), {\n plain: \"\",\n size: \"small\",\n class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n disabled: unref(disabledConfirm),\n onClick: onConfirm\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(unref(t)(\"el.datepicker.confirm\")), 1)\n ]),\n _: 1\n }, 8, [\"class\", \"disabled\"])\n ], 2), [\n [vShow, unref(footerVisible) && currentView.value === \"date\"]\n ])\n ], 2);\n };\n }\n});\nvar DatePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue\"]]);\n\nexport { DatePickPanel as default };\n//# sourceMappingURL=panel-date-pick.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelSharedProps, panelRangeSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelDateRangeProps = buildProps({\n ...panelSharedProps,\n ...panelRangeSharedProps\n});\n\nexport { panelDateRangeProps };\n//# sourceMappingURL=panel-date-range.mjs.map\n","import { getCurrentInstance, inject, ref, unref, watch } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { isValidRange, getDefaultValue } from '../utils.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from '../constants.mjs';\nimport { useShortcut } from './use-shortcut.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { isArray } from '@vue/shared';\n\nconst useRangePicker = (props, {\n defaultValue,\n leftDate,\n rightDate,\n unit,\n onParsedValueChanged\n}) => {\n const { emit } = getCurrentInstance();\n const { pickerNs } = inject(ROOT_PICKER_INJECTION_KEY);\n const drpNs = useNamespace(\"date-range-picker\");\n const { t, lang } = useLocale();\n const handleShortcutClick = useShortcut(lang);\n const minDate = ref();\n const maxDate = ref();\n const rangeState = ref({\n endDate: null,\n selecting: false\n });\n const handleChangeRange = (val) => {\n rangeState.value = val;\n };\n const handleRangeConfirm = (visible = false) => {\n const _minDate = unref(minDate);\n const _maxDate = unref(maxDate);\n if (isValidRange([_minDate, _maxDate])) {\n emit(\"pick\", [_minDate, _maxDate], visible);\n }\n };\n const onSelect = (selecting) => {\n rangeState.value.selecting = selecting;\n if (!selecting) {\n rangeState.value.endDate = null;\n }\n };\n const restoreDefault = () => {\n const [start, end] = getDefaultValue(unref(defaultValue), {\n lang: unref(lang),\n unit,\n unlinkPanels: props.unlinkPanels\n });\n minDate.value = void 0;\n maxDate.value = void 0;\n leftDate.value = start;\n rightDate.value = end;\n };\n watch(defaultValue, (val) => {\n if (val) {\n restoreDefault();\n }\n }, { immediate: true });\n watch(() => props.parsedValue, (parsedValue) => {\n if (isArray(parsedValue) && parsedValue.length === 2) {\n const [start, end] = parsedValue;\n minDate.value = start;\n leftDate.value = start;\n maxDate.value = end;\n onParsedValueChanged(unref(minDate), unref(maxDate));\n } else {\n restoreDefault();\n }\n }, { immediate: true });\n return {\n minDate,\n maxDate,\n rangeState,\n lang,\n ppNs: pickerNs,\n drpNs,\n handleChangeRange,\n handleRangeConfirm,\n handleShortcutClick,\n onSelect,\n t\n };\n};\n\nexport { useRangePicker };\n//# sourceMappingURL=use-range-picker.mjs.map\n","import { getCurrentInstance, useAttrs, useSlots } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../utils/index.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst useShortcut = (lang) => {\n const { emit } = getCurrentInstance();\n const attrs = useAttrs();\n const slots = useSlots();\n const handleShortcutClick = (shortcut) => {\n const shortcutValues = isFunction(shortcut.value) ? shortcut.value() : shortcut.value;\n if (shortcutValues) {\n emit(\"pick\", [\n dayjs(shortcutValues[0]).locale(lang.value),\n dayjs(shortcutValues[1]).locale(lang.value)\n ]);\n return;\n }\n if (shortcut.onClick) {\n shortcut.onClick({\n attrs,\n slots,\n emit\n });\n }\n };\n return handleShortcutClick;\n};\n\nexport { useShortcut };\n//# sourceMappingURL=use-shortcut.mjs.map\n","import { defineComponent, inject, toRef, ref, computed, unref, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withDirectives, withCtx, createBlock, createTextVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../directives/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { ElButton } from '../../../button/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ArrowRight, DArrowLeft, ArrowLeft, DArrowRight } from '@element-plus/icons-vue';\nimport { panelDateRangeProps } from '../props/panel-date-range.mjs';\nimport { useRangePicker } from '../composables/use-range-picker.mjs';\nimport { isValidRange, getDefaultValue } from '../utils.mjs';\nimport DateTable from './basic-date-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { extractTimeFormat, extractDateFormat } from '../../../time-picker/src/utils.mjs';\nimport { isArray } from '@vue/shared';\nimport TimePickPanel from '../../../time-picker/src/time-picker-com/panel-time-pick.mjs';\nimport ClickOutside from '../../../../directives/click-outside/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"disabled\"];\nconst _hoisted_3 = [\"disabled\"];\nconst _hoisted_4 = [\"disabled\"];\nconst _hoisted_5 = [\"disabled\"];\nconst unit = \"month\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"panel-date-range\",\n props: panelDateRangeProps,\n emits: [\n \"pick\",\n \"set-picker-option\",\n \"calendar-change\",\n \"panel-change\"\n ],\n setup(__props, { emit }) {\n const props = __props;\n const pickerBase = inject(\"EP_PICKER_BASE\");\n const {\n disabledDate,\n cellClassName,\n format,\n defaultTime,\n arrowControl,\n clearable\n } = pickerBase.props;\n const shortcuts = toRef(pickerBase.props, \"shortcuts\");\n const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n const { lang } = useLocale();\n const leftDate = ref(dayjs().locale(lang.value));\n const rightDate = ref(dayjs().locale(lang.value).add(1, unit));\n const {\n minDate,\n maxDate,\n rangeState,\n ppNs,\n drpNs,\n handleChangeRange,\n handleRangeConfirm,\n handleShortcutClick,\n onSelect,\n t\n } = useRangePicker(props, {\n defaultValue,\n leftDate,\n rightDate,\n unit,\n onParsedValueChanged\n });\n const dateUserInput = ref({\n min: null,\n max: null\n });\n const timeUserInput = ref({\n min: null,\n max: null\n });\n const leftLabel = computed(() => {\n return `${leftDate.value.year()} ${t(\"el.datepicker.year\")} ${t(`el.datepicker.month${leftDate.value.month() + 1}`)}`;\n });\n const rightLabel = computed(() => {\n return `${rightDate.value.year()} ${t(\"el.datepicker.year\")} ${t(`el.datepicker.month${rightDate.value.month() + 1}`)}`;\n });\n const leftYear = computed(() => {\n return leftDate.value.year();\n });\n const leftMonth = computed(() => {\n return leftDate.value.month();\n });\n const rightYear = computed(() => {\n return rightDate.value.year();\n });\n const rightMonth = computed(() => {\n return rightDate.value.month();\n });\n const hasShortcuts = computed(() => !!shortcuts.value.length);\n const minVisibleDate = computed(() => {\n if (dateUserInput.value.min !== null)\n return dateUserInput.value.min;\n if (minDate.value)\n return minDate.value.format(dateFormat.value);\n return \"\";\n });\n const maxVisibleDate = computed(() => {\n if (dateUserInput.value.max !== null)\n return dateUserInput.value.max;\n if (maxDate.value || minDate.value)\n return (maxDate.value || minDate.value).format(dateFormat.value);\n return \"\";\n });\n const minVisibleTime = computed(() => {\n if (timeUserInput.value.min !== null)\n return timeUserInput.value.min;\n if (minDate.value)\n return minDate.value.format(timeFormat.value);\n return \"\";\n });\n const maxVisibleTime = computed(() => {\n if (timeUserInput.value.max !== null)\n return timeUserInput.value.max;\n if (maxDate.value || minDate.value)\n return (maxDate.value || minDate.value).format(timeFormat.value);\n return \"\";\n });\n const timeFormat = computed(() => {\n return extractTimeFormat(format);\n });\n const dateFormat = computed(() => {\n return extractDateFormat(format);\n });\n const leftPrevYear = () => {\n leftDate.value = leftDate.value.subtract(1, \"year\");\n if (!props.unlinkPanels) {\n rightDate.value = leftDate.value.add(1, \"month\");\n }\n handlePanelChange(\"year\");\n };\n const leftPrevMonth = () => {\n leftDate.value = leftDate.value.subtract(1, \"month\");\n if (!props.unlinkPanels) {\n rightDate.value = leftDate.value.add(1, \"month\");\n }\n handlePanelChange(\"month\");\n };\n const rightNextYear = () => {\n if (!props.unlinkPanels) {\n leftDate.value = leftDate.value.add(1, \"year\");\n rightDate.value = leftDate.value.add(1, \"month\");\n } else {\n rightDate.value = rightDate.value.add(1, \"year\");\n }\n handlePanelChange(\"year\");\n };\n const rightNextMonth = () => {\n if (!props.unlinkPanels) {\n leftDate.value = leftDate.value.add(1, \"month\");\n rightDate.value = leftDate.value.add(1, \"month\");\n } else {\n rightDate.value = rightDate.value.add(1, \"month\");\n }\n handlePanelChange(\"month\");\n };\n const leftNextYear = () => {\n leftDate.value = leftDate.value.add(1, \"year\");\n handlePanelChange(\"year\");\n };\n const leftNextMonth = () => {\n leftDate.value = leftDate.value.add(1, \"month\");\n handlePanelChange(\"month\");\n };\n const rightPrevYear = () => {\n rightDate.value = rightDate.value.subtract(1, \"year\");\n handlePanelChange(\"year\");\n };\n const rightPrevMonth = () => {\n rightDate.value = rightDate.value.subtract(1, \"month\");\n handlePanelChange(\"month\");\n };\n const handlePanelChange = (mode) => {\n emit(\"panel-change\", [leftDate.value.toDate(), rightDate.value.toDate()], mode);\n };\n const enableMonthArrow = computed(() => {\n const nextMonth = (leftMonth.value + 1) % 12;\n const yearOffset = leftMonth.value + 1 >= 12 ? 1 : 0;\n return props.unlinkPanels && new Date(leftYear.value + yearOffset, nextMonth) < new Date(rightYear.value, rightMonth.value);\n });\n const enableYearArrow = computed(() => {\n return props.unlinkPanels && rightYear.value * 12 + rightMonth.value - (leftYear.value * 12 + leftMonth.value + 1) >= 12;\n });\n const btnDisabled = computed(() => {\n return !(minDate.value && maxDate.value && !rangeState.value.selecting && isValidRange([minDate.value, maxDate.value]));\n });\n const showTime = computed(() => props.type === \"datetime\" || props.type === \"datetimerange\");\n const formatEmit = (emitDayjs, index) => {\n if (!emitDayjs)\n return;\n if (defaultTime) {\n const defaultTimeD = dayjs(defaultTime[index] || defaultTime).locale(lang.value);\n return defaultTimeD.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());\n }\n return emitDayjs;\n };\n const handleRangePick = (val, close = true) => {\n const min_ = val.minDate;\n const max_ = val.maxDate;\n const minDate_ = formatEmit(min_, 0);\n const maxDate_ = formatEmit(max_, 1);\n if (maxDate.value === maxDate_ && minDate.value === minDate_) {\n return;\n }\n emit(\"calendar-change\", [min_.toDate(), max_ && max_.toDate()]);\n maxDate.value = maxDate_;\n minDate.value = minDate_;\n if (!close || showTime.value)\n return;\n handleRangeConfirm();\n };\n const minTimePickerVisible = ref(false);\n const maxTimePickerVisible = ref(false);\n const handleMinTimeClose = () => {\n minTimePickerVisible.value = false;\n };\n const handleMaxTimeClose = () => {\n maxTimePickerVisible.value = false;\n };\n const handleDateInput = (value, type) => {\n dateUserInput.value[type] = value;\n const parsedValueD = dayjs(value, dateFormat.value).locale(lang.value);\n if (parsedValueD.isValid()) {\n if (disabledDate && disabledDate(parsedValueD.toDate())) {\n return;\n }\n if (type === \"min\") {\n leftDate.value = parsedValueD;\n minDate.value = (minDate.value || leftDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());\n if (!props.unlinkPanels && (!maxDate.value || maxDate.value.isBefore(minDate.value))) {\n rightDate.value = parsedValueD.add(1, \"month\");\n maxDate.value = minDate.value.add(1, \"month\");\n }\n } else {\n rightDate.value = parsedValueD;\n maxDate.value = (maxDate.value || rightDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());\n if (!props.unlinkPanels && (!minDate.value || minDate.value.isAfter(maxDate.value))) {\n leftDate.value = parsedValueD.subtract(1, \"month\");\n minDate.value = maxDate.value.subtract(1, \"month\");\n }\n }\n }\n };\n const handleDateChange = (_, type) => {\n dateUserInput.value[type] = null;\n };\n const handleTimeInput = (value, type) => {\n timeUserInput.value[type] = value;\n const parsedValueD = dayjs(value, timeFormat.value).locale(lang.value);\n if (parsedValueD.isValid()) {\n if (type === \"min\") {\n minTimePickerVisible.value = true;\n minDate.value = (minDate.value || leftDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());\n if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {\n maxDate.value = minDate.value;\n }\n } else {\n maxTimePickerVisible.value = true;\n maxDate.value = (maxDate.value || rightDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());\n rightDate.value = maxDate.value;\n if (maxDate.value && maxDate.value.isBefore(minDate.value)) {\n minDate.value = maxDate.value;\n }\n }\n }\n };\n const handleTimeChange = (value, type) => {\n timeUserInput.value[type] = null;\n if (type === \"min\") {\n leftDate.value = minDate.value;\n minTimePickerVisible.value = false;\n } else {\n rightDate.value = maxDate.value;\n maxTimePickerVisible.value = false;\n }\n };\n const handleMinTimePick = (value, visible, first) => {\n if (timeUserInput.value.min)\n return;\n if (value) {\n leftDate.value = value;\n minDate.value = (minDate.value || leftDate.value).hour(value.hour()).minute(value.minute()).second(value.second());\n }\n if (!first) {\n minTimePickerVisible.value = visible;\n }\n if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {\n maxDate.value = minDate.value;\n rightDate.value = value;\n }\n };\n const handleMaxTimePick = (value, visible, first) => {\n if (timeUserInput.value.max)\n return;\n if (value) {\n rightDate.value = value;\n maxDate.value = (maxDate.value || rightDate.value).hour(value.hour()).minute(value.minute()).second(value.second());\n }\n if (!first) {\n maxTimePickerVisible.value = visible;\n }\n if (maxDate.value && maxDate.value.isBefore(minDate.value)) {\n minDate.value = maxDate.value;\n }\n };\n const handleClear = () => {\n leftDate.value = getDefaultValue(unref(defaultValue), {\n lang: unref(lang),\n unit: \"month\",\n unlinkPanels: props.unlinkPanels\n })[0];\n rightDate.value = leftDate.value.add(1, \"month\");\n emit(\"pick\", null);\n };\n const formatToString = (value) => {\n return isArray(value) ? value.map((_) => _.format(format)) : value.format(format);\n };\n const parseUserInput = (value) => {\n return isArray(value) ? value.map((_) => dayjs(_, format).locale(lang.value)) : dayjs(value, format).locale(lang.value);\n };\n function onParsedValueChanged(minDate2, maxDate2) {\n if (props.unlinkPanels && maxDate2) {\n const minDateYear = (minDate2 == null ? void 0 : minDate2.year()) || 0;\n const minDateMonth = (minDate2 == null ? void 0 : minDate2.month()) || 0;\n const maxDateYear = maxDate2.year();\n const maxDateMonth = maxDate2.month();\n rightDate.value = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? maxDate2.add(1, unit) : maxDate2;\n } else {\n rightDate.value = leftDate.value.add(1, unit);\n if (maxDate2) {\n rightDate.value = rightDate.value.hour(maxDate2.hour()).minute(maxDate2.minute()).second(maxDate2.second());\n }\n }\n }\n emit(\"set-picker-option\", [\"isValidValue\", isValidRange]);\n emit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n emit(\"set-picker-option\", [\"handleClear\", handleClear]);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\n unref(ppNs).b(),\n unref(drpNs).b(),\n {\n \"has-sidebar\": _ctx.$slots.sidebar || unref(hasShortcuts),\n \"has-time\": unref(showTime)\n }\n ])\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n }, [\n renderSlot(_ctx.$slots, \"sidebar\", {\n class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n }),\n unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n return openBlock(), createElementBlock(\"button\", {\n key,\n type: \"button\",\n class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n onClick: ($event) => unref(handleShortcutClick)(shortcut)\n }, toDisplayString(shortcut.text), 11, _hoisted_1);\n }), 128))\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ppNs).e(\"body\"))\n }, [\n unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(drpNs).e(\"time-header\"))\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(drpNs).e(\"editors-wrap\"))\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n }, [\n createVNode(unref(ElInput), {\n size: \"small\",\n disabled: unref(rangeState).selecting,\n placeholder: unref(t)(\"el.datepicker.startDate\"),\n class: normalizeClass(unref(drpNs).e(\"editor\")),\n \"model-value\": unref(minVisibleDate),\n \"validate-event\": false,\n onInput: _cache[0] || (_cache[0] = (val) => handleDateInput(val, \"min\")),\n onChange: _cache[1] || (_cache[1] = (val) => handleDateChange(val, \"min\"))\n }, null, 8, [\"disabled\", \"placeholder\", \"class\", \"model-value\"])\n ], 2),\n withDirectives((openBlock(), createElementBlock(\"span\", {\n class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n }, [\n createVNode(unref(ElInput), {\n size: \"small\",\n class: normalizeClass(unref(drpNs).e(\"editor\")),\n disabled: unref(rangeState).selecting,\n placeholder: unref(t)(\"el.datepicker.startTime\"),\n \"model-value\": unref(minVisibleTime),\n \"validate-event\": false,\n onFocus: _cache[2] || (_cache[2] = ($event) => minTimePickerVisible.value = true),\n onInput: _cache[3] || (_cache[3] = (val) => handleTimeInput(val, \"min\")),\n onChange: _cache[4] || (_cache[4] = (val) => handleTimeChange(val, \"min\"))\n }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\"]),\n createVNode(unref(TimePickPanel), {\n visible: minTimePickerVisible.value,\n format: unref(timeFormat),\n \"datetime-role\": \"start\",\n \"time-arrow-control\": unref(arrowControl),\n \"parsed-value\": leftDate.value,\n onPick: handleMinTimePick\n }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n ], 2)), [\n [unref(ClickOutside), handleMinTimeClose]\n ])\n ], 2),\n createElementVNode(\"span\", null, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowRight))\n ]),\n _: 1\n })\n ]),\n createElementVNode(\"span\", {\n class: normalizeClass([unref(drpNs).e(\"editors-wrap\"), \"is-right\"])\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n }, [\n createVNode(unref(ElInput), {\n size: \"small\",\n class: normalizeClass(unref(drpNs).e(\"editor\")),\n disabled: unref(rangeState).selecting,\n placeholder: unref(t)(\"el.datepicker.endDate\"),\n \"model-value\": unref(maxVisibleDate),\n readonly: !unref(minDate),\n \"validate-event\": false,\n onInput: _cache[5] || (_cache[5] = (val) => handleDateInput(val, \"max\")),\n onChange: _cache[6] || (_cache[6] = (val) => handleDateChange(val, \"max\"))\n }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\", \"readonly\"])\n ], 2),\n withDirectives((openBlock(), createElementBlock(\"span\", {\n class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n }, [\n createVNode(unref(ElInput), {\n size: \"small\",\n class: normalizeClass(unref(drpNs).e(\"editor\")),\n disabled: unref(rangeState).selecting,\n placeholder: unref(t)(\"el.datepicker.endTime\"),\n \"model-value\": unref(maxVisibleTime),\n readonly: !unref(minDate),\n \"validate-event\": false,\n onFocus: _cache[7] || (_cache[7] = ($event) => unref(minDate) && (maxTimePickerVisible.value = true)),\n onInput: _cache[8] || (_cache[8] = (val) => handleTimeInput(val, \"max\")),\n onChange: _cache[9] || (_cache[9] = (val) => handleTimeChange(val, \"max\"))\n }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\", \"readonly\"]),\n createVNode(unref(TimePickPanel), {\n \"datetime-role\": \"end\",\n visible: maxTimePickerVisible.value,\n format: unref(timeFormat),\n \"time-arrow-control\": unref(arrowControl),\n \"parsed-value\": rightDate.value,\n onPick: handleMaxTimePick\n }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n ], 2)), [\n [unref(ClickOutside), handleMaxTimeClose]\n ])\n ], 2)\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-left\"])\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(drpNs).e(\"header\"))\n }, [\n createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-left\"]),\n onClick: leftPrevYear\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowLeft))\n ]),\n _: 1\n })\n ], 2),\n createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-left\"]),\n onClick: leftPrevMonth\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowLeft))\n ]),\n _: 1\n })\n ], 2),\n _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n disabled: !unref(enableYearArrow),\n class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-right\"]),\n onClick: leftNextYear\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowRight))\n ]),\n _: 1\n })\n ], 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n key: 1,\n type: \"button\",\n disabled: !unref(enableMonthArrow),\n class: normalizeClass([[\n unref(ppNs).e(\"icon-btn\"),\n { \"is-disabled\": !unref(enableMonthArrow) }\n ], \"arrow-right\"]),\n onClick: leftNextMonth\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowRight))\n ]),\n _: 1\n })\n ], 10, _hoisted_3)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", null, toDisplayString(unref(leftLabel)), 1)\n ], 2),\n createVNode(DateTable, {\n \"selection-mode\": \"range\",\n date: leftDate.value,\n \"min-date\": unref(minDate),\n \"max-date\": unref(maxDate),\n \"range-state\": unref(rangeState),\n \"disabled-date\": unref(disabledDate),\n \"cell-class-name\": unref(cellClassName),\n onChangerange: unref(handleChangeRange),\n onPick: handleRangePick,\n onSelect: unref(onSelect)\n }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"cell-class-name\", \"onChangerange\", \"onSelect\"])\n ], 2),\n createElementVNode(\"div\", {\n class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-right\"])\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(drpNs).e(\"header\"))\n }, [\n _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n disabled: !unref(enableYearArrow),\n class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-left\"]),\n onClick: rightPrevYear\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowLeft))\n ]),\n _: 1\n })\n ], 10, _hoisted_4)) : createCommentVNode(\"v-if\", true),\n _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n key: 1,\n type: \"button\",\n disabled: !unref(enableMonthArrow),\n class: normalizeClass([[\n unref(ppNs).e(\"icon-btn\"),\n { \"is-disabled\": !unref(enableMonthArrow) }\n ], \"arrow-left\"]),\n onClick: rightPrevMonth\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowLeft))\n ]),\n _: 1\n })\n ], 10, _hoisted_5)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n onClick: rightNextYear\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowRight))\n ]),\n _: 1\n })\n ], 2),\n createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-right\"]),\n onClick: rightNextMonth\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowRight))\n ]),\n _: 1\n })\n ], 2),\n createElementVNode(\"div\", null, toDisplayString(unref(rightLabel)), 1)\n ], 2),\n createVNode(DateTable, {\n \"selection-mode\": \"range\",\n date: rightDate.value,\n \"min-date\": unref(minDate),\n \"max-date\": unref(maxDate),\n \"range-state\": unref(rangeState),\n \"disabled-date\": unref(disabledDate),\n \"cell-class-name\": unref(cellClassName),\n onChangerange: unref(handleChangeRange),\n onPick: handleRangePick,\n onSelect: unref(onSelect)\n }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"cell-class-name\", \"onChangerange\", \"onSelect\"])\n ], 2)\n ], 2)\n ], 2),\n unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ppNs).e(\"footer\"))\n }, [\n unref(clearable) ? (openBlock(), createBlock(unref(ElButton), {\n key: 0,\n text: \"\",\n size: \"small\",\n class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n onClick: handleClear\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(unref(t)(\"el.datepicker.clear\")), 1)\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n createVNode(unref(ElButton), {\n plain: \"\",\n size: \"small\",\n class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n disabled: unref(btnDisabled),\n onClick: _cache[10] || (_cache[10] = ($event) => unref(handleRangeConfirm)(false))\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(unref(t)(\"el.datepicker.confirm\")), 1)\n ]),\n _: 1\n }, 8, [\"class\", \"disabled\"])\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 2);\n };\n }\n});\nvar DateRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue\"]]);\n\nexport { DateRangePickPanel as default };\n//# sourceMappingURL=panel-date-range.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelRangeSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelMonthRangeProps = buildProps({\n ...panelRangeSharedProps\n});\nconst panelMonthRangeEmits = [\"pick\", \"set-picker-option\"];\n\nexport { panelMonthRangeEmits, panelMonthRangeProps };\n//# sourceMappingURL=panel-month-range.mjs.map\n","import { defineComponent, inject, toRef, ref, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withCtx } from 'vue';\nimport dayjs from 'dayjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { DArrowLeft, DArrowRight } from '@element-plus/icons-vue';\nimport { panelMonthRangeProps, panelMonthRangeEmits } from '../props/panel-month-range.mjs';\nimport { useMonthRangeHeader } from '../composables/use-month-range-header.mjs';\nimport { useRangePicker } from '../composables/use-range-picker.mjs';\nimport MonthTable from './basic-month-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"disabled\"];\nconst _hoisted_3 = [\"disabled\"];\nconst unit = \"year\";\nconst __default__ = defineComponent({\n name: \"DatePickerMonthRange\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: panelMonthRangeProps,\n emits: panelMonthRangeEmits,\n setup(__props, { emit }) {\n const props = __props;\n const { lang } = useLocale();\n const pickerBase = inject(\"EP_PICKER_BASE\");\n const { shortcuts, disabledDate, format } = pickerBase.props;\n const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n const leftDate = ref(dayjs().locale(lang.value));\n const rightDate = ref(dayjs().locale(lang.value).add(1, unit));\n const {\n minDate,\n maxDate,\n rangeState,\n ppNs,\n drpNs,\n handleChangeRange,\n handleRangeConfirm,\n handleShortcutClick,\n onSelect\n } = useRangePicker(props, {\n defaultValue,\n leftDate,\n rightDate,\n unit,\n onParsedValueChanged\n });\n const hasShortcuts = computed(() => !!shortcuts.length);\n const {\n leftPrevYear,\n rightNextYear,\n leftNextYear,\n rightPrevYear,\n leftLabel,\n rightLabel,\n leftYear,\n rightYear\n } = useMonthRangeHeader({\n unlinkPanels: toRef(props, \"unlinkPanels\"),\n leftDate,\n rightDate\n });\n const enableYearArrow = computed(() => {\n return props.unlinkPanels && rightYear.value > leftYear.value + 1;\n });\n const handleRangePick = (val, close = true) => {\n const minDate_ = val.minDate;\n const maxDate_ = val.maxDate;\n if (maxDate.value === maxDate_ && minDate.value === minDate_) {\n return;\n }\n maxDate.value = maxDate_;\n minDate.value = minDate_;\n if (!close)\n return;\n handleRangeConfirm();\n };\n const formatToString = (days) => {\n return days.map((day) => day.format(format));\n };\n function onParsedValueChanged(minDate2, maxDate2) {\n if (props.unlinkPanels && maxDate2) {\n const minDateYear = (minDate2 == null ? void 0 : minDate2.year()) || 0;\n const maxDateYear = maxDate2.year();\n rightDate.value = minDateYear === maxDateYear ? maxDate2.add(1, unit) : maxDate2;\n } else {\n rightDate.value = leftDate.value.add(1, unit);\n }\n }\n emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\n unref(ppNs).b(),\n unref(drpNs).b(),\n {\n \"has-sidebar\": Boolean(_ctx.$slots.sidebar) || unref(hasShortcuts)\n }\n ])\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n }, [\n renderSlot(_ctx.$slots, \"sidebar\", {\n class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n }),\n unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n return openBlock(), createElementBlock(\"button\", {\n key,\n type: \"button\",\n class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n onClick: ($event) => unref(handleShortcutClick)(shortcut)\n }, toDisplayString(shortcut.text), 11, _hoisted_1);\n }), 128))\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ppNs).e(\"body\"))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-left\"])\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(drpNs).e(\"header\"))\n }, [\n createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-left\"]),\n onClick: _cache[0] || (_cache[0] = (...args) => unref(leftPrevYear) && unref(leftPrevYear)(...args))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowLeft))\n ]),\n _: 1\n })\n ], 2),\n _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n disabled: !unref(enableYearArrow),\n class: normalizeClass([[\n unref(ppNs).e(\"icon-btn\"),\n { [unref(ppNs).is(\"disabled\")]: !unref(enableYearArrow) }\n ], \"d-arrow-right\"]),\n onClick: _cache[1] || (_cache[1] = (...args) => unref(leftNextYear) && unref(leftNextYear)(...args))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowRight))\n ]),\n _: 1\n })\n ], 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", null, toDisplayString(unref(leftLabel)), 1)\n ], 2),\n createVNode(MonthTable, {\n \"selection-mode\": \"range\",\n date: leftDate.value,\n \"min-date\": unref(minDate),\n \"max-date\": unref(maxDate),\n \"range-state\": unref(rangeState),\n \"disabled-date\": unref(disabledDate),\n onChangerange: unref(handleChangeRange),\n onPick: handleRangePick,\n onSelect: unref(onSelect)\n }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"onChangerange\", \"onSelect\"])\n ], 2),\n createElementVNode(\"div\", {\n class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-right\"])\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(drpNs).e(\"header\"))\n }, [\n _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n disabled: !unref(enableYearArrow),\n class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-left\"]),\n onClick: _cache[2] || (_cache[2] = (...args) => unref(rightPrevYear) && unref(rightPrevYear)(...args))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowLeft))\n ]),\n _: 1\n })\n ], 10, _hoisted_3)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n onClick: _cache[3] || (_cache[3] = (...args) => unref(rightNextYear) && unref(rightNextYear)(...args))\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(DArrowRight))\n ]),\n _: 1\n })\n ], 2),\n createElementVNode(\"div\", null, toDisplayString(unref(rightLabel)), 1)\n ], 2),\n createVNode(MonthTable, {\n \"selection-mode\": \"range\",\n date: rightDate.value,\n \"min-date\": unref(minDate),\n \"max-date\": unref(maxDate),\n \"range-state\": unref(rangeState),\n \"disabled-date\": unref(disabledDate),\n onChangerange: unref(handleChangeRange),\n onPick: handleRangePick,\n onSelect: unref(onSelect)\n }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"onChangerange\", \"onSelect\"])\n ], 2)\n ], 2)\n ], 2)\n ], 2);\n };\n }\n});\nvar MonthRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue\"]]);\n\nexport { MonthRangePickPanel as default };\n//# sourceMappingURL=panel-month-range.mjs.map\n","import { computed } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst useMonthRangeHeader = ({\n unlinkPanels,\n leftDate,\n rightDate\n}) => {\n const { t } = useLocale();\n const leftPrevYear = () => {\n leftDate.value = leftDate.value.subtract(1, \"year\");\n if (!unlinkPanels.value) {\n rightDate.value = rightDate.value.subtract(1, \"year\");\n }\n };\n const rightNextYear = () => {\n if (!unlinkPanels.value) {\n leftDate.value = leftDate.value.add(1, \"year\");\n }\n rightDate.value = rightDate.value.add(1, \"year\");\n };\n const leftNextYear = () => {\n leftDate.value = leftDate.value.add(1, \"year\");\n };\n const rightPrevYear = () => {\n rightDate.value = rightDate.value.subtract(1, \"year\");\n };\n const leftLabel = computed(() => {\n return `${leftDate.value.year()} ${t(\"el.datepicker.year\")}`;\n });\n const rightLabel = computed(() => {\n return `${rightDate.value.year()} ${t(\"el.datepicker.year\")}`;\n });\n const leftYear = computed(() => {\n return leftDate.value.year();\n });\n const rightYear = computed(() => {\n return rightDate.value.year() === leftDate.value.year() ? leftDate.value.year() + 1 : rightDate.value.year();\n });\n return {\n leftPrevYear,\n rightNextYear,\n leftNextYear,\n rightPrevYear,\n leftLabel,\n rightLabel,\n leftYear,\n rightYear\n };\n};\n\nexport { useMonthRangeHeader };\n//# sourceMappingURL=use-month-range-header.mjs.map\n","import { defineComponent, provide, reactive, toRef, ref, createVNode, mergeProps } from 'vue';\nimport dayjs from 'dayjs';\nimport customParseFormat from 'dayjs/plugin/customParseFormat.js';\nimport advancedFormat from 'dayjs/plugin/advancedFormat.js';\nimport localeData from 'dayjs/plugin/localeData.js';\nimport weekOfYear from 'dayjs/plugin/weekOfYear.js';\nimport weekYear from 'dayjs/plugin/weekYear.js';\nimport dayOfYear from 'dayjs/plugin/dayOfYear.js';\nimport isSameOrAfter from 'dayjs/plugin/isSameOrAfter.js';\nimport isSameOrBefore from 'dayjs/plugin/isSameOrBefore.js';\nimport '../../../hooks/index.mjs';\nimport '../../time-picker/index.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from './constants.mjs';\nimport { datePickerProps } from './props/date-picker.mjs';\nimport { getPanel } from './panel-utils.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_DATE } from '../../time-picker/src/constants.mjs';\nimport CommonPicker from '../../time-picker/src/common/picker.mjs';\n\ndayjs.extend(localeData);\ndayjs.extend(advancedFormat);\ndayjs.extend(customParseFormat);\ndayjs.extend(weekOfYear);\ndayjs.extend(weekYear);\ndayjs.extend(dayOfYear);\ndayjs.extend(isSameOrAfter);\ndayjs.extend(isSameOrBefore);\nvar DatePicker = defineComponent({\n name: \"ElDatePicker\",\n install: null,\n props: datePickerProps,\n emits: [\"update:modelValue\"],\n setup(props, {\n expose,\n emit,\n slots\n }) {\n const ns = useNamespace(\"picker-panel\");\n provide(\"ElPopperOptions\", reactive(toRef(props, \"popperOptions\")));\n provide(ROOT_PICKER_INJECTION_KEY, {\n slots,\n pickerNs: ns\n });\n const commonPicker = ref();\n const refProps = {\n focus: (focusStartInput = true) => {\n var _a;\n (_a = commonPicker.value) == null ? void 0 : _a.focus(focusStartInput);\n },\n handleOpen: () => {\n var _a;\n (_a = commonPicker.value) == null ? void 0 : _a.handleOpen();\n },\n handleClose: () => {\n var _a;\n (_a = commonPicker.value) == null ? void 0 : _a.handleClose();\n }\n };\n expose(refProps);\n const onModelValueUpdated = (val) => {\n emit(\"update:modelValue\", val);\n };\n return () => {\n var _a;\n const format = (_a = props.format) != null ? _a : DEFAULT_FORMATS_DATEPICKER[props.type] || DEFAULT_FORMATS_DATE;\n const Component = getPanel(props.type);\n return createVNode(CommonPicker, mergeProps(props, {\n \"format\": format,\n \"type\": props.type,\n \"ref\": commonPicker,\n \"onUpdate:modelValue\": onModelValueUpdated\n }), {\n default: (scopedProps) => createVNode(Component, scopedProps, null),\n \"range-separator\": slots[\"range-separator\"]\n });\n };\n }\n});\n\nexport { DatePicker as default };\n//# sourceMappingURL=date-picker.mjs.map\n","import DatePicker from './src/date-picker.mjs';\nexport { ROOT_PICKER_INJECTION_KEY } from './src/constants.mjs';\nexport { datePickerProps } from './src/props/date-picker.mjs';\n\nconst _DatePicker = DatePicker;\n_DatePicker.install = (app) => {\n app.component(_DatePicker.name, _DatePicker);\n};\nconst ElDatePicker = _DatePicker;\n\nexport { ElDatePicker, _DatePicker as default };\n//# sourceMappingURL=index.mjs.map\n","import DatePickPanel from './date-picker-com/panel-date-pick.mjs';\nimport DateRangePickPanel from './date-picker-com/panel-date-range.mjs';\nimport MonthRangePickPanel from './date-picker-com/panel-month-range.mjs';\n\nconst getPanel = function(type) {\n switch (type) {\n case \"daterange\":\n case \"datetimerange\": {\n return DateRangePickPanel;\n }\n case \"monthrange\": {\n return MonthRangePickPanel;\n }\n default: {\n return DatePickPanel;\n }\n }\n};\n\nexport { getPanel };\n//# sourceMappingURL=panel-utils.mjs.map\n","const descriptionsKey = Symbol(\"elDescriptions\");\n\nexport { descriptionsKey };\n//# sourceMappingURL=token.mjs.map\n","import { defineComponent, inject, h } from 'vue';\nimport { isNil } from 'lodash-unified';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { descriptionsKey } from './token.mjs';\nimport { getNormalizedProps } from '../../../utils/vue/vnode.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nvar ElDescriptionsCell = defineComponent({\n name: \"ElDescriptionsCell\",\n props: {\n cell: {\n type: Object\n },\n tag: {\n type: String\n },\n type: {\n type: String\n }\n },\n setup() {\n const descriptions = inject(descriptionsKey, {});\n return {\n descriptions\n };\n },\n render() {\n var _a, _b, _c, _d, _e, _f;\n const item = getNormalizedProps(this.cell);\n const { border, direction } = this.descriptions;\n const isVertical = direction === \"vertical\";\n const label = ((_c = (_b = (_a = this.cell) == null ? void 0 : _a.children) == null ? void 0 : _b.label) == null ? void 0 : _c.call(_b)) || item.label;\n const content = (_f = (_e = (_d = this.cell) == null ? void 0 : _d.children) == null ? void 0 : _e.default) == null ? void 0 : _f.call(_e);\n const span = item.span;\n const align = item.align ? `is-${item.align}` : \"\";\n const labelAlign = item.labelAlign ? `is-${item.labelAlign}` : align;\n const className = item.className;\n const labelClassName = item.labelClassName;\n const style = {\n width: addUnit(item.width),\n minWidth: addUnit(item.minWidth)\n };\n const ns = useNamespace(\"descriptions\");\n switch (this.type) {\n case \"label\":\n return h(this.tag, {\n style,\n class: [\n ns.e(\"cell\"),\n ns.e(\"label\"),\n ns.is(\"bordered-label\", border),\n ns.is(\"vertical-label\", isVertical),\n labelAlign,\n labelClassName\n ],\n colSpan: isVertical ? span : 1\n }, label);\n case \"content\":\n return h(this.tag, {\n style,\n class: [\n ns.e(\"cell\"),\n ns.e(\"content\"),\n ns.is(\"bordered-content\", border),\n ns.is(\"vertical-content\", isVertical),\n align,\n className\n ],\n colSpan: isVertical ? span : span * 2 - 1\n }, content);\n default:\n return h(\"td\", {\n style,\n class: [ns.e(\"cell\"), align],\n colSpan: span\n }, [\n !isNil(label) ? h(\"span\", {\n class: [ns.e(\"label\"), labelClassName]\n }, label) : void 0,\n h(\"span\", {\n class: [ns.e(\"content\"), className]\n }, content)\n ]);\n }\n }\n});\n\nexport { ElDescriptionsCell as default };\n//# sourceMappingURL=descriptions-cell.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst descriptionsRowProps = buildProps({\n row: {\n type: Array,\n default: () => []\n }\n});\n\nexport { descriptionsRowProps };\n//# sourceMappingURL=descriptions-row.mjs.map\n","import { defineComponent, inject, unref, openBlock, createElementBlock, Fragment, createElementVNode, renderList, createBlock, createVNode } from 'vue';\nimport ElDescriptionsCell from './descriptions-cell.mjs';\nimport { descriptionsKey } from './token.mjs';\nimport { descriptionsRowProps } from './descriptions-row.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _hoisted_1 = { key: 1 };\nconst __default__ = defineComponent({\n name: \"ElDescriptionsRow\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: descriptionsRowProps,\n setup(__props) {\n const descriptions = inject(descriptionsKey, {});\n return (_ctx, _cache) => {\n return unref(descriptions).direction === \"vertical\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createElementVNode(\"tr\", null, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, index) => {\n return openBlock(), createBlock(unref(ElDescriptionsCell), {\n key: `tr1-${index}`,\n cell,\n tag: \"th\",\n type: \"label\"\n }, null, 8, [\"cell\"]);\n }), 128))\n ]),\n createElementVNode(\"tr\", null, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, index) => {\n return openBlock(), createBlock(unref(ElDescriptionsCell), {\n key: `tr2-${index}`,\n cell,\n tag: \"td\",\n type: \"content\"\n }, null, 8, [\"cell\"]);\n }), 128))\n ])\n ], 64)) : (openBlock(), createElementBlock(\"tr\", _hoisted_1, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, index) => {\n return openBlock(), createElementBlock(Fragment, {\n key: `tr3-${index}`\n }, [\n unref(descriptions).border ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createVNode(unref(ElDescriptionsCell), {\n cell,\n tag: \"td\",\n type: \"label\"\n }, null, 8, [\"cell\"]),\n createVNode(unref(ElDescriptionsCell), {\n cell,\n tag: \"td\",\n type: \"content\"\n }, null, 8, [\"cell\"])\n ], 64)) : (openBlock(), createBlock(unref(ElDescriptionsCell), {\n key: 1,\n cell,\n tag: \"td\",\n type: \"both\"\n }, null, 8, [\"cell\"]))\n ], 64);\n }), 128))\n ]));\n };\n }\n});\nvar ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue\"]]);\n\nexport { ElDescriptionsRow as default };\n//# sourceMappingURL=descriptions-row2.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\n\nconst descriptionProps = buildProps({\n border: {\n type: Boolean,\n default: false\n },\n column: {\n type: Number,\n default: 3\n },\n direction: {\n type: String,\n values: [\"horizontal\", \"vertical\"],\n default: \"horizontal\"\n },\n size: useSizeProp,\n title: {\n type: String,\n default: \"\"\n },\n extra: {\n type: String,\n default: \"\"\n }\n});\n\nexport { descriptionProps };\n//# sourceMappingURL=description.mjs.map\n","import { defineComponent, useSlots, provide, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport ElDescriptionsRow from './descriptions-row2.mjs';\nimport { descriptionsKey } from './token.mjs';\nimport { descriptionProps } from './description.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormSize } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { flattedChildren } from '../../../utils/vue/vnode.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElDescriptions\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: descriptionProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"descriptions\");\n const descriptionsSize = useFormSize();\n const slots = useSlots();\n provide(descriptionsKey, props);\n const descriptionKls = computed(() => [ns.b(), ns.m(descriptionsSize.value)]);\n const filledNode = (node, span, count, isLast = false) => {\n if (!node.props) {\n node.props = {};\n }\n if (span > count) {\n node.props.span = count;\n }\n if (isLast) {\n node.props.span = span;\n }\n return node;\n };\n const getRows = () => {\n var _a;\n const children = flattedChildren((_a = slots.default) == null ? void 0 : _a.call(slots)).filter((node) => {\n var _a2;\n return ((_a2 = node == null ? void 0 : node.type) == null ? void 0 : _a2.name) === \"ElDescriptionsItem\";\n });\n const rows = [];\n let temp = [];\n let count = props.column;\n let totalSpan = 0;\n children.forEach((node, index) => {\n var _a2;\n const span = ((_a2 = node.props) == null ? void 0 : _a2.span) || 1;\n if (index < children.length - 1) {\n totalSpan += span > count ? count : span;\n }\n if (index === children.length - 1) {\n const lastSpan = props.column - totalSpan % props.column;\n temp.push(filledNode(node, lastSpan, count, true));\n rows.push(temp);\n return;\n }\n if (span < count) {\n count -= span;\n temp.push(node);\n } else {\n temp.push(filledNode(node, span, count));\n rows.push(temp);\n count = props.column;\n temp = [];\n }\n });\n return rows;\n };\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(unref(descriptionKls))\n }, [\n _ctx.title || _ctx.extra || _ctx.$slots.title || _ctx.$slots.extra ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"header\"))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"title\"))\n }, [\n renderSlot(_ctx.$slots, \"title\", {}, () => [\n createTextVNode(toDisplayString(_ctx.title), 1)\n ])\n ], 2),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"extra\"))\n }, [\n renderSlot(_ctx.$slots, \"extra\", {}, () => [\n createTextVNode(toDisplayString(_ctx.extra), 1)\n ])\n ], 2)\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"body\"))\n }, [\n createElementVNode(\"table\", {\n class: normalizeClass([unref(ns).e(\"table\"), unref(ns).is(\"bordered\", _ctx.border)])\n }, [\n createElementVNode(\"tbody\", null, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(getRows(), (row, index) => {\n return openBlock(), createBlock(ElDescriptionsRow, {\n key: index,\n row\n }, null, 8, [\"row\"]);\n }), 128))\n ])\n ], 2)\n ], 2)\n ], 2);\n };\n }\n});\nvar Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue\"]]);\n\nexport { Descriptions as default };\n//# sourceMappingURL=description2.mjs.map\n","import { defineComponent } from 'vue';\n\nvar DescriptionsItem = defineComponent({\n name: \"ElDescriptionsItem\",\n props: {\n label: {\n type: String,\n default: \"\"\n },\n span: {\n type: Number,\n default: 1\n },\n width: {\n type: [String, Number],\n default: \"\"\n },\n minWidth: {\n type: [String, Number],\n default: \"\"\n },\n align: {\n type: String,\n default: \"left\"\n },\n labelAlign: {\n type: String,\n default: \"\"\n },\n className: {\n type: String,\n default: \"\"\n },\n labelClassName: {\n type: String,\n default: \"\"\n }\n }\n});\n\nexport { DescriptionsItem as default };\n//# sourceMappingURL=description-item.mjs.map\n","import '../../utils/index.mjs';\nimport Descriptions from './src/description2.mjs';\nimport DescriptionsItem from './src/description-item.mjs';\nexport { descriptionProps } from './src/description.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElDescriptions = withInstall(Descriptions, {\n DescriptionsItem\n});\nconst ElDescriptionsItem = withNoopInstall(DescriptionsItem);\n\nexport { ElDescriptions, ElDescriptionsItem, ElDescriptions as default };\n//# sourceMappingURL=index.mjs.map\n","import { defineComponent, createVNode, renderSlot, h } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useSameTarget } from '../../../hooks/use-same-target/index.mjs';\nimport { PatchFlags } from '../../../utils/vue/vnode.mjs';\n\nconst overlayProps = buildProps({\n mask: {\n type: Boolean,\n default: true\n },\n customMaskEvent: {\n type: Boolean,\n default: false\n },\n overlayClass: {\n type: definePropType([\n String,\n Array,\n Object\n ])\n },\n zIndex: {\n type: definePropType([String, Number])\n }\n});\nconst overlayEmits = {\n click: (evt) => evt instanceof MouseEvent\n};\nconst BLOCK = \"overlay\";\nvar Overlay = defineComponent({\n name: \"ElOverlay\",\n props: overlayProps,\n emits: overlayEmits,\n setup(props, { slots, emit }) {\n const ns = useNamespace(BLOCK);\n const onMaskClick = (e) => {\n emit(\"click\", e);\n };\n const { onClick, onMousedown, onMouseup } = useSameTarget(props.customMaskEvent ? void 0 : onMaskClick);\n return () => {\n return props.mask ? createVNode(\"div\", {\n class: [ns.b(), props.overlayClass],\n style: {\n zIndex: props.zIndex\n },\n onClick,\n onMousedown,\n onMouseup\n }, [renderSlot(slots, \"default\")], PatchFlags.STYLE | PatchFlags.CLASS | PatchFlags.PROPS, [\"onClick\", \"onMouseup\", \"onMousedown\"]) : h(\"div\", {\n class: props.overlayClass,\n style: {\n zIndex: props.zIndex,\n position: \"fixed\",\n top: \"0px\",\n right: \"0px\",\n bottom: \"0px\",\n left: \"0px\"\n }\n }, [renderSlot(slots, \"default\")]);\n };\n }\n});\n\nexport { Overlay as default, overlayEmits, overlayProps };\n//# sourceMappingURL=overlay.mjs.map\n","import Overlay from './src/overlay.mjs';\nexport { overlayEmits, overlayProps } from './src/overlay.mjs';\n\nconst ElOverlay = Overlay;\n\nexport { ElOverlay, ElOverlay as default };\n//# sourceMappingURL=index.mjs.map\n","const dialogInjectionKey = Symbol(\"dialogInjectionKey\");\n\nexport { dialogInjectionKey };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\n\nconst dialogContentProps = buildProps({\n center: Boolean,\n alignCenter: Boolean,\n closeIcon: {\n type: iconPropType\n },\n customClass: {\n type: String,\n default: \"\"\n },\n draggable: Boolean,\n fullscreen: Boolean,\n showClose: {\n type: Boolean,\n default: true\n },\n title: {\n type: String,\n default: \"\"\n }\n});\nconst dialogContentEmits = {\n close: () => true\n};\n\nexport { dialogContentEmits, dialogContentProps };\n//# sourceMappingURL=dialog-content.mjs.map\n","import { defineComponent, inject, computed, openBlock, createElementBlock, unref, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createVNode, withCtx, createBlock, resolveDynamicComponent, createCommentVNode } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../focus-trap/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { dialogInjectionKey } from './constants.mjs';\nimport { dialogContentProps, dialogContentEmits } from './dialog-content.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { CloseComponents } from '../../../utils/vue/icon.mjs';\nimport { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';\nimport { composeRefs } from '../../../utils/vue/refs.mjs';\nimport { useDraggable } from '../../../hooks/use-draggable/index.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"id\"];\nconst __default__ = defineComponent({ name: \"ElDialogContent\" });\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: dialogContentProps,\n emits: dialogContentEmits,\n setup(__props) {\n const props = __props;\n const { t } = useLocale();\n const { Close } = CloseComponents;\n const { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey);\n const { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY);\n const dialogKls = computed(() => [\n ns.b(),\n ns.is(\"fullscreen\", props.fullscreen),\n ns.is(\"draggable\", props.draggable),\n ns.is(\"align-center\", props.alignCenter),\n { [ns.m(\"center\")]: props.center },\n props.customClass\n ]);\n const composedDialogRef = composeRefs(focusTrapRef, dialogRef);\n const draggable = computed(() => props.draggable);\n useDraggable(dialogRef, headerRef, draggable);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref: unref(composedDialogRef),\n class: normalizeClass(unref(dialogKls)),\n style: normalizeStyle(unref(style)),\n tabindex: \"-1\"\n }, [\n createElementVNode(\"header\", {\n ref_key: \"headerRef\",\n ref: headerRef,\n class: normalizeClass(unref(ns).e(\"header\"))\n }, [\n renderSlot(_ctx.$slots, \"header\", {}, () => [\n createElementVNode(\"span\", {\n role: \"heading\",\n class: normalizeClass(unref(ns).e(\"title\"))\n }, toDisplayString(_ctx.title), 3)\n ]),\n _ctx.showClose ? (openBlock(), createElementBlock(\"button\", {\n key: 0,\n \"aria-label\": unref(t)(\"el.dialog.close\"),\n class: normalizeClass(unref(ns).e(\"headerbtn\")),\n type: \"button\",\n onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit(\"close\"))\n }, [\n createVNode(unref(ElIcon), {\n class: normalizeClass(unref(ns).e(\"close\"))\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.closeIcon || unref(Close))))\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 10, _hoisted_1)) : createCommentVNode(\"v-if\", true)\n ], 2),\n createElementVNode(\"div\", {\n id: unref(bodyId),\n class: normalizeClass(unref(ns).e(\"body\"))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_2),\n _ctx.$slots.footer ? (openBlock(), createElementBlock(\"footer\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"footer\"))\n }, [\n renderSlot(_ctx.$slots, \"footer\")\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 6);\n };\n }\n});\nvar ElDialogContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue\"]]);\n\nexport { ElDialogContent as default };\n//# sourceMappingURL=dialog-content2.mjs.map\n","import '../types.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst composeRefs = (...refs) => {\n return (el) => {\n refs.forEach((ref) => {\n if (isFunction(ref)) {\n ref(el);\n } else {\n ref.value = el;\n }\n });\n };\n};\n\nexport { composeRefs };\n//# sourceMappingURL=refs.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { dialogContentProps } from './dialog-content.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { isBoolean } from '../../../utils/types.mjs';\n\nconst dialogProps = buildProps({\n ...dialogContentProps,\n appendToBody: Boolean,\n beforeClose: {\n type: definePropType(Function)\n },\n destroyOnClose: Boolean,\n closeOnClickModal: {\n type: Boolean,\n default: true\n },\n closeOnPressEscape: {\n type: Boolean,\n default: true\n },\n lockScroll: {\n type: Boolean,\n default: true\n },\n modal: {\n type: Boolean,\n default: true\n },\n openDelay: {\n type: Number,\n default: 0\n },\n closeDelay: {\n type: Number,\n default: 0\n },\n top: {\n type: String\n },\n modelValue: Boolean,\n modalClass: String,\n width: {\n type: [String, Number]\n },\n zIndex: {\n type: Number\n },\n trapFocus: {\n type: Boolean,\n default: false\n }\n});\nconst dialogEmits = {\n open: () => true,\n opened: () => true,\n close: () => true,\n closed: () => true,\n [UPDATE_MODEL_EVENT]: (value) => isBoolean(value),\n openAutoFocus: () => true,\n closeAutoFocus: () => true\n};\n\nexport { dialogEmits, dialogProps };\n//# sourceMappingURL=dialog.mjs.map\n","import { defineComponent, useSlots, computed, ref, provide, openBlock, createBlock, Teleport, createVNode, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, mergeProps, createSlots, renderSlot, createCommentVNode, vShow } from 'vue';\nimport { ElOverlay } from '../../overlay/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../focus-trap/index.mjs';\nimport ElDialogContent from './dialog-content2.mjs';\nimport { dialogInjectionKey } from './constants.mjs';\nimport { dialogProps, dialogEmits } from './dialog.mjs';\nimport { useDialog } from './use-dialog.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useDeprecated } from '../../../hooks/use-deprecated/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useSameTarget } from '../../../hooks/use-same-target/index.mjs';\nimport ElFocusTrap from '../../focus-trap/src/focus-trap.mjs';\n\nconst _hoisted_1 = [\"aria-label\", \"aria-labelledby\", \"aria-describedby\"];\nconst __default__ = defineComponent({\n name: \"ElDialog\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: dialogProps,\n emits: dialogEmits,\n setup(__props, { expose }) {\n const props = __props;\n const slots = useSlots();\n useDeprecated({\n scope: \"el-dialog\",\n from: \"the title slot\",\n replacement: \"the header slot\",\n version: \"3.0.0\",\n ref: \"https://element-plus.org/en-US/component/dialog.html#slots\"\n }, computed(() => !!slots.title));\n useDeprecated({\n scope: \"el-dialog\",\n from: \"custom-class\",\n replacement: \"class\",\n version: \"2.3.0\",\n ref: \"https://element-plus.org/en-US/component/dialog.html#attributes\",\n type: \"Attribute\"\n }, computed(() => !!props.customClass));\n const ns = useNamespace(\"dialog\");\n const dialogRef = ref();\n const headerRef = ref();\n const dialogContentRef = ref();\n const {\n visible,\n titleId,\n bodyId,\n style,\n overlayDialogStyle,\n rendered,\n zIndex,\n afterEnter,\n afterLeave,\n beforeLeave,\n handleClose,\n onModalClick,\n onOpenAutoFocus,\n onCloseAutoFocus,\n onCloseRequested,\n onFocusoutPrevented\n } = useDialog(props, dialogRef);\n provide(dialogInjectionKey, {\n dialogRef,\n headerRef,\n bodyId,\n ns,\n rendered,\n style\n });\n const overlayEvent = useSameTarget(onModalClick);\n const draggable = computed(() => props.draggable && !props.fullscreen);\n expose({\n visible,\n dialogContentRef\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Teleport, {\n to: \"body\",\n disabled: !_ctx.appendToBody\n }, [\n createVNode(Transition, {\n name: \"dialog-fade\",\n onAfterEnter: unref(afterEnter),\n onAfterLeave: unref(afterLeave),\n onBeforeLeave: unref(beforeLeave),\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createVNode(unref(ElOverlay), {\n \"custom-mask-event\": \"\",\n mask: _ctx.modal,\n \"overlay-class\": _ctx.modalClass,\n \"z-index\": unref(zIndex)\n }, {\n default: withCtx(() => [\n createElementVNode(\"div\", {\n role: \"dialog\",\n \"aria-modal\": \"true\",\n \"aria-label\": _ctx.title || void 0,\n \"aria-labelledby\": !_ctx.title ? unref(titleId) : void 0,\n \"aria-describedby\": unref(bodyId),\n class: normalizeClass(`${unref(ns).namespace.value}-overlay-dialog`),\n style: normalizeStyle(unref(overlayDialogStyle)),\n onClick: _cache[0] || (_cache[0] = (...args) => unref(overlayEvent).onClick && unref(overlayEvent).onClick(...args)),\n onMousedown: _cache[1] || (_cache[1] = (...args) => unref(overlayEvent).onMousedown && unref(overlayEvent).onMousedown(...args)),\n onMouseup: _cache[2] || (_cache[2] = (...args) => unref(overlayEvent).onMouseup && unref(overlayEvent).onMouseup(...args))\n }, [\n createVNode(unref(ElFocusTrap), {\n loop: \"\",\n trapped: unref(visible),\n \"focus-start-el\": \"container\",\n onFocusAfterTrapped: unref(onOpenAutoFocus),\n onFocusAfterReleased: unref(onCloseAutoFocus),\n onFocusoutPrevented: unref(onFocusoutPrevented),\n onReleaseRequested: unref(onCloseRequested)\n }, {\n default: withCtx(() => [\n unref(rendered) ? (openBlock(), createBlock(ElDialogContent, mergeProps({\n key: 0,\n ref_key: \"dialogContentRef\",\n ref: dialogContentRef\n }, _ctx.$attrs, {\n \"custom-class\": _ctx.customClass,\n center: _ctx.center,\n \"align-center\": _ctx.alignCenter,\n \"close-icon\": _ctx.closeIcon,\n draggable: unref(draggable),\n fullscreen: _ctx.fullscreen,\n \"show-close\": _ctx.showClose,\n title: _ctx.title,\n onClose: unref(handleClose)\n }), createSlots({\n header: withCtx(() => [\n !_ctx.$slots.title ? renderSlot(_ctx.$slots, \"header\", {\n key: 0,\n close: unref(handleClose),\n titleId: unref(titleId),\n titleClass: unref(ns).e(\"title\")\n }) : renderSlot(_ctx.$slots, \"title\", { key: 1 })\n ]),\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 2\n }, [\n _ctx.$slots.footer ? {\n name: \"footer\",\n fn: withCtx(() => [\n renderSlot(_ctx.$slots, \"footer\")\n ])\n } : void 0\n ]), 1040, [\"custom-class\", \"center\", \"align-center\", \"close-icon\", \"draggable\", \"fullscreen\", \"show-close\", \"title\", \"onClose\"])) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"trapped\", \"onFocusAfterTrapped\", \"onFocusAfterReleased\", \"onFocusoutPrevented\", \"onReleaseRequested\"])\n ], 46, _hoisted_1)\n ]),\n _: 3\n }, 8, [\"mask\", \"overlay-class\", \"z-index\"]), [\n [vShow, unref(visible)]\n ])\n ]),\n _: 3\n }, 8, [\"onAfterEnter\", \"onAfterLeave\", \"onBeforeLeave\"])\n ], 8, [\"disabled\"]);\n };\n }\n});\nvar Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue\"]]);\n\nexport { Dialog as default };\n//# sourceMappingURL=dialog2.mjs.map\n","import '../../utils/index.mjs';\nimport Dialog from './src/dialog2.mjs';\nexport { useDialog } from './src/use-dialog.mjs';\nexport { dialogEmits, dialogProps } from './src/dialog.mjs';\nexport { dialogInjectionKey } from './src/constants.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElDialog = withInstall(Dialog);\n\nexport { ElDialog, ElDialog as default };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, ref, computed, watch, nextTick, onMounted } from 'vue';\nimport { useTimeoutFn, isClient } from '@vueuse/core';\nimport '../../../hooks/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../config-provider/index.mjs';\nimport { useZIndex } from '../../../hooks/use-z-index/index.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { useGlobalConfig } from '../../config-provider/src/hooks/use-global-config.mjs';\nimport { defaultNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { useLockscreen } from '../../../hooks/use-lockscreen/index.mjs';\n\nconst useDialog = (props, targetRef) => {\n const instance = getCurrentInstance();\n const emit = instance.emit;\n const { nextZIndex } = useZIndex();\n let lastPosition = \"\";\n const titleId = useId();\n const bodyId = useId();\n const visible = ref(false);\n const closed = ref(false);\n const rendered = ref(false);\n const zIndex = ref(props.zIndex || nextZIndex());\n let openTimer = void 0;\n let closeTimer = void 0;\n const namespace = useGlobalConfig(\"namespace\", defaultNamespace);\n const style = computed(() => {\n const style2 = {};\n const varPrefix = `--${namespace.value}-dialog`;\n if (!props.fullscreen) {\n if (props.top) {\n style2[`${varPrefix}-margin-top`] = props.top;\n }\n if (props.width) {\n style2[`${varPrefix}-width`] = addUnit(props.width);\n }\n }\n return style2;\n });\n const overlayDialogStyle = computed(() => {\n if (props.alignCenter) {\n return { display: \"flex\" };\n }\n return {};\n });\n function afterEnter() {\n emit(\"opened\");\n }\n function afterLeave() {\n emit(\"closed\");\n emit(UPDATE_MODEL_EVENT, false);\n if (props.destroyOnClose) {\n rendered.value = false;\n }\n }\n function beforeLeave() {\n emit(\"close\");\n }\n function open() {\n closeTimer == null ? void 0 : closeTimer();\n openTimer == null ? void 0 : openTimer();\n if (props.openDelay && props.openDelay > 0) {\n ;\n ({ stop: openTimer } = useTimeoutFn(() => doOpen(), props.openDelay));\n } else {\n doOpen();\n }\n }\n function close() {\n openTimer == null ? void 0 : openTimer();\n closeTimer == null ? void 0 : closeTimer();\n if (props.closeDelay && props.closeDelay > 0) {\n ;\n ({ stop: closeTimer } = useTimeoutFn(() => doClose(), props.closeDelay));\n } else {\n doClose();\n }\n }\n function handleClose() {\n function hide(shouldCancel) {\n if (shouldCancel)\n return;\n closed.value = true;\n visible.value = false;\n }\n if (props.beforeClose) {\n props.beforeClose(hide);\n } else {\n close();\n }\n }\n function onModalClick() {\n if (props.closeOnClickModal) {\n handleClose();\n }\n }\n function doOpen() {\n if (!isClient)\n return;\n visible.value = true;\n }\n function doClose() {\n visible.value = false;\n }\n function onOpenAutoFocus() {\n emit(\"openAutoFocus\");\n }\n function onCloseAutoFocus() {\n emit(\"closeAutoFocus\");\n }\n function onFocusoutPrevented(event) {\n var _a;\n if (((_a = event.detail) == null ? void 0 : _a.focusReason) === \"pointer\") {\n event.preventDefault();\n }\n }\n if (props.lockScroll) {\n useLockscreen(visible);\n }\n function onCloseRequested() {\n if (props.closeOnPressEscape) {\n handleClose();\n }\n }\n watch(() => props.modelValue, (val) => {\n if (val) {\n closed.value = false;\n open();\n rendered.value = true;\n zIndex.value = props.zIndex ? zIndex.value++ : nextZIndex();\n nextTick(() => {\n emit(\"open\");\n if (targetRef.value) {\n targetRef.value.scrollTop = 0;\n }\n });\n } else {\n if (visible.value) {\n close();\n }\n }\n });\n watch(() => props.fullscreen, (val) => {\n if (!targetRef.value)\n return;\n if (val) {\n lastPosition = targetRef.value.style.transform;\n targetRef.value.style.transform = \"\";\n } else {\n targetRef.value.style.transform = lastPosition;\n }\n });\n onMounted(() => {\n if (props.modelValue) {\n visible.value = true;\n rendered.value = true;\n open();\n }\n });\n return {\n afterEnter,\n afterLeave,\n beforeLeave,\n handleClose,\n onModalClick,\n close,\n doClose,\n onOpenAutoFocus,\n onCloseAutoFocus,\n onCloseRequested,\n onFocusoutPrevented,\n titleId,\n bodyId,\n closed,\n style,\n overlayDialogStyle,\n rendered,\n visible,\n zIndex\n };\n};\n\nexport { useDialog };\n//# sourceMappingURL=use-dialog.mjs.map\n","import { defineComponent, openBlock, createElementBlock, createElementVNode, unref } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\n\nconst _hoisted_1 = {\n viewBox: \"0 0 79 86\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\"\n};\nconst _hoisted_2 = [\"id\"];\nconst _hoisted_3 = [\"stop-color\"];\nconst _hoisted_4 = [\"stop-color\"];\nconst _hoisted_5 = [\"id\"];\nconst _hoisted_6 = [\"stop-color\"];\nconst _hoisted_7 = [\"stop-color\"];\nconst _hoisted_8 = [\"id\"];\nconst _hoisted_9 = {\n id: \"Illustrations\",\n stroke: \"none\",\n \"stroke-width\": \"1\",\n fill: \"none\",\n \"fill-rule\": \"evenodd\"\n};\nconst _hoisted_10 = {\n id: \"B-type\",\n transform: \"translate(-1268.000000, -535.000000)\"\n};\nconst _hoisted_11 = {\n id: \"Group-2\",\n transform: \"translate(1268.000000, 535.000000)\"\n};\nconst _hoisted_12 = [\"fill\"];\nconst _hoisted_13 = [\"fill\"];\nconst _hoisted_14 = {\n id: \"Group-Copy\",\n transform: \"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)\"\n};\nconst _hoisted_15 = [\"fill\"];\nconst _hoisted_16 = [\"fill\"];\nconst _hoisted_17 = [\"fill\"];\nconst _hoisted_18 = [\"fill\"];\nconst _hoisted_19 = [\"fill\"];\nconst _hoisted_20 = {\n id: \"Rectangle-Copy-17\",\n transform: \"translate(53.000000, 45.000000)\"\n};\nconst _hoisted_21 = [\"fill\", \"xlink:href\"];\nconst _hoisted_22 = [\"fill\", \"mask\"];\nconst _hoisted_23 = [\"fill\"];\nconst __default__ = defineComponent({\n name: \"ImgEmpty\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n setup(__props) {\n const ns = useNamespace(\"empty\");\n const id = useId();\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"svg\", _hoisted_1, [\n createElementVNode(\"defs\", null, [\n createElementVNode(\"linearGradient\", {\n id: `linearGradient-1-${unref(id)}`,\n x1: \"38.8503086%\",\n y1: \"0%\",\n x2: \"61.1496914%\",\n y2: \"100%\"\n }, [\n createElementVNode(\"stop\", {\n \"stop-color\": `var(${unref(ns).cssVarBlockName(\"fill-color-1\")})`,\n offset: \"0%\"\n }, null, 8, _hoisted_3),\n createElementVNode(\"stop\", {\n \"stop-color\": `var(${unref(ns).cssVarBlockName(\"fill-color-4\")})`,\n offset: \"100%\"\n }, null, 8, _hoisted_4)\n ], 8, _hoisted_2),\n createElementVNode(\"linearGradient\", {\n id: `linearGradient-2-${unref(id)}`,\n x1: \"0%\",\n y1: \"9.5%\",\n x2: \"100%\",\n y2: \"90.5%\"\n }, [\n createElementVNode(\"stop\", {\n \"stop-color\": `var(${unref(ns).cssVarBlockName(\"fill-color-1\")})`,\n offset: \"0%\"\n }, null, 8, _hoisted_6),\n createElementVNode(\"stop\", {\n \"stop-color\": `var(${unref(ns).cssVarBlockName(\"fill-color-6\")})`,\n offset: \"100%\"\n }, null, 8, _hoisted_7)\n ], 8, _hoisted_5),\n createElementVNode(\"rect\", {\n id: `path-3-${unref(id)}`,\n x: \"0\",\n y: \"0\",\n width: \"17\",\n height: \"36\"\n }, null, 8, _hoisted_8)\n ]),\n createElementVNode(\"g\", _hoisted_9, [\n createElementVNode(\"g\", _hoisted_10, [\n createElementVNode(\"g\", _hoisted_11, [\n createElementVNode(\"path\", {\n id: \"Oval-Copy-2\",\n d: \"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z\",\n fill: `var(${unref(ns).cssVarBlockName(\"fill-color-3\")})`\n }, null, 8, _hoisted_12),\n createElementVNode(\"polygon\", {\n id: \"Rectangle-Copy-14\",\n fill: `var(${unref(ns).cssVarBlockName(\"fill-color-7\")})`,\n transform: \"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) \",\n points: \"13 58 53 58 42 45 2 45\"\n }, null, 8, _hoisted_13),\n createElementVNode(\"g\", _hoisted_14, [\n createElementVNode(\"polygon\", {\n id: \"Rectangle-Copy-10\",\n fill: `var(${unref(ns).cssVarBlockName(\"fill-color-7\")})`,\n transform: \"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) \",\n points: \"2.84078316e-14 3 18 3 23 7 5 7\"\n }, null, 8, _hoisted_15),\n createElementVNode(\"polygon\", {\n id: \"Rectangle-Copy-11\",\n fill: `var(${unref(ns).cssVarBlockName(\"fill-color-5\")})`,\n points: \"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43\"\n }, null, 8, _hoisted_16),\n createElementVNode(\"rect\", {\n id: \"Rectangle-Copy-12\",\n fill: `url(#linearGradient-1-${unref(id)})`,\n transform: \"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) \",\n x: \"38\",\n y: \"7\",\n width: \"17\",\n height: \"36\"\n }, null, 8, _hoisted_17),\n createElementVNode(\"polygon\", {\n id: \"Rectangle-Copy-13\",\n fill: `var(${unref(ns).cssVarBlockName(\"fill-color-2\")})`,\n transform: \"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) \",\n points: \"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12\"\n }, null, 8, _hoisted_18)\n ]),\n createElementVNode(\"rect\", {\n id: \"Rectangle-Copy-15\",\n fill: `url(#linearGradient-2-${unref(id)})`,\n x: \"13\",\n y: \"45\",\n width: \"40\",\n height: \"36\"\n }, null, 8, _hoisted_19),\n createElementVNode(\"g\", _hoisted_20, [\n createElementVNode(\"use\", {\n id: \"Mask\",\n fill: `var(${unref(ns).cssVarBlockName(\"fill-color-8\")})`,\n transform: \"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) \",\n \"xlink:href\": `#path-3-${unref(id)}`\n }, null, 8, _hoisted_21),\n createElementVNode(\"polygon\", {\n id: \"Rectangle-Copy\",\n fill: `var(${unref(ns).cssVarBlockName(\"fill-color-9\")})`,\n mask: `url(#mask-4-${unref(id)})`,\n transform: \"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) \",\n points: \"7 0 24 0 20 18 7 16.5\"\n }, null, 8, _hoisted_22)\n ]),\n createElementVNode(\"polygon\", {\n id: \"Rectangle-Copy-18\",\n fill: `var(${unref(ns).cssVarBlockName(\"fill-color-2\")})`,\n transform: \"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) \",\n points: \"62 45 79 45 70 58 53 58\"\n }, null, 8, _hoisted_23)\n ])\n ])\n ])\n ]);\n };\n }\n});\nvar ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue\"]]);\n\nexport { ImgEmpty as default };\n//# sourceMappingURL=img-empty.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst emptyProps = buildProps({\n image: {\n type: String,\n default: \"\"\n },\n imageSize: Number,\n description: {\n type: String,\n default: \"\"\n }\n});\n\nexport { emptyProps };\n//# sourceMappingURL=empty.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, renderSlot, createVNode, toDisplayString, createCommentVNode } from 'vue';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport ImgEmpty from './img-empty.mjs';\nimport { emptyProps } from './empty.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\n\nconst _hoisted_1 = [\"src\"];\nconst _hoisted_2 = { key: 1 };\nconst __default__ = defineComponent({\n name: \"ElEmpty\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: emptyProps,\n setup(__props) {\n const props = __props;\n const { t } = useLocale();\n const ns = useNamespace(\"empty\");\n const emptyDescription = computed(() => props.description || t(\"el.table.emptyText\"));\n const imageStyle = computed(() => ({\n width: addUnit(props.imageSize)\n }));\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(unref(ns).b())\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"image\")),\n style: normalizeStyle(unref(imageStyle))\n }, [\n _ctx.image ? (openBlock(), createElementBlock(\"img\", {\n key: 0,\n src: _ctx.image,\n ondragstart: \"return false\"\n }, null, 8, _hoisted_1)) : renderSlot(_ctx.$slots, \"image\", { key: 1 }, () => [\n createVNode(ImgEmpty)\n ])\n ], 6),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"description\"))\n }, [\n _ctx.$slots.description ? renderSlot(_ctx.$slots, \"description\", { key: 0 }) : (openBlock(), createElementBlock(\"p\", _hoisted_2, toDisplayString(unref(emptyDescription)), 1))\n ], 2),\n _ctx.$slots.default ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"bottom\"))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 2);\n };\n }\n});\nvar Empty = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue\"]]);\n\nexport { Empty as default };\n//# sourceMappingURL=empty2.mjs.map\n","import '../../utils/index.mjs';\nimport Empty from './src/empty2.mjs';\nexport { emptyProps } from './src/empty.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElEmpty = withInstall(Empty);\n\nexport { ElEmpty, ElEmpty as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nconst imageViewerProps = buildProps({\n urlList: {\n type: definePropType(Array),\n default: () => mutable([])\n },\n zIndex: {\n type: Number\n },\n initialIndex: {\n type: Number,\n default: 0\n },\n infinite: {\n type: Boolean,\n default: true\n },\n hideOnClickModal: Boolean,\n teleported: Boolean,\n closeOnPressEscape: {\n type: Boolean,\n default: true\n },\n zoomRate: {\n type: Number,\n default: 1.2\n }\n});\nconst imageViewerEmits = {\n close: () => true,\n switch: (index) => isNumber(index)\n};\n\nexport { imageViewerEmits, imageViewerProps };\n//# sourceMappingURL=image-viewer.mjs.map\n","import { defineComponent, markRaw, ref, effectScope, shallowRef, computed, watch, nextTick, onMounted, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, createElementVNode, normalizeClass, unref, normalizeStyle, withModifiers, createCommentVNode, createElementBlock, Fragment, resolveDynamicComponent, renderList, withDirectives, vShow, renderSlot } from 'vue';\nimport { useEventListener } from '@vueuse/core';\nimport { throttle } from 'lodash-unified';\nimport '../../../hooks/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { FullScreen, ScaleToOriginal, Close, ArrowLeft, ArrowRight, ZoomOut, ZoomIn, RefreshLeft, RefreshRight } from '@element-plus/icons-vue';\nimport { imageViewerProps, imageViewerEmits } from './image-viewer.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useZIndex } from '../../../hooks/use-z-index/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { keysOf } from '../../../utils/objects.mjs';\n\nconst _hoisted_1 = [\"src\"];\nconst __default__ = defineComponent({\n name: \"ElImageViewer\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: imageViewerProps,\n emits: imageViewerEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const modes = {\n CONTAIN: {\n name: \"contain\",\n icon: markRaw(FullScreen)\n },\n ORIGINAL: {\n name: \"original\",\n icon: markRaw(ScaleToOriginal)\n }\n };\n const { t } = useLocale();\n const ns = useNamespace(\"image-viewer\");\n const { nextZIndex } = useZIndex();\n const wrapper = ref();\n const imgRefs = ref([]);\n const scopeEventListener = effectScope();\n const loading = ref(true);\n const activeIndex = ref(props.initialIndex);\n const mode = shallowRef(modes.CONTAIN);\n const transform = ref({\n scale: 1,\n deg: 0,\n offsetX: 0,\n offsetY: 0,\n enableTransition: false\n });\n const isSingle = computed(() => {\n const { urlList } = props;\n return urlList.length <= 1;\n });\n const isFirst = computed(() => {\n return activeIndex.value === 0;\n });\n const isLast = computed(() => {\n return activeIndex.value === props.urlList.length - 1;\n });\n const currentImg = computed(() => {\n return props.urlList[activeIndex.value];\n });\n const arrowPrevKls = computed(() => [\n ns.e(\"btn\"),\n ns.e(\"prev\"),\n ns.is(\"disabled\", !props.infinite && isFirst.value)\n ]);\n const arrowNextKls = computed(() => [\n ns.e(\"btn\"),\n ns.e(\"next\"),\n ns.is(\"disabled\", !props.infinite && isLast.value)\n ]);\n const imgStyle = computed(() => {\n const { scale, deg, offsetX, offsetY, enableTransition } = transform.value;\n let translateX = offsetX / scale;\n let translateY = offsetY / scale;\n switch (deg % 360) {\n case 90:\n case -270:\n ;\n [translateX, translateY] = [translateY, -translateX];\n break;\n case 180:\n case -180:\n ;\n [translateX, translateY] = [-translateX, -translateY];\n break;\n case 270:\n case -90:\n ;\n [translateX, translateY] = [-translateY, translateX];\n break;\n }\n const style = {\n transform: `scale(${scale}) rotate(${deg}deg) translate(${translateX}px, ${translateY}px)`,\n transition: enableTransition ? \"transform .3s\" : \"\"\n };\n if (mode.value.name === modes.CONTAIN.name) {\n style.maxWidth = style.maxHeight = \"100%\";\n }\n return style;\n });\n const computedZIndex = computed(() => {\n return isNumber(props.zIndex) ? props.zIndex : nextZIndex();\n });\n function hide() {\n unregisterEventListener();\n emit(\"close\");\n }\n function registerEventListener() {\n const keydownHandler = throttle((e) => {\n switch (e.code) {\n case EVENT_CODE.esc:\n props.closeOnPressEscape && hide();\n break;\n case EVENT_CODE.space:\n toggleMode();\n break;\n case EVENT_CODE.left:\n prev();\n break;\n case EVENT_CODE.up:\n handleActions(\"zoomIn\");\n break;\n case EVENT_CODE.right:\n next();\n break;\n case EVENT_CODE.down:\n handleActions(\"zoomOut\");\n break;\n }\n });\n const mousewheelHandler = throttle((e) => {\n const delta = e.deltaY || e.deltaX;\n handleActions(delta < 0 ? \"zoomIn\" : \"zoomOut\", {\n zoomRate: props.zoomRate,\n enableTransition: false\n });\n });\n scopeEventListener.run(() => {\n useEventListener(document, \"keydown\", keydownHandler);\n useEventListener(document, \"wheel\", mousewheelHandler);\n });\n }\n function unregisterEventListener() {\n scopeEventListener.stop();\n }\n function handleImgLoad() {\n loading.value = false;\n }\n function handleImgError(e) {\n loading.value = false;\n e.target.alt = t(\"el.image.error\");\n }\n function handleMouseDown(e) {\n if (loading.value || e.button !== 0 || !wrapper.value)\n return;\n transform.value.enableTransition = false;\n const { offsetX, offsetY } = transform.value;\n const startX = e.pageX;\n const startY = e.pageY;\n const dragHandler = throttle((ev) => {\n transform.value = {\n ...transform.value,\n offsetX: offsetX + ev.pageX - startX,\n offsetY: offsetY + ev.pageY - startY\n };\n });\n const removeMousemove = useEventListener(document, \"mousemove\", dragHandler);\n useEventListener(document, \"mouseup\", () => {\n removeMousemove();\n });\n e.preventDefault();\n }\n function reset() {\n transform.value = {\n scale: 1,\n deg: 0,\n offsetX: 0,\n offsetY: 0,\n enableTransition: false\n };\n }\n function toggleMode() {\n if (loading.value)\n return;\n const modeNames = keysOf(modes);\n const modeValues = Object.values(modes);\n const currentMode = mode.value.name;\n const index = modeValues.findIndex((i) => i.name === currentMode);\n const nextIndex = (index + 1) % modeNames.length;\n mode.value = modes[modeNames[nextIndex]];\n reset();\n }\n function setActiveItem(index) {\n const len = props.urlList.length;\n activeIndex.value = (index + len) % len;\n }\n function prev() {\n if (isFirst.value && !props.infinite)\n return;\n setActiveItem(activeIndex.value - 1);\n }\n function next() {\n if (isLast.value && !props.infinite)\n return;\n setActiveItem(activeIndex.value + 1);\n }\n function handleActions(action, options = {}) {\n if (loading.value)\n return;\n const { zoomRate, rotateDeg, enableTransition } = {\n zoomRate: props.zoomRate,\n rotateDeg: 90,\n enableTransition: true,\n ...options\n };\n switch (action) {\n case \"zoomOut\":\n if (transform.value.scale > 0.2) {\n transform.value.scale = Number.parseFloat((transform.value.scale / zoomRate).toFixed(3));\n }\n break;\n case \"zoomIn\":\n if (transform.value.scale < 7) {\n transform.value.scale = Number.parseFloat((transform.value.scale * zoomRate).toFixed(3));\n }\n break;\n case \"clockwise\":\n transform.value.deg += rotateDeg;\n break;\n case \"anticlockwise\":\n transform.value.deg -= rotateDeg;\n break;\n }\n transform.value.enableTransition = enableTransition;\n }\n watch(currentImg, () => {\n nextTick(() => {\n const $img = imgRefs.value[0];\n if (!($img == null ? void 0 : $img.complete)) {\n loading.value = true;\n }\n });\n });\n watch(activeIndex, (val) => {\n reset();\n emit(\"switch\", val);\n });\n onMounted(() => {\n var _a, _b;\n registerEventListener();\n (_b = (_a = wrapper.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);\n });\n expose({\n setActiveItem\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Teleport, {\n to: \"body\",\n disabled: !_ctx.teleported\n }, [\n createVNode(Transition, {\n name: \"viewer-fade\",\n appear: \"\"\n }, {\n default: withCtx(() => [\n createElementVNode(\"div\", {\n ref_key: \"wrapper\",\n ref: wrapper,\n tabindex: -1,\n class: normalizeClass(unref(ns).e(\"wrapper\")),\n style: normalizeStyle({ zIndex: unref(computedZIndex) })\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"mask\")),\n onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.hideOnClickModal && hide(), [\"self\"]))\n }, null, 2),\n createCommentVNode(\" CLOSE \"),\n createElementVNode(\"span\", {\n class: normalizeClass([unref(ns).e(\"btn\"), unref(ns).e(\"close\")]),\n onClick: hide\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(Close))\n ]),\n _: 1\n })\n ], 2),\n createCommentVNode(\" ARROW \"),\n !unref(isSingle) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(arrowPrevKls)),\n onClick: prev\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowLeft))\n ]),\n _: 1\n })\n ], 2),\n createElementVNode(\"span\", {\n class: normalizeClass(unref(arrowNextKls)),\n onClick: next\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowRight))\n ]),\n _: 1\n })\n ], 2)\n ], 64)) : createCommentVNode(\"v-if\", true),\n createCommentVNode(\" ACTIONS \"),\n createElementVNode(\"div\", {\n class: normalizeClass([unref(ns).e(\"btn\"), unref(ns).e(\"actions\")])\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"actions__inner\"))\n }, [\n createVNode(unref(ElIcon), {\n onClick: _cache[1] || (_cache[1] = ($event) => handleActions(\"zoomOut\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(ZoomOut))\n ]),\n _: 1\n }),\n createVNode(unref(ElIcon), {\n onClick: _cache[2] || (_cache[2] = ($event) => handleActions(\"zoomIn\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(ZoomIn))\n ]),\n _: 1\n }),\n createElementVNode(\"i\", {\n class: normalizeClass(unref(ns).e(\"actions__divider\"))\n }, null, 2),\n createVNode(unref(ElIcon), { onClick: toggleMode }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(mode).icon)))\n ]),\n _: 1\n }),\n createElementVNode(\"i\", {\n class: normalizeClass(unref(ns).e(\"actions__divider\"))\n }, null, 2),\n createVNode(unref(ElIcon), {\n onClick: _cache[3] || (_cache[3] = ($event) => handleActions(\"anticlockwise\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(RefreshLeft))\n ]),\n _: 1\n }),\n createVNode(unref(ElIcon), {\n onClick: _cache[4] || (_cache[4] = ($event) => handleActions(\"clockwise\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(RefreshRight))\n ]),\n _: 1\n })\n ], 2)\n ], 2),\n createCommentVNode(\" CANVAS \"),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"canvas\"))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.urlList, (url, i) => {\n return withDirectives((openBlock(), createElementBlock(\"img\", {\n ref_for: true,\n ref: (el) => imgRefs.value[i] = el,\n key: url,\n src: url,\n style: normalizeStyle(unref(imgStyle)),\n class: normalizeClass(unref(ns).e(\"img\")),\n onLoad: handleImgLoad,\n onError: handleImgError,\n onMousedown: handleMouseDown\n }, null, 46, _hoisted_1)), [\n [vShow, i === activeIndex.value]\n ]);\n }), 128))\n ], 2),\n renderSlot(_ctx.$slots, \"default\")\n ], 6)\n ]),\n _: 3\n })\n ], 8, [\"disabled\"]);\n };\n }\n});\nvar ImageViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue\"]]);\n\nexport { ImageViewer as default };\n//# sourceMappingURL=image-viewer2.mjs.map\n","import '../../utils/index.mjs';\nimport ImageViewer from './src/image-viewer2.mjs';\nexport { imageViewerEmits, imageViewerProps } from './src/image-viewer.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElImageViewer = withInstall(ImageViewer);\n\nexport { ElImageViewer, ElImageViewer as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nconst imageProps = buildProps({\n hideOnClickModal: Boolean,\n src: {\n type: String,\n default: \"\"\n },\n fit: {\n type: String,\n values: [\"\", \"contain\", \"cover\", \"fill\", \"none\", \"scale-down\"],\n default: \"\"\n },\n loading: {\n type: String,\n values: [\"eager\", \"lazy\"]\n },\n lazy: Boolean,\n scrollContainer: {\n type: definePropType([String, Object])\n },\n previewSrcList: {\n type: definePropType(Array),\n default: () => mutable([])\n },\n previewTeleported: Boolean,\n zIndex: {\n type: Number\n },\n initialIndex: {\n type: Number,\n default: 0\n },\n infinite: {\n type: Boolean,\n default: true\n },\n closeOnPressEscape: {\n type: Boolean,\n default: true\n },\n zoomRate: {\n type: Number,\n default: 1.2\n }\n});\nconst imageEmits = {\n load: (evt) => evt instanceof Event,\n error: (evt) => evt instanceof Event,\n switch: (val) => isNumber(val),\n close: () => true,\n show: () => true\n};\n\nexport { imageEmits, imageProps };\n//# sourceMappingURL=image.mjs.map\n","import { defineComponent, useAttrs, ref, computed, nextTick, watch, onMounted, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot, createElementVNode, toDisplayString, Fragment, mergeProps, createCommentVNode, createBlock, withCtx } from 'vue';\nimport { isClient, useThrottleFn, useEventListener } from '@vueuse/core';\nimport '../../../hooks/index.mjs';\nimport { ElImageViewer } from '../../image-viewer/index.mjs';\nimport '../../../utils/index.mjs';\nimport { imageProps, imageEmits } from './image.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useAttrs as useAttrs$1 } from '../../../hooks/use-attrs/index.mjs';\nimport { isInContainer } from '../../../utils/dom/position.mjs';\nimport { isElement } from '../../../utils/types.mjs';\nimport { isString } from '@vue/shared';\nimport { getScrollContainer } from '../../../utils/dom/scroll.mjs';\n\nconst _hoisted_1 = [\"src\", \"loading\"];\nconst _hoisted_2 = { key: 0 };\nconst __default__ = defineComponent({\n name: \"ElImage\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: imageProps,\n emits: imageEmits,\n setup(__props, { emit }) {\n const props = __props;\n let prevOverflow = \"\";\n const { t } = useLocale();\n const ns = useNamespace(\"image\");\n const rawAttrs = useAttrs();\n const attrs = useAttrs$1();\n const imageSrc = ref();\n const hasLoadError = ref(false);\n const isLoading = ref(true);\n const showViewer = ref(false);\n const container = ref();\n const _scrollContainer = ref();\n const supportLoading = isClient && \"loading\" in HTMLImageElement.prototype;\n let stopScrollListener;\n let stopWheelListener;\n const imageKls = computed(() => [\n ns.e(\"inner\"),\n preview.value && ns.e(\"preview\"),\n isLoading.value && ns.is(\"loading\")\n ]);\n const containerStyle = computed(() => rawAttrs.style);\n const imageStyle = computed(() => {\n const { fit } = props;\n if (isClient && fit) {\n return { objectFit: fit };\n }\n return {};\n });\n const preview = computed(() => {\n const { previewSrcList } = props;\n return Array.isArray(previewSrcList) && previewSrcList.length > 0;\n });\n const imageIndex = computed(() => {\n const { previewSrcList, initialIndex } = props;\n let previewIndex = initialIndex;\n if (initialIndex > previewSrcList.length - 1) {\n previewIndex = 0;\n }\n return previewIndex;\n });\n const isManual = computed(() => {\n if (props.loading === \"eager\")\n return false;\n return !supportLoading && props.loading === \"lazy\" || props.lazy;\n });\n const loadImage = () => {\n if (!isClient)\n return;\n isLoading.value = true;\n hasLoadError.value = false;\n imageSrc.value = props.src;\n };\n function handleLoad(event) {\n isLoading.value = false;\n hasLoadError.value = false;\n emit(\"load\", event);\n }\n function handleError(event) {\n isLoading.value = false;\n hasLoadError.value = true;\n emit(\"error\", event);\n }\n function handleLazyLoad() {\n if (isInContainer(container.value, _scrollContainer.value)) {\n loadImage();\n removeLazyLoadListener();\n }\n }\n const lazyLoadHandler = useThrottleFn(handleLazyLoad, 200, true);\n async function addLazyLoadListener() {\n var _a;\n if (!isClient)\n return;\n await nextTick();\n const { scrollContainer } = props;\n if (isElement(scrollContainer)) {\n _scrollContainer.value = scrollContainer;\n } else if (isString(scrollContainer) && scrollContainer !== \"\") {\n _scrollContainer.value = (_a = document.querySelector(scrollContainer)) != null ? _a : void 0;\n } else if (container.value) {\n _scrollContainer.value = getScrollContainer(container.value);\n }\n if (_scrollContainer.value) {\n stopScrollListener = useEventListener(_scrollContainer, \"scroll\", lazyLoadHandler);\n setTimeout(() => handleLazyLoad(), 100);\n }\n }\n function removeLazyLoadListener() {\n if (!isClient || !_scrollContainer.value || !lazyLoadHandler)\n return;\n stopScrollListener == null ? void 0 : stopScrollListener();\n _scrollContainer.value = void 0;\n }\n function wheelHandler(e) {\n if (!e.ctrlKey)\n return;\n if (e.deltaY < 0) {\n e.preventDefault();\n return false;\n } else if (e.deltaY > 0) {\n e.preventDefault();\n return false;\n }\n }\n function clickHandler() {\n if (!preview.value)\n return;\n stopWheelListener = useEventListener(\"wheel\", wheelHandler, {\n passive: false\n });\n prevOverflow = document.body.style.overflow;\n document.body.style.overflow = \"hidden\";\n showViewer.value = true;\n emit(\"show\");\n }\n function closeViewer() {\n stopWheelListener == null ? void 0 : stopWheelListener();\n document.body.style.overflow = prevOverflow;\n showViewer.value = false;\n emit(\"close\");\n }\n function switchViewer(val) {\n emit(\"switch\", val);\n }\n watch(() => props.src, () => {\n if (isManual.value) {\n isLoading.value = true;\n hasLoadError.value = false;\n removeLazyLoadListener();\n addLazyLoadListener();\n } else {\n loadImage();\n }\n });\n onMounted(() => {\n if (isManual.value) {\n addLazyLoadListener();\n } else {\n loadImage();\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref_key: \"container\",\n ref: container,\n class: normalizeClass([unref(ns).b(), _ctx.$attrs.class]),\n style: normalizeStyle(unref(containerStyle))\n }, [\n hasLoadError.value ? renderSlot(_ctx.$slots, \"error\", { key: 0 }, () => [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"error\"))\n }, toDisplayString(unref(t)(\"el.image.error\")), 3)\n ]) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n imageSrc.value !== void 0 ? (openBlock(), createElementBlock(\"img\", mergeProps({ key: 0 }, unref(attrs), {\n src: imageSrc.value,\n loading: _ctx.loading,\n style: unref(imageStyle),\n class: unref(imageKls),\n onClick: clickHandler,\n onLoad: handleLoad,\n onError: handleError\n }), null, 16, _hoisted_1)) : createCommentVNode(\"v-if\", true),\n isLoading.value ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass(unref(ns).e(\"wrapper\"))\n }, [\n renderSlot(_ctx.$slots, \"placeholder\", {}, () => [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"placeholder\"))\n }, null, 2)\n ])\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 64)),\n unref(preview) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [\n showViewer.value ? (openBlock(), createBlock(unref(ElImageViewer), {\n key: 0,\n \"z-index\": _ctx.zIndex,\n \"initial-index\": unref(imageIndex),\n infinite: _ctx.infinite,\n \"zoom-rate\": _ctx.zoomRate,\n \"url-list\": _ctx.previewSrcList,\n \"hide-on-click-modal\": _ctx.hideOnClickModal,\n teleported: _ctx.previewTeleported,\n \"close-on-press-escape\": _ctx.closeOnPressEscape,\n onClose: closeViewer,\n onSwitch: switchViewer\n }, {\n default: withCtx(() => [\n _ctx.$slots.viewer ? (openBlock(), createElementBlock(\"div\", _hoisted_2, [\n renderSlot(_ctx.$slots, \"viewer\")\n ])) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"z-index\", \"initial-index\", \"infinite\", \"zoom-rate\", \"url-list\", \"hide-on-click-modal\", \"teleported\", \"close-on-press-escape\"])) : createCommentVNode(\"v-if\", true)\n ], 64)) : createCommentVNode(\"v-if\", true)\n ], 6);\n };\n }\n});\nvar Image = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue\"]]);\n\nexport { Image as default };\n//# sourceMappingURL=image2.mjs.map\n","import '../../utils/index.mjs';\nimport Image from './src/image2.mjs';\nexport { imageEmits, imageProps } from './src/image.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElImage = withInstall(Image);\n\nexport { ElImage, ElImage as default };\n//# sourceMappingURL=index.mjs.map\n","import '../browser.mjs';\nimport { isClient } from '@vueuse/core';\n\nconst isInContainer = (el, container) => {\n if (!isClient || !el || !container)\n return false;\n const elRect = el.getBoundingClientRect();\n let containerRect;\n if (container instanceof Element) {\n containerRect = container.getBoundingClientRect();\n } else {\n containerRect = {\n top: 0,\n right: window.innerWidth,\n bottom: window.innerHeight,\n left: 0\n };\n }\n return elRect.top < containerRect.bottom && elRect.bottom > containerRect.top && elRect.right > containerRect.left && elRect.left < containerRect.right;\n};\nconst getOffsetTop = (el) => {\n let offset = 0;\n let parent = el;\n while (parent) {\n offset += parent.offsetTop;\n parent = parent.offsetParent;\n }\n return offset;\n};\nconst getOffsetTopDistance = (el, containerEl) => {\n return Math.abs(getOffsetTop(el) - getOffsetTop(containerEl));\n};\nconst getClientXY = (event) => {\n let clientX;\n let clientY;\n if (event.type === \"touchend\") {\n clientY = event.changedTouches[0].clientY;\n clientX = event.changedTouches[0].clientX;\n } else if (event.type.startsWith(\"touch\")) {\n clientY = event.touches[0].clientY;\n clientX = event.touches[0].clientX;\n } else {\n clientY = event.clientY;\n clientX = event.clientX;\n }\n return {\n clientX,\n clientY\n };\n};\n\nexport { getClientXY, getOffsetTop, getOffsetTopDistance, isInContainer };\n//# sourceMappingURL=position.mjs.map\n","import { isNil } from 'lodash-unified';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { CHANGE_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\n\nconst inputNumberProps = buildProps({\n id: {\n type: String,\n default: void 0\n },\n step: {\n type: Number,\n default: 1\n },\n stepStrictly: Boolean,\n max: {\n type: Number,\n default: Number.POSITIVE_INFINITY\n },\n min: {\n type: Number,\n default: Number.NEGATIVE_INFINITY\n },\n modelValue: Number,\n readonly: Boolean,\n disabled: Boolean,\n size: useSizeProp,\n controls: {\n type: Boolean,\n default: true\n },\n controlsPosition: {\n type: String,\n default: \"\",\n values: [\"\", \"right\"]\n },\n valueOnClear: {\n type: [String, Number, null],\n validator: (val) => val === null || isNumber(val) || [\"min\", \"max\"].includes(val),\n default: null\n },\n name: String,\n label: String,\n placeholder: String,\n precision: {\n type: Number,\n validator: (val) => val >= 0 && val === Number.parseInt(`${val}`, 10)\n },\n validateEvent: {\n type: Boolean,\n default: true\n }\n});\nconst inputNumberEmits = {\n [CHANGE_EVENT]: (cur, prev) => prev !== cur,\n blur: (e) => e instanceof FocusEvent,\n focus: (e) => e instanceof FocusEvent,\n [INPUT_EVENT]: (val) => isNumber(val) || isNil(val),\n [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)\n};\n\nexport { inputNumberEmits, inputNumberProps };\n//# sourceMappingURL=input-number.mjs.map\n","import { defineComponent, ref, reactive, computed, watch, onMounted, onUpdated, openBlock, createElementBlock, normalizeClass, unref, withModifiers, withDirectives, withKeys, createVNode, withCtx, createBlock, createCommentVNode } from 'vue';\nimport { isNil } from 'lodash-unified';\nimport { ElInput } from '../../input/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../form/index.mjs';\nimport '../../../directives/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { ArrowDown, Minus, ArrowUp, Plus } from '@element-plus/icons-vue';\nimport '../../../constants/index.mjs';\nimport { inputNumberProps, inputNumberEmits } from './input-number.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormItem } from '../../form/src/hooks/use-form-item.mjs';\nimport { isNumber, isUndefined } from '../../../utils/types.mjs';\nimport { debugWarn, throwError } from '../../../utils/error.mjs';\nimport { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { INPUT_EVENT, UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { isString } from '@vue/shared';\nimport { vRepeatClick } from '../../../directives/repeat-click/index.mjs';\n\nconst _hoisted_1 = [\"aria-label\", \"onKeydown\"];\nconst _hoisted_2 = [\"aria-label\", \"onKeydown\"];\nconst __default__ = defineComponent({\n name: \"ElInputNumber\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: inputNumberProps,\n emits: inputNumberEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const { t } = useLocale();\n const ns = useNamespace(\"input-number\");\n const input = ref();\n const data = reactive({\n currentValue: props.modelValue,\n userInput: null\n });\n const { formItem } = useFormItem();\n const minDisabled = computed(() => isNumber(props.modelValue) && props.modelValue <= props.min);\n const maxDisabled = computed(() => isNumber(props.modelValue) && props.modelValue >= props.max);\n const numPrecision = computed(() => {\n const stepPrecision = getPrecision(props.step);\n if (!isUndefined(props.precision)) {\n if (stepPrecision > props.precision) {\n debugWarn(\"InputNumber\", \"precision should not be less than the decimal places of step\");\n }\n return props.precision;\n } else {\n return Math.max(getPrecision(props.modelValue), stepPrecision);\n }\n });\n const controlsAtRight = computed(() => {\n return props.controls && props.controlsPosition === \"right\";\n });\n const inputNumberSize = useFormSize();\n const inputNumberDisabled = useFormDisabled();\n const displayValue = computed(() => {\n if (data.userInput !== null) {\n return data.userInput;\n }\n let currentValue = data.currentValue;\n if (isNil(currentValue))\n return \"\";\n if (isNumber(currentValue)) {\n if (Number.isNaN(currentValue))\n return \"\";\n if (!isUndefined(props.precision)) {\n currentValue = currentValue.toFixed(props.precision);\n }\n }\n return currentValue;\n });\n const toPrecision = (num, pre) => {\n if (isUndefined(pre))\n pre = numPrecision.value;\n if (pre === 0)\n return Math.round(num);\n let snum = String(num);\n const pointPos = snum.indexOf(\".\");\n if (pointPos === -1)\n return num;\n const nums = snum.replace(\".\", \"\").split(\"\");\n const datum = nums[pointPos + pre];\n if (!datum)\n return num;\n const length = snum.length;\n if (snum.charAt(length - 1) === \"5\") {\n snum = `${snum.slice(0, Math.max(0, length - 1))}6`;\n }\n return Number.parseFloat(Number(snum).toFixed(pre));\n };\n const getPrecision = (value) => {\n if (isNil(value))\n return 0;\n const valueString = value.toString();\n const dotPosition = valueString.indexOf(\".\");\n let precision = 0;\n if (dotPosition !== -1) {\n precision = valueString.length - dotPosition - 1;\n }\n return precision;\n };\n const ensurePrecision = (val, coefficient = 1) => {\n if (!isNumber(val))\n return data.currentValue;\n return toPrecision(val + props.step * coefficient);\n };\n const increase = () => {\n if (props.readonly || inputNumberDisabled.value || maxDisabled.value)\n return;\n const value = Number(displayValue.value) || 0;\n const newVal = ensurePrecision(value);\n setCurrentValue(newVal);\n emit(INPUT_EVENT, data.currentValue);\n };\n const decrease = () => {\n if (props.readonly || inputNumberDisabled.value || minDisabled.value)\n return;\n const value = Number(displayValue.value) || 0;\n const newVal = ensurePrecision(value, -1);\n setCurrentValue(newVal);\n emit(INPUT_EVENT, data.currentValue);\n };\n const verifyValue = (value, update) => {\n const { max, min, step, precision, stepStrictly, valueOnClear } = props;\n if (max < min) {\n throwError(\"InputNumber\", \"min should not be greater than max.\");\n }\n let newVal = Number(value);\n if (isNil(value) || Number.isNaN(newVal)) {\n return null;\n }\n if (value === \"\") {\n if (valueOnClear === null) {\n return null;\n }\n newVal = isString(valueOnClear) ? { min, max }[valueOnClear] : valueOnClear;\n }\n if (stepStrictly) {\n newVal = toPrecision(Math.round(newVal / step) * step, precision);\n }\n if (!isUndefined(precision)) {\n newVal = toPrecision(newVal, precision);\n }\n if (newVal > max || newVal < min) {\n newVal = newVal > max ? max : min;\n update && emit(UPDATE_MODEL_EVENT, newVal);\n }\n return newVal;\n };\n const setCurrentValue = (value, emitChange = true) => {\n var _a;\n const oldVal = data.currentValue;\n const newVal = verifyValue(value);\n if (!emitChange) {\n emit(UPDATE_MODEL_EVENT, newVal);\n return;\n }\n if (oldVal === newVal)\n return;\n data.userInput = null;\n emit(UPDATE_MODEL_EVENT, newVal);\n emit(CHANGE_EVENT, newVal, oldVal);\n if (props.validateEvent) {\n (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"change\").catch((err) => debugWarn(err));\n }\n data.currentValue = newVal;\n };\n const handleInput = (value) => {\n data.userInput = value;\n const newVal = value === \"\" ? null : Number(value);\n emit(INPUT_EVENT, newVal);\n setCurrentValue(newVal, false);\n };\n const handleInputChange = (value) => {\n const newVal = value !== \"\" ? Number(value) : \"\";\n if (isNumber(newVal) && !Number.isNaN(newVal) || value === \"\") {\n setCurrentValue(newVal);\n }\n data.userInput = null;\n };\n const focus = () => {\n var _a, _b;\n (_b = (_a = input.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);\n };\n const blur = () => {\n var _a, _b;\n (_b = (_a = input.value) == null ? void 0 : _a.blur) == null ? void 0 : _b.call(_a);\n };\n const handleFocus = (event) => {\n emit(\"focus\", event);\n };\n const handleBlur = (event) => {\n var _a;\n emit(\"blur\", event);\n if (props.validateEvent) {\n (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"blur\").catch((err) => debugWarn(err));\n }\n };\n watch(() => props.modelValue, (value) => {\n const userInput = verifyValue(data.userInput);\n const newValue = verifyValue(value, true);\n if (!isNumber(userInput) && (!userInput || userInput !== newValue)) {\n data.currentValue = newValue;\n data.userInput = null;\n }\n }, { immediate: true });\n onMounted(() => {\n var _a;\n const { min, max, modelValue } = props;\n const innerInput = (_a = input.value) == null ? void 0 : _a.input;\n innerInput.setAttribute(\"role\", \"spinbutton\");\n if (Number.isFinite(max)) {\n innerInput.setAttribute(\"aria-valuemax\", String(max));\n } else {\n innerInput.removeAttribute(\"aria-valuemax\");\n }\n if (Number.isFinite(min)) {\n innerInput.setAttribute(\"aria-valuemin\", String(min));\n } else {\n innerInput.removeAttribute(\"aria-valuemin\");\n }\n innerInput.setAttribute(\"aria-valuenow\", String(data.currentValue));\n innerInput.setAttribute(\"aria-disabled\", String(inputNumberDisabled.value));\n if (!isNumber(modelValue) && modelValue != null) {\n let val = Number(modelValue);\n if (Number.isNaN(val)) {\n val = null;\n }\n emit(UPDATE_MODEL_EVENT, val);\n }\n });\n onUpdated(() => {\n var _a;\n const innerInput = (_a = input.value) == null ? void 0 : _a.input;\n innerInput == null ? void 0 : innerInput.setAttribute(\"aria-valuenow\", `${data.currentValue}`);\n });\n expose({\n focus,\n blur\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\n unref(ns).b(),\n unref(ns).m(unref(inputNumberSize)),\n unref(ns).is(\"disabled\", unref(inputNumberDisabled)),\n unref(ns).is(\"without-controls\", !_ctx.controls),\n unref(ns).is(\"controls-right\", unref(controlsAtRight))\n ]),\n onDragstart: _cache[1] || (_cache[1] = withModifiers(() => {\n }, [\"prevent\"]))\n }, [\n _ctx.controls ? withDirectives((openBlock(), createElementBlock(\"span\", {\n key: 0,\n role: \"button\",\n \"aria-label\": unref(t)(\"el.inputNumber.decrease\"),\n class: normalizeClass([unref(ns).e(\"decrease\"), unref(ns).is(\"disabled\", unref(minDisabled))]),\n onKeydown: withKeys(decrease, [\"enter\"])\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n unref(controlsAtRight) ? (openBlock(), createBlock(unref(ArrowDown), { key: 0 })) : (openBlock(), createBlock(unref(Minus), { key: 1 }))\n ]),\n _: 1\n })\n ], 42, _hoisted_1)), [\n [unref(vRepeatClick), decrease]\n ]) : createCommentVNode(\"v-if\", true),\n _ctx.controls ? withDirectives((openBlock(), createElementBlock(\"span\", {\n key: 1,\n role: \"button\",\n \"aria-label\": unref(t)(\"el.inputNumber.increase\"),\n class: normalizeClass([unref(ns).e(\"increase\"), unref(ns).is(\"disabled\", unref(maxDisabled))]),\n onKeydown: withKeys(increase, [\"enter\"])\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n unref(controlsAtRight) ? (openBlock(), createBlock(unref(ArrowUp), { key: 0 })) : (openBlock(), createBlock(unref(Plus), { key: 1 }))\n ]),\n _: 1\n })\n ], 42, _hoisted_2)), [\n [unref(vRepeatClick), increase]\n ]) : createCommentVNode(\"v-if\", true),\n createVNode(unref(ElInput), {\n id: _ctx.id,\n ref_key: \"input\",\n ref: input,\n type: \"number\",\n step: _ctx.step,\n \"model-value\": unref(displayValue),\n placeholder: _ctx.placeholder,\n readonly: _ctx.readonly,\n disabled: unref(inputNumberDisabled),\n size: unref(inputNumberSize),\n max: _ctx.max,\n min: _ctx.min,\n name: _ctx.name,\n label: _ctx.label,\n \"validate-event\": false,\n onWheel: _cache[0] || (_cache[0] = withModifiers(() => {\n }, [\"prevent\"])),\n onKeydown: [\n withKeys(withModifiers(increase, [\"prevent\"]), [\"up\"]),\n withKeys(withModifiers(decrease, [\"prevent\"]), [\"down\"])\n ],\n onBlur: handleBlur,\n onFocus: handleFocus,\n onInput: handleInput,\n onChange: handleInputChange\n }, null, 8, [\"id\", \"step\", \"model-value\", \"placeholder\", \"readonly\", \"disabled\", \"size\", \"max\", \"min\", \"name\", \"label\", \"onKeydown\"])\n ], 34);\n };\n }\n});\nvar InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue\"]]);\n\nexport { InputNumber as default };\n//# sourceMappingURL=input-number2.mjs.map\n","import '../../utils/index.mjs';\nimport InputNumber from './src/input-number2.mjs';\nexport { inputNumberEmits, inputNumberProps } from './src/input-number.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElInputNumber = withInstall(InputNumber);\n\nexport { ElInputNumber, ElInputNumber as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\n\nconst linkProps = buildProps({\n type: {\n type: String,\n values: [\"primary\", \"success\", \"warning\", \"info\", \"danger\", \"default\"],\n default: \"default\"\n },\n underline: {\n type: Boolean,\n default: true\n },\n disabled: { type: Boolean, default: false },\n href: { type: String, default: \"\" },\n icon: {\n type: iconPropType\n }\n});\nconst linkEmits = {\n click: (evt) => evt instanceof MouseEvent\n};\n\nexport { linkEmits, linkProps };\n//# sourceMappingURL=link.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, renderSlot } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { linkProps, linkEmits } from './link.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"href\"];\nconst __default__ = defineComponent({\n name: \"ElLink\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: linkProps,\n emits: linkEmits,\n setup(__props, { emit }) {\n const props = __props;\n const ns = useNamespace(\"link\");\n const linkKls = computed(() => [\n ns.b(),\n ns.m(props.type),\n ns.is(\"disabled\", props.disabled),\n ns.is(\"underline\", props.underline && !props.disabled)\n ]);\n function handleClick(event) {\n if (!props.disabled)\n emit(\"click\", event);\n }\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"a\", {\n class: normalizeClass(unref(linkKls)),\n href: _ctx.disabled || !_ctx.href ? void 0 : _ctx.href,\n onClick: handleClick\n }, [\n _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true),\n _ctx.$slots.default ? (openBlock(), createElementBlock(\"span\", {\n key: 1,\n class: normalizeClass(unref(ns).e(\"inner\"))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2)) : createCommentVNode(\"v-if\", true),\n _ctx.$slots.icon ? renderSlot(_ctx.$slots, \"icon\", { key: 2 }) : createCommentVNode(\"v-if\", true)\n ], 10, _hoisted_1);\n };\n }\n});\nvar Link = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue\"]]);\n\nexport { Link as default };\n//# sourceMappingURL=link2.mjs.map\n","import '../../utils/index.mjs';\nimport Link from './src/link2.mjs';\nexport { linkEmits, linkProps } from './src/link.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElLink = withInstall(Link);\n\nexport { ElLink, ElLink as default };\n//# sourceMappingURL=index.mjs.map\n","const elPaginationKey = Symbol(\"elPaginationKey\");\n\nexport { elPaginationKey };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\nimport { iconPropType } from '../../../../utils/vue/icon.mjs';\n\nconst paginationPrevProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1\n },\n prevText: {\n type: String\n },\n prevIcon: {\n type: iconPropType\n }\n});\nconst paginationPrevEmits = {\n click: (evt) => evt instanceof MouseEvent\n};\n\nexport { paginationPrevEmits, paginationPrevProps };\n//# sourceMappingURL=prev.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, unref, toDisplayString, createBlock, withCtx, resolveDynamicComponent } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { paginationPrevProps, paginationPrevEmits } from './prev.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst _hoisted_1 = [\"disabled\", \"aria-label\", \"aria-disabled\"];\nconst _hoisted_2 = { key: 0 };\nconst __default__ = defineComponent({\n name: \"ElPaginationPrev\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: paginationPrevProps,\n emits: paginationPrevEmits,\n setup(__props) {\n const props = __props;\n const { t } = useLocale();\n const internalDisabled = computed(() => props.disabled || props.currentPage <= 1);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"button\", {\n type: \"button\",\n class: \"btn-prev\",\n disabled: unref(internalDisabled),\n \"aria-label\": _ctx.prevText || unref(t)(\"el.pagination.prev\"),\n \"aria-disabled\": unref(internalDisabled),\n onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit(\"click\", $event))\n }, [\n _ctx.prevText ? (openBlock(), createElementBlock(\"span\", _hoisted_2, toDisplayString(_ctx.prevText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.prevIcon)))\n ]),\n _: 1\n }))\n ], 8, _hoisted_1);\n };\n }\n});\nvar Prev = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue\"]]);\n\nexport { Prev as default };\n//# sourceMappingURL=prev2.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\nimport { iconPropType } from '../../../../utils/vue/icon.mjs';\n\nconst paginationNextProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1\n },\n pageCount: {\n type: Number,\n default: 50\n },\n nextText: {\n type: String\n },\n nextIcon: {\n type: iconPropType\n }\n});\n\nexport { paginationNextProps };\n//# sourceMappingURL=next.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, unref, toDisplayString, createBlock, withCtx, resolveDynamicComponent } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { paginationNextProps } from './next.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst _hoisted_1 = [\"disabled\", \"aria-label\", \"aria-disabled\"];\nconst _hoisted_2 = { key: 0 };\nconst __default__ = defineComponent({\n name: \"ElPaginationNext\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: paginationNextProps,\n emits: [\"click\"],\n setup(__props) {\n const props = __props;\n const { t } = useLocale();\n const internalDisabled = computed(() => props.disabled || props.currentPage === props.pageCount || props.pageCount === 0);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"button\", {\n type: \"button\",\n class: \"btn-next\",\n disabled: unref(internalDisabled),\n \"aria-label\": _ctx.nextText || unref(t)(\"el.pagination.next\"),\n \"aria-disabled\": unref(internalDisabled),\n onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit(\"click\", $event))\n }, [\n _ctx.nextText ? (openBlock(), createElementBlock(\"span\", _hoisted_2, toDisplayString(_ctx.nextText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.nextIcon)))\n ]),\n _: 1\n }))\n ], 8, _hoisted_1);\n };\n }\n});\nvar Next = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue\"]]);\n\nexport { Next as default };\n//# sourceMappingURL=next2.mjs.map\n","const selectGroupKey = Symbol(\"ElSelectGroup\");\nconst selectKey = Symbol(\"ElSelect\");\n\nexport { selectGroupKey, selectKey };\n//# sourceMappingURL=token.mjs.map\n","import { defineComponent, computed, unref, reactive, toRefs, getCurrentInstance, onBeforeUnmount, nextTick, withDirectives, openBlock, createElementBlock, normalizeClass, withModifiers, renderSlot, createElementVNode, toDisplayString, vShow } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { useOption } from './useOption.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElOption\",\n componentName: \"ElOption\",\n props: {\n value: {\n required: true,\n type: [String, Number, Boolean, Object]\n },\n label: [String, Number],\n created: Boolean,\n disabled: {\n type: Boolean,\n default: false\n }\n },\n setup(props) {\n const ns = useNamespace(\"select\");\n const containerKls = computed(() => [\n ns.be(\"dropdown\", \"item\"),\n ns.is(\"disabled\", unref(isDisabled)),\n {\n selected: unref(itemSelected),\n hover: unref(hover)\n }\n ]);\n const states = reactive({\n index: -1,\n groupDisabled: false,\n visible: true,\n hitState: false,\n hover: false\n });\n const { currentLabel, itemSelected, isDisabled, select, hoverItem } = useOption(props, states);\n const { visible, hover } = toRefs(states);\n const vm = getCurrentInstance().proxy;\n select.onOptionCreate(vm);\n onBeforeUnmount(() => {\n const key = vm.value;\n const { selected } = select;\n const selectedOptions = select.props.multiple ? selected : [selected];\n const doesSelected = selectedOptions.some((item) => {\n return item.value === vm.value;\n });\n nextTick(() => {\n if (select.cachedOptions.get(key) === vm && !doesSelected) {\n select.cachedOptions.delete(key);\n }\n });\n select.onOptionDestroy(key, vm);\n });\n function selectOptionClick() {\n if (props.disabled !== true && states.groupDisabled !== true) {\n select.handleOptionSelect(vm);\n }\n }\n return {\n ns,\n containerKls,\n currentLabel,\n itemSelected,\n isDisabled,\n select,\n hoverItem,\n visible,\n hover,\n selectOptionClick,\n states\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return withDirectives((openBlock(), createElementBlock(\"li\", {\n class: normalizeClass(_ctx.containerKls),\n onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.hoverItem && _ctx.hoverItem(...args)),\n onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.selectOptionClick && _ctx.selectOptionClick(...args), [\"stop\"]))\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createElementVNode(\"span\", null, toDisplayString(_ctx.currentLabel), 1)\n ])\n ], 34)), [\n [vShow, _ctx.visible]\n ]);\n}\nvar Option = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue\"]]);\n\nexport { Option as default };\n//# sourceMappingURL=option.mjs.map\n","import { inject, computed, getCurrentInstance, toRaw, watch, unref } from 'vue';\nimport { get } from 'lodash-unified';\nimport '../../../utils/index.mjs';\nimport { selectKey, selectGroupKey } from './token.mjs';\nimport { escapeStringRegexp } from '../../../utils/strings.mjs';\n\nfunction useOption(props, states) {\n const select = inject(selectKey);\n const selectGroup = inject(selectGroupKey, { disabled: false });\n const isObject = computed(() => {\n return Object.prototype.toString.call(props.value).toLowerCase() === \"[object object]\";\n });\n const itemSelected = computed(() => {\n if (!select.props.multiple) {\n return isEqual(props.value, select.props.modelValue);\n } else {\n return contains(select.props.modelValue, props.value);\n }\n });\n const limitReached = computed(() => {\n if (select.props.multiple) {\n const modelValue = select.props.modelValue || [];\n return !itemSelected.value && modelValue.length >= select.props.multipleLimit && select.props.multipleLimit > 0;\n } else {\n return false;\n }\n });\n const currentLabel = computed(() => {\n return props.label || (isObject.value ? \"\" : props.value);\n });\n const currentValue = computed(() => {\n return props.value || props.label || \"\";\n });\n const isDisabled = computed(() => {\n return props.disabled || states.groupDisabled || limitReached.value;\n });\n const instance = getCurrentInstance();\n const contains = (arr = [], target) => {\n if (!isObject.value) {\n return arr && arr.includes(target);\n } else {\n const valueKey = select.props.valueKey;\n return arr && arr.some((item) => {\n return toRaw(get(item, valueKey)) === get(target, valueKey);\n });\n }\n };\n const isEqual = (a, b) => {\n if (!isObject.value) {\n return a === b;\n } else {\n const { valueKey } = select.props;\n return get(a, valueKey) === get(b, valueKey);\n }\n };\n const hoverItem = () => {\n if (!props.disabled && !selectGroup.disabled) {\n select.hoverIndex = select.optionsArray.indexOf(instance.proxy);\n }\n };\n watch(() => currentLabel.value, () => {\n if (!props.created && !select.props.remote)\n select.setSelected();\n });\n watch(() => props.value, (val, oldVal) => {\n const { remote, valueKey } = select.props;\n if (!Object.is(val, oldVal)) {\n select.onOptionDestroy(oldVal, instance.proxy);\n select.onOptionCreate(instance.proxy);\n }\n if (!props.created && !remote) {\n if (valueKey && typeof val === \"object\" && typeof oldVal === \"object\" && val[valueKey] === oldVal[valueKey]) {\n return;\n }\n select.setSelected();\n }\n });\n watch(() => selectGroup.disabled, () => {\n states.groupDisabled = selectGroup.disabled;\n }, { immediate: true });\n const { queryChange } = toRaw(select);\n watch(queryChange, (changes) => {\n const { query } = unref(changes);\n const regexp = new RegExp(escapeStringRegexp(query), \"i\");\n states.visible = regexp.test(currentLabel.value) || props.created;\n if (!states.visible) {\n select.filteredOptionsCount--;\n }\n }, { immediate: true });\n return {\n select,\n currentLabel,\n currentValue,\n itemSelected,\n isDisabled,\n hoverItem\n };\n}\n\nexport { useOption };\n//# sourceMappingURL=useOption.mjs.map\n","import { defineComponent, inject, computed, ref, onMounted, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from 'vue';\nimport { useResizeObserver } from '@vueuse/core';\nimport '../../../hooks/index.mjs';\nimport { selectKey } from './token.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElSelectDropdown\",\n componentName: \"ElSelectDropdown\",\n setup() {\n const select = inject(selectKey);\n const ns = useNamespace(\"select\");\n const popperClass = computed(() => select.props.popperClass);\n const isMultiple = computed(() => select.props.multiple);\n const isFitInputWidth = computed(() => select.props.fitInputWidth);\n const minWidth = ref(\"\");\n function updateMinWidth() {\n var _a;\n minWidth.value = `${(_a = select.selectWrapper) == null ? void 0 : _a.offsetWidth}px`;\n }\n onMounted(() => {\n updateMinWidth();\n useResizeObserver(select.selectWrapper, updateMinWidth);\n });\n return {\n ns,\n minWidth,\n popperClass,\n isMultiple,\n isFitInputWidth\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([_ctx.ns.b(\"dropdown\"), _ctx.ns.is(\"multiple\", _ctx.isMultiple), _ctx.popperClass]),\n style: normalizeStyle({ [_ctx.isFitInputWidth ? \"width\" : \"minWidth\"]: _ctx.minWidth })\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 6);\n}\nvar ElSelectMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue\"]]);\n\nexport { ElSelectMenu as default };\n//# sourceMappingURL=select-dropdown.mjs.map\n","import { reactive, computed, ref, shallowRef, watch, nextTick, triggerRef, toRaw, unref } from 'vue';\nimport { isFunction, toRawType, isString, isObject } from '@vue/shared';\nimport { isEqual, get, debounce } from 'lodash-unified';\nimport '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useDeprecated } from '../../../hooks/use-deprecated/index.mjs';\nimport { useFormItem } from '../../form/src/hooks/use-form-item.mjs';\nimport { ValidateComponentsMap } from '../../../utils/vue/icon.mjs';\nimport { useFormSize } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { isClient } from '@vueuse/core';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { getComponentSize } from '../../../utils/vue/size.mjs';\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { scrollIntoView } from '../../../utils/dom/scroll.mjs';\nimport { isKorean } from '../../../utils/i18n.mjs';\n\nfunction useSelectStates(props) {\n const { t } = useLocale();\n return reactive({\n options: /* @__PURE__ */ new Map(),\n cachedOptions: /* @__PURE__ */ new Map(),\n createdLabel: null,\n createdSelected: false,\n selected: props.multiple ? [] : {},\n inputLength: 20,\n inputWidth: 0,\n optionsCount: 0,\n filteredOptionsCount: 0,\n visible: false,\n selectedLabel: \"\",\n hoverIndex: -1,\n query: \"\",\n previousQuery: null,\n inputHovering: false,\n cachedPlaceHolder: \"\",\n currentPlaceholder: t(\"el.select.placeholder\"),\n menuVisibleOnFocus: false,\n isOnComposition: false,\n prefixWidth: 11,\n mouseEnter: false,\n focused: false\n });\n}\nconst useSelect = (props, states, ctx) => {\n const { t } = useLocale();\n const ns = useNamespace(\"select\");\n useDeprecated({\n from: \"suffixTransition\",\n replacement: \"override style scheme\",\n version: \"2.3.0\",\n scope: \"props\",\n ref: \"https://element-plus.org/en-US/component/select.html#select-attributes\"\n }, computed(() => props.suffixTransition === false));\n const reference = ref(null);\n const input = ref(null);\n const iOSInput = ref(null);\n const tooltipRef = ref(null);\n const tagTooltipRef = ref(null);\n const tags = ref(null);\n const selectWrapper = ref(null);\n const scrollbar = ref(null);\n const hoverOption = ref(-1);\n const queryChange = shallowRef({ query: \"\" });\n const groupQueryChange = shallowRef(\"\");\n const optionList = ref([]);\n let originClientHeight = 0;\n const { form, formItem } = useFormItem();\n const readonly = computed(() => !props.filterable || props.multiple || !states.visible);\n const selectDisabled = computed(() => props.disabled || (form == null ? void 0 : form.disabled));\n const showClose = computed(() => {\n const hasValue = props.multiple ? Array.isArray(props.modelValue) && props.modelValue.length > 0 : props.modelValue !== void 0 && props.modelValue !== null && props.modelValue !== \"\";\n const criteria = props.clearable && !selectDisabled.value && states.inputHovering && hasValue;\n return criteria;\n });\n const iconComponent = computed(() => props.remote && props.filterable && !props.remoteShowSuffix ? \"\" : props.suffixIcon);\n const iconReverse = computed(() => ns.is(\"reverse\", iconComponent.value && states.visible && props.suffixTransition));\n const showStatusIconAndState = computed(() => (form == null ? void 0 : form.statusIcon) && (formItem == null ? void 0 : formItem.validateState) && ValidateComponentsMap[formItem == null ? void 0 : formItem.validateState]);\n const debounce$1 = computed(() => props.remote ? 300 : 0);\n const emptyText = computed(() => {\n if (props.loading) {\n return props.loadingText || t(\"el.select.loading\");\n } else {\n if (props.remote && states.query === \"\" && states.options.size === 0)\n return false;\n if (props.filterable && states.query && states.options.size > 0 && states.filteredOptionsCount === 0) {\n return props.noMatchText || t(\"el.select.noMatch\");\n }\n if (states.options.size === 0) {\n return props.noDataText || t(\"el.select.noData\");\n }\n }\n return null;\n });\n const optionsArray = computed(() => {\n const list = Array.from(states.options.values());\n const newList = [];\n optionList.value.forEach((item) => {\n const index = list.findIndex((i) => i.currentLabel === item);\n if (index > -1) {\n newList.push(list[index]);\n }\n });\n return newList.length ? newList : list;\n });\n const cachedOptionsArray = computed(() => Array.from(states.cachedOptions.values()));\n const showNewOption = computed(() => {\n const hasExistingOption = optionsArray.value.filter((option) => {\n return !option.created;\n }).some((option) => {\n return option.currentLabel === states.query;\n });\n return props.filterable && props.allowCreate && states.query !== \"\" && !hasExistingOption;\n });\n const selectSize = useFormSize();\n const collapseTagSize = computed(() => [\"small\"].includes(selectSize.value) ? \"small\" : \"default\");\n const dropMenuVisible = computed({\n get() {\n return states.visible && emptyText.value !== false;\n },\n set(val) {\n states.visible = val;\n }\n });\n watch([() => selectDisabled.value, () => selectSize.value, () => form == null ? void 0 : form.size], () => {\n nextTick(() => {\n resetInputHeight();\n });\n });\n watch(() => props.placeholder, (val) => {\n states.cachedPlaceHolder = states.currentPlaceholder = val;\n const hasValue = props.multiple && Array.isArray(props.modelValue) && props.modelValue.length > 0;\n if (hasValue) {\n states.currentPlaceholder = \"\";\n }\n });\n watch(() => props.modelValue, (val, oldVal) => {\n if (props.multiple) {\n resetInputHeight();\n if (val && val.length > 0 || input.value && states.query !== \"\") {\n states.currentPlaceholder = \"\";\n } else {\n states.currentPlaceholder = states.cachedPlaceHolder;\n }\n if (props.filterable && !props.reserveKeyword) {\n states.query = \"\";\n handleQueryChange(states.query);\n }\n }\n setSelected();\n if (props.filterable && !props.multiple) {\n states.inputLength = 20;\n }\n if (!isEqual(val, oldVal) && props.validateEvent) {\n formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n }\n }, {\n flush: \"post\",\n deep: true\n });\n watch(() => states.visible, (val) => {\n var _a, _b, _c, _d, _e;\n if (!val) {\n if (props.filterable) {\n if (isFunction(props.filterMethod)) {\n props.filterMethod(\"\");\n }\n if (isFunction(props.remoteMethod)) {\n props.remoteMethod(\"\");\n }\n }\n states.query = \"\";\n states.previousQuery = null;\n states.selectedLabel = \"\";\n states.inputLength = 20;\n states.menuVisibleOnFocus = false;\n resetHoverIndex();\n nextTick(() => {\n if (input.value && input.value.value === \"\" && states.selected.length === 0) {\n states.currentPlaceholder = states.cachedPlaceHolder;\n }\n });\n if (!props.multiple) {\n if (states.selected) {\n if (props.filterable && props.allowCreate && states.createdSelected && states.createdLabel) {\n states.selectedLabel = states.createdLabel;\n } else {\n states.selectedLabel = states.selected.currentLabel;\n }\n if (props.filterable)\n states.query = states.selectedLabel;\n }\n if (props.filterable) {\n states.currentPlaceholder = states.cachedPlaceHolder;\n }\n }\n } else {\n (_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);\n if (props.filterable) {\n states.filteredOptionsCount = states.optionsCount;\n states.query = props.remote ? \"\" : states.selectedLabel;\n (_d = (_c = iOSInput.value) == null ? void 0 : _c.focus) == null ? void 0 : _d.call(_c);\n if (props.multiple) {\n (_e = input.value) == null ? void 0 : _e.focus();\n } else {\n if (states.selectedLabel) {\n states.currentPlaceholder = `${states.selectedLabel}`;\n states.selectedLabel = \"\";\n }\n }\n handleQueryChange(states.query);\n if (!props.multiple && !props.remote) {\n queryChange.value.query = \"\";\n triggerRef(queryChange);\n triggerRef(groupQueryChange);\n }\n }\n }\n ctx.emit(\"visible-change\", val);\n });\n watch(() => states.options.entries(), () => {\n var _a, _b, _c;\n if (!isClient)\n return;\n (_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);\n if (props.multiple) {\n resetInputHeight();\n }\n const inputs = ((_c = selectWrapper.value) == null ? void 0 : _c.querySelectorAll(\"input\")) || [];\n if (!Array.from(inputs).includes(document.activeElement)) {\n setSelected();\n }\n if (props.defaultFirstOption && (props.filterable || props.remote) && states.filteredOptionsCount) {\n checkDefaultFirstOption();\n }\n }, {\n flush: \"post\"\n });\n watch(() => states.hoverIndex, (val) => {\n if (isNumber(val) && val > -1) {\n hoverOption.value = optionsArray.value[val] || {};\n } else {\n hoverOption.value = {};\n }\n optionsArray.value.forEach((option) => {\n option.hover = hoverOption.value === option;\n });\n });\n const resetInputHeight = () => {\n nextTick(() => {\n var _a, _b;\n if (!reference.value)\n return;\n const input2 = reference.value.$el.querySelector(\"input\");\n originClientHeight = originClientHeight || (input2.clientHeight > 0 ? input2.clientHeight + 2 : 0);\n const _tags = tags.value;\n const gotSize = getComponentSize(selectSize.value || (form == null ? void 0 : form.size));\n const sizeInMap = selectSize.value || gotSize === originClientHeight || originClientHeight <= 0 ? gotSize : originClientHeight;\n const isElHidden = input2.offsetParent === null;\n !isElHidden && (input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`);\n if (states.visible && emptyText.value !== false) {\n (_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);\n }\n });\n };\n const handleQueryChange = async (val) => {\n if (states.previousQuery === val || states.isOnComposition)\n return;\n if (states.previousQuery === null && (isFunction(props.filterMethod) || isFunction(props.remoteMethod))) {\n states.previousQuery = val;\n return;\n }\n states.previousQuery = val;\n nextTick(() => {\n var _a, _b;\n if (states.visible)\n (_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);\n });\n states.hoverIndex = -1;\n if (props.multiple && props.filterable) {\n nextTick(() => {\n const length = input.value.value.length * 15 + 20;\n states.inputLength = props.collapseTags ? Math.min(50, length) : length;\n managePlaceholder();\n resetInputHeight();\n });\n }\n if (props.remote && isFunction(props.remoteMethod)) {\n states.hoverIndex = -1;\n props.remoteMethod(val);\n } else if (isFunction(props.filterMethod)) {\n props.filterMethod(val);\n triggerRef(groupQueryChange);\n } else {\n states.filteredOptionsCount = states.optionsCount;\n queryChange.value.query = val;\n triggerRef(queryChange);\n triggerRef(groupQueryChange);\n }\n if (props.defaultFirstOption && (props.filterable || props.remote) && states.filteredOptionsCount) {\n await nextTick();\n checkDefaultFirstOption();\n }\n };\n const managePlaceholder = () => {\n if (states.currentPlaceholder !== \"\") {\n states.currentPlaceholder = input.value.value ? \"\" : states.cachedPlaceHolder;\n }\n };\n const checkDefaultFirstOption = () => {\n const optionsInDropdown = optionsArray.value.filter((n) => n.visible && !n.disabled && !n.states.groupDisabled);\n const userCreatedOption = optionsInDropdown.find((n) => n.created);\n const firstOriginOption = optionsInDropdown[0];\n states.hoverIndex = getValueIndex(optionsArray.value, userCreatedOption || firstOriginOption);\n };\n const setSelected = () => {\n var _a;\n if (!props.multiple) {\n const option = getOption(props.modelValue);\n if ((_a = option.props) == null ? void 0 : _a.created) {\n states.createdLabel = option.props.value;\n states.createdSelected = true;\n } else {\n states.createdSelected = false;\n }\n states.selectedLabel = option.currentLabel;\n states.selected = option;\n if (props.filterable)\n states.query = states.selectedLabel;\n return;\n } else {\n states.selectedLabel = \"\";\n }\n const result = [];\n if (Array.isArray(props.modelValue)) {\n props.modelValue.forEach((value) => {\n result.push(getOption(value));\n });\n }\n states.selected = result;\n nextTick(() => {\n resetInputHeight();\n });\n };\n const getOption = (value) => {\n let option;\n const isObjectValue = toRawType(value).toLowerCase() === \"object\";\n const isNull = toRawType(value).toLowerCase() === \"null\";\n const isUndefined = toRawType(value).toLowerCase() === \"undefined\";\n for (let i = states.cachedOptions.size - 1; i >= 0; i--) {\n const cachedOption = cachedOptionsArray.value[i];\n const isEqualValue = isObjectValue ? get(cachedOption.value, props.valueKey) === get(value, props.valueKey) : cachedOption.value === value;\n if (isEqualValue) {\n option = {\n value,\n currentLabel: cachedOption.currentLabel,\n isDisabled: cachedOption.isDisabled\n };\n break;\n }\n }\n if (option)\n return option;\n const label = isObjectValue ? value.label : !isNull && !isUndefined ? value : \"\";\n const newOption = {\n value,\n currentLabel: label\n };\n if (props.multiple) {\n ;\n newOption.hitState = false;\n }\n return newOption;\n };\n const resetHoverIndex = () => {\n setTimeout(() => {\n const valueKey = props.valueKey;\n if (!props.multiple) {\n states.hoverIndex = optionsArray.value.findIndex((item) => {\n return getValueKey(item) === getValueKey(states.selected);\n });\n } else {\n if (states.selected.length > 0) {\n states.hoverIndex = Math.min.apply(null, states.selected.map((selected) => {\n return optionsArray.value.findIndex((item) => {\n return get(item, valueKey) === get(selected, valueKey);\n });\n }));\n } else {\n states.hoverIndex = -1;\n }\n }\n }, 300);\n };\n const handleResize = () => {\n var _a, _b;\n resetInputWidth();\n (_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);\n props.multiple && resetInputHeight();\n };\n const resetInputWidth = () => {\n var _a;\n states.inputWidth = (_a = reference.value) == null ? void 0 : _a.$el.offsetWidth;\n };\n const onInputChange = () => {\n if (props.filterable && states.query !== states.selectedLabel) {\n states.query = states.selectedLabel;\n handleQueryChange(states.query);\n }\n };\n const debouncedOnInputChange = debounce(() => {\n onInputChange();\n }, debounce$1.value);\n const debouncedQueryChange = debounce((e) => {\n handleQueryChange(e.target.value);\n }, debounce$1.value);\n const emitChange = (val) => {\n if (!isEqual(props.modelValue, val)) {\n ctx.emit(CHANGE_EVENT, val);\n }\n };\n const deletePrevTag = (e) => {\n if (e.code === EVENT_CODE.delete)\n return;\n if (e.target.value.length <= 0 && !toggleLastOptionHitState()) {\n const value = props.modelValue.slice();\n value.pop();\n ctx.emit(UPDATE_MODEL_EVENT, value);\n emitChange(value);\n }\n if (e.target.value.length === 1 && props.modelValue.length === 0) {\n states.currentPlaceholder = states.cachedPlaceHolder;\n }\n };\n const deleteTag = (event, tag) => {\n const index = states.selected.indexOf(tag);\n if (index > -1 && !selectDisabled.value) {\n const value = props.modelValue.slice();\n value.splice(index, 1);\n ctx.emit(UPDATE_MODEL_EVENT, value);\n emitChange(value);\n ctx.emit(\"remove-tag\", tag.value);\n }\n event.stopPropagation();\n focus();\n };\n const deleteSelected = (event) => {\n event.stopPropagation();\n const value = props.multiple ? [] : \"\";\n if (!isString(value)) {\n for (const item of states.selected) {\n if (item.isDisabled)\n value.push(item.value);\n }\n }\n ctx.emit(UPDATE_MODEL_EVENT, value);\n emitChange(value);\n states.hoverIndex = -1;\n states.visible = false;\n ctx.emit(\"clear\");\n focus();\n };\n const handleOptionSelect = (option) => {\n var _a;\n if (props.multiple) {\n const value = (props.modelValue || []).slice();\n const optionIndex = getValueIndex(value, option.value);\n if (optionIndex > -1) {\n value.splice(optionIndex, 1);\n } else if (props.multipleLimit <= 0 || value.length < props.multipleLimit) {\n value.push(option.value);\n }\n ctx.emit(UPDATE_MODEL_EVENT, value);\n emitChange(value);\n if (option.created) {\n states.query = \"\";\n handleQueryChange(\"\");\n states.inputLength = 20;\n }\n if (props.filterable)\n (_a = input.value) == null ? void 0 : _a.focus();\n } else {\n ctx.emit(UPDATE_MODEL_EVENT, option.value);\n emitChange(option.value);\n states.visible = false;\n }\n setSoftFocus();\n if (states.visible)\n return;\n nextTick(() => {\n scrollToOption(option);\n });\n };\n const getValueIndex = (arr = [], value) => {\n if (!isObject(value))\n return arr.indexOf(value);\n const valueKey = props.valueKey;\n let index = -1;\n arr.some((item, i) => {\n if (toRaw(get(item, valueKey)) === get(value, valueKey)) {\n index = i;\n return true;\n }\n return false;\n });\n return index;\n };\n const setSoftFocus = () => {\n const _input = input.value || reference.value;\n if (_input) {\n _input == null ? void 0 : _input.focus();\n }\n };\n const scrollToOption = (option) => {\n var _a, _b, _c, _d, _e;\n const targetOption = Array.isArray(option) ? option[0] : option;\n let target = null;\n if (targetOption == null ? void 0 : targetOption.value) {\n const options = optionsArray.value.filter((item) => item.value === targetOption.value);\n if (options.length > 0) {\n target = options[0].$el;\n }\n }\n if (tooltipRef.value && target) {\n const menu = (_d = (_c = (_b = (_a = tooltipRef.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef) == null ? void 0 : _c.querySelector) == null ? void 0 : _d.call(_c, `.${ns.be(\"dropdown\", \"wrap\")}`);\n if (menu) {\n scrollIntoView(menu, target);\n }\n }\n (_e = scrollbar.value) == null ? void 0 : _e.handleScroll();\n };\n const onOptionCreate = (vm) => {\n states.optionsCount++;\n states.filteredOptionsCount++;\n states.options.set(vm.value, vm);\n states.cachedOptions.set(vm.value, vm);\n };\n const onOptionDestroy = (key, vm) => {\n if (states.options.get(key) === vm) {\n states.optionsCount--;\n states.filteredOptionsCount--;\n states.options.delete(key);\n }\n };\n const resetInputState = (e) => {\n if (e.code !== EVENT_CODE.backspace)\n toggleLastOptionHitState(false);\n states.inputLength = input.value.value.length * 15 + 20;\n resetInputHeight();\n };\n const toggleLastOptionHitState = (hit) => {\n if (!Array.isArray(states.selected))\n return;\n const option = states.selected[states.selected.length - 1];\n if (!option)\n return;\n if (hit === true || hit === false) {\n option.hitState = hit;\n return hit;\n }\n option.hitState = !option.hitState;\n return option.hitState;\n };\n const handleComposition = (event) => {\n const text = event.target.value;\n if (event.type === \"compositionend\") {\n states.isOnComposition = false;\n nextTick(() => handleQueryChange(text));\n } else {\n const lastCharacter = text[text.length - 1] || \"\";\n states.isOnComposition = !isKorean(lastCharacter);\n }\n };\n const handleMenuEnter = () => {\n nextTick(() => scrollToOption(states.selected));\n };\n const handleFocus = (event) => {\n if (!states.focused) {\n if (props.automaticDropdown || props.filterable) {\n if (props.filterable && !states.visible) {\n states.menuVisibleOnFocus = true;\n }\n states.visible = true;\n }\n states.focused = true;\n ctx.emit(\"focus\", event);\n }\n };\n const focus = () => {\n var _a, _b;\n if (states.visible) {\n ;\n (_a = input.value || reference.value) == null ? void 0 : _a.focus();\n } else {\n (_b = reference.value) == null ? void 0 : _b.focus();\n }\n };\n const blur = () => {\n var _a, _b, _c;\n states.visible = false;\n (_a = reference.value) == null ? void 0 : _a.blur();\n (_c = (_b = iOSInput.value) == null ? void 0 : _b.blur) == null ? void 0 : _c.call(_b);\n };\n const handleBlur = (event) => {\n var _a, _b, _c;\n if (((_a = tooltipRef.value) == null ? void 0 : _a.isFocusInsideContent(event)) || ((_b = tagTooltipRef.value) == null ? void 0 : _b.isFocusInsideContent(event)) || ((_c = selectWrapper.value) == null ? void 0 : _c.contains(event.relatedTarget))) {\n return;\n }\n states.visible && handleClose();\n states.focused = false;\n ctx.emit(\"blur\", event);\n };\n const handleClearClick = (event) => {\n deleteSelected(event);\n };\n const handleClose = () => {\n states.visible = false;\n };\n const handleKeydownEscape = (event) => {\n if (states.visible) {\n event.preventDefault();\n event.stopPropagation();\n states.visible = false;\n }\n };\n const toggleMenu = (e) => {\n if (e && !states.mouseEnter) {\n return;\n }\n if (!selectDisabled.value) {\n if (states.menuVisibleOnFocus) {\n states.menuVisibleOnFocus = false;\n } else {\n if (!tooltipRef.value || !tooltipRef.value.isFocusInsideContent()) {\n states.visible = !states.visible;\n }\n }\n focus();\n }\n };\n const selectOption = () => {\n if (!states.visible) {\n toggleMenu();\n } else {\n if (optionsArray.value[states.hoverIndex]) {\n handleOptionSelect(optionsArray.value[states.hoverIndex]);\n }\n }\n };\n const getValueKey = (item) => {\n return isObject(item.value) ? get(item.value, props.valueKey) : item.value;\n };\n const optionsAllDisabled = computed(() => optionsArray.value.filter((option) => option.visible).every((option) => option.disabled));\n const showTagList = computed(() => states.selected.slice(0, props.maxCollapseTags));\n const collapseTagList = computed(() => states.selected.slice(props.maxCollapseTags));\n const navigateOptions = (direction) => {\n if (!states.visible) {\n states.visible = true;\n return;\n }\n if (states.options.size === 0 || states.filteredOptionsCount === 0)\n return;\n if (states.isOnComposition)\n return;\n if (!optionsAllDisabled.value) {\n if (direction === \"next\") {\n states.hoverIndex++;\n if (states.hoverIndex === states.options.size) {\n states.hoverIndex = 0;\n }\n } else if (direction === \"prev\") {\n states.hoverIndex--;\n if (states.hoverIndex < 0) {\n states.hoverIndex = states.options.size - 1;\n }\n }\n const option = optionsArray.value[states.hoverIndex];\n if (option.disabled === true || option.states.groupDisabled === true || !option.visible) {\n navigateOptions(direction);\n }\n nextTick(() => scrollToOption(hoverOption.value));\n }\n };\n const handleMouseEnter = () => {\n states.mouseEnter = true;\n };\n const handleMouseLeave = () => {\n states.mouseEnter = false;\n };\n const handleDeleteTooltipTag = (event, tag) => {\n var _a, _b;\n deleteTag(event, tag);\n (_b = (_a = tagTooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);\n };\n const selectTagsStyle = computed(() => ({\n maxWidth: `${unref(states.inputWidth) - 32 - (showStatusIconAndState.value ? 22 : 0)}px`,\n width: \"100%\"\n }));\n return {\n optionList,\n optionsArray,\n selectSize,\n handleResize,\n debouncedOnInputChange,\n debouncedQueryChange,\n deletePrevTag,\n deleteTag,\n deleteSelected,\n handleOptionSelect,\n scrollToOption,\n readonly,\n resetInputHeight,\n showClose,\n iconComponent,\n iconReverse,\n showNewOption,\n collapseTagSize,\n setSelected,\n managePlaceholder,\n selectDisabled,\n emptyText,\n toggleLastOptionHitState,\n resetInputState,\n handleComposition,\n onOptionCreate,\n onOptionDestroy,\n handleMenuEnter,\n handleFocus,\n focus,\n blur,\n handleBlur,\n handleClearClick,\n handleClose,\n handleKeydownEscape,\n toggleMenu,\n selectOption,\n getValueKey,\n navigateOptions,\n handleDeleteTooltipTag,\n dropMenuVisible,\n queryChange,\n groupQueryChange,\n showTagList,\n collapseTagList,\n selectTagsStyle,\n reference,\n input,\n iOSInput,\n tooltipRef,\n tagTooltipRef,\n tags,\n selectWrapper,\n scrollbar,\n handleMouseEnter,\n handleMouseLeave\n };\n};\n\nexport { useSelect, useSelectStates };\n//# sourceMappingURL=useSelect.mjs.map\n","import '../../constants/index.mjs';\nimport { componentSizeMap } from '../../constants/size.mjs';\n\nconst getComponentSize = (size) => {\n return componentSizeMap[size || \"default\"];\n};\n\nexport { getComponentSize };\n//# sourceMappingURL=size.mjs.map\n","import { defineComponent } from 'vue';\nimport '../../../utils/index.mjs';\nimport { isString, isFunction } from '@vue/shared';\n\nvar ElOptions = defineComponent({\n name: \"ElOptions\",\n emits: [\"update-options\"],\n setup(_, { slots, emit }) {\n let cachedOptions = [];\n function isSameOptions(a, b) {\n if (a.length !== b.length)\n return false;\n for (const [index] of a.entries()) {\n if (a[index] != b[index]) {\n return false;\n }\n }\n return true;\n }\n return () => {\n var _a, _b;\n const children = (_a = slots.default) == null ? void 0 : _a.call(slots);\n const filteredOptions = [];\n function filterOptions(children2) {\n if (!Array.isArray(children2))\n return;\n children2.forEach((item) => {\n var _a2, _b2, _c, _d;\n const name = (_a2 = (item == null ? void 0 : item.type) || {}) == null ? void 0 : _a2.name;\n if (name === \"ElOptionGroup\") {\n filterOptions(!isString(item.children) && !Array.isArray(item.children) && isFunction((_b2 = item.children) == null ? void 0 : _b2.default) ? (_c = item.children) == null ? void 0 : _c.default() : item.children);\n } else if (name === \"ElOption\") {\n filteredOptions.push((_d = item.props) == null ? void 0 : _d.label);\n } else if (Array.isArray(item.children)) {\n filterOptions(item.children);\n }\n });\n }\n if (children.length) {\n filterOptions((_b = children[0]) == null ? void 0 : _b.children);\n }\n if (!isSameOptions(filteredOptions, cachedOptions)) {\n cachedOptions = filteredOptions;\n emit(\"update-options\", filteredOptions);\n }\n return children;\n };\n }\n});\n\nexport { ElOptions as default };\n//# sourceMappingURL=options.mjs.map\n","import { defineComponent, toRefs, computed, unref, provide, reactive, onMounted, nextTick, resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, withModifiers, createVNode, withCtx, createElementVNode, normalizeStyle, createBlock, Transition, Fragment, renderList, toDisplayString, createCommentVNode, withKeys, vModelText, createSlots, resolveDynamicComponent, renderSlot, vShow } from 'vue';\nimport { useResizeObserver, isIOS } from '@vueuse/core';\nimport { placements } from '@popperjs/core';\nimport '../../../directives/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { ElInput } from '../../input/index.mjs';\nimport { ElTooltip } from '../../tooltip/index.mjs';\nimport { ElScrollbar } from '../../scrollbar/index.mjs';\nimport { ElTag } from '../../tag/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport { CircleClose, ArrowDown } from '@element-plus/icons-vue';\nimport Option from './option.mjs';\nimport ElSelectMenu from './select-dropdown.mjs';\nimport { useSelectStates, useSelect } from './useSelect.mjs';\nimport { selectKey } from './token.mjs';\nimport ElOptions from './options.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport ClickOutside from '../../../directives/click-outside/index.mjs';\nimport { isValidComponentSize } from '../../../utils/vue/validator.mjs';\nimport { useTooltipContentProps } from '../../tooltip/src/content.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\nimport { tagProps } from '../../tag/src/tag.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\n\nconst COMPONENT_NAME = \"ElSelect\";\nconst _sfc_main = defineComponent({\n name: COMPONENT_NAME,\n componentName: COMPONENT_NAME,\n components: {\n ElInput,\n ElSelectMenu,\n ElOption: Option,\n ElOptions,\n ElTag,\n ElScrollbar,\n ElTooltip,\n ElIcon\n },\n directives: { ClickOutside },\n props: {\n name: String,\n id: String,\n modelValue: {\n type: [Array, String, Number, Boolean, Object],\n default: void 0\n },\n autocomplete: {\n type: String,\n default: \"off\"\n },\n automaticDropdown: Boolean,\n size: {\n type: String,\n validator: isValidComponentSize\n },\n effect: {\n type: String,\n default: \"light\"\n },\n disabled: Boolean,\n clearable: Boolean,\n filterable: Boolean,\n allowCreate: Boolean,\n loading: Boolean,\n popperClass: {\n type: String,\n default: \"\"\n },\n popperOptions: {\n type: Object,\n default: () => ({})\n },\n remote: Boolean,\n loadingText: String,\n noMatchText: String,\n noDataText: String,\n remoteMethod: Function,\n filterMethod: Function,\n multiple: Boolean,\n multipleLimit: {\n type: Number,\n default: 0\n },\n placeholder: {\n type: String\n },\n defaultFirstOption: Boolean,\n reserveKeyword: {\n type: Boolean,\n default: true\n },\n valueKey: {\n type: String,\n default: \"value\"\n },\n collapseTags: Boolean,\n collapseTagsTooltip: {\n type: Boolean,\n default: false\n },\n maxCollapseTags: {\n type: Number,\n default: 1\n },\n teleported: useTooltipContentProps.teleported,\n persistent: {\n type: Boolean,\n default: true\n },\n clearIcon: {\n type: iconPropType,\n default: CircleClose\n },\n fitInputWidth: {\n type: Boolean,\n default: false\n },\n suffixIcon: {\n type: iconPropType,\n default: ArrowDown\n },\n tagType: { ...tagProps.type, default: \"info\" },\n validateEvent: {\n type: Boolean,\n default: true\n },\n remoteShowSuffix: {\n type: Boolean,\n default: false\n },\n suffixTransition: {\n type: Boolean,\n default: true\n },\n placement: {\n type: String,\n values: placements,\n default: \"bottom-start\"\n }\n },\n emits: [\n UPDATE_MODEL_EVENT,\n CHANGE_EVENT,\n \"remove-tag\",\n \"clear\",\n \"visible-change\",\n \"focus\",\n \"blur\"\n ],\n setup(props, ctx) {\n const nsSelect = useNamespace(\"select\");\n const nsInput = useNamespace(\"input\");\n const { t } = useLocale();\n const states = useSelectStates(props);\n const {\n optionList,\n optionsArray,\n selectSize,\n readonly,\n handleResize,\n collapseTagSize,\n debouncedOnInputChange,\n debouncedQueryChange,\n deletePrevTag,\n deleteTag,\n deleteSelected,\n handleOptionSelect,\n scrollToOption,\n setSelected,\n resetInputHeight,\n managePlaceholder,\n showClose,\n selectDisabled,\n iconComponent,\n iconReverse,\n showNewOption,\n emptyText,\n toggleLastOptionHitState,\n resetInputState,\n handleComposition,\n onOptionCreate,\n onOptionDestroy,\n handleMenuEnter,\n handleFocus,\n focus,\n blur,\n handleBlur,\n handleClearClick,\n handleClose,\n handleKeydownEscape,\n toggleMenu,\n selectOption,\n getValueKey,\n navigateOptions,\n handleDeleteTooltipTag,\n dropMenuVisible,\n reference,\n input,\n iOSInput,\n tooltipRef,\n tagTooltipRef,\n tags,\n selectWrapper,\n scrollbar,\n queryChange,\n groupQueryChange,\n handleMouseEnter,\n handleMouseLeave,\n showTagList,\n collapseTagList,\n selectTagsStyle\n } = useSelect(props, states, ctx);\n const {\n inputWidth,\n selected,\n inputLength,\n filteredOptionsCount,\n visible,\n selectedLabel,\n hoverIndex,\n query,\n inputHovering,\n currentPlaceholder,\n menuVisibleOnFocus,\n isOnComposition,\n options,\n cachedOptions,\n optionsCount,\n prefixWidth\n } = toRefs(states);\n const wrapperKls = computed(() => {\n const classList = [nsSelect.b()];\n const _selectSize = unref(selectSize);\n if (_selectSize) {\n classList.push(nsSelect.m(_selectSize));\n }\n if (props.disabled) {\n classList.push(nsSelect.m(\"disabled\"));\n }\n return classList;\n });\n const tagsKls = computed(() => [\n nsSelect.e(\"tags\"),\n nsSelect.is(\"disabled\", unref(selectDisabled))\n ]);\n const tagWrapperKls = computed(() => [\n nsSelect.b(\"tags-wrapper\"),\n { \"has-prefix\": unref(prefixWidth) && unref(selected).length }\n ]);\n const inputKls = computed(() => [\n nsSelect.e(\"input\"),\n nsSelect.is(unref(selectSize)),\n nsSelect.is(\"disabled\", unref(selectDisabled))\n ]);\n const iOSInputKls = computed(() => [\n nsSelect.e(\"input\"),\n nsSelect.is(unref(selectSize)),\n nsSelect.em(\"input\", \"iOS\")\n ]);\n const scrollbarKls = computed(() => [\n nsSelect.is(\"empty\", !props.allowCreate && Boolean(unref(query)) && unref(filteredOptionsCount) === 0)\n ]);\n const tagTextStyle = computed(() => {\n const maxWidth = unref(inputWidth) > 123 ? unref(inputWidth) - 123 : unref(inputWidth) - 75;\n return { maxWidth: `${maxWidth}px` };\n });\n const inputStyle = computed(() => ({\n marginLeft: `${unref(prefixWidth)}px`,\n flexGrow: 1,\n width: `${unref(inputLength) / (unref(inputWidth) - 32)}%`,\n maxWidth: `${unref(inputWidth) - 42}px`\n }));\n provide(selectKey, reactive({\n props,\n options,\n optionsArray,\n cachedOptions,\n optionsCount,\n filteredOptionsCount,\n hoverIndex,\n handleOptionSelect,\n onOptionCreate,\n onOptionDestroy,\n selectWrapper,\n selected,\n setSelected,\n queryChange,\n groupQueryChange\n }));\n onMounted(() => {\n states.cachedPlaceHolder = currentPlaceholder.value = props.placeholder || (() => t(\"el.select.placeholder\"));\n if (props.multiple && Array.isArray(props.modelValue) && props.modelValue.length > 0) {\n currentPlaceholder.value = \"\";\n }\n useResizeObserver(selectWrapper, handleResize);\n if (props.remote && props.multiple) {\n resetInputHeight();\n }\n nextTick(() => {\n const refEl = reference.value && reference.value.$el;\n if (!refEl)\n return;\n inputWidth.value = refEl.getBoundingClientRect().width;\n if (ctx.slots.prefix) {\n const prefix = refEl.querySelector(`.${nsInput.e(\"prefix\")}`);\n prefixWidth.value = Math.max(prefix.getBoundingClientRect().width + 11, 30);\n }\n });\n setSelected();\n });\n if (props.multiple && !Array.isArray(props.modelValue)) {\n ctx.emit(UPDATE_MODEL_EVENT, []);\n }\n if (!props.multiple && Array.isArray(props.modelValue)) {\n ctx.emit(UPDATE_MODEL_EVENT, \"\");\n }\n const popperPaneRef = computed(() => {\n var _a, _b;\n return (_b = (_a = tooltipRef.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;\n });\n const onOptionsRendered = (v) => {\n optionList.value = v;\n };\n return {\n isIOS,\n onOptionsRendered,\n prefixWidth,\n selectSize,\n readonly,\n handleResize,\n collapseTagSize,\n debouncedOnInputChange,\n debouncedQueryChange,\n deletePrevTag,\n deleteTag,\n handleDeleteTooltipTag,\n deleteSelected,\n handleOptionSelect,\n scrollToOption,\n inputWidth,\n selected,\n inputLength,\n filteredOptionsCount,\n visible,\n selectedLabel,\n hoverIndex,\n query,\n inputHovering,\n currentPlaceholder,\n menuVisibleOnFocus,\n isOnComposition,\n options,\n resetInputHeight,\n managePlaceholder,\n showClose,\n selectDisabled,\n iconComponent,\n iconReverse,\n showNewOption,\n emptyText,\n toggleLastOptionHitState,\n resetInputState,\n handleComposition,\n handleMenuEnter,\n handleFocus,\n focus,\n blur,\n handleBlur,\n handleClearClick,\n handleClose,\n handleKeydownEscape,\n toggleMenu,\n selectOption,\n getValueKey,\n navigateOptions,\n dropMenuVisible,\n reference,\n input,\n iOSInput,\n tooltipRef,\n popperPaneRef,\n tags,\n selectWrapper,\n scrollbar,\n wrapperKls,\n tagsKls,\n tagWrapperKls,\n inputKls,\n iOSInputKls,\n scrollbarKls,\n selectTagsStyle,\n nsSelect,\n tagTextStyle,\n inputStyle,\n handleMouseEnter,\n handleMouseLeave,\n showTagList,\n collapseTagList,\n tagTooltipRef\n };\n }\n});\nconst _hoisted_1 = [\"disabled\", \"autocomplete\"];\nconst _hoisted_2 = [\"disabled\"];\nconst _hoisted_3 = { style: { \"height\": \"100%\", \"display\": \"flex\", \"justify-content\": \"center\", \"align-items\": \"center\" } };\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_tag = resolveComponent(\"el-tag\");\n const _component_el_tooltip = resolveComponent(\"el-tooltip\");\n const _component_el_icon = resolveComponent(\"el-icon\");\n const _component_el_input = resolveComponent(\"el-input\");\n const _component_el_option = resolveComponent(\"el-option\");\n const _component_el_options = resolveComponent(\"el-options\");\n const _component_el_scrollbar = resolveComponent(\"el-scrollbar\");\n const _component_el_select_menu = resolveComponent(\"el-select-menu\");\n const _directive_click_outside = resolveDirective(\"click-outside\");\n return withDirectives((openBlock(), createElementBlock(\"div\", {\n ref: \"selectWrapper\",\n class: normalizeClass(_ctx.wrapperKls),\n onMouseenter: _cache[22] || (_cache[22] = (...args) => _ctx.handleMouseEnter && _ctx.handleMouseEnter(...args)),\n onMouseleave: _cache[23] || (_cache[23] = (...args) => _ctx.handleMouseLeave && _ctx.handleMouseLeave(...args)),\n onClick: _cache[24] || (_cache[24] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), [\"stop\"]))\n }, [\n createVNode(_component_el_tooltip, {\n ref: \"tooltipRef\",\n visible: _ctx.dropMenuVisible,\n placement: _ctx.placement,\n teleported: _ctx.teleported,\n \"popper-class\": [_ctx.nsSelect.e(\"popper\"), _ctx.popperClass],\n \"popper-options\": _ctx.popperOptions,\n \"fallback-placements\": [\"bottom-start\", \"top-start\", \"right\", \"left\"],\n effect: _ctx.effect,\n pure: \"\",\n trigger: \"click\",\n transition: `${_ctx.nsSelect.namespace.value}-zoom-in-top`,\n \"stop-popper-mouse-event\": false,\n \"gpu-acceleration\": false,\n persistent: _ctx.persistent,\n onShow: _ctx.handleMenuEnter\n }, {\n default: withCtx(() => [\n createElementVNode(\"div\", {\n class: \"select-trigger\",\n onMouseenter: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = true),\n onMouseleave: _cache[21] || (_cache[21] = ($event) => _ctx.inputHovering = false)\n }, [\n _ctx.multiple ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n ref: \"tags\",\n tabindex: \"-1\",\n class: normalizeClass(_ctx.tagsKls),\n style: normalizeStyle(_ctx.selectTagsStyle),\n onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))\n }, [\n _ctx.collapseTags && _ctx.selected.length ? (openBlock(), createBlock(Transition, {\n key: 0,\n onAfterLeave: _ctx.resetInputHeight\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n class: normalizeClass(_ctx.tagWrapperKls)\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.showTagList, (item) => {\n return openBlock(), createBlock(_component_el_tag, {\n key: _ctx.getValueKey(item),\n closable: !_ctx.selectDisabled && !item.isDisabled,\n size: _ctx.collapseTagSize,\n hit: item.hitState,\n type: _ctx.tagType,\n \"disable-transitions\": \"\",\n onClose: ($event) => _ctx.deleteTag($event, item)\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n class: normalizeClass(_ctx.nsSelect.e(\"tags-text\")),\n style: normalizeStyle(_ctx.tagTextStyle)\n }, toDisplayString(item.currentLabel), 7)\n ]),\n _: 2\n }, 1032, [\"closable\", \"size\", \"hit\", \"type\", \"onClose\"]);\n }), 128)),\n _ctx.selected.length > _ctx.maxCollapseTags ? (openBlock(), createBlock(_component_el_tag, {\n key: 0,\n closable: false,\n size: _ctx.collapseTagSize,\n type: _ctx.tagType,\n \"disable-transitions\": \"\"\n }, {\n default: withCtx(() => [\n _ctx.collapseTagsTooltip ? (openBlock(), createBlock(_component_el_tooltip, {\n key: 0,\n ref: \"tagTooltipRef\",\n disabled: _ctx.dropMenuVisible,\n \"fallback-placements\": [\"bottom\", \"top\", \"right\", \"left\"],\n effect: _ctx.effect,\n placement: \"bottom\",\n teleported: _ctx.teleported\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n class: normalizeClass(_ctx.nsSelect.e(\"tags-text\"))\n }, \"+ \" + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3)\n ]),\n content: withCtx(() => [\n createElementVNode(\"div\", {\n class: normalizeClass(_ctx.nsSelect.e(\"collapse-tags\"))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.collapseTagList, (item) => {\n return openBlock(), createElementBlock(\"div\", {\n key: _ctx.getValueKey(item),\n class: normalizeClass(_ctx.nsSelect.e(\"collapse-tag\"))\n }, [\n createVNode(_component_el_tag, {\n class: \"in-tooltip\",\n closable: !_ctx.selectDisabled && !item.isDisabled,\n size: _ctx.collapseTagSize,\n hit: item.hitState,\n type: _ctx.tagType,\n \"disable-transitions\": \"\",\n style: { margin: \"2px\" },\n onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n class: normalizeClass(_ctx.nsSelect.e(\"tags-text\")),\n style: normalizeStyle({\n maxWidth: _ctx.inputWidth - 75 + \"px\"\n })\n }, toDisplayString(item.currentLabel), 7)\n ]),\n _: 2\n }, 1032, [\"closable\", \"size\", \"hit\", \"type\", \"onClose\"])\n ], 2);\n }), 128))\n ], 2)\n ]),\n _: 1\n }, 8, [\"disabled\", \"effect\", \"teleported\"])) : (openBlock(), createElementBlock(\"span\", {\n key: 1,\n class: normalizeClass(_ctx.nsSelect.e(\"tags-text\"))\n }, \"+ \" + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3))\n ]),\n _: 1\n }, 8, [\"size\", \"type\"])) : createCommentVNode(\"v-if\", true)\n ], 2)\n ]),\n _: 1\n }, 8, [\"onAfterLeave\"])) : createCommentVNode(\"v-if\", true),\n !_ctx.collapseTags ? (openBlock(), createBlock(Transition, {\n key: 1,\n onAfterLeave: _ctx.resetInputHeight\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n class: normalizeClass(_ctx.tagWrapperKls),\n style: normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : \"\")\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {\n return openBlock(), createBlock(_component_el_tag, {\n key: _ctx.getValueKey(item),\n closable: !_ctx.selectDisabled && !item.isDisabled,\n size: _ctx.collapseTagSize,\n hit: item.hitState,\n type: _ctx.tagType,\n \"disable-transitions\": \"\",\n onClose: ($event) => _ctx.deleteTag($event, item)\n }, {\n default: withCtx(() => [\n createElementVNode(\"span\", {\n class: normalizeClass(_ctx.nsSelect.e(\"tags-text\")),\n style: normalizeStyle({ maxWidth: _ctx.inputWidth - 75 + \"px\" })\n }, toDisplayString(item.currentLabel), 7)\n ]),\n _: 2\n }, 1032, [\"closable\", \"size\", \"hit\", \"type\", \"onClose\"]);\n }), 128))\n ], 6)\n ]),\n _: 1\n }, 8, [\"onAfterLeave\"])) : createCommentVNode(\"v-if\", true),\n _ctx.filterable && !_ctx.selectDisabled ? withDirectives((openBlock(), createElementBlock(\"input\", {\n key: 2,\n ref: \"input\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),\n type: \"text\",\n class: normalizeClass(_ctx.inputKls),\n disabled: _ctx.selectDisabled,\n autocomplete: _ctx.autocomplete,\n style: normalizeStyle(_ctx.inputStyle),\n onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),\n onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),\n onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),\n onKeydown: [\n _cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),\n _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.navigateOptions(\"next\"), [\"prevent\"]), [\"down\"])),\n _cache[6] || (_cache[6] = withKeys(withModifiers(($event) => _ctx.navigateOptions(\"prev\"), [\"prevent\"]), [\"up\"])),\n _cache[7] || (_cache[7] = withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), [\"esc\"])),\n _cache[8] || (_cache[8] = withKeys(withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), [\"stop\", \"prevent\"]), [\"enter\"])),\n _cache[9] || (_cache[9] = withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), [\"delete\"])),\n _cache[10] || (_cache[10] = withKeys(($event) => _ctx.visible = false, [\"tab\"]))\n ],\n onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),\n onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),\n onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),\n onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))\n }, null, 46, _hoisted_1)), [\n [vModelText, _ctx.query]\n ]) : createCommentVNode(\"v-if\", true)\n ], 6)) : createCommentVNode(\"v-if\", true),\n createCommentVNode(\" fix: https://github.com/element-plus/element-plus/issues/11415 \"),\n _ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (openBlock(), createElementBlock(\"input\", {\n key: 1,\n ref: \"iOSInput\",\n class: normalizeClass(_ctx.iOSInputKls),\n disabled: _ctx.selectDisabled,\n type: \"text\"\n }, null, 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n createVNode(_component_el_input, {\n id: _ctx.id,\n ref: \"reference\",\n modelValue: _ctx.selectedLabel,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),\n type: \"text\",\n placeholder: typeof _ctx.currentPlaceholder === \"function\" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,\n name: _ctx.name,\n autocomplete: _ctx.autocomplete,\n size: _ctx.selectSize,\n disabled: _ctx.selectDisabled,\n readonly: _ctx.readonly,\n \"validate-event\": false,\n class: normalizeClass([_ctx.nsSelect.is(\"focus\", _ctx.visible)]),\n tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,\n onFocus: _ctx.handleFocus,\n onBlur: _ctx.handleBlur,\n onInput: _ctx.debouncedOnInputChange,\n onPaste: _ctx.debouncedOnInputChange,\n onCompositionstart: _ctx.handleComposition,\n onCompositionupdate: _ctx.handleComposition,\n onCompositionend: _ctx.handleComposition,\n onKeydown: [\n _cache[17] || (_cache[17] = withKeys(withModifiers(($event) => _ctx.navigateOptions(\"next\"), [\"stop\", \"prevent\"]), [\"down\"])),\n _cache[18] || (_cache[18] = withKeys(withModifiers(($event) => _ctx.navigateOptions(\"prev\"), [\"stop\", \"prevent\"]), [\"up\"])),\n withKeys(withModifiers(_ctx.selectOption, [\"stop\", \"prevent\"]), [\"enter\"]),\n withKeys(_ctx.handleKeydownEscape, [\"esc\"]),\n _cache[19] || (_cache[19] = withKeys(($event) => _ctx.visible = false, [\"tab\"]))\n ]\n }, createSlots({\n suffix: withCtx(() => [\n _ctx.iconComponent && !_ctx.showClose ? (openBlock(), createBlock(_component_el_icon, {\n key: 0,\n class: normalizeClass([_ctx.nsSelect.e(\"caret\"), _ctx.nsSelect.e(\"icon\"), _ctx.iconReverse])\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n _ctx.showClose && _ctx.clearIcon ? (openBlock(), createBlock(_component_el_icon, {\n key: 1,\n class: normalizeClass([_ctx.nsSelect.e(\"caret\"), _ctx.nsSelect.e(\"icon\")]),\n onClick: _ctx.handleClearClick\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))\n ]),\n _: 1\n }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true)\n ]),\n _: 2\n }, [\n _ctx.$slots.prefix ? {\n name: \"prefix\",\n fn: withCtx(() => [\n createElementVNode(\"div\", _hoisted_3, [\n renderSlot(_ctx.$slots, \"prefix\")\n ])\n ])\n } : void 0\n ]), 1032, [\"id\", \"modelValue\", \"placeholder\", \"name\", \"autocomplete\", \"size\", \"disabled\", \"readonly\", \"class\", \"tabindex\", \"onFocus\", \"onBlur\", \"onInput\", \"onPaste\", \"onCompositionstart\", \"onCompositionupdate\", \"onCompositionend\", \"onKeydown\"])\n ], 32)\n ]),\n content: withCtx(() => [\n createVNode(_component_el_select_menu, null, {\n default: withCtx(() => [\n withDirectives(createVNode(_component_el_scrollbar, {\n ref: \"scrollbar\",\n tag: \"ul\",\n \"wrap-class\": _ctx.nsSelect.be(\"dropdown\", \"wrap\"),\n \"view-class\": _ctx.nsSelect.be(\"dropdown\", \"list\"),\n class: normalizeClass(_ctx.scrollbarKls)\n }, {\n default: withCtx(() => [\n _ctx.showNewOption ? (openBlock(), createBlock(_component_el_option, {\n key: 0,\n value: _ctx.query,\n created: true\n }, null, 8, [\"value\"])) : createCommentVNode(\"v-if\", true),\n createVNode(_component_el_options, { onUpdateOptions: _ctx.onOptionsRendered }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"onUpdateOptions\"])\n ]),\n _: 3\n }, 8, [\"wrap-class\", \"view-class\", \"class\"]), [\n [vShow, _ctx.options.size > 0 && !_ctx.loading]\n ]),\n _ctx.emptyText && (!_ctx.allowCreate || _ctx.loading || _ctx.allowCreate && _ctx.options.size === 0) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n _ctx.$slots.empty ? renderSlot(_ctx.$slots, \"empty\", { key: 0 }) : (openBlock(), createElementBlock(\"p\", {\n key: 1,\n class: normalizeClass(_ctx.nsSelect.be(\"dropdown\", \"empty\"))\n }, toDisplayString(_ctx.emptyText), 3))\n ], 64)) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"visible\", \"placement\", \"teleported\", \"popper-class\", \"popper-options\", \"effect\", \"transition\", \"persistent\", \"onShow\"])\n ], 34)), [\n [_directive_click_outside, _ctx.handleClose, _ctx.popperPaneRef]\n ]);\n}\nvar Select = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue\"]]);\n\nexport { Select as default };\n//# sourceMappingURL=select.mjs.map\n","import { defineComponent, ref, getCurrentInstance, provide, reactive, toRefs, inject, onMounted, toRaw, watch, withDirectives, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, renderSlot, vShow } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { selectGroupKey, selectKey } from './token.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElOptionGroup\",\n componentName: \"ElOptionGroup\",\n props: {\n label: String,\n disabled: {\n type: Boolean,\n default: false\n }\n },\n setup(props) {\n const ns = useNamespace(\"select\");\n const visible = ref(true);\n const instance = getCurrentInstance();\n const children = ref([]);\n provide(selectGroupKey, reactive({\n ...toRefs(props)\n }));\n const select = inject(selectKey);\n onMounted(() => {\n children.value = flattedChildren(instance.subTree);\n });\n const flattedChildren = (node) => {\n const children2 = [];\n if (Array.isArray(node.children)) {\n node.children.forEach((child) => {\n var _a;\n if (child.type && child.type.name === \"ElOption\" && child.component && child.component.proxy) {\n children2.push(child.component.proxy);\n } else if ((_a = child.children) == null ? void 0 : _a.length) {\n children2.push(...flattedChildren(child));\n }\n });\n }\n return children2;\n };\n const { groupQueryChange } = toRaw(select);\n watch(groupQueryChange, () => {\n visible.value = children.value.some((option) => option.visible === true);\n }, { flush: \"post\" });\n return {\n visible,\n ns\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return withDirectives((openBlock(), createElementBlock(\"ul\", {\n class: normalizeClass(_ctx.ns.be(\"group\", \"wrap\"))\n }, [\n createElementVNode(\"li\", {\n class: normalizeClass(_ctx.ns.be(\"group\", \"title\"))\n }, toDisplayString(_ctx.label), 3),\n createElementVNode(\"li\", null, [\n createElementVNode(\"ul\", {\n class: normalizeClass(_ctx.ns.b(\"group\"))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2)\n ])\n ], 2)), [\n [vShow, _ctx.visible]\n ]);\n}\nvar OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue\"]]);\n\nexport { OptionGroup as default };\n//# sourceMappingURL=option-group.mjs.map\n","import '../../utils/index.mjs';\nimport Select from './src/select.mjs';\nimport Option from './src/option.mjs';\nimport OptionGroup from './src/option-group.mjs';\nexport { selectGroupKey, selectKey } from './src/token.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElSelect = withInstall(Select, {\n Option,\n OptionGroup\n});\nconst ElOption = withNoopInstall(Option);\nconst ElOptionGroup = withNoopInstall(OptionGroup);\n\nexport { ElOption, ElOptionGroup, ElSelect, ElSelect as default };\n//# sourceMappingURL=index.mjs.map\n","import { inject } from 'vue';\nimport { elPaginationKey } from './constants.mjs';\n\nconst usePagination = () => inject(elPaginationKey, {});\n\nexport { usePagination };\n//# sourceMappingURL=usePagination.mjs.map\n","import '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../../utils/typescript.mjs';\nimport { componentSizes } from '../../../../constants/size.mjs';\n\nconst paginationSizesProps = buildProps({\n pageSize: {\n type: Number,\n required: true\n },\n pageSizes: {\n type: definePropType(Array),\n default: () => mutable([10, 20, 30, 40, 50, 100])\n },\n popperClass: {\n type: String\n },\n disabled: Boolean,\n size: {\n type: String,\n values: componentSizes\n }\n});\n\nexport { paginationSizesProps };\n//# sourceMappingURL=sizes.mjs.map\n","import { defineComponent, ref, watch, computed, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, Fragment, renderList, createBlock } from 'vue';\nimport { isEqual } from 'lodash-unified';\nimport { ElSelect, ElOption } from '../../../select/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { usePagination } from '../usePagination.mjs';\nimport { paginationSizesProps } from './sizes.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElPaginationSizes\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: paginationSizesProps,\n emits: [\"page-size-change\"],\n setup(__props, { emit }) {\n const props = __props;\n const { t } = useLocale();\n const ns = useNamespace(\"pagination\");\n const pagination = usePagination();\n const innerPageSize = ref(props.pageSize);\n watch(() => props.pageSizes, (newVal, oldVal) => {\n if (isEqual(newVal, oldVal))\n return;\n if (Array.isArray(newVal)) {\n const pageSize = newVal.includes(props.pageSize) ? props.pageSize : props.pageSizes[0];\n emit(\"page-size-change\", pageSize);\n }\n });\n watch(() => props.pageSize, (newVal) => {\n innerPageSize.value = newVal;\n });\n const innerPageSizes = computed(() => props.pageSizes);\n function handleChange(val) {\n var _a;\n if (val !== innerPageSize.value) {\n innerPageSize.value = val;\n (_a = pagination.handleSizeChange) == null ? void 0 : _a.call(pagination, Number(val));\n }\n }\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"span\", {\n class: normalizeClass(unref(ns).e(\"sizes\"))\n }, [\n createVNode(unref(ElSelect), {\n \"model-value\": innerPageSize.value,\n disabled: _ctx.disabled,\n \"popper-class\": _ctx.popperClass,\n size: _ctx.size,\n \"validate-event\": false,\n onChange: handleChange\n }, {\n default: withCtx(() => [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(innerPageSizes), (item) => {\n return openBlock(), createBlock(unref(ElOption), {\n key: item,\n value: item,\n label: item + unref(t)(\"el.pagination.pagesize\")\n }, null, 8, [\"value\", \"label\"]);\n }), 128))\n ]),\n _: 1\n }, 8, [\"model-value\", \"disabled\", \"popper-class\", \"size\"])\n ], 2);\n };\n }\n});\nvar Sizes = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue\"]]);\n\nexport { Sizes as default };\n//# sourceMappingURL=sizes2.mjs.map\n","import '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../../../constants/size.mjs';\n\nconst paginationJumperProps = buildProps({\n size: {\n type: String,\n values: componentSizes\n }\n});\n\nexport { paginationJumperProps };\n//# sourceMappingURL=jumper.mjs.map\n","import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString, createVNode } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport { usePagination } from '../usePagination.mjs';\nimport { paginationJumperProps } from './jumper.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"disabled\"];\nconst __default__ = defineComponent({\n name: \"ElPaginationJumper\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: paginationJumperProps,\n setup(__props) {\n const { t } = useLocale();\n const ns = useNamespace(\"pagination\");\n const { pageCount, disabled, currentPage, changeEvent } = usePagination();\n const userInput = ref();\n const innerValue = computed(() => {\n var _a;\n return (_a = userInput.value) != null ? _a : currentPage == null ? void 0 : currentPage.value;\n });\n function handleInput(val) {\n userInput.value = val ? +val : \"\";\n }\n function handleChange(val) {\n val = Math.trunc(+val);\n changeEvent == null ? void 0 : changeEvent(val);\n userInput.value = void 0;\n }\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"span\", {\n class: normalizeClass(unref(ns).e(\"jump\")),\n disabled: unref(disabled)\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass([unref(ns).e(\"goto\")])\n }, toDisplayString(unref(t)(\"el.pagination.goto\")), 3),\n createVNode(unref(ElInput), {\n size: _ctx.size,\n class: normalizeClass([unref(ns).e(\"editor\"), unref(ns).is(\"in-pagination\")]),\n min: 1,\n max: unref(pageCount),\n disabled: unref(disabled),\n \"model-value\": unref(innerValue),\n \"validate-event\": false,\n label: unref(t)(\"el.pagination.page\"),\n type: \"number\",\n \"onUpdate:modelValue\": handleInput,\n onChange: handleChange\n }, null, 8, [\"size\", \"class\", \"max\", \"disabled\", \"model-value\", \"label\"]),\n createElementVNode(\"span\", {\n class: normalizeClass([unref(ns).e(\"classifier\")])\n }, toDisplayString(unref(t)(\"el.pagination.pageClassifier\")), 3)\n ], 10, _hoisted_1);\n };\n }\n});\nvar Jumper = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue\"]]);\n\nexport { Jumper as default };\n//# sourceMappingURL=jumper2.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst paginationTotalProps = buildProps({\n total: {\n type: Number,\n default: 1e3\n }\n});\n\nexport { paginationTotalProps };\n//# sourceMappingURL=total.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, toDisplayString } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { usePagination } from '../usePagination.mjs';\nimport { paginationTotalProps } from './total.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"disabled\"];\nconst __default__ = defineComponent({\n name: \"ElPaginationTotal\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: paginationTotalProps,\n setup(__props) {\n const { t } = useLocale();\n const ns = useNamespace(\"pagination\");\n const { disabled } = usePagination();\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"span\", {\n class: normalizeClass(unref(ns).e(\"total\")),\n disabled: unref(disabled)\n }, toDisplayString(unref(t)(\"el.pagination.total\", {\n total: _ctx.total\n })), 11, _hoisted_1);\n };\n }\n});\nvar Total = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue\"]]);\n\nexport { Total as default };\n//# sourceMappingURL=total2.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst paginationPagerProps = buildProps({\n currentPage: {\n type: Number,\n default: 1\n },\n pageCount: {\n type: Number,\n required: true\n },\n pagerCount: {\n type: Number,\n default: 7\n },\n disabled: Boolean\n});\n\nexport { paginationPagerProps };\n//# sourceMappingURL=pager.mjs.map\n","import { defineComponent, ref, computed, watchEffect, openBlock, createElementBlock, normalizeClass, unref, withKeys, createCommentVNode, createBlock, Fragment, renderList, toDisplayString } from 'vue';\nimport { DArrowLeft, MoreFilled, DArrowRight } from '@element-plus/icons-vue';\nimport '../../../../hooks/index.mjs';\nimport { paginationPagerProps } from './pager.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst _hoisted_1 = [\"onKeyup\"];\nconst _hoisted_2 = [\"aria-current\", \"aria-label\", \"tabindex\"];\nconst _hoisted_3 = [\"tabindex\", \"aria-label\"];\nconst _hoisted_4 = [\"aria-current\", \"aria-label\", \"tabindex\"];\nconst _hoisted_5 = [\"tabindex\", \"aria-label\"];\nconst _hoisted_6 = [\"aria-current\", \"aria-label\", \"tabindex\"];\nconst __default__ = defineComponent({\n name: \"ElPaginationPager\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: paginationPagerProps,\n emits: [\"change\"],\n setup(__props, { emit }) {\n const props = __props;\n const nsPager = useNamespace(\"pager\");\n const nsIcon = useNamespace(\"icon\");\n const { t } = useLocale();\n const showPrevMore = ref(false);\n const showNextMore = ref(false);\n const quickPrevHover = ref(false);\n const quickNextHover = ref(false);\n const quickPrevFocus = ref(false);\n const quickNextFocus = ref(false);\n const pagers = computed(() => {\n const pagerCount = props.pagerCount;\n const halfPagerCount = (pagerCount - 1) / 2;\n const currentPage = Number(props.currentPage);\n const pageCount = Number(props.pageCount);\n let showPrevMore2 = false;\n let showNextMore2 = false;\n if (pageCount > pagerCount) {\n if (currentPage > pagerCount - halfPagerCount) {\n showPrevMore2 = true;\n }\n if (currentPage < pageCount - halfPagerCount) {\n showNextMore2 = true;\n }\n }\n const array = [];\n if (showPrevMore2 && !showNextMore2) {\n const startPage = pageCount - (pagerCount - 2);\n for (let i = startPage; i < pageCount; i++) {\n array.push(i);\n }\n } else if (!showPrevMore2 && showNextMore2) {\n for (let i = 2; i < pagerCount; i++) {\n array.push(i);\n }\n } else if (showPrevMore2 && showNextMore2) {\n const offset = Math.floor(pagerCount / 2) - 1;\n for (let i = currentPage - offset; i <= currentPage + offset; i++) {\n array.push(i);\n }\n } else {\n for (let i = 2; i < pageCount; i++) {\n array.push(i);\n }\n }\n return array;\n });\n const prevMoreKls = computed(() => [\n \"more\",\n \"btn-quickprev\",\n nsIcon.b(),\n nsPager.is(\"disabled\", props.disabled)\n ]);\n const nextMoreKls = computed(() => [\n \"more\",\n \"btn-quicknext\",\n nsIcon.b(),\n nsPager.is(\"disabled\", props.disabled)\n ]);\n const tabindex = computed(() => props.disabled ? -1 : 0);\n watchEffect(() => {\n const halfPagerCount = (props.pagerCount - 1) / 2;\n showPrevMore.value = false;\n showNextMore.value = false;\n if (props.pageCount > props.pagerCount) {\n if (props.currentPage > props.pagerCount - halfPagerCount) {\n showPrevMore.value = true;\n }\n if (props.currentPage < props.pageCount - halfPagerCount) {\n showNextMore.value = true;\n }\n }\n });\n function onMouseEnter(forward = false) {\n if (props.disabled)\n return;\n if (forward) {\n quickPrevHover.value = true;\n } else {\n quickNextHover.value = true;\n }\n }\n function onFocus(forward = false) {\n if (forward) {\n quickPrevFocus.value = true;\n } else {\n quickNextFocus.value = true;\n }\n }\n function onEnter(e) {\n const target = e.target;\n if (target.tagName.toLowerCase() === \"li\" && Array.from(target.classList).includes(\"number\")) {\n const newPage = Number(target.textContent);\n if (newPage !== props.currentPage) {\n emit(\"change\", newPage);\n }\n } else if (target.tagName.toLowerCase() === \"li\" && Array.from(target.classList).includes(\"more\")) {\n onPagerClick(e);\n }\n }\n function onPagerClick(event) {\n const target = event.target;\n if (target.tagName.toLowerCase() === \"ul\" || props.disabled) {\n return;\n }\n let newPage = Number(target.textContent);\n const pageCount = props.pageCount;\n const currentPage = props.currentPage;\n const pagerCountOffset = props.pagerCount - 2;\n if (target.className.includes(\"more\")) {\n if (target.className.includes(\"quickprev\")) {\n newPage = currentPage - pagerCountOffset;\n } else if (target.className.includes(\"quicknext\")) {\n newPage = currentPage + pagerCountOffset;\n }\n }\n if (!Number.isNaN(+newPage)) {\n if (newPage < 1) {\n newPage = 1;\n }\n if (newPage > pageCount) {\n newPage = pageCount;\n }\n }\n if (newPage !== currentPage) {\n emit(\"change\", newPage);\n }\n }\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"ul\", {\n class: normalizeClass(unref(nsPager).b()),\n onClick: onPagerClick,\n onKeyup: withKeys(onEnter, [\"enter\"])\n }, [\n _ctx.pageCount > 0 ? (openBlock(), createElementBlock(\"li\", {\n key: 0,\n class: normalizeClass([[\n unref(nsPager).is(\"active\", _ctx.currentPage === 1),\n unref(nsPager).is(\"disabled\", _ctx.disabled)\n ], \"number\"]),\n \"aria-current\": _ctx.currentPage === 1,\n \"aria-label\": unref(t)(\"el.pagination.currentPage\", { pager: 1 }),\n tabindex: unref(tabindex)\n }, \" 1 \", 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n showPrevMore.value ? (openBlock(), createElementBlock(\"li\", {\n key: 1,\n class: normalizeClass(unref(prevMoreKls)),\n tabindex: unref(tabindex),\n \"aria-label\": unref(t)(\"el.pagination.prevPages\", { pager: _ctx.pagerCount - 2 }),\n onMouseenter: _cache[0] || (_cache[0] = ($event) => onMouseEnter(true)),\n onMouseleave: _cache[1] || (_cache[1] = ($event) => quickPrevHover.value = false),\n onFocus: _cache[2] || (_cache[2] = ($event) => onFocus(true)),\n onBlur: _cache[3] || (_cache[3] = ($event) => quickPrevFocus.value = false)\n }, [\n (quickPrevHover.value || quickPrevFocus.value) && !_ctx.disabled ? (openBlock(), createBlock(unref(DArrowLeft), { key: 0 })) : (openBlock(), createBlock(unref(MoreFilled), { key: 1 }))\n ], 42, _hoisted_3)) : createCommentVNode(\"v-if\", true),\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(pagers), (pager) => {\n return openBlock(), createElementBlock(\"li\", {\n key: pager,\n class: normalizeClass([[\n unref(nsPager).is(\"active\", _ctx.currentPage === pager),\n unref(nsPager).is(\"disabled\", _ctx.disabled)\n ], \"number\"]),\n \"aria-current\": _ctx.currentPage === pager,\n \"aria-label\": unref(t)(\"el.pagination.currentPage\", { pager }),\n tabindex: unref(tabindex)\n }, toDisplayString(pager), 11, _hoisted_4);\n }), 128)),\n showNextMore.value ? (openBlock(), createElementBlock(\"li\", {\n key: 2,\n class: normalizeClass(unref(nextMoreKls)),\n tabindex: unref(tabindex),\n \"aria-label\": unref(t)(\"el.pagination.nextPages\", { pager: _ctx.pagerCount - 2 }),\n onMouseenter: _cache[4] || (_cache[4] = ($event) => onMouseEnter()),\n onMouseleave: _cache[5] || (_cache[5] = ($event) => quickNextHover.value = false),\n onFocus: _cache[6] || (_cache[6] = ($event) => onFocus()),\n onBlur: _cache[7] || (_cache[7] = ($event) => quickNextFocus.value = false)\n }, [\n (quickNextHover.value || quickNextFocus.value) && !_ctx.disabled ? (openBlock(), createBlock(unref(DArrowRight), { key: 0 })) : (openBlock(), createBlock(unref(MoreFilled), { key: 1 }))\n ], 42, _hoisted_5)) : createCommentVNode(\"v-if\", true),\n _ctx.pageCount > 1 ? (openBlock(), createElementBlock(\"li\", {\n key: 3,\n class: normalizeClass([[\n unref(nsPager).is(\"active\", _ctx.currentPage === _ctx.pageCount),\n unref(nsPager).is(\"disabled\", _ctx.disabled)\n ], \"number\"]),\n \"aria-current\": _ctx.currentPage === _ctx.pageCount,\n \"aria-label\": unref(t)(\"el.pagination.currentPage\", { pager: _ctx.pageCount }),\n tabindex: unref(tabindex)\n }, toDisplayString(_ctx.pageCount), 11, _hoisted_6)) : createCommentVNode(\"v-if\", true)\n ], 42, _hoisted_1);\n };\n }\n});\nvar Pager = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue\"]]);\n\nexport { Pager as default };\n//# sourceMappingURL=pager2.mjs.map\n","import { defineComponent, getCurrentInstance, computed, ref, watch, provide, h } from 'vue';\nimport { ArrowLeft, ArrowRight } from '@element-plus/icons-vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { elPaginationKey } from './constants.mjs';\nimport Prev from './components/prev2.mjs';\nimport Next from './components/next2.mjs';\nimport Sizes from './components/sizes2.mjs';\nimport Jumper from './components/jumper2.mjs';\nimport Total from './components/total2.mjs';\nimport Pager from './components/pager2.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst isAbsent = (v) => typeof v !== \"number\";\nconst paginationProps = buildProps({\n pageSize: Number,\n defaultPageSize: Number,\n total: Number,\n pageCount: Number,\n pagerCount: {\n type: Number,\n validator: (value) => {\n return isNumber(value) && Math.trunc(value) === value && value > 4 && value < 22 && value % 2 === 1;\n },\n default: 7\n },\n currentPage: Number,\n defaultCurrentPage: Number,\n layout: {\n type: String,\n default: [\"prev\", \"pager\", \"next\", \"jumper\", \"->\", \"total\"].join(\", \")\n },\n pageSizes: {\n type: definePropType(Array),\n default: () => mutable([10, 20, 30, 40, 50, 100])\n },\n popperClass: {\n type: String,\n default: \"\"\n },\n prevText: {\n type: String,\n default: \"\"\n },\n prevIcon: {\n type: iconPropType,\n default: () => ArrowLeft\n },\n nextText: {\n type: String,\n default: \"\"\n },\n nextIcon: {\n type: iconPropType,\n default: () => ArrowRight\n },\n small: Boolean,\n background: Boolean,\n disabled: Boolean,\n hideOnSinglePage: Boolean\n});\nconst paginationEmits = {\n \"update:current-page\": (val) => isNumber(val),\n \"update:page-size\": (val) => isNumber(val),\n \"size-change\": (val) => isNumber(val),\n \"current-change\": (val) => isNumber(val),\n \"prev-click\": (val) => isNumber(val),\n \"next-click\": (val) => isNumber(val)\n};\nconst componentName = \"ElPagination\";\nvar Pagination = defineComponent({\n name: componentName,\n props: paginationProps,\n emits: paginationEmits,\n setup(props, { emit, slots }) {\n const { t } = useLocale();\n const ns = useNamespace(\"pagination\");\n const vnodeProps = getCurrentInstance().vnode.props || {};\n const hasCurrentPageListener = \"onUpdate:currentPage\" in vnodeProps || \"onUpdate:current-page\" in vnodeProps || \"onCurrentChange\" in vnodeProps;\n const hasPageSizeListener = \"onUpdate:pageSize\" in vnodeProps || \"onUpdate:page-size\" in vnodeProps || \"onSizeChange\" in vnodeProps;\n const assertValidUsage = computed(() => {\n if (isAbsent(props.total) && isAbsent(props.pageCount))\n return false;\n if (!isAbsent(props.currentPage) && !hasCurrentPageListener)\n return false;\n if (props.layout.includes(\"sizes\")) {\n if (!isAbsent(props.pageCount)) {\n if (!hasPageSizeListener)\n return false;\n } else if (!isAbsent(props.total)) {\n if (!isAbsent(props.pageSize)) {\n if (!hasPageSizeListener) {\n return false;\n }\n } else {\n }\n }\n }\n return true;\n });\n const innerPageSize = ref(isAbsent(props.defaultPageSize) ? 10 : props.defaultPageSize);\n const innerCurrentPage = ref(isAbsent(props.defaultCurrentPage) ? 1 : props.defaultCurrentPage);\n const pageSizeBridge = computed({\n get() {\n return isAbsent(props.pageSize) ? innerPageSize.value : props.pageSize;\n },\n set(v) {\n if (isAbsent(props.pageSize)) {\n innerPageSize.value = v;\n }\n if (hasPageSizeListener) {\n emit(\"update:page-size\", v);\n emit(\"size-change\", v);\n }\n }\n });\n const pageCountBridge = computed(() => {\n let pageCount = 0;\n if (!isAbsent(props.pageCount)) {\n pageCount = props.pageCount;\n } else if (!isAbsent(props.total)) {\n pageCount = Math.max(1, Math.ceil(props.total / pageSizeBridge.value));\n }\n return pageCount;\n });\n const currentPageBridge = computed({\n get() {\n return isAbsent(props.currentPage) ? innerCurrentPage.value : props.currentPage;\n },\n set(v) {\n let newCurrentPage = v;\n if (v < 1) {\n newCurrentPage = 1;\n } else if (v > pageCountBridge.value) {\n newCurrentPage = pageCountBridge.value;\n }\n if (isAbsent(props.currentPage)) {\n innerCurrentPage.value = newCurrentPage;\n }\n if (hasCurrentPageListener) {\n emit(\"update:current-page\", newCurrentPage);\n emit(\"current-change\", newCurrentPage);\n }\n }\n });\n watch(pageCountBridge, (val) => {\n if (currentPageBridge.value > val)\n currentPageBridge.value = val;\n });\n function handleCurrentChange(val) {\n currentPageBridge.value = val;\n }\n function handleSizeChange(val) {\n pageSizeBridge.value = val;\n const newPageCount = pageCountBridge.value;\n if (currentPageBridge.value > newPageCount) {\n currentPageBridge.value = newPageCount;\n }\n }\n function prev() {\n if (props.disabled)\n return;\n currentPageBridge.value -= 1;\n emit(\"prev-click\", currentPageBridge.value);\n }\n function next() {\n if (props.disabled)\n return;\n currentPageBridge.value += 1;\n emit(\"next-click\", currentPageBridge.value);\n }\n function addClass(element, cls) {\n if (element) {\n if (!element.props) {\n element.props = {};\n }\n element.props.class = [element.props.class, cls].join(\" \");\n }\n }\n provide(elPaginationKey, {\n pageCount: pageCountBridge,\n disabled: computed(() => props.disabled),\n currentPage: currentPageBridge,\n changeEvent: handleCurrentChange,\n handleSizeChange\n });\n return () => {\n var _a, _b;\n if (!assertValidUsage.value) {\n debugWarn(componentName, t(\"el.pagination.deprecationWarning\"));\n return null;\n }\n if (!props.layout)\n return null;\n if (props.hideOnSinglePage && pageCountBridge.value <= 1)\n return null;\n const rootChildren = [];\n const rightWrapperChildren = [];\n const rightWrapperRoot = h(\"div\", { class: ns.e(\"rightwrapper\") }, rightWrapperChildren);\n const TEMPLATE_MAP = {\n prev: h(Prev, {\n disabled: props.disabled,\n currentPage: currentPageBridge.value,\n prevText: props.prevText,\n prevIcon: props.prevIcon,\n onClick: prev\n }),\n jumper: h(Jumper, {\n size: props.small ? \"small\" : \"default\"\n }),\n pager: h(Pager, {\n currentPage: currentPageBridge.value,\n pageCount: pageCountBridge.value,\n pagerCount: props.pagerCount,\n onChange: handleCurrentChange,\n disabled: props.disabled\n }),\n next: h(Next, {\n disabled: props.disabled,\n currentPage: currentPageBridge.value,\n pageCount: pageCountBridge.value,\n nextText: props.nextText,\n nextIcon: props.nextIcon,\n onClick: next\n }),\n sizes: h(Sizes, {\n pageSize: pageSizeBridge.value,\n pageSizes: props.pageSizes,\n popperClass: props.popperClass,\n disabled: props.disabled,\n size: props.small ? \"small\" : \"default\"\n }),\n slot: (_b = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : null,\n total: h(Total, { total: isAbsent(props.total) ? 0 : props.total })\n };\n const components = props.layout.split(\",\").map((item) => item.trim());\n let haveRightWrapper = false;\n components.forEach((c) => {\n if (c === \"->\") {\n haveRightWrapper = true;\n return;\n }\n if (!haveRightWrapper) {\n rootChildren.push(TEMPLATE_MAP[c]);\n } else {\n rightWrapperChildren.push(TEMPLATE_MAP[c]);\n }\n });\n addClass(rootChildren[0], ns.is(\"first\"));\n addClass(rootChildren[rootChildren.length - 1], ns.is(\"last\"));\n if (haveRightWrapper && rightWrapperChildren.length > 0) {\n addClass(rightWrapperChildren[0], ns.is(\"first\"));\n addClass(rightWrapperChildren[rightWrapperChildren.length - 1], ns.is(\"last\"));\n rootChildren.push(rightWrapperRoot);\n }\n return h(\"div\", {\n class: [\n ns.b(),\n ns.is(\"background\", props.background),\n {\n [ns.m(\"small\")]: props.small\n }\n ]\n }, rootChildren);\n };\n }\n});\n\nexport { Pagination as default, paginationEmits, paginationProps };\n//# sourceMappingURL=pagination.mjs.map\n","import '../../utils/index.mjs';\nimport Pagination from './src/pagination.mjs';\nexport { paginationEmits, paginationProps } from './src/pagination.mjs';\nexport { elPaginationKey } from './src/constants.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElPagination = withInstall(Pagination);\n\nexport { ElPagination, ElPagination as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst progressProps = buildProps({\n type: {\n type: String,\n default: \"line\",\n values: [\"line\", \"circle\", \"dashboard\"]\n },\n percentage: {\n type: Number,\n default: 0,\n validator: (val) => val >= 0 && val <= 100\n },\n status: {\n type: String,\n default: \"\",\n values: [\"\", \"success\", \"exception\", \"warning\"]\n },\n indeterminate: {\n type: Boolean,\n default: false\n },\n duration: {\n type: Number,\n default: 3\n },\n strokeWidth: {\n type: Number,\n default: 6\n },\n strokeLinecap: {\n type: definePropType(String),\n default: \"round\"\n },\n textInside: {\n type: Boolean,\n default: false\n },\n width: {\n type: Number,\n default: 126\n },\n showText: {\n type: Boolean,\n default: true\n },\n color: {\n type: definePropType([\n String,\n Array,\n Function\n ]),\n default: \"\"\n },\n striped: Boolean,\n stripedFlow: Boolean,\n format: {\n type: definePropType(Function),\n default: (percentage) => `${percentage}%`\n }\n});\n\nexport { progressProps };\n//# sourceMappingURL=progress.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, renderSlot, toDisplayString, createCommentVNode, createBlock, withCtx, resolveDynamicComponent } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { WarningFilled, CircleCheck, CircleClose, Check, Close } from '@element-plus/icons-vue';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { progressProps } from './progress.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isString, isFunction } from '@vue/shared';\n\nconst _hoisted_1 = [\"aria-valuenow\"];\nconst _hoisted_2 = { viewBox: \"0 0 100 100\" };\nconst _hoisted_3 = [\"d\", \"stroke\", \"stroke-linecap\", \"stroke-width\"];\nconst _hoisted_4 = [\"d\", \"stroke\", \"opacity\", \"stroke-linecap\", \"stroke-width\"];\nconst _hoisted_5 = { key: 0 };\nconst __default__ = defineComponent({\n name: \"ElProgress\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: progressProps,\n setup(__props) {\n const props = __props;\n const STATUS_COLOR_MAP = {\n success: \"#13ce66\",\n exception: \"#ff4949\",\n warning: \"#e6a23c\",\n default: \"#20a0ff\"\n };\n const ns = useNamespace(\"progress\");\n const barStyle = computed(() => ({\n width: `${props.percentage}%`,\n animationDuration: `${props.duration}s`,\n backgroundColor: getCurrentColor(props.percentage)\n }));\n const relativeStrokeWidth = computed(() => (props.strokeWidth / props.width * 100).toFixed(1));\n const radius = computed(() => {\n if ([\"circle\", \"dashboard\"].includes(props.type)) {\n return Number.parseInt(`${50 - Number.parseFloat(relativeStrokeWidth.value) / 2}`, 10);\n }\n return 0;\n });\n const trackPath = computed(() => {\n const r = radius.value;\n const isDashboard = props.type === \"dashboard\";\n return `\n M 50 50\n m 0 ${isDashboard ? \"\" : \"-\"}${r}\n a ${r} ${r} 0 1 1 0 ${isDashboard ? \"-\" : \"\"}${r * 2}\n a ${r} ${r} 0 1 1 0 ${isDashboard ? \"\" : \"-\"}${r * 2}\n `;\n });\n const perimeter = computed(() => 2 * Math.PI * radius.value);\n const rate = computed(() => props.type === \"dashboard\" ? 0.75 : 1);\n const strokeDashoffset = computed(() => {\n const offset = -1 * perimeter.value * (1 - rate.value) / 2;\n return `${offset}px`;\n });\n const trailPathStyle = computed(() => ({\n strokeDasharray: `${perimeter.value * rate.value}px, ${perimeter.value}px`,\n strokeDashoffset: strokeDashoffset.value\n }));\n const circlePathStyle = computed(() => ({\n strokeDasharray: `${perimeter.value * rate.value * (props.percentage / 100)}px, ${perimeter.value}px`,\n strokeDashoffset: strokeDashoffset.value,\n transition: \"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s\"\n }));\n const stroke = computed(() => {\n let ret;\n if (props.color) {\n ret = getCurrentColor(props.percentage);\n } else {\n ret = STATUS_COLOR_MAP[props.status] || STATUS_COLOR_MAP.default;\n }\n return ret;\n });\n const statusIcon = computed(() => {\n if (props.status === \"warning\") {\n return WarningFilled;\n }\n if (props.type === \"line\") {\n return props.status === \"success\" ? CircleCheck : CircleClose;\n } else {\n return props.status === \"success\" ? Check : Close;\n }\n });\n const progressTextSize = computed(() => {\n return props.type === \"line\" ? 12 + props.strokeWidth * 0.4 : props.width * 0.111111 + 2;\n });\n const content = computed(() => props.format(props.percentage));\n function getColors(color) {\n const span = 100 / color.length;\n const seriesColors = color.map((seriesColor, index) => {\n if (isString(seriesColor)) {\n return {\n color: seriesColor,\n percentage: (index + 1) * span\n };\n }\n return seriesColor;\n });\n return seriesColors.sort((a, b) => a.percentage - b.percentage);\n }\n const getCurrentColor = (percentage) => {\n var _a;\n const { color } = props;\n if (isFunction(color)) {\n return color(percentage);\n } else if (isString(color)) {\n return color;\n } else {\n const colors = getColors(color);\n for (const color2 of colors) {\n if (color2.percentage > percentage)\n return color2.color;\n }\n return (_a = colors[colors.length - 1]) == null ? void 0 : _a.color;\n }\n };\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\n unref(ns).b(),\n unref(ns).m(_ctx.type),\n unref(ns).is(_ctx.status),\n {\n [unref(ns).m(\"without-text\")]: !_ctx.showText,\n [unref(ns).m(\"text-inside\")]: _ctx.textInside\n }\n ]),\n role: \"progressbar\",\n \"aria-valuenow\": _ctx.percentage,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }, [\n _ctx.type === \"line\" ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).b(\"bar\"))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).be(\"bar\", \"outer\")),\n style: normalizeStyle({ height: `${_ctx.strokeWidth}px` })\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass([\n unref(ns).be(\"bar\", \"inner\"),\n { [unref(ns).bem(\"bar\", \"inner\", \"indeterminate\")]: _ctx.indeterminate },\n { [unref(ns).bem(\"bar\", \"inner\", \"striped\")]: _ctx.striped },\n { [unref(ns).bem(\"bar\", \"inner\", \"striped-flow\")]: _ctx.stripedFlow }\n ]),\n style: normalizeStyle(unref(barStyle))\n }, [\n (_ctx.showText || _ctx.$slots.default) && _ctx.textInside ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).be(\"bar\", \"innerText\"))\n }, [\n renderSlot(_ctx.$slots, \"default\", { percentage: _ctx.percentage }, () => [\n createElementVNode(\"span\", null, toDisplayString(unref(content)), 1)\n ])\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 6)\n ], 6)\n ], 2)) : (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass(unref(ns).b(\"circle\")),\n style: normalizeStyle({ height: `${_ctx.width}px`, width: `${_ctx.width}px` })\n }, [\n (openBlock(), createElementBlock(\"svg\", _hoisted_2, [\n createElementVNode(\"path\", {\n class: normalizeClass(unref(ns).be(\"circle\", \"track\")),\n d: unref(trackPath),\n stroke: `var(${unref(ns).cssVarName(\"fill-color-light\")}, #e5e9f2)`,\n \"stroke-linecap\": _ctx.strokeLinecap,\n \"stroke-width\": unref(relativeStrokeWidth),\n fill: \"none\",\n style: normalizeStyle(unref(trailPathStyle))\n }, null, 14, _hoisted_3),\n createElementVNode(\"path\", {\n class: normalizeClass(unref(ns).be(\"circle\", \"path\")),\n d: unref(trackPath),\n stroke: unref(stroke),\n fill: \"none\",\n opacity: _ctx.percentage ? 1 : 0,\n \"stroke-linecap\": _ctx.strokeLinecap,\n \"stroke-width\": unref(relativeStrokeWidth),\n style: normalizeStyle(unref(circlePathStyle))\n }, null, 14, _hoisted_4)\n ]))\n ], 6)),\n (_ctx.showText || _ctx.$slots.default) && !_ctx.textInside ? (openBlock(), createElementBlock(\"div\", {\n key: 2,\n class: normalizeClass(unref(ns).e(\"text\")),\n style: normalizeStyle({ fontSize: `${unref(progressTextSize)}px` })\n }, [\n renderSlot(_ctx.$slots, \"default\", { percentage: _ctx.percentage }, () => [\n !_ctx.status ? (openBlock(), createElementBlock(\"span\", _hoisted_5, toDisplayString(unref(content)), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(statusIcon))))\n ]),\n _: 1\n }))\n ])\n ], 6)) : createCommentVNode(\"v-if\", true)\n ], 10, _hoisted_1);\n };\n }\n});\nvar Progress = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue\"]]);\n\nexport { Progress as default };\n//# sourceMappingURL=progress2.mjs.map\n","import '../../utils/index.mjs';\nimport Progress from './src/progress2.mjs';\nexport { progressProps } from './src/progress.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElProgress = withInstall(Progress);\n\nexport { ElProgress, ElProgress as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nconst stepsProps = buildProps({\n space: {\n type: [Number, String],\n default: \"\"\n },\n active: {\n type: Number,\n default: 0\n },\n direction: {\n type: String,\n default: \"horizontal\",\n values: [\"horizontal\", \"vertical\"]\n },\n alignCenter: {\n type: Boolean\n },\n simple: {\n type: Boolean\n },\n finishStatus: {\n type: String,\n values: [\"wait\", \"process\", \"finish\", \"error\", \"success\"],\n default: \"finish\"\n },\n processStatus: {\n type: String,\n values: [\"wait\", \"process\", \"finish\", \"error\", \"success\"],\n default: \"process\"\n }\n});\nconst stepsEmits = {\n [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)\n};\n\nexport { stepsEmits, stepsProps };\n//# sourceMappingURL=steps.mjs.map\n","import { defineComponent, getCurrentInstance, watch, provide, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { stepsProps, stepsEmits } from './steps.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useOrderedChildren } from '../../../hooks/use-ordered-children/index.mjs';\nimport { CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElSteps\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: stepsProps,\n emits: stepsEmits,\n setup(__props, { emit }) {\n const props = __props;\n const ns = useNamespace(\"steps\");\n const {\n children: steps,\n addChild: addStep,\n removeChild: removeStep\n } = useOrderedChildren(getCurrentInstance(), \"ElStep\");\n watch(steps, () => {\n steps.value.forEach((instance, index) => {\n instance.setIndex(index);\n });\n });\n provide(\"ElSteps\", { props, steps, addStep, removeStep });\n watch(() => props.active, (newVal, oldVal) => {\n emit(CHANGE_EVENT, newVal, oldVal);\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([unref(ns).b(), unref(ns).m(_ctx.simple ? \"simple\" : _ctx.direction)])\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nvar Steps = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/steps/src/steps.vue\"]]);\n\nexport { Steps as default };\n//# sourceMappingURL=steps2.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\n\nconst stepProps = buildProps({\n title: {\n type: String,\n default: \"\"\n },\n icon: {\n type: iconPropType\n },\n description: {\n type: String,\n default: \"\"\n },\n status: {\n type: String,\n values: [\"\", \"wait\", \"process\", \"finish\", \"error\", \"success\"],\n default: \"\"\n }\n});\n\nexport { stepProps };\n//# sourceMappingURL=item.mjs.map\n","import { defineComponent, ref, inject, getCurrentInstance, onMounted, watch, onBeforeUnmount, computed, reactive, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createCommentVNode, createElementVNode, renderSlot, createBlock, withCtx, resolveDynamicComponent, createVNode, toDisplayString, createTextVNode } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { Check, Close } from '@element-plus/icons-vue';\nimport '../../../utils/index.mjs';\nimport { stepProps } from './item.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElStep\"\n});\nconst _sfc_main = defineComponent({\n ...__default__,\n props: stepProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"step\");\n const index = ref(-1);\n const lineStyle = ref({});\n const internalStatus = ref(\"\");\n const parent = inject(\"ElSteps\");\n const currentInstance = getCurrentInstance();\n onMounted(() => {\n watch([\n () => parent.props.active,\n () => parent.props.processStatus,\n () => parent.props.finishStatus\n ], ([active]) => {\n updateStatus(active);\n }, { immediate: true });\n });\n onBeforeUnmount(() => {\n parent.removeStep(stepItemState.uid);\n });\n const currentStatus = computed(() => {\n return props.status || internalStatus.value;\n });\n const prevStatus = computed(() => {\n const prevStep = parent.steps.value[index.value - 1];\n return prevStep ? prevStep.currentStatus : \"wait\";\n });\n const isCenter = computed(() => {\n return parent.props.alignCenter;\n });\n const isVertical = computed(() => {\n return parent.props.direction === \"vertical\";\n });\n const isSimple = computed(() => {\n return parent.props.simple;\n });\n const stepsCount = computed(() => {\n return parent.steps.value.length;\n });\n const isLast = computed(() => {\n var _a;\n return ((_a = parent.steps.value[stepsCount.value - 1]) == null ? void 0 : _a.uid) === (currentInstance == null ? void 0 : currentInstance.uid);\n });\n const space = computed(() => {\n return isSimple.value ? \"\" : parent.props.space;\n });\n const containerKls = computed(() => {\n return [\n ns.b(),\n ns.is(isSimple.value ? \"simple\" : parent.props.direction),\n ns.is(\"flex\", isLast.value && !space.value && !isCenter.value),\n ns.is(\"center\", isCenter.value && !isVertical.value && !isSimple.value)\n ];\n });\n const style = computed(() => {\n const style2 = {\n flexBasis: isNumber(space.value) ? `${space.value}px` : space.value ? space.value : `${100 / (stepsCount.value - (isCenter.value ? 0 : 1))}%`\n };\n if (isVertical.value)\n return style2;\n if (isLast.value) {\n style2.maxWidth = `${100 / stepsCount.value}%`;\n }\n return style2;\n });\n const setIndex = (val) => {\n index.value = val;\n };\n const calcProgress = (status) => {\n const isWait = status === \"wait\";\n const style2 = {\n transitionDelay: `${isWait ? \"-\" : \"\"}${150 * index.value}ms`\n };\n const step = status === parent.props.processStatus || isWait ? 0 : 100;\n style2.borderWidth = step && !isSimple.value ? \"1px\" : 0;\n style2[parent.props.direction === \"vertical\" ? \"height\" : \"width\"] = `${step}%`;\n lineStyle.value = style2;\n };\n const updateStatus = (activeIndex) => {\n if (activeIndex > index.value) {\n internalStatus.value = parent.props.finishStatus;\n } else if (activeIndex === index.value && prevStatus.value !== \"error\") {\n internalStatus.value = parent.props.processStatus;\n } else {\n internalStatus.value = \"wait\";\n }\n const prevChild = parent.steps.value[index.value - 1];\n if (prevChild)\n prevChild.calcProgress(internalStatus.value);\n };\n const stepItemState = reactive({\n uid: currentInstance.uid,\n currentStatus,\n setIndex,\n calcProgress\n });\n parent.addStep(stepItemState);\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n style: normalizeStyle(unref(style)),\n class: normalizeClass(unref(containerKls))\n }, [\n createCommentVNode(\" icon & line \"),\n createElementVNode(\"div\", {\n class: normalizeClass([unref(ns).e(\"head\"), unref(ns).is(unref(currentStatus))])\n }, [\n !unref(isSimple) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"line\"))\n }, [\n createElementVNode(\"i\", {\n class: normalizeClass(unref(ns).e(\"line-inner\")),\n style: normalizeStyle(lineStyle.value)\n }, null, 6)\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass([unref(ns).e(\"icon\"), unref(ns).is(_ctx.icon || _ctx.$slots.icon ? \"icon\" : \"text\")])\n }, [\n renderSlot(_ctx.$slots, \"icon\", {}, () => [\n _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(ns).e(\"icon-inner\"))\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))\n ]),\n _: 1\n }, 8, [\"class\"])) : unref(currentStatus) === \"success\" ? (openBlock(), createBlock(unref(ElIcon), {\n key: 1,\n class: normalizeClass([unref(ns).e(\"icon-inner\"), unref(ns).is(\"status\")])\n }, {\n default: withCtx(() => [\n createVNode(unref(Check))\n ]),\n _: 1\n }, 8, [\"class\"])) : unref(currentStatus) === \"error\" ? (openBlock(), createBlock(unref(ElIcon), {\n key: 2,\n class: normalizeClass([unref(ns).e(\"icon-inner\"), unref(ns).is(\"status\")])\n }, {\n default: withCtx(() => [\n createVNode(unref(Close))\n ]),\n _: 1\n }, 8, [\"class\"])) : !unref(isSimple) ? (openBlock(), createElementBlock(\"div\", {\n key: 3,\n class: normalizeClass(unref(ns).e(\"icon-inner\"))\n }, toDisplayString(index.value + 1), 3)) : createCommentVNode(\"v-if\", true)\n ])\n ], 2)\n ], 2),\n createCommentVNode(\" title & description \"),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"main\"))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass([unref(ns).e(\"title\"), unref(ns).is(unref(currentStatus))])\n }, [\n renderSlot(_ctx.$slots, \"title\", {}, () => [\n createTextVNode(toDisplayString(_ctx.title), 1)\n ])\n ], 2),\n unref(isSimple) ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"arrow\"))\n }, null, 2)) : (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass([unref(ns).e(\"description\"), unref(ns).is(unref(currentStatus))])\n }, [\n renderSlot(_ctx.$slots, \"description\", {}, () => [\n createTextVNode(toDisplayString(_ctx.description), 1)\n ])\n ], 2))\n ], 2)\n ], 6);\n };\n }\n});\nvar Step = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue\"]]);\n\nexport { Step as default };\n//# sourceMappingURL=item2.mjs.map\n","import '../../utils/index.mjs';\nimport Steps from './src/steps2.mjs';\nimport Step from './src/item2.mjs';\nexport { stepProps } from './src/item.mjs';\nexport { stepsEmits, stepsProps } from './src/steps.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElSteps = withInstall(Steps, {\n Step\n});\nconst ElStep = withNoopInstall(Step);\n\nexport { ElStep, ElSteps, ElSteps as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { isValidComponentSize } from '../../../utils/vue/validator.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT, INPUT_EVENT } from '../../../constants/event.mjs';\nimport { isBoolean, isNumber } from '../../../utils/types.mjs';\nimport { isString } from '@vue/shared';\n\nconst switchProps = buildProps({\n modelValue: {\n type: [Boolean, String, Number],\n default: false\n },\n disabled: {\n type: Boolean,\n default: false\n },\n loading: {\n type: Boolean,\n default: false\n },\n size: {\n type: String,\n validator: isValidComponentSize\n },\n width: {\n type: [String, Number],\n default: \"\"\n },\n inlinePrompt: {\n type: Boolean,\n default: false\n },\n inactiveActionIcon: {\n type: iconPropType\n },\n activeActionIcon: {\n type: iconPropType\n },\n activeIcon: {\n type: iconPropType\n },\n inactiveIcon: {\n type: iconPropType\n },\n activeText: {\n type: String,\n default: \"\"\n },\n inactiveText: {\n type: String,\n default: \"\"\n },\n activeValue: {\n type: [Boolean, String, Number],\n default: true\n },\n inactiveValue: {\n type: [Boolean, String, Number],\n default: false\n },\n activeColor: {\n type: String,\n default: \"\"\n },\n inactiveColor: {\n type: String,\n default: \"\"\n },\n borderColor: {\n type: String,\n default: \"\"\n },\n name: {\n type: String,\n default: \"\"\n },\n validateEvent: {\n type: Boolean,\n default: true\n },\n beforeChange: {\n type: definePropType(Function)\n },\n id: String,\n tabindex: {\n type: [String, Number]\n },\n value: {\n type: [Boolean, String, Number],\n default: false\n }\n});\nconst switchEmits = {\n [UPDATE_MODEL_EVENT]: (val) => isBoolean(val) || isString(val) || isNumber(val),\n [CHANGE_EVENT]: (val) => isBoolean(val) || isString(val) || isNumber(val),\n [INPUT_EVENT]: (val) => isBoolean(val) || isString(val) || isNumber(val)\n};\n\nexport { switchEmits, switchProps };\n//# sourceMappingURL=switch.mjs.map\n","import { defineComponent, getCurrentInstance, computed, ref, watch, nextTick, onMounted, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, withModifiers, createElementVNode, withKeys, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, toDisplayString, createVNode } from 'vue';\nimport { isPromise } from '@vue/shared';\nimport '../../../utils/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../form/index.mjs';\nimport { Loading } from '@element-plus/icons-vue';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { switchProps, switchEmits } from './switch.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useFormItem, useFormItemInputId } from '../../form/src/hooks/use-form-item.mjs';\nimport { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useDeprecated } from '../../../hooks/use-deprecated/index.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT, INPUT_EVENT } from '../../../constants/event.mjs';\nimport { debugWarn, throwError } from '../../../utils/error.mjs';\nimport { isBoolean } from '../../../utils/types.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"id\", \"aria-checked\", \"aria-disabled\", \"name\", \"true-value\", \"false-value\", \"disabled\", \"tabindex\", \"onKeydown\"];\nconst _hoisted_3 = [\"aria-hidden\"];\nconst _hoisted_4 = [\"aria-hidden\"];\nconst _hoisted_5 = [\"aria-hidden\"];\nconst COMPONENT_NAME = \"ElSwitch\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: switchProps,\n emits: switchEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const vm = getCurrentInstance();\n const { formItem } = useFormItem();\n const switchSize = useFormSize();\n const ns = useNamespace(\"switch\");\n const useBatchDeprecated = (list) => {\n list.forEach((param) => {\n useDeprecated({\n from: param[0],\n replacement: param[1],\n scope: COMPONENT_NAME,\n version: \"2.3.0\",\n ref: \"https://element-plus.org/en-US/component/switch.html#attributes\",\n type: \"Attribute\"\n }, computed(() => {\n var _a;\n return !!((_a = vm.vnode.props) == null ? void 0 : _a[param[2]]);\n }));\n });\n };\n useBatchDeprecated([\n ['\"value\"', '\"model-value\" or \"v-model\"', \"value\"],\n ['\"active-color\"', \"CSS var `--el-switch-on-color`\", \"activeColor\"],\n ['\"inactive-color\"', \"CSS var `--el-switch-off-color`\", \"inactiveColor\"],\n ['\"border-color\"', \"CSS var `--el-switch-border-color`\", \"borderColor\"]\n ]);\n const { inputId } = useFormItemInputId(props, {\n formItemContext: formItem\n });\n const switchDisabled = useFormDisabled(computed(() => props.loading));\n const isControlled = ref(props.modelValue !== false);\n const input = ref();\n const core = ref();\n const switchKls = computed(() => [\n ns.b(),\n ns.m(switchSize.value),\n ns.is(\"disabled\", switchDisabled.value),\n ns.is(\"checked\", checked.value)\n ]);\n const labelLeftKls = computed(() => [\n ns.e(\"label\"),\n ns.em(\"label\", \"left\"),\n ns.is(\"active\", !checked.value)\n ]);\n const labelRightKls = computed(() => [\n ns.e(\"label\"),\n ns.em(\"label\", \"right\"),\n ns.is(\"active\", checked.value)\n ]);\n const coreStyle = computed(() => ({\n width: addUnit(props.width)\n }));\n watch(() => props.modelValue, () => {\n isControlled.value = true;\n });\n watch(() => props.value, () => {\n isControlled.value = false;\n });\n const actualValue = computed(() => {\n return isControlled.value ? props.modelValue : props.value;\n });\n const checked = computed(() => actualValue.value === props.activeValue);\n if (![props.activeValue, props.inactiveValue].includes(actualValue.value)) {\n emit(UPDATE_MODEL_EVENT, props.inactiveValue);\n emit(CHANGE_EVENT, props.inactiveValue);\n emit(INPUT_EVENT, props.inactiveValue);\n }\n watch(checked, (val) => {\n var _a;\n input.value.checked = val;\n if (props.validateEvent) {\n (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"change\").catch((err) => debugWarn(err));\n }\n });\n const handleChange = () => {\n const val = checked.value ? props.inactiveValue : props.activeValue;\n emit(UPDATE_MODEL_EVENT, val);\n emit(CHANGE_EVENT, val);\n emit(INPUT_EVENT, val);\n nextTick(() => {\n input.value.checked = checked.value;\n });\n };\n const switchValue = () => {\n if (switchDisabled.value)\n return;\n const { beforeChange } = props;\n if (!beforeChange) {\n handleChange();\n return;\n }\n const shouldChange = beforeChange();\n const isPromiseOrBool = [\n isPromise(shouldChange),\n isBoolean(shouldChange)\n ].includes(true);\n if (!isPromiseOrBool) {\n throwError(COMPONENT_NAME, \"beforeChange must return type `Promise` or `boolean`\");\n }\n if (isPromise(shouldChange)) {\n shouldChange.then((result) => {\n if (result) {\n handleChange();\n }\n }).catch((e) => {\n debugWarn(COMPONENT_NAME, `some error occurred: ${e}`);\n });\n } else if (shouldChange) {\n handleChange();\n }\n };\n const styles = computed(() => {\n return ns.cssVarBlock({\n ...props.activeColor ? { \"on-color\": props.activeColor } : null,\n ...props.inactiveColor ? { \"off-color\": props.inactiveColor } : null,\n ...props.borderColor ? { \"border-color\": props.borderColor } : null\n });\n });\n const focus = () => {\n var _a, _b;\n (_b = (_a = input.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);\n };\n onMounted(() => {\n input.value.checked = checked.value;\n });\n expose({\n focus,\n checked\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(unref(switchKls)),\n style: normalizeStyle(unref(styles)),\n onClick: withModifiers(switchValue, [\"prevent\"])\n }, [\n createElementVNode(\"input\", {\n id: unref(inputId),\n ref_key: \"input\",\n ref: input,\n class: normalizeClass(unref(ns).e(\"input\")),\n type: \"checkbox\",\n role: \"switch\",\n \"aria-checked\": unref(checked),\n \"aria-disabled\": unref(switchDisabled),\n name: _ctx.name,\n \"true-value\": _ctx.activeValue,\n \"false-value\": _ctx.inactiveValue,\n disabled: unref(switchDisabled),\n tabindex: _ctx.tabindex,\n onChange: handleChange,\n onKeydown: withKeys(switchValue, [\"enter\"])\n }, null, 42, _hoisted_2),\n !_ctx.inlinePrompt && (_ctx.inactiveIcon || _ctx.inactiveText) ? (openBlock(), createElementBlock(\"span\", {\n key: 0,\n class: normalizeClass(unref(labelLeftKls))\n }, [\n _ctx.inactiveIcon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.inactiveIcon)))\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true),\n !_ctx.inactiveIcon && _ctx.inactiveText ? (openBlock(), createElementBlock(\"span\", {\n key: 1,\n \"aria-hidden\": unref(checked)\n }, toDisplayString(_ctx.inactiveText), 9, _hoisted_3)) : createCommentVNode(\"v-if\", true)\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"span\", {\n ref_key: \"core\",\n ref: core,\n class: normalizeClass(unref(ns).e(\"core\")),\n style: normalizeStyle(unref(coreStyle))\n }, [\n _ctx.inlinePrompt ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"inner\"))\n }, [\n _ctx.activeIcon || _ctx.inactiveIcon ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(ns).is(\"icon\"))\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(checked) ? _ctx.activeIcon : _ctx.inactiveIcon)))\n ]),\n _: 1\n }, 8, [\"class\"])) : _ctx.activeText || _ctx.inactiveText ? (openBlock(), createElementBlock(\"span\", {\n key: 1,\n class: normalizeClass(unref(ns).is(\"text\")),\n \"aria-hidden\": !unref(checked)\n }, toDisplayString(unref(checked) ? _ctx.activeText : _ctx.inactiveText), 11, _hoisted_4)) : createCommentVNode(\"v-if\", true)\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(ns).e(\"action\"))\n }, [\n _ctx.loading ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass(unref(ns).is(\"loading\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(Loading))\n ]),\n _: 1\n }, 8, [\"class\"])) : _ctx.activeActionIcon && unref(checked) ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.activeActionIcon)))\n ]),\n _: 1\n })) : _ctx.inactiveActionIcon && !unref(checked) ? (openBlock(), createBlock(unref(ElIcon), { key: 2 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.inactiveActionIcon)))\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true)\n ], 2)\n ], 6),\n !_ctx.inlinePrompt && (_ctx.activeIcon || _ctx.activeText) ? (openBlock(), createElementBlock(\"span\", {\n key: 1,\n class: normalizeClass(unref(labelRightKls))\n }, [\n _ctx.activeIcon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.activeIcon)))\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true),\n !_ctx.activeIcon && _ctx.activeText ? (openBlock(), createElementBlock(\"span\", {\n key: 1,\n \"aria-hidden\": !unref(checked)\n }, toDisplayString(_ctx.activeText), 9, _hoisted_5)) : createCommentVNode(\"v-if\", true)\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 14, _hoisted_1);\n };\n }\n});\nvar Switch = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue\"]]);\n\nexport { Switch as default };\n//# sourceMappingURL=switch2.mjs.map\n","import '../../utils/index.mjs';\nimport Switch from './src/switch2.mjs';\nexport { switchEmits, switchProps } from './src/switch.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElSwitch = withInstall(Switch);\n\nexport { ElSwitch, ElSwitch as default };\n//# sourceMappingURL=index.mjs.map\n","import { createPopper } from '@popperjs/core';\nimport { get, merge, flatMap } from 'lodash-unified';\nimport escapeHtml from 'escape-html';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { isObject, hasOwn, isArray } from '@vue/shared';\nimport { throwError } from '../../../utils/error.mjs';\nimport { isBoolean } from '../../../utils/types.mjs';\nimport { useDelayedToggle } from '../../../hooks/use-delayed-toggle/index.mjs';\n\nconst getCell = function(event) {\n var _a;\n return (_a = event.target) == null ? void 0 : _a.closest(\"td\");\n};\nconst orderBy = function(array, sortKey, reverse, sortMethod, sortBy) {\n if (!sortKey && !sortMethod && (!sortBy || Array.isArray(sortBy) && !sortBy.length)) {\n return array;\n }\n if (typeof reverse === \"string\") {\n reverse = reverse === \"descending\" ? -1 : 1;\n } else {\n reverse = reverse && reverse < 0 ? -1 : 1;\n }\n const getKey = sortMethod ? null : function(value, index) {\n if (sortBy) {\n if (!Array.isArray(sortBy)) {\n sortBy = [sortBy];\n }\n return sortBy.map((by) => {\n if (typeof by === \"string\") {\n return get(value, by);\n } else {\n return by(value, index, array);\n }\n });\n }\n if (sortKey !== \"$key\") {\n if (isObject(value) && \"$value\" in value)\n value = value.$value;\n }\n return [isObject(value) ? get(value, sortKey) : value];\n };\n const compare = function(a, b) {\n if (sortMethod) {\n return sortMethod(a.value, b.value);\n }\n for (let i = 0, len = a.key.length; i < len; i++) {\n if (a.key[i] < b.key[i]) {\n return -1;\n }\n if (a.key[i] > b.key[i]) {\n return 1;\n }\n }\n return 0;\n };\n return array.map((value, index) => {\n return {\n value,\n index,\n key: getKey ? getKey(value, index) : null\n };\n }).sort((a, b) => {\n let order = compare(a, b);\n if (!order) {\n order = a.index - b.index;\n }\n return order * +reverse;\n }).map((item) => item.value);\n};\nconst getColumnById = function(table, columnId) {\n let column = null;\n table.columns.forEach((item) => {\n if (item.id === columnId) {\n column = item;\n }\n });\n return column;\n};\nconst getColumnByKey = function(table, columnKey) {\n let column = null;\n for (let i = 0; i < table.columns.length; i++) {\n const item = table.columns[i];\n if (item.columnKey === columnKey) {\n column = item;\n break;\n }\n }\n if (!column)\n throwError(\"ElTable\", `No column matching with column-key: ${columnKey}`);\n return column;\n};\nconst getColumnByCell = function(table, cell, namespace) {\n const matches = (cell.className || \"\").match(new RegExp(`${namespace}-table_[^\\\\s]+`, \"gm\"));\n if (matches) {\n return getColumnById(table, matches[0]);\n }\n return null;\n};\nconst getRowIdentity = (row, rowKey) => {\n if (!row)\n throw new Error(\"Row is required when get row identity\");\n if (typeof rowKey === \"string\") {\n if (!rowKey.includes(\".\")) {\n return `${row[rowKey]}`;\n }\n const key = rowKey.split(\".\");\n let current = row;\n for (const element of key) {\n current = current[element];\n }\n return `${current}`;\n } else if (typeof rowKey === \"function\") {\n return rowKey.call(null, row);\n }\n};\nconst getKeysMap = function(array, rowKey) {\n const arrayMap = {};\n (array || []).forEach((row, index) => {\n arrayMap[getRowIdentity(row, rowKey)] = { row, index };\n });\n return arrayMap;\n};\nfunction mergeOptions(defaults, config) {\n const options = {};\n let key;\n for (key in defaults) {\n options[key] = defaults[key];\n }\n for (key in config) {\n if (hasOwn(config, key)) {\n const value = config[key];\n if (typeof value !== \"undefined\") {\n options[key] = value;\n }\n }\n }\n return options;\n}\nfunction parseWidth(width) {\n if (width === \"\")\n return width;\n if (width !== void 0) {\n width = Number.parseInt(width, 10);\n if (Number.isNaN(width)) {\n width = \"\";\n }\n }\n return width;\n}\nfunction parseMinWidth(minWidth) {\n if (minWidth === \"\")\n return minWidth;\n if (minWidth !== void 0) {\n minWidth = parseWidth(minWidth);\n if (Number.isNaN(minWidth)) {\n minWidth = 80;\n }\n }\n return minWidth;\n}\nfunction parseHeight(height) {\n if (typeof height === \"number\") {\n return height;\n }\n if (typeof height === \"string\") {\n if (/^\\d+(?:px)?$/.test(height)) {\n return Number.parseInt(height, 10);\n } else {\n return height;\n }\n }\n return null;\n}\nfunction compose(...funcs) {\n if (funcs.length === 0) {\n return (arg) => arg;\n }\n if (funcs.length === 1) {\n return funcs[0];\n }\n return funcs.reduce((a, b) => (...args) => a(b(...args)));\n}\nfunction toggleRowStatus(statusArr, row, newVal) {\n let changed = false;\n const index = statusArr.indexOf(row);\n const included = index !== -1;\n const toggleStatus = (type) => {\n if (type === \"add\") {\n statusArr.push(row);\n } else {\n statusArr.splice(index, 1);\n }\n changed = true;\n if (isArray(row.children)) {\n row.children.forEach((item) => {\n toggleRowStatus(statusArr, item, newVal != null ? newVal : !included);\n });\n }\n };\n if (isBoolean(newVal)) {\n if (newVal && !included) {\n toggleStatus(\"add\");\n } else if (!newVal && included) {\n toggleStatus(\"remove\");\n }\n } else {\n included ? toggleStatus(\"remove\") : toggleStatus(\"add\");\n }\n return changed;\n}\nfunction walkTreeNode(root, cb, childrenKey = \"children\", lazyKey = \"hasChildren\") {\n const isNil = (array) => !(Array.isArray(array) && array.length);\n function _walker(parent, children, level) {\n cb(parent, children, level);\n children.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, level + 1);\n return;\n }\n const children2 = item[childrenKey];\n if (!isNil(children2)) {\n _walker(item, children2, level + 1);\n }\n });\n }\n root.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, 0);\n return;\n }\n const children = item[childrenKey];\n if (!isNil(children)) {\n _walker(item, children, 0);\n }\n });\n}\nlet removePopper;\nfunction createTablePopper(parentNode, trigger, popperContent, nextZIndex, tooltipOptions) {\n tooltipOptions = merge({\n enterable: true,\n showArrow: true\n }, tooltipOptions);\n const ns = parentNode == null ? void 0 : parentNode.dataset.prefix;\n const scrollContainer = parentNode == null ? void 0 : parentNode.querySelector(`.${ns}-scrollbar__wrap`);\n function renderContent() {\n const isLight = tooltipOptions.effect === \"light\";\n const content2 = document.createElement(\"div\");\n content2.className = [\n `${ns}-popper`,\n isLight ? \"is-light\" : \"is-dark\",\n tooltipOptions.popperClass || \"\"\n ].join(\" \");\n popperContent = escapeHtml(popperContent);\n content2.innerHTML = popperContent;\n content2.style.zIndex = String(nextZIndex());\n parentNode == null ? void 0 : parentNode.appendChild(content2);\n return content2;\n }\n function renderArrow() {\n const arrow = document.createElement(\"div\");\n arrow.className = `${ns}-popper__arrow`;\n return arrow;\n }\n function showPopper() {\n popperInstance && popperInstance.update();\n }\n removePopper == null ? void 0 : removePopper();\n removePopper = () => {\n try {\n popperInstance && popperInstance.destroy();\n content && (parentNode == null ? void 0 : parentNode.removeChild(content));\n trigger.removeEventListener(\"mouseenter\", onOpen);\n trigger.removeEventListener(\"mouseleave\", onClose);\n scrollContainer == null ? void 0 : scrollContainer.removeEventListener(\"scroll\", removePopper);\n removePopper = void 0;\n } catch (e) {\n }\n };\n let popperInstance = null;\n let onOpen = showPopper;\n let onClose = removePopper;\n if (tooltipOptions.enterable) {\n ;\n ({ onOpen, onClose } = useDelayedToggle({\n showAfter: tooltipOptions.showAfter,\n hideAfter: tooltipOptions.hideAfter,\n open: showPopper,\n close: removePopper\n }));\n }\n const content = renderContent();\n content.onmouseenter = onOpen;\n content.onmouseleave = onClose;\n const modifiers = [];\n if (tooltipOptions.offset) {\n modifiers.push({\n name: \"offset\",\n options: {\n offset: [0, tooltipOptions.offset]\n }\n });\n }\n if (tooltipOptions.showArrow) {\n const arrow = content.appendChild(renderArrow());\n modifiers.push({\n name: \"arrow\",\n options: {\n element: arrow,\n padding: 10\n }\n });\n }\n const popperOptions = tooltipOptions.popperOptions || {};\n popperInstance = createPopper(trigger, content, {\n placement: tooltipOptions.placement || \"top\",\n strategy: \"fixed\",\n ...popperOptions,\n modifiers: popperOptions.modifiers ? modifiers.concat(popperOptions.modifiers) : modifiers\n });\n trigger.addEventListener(\"mouseenter\", onOpen);\n trigger.addEventListener(\"mouseleave\", onClose);\n scrollContainer == null ? void 0 : scrollContainer.addEventListener(\"scroll\", removePopper);\n return popperInstance;\n}\nfunction getCurrentColumns(column) {\n if (column.children) {\n return flatMap(column.children, getCurrentColumns);\n } else {\n return [column];\n }\n}\nfunction getColSpan(colSpan, column) {\n return colSpan + column.colSpan;\n}\nconst isFixedColumn = (index, fixed, store, realColumns) => {\n let start = 0;\n let after = index;\n const columns = store.states.columns.value;\n if (realColumns) {\n const curColumns = getCurrentColumns(realColumns[index]);\n const preColumns = columns.slice(0, columns.indexOf(curColumns[0]));\n start = preColumns.reduce(getColSpan, 0);\n after = start + curColumns.reduce(getColSpan, 0) - 1;\n } else {\n start = index;\n }\n let fixedLayout;\n switch (fixed) {\n case \"left\":\n if (after < store.states.fixedLeafColumnsLength.value) {\n fixedLayout = \"left\";\n }\n break;\n case \"right\":\n if (start >= columns.length - store.states.rightFixedLeafColumnsLength.value) {\n fixedLayout = \"right\";\n }\n break;\n default:\n if (after < store.states.fixedLeafColumnsLength.value) {\n fixedLayout = \"left\";\n } else if (start >= columns.length - store.states.rightFixedLeafColumnsLength.value) {\n fixedLayout = \"right\";\n }\n }\n return fixedLayout ? {\n direction: fixedLayout,\n start,\n after\n } : {};\n};\nconst getFixedColumnsClass = (namespace, index, fixed, store, realColumns, offset = 0) => {\n const classes = [];\n const { direction, start, after } = isFixedColumn(index, fixed, store, realColumns);\n if (direction) {\n const isLeft = direction === \"left\";\n classes.push(`${namespace}-fixed-column--${direction}`);\n if (isLeft && after + offset === store.states.fixedLeafColumnsLength.value - 1) {\n classes.push(\"is-last-column\");\n } else if (!isLeft && start - offset === store.states.columns.value.length - store.states.rightFixedLeafColumnsLength.value) {\n classes.push(\"is-first-column\");\n }\n }\n return classes;\n};\nfunction getOffset(offset, column) {\n return offset + (column.realWidth === null || Number.isNaN(column.realWidth) ? Number(column.width) : column.realWidth);\n}\nconst getFixedColumnOffset = (index, fixed, store, realColumns) => {\n const {\n direction,\n start = 0,\n after = 0\n } = isFixedColumn(index, fixed, store, realColumns);\n if (!direction) {\n return;\n }\n const styles = {};\n const isLeft = direction === \"left\";\n const columns = store.states.columns.value;\n if (isLeft) {\n styles.left = columns.slice(0, start).reduce(getOffset, 0);\n } else {\n styles.right = columns.slice(after + 1).reverse().reduce(getOffset, 0);\n }\n return styles;\n};\nconst ensurePosition = (style, key) => {\n if (!style)\n return;\n if (!Number.isNaN(style[key])) {\n style[key] = `${style[key]}px`;\n }\n};\n\nexport { compose, createTablePopper, ensurePosition, getCell, getColumnByCell, getColumnById, getColumnByKey, getFixedColumnOffset, getFixedColumnsClass, getKeysMap, getRowIdentity, isFixedColumn, mergeOptions, orderBy, parseHeight, parseMinWidth, parseWidth, removePopper, toggleRowStatus, walkTreeNode };\n//# sourceMappingURL=util.mjs.map\n","import { getCurrentInstance, toRefs, ref, watch, unref } from 'vue';\nimport '../../../../utils/index.mjs';\nimport { orderBy, getKeysMap, toggleRowStatus, getRowIdentity, getColumnById, getColumnByKey } from '../util.mjs';\nimport useExpand from './expand.mjs';\nimport useCurrent from './current.mjs';\nimport useTree from './tree.mjs';\nimport { hasOwn } from '@vue/shared';\n\nconst sortData = (data, states) => {\n const sortingColumn = states.sortingColumn;\n if (!sortingColumn || typeof sortingColumn.sortable === \"string\") {\n return data;\n }\n return orderBy(data, states.sortProp, states.sortOrder, sortingColumn.sortMethod, sortingColumn.sortBy);\n};\nconst doFlattenColumns = (columns) => {\n const result = [];\n columns.forEach((column) => {\n if (column.children && column.children.length > 0) {\n result.push.apply(result, doFlattenColumns(column.children));\n } else {\n result.push(column);\n }\n });\n return result;\n};\nfunction useWatcher() {\n var _a;\n const instance = getCurrentInstance();\n const { size: tableSize } = toRefs((_a = instance.proxy) == null ? void 0 : _a.$props);\n const rowKey = ref(null);\n const data = ref([]);\n const _data = ref([]);\n const isComplex = ref(false);\n const _columns = ref([]);\n const originColumns = ref([]);\n const columns = ref([]);\n const fixedColumns = ref([]);\n const rightFixedColumns = ref([]);\n const leafColumns = ref([]);\n const fixedLeafColumns = ref([]);\n const rightFixedLeafColumns = ref([]);\n const updateOrderFns = [];\n const leafColumnsLength = ref(0);\n const fixedLeafColumnsLength = ref(0);\n const rightFixedLeafColumnsLength = ref(0);\n const isAllSelected = ref(false);\n const selection = ref([]);\n const reserveSelection = ref(false);\n const selectOnIndeterminate = ref(false);\n const selectable = ref(null);\n const filters = ref({});\n const filteredData = ref(null);\n const sortingColumn = ref(null);\n const sortProp = ref(null);\n const sortOrder = ref(null);\n const hoverRow = ref(null);\n watch(data, () => instance.state && scheduleLayout(false), {\n deep: true\n });\n const assertRowKey = () => {\n if (!rowKey.value)\n throw new Error(\"[ElTable] prop row-key is required\");\n };\n const updateChildFixed = (column) => {\n var _a2;\n (_a2 = column.children) == null ? void 0 : _a2.forEach((childColumn) => {\n childColumn.fixed = column.fixed;\n updateChildFixed(childColumn);\n });\n };\n const updateColumns = () => {\n _columns.value.forEach((column) => {\n updateChildFixed(column);\n });\n fixedColumns.value = _columns.value.filter((column) => column.fixed === true || column.fixed === \"left\");\n rightFixedColumns.value = _columns.value.filter((column) => column.fixed === \"right\");\n if (fixedColumns.value.length > 0 && _columns.value[0] && _columns.value[0].type === \"selection\" && !_columns.value[0].fixed) {\n _columns.value[0].fixed = true;\n fixedColumns.value.unshift(_columns.value[0]);\n }\n const notFixedColumns = _columns.value.filter((column) => !column.fixed);\n originColumns.value = [].concat(fixedColumns.value).concat(notFixedColumns).concat(rightFixedColumns.value);\n const leafColumns2 = doFlattenColumns(notFixedColumns);\n const fixedLeafColumns2 = doFlattenColumns(fixedColumns.value);\n const rightFixedLeafColumns2 = doFlattenColumns(rightFixedColumns.value);\n leafColumnsLength.value = leafColumns2.length;\n fixedLeafColumnsLength.value = fixedLeafColumns2.length;\n rightFixedLeafColumnsLength.value = rightFixedLeafColumns2.length;\n columns.value = [].concat(fixedLeafColumns2).concat(leafColumns2).concat(rightFixedLeafColumns2);\n isComplex.value = fixedColumns.value.length > 0 || rightFixedColumns.value.length > 0;\n };\n const scheduleLayout = (needUpdateColumns, immediate = false) => {\n if (needUpdateColumns) {\n updateColumns();\n }\n if (immediate) {\n instance.state.doLayout();\n } else {\n instance.state.debouncedUpdateLayout();\n }\n };\n const isSelected = (row) => {\n return selection.value.includes(row);\n };\n const clearSelection = () => {\n isAllSelected.value = false;\n const oldSelection = selection.value;\n if (oldSelection.length) {\n selection.value = [];\n instance.emit(\"selection-change\", []);\n }\n };\n const cleanSelection = () => {\n let deleted;\n if (rowKey.value) {\n deleted = [];\n const selectedMap = getKeysMap(selection.value, rowKey.value);\n const dataMap = getKeysMap(data.value, rowKey.value);\n for (const key in selectedMap) {\n if (hasOwn(selectedMap, key) && !dataMap[key]) {\n deleted.push(selectedMap[key].row);\n }\n }\n } else {\n deleted = selection.value.filter((item) => !data.value.includes(item));\n }\n if (deleted.length) {\n const newSelection = selection.value.filter((item) => !deleted.includes(item));\n selection.value = newSelection;\n instance.emit(\"selection-change\", newSelection.slice());\n }\n };\n const getSelectionRows = () => {\n return (selection.value || []).slice();\n };\n const toggleRowSelection = (row, selected = void 0, emitChange = true) => {\n const changed = toggleRowStatus(selection.value, row, selected);\n if (changed) {\n const newSelection = (selection.value || []).slice();\n if (emitChange) {\n instance.emit(\"select\", newSelection, row);\n }\n instance.emit(\"selection-change\", newSelection);\n }\n };\n const _toggleAllSelection = () => {\n var _a2, _b;\n const value = selectOnIndeterminate.value ? !isAllSelected.value : !(isAllSelected.value || selection.value.length);\n isAllSelected.value = value;\n let selectionChanged = false;\n let childrenCount = 0;\n const rowKey2 = (_b = (_a2 = instance == null ? void 0 : instance.store) == null ? void 0 : _a2.states) == null ? void 0 : _b.rowKey.value;\n data.value.forEach((row, index) => {\n const rowIndex = index + childrenCount;\n if (selectable.value) {\n if (selectable.value.call(null, row, rowIndex) && toggleRowStatus(selection.value, row, value)) {\n selectionChanged = true;\n }\n } else {\n if (toggleRowStatus(selection.value, row, value)) {\n selectionChanged = true;\n }\n }\n childrenCount += getChildrenCount(getRowIdentity(row, rowKey2));\n });\n if (selectionChanged) {\n instance.emit(\"selection-change\", selection.value ? selection.value.slice() : []);\n }\n instance.emit(\"select-all\", selection.value);\n };\n const updateSelectionByRowKey = () => {\n const selectedMap = getKeysMap(selection.value, rowKey.value);\n data.value.forEach((row) => {\n const rowId = getRowIdentity(row, rowKey.value);\n const rowInfo = selectedMap[rowId];\n if (rowInfo) {\n selection.value[rowInfo.index] = row;\n }\n });\n };\n const updateAllSelected = () => {\n var _a2, _b, _c;\n if (((_a2 = data.value) == null ? void 0 : _a2.length) === 0) {\n isAllSelected.value = false;\n return;\n }\n let selectedMap;\n if (rowKey.value) {\n selectedMap = getKeysMap(selection.value, rowKey.value);\n }\n const isSelected2 = function(row) {\n if (selectedMap) {\n return !!selectedMap[getRowIdentity(row, rowKey.value)];\n } else {\n return selection.value.includes(row);\n }\n };\n let isAllSelected_ = true;\n let selectedCount = 0;\n let childrenCount = 0;\n for (let i = 0, j = (data.value || []).length; i < j; i++) {\n const keyProp = (_c = (_b = instance == null ? void 0 : instance.store) == null ? void 0 : _b.states) == null ? void 0 : _c.rowKey.value;\n const rowIndex = i + childrenCount;\n const item = data.value[i];\n const isRowSelectable = selectable.value && selectable.value.call(null, item, rowIndex);\n if (!isSelected2(item)) {\n if (!selectable.value || isRowSelectable) {\n isAllSelected_ = false;\n break;\n }\n } else {\n selectedCount++;\n }\n childrenCount += getChildrenCount(getRowIdentity(item, keyProp));\n }\n if (selectedCount === 0)\n isAllSelected_ = false;\n isAllSelected.value = isAllSelected_;\n };\n const getChildrenCount = (rowKey2) => {\n var _a2;\n if (!instance || !instance.store)\n return 0;\n const { treeData } = instance.store.states;\n let count = 0;\n const children = (_a2 = treeData.value[rowKey2]) == null ? void 0 : _a2.children;\n if (children) {\n count += children.length;\n children.forEach((childKey) => {\n count += getChildrenCount(childKey);\n });\n }\n return count;\n };\n const updateFilters = (columns2, values) => {\n if (!Array.isArray(columns2)) {\n columns2 = [columns2];\n }\n const filters_ = {};\n columns2.forEach((col) => {\n filters.value[col.id] = values;\n filters_[col.columnKey || col.id] = values;\n });\n return filters_;\n };\n const updateSort = (column, prop, order) => {\n if (sortingColumn.value && sortingColumn.value !== column) {\n sortingColumn.value.order = null;\n }\n sortingColumn.value = column;\n sortProp.value = prop;\n sortOrder.value = order;\n };\n const execFilter = () => {\n let sourceData = unref(_data);\n Object.keys(filters.value).forEach((columnId) => {\n const values = filters.value[columnId];\n if (!values || values.length === 0)\n return;\n const column = getColumnById({\n columns: columns.value\n }, columnId);\n if (column && column.filterMethod) {\n sourceData = sourceData.filter((row) => {\n return values.some((value) => column.filterMethod.call(null, value, row, column));\n });\n }\n });\n filteredData.value = sourceData;\n };\n const execSort = () => {\n data.value = sortData(filteredData.value, {\n sortingColumn: sortingColumn.value,\n sortProp: sortProp.value,\n sortOrder: sortOrder.value\n });\n };\n const execQuery = (ignore = void 0) => {\n if (!(ignore && ignore.filter)) {\n execFilter();\n }\n execSort();\n };\n const clearFilter = (columnKeys) => {\n const { tableHeaderRef } = instance.refs;\n if (!tableHeaderRef)\n return;\n const panels = Object.assign({}, tableHeaderRef.filterPanels);\n const keys = Object.keys(panels);\n if (!keys.length)\n return;\n if (typeof columnKeys === \"string\") {\n columnKeys = [columnKeys];\n }\n if (Array.isArray(columnKeys)) {\n const columns_ = columnKeys.map((key) => getColumnByKey({\n columns: columns.value\n }, key));\n keys.forEach((key) => {\n const column = columns_.find((col) => col.id === key);\n if (column) {\n column.filteredValue = [];\n }\n });\n instance.store.commit(\"filterChange\", {\n column: columns_,\n values: [],\n silent: true,\n multi: true\n });\n } else {\n keys.forEach((key) => {\n const column = columns.value.find((col) => col.id === key);\n if (column) {\n column.filteredValue = [];\n }\n });\n filters.value = {};\n instance.store.commit(\"filterChange\", {\n column: {},\n values: [],\n silent: true\n });\n }\n };\n const clearSort = () => {\n if (!sortingColumn.value)\n return;\n updateSort(null, null, null);\n instance.store.commit(\"changeSortCondition\", {\n silent: true\n });\n };\n const {\n setExpandRowKeys,\n toggleRowExpansion,\n updateExpandRows,\n states: expandStates,\n isRowExpanded\n } = useExpand({\n data,\n rowKey\n });\n const {\n updateTreeExpandKeys,\n toggleTreeExpansion,\n updateTreeData,\n loadOrToggle,\n states: treeStates\n } = useTree({\n data,\n rowKey\n });\n const {\n updateCurrentRowData,\n updateCurrentRow,\n setCurrentRowKey,\n states: currentData\n } = useCurrent({\n data,\n rowKey\n });\n const setExpandRowKeysAdapter = (val) => {\n setExpandRowKeys(val);\n updateTreeExpandKeys(val);\n };\n const toggleRowExpansionAdapter = (row, expanded) => {\n const hasExpandColumn = columns.value.some(({ type }) => type === \"expand\");\n if (hasExpandColumn) {\n toggleRowExpansion(row, expanded);\n } else {\n toggleTreeExpansion(row, expanded);\n }\n };\n return {\n assertRowKey,\n updateColumns,\n scheduleLayout,\n isSelected,\n clearSelection,\n cleanSelection,\n getSelectionRows,\n toggleRowSelection,\n _toggleAllSelection,\n toggleAllSelection: null,\n updateSelectionByRowKey,\n updateAllSelected,\n updateFilters,\n updateCurrentRow,\n updateSort,\n execFilter,\n execSort,\n execQuery,\n clearFilter,\n clearSort,\n toggleRowExpansion,\n setExpandRowKeysAdapter,\n setCurrentRowKey,\n toggleRowExpansionAdapter,\n isRowExpanded,\n updateExpandRows,\n updateCurrentRowData,\n loadOrToggle,\n updateTreeData,\n states: {\n tableSize,\n rowKey,\n data,\n _data,\n isComplex,\n _columns,\n originColumns,\n columns,\n fixedColumns,\n rightFixedColumns,\n leafColumns,\n fixedLeafColumns,\n rightFixedLeafColumns,\n updateOrderFns,\n leafColumnsLength,\n fixedLeafColumnsLength,\n rightFixedLeafColumnsLength,\n isAllSelected,\n selection,\n reserveSelection,\n selectOnIndeterminate,\n selectable,\n filters,\n filteredData,\n sortingColumn,\n sortProp,\n sortOrder,\n hoverRow,\n ...expandStates,\n ...treeStates,\n ...currentData\n }\n };\n}\n\nexport { useWatcher as default };\n//# sourceMappingURL=watcher.mjs.map\n","import { getCurrentInstance, ref } from 'vue';\nimport { getKeysMap, getRowIdentity, toggleRowStatus } from '../util.mjs';\n\nfunction useExpand(watcherData) {\n const instance = getCurrentInstance();\n const defaultExpandAll = ref(false);\n const expandRows = ref([]);\n const updateExpandRows = () => {\n const data = watcherData.data.value || [];\n const rowKey = watcherData.rowKey.value;\n if (defaultExpandAll.value) {\n expandRows.value = data.slice();\n } else if (rowKey) {\n const expandRowsMap = getKeysMap(expandRows.value, rowKey);\n expandRows.value = data.reduce((prev, row) => {\n const rowId = getRowIdentity(row, rowKey);\n const rowInfo = expandRowsMap[rowId];\n if (rowInfo) {\n prev.push(row);\n }\n return prev;\n }, []);\n } else {\n expandRows.value = [];\n }\n };\n const toggleRowExpansion = (row, expanded) => {\n const changed = toggleRowStatus(expandRows.value, row, expanded);\n if (changed) {\n instance.emit(\"expand-change\", row, expandRows.value.slice());\n }\n };\n const setExpandRowKeys = (rowKeys) => {\n instance.store.assertRowKey();\n const data = watcherData.data.value || [];\n const rowKey = watcherData.rowKey.value;\n const keysMap = getKeysMap(data, rowKey);\n expandRows.value = rowKeys.reduce((prev, cur) => {\n const info = keysMap[cur];\n if (info) {\n prev.push(info.row);\n }\n return prev;\n }, []);\n };\n const isRowExpanded = (row) => {\n const rowKey = watcherData.rowKey.value;\n if (rowKey) {\n const expandMap = getKeysMap(expandRows.value, rowKey);\n return !!expandMap[getRowIdentity(row, rowKey)];\n }\n return expandRows.value.includes(row);\n };\n return {\n updateExpandRows,\n toggleRowExpansion,\n setExpandRowKeys,\n isRowExpanded,\n states: {\n expandRows,\n defaultExpandAll\n }\n };\n}\n\nexport { useExpand as default };\n//# sourceMappingURL=expand.mjs.map\n","import { ref, getCurrentInstance, computed, unref, watch } from 'vue';\nimport { getRowIdentity, walkTreeNode } from '../util.mjs';\n\nfunction useTree(watcherData) {\n const expandRowKeys = ref([]);\n const treeData = ref({});\n const indent = ref(16);\n const lazy = ref(false);\n const lazyTreeNodeMap = ref({});\n const lazyColumnIdentifier = ref(\"hasChildren\");\n const childrenColumnName = ref(\"children\");\n const instance = getCurrentInstance();\n const normalizedData = computed(() => {\n if (!watcherData.rowKey.value)\n return {};\n const data = watcherData.data.value || [];\n return normalize(data);\n });\n const normalizedLazyNode = computed(() => {\n const rowKey = watcherData.rowKey.value;\n const keys = Object.keys(lazyTreeNodeMap.value);\n const res = {};\n if (!keys.length)\n return res;\n keys.forEach((key) => {\n if (lazyTreeNodeMap.value[key].length) {\n const item = { children: [] };\n lazyTreeNodeMap.value[key].forEach((row) => {\n const currentRowKey = getRowIdentity(row, rowKey);\n item.children.push(currentRowKey);\n if (row[lazyColumnIdentifier.value] && !res[currentRowKey]) {\n res[currentRowKey] = { children: [] };\n }\n });\n res[key] = item;\n }\n });\n return res;\n });\n const normalize = (data) => {\n const rowKey = watcherData.rowKey.value;\n const res = {};\n walkTreeNode(data, (parent, children, level) => {\n const parentId = getRowIdentity(parent, rowKey);\n if (Array.isArray(children)) {\n res[parentId] = {\n children: children.map((row) => getRowIdentity(row, rowKey)),\n level\n };\n } else if (lazy.value) {\n res[parentId] = {\n children: [],\n lazy: true,\n level\n };\n }\n }, childrenColumnName.value, lazyColumnIdentifier.value);\n return res;\n };\n const updateTreeData = (ifChangeExpandRowKeys = false, ifExpandAll = ((_a) => (_a = instance.store) == null ? void 0 : _a.states.defaultExpandAll.value)()) => {\n var _a2;\n const nested = normalizedData.value;\n const normalizedLazyNode_ = normalizedLazyNode.value;\n const keys = Object.keys(nested);\n const newTreeData = {};\n if (keys.length) {\n const oldTreeData = unref(treeData);\n const rootLazyRowKeys = [];\n const getExpanded = (oldValue, key) => {\n if (ifChangeExpandRowKeys) {\n if (expandRowKeys.value) {\n return ifExpandAll || expandRowKeys.value.includes(key);\n } else {\n return !!(ifExpandAll || (oldValue == null ? void 0 : oldValue.expanded));\n }\n } else {\n const included = ifExpandAll || expandRowKeys.value && expandRowKeys.value.includes(key);\n return !!((oldValue == null ? void 0 : oldValue.expanded) || included);\n }\n };\n keys.forEach((key) => {\n const oldValue = oldTreeData[key];\n const newValue = { ...nested[key] };\n newValue.expanded = getExpanded(oldValue, key);\n if (newValue.lazy) {\n const { loaded = false, loading = false } = oldValue || {};\n newValue.loaded = !!loaded;\n newValue.loading = !!loading;\n rootLazyRowKeys.push(key);\n }\n newTreeData[key] = newValue;\n });\n const lazyKeys = Object.keys(normalizedLazyNode_);\n if (lazy.value && lazyKeys.length && rootLazyRowKeys.length) {\n lazyKeys.forEach((key) => {\n const oldValue = oldTreeData[key];\n const lazyNodeChildren = normalizedLazyNode_[key].children;\n if (rootLazyRowKeys.includes(key)) {\n if (newTreeData[key].children.length !== 0) {\n throw new Error(\"[ElTable]children must be an empty array.\");\n }\n newTreeData[key].children = lazyNodeChildren;\n } else {\n const { loaded = false, loading = false } = oldValue || {};\n newTreeData[key] = {\n lazy: true,\n loaded: !!loaded,\n loading: !!loading,\n expanded: getExpanded(oldValue, key),\n children: lazyNodeChildren,\n level: \"\"\n };\n }\n });\n }\n }\n treeData.value = newTreeData;\n (_a2 = instance.store) == null ? void 0 : _a2.updateTableScrollY();\n };\n watch(() => expandRowKeys.value, () => {\n updateTreeData(true);\n });\n watch(() => normalizedData.value, () => {\n updateTreeData();\n });\n watch(() => normalizedLazyNode.value, () => {\n updateTreeData();\n });\n const updateTreeExpandKeys = (value) => {\n expandRowKeys.value = value;\n updateTreeData();\n };\n const toggleTreeExpansion = (row, expanded) => {\n instance.store.assertRowKey();\n const rowKey = watcherData.rowKey.value;\n const id = getRowIdentity(row, rowKey);\n const data = id && treeData.value[id];\n if (id && data && \"expanded\" in data) {\n const oldExpanded = data.expanded;\n expanded = typeof expanded === \"undefined\" ? !data.expanded : expanded;\n treeData.value[id].expanded = expanded;\n if (oldExpanded !== expanded) {\n instance.emit(\"expand-change\", row, expanded);\n }\n instance.store.updateTableScrollY();\n }\n };\n const loadOrToggle = (row) => {\n instance.store.assertRowKey();\n const rowKey = watcherData.rowKey.value;\n const id = getRowIdentity(row, rowKey);\n const data = treeData.value[id];\n if (lazy.value && data && \"loaded\" in data && !data.loaded) {\n loadData(row, id, data);\n } else {\n toggleTreeExpansion(row, void 0);\n }\n };\n const loadData = (row, key, treeNode) => {\n const { load } = instance.props;\n if (load && !treeData.value[key].loaded) {\n treeData.value[key].loading = true;\n load(row, treeNode, (data) => {\n if (!Array.isArray(data)) {\n throw new TypeError(\"[ElTable] data must be an array\");\n }\n treeData.value[key].loading = false;\n treeData.value[key].loaded = true;\n treeData.value[key].expanded = true;\n if (data.length) {\n lazyTreeNodeMap.value[key] = data;\n }\n instance.emit(\"expand-change\", row, true);\n });\n }\n };\n return {\n loadData,\n loadOrToggle,\n toggleTreeExpansion,\n updateTreeExpandKeys,\n updateTreeData,\n normalize,\n states: {\n expandRowKeys,\n treeData,\n indent,\n lazy,\n lazyTreeNodeMap,\n lazyColumnIdentifier,\n childrenColumnName\n }\n };\n}\n\nexport { useTree as default };\n//# sourceMappingURL=tree.mjs.map\n","import { getCurrentInstance, ref, unref } from 'vue';\nimport { getRowIdentity } from '../util.mjs';\n\nfunction useCurrent(watcherData) {\n const instance = getCurrentInstance();\n const _currentRowKey = ref(null);\n const currentRow = ref(null);\n const setCurrentRowKey = (key) => {\n instance.store.assertRowKey();\n _currentRowKey.value = key;\n setCurrentRowByKey(key);\n };\n const restoreCurrentRowKey = () => {\n _currentRowKey.value = null;\n };\n const setCurrentRowByKey = (key) => {\n const { data, rowKey } = watcherData;\n let _currentRow = null;\n if (rowKey.value) {\n _currentRow = (unref(data) || []).find((item) => getRowIdentity(item, rowKey.value) === key);\n }\n currentRow.value = _currentRow;\n instance.emit(\"current-change\", currentRow.value, null);\n };\n const updateCurrentRow = (_currentRow) => {\n const oldCurrentRow = currentRow.value;\n if (_currentRow && _currentRow !== oldCurrentRow) {\n currentRow.value = _currentRow;\n instance.emit(\"current-change\", currentRow.value, oldCurrentRow);\n return;\n }\n if (!_currentRow && oldCurrentRow) {\n currentRow.value = null;\n instance.emit(\"current-change\", null, oldCurrentRow);\n }\n };\n const updateCurrentRowData = () => {\n const rowKey = watcherData.rowKey.value;\n const data = watcherData.data.value || [];\n const oldCurrentRow = currentRow.value;\n if (!data.includes(oldCurrentRow) && oldCurrentRow) {\n if (rowKey) {\n const currentRowKey = getRowIdentity(oldCurrentRow, rowKey);\n setCurrentRowByKey(currentRowKey);\n } else {\n currentRow.value = null;\n }\n if (currentRow.value === null) {\n instance.emit(\"current-change\", null, oldCurrentRow);\n }\n } else if (_currentRowKey.value) {\n setCurrentRowByKey(_currentRowKey.value);\n restoreCurrentRowKey();\n }\n };\n return {\n setCurrentRowKey,\n restoreCurrentRowKey,\n setCurrentRowByKey,\n updateCurrentRow,\n updateCurrentRowData,\n states: {\n _currentRowKey,\n currentRow\n }\n };\n}\n\nexport { useCurrent as default };\n//# sourceMappingURL=current.mjs.map\n","import { getCurrentInstance, unref, nextTick } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport useWatcher from './watcher.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nfunction replaceColumn(array, column) {\n return array.map((item) => {\n var _a;\n if (item.id === column.id) {\n return column;\n } else if ((_a = item.children) == null ? void 0 : _a.length) {\n item.children = replaceColumn(item.children, column);\n }\n return item;\n });\n}\nfunction sortColumn(array) {\n array.forEach((item) => {\n var _a, _b;\n item.no = (_a = item.getColumnIndex) == null ? void 0 : _a.call(item);\n if ((_b = item.children) == null ? void 0 : _b.length) {\n sortColumn(item.children);\n }\n });\n array.sort((cur, pre) => cur.no - pre.no);\n}\nfunction useStore() {\n const instance = getCurrentInstance();\n const watcher = useWatcher();\n const ns = useNamespace(\"table\");\n const mutations = {\n setData(states, data) {\n const dataInstanceChanged = unref(states._data) !== data;\n states.data.value = data;\n states._data.value = data;\n instance.store.execQuery();\n instance.store.updateCurrentRowData();\n instance.store.updateExpandRows();\n instance.store.updateTreeData(instance.store.states.defaultExpandAll.value);\n if (unref(states.reserveSelection)) {\n instance.store.assertRowKey();\n instance.store.updateSelectionByRowKey();\n } else {\n if (dataInstanceChanged) {\n instance.store.clearSelection();\n } else {\n instance.store.cleanSelection();\n }\n }\n instance.store.updateAllSelected();\n if (instance.$ready) {\n instance.store.scheduleLayout();\n }\n },\n insertColumn(states, column, parent, updateColumnOrder) {\n const array = unref(states._columns);\n let newColumns = [];\n if (!parent) {\n array.push(column);\n newColumns = array;\n } else {\n if (parent && !parent.children) {\n parent.children = [];\n }\n parent.children.push(column);\n newColumns = replaceColumn(array, parent);\n }\n sortColumn(newColumns);\n states._columns.value = newColumns;\n states.updateOrderFns.push(updateColumnOrder);\n if (column.type === \"selection\") {\n states.selectable.value = column.selectable;\n states.reserveSelection.value = column.reserveSelection;\n }\n if (instance.$ready) {\n instance.store.updateColumns();\n instance.store.scheduleLayout();\n }\n },\n updateColumnOrder(states, column) {\n var _a;\n const newColumnIndex = (_a = column.getColumnIndex) == null ? void 0 : _a.call(column);\n if (newColumnIndex === column.no)\n return;\n sortColumn(states._columns.value);\n if (instance.$ready) {\n instance.store.updateColumns();\n }\n },\n removeColumn(states, column, parent, updateColumnOrder) {\n const array = unref(states._columns) || [];\n if (parent) {\n parent.children.splice(parent.children.findIndex((item) => item.id === column.id), 1);\n nextTick(() => {\n var _a;\n if (((_a = parent.children) == null ? void 0 : _a.length) === 0) {\n delete parent.children;\n }\n });\n states._columns.value = replaceColumn(array, parent);\n } else {\n const index = array.indexOf(column);\n if (index > -1) {\n array.splice(index, 1);\n states._columns.value = array;\n }\n }\n const updateFnIndex = states.updateOrderFns.indexOf(updateColumnOrder);\n updateFnIndex > -1 && states.updateOrderFns.splice(updateFnIndex, 1);\n if (instance.$ready) {\n instance.store.updateColumns();\n instance.store.scheduleLayout();\n }\n },\n sort(states, options) {\n const { prop, order, init } = options;\n if (prop) {\n const column = unref(states.columns).find((column2) => column2.property === prop);\n if (column) {\n column.order = order;\n instance.store.updateSort(column, prop, order);\n instance.store.commit(\"changeSortCondition\", { init });\n }\n }\n },\n changeSortCondition(states, options) {\n const { sortingColumn, sortProp, sortOrder } = states;\n const columnValue = unref(sortingColumn), propValue = unref(sortProp), orderValue = unref(sortOrder);\n if (orderValue === null) {\n states.sortingColumn.value = null;\n states.sortProp.value = null;\n }\n const ignore = { filter: true };\n instance.store.execQuery(ignore);\n if (!options || !(options.silent || options.init)) {\n instance.emit(\"sort-change\", {\n column: columnValue,\n prop: propValue,\n order: orderValue\n });\n }\n instance.store.updateTableScrollY();\n },\n filterChange(_states, options) {\n const { column, values, silent } = options;\n const newFilters = instance.store.updateFilters(column, values);\n instance.store.execQuery();\n if (!silent) {\n instance.emit(\"filter-change\", newFilters);\n }\n instance.store.updateTableScrollY();\n },\n toggleAllSelection() {\n instance.store.toggleAllSelection();\n },\n rowSelectedChanged(_states, row) {\n instance.store.toggleRowSelection(row);\n instance.store.updateAllSelected();\n },\n setHoverRow(states, row) {\n states.hoverRow.value = row;\n },\n setCurrentRow(_states, row) {\n instance.store.updateCurrentRow(row);\n }\n };\n const commit = function(name, ...args) {\n const mutations2 = instance.store.mutations;\n if (mutations2[name]) {\n mutations2[name].apply(instance, [instance.store.states].concat(args));\n } else {\n throw new Error(`Action not found: ${name}`);\n }\n };\n const updateTableScrollY = function() {\n nextTick(() => instance.layout.updateScrollY.apply(instance.layout));\n };\n return {\n ns,\n ...watcher,\n mutations,\n commit,\n updateTableScrollY\n };\n}\nclass HelperStore {\n constructor() {\n this.Return = useStore();\n }\n}\n\nexport { useStore as default };\n//# sourceMappingURL=index.mjs.map\n","import { watch } from 'vue';\nimport { debounce } from 'lodash-unified';\nimport useStore from './index.mjs';\n\nconst InitialStateMap = {\n rowKey: \"rowKey\",\n defaultExpandAll: \"defaultExpandAll\",\n selectOnIndeterminate: \"selectOnIndeterminate\",\n indent: \"indent\",\n lazy: \"lazy\",\n data: \"data\",\n [\"treeProps.hasChildren\"]: {\n key: \"lazyColumnIdentifier\",\n default: \"hasChildren\"\n },\n [\"treeProps.children\"]: {\n key: \"childrenColumnName\",\n default: \"children\"\n }\n};\nfunction createStore(table, props) {\n if (!table) {\n throw new Error(\"Table is required.\");\n }\n const store = useStore();\n store.toggleAllSelection = debounce(store._toggleAllSelection, 10);\n Object.keys(InitialStateMap).forEach((key) => {\n handleValue(getArrKeysValue(props, key), key, store);\n });\n proxyTableProps(store, props);\n return store;\n}\nfunction proxyTableProps(store, props) {\n Object.keys(InitialStateMap).forEach((key) => {\n watch(() => getArrKeysValue(props, key), (value) => {\n handleValue(value, key, store);\n });\n });\n}\nfunction handleValue(value, propsKey, store) {\n let newVal = value;\n let storeKey = InitialStateMap[propsKey];\n if (typeof InitialStateMap[propsKey] === \"object\") {\n storeKey = storeKey.key;\n newVal = newVal || InitialStateMap[propsKey].default;\n }\n store.states[storeKey].value = newVal;\n}\nfunction getArrKeysValue(props, keys) {\n if (keys.includes(\".\")) {\n const keyList = keys.split(\".\");\n let value = props;\n keyList.forEach((key) => {\n value = value[key];\n });\n return value;\n } else {\n return props[keys];\n }\n}\n\nexport { createStore };\n//# sourceMappingURL=helper.mjs.map\n","import { ref, isRef, nextTick } from 'vue';\nimport '../../../utils/index.mjs';\nimport { parseHeight } from './util.mjs';\nimport { hasOwn } from '@vue/shared';\nimport { isClient } from '@vueuse/core';\n\nclass TableLayout {\n constructor(options) {\n this.observers = [];\n this.table = null;\n this.store = null;\n this.columns = [];\n this.fit = true;\n this.showHeader = true;\n this.height = ref(null);\n this.scrollX = ref(false);\n this.scrollY = ref(false);\n this.bodyWidth = ref(null);\n this.fixedWidth = ref(null);\n this.rightFixedWidth = ref(null);\n this.gutterWidth = 0;\n for (const name in options) {\n if (hasOwn(options, name)) {\n if (isRef(this[name])) {\n this[name].value = options[name];\n } else {\n this[name] = options[name];\n }\n }\n }\n if (!this.table) {\n throw new Error(\"Table is required for Table Layout\");\n }\n if (!this.store) {\n throw new Error(\"Store is required for Table Layout\");\n }\n }\n updateScrollY() {\n const height = this.height.value;\n if (height === null)\n return false;\n const scrollBarRef = this.table.refs.scrollBarRef;\n if (this.table.vnode.el && (scrollBarRef == null ? void 0 : scrollBarRef.wrapRef)) {\n let scrollY = true;\n const prevScrollY = this.scrollY.value;\n scrollY = scrollBarRef.wrapRef.scrollHeight > scrollBarRef.wrapRef.clientHeight;\n this.scrollY.value = scrollY;\n return prevScrollY !== scrollY;\n }\n return false;\n }\n setHeight(value, prop = \"height\") {\n if (!isClient)\n return;\n const el = this.table.vnode.el;\n value = parseHeight(value);\n this.height.value = Number(value);\n if (!el && (value || value === 0))\n return nextTick(() => this.setHeight(value, prop));\n if (typeof value === \"number\") {\n el.style[prop] = `${value}px`;\n this.updateElsHeight();\n } else if (typeof value === \"string\") {\n el.style[prop] = value;\n this.updateElsHeight();\n }\n }\n setMaxHeight(value) {\n this.setHeight(value, \"max-height\");\n }\n getFlattenColumns() {\n const flattenColumns = [];\n const columns = this.table.store.states.columns.value;\n columns.forEach((column) => {\n if (column.isColumnGroup) {\n flattenColumns.push.apply(flattenColumns, column.columns);\n } else {\n flattenColumns.push(column);\n }\n });\n return flattenColumns;\n }\n updateElsHeight() {\n this.updateScrollY();\n this.notifyObservers(\"scrollable\");\n }\n headerDisplayNone(elm) {\n if (!elm)\n return true;\n let headerChild = elm;\n while (headerChild.tagName !== \"DIV\") {\n if (getComputedStyle(headerChild).display === \"none\") {\n return true;\n }\n headerChild = headerChild.parentElement;\n }\n return false;\n }\n updateColumnsWidth() {\n if (!isClient)\n return;\n const fit = this.fit;\n const bodyWidth = this.table.vnode.el.clientWidth;\n let bodyMinWidth = 0;\n const flattenColumns = this.getFlattenColumns();\n const flexColumns = flattenColumns.filter((column) => typeof column.width !== \"number\");\n flattenColumns.forEach((column) => {\n if (typeof column.width === \"number\" && column.realWidth)\n column.realWidth = null;\n });\n if (flexColumns.length > 0 && fit) {\n flattenColumns.forEach((column) => {\n bodyMinWidth += Number(column.width || column.minWidth || 80);\n });\n if (bodyMinWidth <= bodyWidth) {\n this.scrollX.value = false;\n const totalFlexWidth = bodyWidth - bodyMinWidth;\n if (flexColumns.length === 1) {\n flexColumns[0].realWidth = Number(flexColumns[0].minWidth || 80) + totalFlexWidth;\n } else {\n const allColumnsWidth = flexColumns.reduce((prev, column) => prev + Number(column.minWidth || 80), 0);\n const flexWidthPerPixel = totalFlexWidth / allColumnsWidth;\n let noneFirstWidth = 0;\n flexColumns.forEach((column, index) => {\n if (index === 0)\n return;\n const flexWidth = Math.floor(Number(column.minWidth || 80) * flexWidthPerPixel);\n noneFirstWidth += flexWidth;\n column.realWidth = Number(column.minWidth || 80) + flexWidth;\n });\n flexColumns[0].realWidth = Number(flexColumns[0].minWidth || 80) + totalFlexWidth - noneFirstWidth;\n }\n } else {\n this.scrollX.value = true;\n flexColumns.forEach((column) => {\n column.realWidth = Number(column.minWidth);\n });\n }\n this.bodyWidth.value = Math.max(bodyMinWidth, bodyWidth);\n this.table.state.resizeState.value.width = this.bodyWidth.value;\n } else {\n flattenColumns.forEach((column) => {\n if (!column.width && !column.minWidth) {\n column.realWidth = 80;\n } else {\n column.realWidth = Number(column.width || column.minWidth);\n }\n bodyMinWidth += column.realWidth;\n });\n this.scrollX.value = bodyMinWidth > bodyWidth;\n this.bodyWidth.value = bodyMinWidth;\n }\n const fixedColumns = this.store.states.fixedColumns.value;\n if (fixedColumns.length > 0) {\n let fixedWidth = 0;\n fixedColumns.forEach((column) => {\n fixedWidth += Number(column.realWidth || column.width);\n });\n this.fixedWidth.value = fixedWidth;\n }\n const rightFixedColumns = this.store.states.rightFixedColumns.value;\n if (rightFixedColumns.length > 0) {\n let rightFixedWidth = 0;\n rightFixedColumns.forEach((column) => {\n rightFixedWidth += Number(column.realWidth || column.width);\n });\n this.rightFixedWidth.value = rightFixedWidth;\n }\n this.notifyObservers(\"columns\");\n }\n addObserver(observer) {\n this.observers.push(observer);\n }\n removeObserver(observer) {\n const index = this.observers.indexOf(observer);\n if (index !== -1) {\n this.observers.splice(index, 1);\n }\n }\n notifyObservers(event) {\n const observers = this.observers;\n observers.forEach((observer) => {\n var _a, _b;\n switch (event) {\n case \"columns\":\n (_a = observer.state) == null ? void 0 : _a.onColumnsChange(this);\n break;\n case \"scrollable\":\n (_b = observer.state) == null ? void 0 : _b.onScrollableChange(this);\n break;\n default:\n throw new Error(`Table Layout don't have event ${event}.`);\n }\n });\n }\n}\n\nexport { TableLayout as default };\n//# sourceMappingURL=table-layout.mjs.map\n","import { defineComponent, getCurrentInstance, ref, computed, watch, resolveComponent, resolveDirective, openBlock, createBlock, withCtx, createElementBlock, createElementVNode, normalizeClass, createVNode, Fragment, renderList, createTextVNode, toDisplayString, withDirectives } from 'vue';\nimport { ElCheckbox } from '../../checkbox/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowDown, ArrowUp } from '@element-plus/icons-vue';\nimport '../../../directives/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { ElTooltip } from '../../tooltip/index.mjs';\nimport { ElScrollbar } from '../../scrollbar/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport ClickOutside from '../../../directives/click-outside/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst { CheckboxGroup: ElCheckboxGroup } = ElCheckbox;\nconst _sfc_main = defineComponent({\n name: \"ElTableFilterPanel\",\n components: {\n ElCheckbox,\n ElCheckboxGroup,\n ElScrollbar,\n ElTooltip,\n ElIcon,\n ArrowDown,\n ArrowUp\n },\n directives: { ClickOutside },\n props: {\n placement: {\n type: String,\n default: \"bottom-start\"\n },\n store: {\n type: Object\n },\n column: {\n type: Object\n },\n upDataColumn: {\n type: Function\n }\n },\n setup(props) {\n const instance = getCurrentInstance();\n const { t } = useLocale();\n const ns = useNamespace(\"table-filter\");\n const parent = instance == null ? void 0 : instance.parent;\n if (!parent.filterPanels.value[props.column.id]) {\n parent.filterPanels.value[props.column.id] = instance;\n }\n const tooltipVisible = ref(false);\n const tooltip = ref(null);\n const filters = computed(() => {\n return props.column && props.column.filters;\n });\n const filterValue = computed({\n get: () => {\n var _a;\n return (((_a = props.column) == null ? void 0 : _a.filteredValue) || [])[0];\n },\n set: (value) => {\n if (filteredValue.value) {\n if (typeof value !== \"undefined\" && value !== null) {\n filteredValue.value.splice(0, 1, value);\n } else {\n filteredValue.value.splice(0, 1);\n }\n }\n }\n });\n const filteredValue = computed({\n get() {\n if (props.column) {\n return props.column.filteredValue || [];\n }\n return [];\n },\n set(value) {\n if (props.column) {\n props.upDataColumn(\"filteredValue\", value);\n }\n }\n });\n const multiple = computed(() => {\n if (props.column) {\n return props.column.filterMultiple;\n }\n return true;\n });\n const isActive = (filter) => {\n return filter.value === filterValue.value;\n };\n const hidden = () => {\n tooltipVisible.value = false;\n };\n const showFilterPanel = (e) => {\n e.stopPropagation();\n tooltipVisible.value = !tooltipVisible.value;\n };\n const hideFilterPanel = () => {\n tooltipVisible.value = false;\n };\n const handleConfirm = () => {\n confirmFilter(filteredValue.value);\n hidden();\n };\n const handleReset = () => {\n filteredValue.value = [];\n confirmFilter(filteredValue.value);\n hidden();\n };\n const handleSelect = (_filterValue) => {\n filterValue.value = _filterValue;\n if (typeof _filterValue !== \"undefined\" && _filterValue !== null) {\n confirmFilter(filteredValue.value);\n } else {\n confirmFilter([]);\n }\n hidden();\n };\n const confirmFilter = (filteredValue2) => {\n props.store.commit(\"filterChange\", {\n column: props.column,\n values: filteredValue2\n });\n props.store.updateAllSelected();\n };\n watch(tooltipVisible, (value) => {\n if (props.column) {\n props.upDataColumn(\"filterOpened\", value);\n }\n }, {\n immediate: true\n });\n const popperPaneRef = computed(() => {\n var _a, _b;\n return (_b = (_a = tooltip.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;\n });\n return {\n tooltipVisible,\n multiple,\n filteredValue,\n filterValue,\n filters,\n handleConfirm,\n handleReset,\n handleSelect,\n isActive,\n t,\n ns,\n showFilterPanel,\n hideFilterPanel,\n popperPaneRef,\n tooltip\n };\n }\n});\nconst _hoisted_1 = { key: 0 };\nconst _hoisted_2 = [\"disabled\"];\nconst _hoisted_3 = [\"label\", \"onClick\"];\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_checkbox = resolveComponent(\"el-checkbox\");\n const _component_el_checkbox_group = resolveComponent(\"el-checkbox-group\");\n const _component_el_scrollbar = resolveComponent(\"el-scrollbar\");\n const _component_arrow_up = resolveComponent(\"arrow-up\");\n const _component_arrow_down = resolveComponent(\"arrow-down\");\n const _component_el_icon = resolveComponent(\"el-icon\");\n const _component_el_tooltip = resolveComponent(\"el-tooltip\");\n const _directive_click_outside = resolveDirective(\"click-outside\");\n return openBlock(), createBlock(_component_el_tooltip, {\n ref: \"tooltip\",\n visible: _ctx.tooltipVisible,\n offset: 0,\n placement: _ctx.placement,\n \"show-arrow\": false,\n \"stop-popper-mouse-event\": false,\n teleported: \"\",\n effect: \"light\",\n pure: \"\",\n \"popper-class\": _ctx.ns.b(),\n persistent: \"\"\n }, {\n content: withCtx(() => [\n _ctx.multiple ? (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"content\"))\n }, [\n createVNode(_component_el_scrollbar, {\n \"wrap-class\": _ctx.ns.e(\"wrap\")\n }, {\n default: withCtx(() => [\n createVNode(_component_el_checkbox_group, {\n modelValue: _ctx.filteredValue,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => _ctx.filteredValue = $event),\n class: normalizeClass(_ctx.ns.e(\"checkbox-group\"))\n }, {\n default: withCtx(() => [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.filters, (filter) => {\n return openBlock(), createBlock(_component_el_checkbox, {\n key: filter.value,\n label: filter.value\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(filter.text), 1)\n ]),\n _: 2\n }, 1032, [\"label\"]);\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"class\"])\n ]),\n _: 1\n }, 8, [\"wrap-class\"])\n ], 2),\n createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"bottom\"))\n }, [\n createElementVNode(\"button\", {\n class: normalizeClass({ [_ctx.ns.is(\"disabled\")]: _ctx.filteredValue.length === 0 }),\n disabled: _ctx.filteredValue.length === 0,\n type: \"button\",\n onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleConfirm && _ctx.handleConfirm(...args))\n }, toDisplayString(_ctx.t(\"el.table.confirmFilter\")), 11, _hoisted_2),\n createElementVNode(\"button\", {\n type: \"button\",\n onClick: _cache[2] || (_cache[2] = (...args) => _ctx.handleReset && _ctx.handleReset(...args))\n }, toDisplayString(_ctx.t(\"el.table.resetFilter\")), 1)\n ], 2)\n ])) : (openBlock(), createElementBlock(\"ul\", {\n key: 1,\n class: normalizeClass(_ctx.ns.e(\"list\"))\n }, [\n createElementVNode(\"li\", {\n class: normalizeClass([\n _ctx.ns.e(\"list-item\"),\n {\n [_ctx.ns.is(\"active\")]: _ctx.filterValue === void 0 || _ctx.filterValue === null\n }\n ]),\n onClick: _cache[3] || (_cache[3] = ($event) => _ctx.handleSelect(null))\n }, toDisplayString(_ctx.t(\"el.table.clearFilter\")), 3),\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.filters, (filter) => {\n return openBlock(), createElementBlock(\"li\", {\n key: filter.value,\n class: normalizeClass([_ctx.ns.e(\"list-item\"), _ctx.ns.is(\"active\", _ctx.isActive(filter))]),\n label: filter.value,\n onClick: ($event) => _ctx.handleSelect(filter.value)\n }, toDisplayString(filter.text), 11, _hoisted_3);\n }), 128))\n ], 2))\n ]),\n default: withCtx(() => [\n withDirectives((openBlock(), createElementBlock(\"span\", {\n class: normalizeClass([\n `${_ctx.ns.namespace.value}-table__column-filter-trigger`,\n `${_ctx.ns.namespace.value}-none-outline`\n ]),\n onClick: _cache[4] || (_cache[4] = (...args) => _ctx.showFilterPanel && _ctx.showFilterPanel(...args))\n }, [\n createVNode(_component_el_icon, null, {\n default: withCtx(() => [\n _ctx.column.filterOpened ? (openBlock(), createBlock(_component_arrow_up, { key: 0 })) : (openBlock(), createBlock(_component_arrow_down, { key: 1 }))\n ]),\n _: 1\n })\n ], 2)), [\n [_directive_click_outside, _ctx.hideFilterPanel, _ctx.popperPaneRef]\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"placement\", \"popper-class\"]);\n}\nvar FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue\"]]);\n\nexport { FilterPanel as default };\n//# sourceMappingURL=filter-panel.mjs.map\n","import { getCurrentInstance, onBeforeMount, onMounted, onUpdated, onUnmounted, computed } from 'vue';\n\nfunction useLayoutObserver(root) {\n const instance = getCurrentInstance();\n onBeforeMount(() => {\n tableLayout.value.addObserver(instance);\n });\n onMounted(() => {\n onColumnsChange(tableLayout.value);\n onScrollableChange(tableLayout.value);\n });\n onUpdated(() => {\n onColumnsChange(tableLayout.value);\n onScrollableChange(tableLayout.value);\n });\n onUnmounted(() => {\n tableLayout.value.removeObserver(instance);\n });\n const tableLayout = computed(() => {\n const layout = root.layout;\n if (!layout) {\n throw new Error(\"Can not find table layout.\");\n }\n return layout;\n });\n const onColumnsChange = (layout) => {\n var _a;\n const cols = ((_a = root.vnode.el) == null ? void 0 : _a.querySelectorAll(\"colgroup > col\")) || [];\n if (!cols.length)\n return;\n const flattenColumns = layout.getFlattenColumns();\n const columnsMap = {};\n flattenColumns.forEach((column) => {\n columnsMap[column.id] = column;\n });\n for (let i = 0, j = cols.length; i < j; i++) {\n const col = cols[i];\n const name = col.getAttribute(\"name\");\n const column = columnsMap[name];\n if (column) {\n col.setAttribute(\"width\", column.realWidth || column.width);\n }\n }\n };\n const onScrollableChange = (layout) => {\n var _a, _b;\n const cols = ((_a = root.vnode.el) == null ? void 0 : _a.querySelectorAll(\"colgroup > col[name=gutter]\")) || [];\n for (let i = 0, j = cols.length; i < j; i++) {\n const col = cols[i];\n col.setAttribute(\"width\", layout.scrollY.value ? layout.gutterWidth : \"0\");\n }\n const ths = ((_b = root.vnode.el) == null ? void 0 : _b.querySelectorAll(\"th.gutter\")) || [];\n for (let i = 0, j = ths.length; i < j; i++) {\n const th = ths[i];\n th.style.width = layout.scrollY.value ? `${layout.gutterWidth}px` : \"0\";\n th.style.display = layout.scrollY.value ? \"\" : \"none\";\n }\n };\n return {\n tableLayout: tableLayout.value,\n onColumnsChange,\n onScrollableChange\n };\n}\n\nexport { useLayoutObserver as default };\n//# sourceMappingURL=layout-observer.mjs.map\n","const TABLE_INJECTION_KEY = Symbol(\"ElTable\");\n\nexport { TABLE_INJECTION_KEY };\n//# sourceMappingURL=tokens.mjs.map\n","import { inject, computed } from 'vue';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\n\nconst getAllColumns = (columns) => {\n const result = [];\n columns.forEach((column) => {\n if (column.children) {\n result.push(column);\n result.push.apply(result, getAllColumns(column.children));\n } else {\n result.push(column);\n }\n });\n return result;\n};\nconst convertToRows = (originColumns) => {\n let maxLevel = 1;\n const traverse = (column, parent) => {\n if (parent) {\n column.level = parent.level + 1;\n if (maxLevel < column.level) {\n maxLevel = column.level;\n }\n }\n if (column.children) {\n let colSpan = 0;\n column.children.forEach((subColumn) => {\n traverse(subColumn, column);\n colSpan += subColumn.colSpan;\n });\n column.colSpan = colSpan;\n } else {\n column.colSpan = 1;\n }\n };\n originColumns.forEach((column) => {\n column.level = 1;\n traverse(column, void 0);\n });\n const rows = [];\n for (let i = 0; i < maxLevel; i++) {\n rows.push([]);\n }\n const allColumns = getAllColumns(originColumns);\n allColumns.forEach((column) => {\n if (!column.children) {\n column.rowSpan = maxLevel - column.level + 1;\n } else {\n column.rowSpan = 1;\n column.children.forEach((col) => col.isSubColumn = true);\n }\n rows[column.level - 1].push(column);\n });\n return rows;\n};\nfunction useUtils(props) {\n const parent = inject(TABLE_INJECTION_KEY);\n const columnRows = computed(() => {\n return convertToRows(props.store.states.originColumns.value);\n });\n const isGroup = computed(() => {\n const result = columnRows.value.length > 1;\n if (result && parent) {\n parent.state.isGroup.value = true;\n }\n return result;\n });\n const toggleAllSelection = (event) => {\n event.stopPropagation();\n parent == null ? void 0 : parent.store.commit(\"toggleAllSelection\");\n };\n return {\n isGroup,\n toggleAllSelection,\n columnRows\n };\n}\n\nexport { useUtils as default };\n//# sourceMappingURL=utils-helper.mjs.map\n","import { defineComponent, getCurrentInstance, inject, ref, onMounted, nextTick, h } from 'vue';\nimport { ElCheckbox } from '../../../checkbox/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport FilterPanel from '../filter-panel.mjs';\nimport useLayoutObserver from '../layout-observer.mjs';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\nimport useEvent from './event-helper.mjs';\nimport useStyle from './style.helper.mjs';\nimport useUtils from './utils-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nvar TableHeader = defineComponent({\n name: \"ElTableHeader\",\n components: {\n ElCheckbox\n },\n props: {\n fixed: {\n type: String,\n default: \"\"\n },\n store: {\n required: true,\n type: Object\n },\n border: Boolean,\n defaultSort: {\n type: Object,\n default: () => {\n return {\n prop: \"\",\n order: \"\"\n };\n }\n }\n },\n setup(props, { emit }) {\n const instance = getCurrentInstance();\n const parent = inject(TABLE_INJECTION_KEY);\n const ns = useNamespace(\"table\");\n const filterPanels = ref({});\n const { onColumnsChange, onScrollableChange } = useLayoutObserver(parent);\n onMounted(async () => {\n await nextTick();\n await nextTick();\n const { prop, order } = props.defaultSort;\n parent == null ? void 0 : parent.store.commit(\"sort\", { prop, order, init: true });\n });\n const {\n handleHeaderClick,\n handleHeaderContextMenu,\n handleMouseDown,\n handleMouseMove,\n handleMouseOut,\n handleSortClick,\n handleFilterClick\n } = useEvent(props, emit);\n const {\n getHeaderRowStyle,\n getHeaderRowClass,\n getHeaderCellStyle,\n getHeaderCellClass\n } = useStyle(props);\n const { isGroup, toggleAllSelection, columnRows } = useUtils(props);\n instance.state = {\n onColumnsChange,\n onScrollableChange\n };\n instance.filterPanels = filterPanels;\n return {\n ns,\n filterPanels,\n onColumnsChange,\n onScrollableChange,\n columnRows,\n getHeaderRowClass,\n getHeaderRowStyle,\n getHeaderCellClass,\n getHeaderCellStyle,\n handleHeaderClick,\n handleHeaderContextMenu,\n handleMouseDown,\n handleMouseMove,\n handleMouseOut,\n handleSortClick,\n handleFilterClick,\n isGroup,\n toggleAllSelection\n };\n },\n render() {\n const {\n ns,\n isGroup,\n columnRows,\n getHeaderCellStyle,\n getHeaderCellClass,\n getHeaderRowClass,\n getHeaderRowStyle,\n handleHeaderClick,\n handleHeaderContextMenu,\n handleMouseDown,\n handleMouseMove,\n handleSortClick,\n handleMouseOut,\n store,\n $parent\n } = this;\n let rowSpan = 1;\n return h(\"thead\", {\n class: { [ns.is(\"group\")]: isGroup }\n }, columnRows.map((subColumns, rowIndex) => h(\"tr\", {\n class: getHeaderRowClass(rowIndex),\n key: rowIndex,\n style: getHeaderRowStyle(rowIndex)\n }, subColumns.map((column, cellIndex) => {\n if (column.rowSpan > rowSpan) {\n rowSpan = column.rowSpan;\n }\n return h(\"th\", {\n class: getHeaderCellClass(rowIndex, cellIndex, subColumns, column),\n colspan: column.colSpan,\n key: `${column.id}-thead`,\n rowspan: column.rowSpan,\n style: getHeaderCellStyle(rowIndex, cellIndex, subColumns, column),\n onClick: ($event) => handleHeaderClick($event, column),\n onContextmenu: ($event) => handleHeaderContextMenu($event, column),\n onMousedown: ($event) => handleMouseDown($event, column),\n onMousemove: ($event) => handleMouseMove($event, column),\n onMouseout: handleMouseOut\n }, [\n h(\"div\", {\n class: [\n \"cell\",\n column.filteredValue && column.filteredValue.length > 0 ? \"highlight\" : \"\"\n ]\n }, [\n column.renderHeader ? column.renderHeader({\n column,\n $index: cellIndex,\n store,\n _self: $parent\n }) : column.label,\n column.sortable && h(\"span\", {\n onClick: ($event) => handleSortClick($event, column),\n class: \"caret-wrapper\"\n }, [\n h(\"i\", {\n onClick: ($event) => handleSortClick($event, column, \"ascending\"),\n class: \"sort-caret ascending\"\n }),\n h(\"i\", {\n onClick: ($event) => handleSortClick($event, column, \"descending\"),\n class: \"sort-caret descending\"\n })\n ]),\n column.filterable && h(FilterPanel, {\n store,\n placement: column.filterPlacement || \"bottom-start\",\n column,\n upDataColumn: (key, value) => {\n column[key] = value;\n }\n })\n ])\n ]);\n }))));\n }\n});\n\nexport { TableHeader as default };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, inject, ref } from 'vue';\nimport '../../../../utils/index.mjs';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\nimport { isClient } from '@vueuse/core';\nimport { addClass, removeClass, hasClass } from '../../../../utils/dom/style.mjs';\nimport { isElement } from '../../../../utils/types.mjs';\n\nfunction useEvent(props, emit) {\n const instance = getCurrentInstance();\n const parent = inject(TABLE_INJECTION_KEY);\n const handleFilterClick = (event) => {\n event.stopPropagation();\n return;\n };\n const handleHeaderClick = (event, column) => {\n if (!column.filters && column.sortable) {\n handleSortClick(event, column, false);\n } else if (column.filterable && !column.sortable) {\n handleFilterClick(event);\n }\n parent == null ? void 0 : parent.emit(\"header-click\", column, event);\n };\n const handleHeaderContextMenu = (event, column) => {\n parent == null ? void 0 : parent.emit(\"header-contextmenu\", column, event);\n };\n const draggingColumn = ref(null);\n const dragging = ref(false);\n const dragState = ref({});\n const handleMouseDown = (event, column) => {\n if (!isClient)\n return;\n if (column.children && column.children.length > 0)\n return;\n if (draggingColumn.value && props.border) {\n dragging.value = true;\n const table = parent;\n emit(\"set-drag-visible\", true);\n const tableEl = table == null ? void 0 : table.vnode.el;\n const tableLeft = tableEl.getBoundingClientRect().left;\n const columnEl = instance.vnode.el.querySelector(`th.${column.id}`);\n const columnRect = columnEl.getBoundingClientRect();\n const minLeft = columnRect.left - tableLeft + 30;\n addClass(columnEl, \"noclick\");\n dragState.value = {\n startMouseLeft: event.clientX,\n startLeft: columnRect.right - tableLeft,\n startColumnLeft: columnRect.left - tableLeft,\n tableLeft\n };\n const resizeProxy = table == null ? void 0 : table.refs.resizeProxy;\n resizeProxy.style.left = `${dragState.value.startLeft}px`;\n document.onselectstart = function() {\n return false;\n };\n document.ondragstart = function() {\n return false;\n };\n const handleMouseMove2 = (event2) => {\n const deltaLeft = event2.clientX - dragState.value.startMouseLeft;\n const proxyLeft = dragState.value.startLeft + deltaLeft;\n resizeProxy.style.left = `${Math.max(minLeft, proxyLeft)}px`;\n };\n const handleMouseUp = () => {\n if (dragging.value) {\n const { startColumnLeft, startLeft } = dragState.value;\n const finalLeft = Number.parseInt(resizeProxy.style.left, 10);\n const columnWidth = finalLeft - startColumnLeft;\n column.width = column.realWidth = columnWidth;\n table == null ? void 0 : table.emit(\"header-dragend\", column.width, startLeft - startColumnLeft, column, event);\n requestAnimationFrame(() => {\n props.store.scheduleLayout(false, true);\n });\n document.body.style.cursor = \"\";\n dragging.value = false;\n draggingColumn.value = null;\n dragState.value = {};\n emit(\"set-drag-visible\", false);\n }\n document.removeEventListener(\"mousemove\", handleMouseMove2);\n document.removeEventListener(\"mouseup\", handleMouseUp);\n document.onselectstart = null;\n document.ondragstart = null;\n setTimeout(() => {\n removeClass(columnEl, \"noclick\");\n }, 0);\n };\n document.addEventListener(\"mousemove\", handleMouseMove2);\n document.addEventListener(\"mouseup\", handleMouseUp);\n }\n };\n const handleMouseMove = (event, column) => {\n if (column.children && column.children.length > 0)\n return;\n const el = event.target;\n if (!isElement(el)) {\n return;\n }\n const target = el == null ? void 0 : el.closest(\"th\");\n if (!column || !column.resizable)\n return;\n if (!dragging.value && props.border) {\n const rect = target.getBoundingClientRect();\n const bodyStyle = document.body.style;\n if (rect.width > 12 && rect.right - event.pageX < 8) {\n bodyStyle.cursor = \"col-resize\";\n if (hasClass(target, \"is-sortable\")) {\n target.style.cursor = \"col-resize\";\n }\n draggingColumn.value = column;\n } else if (!dragging.value) {\n bodyStyle.cursor = \"\";\n if (hasClass(target, \"is-sortable\")) {\n target.style.cursor = \"pointer\";\n }\n draggingColumn.value = null;\n }\n }\n };\n const handleMouseOut = () => {\n if (!isClient)\n return;\n document.body.style.cursor = \"\";\n };\n const toggleOrder = ({ order, sortOrders }) => {\n if (order === \"\")\n return sortOrders[0];\n const index = sortOrders.indexOf(order || null);\n return sortOrders[index > sortOrders.length - 2 ? 0 : index + 1];\n };\n const handleSortClick = (event, column, givenOrder) => {\n var _a;\n event.stopPropagation();\n const order = column.order === givenOrder ? null : givenOrder || toggleOrder(column);\n const target = (_a = event.target) == null ? void 0 : _a.closest(\"th\");\n if (target) {\n if (hasClass(target, \"noclick\")) {\n removeClass(target, \"noclick\");\n return;\n }\n }\n if (!column.sortable)\n return;\n const states = props.store.states;\n let sortProp = states.sortProp.value;\n let sortOrder;\n const sortingColumn = states.sortingColumn.value;\n if (sortingColumn !== column || sortingColumn === column && sortingColumn.order === null) {\n if (sortingColumn) {\n sortingColumn.order = null;\n }\n states.sortingColumn.value = column;\n sortProp = column.property;\n }\n if (!order) {\n sortOrder = column.order = null;\n } else {\n sortOrder = column.order = order;\n }\n states.sortProp.value = sortProp;\n states.sortOrder.value = sortOrder;\n parent == null ? void 0 : parent.store.commit(\"changeSortCondition\");\n };\n return {\n handleHeaderClick,\n handleHeaderContextMenu,\n handleMouseDown,\n handleMouseMove,\n handleMouseOut,\n handleSortClick,\n handleFilterClick\n };\n}\n\nexport { useEvent as default };\n//# sourceMappingURL=event-helper.mjs.map\n","import { inject } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { getFixedColumnOffset, ensurePosition, getFixedColumnsClass } from '../util.mjs';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nfunction useStyle(props) {\n const parent = inject(TABLE_INJECTION_KEY);\n const ns = useNamespace(\"table\");\n const getHeaderRowStyle = (rowIndex) => {\n const headerRowStyle = parent == null ? void 0 : parent.props.headerRowStyle;\n if (typeof headerRowStyle === \"function\") {\n return headerRowStyle.call(null, { rowIndex });\n }\n return headerRowStyle;\n };\n const getHeaderRowClass = (rowIndex) => {\n const classes = [];\n const headerRowClassName = parent == null ? void 0 : parent.props.headerRowClassName;\n if (typeof headerRowClassName === \"string\") {\n classes.push(headerRowClassName);\n } else if (typeof headerRowClassName === \"function\") {\n classes.push(headerRowClassName.call(null, { rowIndex }));\n }\n return classes.join(\" \");\n };\n const getHeaderCellStyle = (rowIndex, columnIndex, row, column) => {\n var _a;\n let headerCellStyles = (_a = parent == null ? void 0 : parent.props.headerCellStyle) != null ? _a : {};\n if (typeof headerCellStyles === \"function\") {\n headerCellStyles = headerCellStyles.call(null, {\n rowIndex,\n columnIndex,\n row,\n column\n });\n }\n const fixedStyle = getFixedColumnOffset(columnIndex, column.fixed, props.store, row);\n ensurePosition(fixedStyle, \"left\");\n ensurePosition(fixedStyle, \"right\");\n return Object.assign({}, headerCellStyles, fixedStyle);\n };\n const getHeaderCellClass = (rowIndex, columnIndex, row, column) => {\n const fixedClasses = getFixedColumnsClass(ns.b(), columnIndex, column.fixed, props.store, row);\n const classes = [\n column.id,\n column.order,\n column.headerAlign,\n column.className,\n column.labelClassName,\n ...fixedClasses\n ];\n if (!column.children) {\n classes.push(\"is-leaf\");\n }\n if (column.sortable) {\n classes.push(\"is-sortable\");\n }\n const headerCellClassName = parent == null ? void 0 : parent.props.headerCellClassName;\n if (typeof headerCellClassName === \"string\") {\n classes.push(headerCellClassName);\n } else if (typeof headerCellClassName === \"function\") {\n classes.push(headerCellClassName.call(null, {\n rowIndex,\n columnIndex,\n row,\n column\n }));\n }\n classes.push(ns.e(\"cell\"));\n return classes.filter((className) => Boolean(className)).join(\" \");\n };\n return {\n getHeaderRowStyle,\n getHeaderRowClass,\n getHeaderCellStyle,\n getHeaderCellClass\n };\n}\n\nexport { useStyle as default };\n//# sourceMappingURL=style.helper.mjs.map\n","import { inject, ref, h } from 'vue';\nimport { debounce } from 'lodash-unified';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { getCell, getColumnByCell, createTablePopper } from '../util.mjs';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\nimport { useZIndex } from '../../../../hooks/use-z-index/index.mjs';\nimport { hasClass } from '../../../../utils/dom/style.mjs';\n\nfunction useEvents(props) {\n const parent = inject(TABLE_INJECTION_KEY);\n const tooltipContent = ref(\"\");\n const tooltipTrigger = ref(h(\"div\"));\n const { nextZIndex } = useZIndex();\n const handleEvent = (event, row, name) => {\n var _a;\n const table = parent;\n const cell = getCell(event);\n let column;\n const namespace = (_a = table == null ? void 0 : table.vnode.el) == null ? void 0 : _a.dataset.prefix;\n if (cell) {\n column = getColumnByCell({\n columns: props.store.states.columns.value\n }, cell, namespace);\n if (column) {\n table == null ? void 0 : table.emit(`cell-${name}`, row, column, cell, event);\n }\n }\n table == null ? void 0 : table.emit(`row-${name}`, row, column, event);\n };\n const handleDoubleClick = (event, row) => {\n handleEvent(event, row, \"dblclick\");\n };\n const handleClick = (event, row) => {\n props.store.commit(\"setCurrentRow\", row);\n handleEvent(event, row, \"click\");\n };\n const handleContextMenu = (event, row) => {\n handleEvent(event, row, \"contextmenu\");\n };\n const handleMouseEnter = debounce((index) => {\n props.store.commit(\"setHoverRow\", index);\n }, 30);\n const handleMouseLeave = debounce(() => {\n props.store.commit(\"setHoverRow\", null);\n }, 30);\n const getPadding = (el) => {\n const style = window.getComputedStyle(el, null);\n const paddingLeft = Number.parseInt(style.paddingLeft, 10) || 0;\n const paddingRight = Number.parseInt(style.paddingRight, 10) || 0;\n const paddingTop = Number.parseInt(style.paddingTop, 10) || 0;\n const paddingBottom = Number.parseInt(style.paddingBottom, 10) || 0;\n return {\n left: paddingLeft,\n right: paddingRight,\n top: paddingTop,\n bottom: paddingBottom\n };\n };\n const handleCellMouseEnter = (event, row, tooltipOptions) => {\n var _a;\n const table = parent;\n const cell = getCell(event);\n const namespace = (_a = table == null ? void 0 : table.vnode.el) == null ? void 0 : _a.dataset.prefix;\n if (cell) {\n const column = getColumnByCell({\n columns: props.store.states.columns.value\n }, cell, namespace);\n const hoverState = table.hoverState = { cell, column, row };\n table == null ? void 0 : table.emit(\"cell-mouse-enter\", hoverState.row, hoverState.column, hoverState.cell, event);\n }\n if (!tooltipOptions) {\n return;\n }\n const cellChild = event.target.querySelector(\".cell\");\n if (!(hasClass(cellChild, `${namespace}-tooltip`) && cellChild.childNodes.length)) {\n return;\n }\n const range = document.createRange();\n range.setStart(cellChild, 0);\n range.setEnd(cellChild, cellChild.childNodes.length);\n let rangeWidth = range.getBoundingClientRect().width;\n let rangeHeight = range.getBoundingClientRect().height;\n const offsetWidth = rangeWidth - Math.floor(rangeWidth);\n if (offsetWidth < 1e-3) {\n rangeWidth = Math.floor(rangeWidth);\n }\n const offsetHeight = rangeHeight - Math.floor(rangeHeight);\n if (offsetHeight < 1e-3) {\n rangeHeight = Math.floor(rangeHeight);\n }\n const { top, left, right, bottom } = getPadding(cellChild);\n const horizontalPadding = left + right;\n const verticalPadding = top + bottom;\n if (rangeWidth + horizontalPadding > cellChild.offsetWidth || rangeHeight + verticalPadding > cellChild.offsetHeight || cellChild.scrollWidth > cellChild.offsetWidth) {\n createTablePopper(parent == null ? void 0 : parent.refs.tableWrapper, cell, cell.innerText || cell.textContent, nextZIndex, tooltipOptions);\n }\n };\n const handleCellMouseLeave = (event) => {\n const cell = getCell(event);\n if (!cell)\n return;\n const oldHoverState = parent == null ? void 0 : parent.hoverState;\n parent == null ? void 0 : parent.emit(\"cell-mouse-leave\", oldHoverState == null ? void 0 : oldHoverState.row, oldHoverState == null ? void 0 : oldHoverState.column, oldHoverState == null ? void 0 : oldHoverState.cell, event);\n };\n return {\n handleDoubleClick,\n handleClick,\n handleContextMenu,\n handleMouseEnter,\n handleMouseLeave,\n handleCellMouseEnter,\n handleCellMouseLeave,\n tooltipContent,\n tooltipTrigger\n };\n}\n\nexport { useEvents as default };\n//# sourceMappingURL=events-helper.mjs.map\n","import { inject, computed, h } from 'vue';\nimport { merge } from 'lodash-unified';\nimport '../../../../hooks/index.mjs';\nimport { getRowIdentity } from '../util.mjs';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\nimport useEvents from './events-helper.mjs';\nimport useStyles from './styles-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nfunction useRender(props) {\n const parent = inject(TABLE_INJECTION_KEY);\n const ns = useNamespace(\"table\");\n const {\n handleDoubleClick,\n handleClick,\n handleContextMenu,\n handleMouseEnter,\n handleMouseLeave,\n handleCellMouseEnter,\n handleCellMouseLeave,\n tooltipContent,\n tooltipTrigger\n } = useEvents(props);\n const {\n getRowStyle,\n getRowClass,\n getCellStyle,\n getCellClass,\n getSpan,\n getColspanRealWidth\n } = useStyles(props);\n const firstDefaultColumnIndex = computed(() => {\n return props.store.states.columns.value.findIndex(({ type }) => type === \"default\");\n });\n const getKeyOfRow = (row, index) => {\n const rowKey = parent.props.rowKey;\n if (rowKey) {\n return getRowIdentity(row, rowKey);\n }\n return index;\n };\n const rowRender = (row, $index, treeRowData, expanded = false) => {\n const { tooltipEffect, tooltipOptions, store } = props;\n const { indent, columns } = store.states;\n const rowClasses = getRowClass(row, $index);\n let display = true;\n if (treeRowData) {\n rowClasses.push(ns.em(\"row\", `level-${treeRowData.level}`));\n display = treeRowData.display;\n }\n const displayStyle = display ? null : {\n display: \"none\"\n };\n return h(\"tr\", {\n style: [displayStyle, getRowStyle(row, $index)],\n class: rowClasses,\n key: getKeyOfRow(row, $index),\n onDblclick: ($event) => handleDoubleClick($event, row),\n onClick: ($event) => handleClick($event, row),\n onContextmenu: ($event) => handleContextMenu($event, row),\n onMouseenter: () => handleMouseEnter($index),\n onMouseleave: handleMouseLeave\n }, columns.value.map((column, cellIndex) => {\n const { rowspan, colspan } = getSpan(row, column, $index, cellIndex);\n if (!rowspan || !colspan) {\n return null;\n }\n const columnData = { ...column };\n columnData.realWidth = getColspanRealWidth(columns.value, colspan, cellIndex);\n const data = {\n store: props.store,\n _self: props.context || parent,\n column: columnData,\n row,\n $index,\n cellIndex,\n expanded\n };\n if (cellIndex === firstDefaultColumnIndex.value && treeRowData) {\n data.treeNode = {\n indent: treeRowData.level * indent.value,\n level: treeRowData.level\n };\n if (typeof treeRowData.expanded === \"boolean\") {\n data.treeNode.expanded = treeRowData.expanded;\n if (\"loading\" in treeRowData) {\n data.treeNode.loading = treeRowData.loading;\n }\n if (\"noLazyChildren\" in treeRowData) {\n data.treeNode.noLazyChildren = treeRowData.noLazyChildren;\n }\n }\n }\n const baseKey = `${$index},${cellIndex}`;\n const patchKey = columnData.columnKey || columnData.rawColumnKey || \"\";\n const tdChildren = cellChildren(cellIndex, column, data);\n const mergedTooltipOptions = column.showOverflowTooltip && merge({\n effect: tooltipEffect\n }, tooltipOptions, column.showOverflowTooltip);\n return h(\"td\", {\n style: getCellStyle($index, cellIndex, row, column),\n class: getCellClass($index, cellIndex, row, column, colspan - 1),\n key: `${patchKey}${baseKey}`,\n rowspan,\n colspan,\n onMouseenter: ($event) => handleCellMouseEnter($event, row, mergedTooltipOptions),\n onMouseleave: handleCellMouseLeave\n }, [tdChildren]);\n }));\n };\n const cellChildren = (cellIndex, column, data) => {\n return column.renderCell(data);\n };\n const wrappedRowRender = (row, $index) => {\n const store = props.store;\n const { isRowExpanded, assertRowKey } = store;\n const { treeData, lazyTreeNodeMap, childrenColumnName, rowKey } = store.states;\n const columns = store.states.columns.value;\n const hasExpandColumn = columns.some(({ type }) => type === \"expand\");\n if (hasExpandColumn) {\n const expanded = isRowExpanded(row);\n const tr = rowRender(row, $index, void 0, expanded);\n const renderExpanded = parent.renderExpanded;\n if (expanded) {\n if (!renderExpanded) {\n console.error(\"[Element Error]renderExpanded is required.\");\n return tr;\n }\n return [\n [\n tr,\n h(\"tr\", {\n key: `expanded-row__${tr.key}`\n }, [\n h(\"td\", {\n colspan: columns.length,\n class: `${ns.e(\"cell\")} ${ns.e(\"expanded-cell\")}`\n }, [renderExpanded({ row, $index, store, expanded })])\n ])\n ]\n ];\n } else {\n return [[tr]];\n }\n } else if (Object.keys(treeData.value).length) {\n assertRowKey();\n const key = getRowIdentity(row, rowKey.value);\n let cur = treeData.value[key];\n let treeRowData = null;\n if (cur) {\n treeRowData = {\n expanded: cur.expanded,\n level: cur.level,\n display: true\n };\n if (typeof cur.lazy === \"boolean\") {\n if (typeof cur.loaded === \"boolean\" && cur.loaded) {\n treeRowData.noLazyChildren = !(cur.children && cur.children.length);\n }\n treeRowData.loading = cur.loading;\n }\n }\n const tmp = [rowRender(row, $index, treeRowData)];\n if (cur) {\n let i = 0;\n const traverse = (children, parent2) => {\n if (!(children && children.length && parent2))\n return;\n children.forEach((node) => {\n const innerTreeRowData = {\n display: parent2.display && parent2.expanded,\n level: parent2.level + 1,\n expanded: false,\n noLazyChildren: false,\n loading: false\n };\n const childKey = getRowIdentity(node, rowKey.value);\n if (childKey === void 0 || childKey === null) {\n throw new Error(\"For nested data item, row-key is required.\");\n }\n cur = { ...treeData.value[childKey] };\n if (cur) {\n innerTreeRowData.expanded = cur.expanded;\n cur.level = cur.level || innerTreeRowData.level;\n cur.display = !!(cur.expanded && innerTreeRowData.display);\n if (typeof cur.lazy === \"boolean\") {\n if (typeof cur.loaded === \"boolean\" && cur.loaded) {\n innerTreeRowData.noLazyChildren = !(cur.children && cur.children.length);\n }\n innerTreeRowData.loading = cur.loading;\n }\n }\n i++;\n tmp.push(rowRender(node, $index + i, innerTreeRowData));\n if (cur) {\n const nodes2 = lazyTreeNodeMap.value[childKey] || node[childrenColumnName.value];\n traverse(nodes2, cur);\n }\n });\n };\n cur.display = true;\n const nodes = lazyTreeNodeMap.value[key] || row[childrenColumnName.value];\n traverse(nodes, cur);\n }\n return tmp;\n } else {\n return rowRender(row, $index, void 0);\n }\n };\n return {\n wrappedRowRender,\n tooltipContent,\n tooltipTrigger\n };\n}\n\nexport { useRender as default };\n//# sourceMappingURL=render-helper.mjs.map\n","import { inject } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { getFixedColumnOffset, ensurePosition, getFixedColumnsClass } from '../util.mjs';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nfunction useStyles(props) {\n const parent = inject(TABLE_INJECTION_KEY);\n const ns = useNamespace(\"table\");\n const getRowStyle = (row, rowIndex) => {\n const rowStyle = parent == null ? void 0 : parent.props.rowStyle;\n if (typeof rowStyle === \"function\") {\n return rowStyle.call(null, {\n row,\n rowIndex\n });\n }\n return rowStyle || null;\n };\n const getRowClass = (row, rowIndex) => {\n const classes = [ns.e(\"row\")];\n if ((parent == null ? void 0 : parent.props.highlightCurrentRow) && row === props.store.states.currentRow.value) {\n classes.push(\"current-row\");\n }\n if (props.stripe && rowIndex % 2 === 1) {\n classes.push(ns.em(\"row\", \"striped\"));\n }\n const rowClassName = parent == null ? void 0 : parent.props.rowClassName;\n if (typeof rowClassName === \"string\") {\n classes.push(rowClassName);\n } else if (typeof rowClassName === \"function\") {\n classes.push(rowClassName.call(null, {\n row,\n rowIndex\n }));\n }\n return classes;\n };\n const getCellStyle = (rowIndex, columnIndex, row, column) => {\n const cellStyle = parent == null ? void 0 : parent.props.cellStyle;\n let cellStyles = cellStyle != null ? cellStyle : {};\n if (typeof cellStyle === \"function\") {\n cellStyles = cellStyle.call(null, {\n rowIndex,\n columnIndex,\n row,\n column\n });\n }\n const fixedStyle = getFixedColumnOffset(columnIndex, props == null ? void 0 : props.fixed, props.store);\n ensurePosition(fixedStyle, \"left\");\n ensurePosition(fixedStyle, \"right\");\n return Object.assign({}, cellStyles, fixedStyle);\n };\n const getCellClass = (rowIndex, columnIndex, row, column, offset) => {\n const fixedClasses = getFixedColumnsClass(ns.b(), columnIndex, props == null ? void 0 : props.fixed, props.store, void 0, offset);\n const classes = [column.id, column.align, column.className, ...fixedClasses];\n const cellClassName = parent == null ? void 0 : parent.props.cellClassName;\n if (typeof cellClassName === \"string\") {\n classes.push(cellClassName);\n } else if (typeof cellClassName === \"function\") {\n classes.push(cellClassName.call(null, {\n rowIndex,\n columnIndex,\n row,\n column\n }));\n }\n classes.push(ns.e(\"cell\"));\n return classes.filter((className) => Boolean(className)).join(\" \");\n };\n const getSpan = (row, column, rowIndex, columnIndex) => {\n let rowspan = 1;\n let colspan = 1;\n const fn = parent == null ? void 0 : parent.props.spanMethod;\n if (typeof fn === \"function\") {\n const result = fn({\n row,\n column,\n rowIndex,\n columnIndex\n });\n if (Array.isArray(result)) {\n rowspan = result[0];\n colspan = result[1];\n } else if (typeof result === \"object\") {\n rowspan = result.rowspan;\n colspan = result.colspan;\n }\n }\n return { rowspan, colspan };\n };\n const getColspanRealWidth = (columns, colspan, index) => {\n if (colspan < 1) {\n return columns[index].realWidth;\n }\n const widthArr = columns.map(({ realWidth, width }) => realWidth || width).slice(index, index + colspan);\n return Number(widthArr.reduce((acc, width) => Number(acc) + Number(width), -1));\n };\n return {\n getRowStyle,\n getRowClass,\n getCellStyle,\n getCellClass,\n getSpan,\n getColspanRealWidth\n };\n}\n\nexport { useStyles as default };\n//# sourceMappingURL=styles-helper.mjs.map\n","const defaultProps = {\n store: {\n required: true,\n type: Object\n },\n stripe: Boolean,\n tooltipEffect: String,\n tooltipOptions: {\n type: Object\n },\n context: {\n default: () => ({}),\n type: Object\n },\n rowClassName: [String, Function],\n rowStyle: [Object, Function],\n fixed: {\n type: String,\n default: \"\"\n },\n highlight: Boolean\n};\n\nexport { defaultProps as default };\n//# sourceMappingURL=defaults.mjs.map\n","import { defineComponent, getCurrentInstance, inject, watch, onUnmounted, h } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport useLayoutObserver from '../layout-observer.mjs';\nimport { removePopper } from '../util.mjs';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\nimport useRender from './render-helper.mjs';\nimport defaultProps from './defaults.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { isClient } from '@vueuse/core';\nimport { removeClass, addClass } from '../../../../utils/dom/style.mjs';\n\nvar TableBody = defineComponent({\n name: \"ElTableBody\",\n props: defaultProps,\n setup(props) {\n const instance = getCurrentInstance();\n const parent = inject(TABLE_INJECTION_KEY);\n const ns = useNamespace(\"table\");\n const { wrappedRowRender, tooltipContent, tooltipTrigger } = useRender(props);\n const { onColumnsChange, onScrollableChange } = useLayoutObserver(parent);\n watch(props.store.states.hoverRow, (newVal, oldVal) => {\n if (!props.store.states.isComplex.value || !isClient)\n return;\n let raf = window.requestAnimationFrame;\n if (!raf) {\n raf = (fn) => window.setTimeout(fn, 16);\n }\n raf(() => {\n const el = instance == null ? void 0 : instance.vnode.el;\n const rows = Array.from((el == null ? void 0 : el.children) || []).filter((e) => e == null ? void 0 : e.classList.contains(`${ns.e(\"row\")}`));\n const oldRow = rows[oldVal];\n const newRow = rows[newVal];\n if (oldRow) {\n removeClass(oldRow, \"hover-row\");\n }\n if (newRow) {\n addClass(newRow, \"hover-row\");\n }\n });\n });\n onUnmounted(() => {\n var _a;\n (_a = removePopper) == null ? void 0 : _a();\n });\n return {\n ns,\n onColumnsChange,\n onScrollableChange,\n wrappedRowRender,\n tooltipContent,\n tooltipTrigger\n };\n },\n render() {\n const { wrappedRowRender, store } = this;\n const data = store.states.data.value || [];\n return h(\"tbody\", {}, [\n data.reduce((acc, row) => {\n return acc.concat(wrappedRowRender(row, acc.length));\n }, [])\n ]);\n }\n});\n\nexport { TableBody as default };\n//# sourceMappingURL=index.mjs.map\n","import { h } from 'vue';\n\nfunction hColgroup(props) {\n const isAuto = props.tableLayout === \"auto\";\n let columns = props.columns || [];\n if (isAuto) {\n if (columns.every((column) => column.width === void 0)) {\n columns = [];\n }\n }\n const getPropsData = (column) => {\n const propsData = {\n key: `${props.tableLayout}_${column.id}`,\n style: {},\n name: void 0\n };\n if (isAuto) {\n propsData.style = {\n width: `${column.width}px`\n };\n } else {\n propsData.name = column.id;\n }\n return propsData;\n };\n return h(\"colgroup\", {}, columns.map((column) => h(\"col\", getPropsData(column))));\n}\nhColgroup.props = [\"columns\", \"tableLayout\"];\n\nexport { hColgroup };\n//# sourceMappingURL=h-helper.mjs.map\n","import '../../../../hooks/index.mjs';\nimport { getFixedColumnsClass, getFixedColumnOffset, ensurePosition } from '../util.mjs';\nimport useMapState from './mapState-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nfunction useStyle(props) {\n const { columns } = useMapState();\n const ns = useNamespace(\"table\");\n const getCellClasses = (columns2, cellIndex) => {\n const column = columns2[cellIndex];\n const classes = [\n ns.e(\"cell\"),\n column.id,\n column.align,\n column.labelClassName,\n ...getFixedColumnsClass(ns.b(), cellIndex, column.fixed, props.store)\n ];\n if (column.className) {\n classes.push(column.className);\n }\n if (!column.children) {\n classes.push(ns.is(\"leaf\"));\n }\n return classes;\n };\n const getCellStyles = (column, cellIndex) => {\n const fixedStyle = getFixedColumnOffset(cellIndex, column.fixed, props.store);\n ensurePosition(fixedStyle, \"left\");\n ensurePosition(fixedStyle, \"right\");\n return fixedStyle;\n };\n return {\n getCellClasses,\n getCellStyles,\n columns\n };\n}\n\nexport { useStyle as default };\n//# sourceMappingURL=style-helper.mjs.map\n","import { inject, computed } from 'vue';\nimport { TABLE_INJECTION_KEY } from '../tokens.mjs';\n\nfunction useMapState() {\n const table = inject(TABLE_INJECTION_KEY);\n const store = table == null ? void 0 : table.store;\n const leftFixedLeafCount = computed(() => {\n return store.states.fixedLeafColumnsLength.value;\n });\n const rightFixedLeafCount = computed(() => {\n return store.states.rightFixedColumns.value.length;\n });\n const columnsCount = computed(() => {\n return store.states.columns.value.length;\n });\n const leftFixedCount = computed(() => {\n return store.states.fixedColumns.value.length;\n });\n const rightFixedCount = computed(() => {\n return store.states.rightFixedColumns.value.length;\n });\n return {\n leftFixedLeafCount,\n rightFixedLeafCount,\n columnsCount,\n leftFixedCount,\n rightFixedCount,\n columns: store.states.columns\n };\n}\n\nexport { useMapState as default };\n//# sourceMappingURL=mapState-helper.mjs.map\n","import { defineComponent, h } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { hColgroup } from '../h-helper.mjs';\nimport useStyle from './style-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nvar TableFooter = defineComponent({\n name: \"ElTableFooter\",\n props: {\n fixed: {\n type: String,\n default: \"\"\n },\n store: {\n required: true,\n type: Object\n },\n summaryMethod: Function,\n sumText: String,\n border: Boolean,\n defaultSort: {\n type: Object,\n default: () => {\n return {\n prop: \"\",\n order: \"\"\n };\n }\n }\n },\n setup(props) {\n const { getCellClasses, getCellStyles, columns } = useStyle(props);\n const ns = useNamespace(\"table\");\n return {\n ns,\n getCellClasses,\n getCellStyles,\n columns\n };\n },\n render() {\n const {\n columns,\n getCellStyles,\n getCellClasses,\n summaryMethod,\n sumText,\n ns\n } = this;\n const data = this.store.states.data.value;\n let sums = [];\n if (summaryMethod) {\n sums = summaryMethod({\n columns,\n data\n });\n } else {\n columns.forEach((column, index) => {\n if (index === 0) {\n sums[index] = sumText;\n return;\n }\n const values = data.map((item) => Number(item[column.property]));\n const precisions = [];\n let notNumber = true;\n values.forEach((value) => {\n if (!Number.isNaN(+value)) {\n notNumber = false;\n const decimal = `${value}`.split(\".\")[1];\n precisions.push(decimal ? decimal.length : 0);\n }\n });\n const precision = Math.max.apply(null, precisions);\n if (!notNumber) {\n sums[index] = values.reduce((prev, curr) => {\n const value = Number(curr);\n if (!Number.isNaN(+value)) {\n return Number.parseFloat((prev + curr).toFixed(Math.min(precision, 20)));\n } else {\n return prev;\n }\n }, 0);\n } else {\n sums[index] = \"\";\n }\n });\n }\n return h(\"table\", {\n class: ns.e(\"footer\"),\n cellspacing: \"0\",\n cellpadding: \"0\",\n border: \"0\"\n }, [\n hColgroup({\n columns\n }),\n h(\"tbody\", [\n h(\"tr\", {}, [\n ...columns.map((column, cellIndex) => h(\"td\", {\n key: cellIndex,\n colspan: column.colSpan,\n rowspan: column.rowSpan,\n class: getCellClasses(columns, cellIndex),\n style: getCellStyles(column, cellIndex)\n }, [\n h(\"div\", {\n class: [\"cell\", column.labelClassName]\n }, [sums[cellIndex]])\n ]))\n ])\n ])\n ]);\n }\n});\n\nexport { TableFooter as default };\n//# sourceMappingURL=index.mjs.map\n","import { ref, watchEffect, watch, unref, computed, onMounted, nextTick } from 'vue';\nimport { useEventListener, useResizeObserver } from '@vueuse/core';\nimport '../../../form/index.mjs';\nimport { useFormSize } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nfunction useStyle(props, layout, store, table) {\n const isHidden = ref(false);\n const renderExpanded = ref(null);\n const resizeProxyVisible = ref(false);\n const setDragVisible = (visible) => {\n resizeProxyVisible.value = visible;\n };\n const resizeState = ref({\n width: null,\n height: null,\n headerHeight: null\n });\n const isGroup = ref(false);\n const scrollbarViewStyle = {\n display: \"inline-block\",\n verticalAlign: \"middle\"\n };\n const tableWidth = ref();\n const tableScrollHeight = ref(0);\n const bodyScrollHeight = ref(0);\n const headerScrollHeight = ref(0);\n const footerScrollHeight = ref(0);\n const appendScrollHeight = ref(0);\n watchEffect(() => {\n layout.setHeight(props.height);\n });\n watchEffect(() => {\n layout.setMaxHeight(props.maxHeight);\n });\n watch(() => [props.currentRowKey, store.states.rowKey], ([currentRowKey, rowKey]) => {\n if (!unref(rowKey) || !unref(currentRowKey))\n return;\n store.setCurrentRowKey(`${currentRowKey}`);\n }, {\n immediate: true\n });\n watch(() => props.data, (data) => {\n table.store.commit(\"setData\", data);\n }, {\n immediate: true,\n deep: true\n });\n watchEffect(() => {\n if (props.expandRowKeys) {\n store.setExpandRowKeysAdapter(props.expandRowKeys);\n }\n });\n const handleMouseLeave = () => {\n table.store.commit(\"setHoverRow\", null);\n if (table.hoverState)\n table.hoverState = null;\n };\n const handleHeaderFooterMousewheel = (event, data) => {\n const { pixelX, pixelY } = data;\n if (Math.abs(pixelX) >= Math.abs(pixelY)) {\n table.refs.bodyWrapper.scrollLeft += data.pixelX / 5;\n }\n };\n const shouldUpdateHeight = computed(() => {\n return props.height || props.maxHeight || store.states.fixedColumns.value.length > 0 || store.states.rightFixedColumns.value.length > 0;\n });\n const tableBodyStyles = computed(() => {\n return {\n width: layout.bodyWidth.value ? `${layout.bodyWidth.value}px` : \"\"\n };\n });\n const doLayout = () => {\n if (shouldUpdateHeight.value) {\n layout.updateElsHeight();\n }\n layout.updateColumnsWidth();\n requestAnimationFrame(syncPosition);\n };\n onMounted(async () => {\n await nextTick();\n store.updateColumns();\n bindEvents();\n requestAnimationFrame(doLayout);\n const el = table.vnode.el;\n const tableHeader = table.refs.headerWrapper;\n if (props.flexible && el && el.parentElement) {\n el.parentElement.style.minWidth = \"0\";\n }\n resizeState.value = {\n width: tableWidth.value = el.offsetWidth,\n height: el.offsetHeight,\n headerHeight: props.showHeader && tableHeader ? tableHeader.offsetHeight : null\n };\n store.states.columns.value.forEach((column) => {\n if (column.filteredValue && column.filteredValue.length) {\n table.store.commit(\"filterChange\", {\n column,\n values: column.filteredValue,\n silent: true\n });\n }\n });\n table.$ready = true;\n });\n const setScrollClassByEl = (el, className) => {\n if (!el)\n return;\n const classList = Array.from(el.classList).filter((item) => !item.startsWith(\"is-scrolling-\"));\n classList.push(layout.scrollX.value ? className : \"is-scrolling-none\");\n el.className = classList.join(\" \");\n };\n const setScrollClass = (className) => {\n const { tableWrapper } = table.refs;\n setScrollClassByEl(tableWrapper, className);\n };\n const hasScrollClass = (className) => {\n const { tableWrapper } = table.refs;\n return !!(tableWrapper && tableWrapper.classList.contains(className));\n };\n const syncPosition = function() {\n if (!table.refs.scrollBarRef)\n return;\n if (!layout.scrollX.value) {\n const scrollingNoneClass = \"is-scrolling-none\";\n if (!hasScrollClass(scrollingNoneClass)) {\n setScrollClass(scrollingNoneClass);\n }\n return;\n }\n const scrollContainer = table.refs.scrollBarRef.wrapRef;\n if (!scrollContainer)\n return;\n const { scrollLeft, offsetWidth, scrollWidth } = scrollContainer;\n const { headerWrapper, footerWrapper } = table.refs;\n if (headerWrapper)\n headerWrapper.scrollLeft = scrollLeft;\n if (footerWrapper)\n footerWrapper.scrollLeft = scrollLeft;\n const maxScrollLeftPosition = scrollWidth - offsetWidth - 1;\n if (scrollLeft >= maxScrollLeftPosition) {\n setScrollClass(\"is-scrolling-right\");\n } else if (scrollLeft === 0) {\n setScrollClass(\"is-scrolling-left\");\n } else {\n setScrollClass(\"is-scrolling-middle\");\n }\n };\n const bindEvents = () => {\n if (!table.refs.scrollBarRef)\n return;\n if (table.refs.scrollBarRef.wrapRef) {\n useEventListener(table.refs.scrollBarRef.wrapRef, \"scroll\", syncPosition, {\n passive: true\n });\n }\n if (props.fit) {\n useResizeObserver(table.vnode.el, resizeListener);\n } else {\n useEventListener(window, \"resize\", resizeListener);\n }\n useResizeObserver(table.refs.bodyWrapper, () => {\n var _a, _b;\n resizeListener();\n (_b = (_a = table.refs) == null ? void 0 : _a.scrollBarRef) == null ? void 0 : _b.update();\n });\n };\n const resizeListener = () => {\n var _a, _b, _c, _d;\n const el = table.vnode.el;\n if (!table.$ready || !el)\n return;\n let shouldUpdateLayout = false;\n const {\n width: oldWidth,\n height: oldHeight,\n headerHeight: oldHeaderHeight\n } = resizeState.value;\n const width = tableWidth.value = el.offsetWidth;\n if (oldWidth !== width) {\n shouldUpdateLayout = true;\n }\n const height = el.offsetHeight;\n if ((props.height || shouldUpdateHeight.value) && oldHeight !== height) {\n shouldUpdateLayout = true;\n }\n const tableHeader = props.tableLayout === \"fixed\" ? table.refs.headerWrapper : (_a = table.refs.tableHeaderRef) == null ? void 0 : _a.$el;\n if (props.showHeader && (tableHeader == null ? void 0 : tableHeader.offsetHeight) !== oldHeaderHeight) {\n shouldUpdateLayout = true;\n }\n tableScrollHeight.value = ((_b = table.refs.tableWrapper) == null ? void 0 : _b.scrollHeight) || 0;\n headerScrollHeight.value = (tableHeader == null ? void 0 : tableHeader.scrollHeight) || 0;\n footerScrollHeight.value = ((_c = table.refs.footerWrapper) == null ? void 0 : _c.offsetHeight) || 0;\n appendScrollHeight.value = ((_d = table.refs.appendWrapper) == null ? void 0 : _d.offsetHeight) || 0;\n bodyScrollHeight.value = tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value - appendScrollHeight.value;\n if (shouldUpdateLayout) {\n resizeState.value = {\n width,\n height,\n headerHeight: props.showHeader && (tableHeader == null ? void 0 : tableHeader.offsetHeight) || 0\n };\n doLayout();\n }\n };\n const tableSize = useFormSize();\n const bodyWidth = computed(() => {\n const { bodyWidth: bodyWidth_, scrollY, gutterWidth } = layout;\n return bodyWidth_.value ? `${bodyWidth_.value - (scrollY.value ? gutterWidth : 0)}px` : \"\";\n });\n const tableLayout = computed(() => {\n if (props.maxHeight)\n return \"fixed\";\n return props.tableLayout;\n });\n const emptyBlockStyle = computed(() => {\n if (props.data && props.data.length)\n return null;\n let height = \"100%\";\n if (props.height && bodyScrollHeight.value) {\n height = `${bodyScrollHeight.value}px`;\n }\n const width = tableWidth.value;\n return {\n width: width ? `${width}px` : \"\",\n height\n };\n });\n const tableInnerStyle = computed(() => {\n if (props.height) {\n return {\n height: !Number.isNaN(Number(props.height)) ? `${props.height}px` : props.height\n };\n }\n if (props.maxHeight) {\n return {\n maxHeight: !Number.isNaN(Number(props.maxHeight)) ? `${props.maxHeight}px` : props.maxHeight\n };\n }\n return {};\n });\n const scrollbarStyle = computed(() => {\n if (props.height) {\n return {\n height: \"100%\"\n };\n }\n if (props.maxHeight) {\n if (!Number.isNaN(Number(props.maxHeight))) {\n return {\n maxHeight: `${props.maxHeight - headerScrollHeight.value - footerScrollHeight.value}px`\n };\n } else {\n return {\n maxHeight: `calc(${props.maxHeight} - ${headerScrollHeight.value + footerScrollHeight.value}px)`\n };\n }\n }\n return {};\n });\n const handleFixedMousewheel = (event, data) => {\n const bodyWrapper = table.refs.bodyWrapper;\n if (Math.abs(data.spinY) > 0) {\n const currentScrollTop = bodyWrapper.scrollTop;\n if (data.pixelY < 0 && currentScrollTop !== 0) {\n event.preventDefault();\n }\n if (data.pixelY > 0 && bodyWrapper.scrollHeight - bodyWrapper.clientHeight > currentScrollTop) {\n event.preventDefault();\n }\n bodyWrapper.scrollTop += Math.ceil(data.pixelY / 5);\n } else {\n bodyWrapper.scrollLeft += Math.ceil(data.pixelX / 5);\n }\n };\n return {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n emptyBlockStyle,\n handleFixedMousewheel,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n tableBodyStyles,\n tableLayout,\n scrollbarViewStyle,\n tableInnerStyle,\n scrollbarStyle\n };\n}\n\nexport { useStyle as default };\n//# sourceMappingURL=style-helper.mjs.map\n","import { ref, onMounted, onUnmounted } from 'vue';\n\nfunction useKeyRender(table) {\n const observer = ref();\n const initWatchDom = () => {\n const el = table.vnode.el;\n const columnsWrapper = el.querySelector(\".hidden-columns\");\n const config = { childList: true, subtree: true };\n const updateOrderFns = table.store.states.updateOrderFns;\n observer.value = new MutationObserver(() => {\n updateOrderFns.forEach((fn) => fn());\n });\n observer.value.observe(columnsWrapper, config);\n };\n onMounted(() => {\n initWatchDom();\n });\n onUnmounted(() => {\n var _a;\n (_a = observer.value) == null ? void 0 : _a.disconnect();\n });\n}\n\nexport { useKeyRender as default };\n//# sourceMappingURL=key-render-helper.mjs.map\n","import '../../../../hooks/index.mjs';\nimport { useSizeProp } from '../../../../hooks/use-size/index.mjs';\n\nvar defaultProps = {\n data: {\n type: Array,\n default: () => []\n },\n size: useSizeProp,\n width: [String, Number],\n height: [String, Number],\n maxHeight: [String, Number],\n fit: {\n type: Boolean,\n default: true\n },\n stripe: Boolean,\n border: Boolean,\n rowKey: [String, Function],\n showHeader: {\n type: Boolean,\n default: true\n },\n showSummary: Boolean,\n sumText: String,\n summaryMethod: Function,\n rowClassName: [String, Function],\n rowStyle: [Object, Function],\n cellClassName: [String, Function],\n cellStyle: [Object, Function],\n headerRowClassName: [String, Function],\n headerRowStyle: [Object, Function],\n headerCellClassName: [String, Function],\n headerCellStyle: [Object, Function],\n highlightCurrentRow: Boolean,\n currentRowKey: [String, Number],\n emptyText: String,\n expandRowKeys: Array,\n defaultExpandAll: Boolean,\n defaultSort: Object,\n tooltipEffect: String,\n tooltipOptions: Object,\n spanMethod: Function,\n selectOnIndeterminate: {\n type: Boolean,\n default: true\n },\n indent: {\n type: Number,\n default: 16\n },\n treeProps: {\n type: Object,\n default: () => {\n return {\n hasChildren: \"hasChildren\",\n children: \"children\"\n };\n }\n },\n lazy: Boolean,\n load: Function,\n style: {\n type: Object,\n default: () => ({})\n },\n className: {\n type: String,\n default: \"\"\n },\n tableLayout: {\n type: String,\n default: \"fixed\"\n },\n scrollbarAlwaysOn: {\n type: Boolean,\n default: false\n },\n flexible: Boolean,\n showOverflowTooltip: [Boolean, Object]\n};\n\nexport { defaultProps as default };\n//# sourceMappingURL=defaults.mjs.map\n","import { defineComponent, getCurrentInstance, provide, computed, resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, withDirectives, createVNode, createCommentVNode, withCtx, createBlock, createTextVNode, toDisplayString, vShow } from 'vue';\nimport { debounce } from 'lodash-unified';\nimport '../../../directives/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { ElScrollbar } from '../../scrollbar/index.mjs';\nimport { createStore } from './store/helper.mjs';\nimport TableLayout from './table-layout.mjs';\nimport TableHeader from './table-header/index.mjs';\nimport TableBody from './table-body/index.mjs';\nimport TableFooter from './table-footer/index.mjs';\nimport useUtils from './table/utils-helper.mjs';\nimport useStyle from './table/style-helper.mjs';\nimport useKeyRender from './table/key-render-helper.mjs';\nimport defaultProps from './table/defaults.mjs';\nimport { TABLE_INJECTION_KEY } from './tokens.mjs';\nimport { hColgroup } from './h-helper.mjs';\nimport { useScrollbar } from './composables/use-scrollbar.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport Mousewheel from '../../../directives/mousewheel/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nlet tableIdSeed = 1;\nconst _sfc_main = defineComponent({\n name: \"ElTable\",\n directives: {\n Mousewheel\n },\n components: {\n TableHeader,\n TableBody,\n TableFooter,\n ElScrollbar,\n hColgroup\n },\n props: defaultProps,\n emits: [\n \"select\",\n \"select-all\",\n \"selection-change\",\n \"cell-mouse-enter\",\n \"cell-mouse-leave\",\n \"cell-contextmenu\",\n \"cell-click\",\n \"cell-dblclick\",\n \"row-click\",\n \"row-contextmenu\",\n \"row-dblclick\",\n \"header-click\",\n \"header-contextmenu\",\n \"sort-change\",\n \"filter-change\",\n \"current-change\",\n \"header-dragend\",\n \"expand-change\"\n ],\n setup(props) {\n const { t } = useLocale();\n const ns = useNamespace(\"table\");\n const table = getCurrentInstance();\n provide(TABLE_INJECTION_KEY, table);\n const store = createStore(table, props);\n table.store = store;\n const layout = new TableLayout({\n store: table.store,\n table,\n fit: props.fit,\n showHeader: props.showHeader\n });\n table.layout = layout;\n const isEmpty = computed(() => (store.states.data.value || []).length === 0);\n const {\n setCurrentRow,\n getSelectionRows,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n sort\n } = useUtils(store);\n const {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n emptyBlockStyle,\n handleFixedMousewheel,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n tableBodyStyles,\n tableLayout,\n scrollbarViewStyle,\n tableInnerStyle,\n scrollbarStyle\n } = useStyle(props, layout, store, table);\n const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar();\n const debouncedUpdateLayout = debounce(doLayout, 50);\n const tableId = `${ns.namespace.value}-table_${tableIdSeed++}`;\n table.tableId = tableId;\n table.state = {\n isGroup,\n resizeState,\n doLayout,\n debouncedUpdateLayout\n };\n const computedSumText = computed(() => props.sumText || t(\"el.table.sumText\"));\n const computedEmptyText = computed(() => {\n return props.emptyText || t(\"el.table.emptyText\");\n });\n useKeyRender(table);\n return {\n ns,\n layout,\n store,\n handleHeaderFooterMousewheel,\n handleMouseLeave,\n tableId,\n tableSize,\n isHidden,\n isEmpty,\n renderExpanded,\n resizeProxyVisible,\n resizeState,\n isGroup,\n bodyWidth,\n tableBodyStyles,\n emptyBlockStyle,\n debouncedUpdateLayout,\n handleFixedMousewheel,\n setCurrentRow,\n getSelectionRows,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n doLayout,\n sort,\n t,\n setDragVisible,\n context: table,\n computedSumText,\n computedEmptyText,\n tableLayout,\n scrollbarViewStyle,\n tableInnerStyle,\n scrollbarStyle,\n scrollBarRef,\n scrollTo,\n setScrollLeft,\n setScrollTop\n };\n }\n});\nconst _hoisted_1 = [\"data-prefix\"];\nconst _hoisted_2 = {\n ref: \"hiddenColumns\",\n class: \"hidden-columns\"\n};\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_hColgroup = resolveComponent(\"hColgroup\");\n const _component_table_header = resolveComponent(\"table-header\");\n const _component_table_body = resolveComponent(\"table-body\");\n const _component_el_scrollbar = resolveComponent(\"el-scrollbar\");\n const _component_table_footer = resolveComponent(\"table-footer\");\n const _directive_mousewheel = resolveDirective(\"mousewheel\");\n return openBlock(), createElementBlock(\"div\", {\n ref: \"tableWrapper\",\n class: normalizeClass([\n {\n [_ctx.ns.m(\"fit\")]: _ctx.fit,\n [_ctx.ns.m(\"striped\")]: _ctx.stripe,\n [_ctx.ns.m(\"border\")]: _ctx.border || _ctx.isGroup,\n [_ctx.ns.m(\"hidden\")]: _ctx.isHidden,\n [_ctx.ns.m(\"group\")]: _ctx.isGroup,\n [_ctx.ns.m(\"fluid-height\")]: _ctx.maxHeight,\n [_ctx.ns.m(\"scrollable-x\")]: _ctx.layout.scrollX.value,\n [_ctx.ns.m(\"scrollable-y\")]: _ctx.layout.scrollY.value,\n [_ctx.ns.m(\"enable-row-hover\")]: !_ctx.store.states.isComplex.value,\n [_ctx.ns.m(\"enable-row-transition\")]: (_ctx.store.states.data.value || []).length !== 0 && (_ctx.store.states.data.value || []).length < 100,\n \"has-footer\": _ctx.showSummary\n },\n _ctx.ns.m(_ctx.tableSize),\n _ctx.className,\n _ctx.ns.b(),\n _ctx.ns.m(`layout-${_ctx.tableLayout}`)\n ]),\n style: normalizeStyle(_ctx.style),\n \"data-prefix\": _ctx.ns.namespace.value,\n onMouseleave: _cache[0] || (_cache[0] = (...args) => _ctx.handleMouseLeave && _ctx.handleMouseLeave(...args))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"inner-wrapper\")),\n style: normalizeStyle(_ctx.tableInnerStyle)\n }, [\n createElementVNode(\"div\", _hoisted_2, [\n renderSlot(_ctx.$slots, \"default\")\n ], 512),\n _ctx.showHeader && _ctx.tableLayout === \"fixed\" ? withDirectives((openBlock(), createElementBlock(\"div\", {\n key: 0,\n ref: \"headerWrapper\",\n class: normalizeClass(_ctx.ns.e(\"header-wrapper\"))\n }, [\n createElementVNode(\"table\", {\n ref: \"tableHeader\",\n class: normalizeClass(_ctx.ns.e(\"header\")),\n style: normalizeStyle(_ctx.tableBodyStyles),\n border: \"0\",\n cellpadding: \"0\",\n cellspacing: \"0\"\n }, [\n createVNode(_component_hColgroup, {\n columns: _ctx.store.states.columns.value,\n \"table-layout\": _ctx.tableLayout\n }, null, 8, [\"columns\", \"table-layout\"]),\n createVNode(_component_table_header, {\n ref: \"tableHeaderRef\",\n border: _ctx.border,\n \"default-sort\": _ctx.defaultSort,\n store: _ctx.store,\n onSetDragVisible: _ctx.setDragVisible\n }, null, 8, [\"border\", \"default-sort\", \"store\", \"onSetDragVisible\"])\n ], 6)\n ], 2)), [\n [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]\n ]) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n ref: \"bodyWrapper\",\n class: normalizeClass(_ctx.ns.e(\"body-wrapper\"))\n }, [\n createVNode(_component_el_scrollbar, {\n ref: \"scrollBarRef\",\n \"view-style\": _ctx.scrollbarViewStyle,\n \"wrap-style\": _ctx.scrollbarStyle,\n always: _ctx.scrollbarAlwaysOn\n }, {\n default: withCtx(() => [\n createElementVNode(\"table\", {\n ref: \"tableBody\",\n class: normalizeClass(_ctx.ns.e(\"body\")),\n cellspacing: \"0\",\n cellpadding: \"0\",\n border: \"0\",\n style: normalizeStyle({\n width: _ctx.bodyWidth,\n tableLayout: _ctx.tableLayout\n })\n }, [\n createVNode(_component_hColgroup, {\n columns: _ctx.store.states.columns.value,\n \"table-layout\": _ctx.tableLayout\n }, null, 8, [\"columns\", \"table-layout\"]),\n _ctx.showHeader && _ctx.tableLayout === \"auto\" ? (openBlock(), createBlock(_component_table_header, {\n key: 0,\n ref: \"tableHeaderRef\",\n border: _ctx.border,\n \"default-sort\": _ctx.defaultSort,\n store: _ctx.store,\n onSetDragVisible: _ctx.setDragVisible\n }, null, 8, [\"border\", \"default-sort\", \"store\", \"onSetDragVisible\"])) : createCommentVNode(\"v-if\", true),\n createVNode(_component_table_body, {\n context: _ctx.context,\n highlight: _ctx.highlightCurrentRow,\n \"row-class-name\": _ctx.rowClassName,\n \"tooltip-effect\": _ctx.tooltipEffect,\n \"tooltip-options\": _ctx.tooltipOptions,\n \"row-style\": _ctx.rowStyle,\n store: _ctx.store,\n stripe: _ctx.stripe\n }, null, 8, [\"context\", \"highlight\", \"row-class-name\", \"tooltip-effect\", \"tooltip-options\", \"row-style\", \"store\", \"stripe\"])\n ], 6),\n _ctx.isEmpty ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n ref: \"emptyBlock\",\n style: normalizeStyle(_ctx.emptyBlockStyle),\n class: normalizeClass(_ctx.ns.e(\"empty-block\"))\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(_ctx.ns.e(\"empty-text\"))\n }, [\n renderSlot(_ctx.$slots, \"empty\", {}, () => [\n createTextVNode(toDisplayString(_ctx.computedEmptyText), 1)\n ])\n ], 2)\n ], 6)) : createCommentVNode(\"v-if\", true),\n _ctx.$slots.append ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n ref: \"appendWrapper\",\n class: normalizeClass(_ctx.ns.e(\"append-wrapper\"))\n }, [\n renderSlot(_ctx.$slots, \"append\")\n ], 2)) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 8, [\"view-style\", \"wrap-style\", \"always\"])\n ], 2),\n _ctx.showSummary ? withDirectives((openBlock(), createElementBlock(\"div\", {\n key: 1,\n ref: \"footerWrapper\",\n class: normalizeClass(_ctx.ns.e(\"footer-wrapper\"))\n }, [\n createVNode(_component_table_footer, {\n border: _ctx.border,\n \"default-sort\": _ctx.defaultSort,\n store: _ctx.store,\n style: normalizeStyle(_ctx.tableBodyStyles),\n \"sum-text\": _ctx.computedSumText,\n \"summary-method\": _ctx.summaryMethod\n }, null, 8, [\"border\", \"default-sort\", \"store\", \"style\", \"sum-text\", \"summary-method\"])\n ], 2)), [\n [vShow, !_ctx.isEmpty],\n [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]\n ]) : createCommentVNode(\"v-if\", true),\n _ctx.border || _ctx.isGroup ? (openBlock(), createElementBlock(\"div\", {\n key: 2,\n class: normalizeClass(_ctx.ns.e(\"border-left-patch\"))\n }, null, 2)) : createCommentVNode(\"v-if\", true)\n ], 6),\n withDirectives(createElementVNode(\"div\", {\n ref: \"resizeProxy\",\n class: normalizeClass(_ctx.ns.e(\"column-resize-proxy\"))\n }, null, 2), [\n [vShow, _ctx.resizeProxyVisible]\n ])\n ], 46, _hoisted_1);\n}\nvar Table = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue\"]]);\n\nexport { Table as default };\n//# sourceMappingURL=table.mjs.map\n","function useUtils(store) {\n const setCurrentRow = (row) => {\n store.commit(\"setCurrentRow\", row);\n };\n const getSelectionRows = () => {\n return store.getSelectionRows();\n };\n const toggleRowSelection = (row, selected) => {\n store.toggleRowSelection(row, selected, false);\n store.updateAllSelected();\n };\n const clearSelection = () => {\n store.clearSelection();\n };\n const clearFilter = (columnKeys) => {\n store.clearFilter(columnKeys);\n };\n const toggleAllSelection = () => {\n store.commit(\"toggleAllSelection\");\n };\n const toggleRowExpansion = (row, expanded) => {\n store.toggleRowExpansionAdapter(row, expanded);\n };\n const clearSort = () => {\n store.clearSort();\n };\n const sort = (prop, order) => {\n store.commit(\"sort\", { prop, order });\n };\n return {\n setCurrentRow,\n getSelectionRows,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n sort\n };\n}\n\nexport { useUtils as default };\n//# sourceMappingURL=utils-helper.mjs.map\n","import { ref } from 'vue';\nimport '../../../../utils/index.mjs';\nimport { isNumber } from '../../../../utils/types.mjs';\n\nconst useScrollbar = () => {\n const scrollBarRef = ref();\n const scrollTo = (options, yCoord) => {\n const scrollbar = scrollBarRef.value;\n if (scrollbar) {\n scrollbar.scrollTo(options, yCoord);\n }\n };\n const setScrollPosition = (position, offset) => {\n const scrollbar = scrollBarRef.value;\n if (scrollbar && isNumber(offset) && [\"Top\", \"Left\"].includes(position)) {\n scrollbar[`setScroll${position}`](offset);\n }\n };\n const setScrollTop = (top) => setScrollPosition(\"Top\", top);\n const setScrollLeft = (left) => setScrollPosition(\"Left\", left);\n return {\n scrollBarRef,\n scrollTo,\n setScrollTop,\n setScrollLeft\n };\n};\n\nexport { useScrollbar };\n//# sourceMappingURL=use-scrollbar.mjs.map\n","import { h } from 'vue';\nimport { ElCheckbox } from '../../checkbox/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowRight, Loading } from '@element-plus/icons-vue';\nimport '../../../utils/index.mjs';\nimport { getProp } from '../../../utils/objects.mjs';\n\nconst defaultClassNames = {\n selection: \"table-column--selection\",\n expand: \"table__expand-column\"\n};\nconst cellStarts = {\n default: {\n order: \"\"\n },\n selection: {\n width: 48,\n minWidth: 48,\n realWidth: 48,\n order: \"\"\n },\n expand: {\n width: 48,\n minWidth: 48,\n realWidth: 48,\n order: \"\"\n },\n index: {\n width: 48,\n minWidth: 48,\n realWidth: 48,\n order: \"\"\n }\n};\nconst getDefaultClassName = (type) => {\n return defaultClassNames[type] || \"\";\n};\nconst cellForced = {\n selection: {\n renderHeader({ store }) {\n function isDisabled() {\n return store.states.data.value && store.states.data.value.length === 0;\n }\n return h(ElCheckbox, {\n disabled: isDisabled(),\n size: store.states.tableSize.value,\n indeterminate: store.states.selection.value.length > 0 && !store.states.isAllSelected.value,\n \"onUpdate:modelValue\": store.toggleAllSelection,\n modelValue: store.states.isAllSelected.value\n });\n },\n renderCell({\n row,\n column,\n store,\n $index\n }) {\n return h(ElCheckbox, {\n disabled: column.selectable ? !column.selectable.call(null, row, $index) : false,\n size: store.states.tableSize.value,\n onChange: () => {\n store.commit(\"rowSelectedChanged\", row);\n },\n onClick: (event) => event.stopPropagation(),\n modelValue: store.isSelected(row)\n });\n },\n sortable: false,\n resizable: false\n },\n index: {\n renderHeader({ column }) {\n return column.label || \"#\";\n },\n renderCell({\n column,\n $index\n }) {\n let i = $index + 1;\n const index = column.index;\n if (typeof index === \"number\") {\n i = $index + index;\n } else if (typeof index === \"function\") {\n i = index($index);\n }\n return h(\"div\", {}, [i]);\n },\n sortable: false\n },\n expand: {\n renderHeader({ column }) {\n return column.label || \"\";\n },\n renderCell({\n row,\n store,\n expanded\n }) {\n const { ns } = store;\n const classes = [ns.e(\"expand-icon\")];\n if (expanded) {\n classes.push(ns.em(\"expand-icon\", \"expanded\"));\n }\n const callback = function(e) {\n e.stopPropagation();\n store.toggleRowExpansion(row);\n };\n return h(\"div\", {\n class: classes,\n onClick: callback\n }, {\n default: () => {\n return [\n h(ElIcon, null, {\n default: () => {\n return [h(ArrowRight)];\n }\n })\n ];\n }\n });\n },\n sortable: false,\n resizable: false\n }\n};\nfunction defaultRenderCell({\n row,\n column,\n $index\n}) {\n var _a;\n const property = column.property;\n const value = property && getProp(row, property).value;\n if (column && column.formatter) {\n return column.formatter(row, column, value, $index);\n }\n return ((_a = value == null ? void 0 : value.toString) == null ? void 0 : _a.call(value)) || \"\";\n}\nfunction treeCellPrefix({\n row,\n treeNode,\n store\n}, createPlaceholder = false) {\n const { ns } = store;\n if (!treeNode) {\n if (createPlaceholder) {\n return [\n h(\"span\", {\n class: ns.e(\"placeholder\")\n })\n ];\n }\n return null;\n }\n const ele = [];\n const callback = function(e) {\n e.stopPropagation();\n if (treeNode.loading) {\n return;\n }\n store.loadOrToggle(row);\n };\n if (treeNode.indent) {\n ele.push(h(\"span\", {\n class: ns.e(\"indent\"),\n style: { \"padding-left\": `${treeNode.indent}px` }\n }));\n }\n if (typeof treeNode.expanded === \"boolean\" && !treeNode.noLazyChildren) {\n const expandClasses = [\n ns.e(\"expand-icon\"),\n treeNode.expanded ? ns.em(\"expand-icon\", \"expanded\") : \"\"\n ];\n let icon = ArrowRight;\n if (treeNode.loading) {\n icon = Loading;\n }\n ele.push(h(\"div\", {\n class: expandClasses,\n onClick: callback\n }, {\n default: () => {\n return [\n h(ElIcon, { class: { [ns.is(\"loading\")]: treeNode.loading } }, {\n default: () => [h(icon)]\n })\n ];\n }\n }));\n } else {\n ele.push(h(\"span\", {\n class: ns.e(\"placeholder\")\n }));\n }\n return ele;\n}\n\nexport { cellForced, cellStarts, defaultRenderCell, getDefaultClassName, treeCellPrefix };\n//# sourceMappingURL=config.mjs.map\n","import { getCurrentInstance, watch } from 'vue';\nimport '../../../../utils/index.mjs';\nimport { parseWidth, parseMinWidth } from '../util.mjs';\nimport { hasOwn } from '@vue/shared';\n\nfunction getAllAliases(props, aliases) {\n return props.reduce((prev, cur) => {\n prev[cur] = cur;\n return prev;\n }, aliases);\n}\nfunction useWatcher(owner, props_) {\n const instance = getCurrentInstance();\n const registerComplexWatchers = () => {\n const props = [\"fixed\"];\n const aliases = {\n realWidth: \"width\",\n realMinWidth: \"minWidth\"\n };\n const allAliases = getAllAliases(props, aliases);\n Object.keys(allAliases).forEach((key) => {\n const columnKey = aliases[key];\n if (hasOwn(props_, columnKey)) {\n watch(() => props_[columnKey], (newVal) => {\n let value = newVal;\n if (columnKey === \"width\" && key === \"realWidth\") {\n value = parseWidth(newVal);\n }\n if (columnKey === \"minWidth\" && key === \"realMinWidth\") {\n value = parseMinWidth(newVal);\n }\n instance.columnConfig.value[columnKey] = value;\n instance.columnConfig.value[key] = value;\n const updateColumns = columnKey === \"fixed\";\n owner.value.store.scheduleLayout(updateColumns);\n });\n }\n });\n };\n const registerNormalWatchers = () => {\n const props = [\n \"label\",\n \"filters\",\n \"filterMultiple\",\n \"filteredValue\",\n \"sortable\",\n \"index\",\n \"formatter\",\n \"className\",\n \"labelClassName\",\n \"showOverflowTooltip\"\n ];\n const aliases = {\n property: \"prop\",\n align: \"realAlign\",\n headerAlign: \"realHeaderAlign\"\n };\n const allAliases = getAllAliases(props, aliases);\n Object.keys(allAliases).forEach((key) => {\n const columnKey = aliases[key];\n if (hasOwn(props_, columnKey)) {\n watch(() => props_[columnKey], (newVal) => {\n instance.columnConfig.value[key] = newVal;\n });\n }\n });\n };\n return {\n registerComplexWatchers,\n registerNormalWatchers\n };\n}\n\nexport { useWatcher as default };\n//# sourceMappingURL=watcher-helper.mjs.map\n","import { getCurrentInstance, ref, watchEffect, computed, unref, h, Comment } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { cellForced, getDefaultClassName, defaultRenderCell, treeCellPrefix } from '../config.mjs';\nimport { parseWidth, parseMinWidth } from '../util.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\n\nfunction useRender(props, slots, owner) {\n const instance = getCurrentInstance();\n const columnId = ref(\"\");\n const isSubColumn = ref(false);\n const realAlign = ref();\n const realHeaderAlign = ref();\n const ns = useNamespace(\"table\");\n watchEffect(() => {\n realAlign.value = props.align ? `is-${props.align}` : null;\n realAlign.value;\n });\n watchEffect(() => {\n realHeaderAlign.value = props.headerAlign ? `is-${props.headerAlign}` : realAlign.value;\n realHeaderAlign.value;\n });\n const columnOrTableParent = computed(() => {\n let parent = instance.vnode.vParent || instance.parent;\n while (parent && !parent.tableId && !parent.columnId) {\n parent = parent.vnode.vParent || parent.parent;\n }\n return parent;\n });\n const hasTreeColumn = computed(() => {\n const { store } = instance.parent;\n if (!store)\n return false;\n const { treeData } = store.states;\n const treeDataValue = treeData.value;\n return treeDataValue && Object.keys(treeDataValue).length > 0;\n });\n const realWidth = ref(parseWidth(props.width));\n const realMinWidth = ref(parseMinWidth(props.minWidth));\n const setColumnWidth = (column) => {\n if (realWidth.value)\n column.width = realWidth.value;\n if (realMinWidth.value) {\n column.minWidth = realMinWidth.value;\n }\n if (!realWidth.value && realMinWidth.value) {\n column.width = void 0;\n }\n if (!column.minWidth) {\n column.minWidth = 80;\n }\n column.realWidth = Number(column.width === void 0 ? column.minWidth : column.width);\n return column;\n };\n const setColumnForcedProps = (column) => {\n const type = column.type;\n const source = cellForced[type] || {};\n Object.keys(source).forEach((prop) => {\n const value = source[prop];\n if (prop !== \"className\" && value !== void 0) {\n column[prop] = value;\n }\n });\n const className = getDefaultClassName(type);\n if (className) {\n const forceClass = `${unref(ns.namespace)}-${className}`;\n column.className = column.className ? `${column.className} ${forceClass}` : forceClass;\n }\n return column;\n };\n const checkSubColumn = (children) => {\n if (Array.isArray(children)) {\n children.forEach((child) => check(child));\n } else {\n check(children);\n }\n function check(item) {\n var _a;\n if (((_a = item == null ? void 0 : item.type) == null ? void 0 : _a.name) === \"ElTableColumn\") {\n item.vParent = instance;\n }\n }\n };\n const setColumnRenders = (column) => {\n if (props.renderHeader) {\n debugWarn(\"TableColumn\", \"Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.\");\n } else if (column.type !== \"selection\") {\n column.renderHeader = (scope) => {\n instance.columnConfig.value[\"label\"];\n const renderHeader = slots.header;\n return renderHeader ? renderHeader(scope) : column.label;\n };\n }\n let originRenderCell = column.renderCell;\n if (column.type === \"expand\") {\n column.renderCell = (data) => h(\"div\", {\n class: \"cell\"\n }, [originRenderCell(data)]);\n owner.value.renderExpanded = (data) => {\n return slots.default ? slots.default(data) : slots.default;\n };\n } else {\n originRenderCell = originRenderCell || defaultRenderCell;\n column.renderCell = (data) => {\n let children = null;\n if (slots.default) {\n const vnodes = slots.default(data);\n children = vnodes.some((v) => v.type !== Comment) ? vnodes : originRenderCell(data);\n } else {\n children = originRenderCell(data);\n }\n const { columns } = owner.value.store.states;\n const firstUserColumnIndex = columns.value.findIndex((item) => item.type === \"default\");\n const shouldCreatePlaceholder = hasTreeColumn.value && data.cellIndex === firstUserColumnIndex;\n const prefix = treeCellPrefix(data, shouldCreatePlaceholder);\n const props2 = {\n class: \"cell\",\n style: {}\n };\n if (column.showOverflowTooltip) {\n props2.class = `${props2.class} ${unref(ns.namespace)}-tooltip`;\n props2.style = {\n width: `${(data.column.realWidth || Number(data.column.width)) - 1}px`\n };\n }\n checkSubColumn(children);\n return h(\"div\", props2, [prefix, children]);\n };\n }\n return column;\n };\n const getPropsData = (...propsKey) => {\n return propsKey.reduce((prev, cur) => {\n if (Array.isArray(cur)) {\n cur.forEach((key) => {\n prev[key] = props[key];\n });\n }\n return prev;\n }, {});\n };\n const getColumnElIndex = (children, child) => {\n return Array.prototype.indexOf.call(children, child);\n };\n const updateColumnOrder = () => {\n owner.value.store.commit(\"updateColumnOrder\", instance.columnConfig.value);\n };\n return {\n columnId,\n realAlign,\n isSubColumn,\n realHeaderAlign,\n columnOrTableParent,\n setColumnWidth,\n setColumnForcedProps,\n setColumnRenders,\n getPropsData,\n getColumnElIndex,\n updateColumnOrder\n };\n}\n\nexport { useRender as default };\n//# sourceMappingURL=render-helper.mjs.map\n","var defaultProps = {\n type: {\n type: String,\n default: \"default\"\n },\n label: String,\n className: String,\n labelClassName: String,\n property: String,\n prop: String,\n width: {\n type: [String, Number],\n default: \"\"\n },\n minWidth: {\n type: [String, Number],\n default: \"\"\n },\n renderHeader: Function,\n sortable: {\n type: [Boolean, String],\n default: false\n },\n sortMethod: Function,\n sortBy: [String, Function, Array],\n resizable: {\n type: Boolean,\n default: true\n },\n columnKey: String,\n align: String,\n headerAlign: String,\n showOverflowTooltip: {\n type: [Boolean, Object],\n default: void 0\n },\n fixed: [Boolean, String],\n formatter: Function,\n selectable: Function,\n reserveSelection: Boolean,\n filterMethod: Function,\n filteredValue: Array,\n filters: Array,\n filterPlacement: String,\n filterMultiple: {\n type: Boolean,\n default: true\n },\n index: [Number, Function],\n sortOrders: {\n type: Array,\n default: () => {\n return [\"ascending\", \"descending\", null];\n },\n validator: (val) => {\n return val.every((order) => [\"ascending\", \"descending\", null].includes(order));\n }\n }\n};\n\nexport { defaultProps as default };\n//# sourceMappingURL=defaults.mjs.map\n","import { defineComponent, getCurrentInstance, ref, computed, onBeforeMount, onMounted, onBeforeUnmount, Fragment, h } from 'vue';\nimport { ElCheckbox } from '../../../checkbox/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { cellStarts } from '../config.mjs';\nimport { mergeOptions, compose } from '../util.mjs';\nimport useWatcher from './watcher-helper.mjs';\nimport useRender from './render-helper.mjs';\nimport defaultProps from './defaults.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { isString } from '@vue/shared';\n\nlet columnIdSeed = 1;\nvar ElTableColumn = defineComponent({\n name: \"ElTableColumn\",\n components: {\n ElCheckbox\n },\n props: defaultProps,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const columnConfig = ref({});\n const owner = computed(() => {\n let parent2 = instance.parent;\n while (parent2 && !parent2.tableId) {\n parent2 = parent2.parent;\n }\n return parent2;\n });\n const { registerNormalWatchers, registerComplexWatchers } = useWatcher(owner, props);\n const {\n columnId,\n isSubColumn,\n realHeaderAlign,\n columnOrTableParent,\n setColumnWidth,\n setColumnForcedProps,\n setColumnRenders,\n getPropsData,\n getColumnElIndex,\n realAlign,\n updateColumnOrder\n } = useRender(props, slots, owner);\n const parent = columnOrTableParent.value;\n columnId.value = `${parent.tableId || parent.columnId}_column_${columnIdSeed++}`;\n onBeforeMount(() => {\n isSubColumn.value = owner.value !== parent;\n const type = props.type || \"default\";\n const sortable = props.sortable === \"\" ? true : props.sortable;\n const showOverflowTooltip = isUndefined(props.showOverflowTooltip) ? parent.props.showOverflowTooltip : props.showOverflowTooltip;\n const defaults = {\n ...cellStarts[type],\n id: columnId.value,\n type,\n property: props.prop || props.property,\n align: realAlign,\n headerAlign: realHeaderAlign,\n showOverflowTooltip,\n filterable: props.filters || props.filterMethod,\n filteredValue: [],\n filterPlacement: \"\",\n isColumnGroup: false,\n isSubColumn: false,\n filterOpened: false,\n sortable,\n index: props.index,\n rawColumnKey: instance.vnode.key\n };\n const basicProps = [\n \"columnKey\",\n \"label\",\n \"className\",\n \"labelClassName\",\n \"type\",\n \"renderHeader\",\n \"formatter\",\n \"fixed\",\n \"resizable\"\n ];\n const sortProps = [\"sortMethod\", \"sortBy\", \"sortOrders\"];\n const selectProps = [\"selectable\", \"reserveSelection\"];\n const filterProps = [\n \"filterMethod\",\n \"filters\",\n \"filterMultiple\",\n \"filterOpened\",\n \"filteredValue\",\n \"filterPlacement\"\n ];\n let column = getPropsData(basicProps, sortProps, selectProps, filterProps);\n column = mergeOptions(defaults, column);\n const chains = compose(setColumnRenders, setColumnWidth, setColumnForcedProps);\n column = chains(column);\n columnConfig.value = column;\n registerNormalWatchers();\n registerComplexWatchers();\n });\n onMounted(() => {\n var _a;\n const parent2 = columnOrTableParent.value;\n const children = isSubColumn.value ? parent2.vnode.el.children : (_a = parent2.refs.hiddenColumns) == null ? void 0 : _a.children;\n const getColumnIndex = () => getColumnElIndex(children || [], instance.vnode.el);\n columnConfig.value.getColumnIndex = getColumnIndex;\n const columnIndex = getColumnIndex();\n columnIndex > -1 && owner.value.store.commit(\"insertColumn\", columnConfig.value, isSubColumn.value ? parent2.columnConfig.value : null, updateColumnOrder);\n });\n onBeforeUnmount(() => {\n owner.value.store.commit(\"removeColumn\", columnConfig.value, isSubColumn.value ? parent.columnConfig.value : null, updateColumnOrder);\n });\n instance.columnId = columnId.value;\n instance.columnConfig = columnConfig;\n return;\n },\n render() {\n var _a, _b, _c;\n try {\n const renderDefault = (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, {\n row: {},\n column: {},\n $index: -1\n });\n const children = [];\n if (Array.isArray(renderDefault)) {\n for (const childNode of renderDefault) {\n if (((_c = childNode.type) == null ? void 0 : _c.name) === \"ElTableColumn\" || childNode.shapeFlag & 2) {\n children.push(childNode);\n } else if (childNode.type === Fragment && Array.isArray(childNode.children)) {\n childNode.children.forEach((vnode2) => {\n if ((vnode2 == null ? void 0 : vnode2.patchFlag) !== 1024 && !isString(vnode2 == null ? void 0 : vnode2.children)) {\n children.push(vnode2);\n }\n });\n }\n }\n }\n const vnode = h(\"div\", children);\n return vnode;\n } catch (e) {\n return h(\"div\", []);\n }\n }\n});\n\nexport { ElTableColumn as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../utils/index.mjs';\nimport Table from './src/table.mjs';\nimport './src/tableColumn.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\nimport ElTableColumn$1 from './src/table-column/index.mjs';\n\nconst ElTable = withInstall(Table, {\n TableColumn: ElTableColumn$1\n});\nconst ElTableColumn = withNoopInstall(ElTableColumn$1);\n\nexport { ElTable, ElTableColumn, ElTable as default };\n//# sourceMappingURL=index.mjs.map\n","const tabsRootContextKey = Symbol(\"tabsRootContextKey\");\n\nexport { tabsRootContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\n\nconst tabBarProps = buildProps({\n tabs: {\n type: definePropType(Array),\n default: () => mutable([])\n }\n});\n\nexport { tabBarProps };\n//# sourceMappingURL=tab-bar.mjs.map\n","import { defineComponent, getCurrentInstance, inject, ref, watch, nextTick, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle } from 'vue';\nimport { useResizeObserver } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { tabsRootContextKey } from './constants.mjs';\nimport { tabBarProps } from './tab-bar.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { throwError } from '../../../utils/error.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { capitalize } from '../../../utils/strings.mjs';\n\nconst COMPONENT_NAME = \"ElTabBar\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: tabBarProps,\n setup(__props, { expose }) {\n const props = __props;\n const instance = getCurrentInstance();\n const rootTabs = inject(tabsRootContextKey);\n if (!rootTabs)\n throwError(COMPONENT_NAME, \"\");\n const ns = useNamespace(\"tabs\");\n const barRef = ref();\n const barStyle = ref();\n const getBarStyle = () => {\n let offset = 0;\n let tabSize = 0;\n const sizeName = [\"top\", \"bottom\"].includes(rootTabs.props.tabPosition) ? \"width\" : \"height\";\n const sizeDir = sizeName === \"width\" ? \"x\" : \"y\";\n const position = sizeDir === \"x\" ? \"left\" : \"top\";\n props.tabs.every((tab) => {\n var _a, _b;\n const $el = (_b = (_a = instance.parent) == null ? void 0 : _a.refs) == null ? void 0 : _b[`tab-${tab.uid}`];\n if (!$el)\n return false;\n if (!tab.active) {\n return true;\n }\n offset = $el[`offset${capitalize(position)}`];\n tabSize = $el[`client${capitalize(sizeName)}`];\n const tabStyles = window.getComputedStyle($el);\n if (sizeName === \"width\") {\n if (props.tabs.length > 1) {\n tabSize -= Number.parseFloat(tabStyles.paddingLeft) + Number.parseFloat(tabStyles.paddingRight);\n }\n offset += Number.parseFloat(tabStyles.paddingLeft);\n }\n return false;\n });\n return {\n [sizeName]: `${tabSize}px`,\n transform: `translate${capitalize(sizeDir)}(${offset}px)`\n };\n };\n const update = () => barStyle.value = getBarStyle();\n watch(() => props.tabs, async () => {\n await nextTick();\n update();\n }, { immediate: true });\n useResizeObserver(barRef, () => update());\n expose({\n ref: barRef,\n update\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref_key: \"barRef\",\n ref: barRef,\n class: normalizeClass([unref(ns).e(\"active-bar\"), unref(ns).is(unref(rootTabs).props.tabPosition)]),\n style: normalizeStyle(barStyle.value)\n }, null, 6);\n };\n }\n});\nvar TabBar = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue\"]]);\n\nexport { TabBar as default };\n//# sourceMappingURL=tab-bar2.mjs.map\n","import { defineComponent, getCurrentInstance, inject, ref, computed, nextTick, watch, onMounted, onUpdated, createVNode } from 'vue';\nimport { useDocumentVisibility, useWindowFocus, useResizeObserver } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowLeft, ArrowRight, Close } from '@element-plus/icons-vue';\nimport '../../../hooks/index.mjs';\nimport TabBar from './tab-bar2.mjs';\nimport { tabsRootContextKey } from './constants.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { throwError } from '../../../utils/error.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { capitalize } from '../../../utils/strings.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\n\nconst tabNavProps = buildProps({\n panes: {\n type: definePropType(Array),\n default: () => mutable([])\n },\n currentName: {\n type: [String, Number],\n default: \"\"\n },\n editable: Boolean,\n type: {\n type: String,\n values: [\"card\", \"border-card\", \"\"],\n default: \"\"\n },\n stretch: Boolean\n});\nconst tabNavEmits = {\n tabClick: (tab, tabName, ev) => ev instanceof Event,\n tabRemove: (tab, ev) => ev instanceof Event\n};\nconst COMPONENT_NAME = \"ElTabNav\";\nconst TabNav = defineComponent({\n name: COMPONENT_NAME,\n props: tabNavProps,\n emits: tabNavEmits,\n setup(props, {\n expose,\n emit\n }) {\n const vm = getCurrentInstance();\n const rootTabs = inject(tabsRootContextKey);\n if (!rootTabs)\n throwError(COMPONENT_NAME, ``);\n const ns = useNamespace(\"tabs\");\n const visibility = useDocumentVisibility();\n const focused = useWindowFocus();\n const navScroll$ = ref();\n const nav$ = ref();\n const el$ = ref();\n const tabBarRef = ref();\n const scrollable = ref(false);\n const navOffset = ref(0);\n const isFocus = ref(false);\n const focusable = ref(true);\n const sizeName = computed(() => [\"top\", \"bottom\"].includes(rootTabs.props.tabPosition) ? \"width\" : \"height\");\n const navStyle = computed(() => {\n const dir = sizeName.value === \"width\" ? \"X\" : \"Y\";\n return {\n transform: `translate${dir}(-${navOffset.value}px)`\n };\n });\n const scrollPrev = () => {\n if (!navScroll$.value)\n return;\n const containerSize = navScroll$.value[`offset${capitalize(sizeName.value)}`];\n const currentOffset = navOffset.value;\n if (!currentOffset)\n return;\n const newOffset = currentOffset > containerSize ? currentOffset - containerSize : 0;\n navOffset.value = newOffset;\n };\n const scrollNext = () => {\n if (!navScroll$.value || !nav$.value)\n return;\n const navSize = nav$.value[`offset${capitalize(sizeName.value)}`];\n const containerSize = navScroll$.value[`offset${capitalize(sizeName.value)}`];\n const currentOffset = navOffset.value;\n if (navSize - currentOffset <= containerSize)\n return;\n const newOffset = navSize - currentOffset > containerSize * 2 ? currentOffset + containerSize : navSize - containerSize;\n navOffset.value = newOffset;\n };\n const scrollToActiveTab = async () => {\n const nav = nav$.value;\n if (!scrollable.value || !el$.value || !navScroll$.value || !nav)\n return;\n await nextTick();\n const activeTab = el$.value.querySelector(\".is-active\");\n if (!activeTab)\n return;\n const navScroll = navScroll$.value;\n const isHorizontal = [\"top\", \"bottom\"].includes(rootTabs.props.tabPosition);\n const activeTabBounding = activeTab.getBoundingClientRect();\n const navScrollBounding = navScroll.getBoundingClientRect();\n const maxOffset = isHorizontal ? nav.offsetWidth - navScrollBounding.width : nav.offsetHeight - navScrollBounding.height;\n const currentOffset = navOffset.value;\n let newOffset = currentOffset;\n if (isHorizontal) {\n if (activeTabBounding.left < navScrollBounding.left) {\n newOffset = currentOffset - (navScrollBounding.left - activeTabBounding.left);\n }\n if (activeTabBounding.right > navScrollBounding.right) {\n newOffset = currentOffset + activeTabBounding.right - navScrollBounding.right;\n }\n } else {\n if (activeTabBounding.top < navScrollBounding.top) {\n newOffset = currentOffset - (navScrollBounding.top - activeTabBounding.top);\n }\n if (activeTabBounding.bottom > navScrollBounding.bottom) {\n newOffset = currentOffset + (activeTabBounding.bottom - navScrollBounding.bottom);\n }\n }\n newOffset = Math.max(newOffset, 0);\n navOffset.value = Math.min(newOffset, maxOffset);\n };\n const update = () => {\n var _a;\n if (!nav$.value || !navScroll$.value)\n return;\n props.stretch && ((_a = tabBarRef.value) == null ? void 0 : _a.update());\n const navSize = nav$.value[`offset${capitalize(sizeName.value)}`];\n const containerSize = navScroll$.value[`offset${capitalize(sizeName.value)}`];\n const currentOffset = navOffset.value;\n if (containerSize < navSize) {\n scrollable.value = scrollable.value || {};\n scrollable.value.prev = currentOffset;\n scrollable.value.next = currentOffset + containerSize < navSize;\n if (navSize - currentOffset < containerSize) {\n navOffset.value = navSize - containerSize;\n }\n } else {\n scrollable.value = false;\n if (currentOffset > 0) {\n navOffset.value = 0;\n }\n }\n };\n const changeTab = (e) => {\n const code = e.code;\n const {\n up,\n down,\n left,\n right\n } = EVENT_CODE;\n if (![up, down, left, right].includes(code))\n return;\n const tabList = Array.from(e.currentTarget.querySelectorAll(\"[role=tab]:not(.is-disabled)\"));\n const currentIndex = tabList.indexOf(e.target);\n let nextIndex;\n if (code === left || code === up) {\n if (currentIndex === 0) {\n nextIndex = tabList.length - 1;\n } else {\n nextIndex = currentIndex - 1;\n }\n } else {\n if (currentIndex < tabList.length - 1) {\n nextIndex = currentIndex + 1;\n } else {\n nextIndex = 0;\n }\n }\n tabList[nextIndex].focus({\n preventScroll: true\n });\n tabList[nextIndex].click();\n setFocus();\n };\n const setFocus = () => {\n if (focusable.value)\n isFocus.value = true;\n };\n const removeFocus = () => isFocus.value = false;\n watch(visibility, (visibility2) => {\n if (visibility2 === \"hidden\") {\n focusable.value = false;\n } else if (visibility2 === \"visible\") {\n setTimeout(() => focusable.value = true, 50);\n }\n });\n watch(focused, (focused2) => {\n if (focused2) {\n setTimeout(() => focusable.value = true, 50);\n } else {\n focusable.value = false;\n }\n });\n useResizeObserver(el$, update);\n onMounted(() => setTimeout(() => scrollToActiveTab(), 0));\n onUpdated(() => update());\n expose({\n scrollToActiveTab,\n removeFocus\n });\n watch(() => props.panes, () => vm.update(), {\n flush: \"post\",\n deep: true\n });\n return () => {\n const scrollBtn = scrollable.value ? [createVNode(\"span\", {\n \"class\": [ns.e(\"nav-prev\"), ns.is(\"disabled\", !scrollable.value.prev)],\n \"onClick\": scrollPrev\n }, [createVNode(ElIcon, null, {\n default: () => [createVNode(ArrowLeft, null, null)]\n })]), createVNode(\"span\", {\n \"class\": [ns.e(\"nav-next\"), ns.is(\"disabled\", !scrollable.value.next)],\n \"onClick\": scrollNext\n }, [createVNode(ElIcon, null, {\n default: () => [createVNode(ArrowRight, null, null)]\n })])] : null;\n const tabs = props.panes.map((pane, index) => {\n var _a, _b, _c, _d;\n const uid = pane.uid;\n const disabled = pane.props.disabled;\n const tabName = (_b = (_a = pane.props.name) != null ? _a : pane.index) != null ? _b : `${index}`;\n const closable = !disabled && (pane.isClosable || props.editable);\n pane.index = `${index}`;\n const btnClose = closable ? createVNode(ElIcon, {\n \"class\": \"is-icon-close\",\n \"onClick\": (ev) => emit(\"tabRemove\", pane, ev)\n }, {\n default: () => [createVNode(Close, null, null)]\n }) : null;\n const tabLabelContent = ((_d = (_c = pane.slots).label) == null ? void 0 : _d.call(_c)) || pane.props.label;\n const tabindex = !disabled && pane.active ? 0 : -1;\n return createVNode(\"div\", {\n \"ref\": `tab-${uid}`,\n \"class\": [ns.e(\"item\"), ns.is(rootTabs.props.tabPosition), ns.is(\"active\", pane.active), ns.is(\"disabled\", disabled), ns.is(\"closable\", closable), ns.is(\"focus\", isFocus.value)],\n \"id\": `tab-${tabName}`,\n \"key\": `tab-${uid}`,\n \"aria-controls\": `pane-${tabName}`,\n \"role\": \"tab\",\n \"aria-selected\": pane.active,\n \"tabindex\": tabindex,\n \"onFocus\": () => setFocus(),\n \"onBlur\": () => removeFocus(),\n \"onClick\": (ev) => {\n removeFocus();\n emit(\"tabClick\", pane, tabName, ev);\n },\n \"onKeydown\": (ev) => {\n if (closable && (ev.code === EVENT_CODE.delete || ev.code === EVENT_CODE.backspace)) {\n emit(\"tabRemove\", pane, ev);\n }\n }\n }, [...[tabLabelContent, btnClose]]);\n });\n return createVNode(\"div\", {\n \"ref\": el$,\n \"class\": [ns.e(\"nav-wrap\"), ns.is(\"scrollable\", !!scrollable.value), ns.is(rootTabs.props.tabPosition)]\n }, [scrollBtn, createVNode(\"div\", {\n \"class\": ns.e(\"nav-scroll\"),\n \"ref\": navScroll$\n }, [createVNode(\"div\", {\n \"class\": [ns.e(\"nav\"), ns.is(rootTabs.props.tabPosition), ns.is(\"stretch\", props.stretch && [\"top\", \"bottom\"].includes(rootTabs.props.tabPosition))],\n \"ref\": nav$,\n \"style\": navStyle.value,\n \"role\": \"tablist\",\n \"onKeydown\": changeTab\n }, [...[!props.type ? createVNode(TabBar, {\n \"ref\": tabBarRef,\n \"tabs\": [...props.panes]\n }, null) : null, tabs]])])]);\n };\n }\n});\n\nexport { TabNav as default, tabNavEmits, tabNavProps };\n//# sourceMappingURL=tab-nav.mjs.map\n","import { defineComponent, getCurrentInstance, ref, computed, watch, nextTick, provide, createVNode, renderSlot } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { Plus } from '@element-plus/icons-vue';\nimport '../../../hooks/index.mjs';\nimport { tabsRootContextKey } from './constants.mjs';\nimport TabNav from './tab-nav.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { isString } from '@vue/shared';\nimport { isNumber, isUndefined } from '../../../utils/types.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useOrderedChildren } from '../../../hooks/use-ordered-children/index.mjs';\nimport { useDeprecated } from '../../../hooks/use-deprecated/index.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\n\nconst tabsProps = buildProps({\n type: {\n type: String,\n values: [\"card\", \"border-card\", \"\"],\n default: \"\"\n },\n activeName: {\n type: [String, Number]\n },\n closable: Boolean,\n addable: Boolean,\n modelValue: {\n type: [String, Number]\n },\n editable: Boolean,\n tabPosition: {\n type: String,\n values: [\"top\", \"right\", \"bottom\", \"left\"],\n default: \"top\"\n },\n beforeLeave: {\n type: definePropType(Function),\n default: () => true\n },\n stretch: Boolean\n});\nconst isPaneName = (value) => isString(value) || isNumber(value);\nconst tabsEmits = {\n [UPDATE_MODEL_EVENT]: (name) => isPaneName(name),\n tabClick: (pane, ev) => ev instanceof Event,\n tabChange: (name) => isPaneName(name),\n edit: (paneName, action) => [\"remove\", \"add\"].includes(action),\n tabRemove: (name) => isPaneName(name),\n tabAdd: () => true\n};\nvar Tabs = defineComponent({\n name: \"ElTabs\",\n props: tabsProps,\n emits: tabsEmits,\n setup(props, {\n emit,\n slots,\n expose\n }) {\n var _a, _b;\n const ns = useNamespace(\"tabs\");\n const {\n children: panes,\n addChild: registerPane,\n removeChild: unregisterPane\n } = useOrderedChildren(getCurrentInstance(), \"ElTabPane\");\n const nav$ = ref();\n const currentName = ref((_b = (_a = props.modelValue) != null ? _a : props.activeName) != null ? _b : \"0\");\n const changeCurrentName = (value) => {\n currentName.value = value;\n emit(UPDATE_MODEL_EVENT, value);\n emit(\"tabChange\", value);\n };\n const setCurrentName = async (value) => {\n var _a2, _b2, _c;\n if (currentName.value === value || isUndefined(value))\n return;\n try {\n const canLeave = await ((_a2 = props.beforeLeave) == null ? void 0 : _a2.call(props, value, currentName.value));\n if (canLeave !== false) {\n changeCurrentName(value);\n (_c = (_b2 = nav$.value) == null ? void 0 : _b2.removeFocus) == null ? void 0 : _c.call(_b2);\n }\n } catch (e) {\n }\n };\n const handleTabClick = (tab, tabName, event) => {\n if (tab.props.disabled)\n return;\n setCurrentName(tabName);\n emit(\"tabClick\", tab, event);\n };\n const handleTabRemove = (pane, ev) => {\n if (pane.props.disabled || isUndefined(pane.props.name))\n return;\n ev.stopPropagation();\n emit(\"edit\", pane.props.name, \"remove\");\n emit(\"tabRemove\", pane.props.name);\n };\n const handleTabAdd = () => {\n emit(\"edit\", void 0, \"add\");\n emit(\"tabAdd\");\n };\n useDeprecated({\n from: '\"activeName\"',\n replacement: '\"model-value\" or \"v-model\"',\n scope: \"ElTabs\",\n version: \"2.3.0\",\n ref: \"https://element-plus.org/en-US/component/tabs.html#attributes\",\n type: \"Attribute\"\n }, computed(() => !!props.activeName));\n watch(() => props.activeName, (modelValue) => setCurrentName(modelValue));\n watch(() => props.modelValue, (modelValue) => setCurrentName(modelValue));\n watch(currentName, async () => {\n var _a2;\n await nextTick();\n (_a2 = nav$.value) == null ? void 0 : _a2.scrollToActiveTab();\n });\n provide(tabsRootContextKey, {\n props,\n currentName,\n registerPane,\n unregisterPane\n });\n expose({\n currentName\n });\n return () => {\n const newButton = props.editable || props.addable ? createVNode(\"span\", {\n \"class\": ns.e(\"new-tab\"),\n \"tabindex\": \"0\",\n \"onClick\": handleTabAdd,\n \"onKeydown\": (ev) => {\n if (ev.code === EVENT_CODE.enter)\n handleTabAdd();\n }\n }, [createVNode(ElIcon, {\n \"class\": ns.is(\"icon-plus\")\n }, {\n default: () => [createVNode(Plus, null, null)]\n })]) : null;\n const header = createVNode(\"div\", {\n \"class\": [ns.e(\"header\"), ns.is(props.tabPosition)]\n }, [newButton, createVNode(TabNav, {\n \"ref\": nav$,\n \"currentName\": currentName.value,\n \"editable\": props.editable,\n \"type\": props.type,\n \"panes\": panes.value,\n \"stretch\": props.stretch,\n \"onTabClick\": handleTabClick,\n \"onTabRemove\": handleTabRemove\n }, null)]);\n const panels = createVNode(\"div\", {\n \"class\": ns.e(\"content\")\n }, [renderSlot(slots, \"default\")]);\n return createVNode(\"div\", {\n \"class\": [ns.b(), ns.m(props.tabPosition), {\n [ns.m(\"card\")]: props.type === \"card\",\n [ns.m(\"border-card\")]: props.type === \"border-card\"\n }]\n }, [...props.tabPosition !== \"bottom\" ? [header, panels] : [panels, header]]);\n };\n }\n});\n\nexport { Tabs as default, tabsEmits, tabsProps };\n//# sourceMappingURL=tabs.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst tabPaneProps = buildProps({\n label: {\n type: String,\n default: \"\"\n },\n name: {\n type: [String, Number]\n },\n closable: Boolean,\n disabled: Boolean,\n lazy: Boolean\n});\n\nexport { tabPaneProps };\n//# sourceMappingURL=tab-pane.mjs.map\n","import { defineComponent, getCurrentInstance, useSlots, inject, ref, computed, watch, reactive, onMounted, onUnmounted, unref, withDirectives, openBlock, createElementBlock, normalizeClass, renderSlot, vShow, createCommentVNode } from 'vue';\nimport { eagerComputed } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { tabsRootContextKey } from './constants.mjs';\nimport { tabPaneProps } from './tab-pane.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { throwError } from '../../../utils/error.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"id\", \"aria-hidden\", \"aria-labelledby\"];\nconst COMPONENT_NAME = \"ElTabPane\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: tabPaneProps,\n setup(__props) {\n const props = __props;\n const instance = getCurrentInstance();\n const slots = useSlots();\n const tabsRoot = inject(tabsRootContextKey);\n if (!tabsRoot)\n throwError(COMPONENT_NAME, \"usage: \");\n const ns = useNamespace(\"tab-pane\");\n const index = ref();\n const isClosable = computed(() => props.closable || tabsRoot.props.closable);\n const active = eagerComputed(() => {\n var _a;\n return tabsRoot.currentName.value === ((_a = props.name) != null ? _a : index.value);\n });\n const loaded = ref(active.value);\n const paneName = computed(() => {\n var _a;\n return (_a = props.name) != null ? _a : index.value;\n });\n const shouldBeRender = eagerComputed(() => !props.lazy || loaded.value || active.value);\n watch(active, (val) => {\n if (val)\n loaded.value = true;\n });\n const pane = reactive({\n uid: instance.uid,\n slots,\n props,\n paneName,\n active,\n index,\n isClosable\n });\n onMounted(() => {\n tabsRoot.registerPane(pane);\n });\n onUnmounted(() => {\n tabsRoot.unregisterPane(pane.uid);\n });\n return (_ctx, _cache) => {\n return unref(shouldBeRender) ? withDirectives((openBlock(), createElementBlock(\"div\", {\n key: 0,\n id: `pane-${unref(paneName)}`,\n class: normalizeClass(unref(ns).b()),\n role: \"tabpanel\",\n \"aria-hidden\": !unref(active),\n \"aria-labelledby\": `tab-${unref(paneName)}`\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_1)), [\n [vShow, unref(active)]\n ]) : createCommentVNode(\"v-if\", true);\n };\n }\n});\nvar TabPane = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue\"]]);\n\nexport { TabPane as default };\n//# sourceMappingURL=tab-pane2.mjs.map\n","import '../../utils/index.mjs';\nimport Tabs from './src/tabs.mjs';\nexport { tabsEmits, tabsProps } from './src/tabs.mjs';\nimport TabPane from './src/tab-pane2.mjs';\nexport { tabBarProps } from './src/tab-bar.mjs';\nexport { tabNavEmits, tabNavProps } from './src/tab-nav.mjs';\nexport { tabPaneProps } from './src/tab-pane.mjs';\nexport { tabsRootContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElTabs = withInstall(Tabs, {\n TabPane\n});\nconst ElTabPane = withNoopInstall(TabPane);\n\nexport { ElTabPane, ElTabs, ElTabs as default };\n//# sourceMappingURL=index.mjs.map\n","const uploadContextKey = Symbol(\"uploadContextKey\");\n\nexport { uploadContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { isNil } from 'lodash-unified';\nimport '../../../utils/index.mjs';\nimport { throwError } from '../../../utils/error.mjs';\n\nconst SCOPE = \"ElUpload\";\nclass UploadAjaxError extends Error {\n constructor(message, status, method, url) {\n super(message);\n this.name = \"UploadAjaxError\";\n this.status = status;\n this.method = method;\n this.url = url;\n }\n}\nfunction getError(action, option, xhr) {\n let msg;\n if (xhr.response) {\n msg = `${xhr.response.error || xhr.response}`;\n } else if (xhr.responseText) {\n msg = `${xhr.responseText}`;\n } else {\n msg = `fail to ${option.method} ${action} ${xhr.status}`;\n }\n return new UploadAjaxError(msg, xhr.status, option.method, action);\n}\nfunction getBody(xhr) {\n const text = xhr.responseText || xhr.response;\n if (!text) {\n return text;\n }\n try {\n return JSON.parse(text);\n } catch (e) {\n return text;\n }\n}\nconst ajaxUpload = (option) => {\n if (typeof XMLHttpRequest === \"undefined\")\n throwError(SCOPE, \"XMLHttpRequest is undefined\");\n const xhr = new XMLHttpRequest();\n const action = option.action;\n if (xhr.upload) {\n xhr.upload.addEventListener(\"progress\", (evt) => {\n const progressEvt = evt;\n progressEvt.percent = evt.total > 0 ? evt.loaded / evt.total * 100 : 0;\n option.onProgress(progressEvt);\n });\n }\n const formData = new FormData();\n if (option.data) {\n for (const [key, value] of Object.entries(option.data)) {\n if (Array.isArray(value))\n formData.append(key, ...value);\n else\n formData.append(key, value);\n }\n }\n formData.append(option.filename, option.file, option.file.name);\n xhr.addEventListener(\"error\", () => {\n option.onError(getError(action, option, xhr));\n });\n xhr.addEventListener(\"load\", () => {\n if (xhr.status < 200 || xhr.status >= 300) {\n return option.onError(getError(action, option, xhr));\n }\n option.onSuccess(getBody(xhr));\n });\n xhr.open(option.method, action, true);\n if (option.withCredentials && \"withCredentials\" in xhr) {\n xhr.withCredentials = true;\n }\n const headers = option.headers || {};\n if (headers instanceof Headers) {\n headers.forEach((value, key) => xhr.setRequestHeader(key, value));\n } else {\n for (const [key, value] of Object.entries(headers)) {\n if (isNil(value))\n continue;\n xhr.setRequestHeader(key, String(value));\n }\n }\n xhr.send(formData);\n return xhr;\n};\n\nexport { UploadAjaxError, ajaxUpload };\n//# sourceMappingURL=ajax.mjs.map\n","import { NOOP } from '@vue/shared';\nimport '../../../utils/index.mjs';\nimport { ajaxUpload } from './ajax.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\n\nconst uploadListTypes = [\"text\", \"picture\", \"picture-card\"];\nlet fileId = 1;\nconst genFileId = () => Date.now() + fileId++;\nconst uploadBaseProps = buildProps({\n action: {\n type: String,\n default: \"#\"\n },\n headers: {\n type: definePropType(Object)\n },\n method: {\n type: String,\n default: \"post\"\n },\n data: {\n type: Object,\n default: () => mutable({})\n },\n multiple: {\n type: Boolean,\n default: false\n },\n name: {\n type: String,\n default: \"file\"\n },\n drag: {\n type: Boolean,\n default: false\n },\n withCredentials: Boolean,\n showFileList: {\n type: Boolean,\n default: true\n },\n accept: {\n type: String,\n default: \"\"\n },\n type: {\n type: String,\n default: \"select\"\n },\n fileList: {\n type: definePropType(Array),\n default: () => mutable([])\n },\n autoUpload: {\n type: Boolean,\n default: true\n },\n listType: {\n type: String,\n values: uploadListTypes,\n default: \"text\"\n },\n httpRequest: {\n type: definePropType(Function),\n default: ajaxUpload\n },\n disabled: Boolean,\n limit: Number\n});\nconst uploadProps = buildProps({\n ...uploadBaseProps,\n beforeUpload: {\n type: definePropType(Function),\n default: NOOP\n },\n beforeRemove: {\n type: definePropType(Function)\n },\n onRemove: {\n type: definePropType(Function),\n default: NOOP\n },\n onChange: {\n type: definePropType(Function),\n default: NOOP\n },\n onPreview: {\n type: definePropType(Function),\n default: NOOP\n },\n onSuccess: {\n type: definePropType(Function),\n default: NOOP\n },\n onProgress: {\n type: definePropType(Function),\n default: NOOP\n },\n onError: {\n type: definePropType(Function),\n default: NOOP\n },\n onExceed: {\n type: definePropType(Function),\n default: NOOP\n }\n});\n\nexport { genFileId, uploadBaseProps, uploadListTypes, uploadProps };\n//# sourceMappingURL=upload.mjs.map\n","import { NOOP } from '@vue/shared';\nimport '../../../utils/index.mjs';\nimport { uploadListTypes } from './upload.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\n\nconst uploadListProps = buildProps({\n files: {\n type: definePropType(Array),\n default: () => mutable([])\n },\n disabled: {\n type: Boolean,\n default: false\n },\n handlePreview: {\n type: definePropType(Function),\n default: NOOP\n },\n listType: {\n type: String,\n values: uploadListTypes,\n default: \"text\"\n }\n});\nconst uploadListEmits = {\n remove: (file) => !!file\n};\n\nexport { uploadListEmits, uploadListProps };\n//# sourceMappingURL=upload-list.mjs.map\n","import { defineComponent, ref, openBlock, createBlock, TransitionGroup, normalizeClass, unref, withCtx, createElementBlock, Fragment, renderList, withKeys, renderSlot, createCommentVNode, createElementVNode, withModifiers, createVNode, toDisplayString, normalizeStyle } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { Document, CircleCheck, Check, Close, ZoomIn, Delete } from '@element-plus/icons-vue';\nimport '../../../hooks/index.mjs';\nimport { ElProgress } from '../../progress/index.mjs';\nimport '../../form/index.mjs';\nimport { uploadListProps, uploadListEmits } from './upload-list.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\n\nconst _hoisted_1 = [\"onKeydown\"];\nconst _hoisted_2 = [\"src\"];\nconst _hoisted_3 = [\"onClick\"];\nconst _hoisted_4 = [\"title\"];\nconst _hoisted_5 = [\"onClick\"];\nconst _hoisted_6 = [\"onClick\"];\nconst __default__ = defineComponent({\n name: \"ElUploadList\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: uploadListProps,\n emits: uploadListEmits,\n setup(__props, { emit }) {\n const { t } = useLocale();\n const nsUpload = useNamespace(\"upload\");\n const nsIcon = useNamespace(\"icon\");\n const nsList = useNamespace(\"list\");\n const disabled = useFormDisabled();\n const focusing = ref(false);\n const handleRemove = (file) => {\n emit(\"remove\", file);\n };\n return (_ctx, _cache) => {\n return openBlock(), createBlock(TransitionGroup, {\n tag: \"ul\",\n class: normalizeClass([\n unref(nsUpload).b(\"list\"),\n unref(nsUpload).bm(\"list\", _ctx.listType),\n unref(nsUpload).is(\"disabled\", unref(disabled))\n ]),\n name: unref(nsList).b()\n }, {\n default: withCtx(() => [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.files, (file) => {\n return openBlock(), createElementBlock(\"li\", {\n key: file.uid || file.name,\n class: normalizeClass([\n unref(nsUpload).be(\"list\", \"item\"),\n unref(nsUpload).is(file.status),\n { focusing: focusing.value }\n ]),\n tabindex: \"0\",\n onKeydown: withKeys(($event) => !unref(disabled) && handleRemove(file), [\"delete\"]),\n onFocus: _cache[0] || (_cache[0] = ($event) => focusing.value = true),\n onBlur: _cache[1] || (_cache[1] = ($event) => focusing.value = false),\n onClick: _cache[2] || (_cache[2] = ($event) => focusing.value = false)\n }, [\n renderSlot(_ctx.$slots, \"default\", { file }, () => [\n _ctx.listType === \"picture\" || file.status !== \"uploading\" && _ctx.listType === \"picture-card\" ? (openBlock(), createElementBlock(\"img\", {\n key: 0,\n class: normalizeClass(unref(nsUpload).be(\"list\", \"item-thumbnail\")),\n src: file.url,\n alt: \"\"\n }, null, 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n file.status === \"uploading\" || _ctx.listType !== \"picture-card\" ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass(unref(nsUpload).be(\"list\", \"item-info\"))\n }, [\n createElementVNode(\"a\", {\n class: normalizeClass(unref(nsUpload).be(\"list\", \"item-name\")),\n onClick: withModifiers(($event) => _ctx.handlePreview(file), [\"prevent\"])\n }, [\n createVNode(unref(ElIcon), {\n class: normalizeClass(unref(nsIcon).m(\"document\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(Document))\n ]),\n _: 1\n }, 8, [\"class\"]),\n createElementVNode(\"span\", {\n class: normalizeClass(unref(nsUpload).be(\"list\", \"item-file-name\")),\n title: file.name\n }, toDisplayString(file.name), 11, _hoisted_4)\n ], 10, _hoisted_3),\n file.status === \"uploading\" ? (openBlock(), createBlock(unref(ElProgress), {\n key: 0,\n type: _ctx.listType === \"picture-card\" ? \"circle\" : \"line\",\n \"stroke-width\": _ctx.listType === \"picture-card\" ? 6 : 2,\n percentage: Number(file.percentage),\n style: normalizeStyle(_ctx.listType === \"picture-card\" ? \"\" : \"margin-top: 0.5rem\")\n }, null, 8, [\"type\", \"stroke-width\", \"percentage\", \"style\"])) : createCommentVNode(\"v-if\", true)\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"label\", {\n class: normalizeClass(unref(nsUpload).be(\"list\", \"item-status-label\"))\n }, [\n _ctx.listType === \"text\" ? (openBlock(), createBlock(unref(ElIcon), {\n key: 0,\n class: normalizeClass([unref(nsIcon).m(\"upload-success\"), unref(nsIcon).m(\"circle-check\")])\n }, {\n default: withCtx(() => [\n createVNode(unref(CircleCheck))\n ]),\n _: 1\n }, 8, [\"class\"])) : [\"picture-card\", \"picture\"].includes(_ctx.listType) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 1,\n class: normalizeClass([unref(nsIcon).m(\"upload-success\"), unref(nsIcon).m(\"check\")])\n }, {\n default: withCtx(() => [\n createVNode(unref(Check))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true)\n ], 2),\n !unref(disabled) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 2,\n class: normalizeClass(unref(nsIcon).m(\"close\")),\n onClick: ($event) => handleRemove(file)\n }, {\n default: withCtx(() => [\n createVNode(unref(Close))\n ]),\n _: 2\n }, 1032, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true),\n createCommentVNode(\" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn\"),\n createCommentVNode(\" This is a bug which needs to be fixed \"),\n createCommentVNode(\" TODO: Fix the incorrect navigation interaction \"),\n !unref(disabled) ? (openBlock(), createElementBlock(\"i\", {\n key: 3,\n class: normalizeClass(unref(nsIcon).m(\"close-tip\"))\n }, toDisplayString(unref(t)(\"el.upload.deleteTip\")), 3)) : createCommentVNode(\"v-if\", true),\n _ctx.listType === \"picture-card\" ? (openBlock(), createElementBlock(\"span\", {\n key: 4,\n class: normalizeClass(unref(nsUpload).be(\"list\", \"item-actions\"))\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(unref(nsUpload).be(\"list\", \"item-preview\")),\n onClick: ($event) => _ctx.handlePreview(file)\n }, [\n createVNode(unref(ElIcon), {\n class: normalizeClass(unref(nsIcon).m(\"zoom-in\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(ZoomIn))\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 10, _hoisted_5),\n !unref(disabled) ? (openBlock(), createElementBlock(\"span\", {\n key: 0,\n class: normalizeClass(unref(nsUpload).be(\"list\", \"item-delete\")),\n onClick: ($event) => handleRemove(file)\n }, [\n createVNode(unref(ElIcon), {\n class: normalizeClass(unref(nsIcon).m(\"delete\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(Delete))\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 10, _hoisted_6)) : createCommentVNode(\"v-if\", true)\n ], 2)) : createCommentVNode(\"v-if\", true)\n ])\n ], 42, _hoisted_1);\n }), 128)),\n renderSlot(_ctx.$slots, \"append\")\n ]),\n _: 3\n }, 8, [\"class\", \"name\"]);\n };\n }\n});\nvar UploadList = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue\"]]);\n\nexport { UploadList as default };\n//# sourceMappingURL=upload-list2.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { isArray } from '@vue/shared';\n\nconst uploadDraggerProps = buildProps({\n disabled: {\n type: Boolean,\n default: false\n }\n});\nconst uploadDraggerEmits = {\n file: (file) => isArray(file)\n};\n\nexport { uploadDraggerEmits, uploadDraggerProps };\n//# sourceMappingURL=upload-dragger.mjs.map\n","import { defineComponent, inject, ref, openBlock, createElementBlock, normalizeClass, unref, withModifiers, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport { throwError } from '../../../utils/error.mjs';\nimport { uploadContextKey } from './constants.mjs';\nimport { uploadDraggerProps, uploadDraggerEmits } from './upload-dragger.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\n\nconst _hoisted_1 = [\"onDrop\", \"onDragover\"];\nconst COMPONENT_NAME = \"ElUploadDrag\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: uploadDraggerProps,\n emits: uploadDraggerEmits,\n setup(__props, { emit }) {\n const uploaderContext = inject(uploadContextKey);\n if (!uploaderContext) {\n throwError(COMPONENT_NAME, \"usage: \");\n }\n const ns = useNamespace(\"upload\");\n const dragover = ref(false);\n const disabled = useFormDisabled();\n const onDrop = (e) => {\n if (disabled.value)\n return;\n dragover.value = false;\n e.stopPropagation();\n const files = Array.from(e.dataTransfer.files);\n const accept = uploaderContext.accept.value;\n if (!accept) {\n emit(\"file\", files);\n return;\n }\n const filesFiltered = files.filter((file) => {\n const { type, name } = file;\n const extension = name.includes(\".\") ? `.${name.split(\".\").pop()}` : \"\";\n const baseType = type.replace(/\\/.*$/, \"\");\n return accept.split(\",\").map((type2) => type2.trim()).filter((type2) => type2).some((acceptedType) => {\n if (acceptedType.startsWith(\".\")) {\n return extension === acceptedType;\n }\n if (/\\/\\*$/.test(acceptedType)) {\n return baseType === acceptedType.replace(/\\/\\*$/, \"\");\n }\n if (/^[^/]+\\/[^/]+$/.test(acceptedType)) {\n return type === acceptedType;\n }\n return false;\n });\n });\n emit(\"file\", filesFiltered);\n };\n const onDragover = () => {\n if (!disabled.value)\n dragover.value = true;\n };\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([unref(ns).b(\"dragger\"), unref(ns).is(\"dragover\", dragover.value)]),\n onDrop: withModifiers(onDrop, [\"prevent\"]),\n onDragover: withModifiers(onDragover, [\"prevent\"]),\n onDragleave: _cache[0] || (_cache[0] = withModifiers(($event) => dragover.value = false, [\"prevent\"]))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 42, _hoisted_1);\n };\n }\n});\nvar UploadDragger = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue\"]]);\n\nexport { UploadDragger as default };\n//# sourceMappingURL=upload-dragger2.mjs.map\n","import { NOOP } from '@vue/shared';\nimport '../../../utils/index.mjs';\nimport { uploadBaseProps } from './upload.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst uploadContentProps = buildProps({\n ...uploadBaseProps,\n beforeUpload: {\n type: definePropType(Function),\n default: NOOP\n },\n onRemove: {\n type: definePropType(Function),\n default: NOOP\n },\n onStart: {\n type: definePropType(Function),\n default: NOOP\n },\n onSuccess: {\n type: definePropType(Function),\n default: NOOP\n },\n onProgress: {\n type: definePropType(Function),\n default: NOOP\n },\n onError: {\n type: definePropType(Function),\n default: NOOP\n },\n onExceed: {\n type: definePropType(Function),\n default: NOOP\n }\n});\n\nexport { uploadContentProps };\n//# sourceMappingURL=upload-content.mjs.map\n","import { defineComponent, shallowRef, openBlock, createElementBlock, normalizeClass, unref, withKeys, withModifiers, createBlock, withCtx, renderSlot, createElementVNode } from 'vue';\nimport { isObject } from '@vue/shared';\nimport { cloneDeep, isEqual } from 'lodash-unified';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../form/index.mjs';\nimport UploadDragger from './upload-dragger2.mjs';\nimport { uploadContentProps } from './upload-content.mjs';\nimport { genFileId } from './upload.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { entriesOf } from '../../../utils/objects.mjs';\n\nconst _hoisted_1 = [\"onKeydown\"];\nconst _hoisted_2 = [\"name\", \"multiple\", \"accept\"];\nconst __default__ = defineComponent({\n name: \"ElUploadContent\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: uploadContentProps,\n setup(__props, { expose }) {\n const props = __props;\n const ns = useNamespace(\"upload\");\n const disabled = useFormDisabled();\n const requests = shallowRef({});\n const inputRef = shallowRef();\n const uploadFiles = (files) => {\n if (files.length === 0)\n return;\n const { autoUpload, limit, fileList, multiple, onStart, onExceed } = props;\n if (limit && fileList.length + files.length > limit) {\n onExceed(files, fileList);\n return;\n }\n if (!multiple) {\n files = files.slice(0, 1);\n }\n for (const file of files) {\n const rawFile = file;\n rawFile.uid = genFileId();\n onStart(rawFile);\n if (autoUpload)\n upload(rawFile);\n }\n };\n const upload = async (rawFile) => {\n inputRef.value.value = \"\";\n if (!props.beforeUpload) {\n return doUpload(rawFile);\n }\n let hookResult;\n let beforeData = {};\n try {\n const originData = props.data;\n const beforeUploadPromise = props.beforeUpload(rawFile);\n beforeData = isObject(props.data) ? cloneDeep(props.data) : props.data;\n hookResult = await beforeUploadPromise;\n if (isObject(props.data) && isEqual(originData, beforeData)) {\n beforeData = cloneDeep(props.data);\n }\n } catch (e) {\n hookResult = false;\n }\n if (hookResult === false) {\n props.onRemove(rawFile);\n return;\n }\n let file = rawFile;\n if (hookResult instanceof Blob) {\n if (hookResult instanceof File) {\n file = hookResult;\n } else {\n file = new File([hookResult], rawFile.name, {\n type: rawFile.type\n });\n }\n }\n doUpload(Object.assign(file, {\n uid: rawFile.uid\n }), beforeData);\n };\n const doUpload = (rawFile, beforeData) => {\n const {\n headers,\n data,\n method,\n withCredentials,\n name: filename,\n action,\n onProgress,\n onSuccess,\n onError,\n httpRequest\n } = props;\n const { uid } = rawFile;\n const options = {\n headers: headers || {},\n withCredentials,\n file: rawFile,\n data: beforeData != null ? beforeData : data,\n method,\n filename,\n action,\n onProgress: (evt) => {\n onProgress(evt, rawFile);\n },\n onSuccess: (res) => {\n onSuccess(res, rawFile);\n delete requests.value[uid];\n },\n onError: (err) => {\n onError(err, rawFile);\n delete requests.value[uid];\n }\n };\n const request = httpRequest(options);\n requests.value[uid] = request;\n if (request instanceof Promise) {\n request.then(options.onSuccess, options.onError);\n }\n };\n const handleChange = (e) => {\n const files = e.target.files;\n if (!files)\n return;\n uploadFiles(Array.from(files));\n };\n const handleClick = () => {\n if (!disabled.value) {\n inputRef.value.value = \"\";\n inputRef.value.click();\n }\n };\n const handleKeydown = () => {\n handleClick();\n };\n const abort = (file) => {\n const _reqs = entriesOf(requests.value).filter(file ? ([uid]) => String(file.uid) === uid : () => true);\n _reqs.forEach(([uid, req]) => {\n if (req instanceof XMLHttpRequest)\n req.abort();\n delete requests.value[uid];\n });\n };\n expose({\n abort,\n upload\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([unref(ns).b(), unref(ns).m(_ctx.listType), unref(ns).is(\"drag\", _ctx.drag)]),\n tabindex: \"0\",\n onClick: handleClick,\n onKeydown: withKeys(withModifiers(handleKeydown, [\"self\"]), [\"enter\", \"space\"])\n }, [\n _ctx.drag ? (openBlock(), createBlock(UploadDragger, {\n key: 0,\n disabled: unref(disabled),\n onFile: uploadFiles\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"disabled\"])) : renderSlot(_ctx.$slots, \"default\", { key: 1 }),\n createElementVNode(\"input\", {\n ref_key: \"inputRef\",\n ref: inputRef,\n class: normalizeClass(unref(ns).e(\"input\")),\n name: _ctx.name,\n multiple: _ctx.multiple,\n accept: _ctx.accept,\n type: \"file\",\n onChange: handleChange,\n onClick: _cache[0] || (_cache[0] = withModifiers(() => {\n }, [\"stop\"]))\n }, null, 42, _hoisted_2)\n ], 42, _hoisted_1);\n };\n }\n});\nvar UploadContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue\"]]);\n\nexport { UploadContent as default };\n//# sourceMappingURL=upload-content2.mjs.map\n","import { watch } from 'vue';\nimport { isNil } from 'lodash-unified';\nimport { useVModel } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport { genFileId } from './upload.mjs';\nimport { debugWarn, throwError } from '../../../utils/error.mjs';\n\nconst SCOPE = \"ElUpload\";\nconst revokeObjectURL = (file) => {\n var _a;\n if ((_a = file.url) == null ? void 0 : _a.startsWith(\"blob:\")) {\n URL.revokeObjectURL(file.url);\n }\n};\nconst useHandlers = (props, uploadRef) => {\n const uploadFiles = useVModel(props, \"fileList\", void 0, { passive: true });\n const getFile = (rawFile) => uploadFiles.value.find((file) => file.uid === rawFile.uid);\n function abort(file) {\n var _a;\n (_a = uploadRef.value) == null ? void 0 : _a.abort(file);\n }\n function clearFiles(states = [\"ready\", \"uploading\", \"success\", \"fail\"]) {\n uploadFiles.value = uploadFiles.value.filter((row) => !states.includes(row.status));\n }\n const handleError = (err, rawFile) => {\n const file = getFile(rawFile);\n if (!file)\n return;\n console.error(err);\n file.status = \"fail\";\n uploadFiles.value.splice(uploadFiles.value.indexOf(file), 1);\n props.onError(err, file, uploadFiles.value);\n props.onChange(file, uploadFiles.value);\n };\n const handleProgress = (evt, rawFile) => {\n const file = getFile(rawFile);\n if (!file)\n return;\n props.onProgress(evt, file, uploadFiles.value);\n file.status = \"uploading\";\n file.percentage = Math.round(evt.percent);\n };\n const handleSuccess = (response, rawFile) => {\n const file = getFile(rawFile);\n if (!file)\n return;\n file.status = \"success\";\n file.response = response;\n props.onSuccess(response, file, uploadFiles.value);\n props.onChange(file, uploadFiles.value);\n };\n const handleStart = (file) => {\n if (isNil(file.uid))\n file.uid = genFileId();\n const uploadFile = {\n name: file.name,\n percentage: 0,\n status: \"ready\",\n size: file.size,\n raw: file,\n uid: file.uid\n };\n if (props.listType === \"picture-card\" || props.listType === \"picture\") {\n try {\n uploadFile.url = URL.createObjectURL(file);\n } catch (err) {\n debugWarn(SCOPE, err.message);\n props.onError(err, uploadFile, uploadFiles.value);\n }\n }\n uploadFiles.value = [...uploadFiles.value, uploadFile];\n props.onChange(uploadFile, uploadFiles.value);\n };\n const handleRemove = async (file) => {\n const uploadFile = file instanceof File ? getFile(file) : file;\n if (!uploadFile)\n throwError(SCOPE, \"file to be removed not found\");\n const doRemove = (file2) => {\n abort(file2);\n const fileList = uploadFiles.value;\n fileList.splice(fileList.indexOf(file2), 1);\n props.onRemove(file2, fileList);\n revokeObjectURL(file2);\n };\n if (props.beforeRemove) {\n const before = await props.beforeRemove(uploadFile, uploadFiles.value);\n if (before !== false)\n doRemove(uploadFile);\n } else {\n doRemove(uploadFile);\n }\n };\n function submit() {\n uploadFiles.value.filter(({ status }) => status === \"ready\").forEach(({ raw }) => {\n var _a;\n return raw && ((_a = uploadRef.value) == null ? void 0 : _a.upload(raw));\n });\n }\n watch(() => props.listType, (val) => {\n if (val !== \"picture-card\" && val !== \"picture\") {\n return;\n }\n uploadFiles.value = uploadFiles.value.map((file) => {\n const { raw, url } = file;\n if (!url && raw) {\n try {\n file.url = URL.createObjectURL(raw);\n } catch (err) {\n props.onError(err, file, uploadFiles.value);\n }\n }\n return file;\n });\n });\n watch(uploadFiles, (files) => {\n for (const file of files) {\n file.uid || (file.uid = genFileId());\n file.status || (file.status = \"success\");\n }\n }, { immediate: true, deep: true });\n return {\n uploadFiles,\n abort,\n clearFiles,\n handleError,\n handleProgress,\n handleStart,\n handleSuccess,\n handleRemove,\n submit\n };\n};\n\nexport { useHandlers };\n//# sourceMappingURL=use-handlers.mjs.map\n","import { defineComponent, useSlots, shallowRef, computed, onBeforeUnmount, provide, toRef, openBlock, createElementBlock, unref, createBlock, createSlots, withCtx, createVNode, mergeProps, renderSlot, createCommentVNode } from 'vue';\nimport '../../form/index.mjs';\nimport { uploadContextKey } from './constants.mjs';\nimport UploadList from './upload-list2.mjs';\nimport UploadContent from './upload-content2.mjs';\nimport { useHandlers } from './use-handlers.mjs';\nimport { uploadProps } from './upload.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElUpload\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: uploadProps,\n setup(__props, { expose }) {\n const props = __props;\n const slots = useSlots();\n const disabled = useFormDisabled();\n const uploadRef = shallowRef();\n const {\n abort,\n submit,\n clearFiles,\n uploadFiles,\n handleStart,\n handleError,\n handleRemove,\n handleSuccess,\n handleProgress\n } = useHandlers(props, uploadRef);\n const isPictureCard = computed(() => props.listType === \"picture-card\");\n const uploadContentProps = computed(() => ({\n ...props,\n fileList: uploadFiles.value,\n onStart: handleStart,\n onProgress: handleProgress,\n onSuccess: handleSuccess,\n onError: handleError,\n onRemove: handleRemove\n }));\n onBeforeUnmount(() => {\n uploadFiles.value.forEach(({ url }) => {\n if (url == null ? void 0 : url.startsWith(\"blob:\"))\n URL.revokeObjectURL(url);\n });\n });\n provide(uploadContextKey, {\n accept: toRef(props, \"accept\")\n });\n expose({\n abort,\n submit,\n clearFiles,\n handleStart,\n handleRemove\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", null, [\n unref(isPictureCard) && _ctx.showFileList ? (openBlock(), createBlock(UploadList, {\n key: 0,\n disabled: unref(disabled),\n \"list-type\": _ctx.listType,\n files: unref(uploadFiles),\n \"handle-preview\": _ctx.onPreview,\n onRemove: unref(handleRemove)\n }, createSlots({\n append: withCtx(() => [\n createVNode(UploadContent, mergeProps({\n ref_key: \"uploadRef\",\n ref: uploadRef\n }, unref(uploadContentProps)), {\n default: withCtx(() => [\n unref(slots).trigger ? renderSlot(_ctx.$slots, \"trigger\", { key: 0 }) : createCommentVNode(\"v-if\", true),\n !unref(slots).trigger && unref(slots).default ? renderSlot(_ctx.$slots, \"default\", { key: 1 }) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 16)\n ]),\n _: 2\n }, [\n _ctx.$slots.file ? {\n name: \"default\",\n fn: withCtx(({ file }) => [\n renderSlot(_ctx.$slots, \"file\", { file })\n ])\n } : void 0\n ]), 1032, [\"disabled\", \"list-type\", \"files\", \"handle-preview\", \"onRemove\"])) : createCommentVNode(\"v-if\", true),\n !unref(isPictureCard) || unref(isPictureCard) && !_ctx.showFileList ? (openBlock(), createBlock(UploadContent, mergeProps({\n key: 1,\n ref_key: \"uploadRef\",\n ref: uploadRef\n }, unref(uploadContentProps)), {\n default: withCtx(() => [\n unref(slots).trigger ? renderSlot(_ctx.$slots, \"trigger\", { key: 0 }) : createCommentVNode(\"v-if\", true),\n !unref(slots).trigger && unref(slots).default ? renderSlot(_ctx.$slots, \"default\", { key: 1 }) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 16)) : createCommentVNode(\"v-if\", true),\n _ctx.$slots.trigger ? renderSlot(_ctx.$slots, \"default\", { key: 2 }) : createCommentVNode(\"v-if\", true),\n renderSlot(_ctx.$slots, \"tip\"),\n !unref(isPictureCard) && _ctx.showFileList ? (openBlock(), createBlock(UploadList, {\n key: 3,\n disabled: unref(disabled),\n \"list-type\": _ctx.listType,\n files: unref(uploadFiles),\n \"handle-preview\": _ctx.onPreview,\n onRemove: unref(handleRemove)\n }, createSlots({ _: 2 }, [\n _ctx.$slots.file ? {\n name: \"default\",\n fn: withCtx(({ file }) => [\n renderSlot(_ctx.$slots, \"file\", { file })\n ])\n } : void 0\n ]), 1032, [\"disabled\", \"list-type\", \"files\", \"handle-preview\", \"onRemove\"])) : createCommentVNode(\"v-if\", true)\n ]);\n };\n }\n});\nvar Upload = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue\"]]);\n\nexport { Upload as default };\n//# sourceMappingURL=upload2.mjs.map\n","import '../../utils/index.mjs';\nimport Upload from './src/upload2.mjs';\nexport { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './src/upload.mjs';\nexport { uploadContentProps } from './src/upload-content.mjs';\nexport { uploadListEmits, uploadListProps } from './src/upload-list.mjs';\nexport { uploadDraggerEmits, uploadDraggerProps } from './src/upload-dragger.mjs';\nexport { uploadContextKey } from './src/constants.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElUpload = withInstall(Upload);\n\nexport { ElUpload, ElUpload as default };\n//# sourceMappingURL=index.mjs.map\n","import { ref, reactive, defineComponent, h, Transition, withCtx, withDirectives, createVNode, vShow, createApp, toRefs } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../config-provider/index.mjs';\nimport { removeClass } from '../../../utils/dom/style.mjs';\nimport { useGlobalComponentSettings } from '../../config-provider/src/hooks/use-global-config.mjs';\n\nfunction createLoadingComponent(options) {\n let afterLeaveTimer;\n const afterLeaveFlag = ref(false);\n const data = reactive({\n ...options,\n originalPosition: \"\",\n originalOverflow: \"\",\n visible: false\n });\n function setText(text) {\n data.text = text;\n }\n function destroySelf() {\n const target = data.parent;\n const ns = vm.ns;\n if (!target.vLoadingAddClassList) {\n let loadingNumber = target.getAttribute(\"loading-number\");\n loadingNumber = Number.parseInt(loadingNumber) - 1;\n if (!loadingNumber) {\n removeClass(target, ns.bm(\"parent\", \"relative\"));\n target.removeAttribute(\"loading-number\");\n } else {\n target.setAttribute(\"loading-number\", loadingNumber.toString());\n }\n removeClass(target, ns.bm(\"parent\", \"hidden\"));\n }\n removeElLoadingChild();\n loadingInstance.unmount();\n }\n function removeElLoadingChild() {\n var _a, _b;\n (_b = (_a = vm.$el) == null ? void 0 : _a.parentNode) == null ? void 0 : _b.removeChild(vm.$el);\n }\n function close() {\n var _a;\n if (options.beforeClose && !options.beforeClose())\n return;\n afterLeaveFlag.value = true;\n clearTimeout(afterLeaveTimer);\n afterLeaveTimer = window.setTimeout(handleAfterLeave, 400);\n data.visible = false;\n (_a = options.closed) == null ? void 0 : _a.call(options);\n }\n function handleAfterLeave() {\n if (!afterLeaveFlag.value)\n return;\n const target = data.parent;\n afterLeaveFlag.value = false;\n target.vLoadingAddClassList = void 0;\n destroySelf();\n }\n const elLoadingComponent = defineComponent({\n name: \"ElLoading\",\n setup(_, { expose }) {\n const { ns, zIndex } = useGlobalComponentSettings(\"loading\");\n expose({\n ns,\n zIndex\n });\n return () => {\n const svg = data.spinner || data.svg;\n const spinner = h(\"svg\", {\n class: \"circular\",\n viewBox: data.svgViewBox ? data.svgViewBox : \"0 0 50 50\",\n ...svg ? { innerHTML: svg } : {}\n }, [\n h(\"circle\", {\n class: \"path\",\n cx: \"25\",\n cy: \"25\",\n r: \"20\",\n fill: \"none\"\n })\n ]);\n const spinnerText = data.text ? h(\"p\", { class: ns.b(\"text\") }, [data.text]) : void 0;\n return h(Transition, {\n name: ns.b(\"fade\"),\n onAfterLeave: handleAfterLeave\n }, {\n default: withCtx(() => [\n withDirectives(createVNode(\"div\", {\n style: {\n backgroundColor: data.background || \"\"\n },\n class: [\n ns.b(\"mask\"),\n data.customClass,\n data.fullscreen ? \"is-fullscreen\" : \"\"\n ]\n }, [\n h(\"div\", {\n class: ns.b(\"spinner\")\n }, [spinner, spinnerText])\n ]), [[vShow, data.visible]])\n ])\n });\n };\n }\n });\n const loadingInstance = createApp(elLoadingComponent);\n const vm = loadingInstance.mount(document.createElement(\"div\"));\n return {\n ...toRefs(data),\n setText,\n removeElLoadingChild,\n close,\n handleAfterLeave,\n vm,\n get $el() {\n return vm.$el;\n }\n };\n}\n\nexport { createLoadingComponent };\n//# sourceMappingURL=loading.mjs.map\n","import { nextTick } from 'vue';\nimport '../../../utils/index.mjs';\nimport { createLoadingComponent } from './loading.mjs';\nimport { isClient } from '@vueuse/core';\nimport { isString } from '@vue/shared';\nimport { getStyle, addClass, removeClass } from '../../../utils/dom/style.mjs';\n\nlet fullscreenInstance = void 0;\nconst Loading = function(options = {}) {\n if (!isClient)\n return void 0;\n const resolved = resolveOptions(options);\n if (resolved.fullscreen && fullscreenInstance) {\n return fullscreenInstance;\n }\n const instance = createLoadingComponent({\n ...resolved,\n closed: () => {\n var _a;\n (_a = resolved.closed) == null ? void 0 : _a.call(resolved);\n if (resolved.fullscreen)\n fullscreenInstance = void 0;\n }\n });\n addStyle(resolved, resolved.parent, instance);\n addClassList(resolved, resolved.parent, instance);\n resolved.parent.vLoadingAddClassList = () => addClassList(resolved, resolved.parent, instance);\n let loadingNumber = resolved.parent.getAttribute(\"loading-number\");\n if (!loadingNumber) {\n loadingNumber = \"1\";\n } else {\n loadingNumber = `${Number.parseInt(loadingNumber) + 1}`;\n }\n resolved.parent.setAttribute(\"loading-number\", loadingNumber);\n resolved.parent.appendChild(instance.$el);\n nextTick(() => instance.visible.value = resolved.visible);\n if (resolved.fullscreen) {\n fullscreenInstance = instance;\n }\n return instance;\n};\nconst resolveOptions = (options) => {\n var _a, _b, _c, _d;\n let target;\n if (isString(options.target)) {\n target = (_a = document.querySelector(options.target)) != null ? _a : document.body;\n } else {\n target = options.target || document.body;\n }\n return {\n parent: target === document.body || options.body ? document.body : target,\n background: options.background || \"\",\n svg: options.svg || \"\",\n svgViewBox: options.svgViewBox || \"\",\n spinner: options.spinner || false,\n text: options.text || \"\",\n fullscreen: target === document.body && ((_b = options.fullscreen) != null ? _b : true),\n lock: (_c = options.lock) != null ? _c : false,\n customClass: options.customClass || \"\",\n visible: (_d = options.visible) != null ? _d : true,\n target\n };\n};\nconst addStyle = async (options, parent, instance) => {\n const { nextZIndex } = instance.vm.zIndex || instance.vm._.exposed.zIndex;\n const maskStyle = {};\n if (options.fullscreen) {\n instance.originalPosition.value = getStyle(document.body, \"position\");\n instance.originalOverflow.value = getStyle(document.body, \"overflow\");\n maskStyle.zIndex = nextZIndex();\n } else if (options.parent === document.body) {\n instance.originalPosition.value = getStyle(document.body, \"position\");\n await nextTick();\n for (const property of [\"top\", \"left\"]) {\n const scroll = property === \"top\" ? \"scrollTop\" : \"scrollLeft\";\n maskStyle[property] = `${options.target.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] - Number.parseInt(getStyle(document.body, `margin-${property}`), 10)}px`;\n }\n for (const property of [\"height\", \"width\"]) {\n maskStyle[property] = `${options.target.getBoundingClientRect()[property]}px`;\n }\n } else {\n instance.originalPosition.value = getStyle(parent, \"position\");\n }\n for (const [key, value] of Object.entries(maskStyle)) {\n instance.$el.style[key] = value;\n }\n};\nconst addClassList = (options, parent, instance) => {\n const ns = instance.vm.ns || instance.vm._.exposed.ns;\n if (![\"absolute\", \"fixed\", \"sticky\"].includes(instance.originalPosition.value)) {\n addClass(parent, ns.bm(\"parent\", \"relative\"));\n } else {\n removeClass(parent, ns.bm(\"parent\", \"relative\"));\n }\n if (options.fullscreen && options.lock) {\n addClass(parent, ns.bm(\"parent\", \"hidden\"));\n } else {\n removeClass(parent, ns.bm(\"parent\", \"hidden\"));\n }\n};\n\nexport { Loading };\n//# sourceMappingURL=service.mjs.map\n","import { ref, isRef } from 'vue';\nimport { isObject, isString, hyphenate } from '@vue/shared';\nimport { Loading } from './service.mjs';\n\nconst INSTANCE_KEY = Symbol(\"ElLoading\");\nconst createInstance = (el, binding) => {\n var _a, _b, _c, _d;\n const vm = binding.instance;\n const getBindingProp = (key) => isObject(binding.value) ? binding.value[key] : void 0;\n const resolveExpression = (key) => {\n const data = isString(key) && (vm == null ? void 0 : vm[key]) || key;\n if (data)\n return ref(data);\n else\n return data;\n };\n const getProp = (name) => resolveExpression(getBindingProp(name) || el.getAttribute(`element-loading-${hyphenate(name)}`));\n const fullscreen = (_a = getBindingProp(\"fullscreen\")) != null ? _a : binding.modifiers.fullscreen;\n const options = {\n text: getProp(\"text\"),\n svg: getProp(\"svg\"),\n svgViewBox: getProp(\"svgViewBox\"),\n spinner: getProp(\"spinner\"),\n background: getProp(\"background\"),\n customClass: getProp(\"customClass\"),\n fullscreen,\n target: (_b = getBindingProp(\"target\")) != null ? _b : fullscreen ? void 0 : el,\n body: (_c = getBindingProp(\"body\")) != null ? _c : binding.modifiers.body,\n lock: (_d = getBindingProp(\"lock\")) != null ? _d : binding.modifiers.lock\n };\n el[INSTANCE_KEY] = {\n options,\n instance: Loading(options)\n };\n};\nconst updateOptions = (newOptions, originalOptions) => {\n for (const key of Object.keys(originalOptions)) {\n if (isRef(originalOptions[key]))\n originalOptions[key].value = newOptions[key];\n }\n};\nconst vLoading = {\n mounted(el, binding) {\n if (binding.value) {\n createInstance(el, binding);\n }\n },\n updated(el, binding) {\n const instance = el[INSTANCE_KEY];\n if (binding.oldValue !== binding.value) {\n if (binding.value && !binding.oldValue) {\n createInstance(el, binding);\n } else if (binding.value && binding.oldValue) {\n if (isObject(binding.value))\n updateOptions(binding.value, instance.options);\n } else {\n instance == null ? void 0 : instance.instance.close();\n }\n }\n },\n unmounted(el) {\n var _a;\n (_a = el[INSTANCE_KEY]) == null ? void 0 : _a.instance.close();\n }\n};\n\nexport { vLoading };\n//# sourceMappingURL=directive.mjs.map\n","import '../../../utils/index.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { isClient } from '@vueuse/core';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\n\nconst messageTypes = [\"success\", \"info\", \"warning\", \"error\"];\nconst messageDefaults = mutable({\n customClass: \"\",\n center: false,\n dangerouslyUseHTMLString: false,\n duration: 3e3,\n icon: void 0,\n id: \"\",\n message: \"\",\n onClose: void 0,\n showClose: false,\n type: \"info\",\n offset: 16,\n zIndex: 0,\n grouping: false,\n repeatNum: 1,\n appendTo: isClient ? document.body : void 0\n});\nconst messageProps = buildProps({\n customClass: {\n type: String,\n default: messageDefaults.customClass\n },\n center: {\n type: Boolean,\n default: messageDefaults.center\n },\n dangerouslyUseHTMLString: {\n type: Boolean,\n default: messageDefaults.dangerouslyUseHTMLString\n },\n duration: {\n type: Number,\n default: messageDefaults.duration\n },\n icon: {\n type: iconPropType,\n default: messageDefaults.icon\n },\n id: {\n type: String,\n default: messageDefaults.id\n },\n message: {\n type: definePropType([\n String,\n Object,\n Function\n ]),\n default: messageDefaults.message\n },\n onClose: {\n type: definePropType(Function),\n required: false\n },\n showClose: {\n type: Boolean,\n default: messageDefaults.showClose\n },\n type: {\n type: String,\n values: messageTypes,\n default: messageDefaults.type\n },\n offset: {\n type: Number,\n default: messageDefaults.offset\n },\n zIndex: {\n type: Number,\n default: messageDefaults.zIndex\n },\n grouping: {\n type: Boolean,\n default: messageDefaults.grouping\n },\n repeatNum: {\n type: Number,\n default: messageDefaults.repeatNum\n }\n});\nconst messageEmits = {\n destroy: () => true\n};\n\nexport { messageDefaults, messageEmits, messageProps, messageTypes };\n//# sourceMappingURL=message.mjs.map\n","import { shallowReactive } from 'vue';\n\nconst instances = shallowReactive([]);\nconst getInstance = (id) => {\n const idx = instances.findIndex((instance) => instance.id === id);\n const current = instances[idx];\n let prev;\n if (idx > 0) {\n prev = instances[idx - 1];\n }\n return { current, prev };\n};\nconst getLastOffset = (id) => {\n const { prev } = getInstance(id);\n if (!prev)\n return 0;\n return prev.vm.exposed.bottom.value;\n};\nconst getOffsetOrSpace = (id, offset) => {\n const idx = instances.findIndex((instance) => instance.id === id);\n return idx > 0 ? 20 : offset;\n};\n\nexport { getInstance, getLastOffset, getOffsetOrSpace, instances };\n//# sourceMappingURL=instance.mjs.map\n","import { defineComponent, ref, computed, onMounted, watch, openBlock, createBlock, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createCommentVNode, resolveDynamicComponent, renderSlot, createElementBlock, toDisplayString, Fragment, withModifiers, createVNode, vShow } from 'vue';\nimport { useTimeoutFn, useEventListener, useResizeObserver } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { ElBadge } from '../../badge/index.mjs';\nimport '../../config-provider/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { messageProps, messageEmits } from './message.mjs';\nimport { getLastOffset, getOffsetOrSpace } from './instance.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { TypeComponents, TypeComponentsMap } from '../../../utils/vue/icon.mjs';\nimport { useGlobalComponentSettings } from '../../config-provider/src/hooks/use-global-config.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\n\nconst _hoisted_1 = [\"id\"];\nconst _hoisted_2 = [\"innerHTML\"];\nconst __default__ = defineComponent({\n name: \"ElMessage\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: messageProps,\n emits: messageEmits,\n setup(__props, { expose }) {\n const props = __props;\n const { Close } = TypeComponents;\n const { ns, zIndex } = useGlobalComponentSettings(\"message\");\n const { currentZIndex, nextZIndex } = zIndex;\n const messageRef = ref();\n const visible = ref(false);\n const height = ref(0);\n let stopTimer = void 0;\n const badgeType = computed(() => props.type ? props.type === \"error\" ? \"danger\" : props.type : \"info\");\n const typeClass = computed(() => {\n const type = props.type;\n return { [ns.bm(\"icon\", type)]: type && TypeComponentsMap[type] };\n });\n const iconComponent = computed(() => props.icon || TypeComponentsMap[props.type] || \"\");\n const lastOffset = computed(() => getLastOffset(props.id));\n const offset = computed(() => getOffsetOrSpace(props.id, props.offset) + lastOffset.value);\n const bottom = computed(() => height.value + offset.value);\n const customStyle = computed(() => ({\n top: `${offset.value}px`,\n zIndex: currentZIndex.value\n }));\n function startTimer() {\n if (props.duration === 0)\n return;\n ({ stop: stopTimer } = useTimeoutFn(() => {\n close();\n }, props.duration));\n }\n function clearTimer() {\n stopTimer == null ? void 0 : stopTimer();\n }\n function close() {\n visible.value = false;\n }\n function keydown({ code }) {\n if (code === EVENT_CODE.esc) {\n close();\n }\n }\n onMounted(() => {\n startTimer();\n nextZIndex();\n visible.value = true;\n });\n watch(() => props.repeatNum, () => {\n clearTimer();\n startTimer();\n });\n useEventListener(document, \"keydown\", keydown);\n useResizeObserver(messageRef, () => {\n height.value = messageRef.value.getBoundingClientRect().height;\n });\n expose({\n visible,\n bottom,\n close\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Transition, {\n name: unref(ns).b(\"fade\"),\n onBeforeLeave: _ctx.onClose,\n onAfterLeave: _cache[0] || (_cache[0] = ($event) => _ctx.$emit(\"destroy\")),\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"div\", {\n id: _ctx.id,\n ref_key: \"messageRef\",\n ref: messageRef,\n class: normalizeClass([\n unref(ns).b(),\n { [unref(ns).m(_ctx.type)]: _ctx.type && !_ctx.icon },\n unref(ns).is(\"center\", _ctx.center),\n unref(ns).is(\"closable\", _ctx.showClose),\n _ctx.customClass\n ]),\n style: normalizeStyle(unref(customStyle)),\n role: \"alert\",\n onMouseenter: clearTimer,\n onMouseleave: startTimer\n }, [\n _ctx.repeatNum > 1 ? (openBlock(), createBlock(unref(ElBadge), {\n key: 0,\n value: _ctx.repeatNum,\n type: unref(badgeType),\n class: normalizeClass(unref(ns).e(\"badge\"))\n }, null, 8, [\"value\", \"type\", \"class\"])) : createCommentVNode(\"v-if\", true),\n unref(iconComponent) ? (openBlock(), createBlock(unref(ElIcon), {\n key: 1,\n class: normalizeClass([unref(ns).e(\"icon\"), unref(typeClass)])\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent))))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n !_ctx.dangerouslyUseHTMLString ? (openBlock(), createElementBlock(\"p\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"content\"))\n }, toDisplayString(_ctx.message), 3)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n createCommentVNode(\" Caution here, message could've been compromised, never use user's input as message \"),\n createElementVNode(\"p\", {\n class: normalizeClass(unref(ns).e(\"content\")),\n innerHTML: _ctx.message\n }, null, 10, _hoisted_2)\n ], 2112))\n ]),\n _ctx.showClose ? (openBlock(), createBlock(unref(ElIcon), {\n key: 2,\n class: normalizeClass(unref(ns).e(\"closeBtn\")),\n onClick: withModifiers(close, [\"stop\"])\n }, {\n default: withCtx(() => [\n createVNode(unref(Close))\n ]),\n _: 1\n }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true)\n ], 46, _hoisted_1), [\n [vShow, visible.value]\n ])\n ]),\n _: 3\n }, 8, [\"name\", \"onBeforeLeave\"]);\n };\n }\n});\nvar MessageConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue\"]]);\n\nexport { MessageConstructor as default };\n//# sourceMappingURL=message2.mjs.map\n","import { isVNode, render, createVNode } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../config-provider/index.mjs';\nimport MessageConstructor from './message2.mjs';\nimport { messageDefaults, messageTypes } from './message.mjs';\nimport { instances } from './instance.mjs';\nimport { isString, isFunction } from '@vue/shared';\nimport { isElement, isNumber } from '../../../utils/types.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { isClient } from '@vueuse/core';\nimport { messageConfig } from '../../config-provider/src/config-provider.mjs';\n\nlet seed = 1;\nconst normalizeOptions = (params) => {\n const options = !params || isString(params) || isVNode(params) || isFunction(params) ? { message: params } : params;\n const normalized = {\n ...messageDefaults,\n ...options\n };\n if (!normalized.appendTo) {\n normalized.appendTo = document.body;\n } else if (isString(normalized.appendTo)) {\n let appendTo = document.querySelector(normalized.appendTo);\n if (!isElement(appendTo)) {\n debugWarn(\"ElMessage\", \"the appendTo option is not an HTMLElement. Falling back to document.body.\");\n appendTo = document.body;\n }\n normalized.appendTo = appendTo;\n }\n return normalized;\n};\nconst closeMessage = (instance) => {\n const idx = instances.indexOf(instance);\n if (idx === -1)\n return;\n instances.splice(idx, 1);\n const { handler } = instance;\n handler.close();\n};\nconst createMessage = ({ appendTo, ...options }, context) => {\n const id = `message_${seed++}`;\n const userOnClose = options.onClose;\n const container = document.createElement(\"div\");\n const props = {\n ...options,\n id,\n onClose: () => {\n userOnClose == null ? void 0 : userOnClose();\n closeMessage(instance);\n },\n onDestroy: () => {\n render(null, container);\n }\n };\n const vnode = createVNode(MessageConstructor, props, isFunction(props.message) || isVNode(props.message) ? {\n default: isFunction(props.message) ? props.message : () => props.message\n } : null);\n vnode.appContext = context || message._context;\n render(vnode, container);\n appendTo.appendChild(container.firstElementChild);\n const vm = vnode.component;\n const handler = {\n close: () => {\n vm.exposed.visible.value = false;\n }\n };\n const instance = {\n id,\n vnode,\n vm,\n handler,\n props: vnode.component.props\n };\n return instance;\n};\nconst message = (options = {}, context) => {\n if (!isClient)\n return { close: () => void 0 };\n if (isNumber(messageConfig.max) && instances.length >= messageConfig.max) {\n return { close: () => void 0 };\n }\n const normalized = normalizeOptions(options);\n if (normalized.grouping && instances.length) {\n const instance2 = instances.find(({ vnode: vm }) => {\n var _a;\n return ((_a = vm.props) == null ? void 0 : _a.message) === normalized.message;\n });\n if (instance2) {\n instance2.props.repeatNum += 1;\n instance2.props.type = normalized.type;\n return instance2.handler;\n }\n }\n const instance = createMessage(normalized, context);\n instances.push(instance);\n return instance.handler;\n};\nmessageTypes.forEach((type) => {\n message[type] = (options = {}, appContext) => {\n const normalized = normalizeOptions(options);\n return message({ ...normalized, type }, appContext);\n };\n});\nfunction closeAll(type) {\n for (const instance of instances) {\n if (!type || type === instance.props.type) {\n instance.handler.close();\n }\n }\n}\nmessage.closeAll = closeAll;\nmessage._context = null;\n\nexport { closeAll, message as default };\n//# sourceMappingURL=method.mjs.map\n","import '../../utils/index.mjs';\nimport message from './src/method.mjs';\nexport { messageDefaults, messageEmits, messageProps, messageTypes } from './src/message.mjs';\nimport { withInstallFunction } from '../../utils/vue/install.mjs';\n\nconst ElMessage = withInstallFunction(message, \"$message\");\n\nexport { ElMessage, ElMessage as default };\n//# sourceMappingURL=index.mjs.map\n","import { defineComponent, computed, ref, reactive, watch, nextTick, onMounted, onBeforeUnmount, toRefs, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createVNode, createElementVNode, normalizeClass, normalizeStyle, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, withKeys, renderSlot, createTextVNode, vShow } from 'vue';\nimport { ElButton } from '../../button/index.mjs';\nimport '../../../directives/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { ElInput } from '../../input/index.mjs';\nimport { ElOverlay } from '../../overlay/index.mjs';\nimport '../../../utils/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../focus-trap/index.mjs';\nimport '../../config-provider/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport TrapFocus from '../../../directives/trap-focus/index.mjs';\nimport ElFocusTrap from '../../focus-trap/src/focus-trap.mjs';\nimport { TypeComponents, TypeComponentsMap } from '../../../utils/vue/icon.mjs';\nimport { isValidComponentSize } from '../../../utils/vue/validator.mjs';\nimport { useGlobalComponentSettings } from '../../config-provider/src/hooks/use-global-config.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { useDraggable } from '../../../hooks/use-draggable/index.mjs';\nimport { useSameTarget } from '../../../hooks/use-same-target/index.mjs';\nimport { useLockscreen } from '../../../hooks/use-lockscreen/index.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElMessageBox\",\n directives: {\n TrapFocus\n },\n components: {\n ElButton,\n ElFocusTrap,\n ElInput,\n ElOverlay,\n ElIcon,\n ...TypeComponents\n },\n inheritAttrs: false,\n props: {\n buttonSize: {\n type: String,\n validator: isValidComponentSize\n },\n modal: {\n type: Boolean,\n default: true\n },\n lockScroll: {\n type: Boolean,\n default: true\n },\n showClose: {\n type: Boolean,\n default: true\n },\n closeOnClickModal: {\n type: Boolean,\n default: true\n },\n closeOnPressEscape: {\n type: Boolean,\n default: true\n },\n closeOnHashChange: {\n type: Boolean,\n default: true\n },\n center: Boolean,\n draggable: Boolean,\n roundButton: {\n default: false,\n type: Boolean\n },\n container: {\n type: String,\n default: \"body\"\n },\n boxType: {\n type: String,\n default: \"\"\n }\n },\n emits: [\"vanish\", \"action\"],\n setup(props, { emit }) {\n const {\n locale,\n zIndex,\n ns,\n size: btnSize\n } = useGlobalComponentSettings(\"message-box\", computed(() => props.buttonSize));\n const { t } = locale;\n const { nextZIndex } = zIndex;\n const visible = ref(false);\n const state = reactive({\n autofocus: true,\n beforeClose: null,\n callback: null,\n cancelButtonText: \"\",\n cancelButtonClass: \"\",\n confirmButtonText: \"\",\n confirmButtonClass: \"\",\n customClass: \"\",\n customStyle: {},\n dangerouslyUseHTMLString: false,\n distinguishCancelAndClose: false,\n icon: \"\",\n inputPattern: null,\n inputPlaceholder: \"\",\n inputType: \"text\",\n inputValue: null,\n inputValidator: null,\n inputErrorMessage: \"\",\n message: null,\n modalFade: true,\n modalClass: \"\",\n showCancelButton: false,\n showConfirmButton: true,\n type: \"\",\n title: void 0,\n showInput: false,\n action: \"\",\n confirmButtonLoading: false,\n cancelButtonLoading: false,\n confirmButtonDisabled: false,\n editorErrorMessage: \"\",\n validateError: false,\n zIndex: nextZIndex()\n });\n const typeClass = computed(() => {\n const type = state.type;\n return { [ns.bm(\"icon\", type)]: type && TypeComponentsMap[type] };\n });\n const contentId = useId();\n const inputId = useId();\n const iconComponent = computed(() => state.icon || TypeComponentsMap[state.type] || \"\");\n const hasMessage = computed(() => !!state.message);\n const rootRef = ref();\n const headerRef = ref();\n const focusStartRef = ref();\n const inputRef = ref();\n const confirmRef = ref();\n const confirmButtonClasses = computed(() => state.confirmButtonClass);\n watch(() => state.inputValue, async (val) => {\n await nextTick();\n if (props.boxType === \"prompt\" && val !== null) {\n validate();\n }\n }, { immediate: true });\n watch(() => visible.value, (val) => {\n var _a, _b;\n if (val) {\n if (props.boxType !== \"prompt\") {\n if (state.autofocus) {\n focusStartRef.value = (_b = (_a = confirmRef.value) == null ? void 0 : _a.$el) != null ? _b : rootRef.value;\n } else {\n focusStartRef.value = rootRef.value;\n }\n }\n state.zIndex = nextZIndex();\n }\n if (props.boxType !== \"prompt\")\n return;\n if (val) {\n nextTick().then(() => {\n var _a2;\n if (inputRef.value && inputRef.value.$el) {\n if (state.autofocus) {\n focusStartRef.value = (_a2 = getInputElement()) != null ? _a2 : rootRef.value;\n } else {\n focusStartRef.value = rootRef.value;\n }\n }\n });\n } else {\n state.editorErrorMessage = \"\";\n state.validateError = false;\n }\n });\n const draggable = computed(() => props.draggable);\n useDraggable(rootRef, headerRef, draggable);\n onMounted(async () => {\n await nextTick();\n if (props.closeOnHashChange) {\n window.addEventListener(\"hashchange\", doClose);\n }\n });\n onBeforeUnmount(() => {\n if (props.closeOnHashChange) {\n window.removeEventListener(\"hashchange\", doClose);\n }\n });\n function doClose() {\n if (!visible.value)\n return;\n visible.value = false;\n nextTick(() => {\n if (state.action)\n emit(\"action\", state.action);\n });\n }\n const handleWrapperClick = () => {\n if (props.closeOnClickModal) {\n handleAction(state.distinguishCancelAndClose ? \"close\" : \"cancel\");\n }\n };\n const overlayEvent = useSameTarget(handleWrapperClick);\n const handleInputEnter = (e) => {\n if (state.inputType !== \"textarea\") {\n e.preventDefault();\n return handleAction(\"confirm\");\n }\n };\n const handleAction = (action) => {\n var _a;\n if (props.boxType === \"prompt\" && action === \"confirm\" && !validate()) {\n return;\n }\n state.action = action;\n if (state.beforeClose) {\n (_a = state.beforeClose) == null ? void 0 : _a.call(state, action, state, doClose);\n } else {\n doClose();\n }\n };\n const validate = () => {\n if (props.boxType === \"prompt\") {\n const inputPattern = state.inputPattern;\n if (inputPattern && !inputPattern.test(state.inputValue || \"\")) {\n state.editorErrorMessage = state.inputErrorMessage || t(\"el.messagebox.error\");\n state.validateError = true;\n return false;\n }\n const inputValidator = state.inputValidator;\n if (typeof inputValidator === \"function\") {\n const validateResult = inputValidator(state.inputValue);\n if (validateResult === false) {\n state.editorErrorMessage = state.inputErrorMessage || t(\"el.messagebox.error\");\n state.validateError = true;\n return false;\n }\n if (typeof validateResult === \"string\") {\n state.editorErrorMessage = validateResult;\n state.validateError = true;\n return false;\n }\n }\n }\n state.editorErrorMessage = \"\";\n state.validateError = false;\n return true;\n };\n const getInputElement = () => {\n const inputRefs = inputRef.value.$refs;\n return inputRefs.input || inputRefs.textarea;\n };\n const handleClose = () => {\n handleAction(\"close\");\n };\n const onCloseRequested = () => {\n if (props.closeOnPressEscape) {\n handleClose();\n }\n };\n if (props.lockScroll) {\n useLockscreen(visible);\n }\n return {\n ...toRefs(state),\n ns,\n overlayEvent,\n visible,\n hasMessage,\n typeClass,\n contentId,\n inputId,\n btnSize,\n iconComponent,\n confirmButtonClasses,\n rootRef,\n focusStartRef,\n headerRef,\n inputRef,\n confirmRef,\n doClose,\n handleClose,\n onCloseRequested,\n handleWrapperClick,\n handleInputEnter,\n handleAction,\n t\n };\n }\n});\nconst _hoisted_1 = [\"aria-label\", \"aria-describedby\"];\nconst _hoisted_2 = [\"aria-label\"];\nconst _hoisted_3 = [\"id\"];\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_icon = resolveComponent(\"el-icon\");\n const _component_close = resolveComponent(\"close\");\n const _component_el_input = resolveComponent(\"el-input\");\n const _component_el_button = resolveComponent(\"el-button\");\n const _component_el_focus_trap = resolveComponent(\"el-focus-trap\");\n const _component_el_overlay = resolveComponent(\"el-overlay\");\n return openBlock(), createBlock(Transition, {\n name: \"fade-in-linear\",\n onAfterLeave: _cache[11] || (_cache[11] = ($event) => _ctx.$emit(\"vanish\")),\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createVNode(_component_el_overlay, {\n \"z-index\": _ctx.zIndex,\n \"overlay-class\": [_ctx.ns.is(\"message-box\"), _ctx.modalClass],\n mask: _ctx.modal\n }, {\n default: withCtx(() => [\n createElementVNode(\"div\", {\n role: \"dialog\",\n \"aria-label\": _ctx.title,\n \"aria-modal\": \"true\",\n \"aria-describedby\": !_ctx.showInput ? _ctx.contentId : void 0,\n class: normalizeClass(`${_ctx.ns.namespace.value}-overlay-message-box`),\n onClick: _cache[8] || (_cache[8] = (...args) => _ctx.overlayEvent.onClick && _ctx.overlayEvent.onClick(...args)),\n onMousedown: _cache[9] || (_cache[9] = (...args) => _ctx.overlayEvent.onMousedown && _ctx.overlayEvent.onMousedown(...args)),\n onMouseup: _cache[10] || (_cache[10] = (...args) => _ctx.overlayEvent.onMouseup && _ctx.overlayEvent.onMouseup(...args))\n }, [\n createVNode(_component_el_focus_trap, {\n loop: \"\",\n trapped: _ctx.visible,\n \"focus-trap-el\": _ctx.rootRef,\n \"focus-start-el\": _ctx.focusStartRef,\n onReleaseRequested: _ctx.onCloseRequested\n }, {\n default: withCtx(() => [\n createElementVNode(\"div\", {\n ref: \"rootRef\",\n class: normalizeClass([\n _ctx.ns.b(),\n _ctx.customClass,\n _ctx.ns.is(\"draggable\", _ctx.draggable),\n { [_ctx.ns.m(\"center\")]: _ctx.center }\n ]),\n style: normalizeStyle(_ctx.customStyle),\n tabindex: \"-1\",\n onClick: _cache[7] || (_cache[7] = withModifiers(() => {\n }, [\"stop\"]))\n }, [\n _ctx.title !== null && _ctx.title !== void 0 ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n ref: \"headerRef\",\n class: normalizeClass(_ctx.ns.e(\"header\"))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"title\"))\n }, [\n _ctx.iconComponent && _ctx.center ? (openBlock(), createBlock(_component_el_icon, {\n key: 0,\n class: normalizeClass([_ctx.ns.e(\"status\"), _ctx.typeClass])\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"span\", null, toDisplayString(_ctx.title), 1)\n ], 2),\n _ctx.showClose ? (openBlock(), createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n class: normalizeClass(_ctx.ns.e(\"headerbtn\")),\n \"aria-label\": _ctx.t(\"el.messagebox.close\"),\n onClick: _cache[0] || (_cache[0] = ($event) => _ctx.handleAction(_ctx.distinguishCancelAndClose ? \"close\" : \"cancel\")),\n onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.handleAction(_ctx.distinguishCancelAndClose ? \"close\" : \"cancel\"), [\"prevent\"]), [\"enter\"]))\n }, [\n createVNode(_component_el_icon, {\n class: normalizeClass(_ctx.ns.e(\"close\"))\n }, {\n default: withCtx(() => [\n createVNode(_component_close)\n ]),\n _: 1\n }, 8, [\"class\"])\n ], 42, _hoisted_2)) : createCommentVNode(\"v-if\", true)\n ], 2)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n id: _ctx.contentId,\n class: normalizeClass(_ctx.ns.e(\"content\"))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"container\"))\n }, [\n _ctx.iconComponent && !_ctx.center && _ctx.hasMessage ? (openBlock(), createBlock(_component_el_icon, {\n key: 0,\n class: normalizeClass([_ctx.ns.e(\"status\"), _ctx.typeClass])\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))\n ]),\n _: 1\n }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n _ctx.hasMessage ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n class: normalizeClass(_ctx.ns.e(\"message\"))\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n !_ctx.dangerouslyUseHTMLString ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.showInput ? \"label\" : \"p\"), {\n key: 0,\n for: _ctx.showInput ? _ctx.inputId : void 0\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(!_ctx.dangerouslyUseHTMLString ? _ctx.message : \"\"), 1)\n ]),\n _: 1\n }, 8, [\"for\"])) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.showInput ? \"label\" : \"p\"), {\n key: 1,\n for: _ctx.showInput ? _ctx.inputId : void 0,\n innerHTML: _ctx.message\n }, null, 8, [\"for\", \"innerHTML\"]))\n ])\n ], 2)) : createCommentVNode(\"v-if\", true)\n ], 2),\n withDirectives(createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"input\"))\n }, [\n createVNode(_component_el_input, {\n id: _ctx.inputId,\n ref: \"inputRef\",\n modelValue: _ctx.inputValue,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event) => _ctx.inputValue = $event),\n type: _ctx.inputType,\n placeholder: _ctx.inputPlaceholder,\n \"aria-invalid\": _ctx.validateError,\n class: normalizeClass({ invalid: _ctx.validateError }),\n onKeydown: withKeys(_ctx.handleInputEnter, [\"enter\"])\n }, null, 8, [\"id\", \"modelValue\", \"type\", \"placeholder\", \"aria-invalid\", \"class\", \"onKeydown\"]),\n createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"errormsg\")),\n style: normalizeStyle({\n visibility: !!_ctx.editorErrorMessage ? \"visible\" : \"hidden\"\n })\n }, toDisplayString(_ctx.editorErrorMessage), 7)\n ], 2), [\n [vShow, _ctx.showInput]\n ])\n ], 10, _hoisted_3),\n createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"btns\"))\n }, [\n _ctx.showCancelButton ? (openBlock(), createBlock(_component_el_button, {\n key: 0,\n loading: _ctx.cancelButtonLoading,\n class: normalizeClass([_ctx.cancelButtonClass]),\n round: _ctx.roundButton,\n size: _ctx.btnSize,\n onClick: _cache[3] || (_cache[3] = ($event) => _ctx.handleAction(\"cancel\")),\n onKeydown: _cache[4] || (_cache[4] = withKeys(withModifiers(($event) => _ctx.handleAction(\"cancel\"), [\"prevent\"]), [\"enter\"]))\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(_ctx.cancelButtonText || _ctx.t(\"el.messagebox.cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"class\", \"round\", \"size\"])) : createCommentVNode(\"v-if\", true),\n withDirectives(createVNode(_component_el_button, {\n ref: \"confirmRef\",\n type: \"primary\",\n loading: _ctx.confirmButtonLoading,\n class: normalizeClass([_ctx.confirmButtonClasses]),\n round: _ctx.roundButton,\n disabled: _ctx.confirmButtonDisabled,\n size: _ctx.btnSize,\n onClick: _cache[5] || (_cache[5] = ($event) => _ctx.handleAction(\"confirm\")),\n onKeydown: _cache[6] || (_cache[6] = withKeys(withModifiers(($event) => _ctx.handleAction(\"confirm\"), [\"prevent\"]), [\"enter\"]))\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(_ctx.confirmButtonText || _ctx.t(\"el.messagebox.confirm\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"class\", \"round\", \"disabled\", \"size\"]), [\n [vShow, _ctx.showConfirmButton]\n ])\n ], 2)\n ], 6)\n ]),\n _: 3\n }, 8, [\"trapped\", \"focus-trap-el\", \"focus-start-el\", \"onReleaseRequested\"])\n ], 42, _hoisted_1)\n ]),\n _: 3\n }, 8, [\"z-index\", \"overlay-class\", \"mask\"]), [\n [vShow, _ctx.visible]\n ])\n ]),\n _: 3\n });\n}\nvar MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue\"]]);\n\nexport { MessageBoxConstructor as default };\n//# sourceMappingURL=index.mjs.map\n","import { createVNode, isVNode, render } from 'vue';\nimport '../../../utils/index.mjs';\nimport MessageBoxConstructor from './index.mjs';\nimport { isString, isFunction, hasOwn, isObject } from '@vue/shared';\nimport { isElement, isUndefined } from '../../../utils/types.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { isClient } from '@vueuse/core';\n\nconst messageInstance = /* @__PURE__ */ new Map();\nconst getAppendToElement = (props) => {\n let appendTo = document.body;\n if (props.appendTo) {\n if (isString(props.appendTo)) {\n appendTo = document.querySelector(props.appendTo);\n }\n if (isElement(props.appendTo)) {\n appendTo = props.appendTo;\n }\n if (!isElement(appendTo)) {\n debugWarn(\"ElMessageBox\", \"the appendTo option is not an HTMLElement. Falling back to document.body.\");\n appendTo = document.body;\n }\n }\n return appendTo;\n};\nconst initInstance = (props, container, appContext = null) => {\n const vnode = createVNode(MessageBoxConstructor, props, isFunction(props.message) || isVNode(props.message) ? {\n default: isFunction(props.message) ? props.message : () => props.message\n } : null);\n vnode.appContext = appContext;\n render(vnode, container);\n getAppendToElement(props).appendChild(container.firstElementChild);\n return vnode.component;\n};\nconst genContainer = () => {\n return document.createElement(\"div\");\n};\nconst showMessage = (options, appContext) => {\n const container = genContainer();\n options.onVanish = () => {\n render(null, container);\n messageInstance.delete(vm);\n };\n options.onAction = (action) => {\n const currentMsg = messageInstance.get(vm);\n let resolve;\n if (options.showInput) {\n resolve = { value: vm.inputValue, action };\n } else {\n resolve = action;\n }\n if (options.callback) {\n options.callback(resolve, instance.proxy);\n } else {\n if (action === \"cancel\" || action === \"close\") {\n if (options.distinguishCancelAndClose && action !== \"cancel\") {\n currentMsg.reject(\"close\");\n } else {\n currentMsg.reject(\"cancel\");\n }\n } else {\n currentMsg.resolve(resolve);\n }\n }\n };\n const instance = initInstance(options, container, appContext);\n const vm = instance.proxy;\n for (const prop in options) {\n if (hasOwn(options, prop) && !hasOwn(vm.$props, prop)) {\n vm[prop] = options[prop];\n }\n }\n vm.visible = true;\n return vm;\n};\nfunction MessageBox(options, appContext = null) {\n if (!isClient)\n return Promise.reject();\n let callback;\n if (isString(options) || isVNode(options)) {\n options = {\n message: options\n };\n } else {\n callback = options.callback;\n }\n return new Promise((resolve, reject) => {\n const vm = showMessage(options, appContext != null ? appContext : MessageBox._context);\n messageInstance.set(vm, {\n options,\n callback,\n resolve,\n reject\n });\n });\n}\nconst MESSAGE_BOX_VARIANTS = [\"alert\", \"confirm\", \"prompt\"];\nconst MESSAGE_BOX_DEFAULT_OPTS = {\n alert: { closeOnPressEscape: false, closeOnClickModal: false },\n confirm: { showCancelButton: true },\n prompt: { showCancelButton: true, showInput: true }\n};\nMESSAGE_BOX_VARIANTS.forEach((boxType) => {\n ;\n MessageBox[boxType] = messageBoxFactory(boxType);\n});\nfunction messageBoxFactory(boxType) {\n return (message, title, options, appContext) => {\n let titleOrOpts = \"\";\n if (isObject(title)) {\n options = title;\n titleOrOpts = \"\";\n } else if (isUndefined(title)) {\n titleOrOpts = \"\";\n } else {\n titleOrOpts = title;\n }\n return MessageBox(Object.assign({\n title: titleOrOpts,\n message,\n type: \"\",\n ...MESSAGE_BOX_DEFAULT_OPTS[boxType]\n }, options, {\n boxType\n }), appContext);\n };\n}\nMessageBox.close = () => {\n messageInstance.forEach((_, vm) => {\n vm.doClose();\n });\n messageInstance.clear();\n};\nMessageBox._context = null;\n\nexport { MessageBox as default };\n//# sourceMappingURL=messageBox.mjs.map\n","import MessageBox from './src/messageBox.mjs';\nimport './src/message-box.type.mjs';\n\nconst _MessageBox = MessageBox;\n_MessageBox.install = (app) => {\n _MessageBox._context = app._context;\n app.config.globalProperties.$msgbox = _MessageBox;\n app.config.globalProperties.$messageBox = _MessageBox;\n app.config.globalProperties.$alert = _MessageBox.alert;\n app.config.globalProperties.$confirm = _MessageBox.confirm;\n app.config.globalProperties.$prompt = _MessageBox.prompt;\n};\nconst ElMessageBox = _MessageBox;\n\nexport { ElMessageBox, _MessageBox as default };\n//# sourceMappingURL=index.mjs.map\n","/*! Element Plus v2.3.9 */\n\nvar zhCn = {\n name: \"zh-cn\",\n el: {\n colorpicker: {\n confirm: \"\\u786E\\u5B9A\",\n clear: \"\\u6E05\\u7A7A\"\n },\n datepicker: {\n now: \"\\u6B64\\u523B\",\n today: \"\\u4ECA\\u5929\",\n cancel: \"\\u53D6\\u6D88\",\n clear: \"\\u6E05\\u7A7A\",\n confirm: \"\\u786E\\u5B9A\",\n selectDate: \"\\u9009\\u62E9\\u65E5\\u671F\",\n selectTime: \"\\u9009\\u62E9\\u65F6\\u95F4\",\n startDate: \"\\u5F00\\u59CB\\u65E5\\u671F\",\n startTime: \"\\u5F00\\u59CB\\u65F6\\u95F4\",\n endDate: \"\\u7ED3\\u675F\\u65E5\\u671F\",\n endTime: \"\\u7ED3\\u675F\\u65F6\\u95F4\",\n prevYear: \"\\u524D\\u4E00\\u5E74\",\n nextYear: \"\\u540E\\u4E00\\u5E74\",\n prevMonth: \"\\u4E0A\\u4E2A\\u6708\",\n nextMonth: \"\\u4E0B\\u4E2A\\u6708\",\n year: \"\\u5E74\",\n month1: \"1 \\u6708\",\n month2: \"2 \\u6708\",\n month3: \"3 \\u6708\",\n month4: \"4 \\u6708\",\n month5: \"5 \\u6708\",\n month6: \"6 \\u6708\",\n month7: \"7 \\u6708\",\n month8: \"8 \\u6708\",\n month9: \"9 \\u6708\",\n month10: \"10 \\u6708\",\n month11: \"11 \\u6708\",\n month12: \"12 \\u6708\",\n weeks: {\n sun: \"\\u65E5\",\n mon: \"\\u4E00\",\n tue: \"\\u4E8C\",\n wed: \"\\u4E09\",\n thu: \"\\u56DB\",\n fri: \"\\u4E94\",\n sat: \"\\u516D\"\n },\n months: {\n jan: \"\\u4E00\\u6708\",\n feb: \"\\u4E8C\\u6708\",\n mar: \"\\u4E09\\u6708\",\n apr: \"\\u56DB\\u6708\",\n may: \"\\u4E94\\u6708\",\n jun: \"\\u516D\\u6708\",\n jul: \"\\u4E03\\u6708\",\n aug: \"\\u516B\\u6708\",\n sep: \"\\u4E5D\\u6708\",\n oct: \"\\u5341\\u6708\",\n nov: \"\\u5341\\u4E00\\u6708\",\n dec: \"\\u5341\\u4E8C\\u6708\"\n }\n },\n select: {\n loading: \"\\u52A0\\u8F7D\\u4E2D\",\n noMatch: \"\\u65E0\\u5339\\u914D\\u6570\\u636E\",\n noData: \"\\u65E0\\u6570\\u636E\",\n placeholder: \"\\u8BF7\\u9009\\u62E9\"\n },\n cascader: {\n noMatch: \"\\u65E0\\u5339\\u914D\\u6570\\u636E\",\n loading: \"\\u52A0\\u8F7D\\u4E2D\",\n placeholder: \"\\u8BF7\\u9009\\u62E9\",\n noData: \"\\u6682\\u65E0\\u6570\\u636E\"\n },\n pagination: {\n goto: \"\\u524D\\u5F80\",\n pagesize: \"\\u6761/\\u9875\",\n total: \"\\u5171 {total} \\u6761\",\n pageClassifier: \"\\u9875\",\n page: \"\\u9875\",\n prev: \"\\u4E0A\\u4E00\\u9875\",\n next: \"\\u4E0B\\u4E00\\u9875\",\n currentPage: \"\\u7B2C {pager} \\u9875\",\n prevPages: \"\\u5411\\u524D {pager} \\u9875\",\n nextPages: \"\\u5411\\u540E {pager} \\u9875\",\n deprecationWarning: \"\\u4F60\\u4F7F\\u7528\\u4E86\\u4E00\\u4E9B\\u5DF2\\u88AB\\u5E9F\\u5F03\\u7684\\u7528\\u6CD5\\uFF0C\\u8BF7\\u53C2\\u8003 el-pagination \\u7684\\u5B98\\u65B9\\u6587\\u6863\"\n },\n messagebox: {\n title: \"\\u63D0\\u793A\",\n confirm: \"\\u786E\\u5B9A\",\n cancel: \"\\u53D6\\u6D88\",\n error: \"\\u8F93\\u5165\\u7684\\u6570\\u636E\\u4E0D\\u5408\\u6CD5!\"\n },\n upload: {\n deleteTip: \"\\u6309 delete \\u952E\\u53EF\\u5220\\u9664\",\n delete: \"\\u5220\\u9664\",\n preview: \"\\u67E5\\u770B\\u56FE\\u7247\",\n continue: \"\\u7EE7\\u7EED\\u4E0A\\u4F20\"\n },\n table: {\n emptyText: \"\\u6682\\u65E0\\u6570\\u636E\",\n confirmFilter: \"\\u7B5B\\u9009\",\n resetFilter: \"\\u91CD\\u7F6E\",\n clearFilter: \"\\u5168\\u90E8\",\n sumText: \"\\u5408\\u8BA1\"\n },\n tree: {\n emptyText: \"\\u6682\\u65E0\\u6570\\u636E\"\n },\n transfer: {\n noMatch: \"\\u65E0\\u5339\\u914D\\u6570\\u636E\",\n noData: \"\\u65E0\\u6570\\u636E\",\n titles: [\"\\u5217\\u8868 1\", \"\\u5217\\u8868 2\"],\n filterPlaceholder: \"\\u8BF7\\u8F93\\u5165\\u641C\\u7D22\\u5185\\u5BB9\",\n noCheckedFormat: \"\\u5171 {total} \\u9879\",\n hasCheckedFormat: \"\\u5DF2\\u9009 {checked}/{total} \\u9879\"\n },\n image: {\n error: \"\\u52A0\\u8F7D\\u5931\\u8D25\"\n },\n pageHeader: {\n title: \"\\u8FD4\\u56DE\"\n },\n popconfirm: {\n confirmButtonText: \"\\u786E\\u5B9A\",\n cancelButtonText: \"\\u53D6\\u6D88\"\n }\n }\n};\n\nexport { zhCn as default };\n"],"names":["obtainAllFocusableElements","element","Array","from","querySelectorAll","filter","item","isFocusable","getComputedStyle","position","offsetParent","isVisible","tabIndex","getAttribute","disabled","nodeName","href","rel","type","isLeaf","el","getSibling","distance","elClass","parentNode","siblings","prototype","indexOf","call","focusNode","focus","click","composeEventHandlers","theirsHandler","oursHandler","checkForDefaultPrevented","event","shouldPrevent","isUndefined","val","isBoolean","isNumber","isEmpty","isArray","length","isObject","Object","keys","isElement","e","Element","capitalize","str","capitalize$1","keysOf","arr","getProp","obj","path","defaultValue","value","get","set","ElementPlusError","Error","constructor","m","super","this","name","throwError","scope","classNameToArray","cls","split","trim","hasClass","includes","classList","contains","addClass","add","removeClass","remove","getStyle","styleName","_a","isClient","key","camelize","style","computed","document","defaultView","addUnit","defaultUnit","isString","Number","isNaN","isScroll","isVertical","undefined","true","false","String","overflow","some","s","scrollBarWidth","scrollIntoView","container","selected","scrollTop","offsetParents","pointer","push","top","offsetTop","reduce","prev","curr","bottom","offsetHeight","viewRectTop","viewRectBottom","clientHeight","epPropKey","buildProp","prop","values","required","default","validator","_validator","valid","allowedValues","hasOwn","allowValuesText","Set","map","JSON","stringify","join","warn","epProp","buildProps","props","fromPairs","entries","option","iconPropType","Function","CloseComponents","Close","TypeComponents","SuccessFilled","InfoFilled","WarningFilled","CircleCloseFilled","TypeComponentsMap","success","warning","error","info","ValidateComponentsMap","validating","Loading","CircleCheck","CircleClose","withInstall","main","extra","install","app","comp","component","withNoopInstall","NOOP","EVENT_CODE","tab","enter","space","left","up","right","down","esc","delete","backspace","numpadEnter","pageUp","pageDown","home","end","UPDATE_MODEL_EVENT","CHANGE_EVENT","INPUT_EVENT","componentSizes","componentSizeMap","large","small","isValidComponentSize","PatchFlags","PatchFlags2","flattedChildren","children","vNodes","result","forEach","child","isVNode","subTree","unique","castArray","isKorean","text","test","generateId","Math","floor","random","DEFAULT_EXCLUDE_KEYS","LISTENER_PREFIX","useAttrs","params","excludeListeners","excludeKeys","allExcludeKeys","concat","instance","getCurrentInstance","proxy","$attrs","useDeprecated","replacement","version","ref","condition","watch","unref","immediate","useDraggable","targetRef","dragRef","draggable","transform","offsetX","offsetY","onMousedown","downX","clientX","downY","clientY","targetRect","getBoundingClientRect","targetLeft","targetTop","targetWidth","width","targetHeight","height","clientWidth","documentElement","minLeft","minTop","maxLeft","maxTop","onMousemove","e2","moveX","min","max","moveY","onMouseup","removeEventListener","addEventListener","offDraggable","onMounted","watchEffect","onBeforeUnmount","English","colorpicker","confirm","clear","defaultLabel","description","datepicker","now","today","cancel","dateTablePrompt","monthTablePrompt","yearTablePrompt","selectedDate","selectDate","selectTime","startDate","startTime","endDate","endTime","prevYear","nextYear","prevMonth","nextMonth","year","month1","month2","month3","month4","month5","month6","month7","month8","month9","month10","month11","month12","week","weeks","sun","mon","tue","wed","thu","fri","sat","weeksFull","months","jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec","inputNumber","decrease","increase","select","loading","noMatch","noData","placeholder","dropdown","toggleDropdown","cascader","pagination","goto","pagesize","total","pageClassifier","page","next","currentPage","prevPages","nextPages","deprecationWarning","dialog","close","drawer","messagebox","title","upload","deleteTip","preview","continue","slider","defaultRangeStartLabel","defaultRangeEndLabel","table","emptyText","confirmFilter","resetFilter","clearFilter","sumText","tree","transfer","titles","filterPlaceholder","noCheckedFormat","hasCheckedFormat","image","pageHeader","popconfirm","confirmButtonText","cancelButtonText","buildTranslator","locale","translate","replace","_","localeContextKey","Symbol","useLocale","localeOverrides","inject","lang","isRef","t","buildLocaleContext","defaultNamespace","_bem","namespace","block","blockSuffix","modifier","namespaceContextKey","useGetDerivedNamespace","namespaceOverrides","derivedNamespace","useNamespace","b","be","em","bm","bem","is","args","state","cssVar","object","styles","cssVarName","cssVarBlock","cssVarBlockName","useLockscreen","trigger","options","ns","hiddenCls","body","withoutHiddenClass","bodyWidth","cleanup","setTimeout","outer","createElement","className","visibility","appendChild","widthNoScroll","offsetWidth","inner","widthWithScroll","removeChild","getScrollBarWidth","bodyHasOverflow","scrollHeight","bodyOverflowY","onScopeDispose","_prop","Boolean","_event","createModelToggleComposable","updateEventKey","updateEventKeyRaw","useModelToggle","indicator","toggleReason","shouldHideWhenRouteChanges","shouldProceed","onShow","onHide","emit","hasUpdateHandler","isFunction","isModelBindingAbsent","doShow","doHide","show","shouldEmit","hide","onChange","appContext","config","globalProperties","$route","toggle","useModelToggleProps","useModelToggleEmits","useProp","vm","_b","$props","usePopper","referenceElementRef","popperElementRef","opts","stateUpdater","enabled","phase","fn","derivedState","elements","attributes","deriveState","assign","states","requires","onFirstUpdate","placement","strategy","modifiers","instanceRef","shallowRef","popper","arrow","destroy","newOptions","setOptions","deep","referenceElement","popperElement","createPopper","update","forceUpdate","useSameTarget","handleClick","onClick","mousedownTarget","mouseupTarget","target","currentTarget","useTimeout","timeoutHandle","cancelTimeout","window","clearTimeout","tryOnScopeDispose","registerTimeout","delay","defaultIdInjection","prefix","current","ID_INJECTION_KEY","useIdInjection","useId","deterministicId","idInjection","registeredEscapeHandlers","cachedHandler","registeredHandler","cachedContainer","usePopperContainerId","id","selector","usePopperContainer","onBeforeMount","querySelector","createContainer","useDelayedToggleProps","showAfter","hideAfter","autoClose","useDelayedToggle","open","registerTimeoutForAutoClose","cancelTimeoutForAutoClose","onOpen","_autoClose","onClose","FORWARD_REF_INJECTION_KEY","zIndex","defaultInitialZIndex","zIndexContextKey","useZIndex","zIndexOverrides","zIndexInjection","initialZIndex","zIndexFromInjection","currentZIndex","nextZIndex","useOrderedChildren","childComponentName","orderedChildren","addChild","uid","n","p","getOrderedChildren","children2","useSizeProp","SIZE_INJECTION_KEY","configProviderContextKey","globalConfig","useGlobalConfig","useGlobalComponentSettings","sizeFallback","size","provideGlobalConfig","global","inSetup","oldConfig","provideFn","provide","context","cfg","mergeConfig","a","configProviderProps","a11y","button","experimentalFeatures","keyboardNavigation","message","messageConfig","ElConfigProvider","defineComponent","setup","slots","renderSlot","_export_sfc","sfc","__vccOpts","iconProps","color","__default__","inheritAttrs","ElIcon","__props","fontSize","_ctx","_cache","openBlock","createElementBlock","mergeProps","class","$slots","formContextKey","formItemContextKey","useFormSize","fallback","ignore","emptyRef","injectedSize","useGlobalSize","form","formItem","useFormDisabled","useFormItem","useFormItemInputId","formItemContext","disableIdGeneration","disableIdManagement","inputId","idUnwatch","isLabeledByFormItem","label","inputIds","toRef","disableIdGeneration2","newId","removeInputId","addInputId","onUnmounted","formMetaProps","formProps","model","rules","labelPosition","requireAsteriskPosition","labelWidth","labelSuffix","inline","inlineMessage","statusIcon","showMessage","validateOnRuleChange","hideRequiredAsterisk","scrollToError","scrollIntoViewOptions","formEmits","validate","isValid","useFormLabelWidth","potentialLabelWidthArr","autoLabelWidth","getLabelWidthIndex","index","registerLabelWidth","oldVal","splice","deregisterLabelWidth","filterFields","fields","normalized","field","Form","emits","expose","formSize","formClasses","resetFields","properties","resetField","clearValidate","props2","isValidatable","async","callback","validateField","doValidateField","fields2","filteredFields","obtainValidateFields","validationErrors","fields3","Promise","reject","modelProps","shouldThrow","invalidFields","scrollToField","$el","catch","err","reactive","toRefs","addField","removeField","normalizeClass","formItemProps","validateStatus","for","COMPONENT_NAME","FormLabelWrap","isAutoWidth","updateAll","formContext","computedWidth","updateLabelWidth","action","nextTick","firstElementChild","ceil","parseFloat","getLabelWidth","updateLabelWidthFn","onUpdated","useResizeObserver","hasLabel","marginWidth","parseInt","marginPosition","createVNode","Fragment","_hoisted_1","FormItem","useSlots","parentFormItemContext","_size","labelId","validateState","validateStateDebounced","refDebounced","validateMessage","formItemRef","initialValue","isResettingField","labelStyle","contentStyle","isNested","marginLeft","formItemClasses","isRequired","_inlineMessage","validateClasses","propString","labelFor","isGroup","fieldValue","normalizedRules","formRules","_rules","requiredRules","rule","i","validateEnabled","shouldShowError","currentLabel","setValidationState","doValidate","modelName","AsyncValidator","firstFields","then","errors","console","onValidationFailed","hasCallback","trigger2","getFilteredRule","computedValue","clone","listId","ref_key","role","withCtx","createBlock","resolveDynamicComponent","normalizeStyle","createTextVNode","toDisplayString","createCommentVNode","createElementVNode","TransitionGroup","ElForm","ElFormItem","hiddenTextarea","HIDDEN_STYLE","navigator","userAgent","CONTEXT_STYLE","calcTextareaHeight","targetElement","minRows","maxRows","paddingSize","borderSize","boxSizing","contextStyle","getPropertyValue","calculateNodeStyling","setAttribute","singleRowHeight","minHeight","maxHeight","inputProps","modelValue","resize","autosize","autocomplete","formatter","parser","readonly","clearable","showPassword","showWordLimit","suffixIcon","prefixIcon","containerRole","tabindex","validateEvent","inputStyle","inputEmits","input","change","evt","FocusEvent","blur","mouseleave","MouseEvent","mouseenter","keydown","Event","compositionstart","CompositionEvent","compositionupdate","compositionend","_hoisted_2","_hoisted_3","ElInput","rawAttrs","containerAttrs","comboBoxAttrs","containerKls","nsTextarea","nsInput","inputSize","inputDisabled","inputExceed","prepend","append","suffix","showClear","showPwdVisible","wrapperKls","isFocused","attrs","useAttrs$1","textarea","hovering","isComposing","passwordVisible","countStyle","textareaCalcStyle","_ref","wrapperRef","handleFocus","handleBlur","afterFocus","afterBlur","useEventListener","relatedTarget","useFocusController","needStatusIcon","validateIcon","passwordIcon","View","Hide","containerStyle","textareaStyle","nativeInputValue","isNil","isWordLimitVisible","maxlength","textLength","suffixVisible","recordCursor","setCursor","selectionRef","selectionStart","selectionEnd","beforeTxt","slice","afterTxt","startPos","endsWith","startsWith","beforeLastChar","newIndex","setSelectionRange","useCursor","entry","contentRect","resizeTextarea","textareaStyle2","overflowY","onceInitSizeTextarea","resizeTextarea2","isInit","createOnceInitResize","setNativeInputValue","input2","formatterValue","handleInput","handleChange","handleCompositionStart","handleCompositionUpdate","lastCharacter","handleCompositionEnd","handlePasswordVisible","handleMouseLeave","handleMouseEnter","handleKeydown","withDirectives","onMouseenter","onMouseleave","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onFocus","onBlur","onKeydown","withModifiers","vShow","BAR_MAP","vertical","offset","scroll","scrollSize","axis","client","direction","horizontal","scrollbarContextKey","thumbProps","move","ratio","always","Thumb","__name","scrollbar","thumb","thumbState","visible","cursorDown","cursorLeave","originalOnSelectStart","onselectstart","bar","thumbStyle","renderThumbStyle","offsetRatio","wrapElement","clickThumbHandler","stopPropagation","ctrlKey","getSelection","removeAllRanges","startDrag","clickTrackHandler","thumbPositionPercentage","abs","stopImmediatePropagation","mouseMoveDocumentHandler","mouseUpDocumentHandler","prevPage","restoreOnselectstart","Transition","persisted","barProps","ratioX","ratioY","Bar","handleScroll","wrap","scrollLeft","scrollbarProps","native","wrapStyle","wrapClass","viewClass","viewStyle","noresize","tag","minSize","scrollbarEmits","every","ElScrollbar","stopResizeObserver","stopResizeListener","scrollbarRef","wrapRef","resizeRef","sizeWidth","sizeHeight","barRef","style2","wrapKls","resizeKls","originalHeight","originalWidth","scrollWidth","stop","scrollbarElement","scrollTo","arg1","arg2","setScrollTop","setScrollLeft","onScroll","POPPER_INJECTION_KEY","POPPER_CONTENT_INJECTION_KEY","popperProps","Popper","popperProvides","triggerRef","popperInstanceRef","contentRef","referenceRef","popperArrowProps","arrowOffset","ElPopperArrow","arrowRef","arrowStyle","OnlyChild","forwardRefInjection","forwardRefDirective","setForwardRef","mounted","updated","unmounted","_a2","defaultSlot","firstLegitNode","findFirstLegitChild","cloneVNode","node","Comment","Text","wrapTextContent","popperTriggerProps","virtualRef","virtualTriggering","onContextmenu","ElPopperTrigger","forwardRef","ariaControls","ariaHaspopup","ariaDescribedby","ariaExpanded","virtualTriggerAriaStopWatch","virtualEl","unrefElement","prevEl","eventName","handler","toLowerCase","watches","idx","removeAttribute","FOCUS_AFTER_TRAPPED","FOCUS_AFTER_RELEASED","FOCUS_AFTER_TRAPPED_OPTS","cancelable","bubbles","FOCUSOUT_PREVENTED_OPTS","ON_TRAP_FOCUS_EVT","ON_RELEASE_FOCUS_EVT","FOCUS_TRAP_INJECTION_KEY","focusReason","lastUserFocusTimestamp","lastAutomatedFocusTimestamp","focusReasonUserCount","nodes","walker","createTreeWalker","NodeFilter","SHOW_ELEMENT","acceptNode","isHiddenInput","tagName","hidden","FILTER_SKIP","activeElement","FILTER_ACCEPT","nextNode","currentNode","getVisibleElement","isHidden","display","parentElement","tryFocus","shouldSelect","prevFocusedElement","preventScroll","performance","HTMLInputElement","isSelectable","removeFromStack","list","copy","focusableStack","stack","layer","currentLayer","pause","unshift","resume","createFocusableStack","notifyFocusReasonPointer","notifyFocusReasonKeydown","createFocusOutPreventedEvent","detail","CustomEvent","ElFocusTrap","loop","trapped","focusTrapEl","focusStartEl","lastFocusBeforeTrapped","lastFocusAfterTrapped","focusLayer","paused","altKey","metaKey","shiftKey","isTabbing","currentFocusingEl","first","last","focusable","reverse","getEdges","focusoutPreventedEvent","defaultPrevented","preventDefault","focusTrapRef","forwardRef2","oldForwardRef","onFocusIn","onFocusOut","trapOnFocus","releaseOnFocus","trapContainer","isFocusedInTrap","startTrap","focusEvent","dispatchEvent","focusFirstDescendant","stopTrap","releasedEvent","$setup","$data","$options","popperCoreConfigProps","boundariesPadding","fallbackPlacements","gpuAcceleration","placements","popperOptions","popperContentProps","effect","enterable","pure","focusOnShow","trapping","popperClass","popperStyle","referenceEl","triggerTargetEl","stopPopperMouseEvent","ariaLabel","popperContentEmits","buildPopperOptions","genModifiers","deriveExtraModifiers","padding","usePopperContent","eventListenerModifier","arrowModifier","arrowEl","computedReference","unwrapMeasurableEl","ElPopperContent","focusStartRef","onFocusAfterReleased","onFocusAfterTrapped","onFocusInTrap","onFocusoutPrevented","onReleaseRequested","usePopperContentFocusTrap","ariaModal","contentAttrs","contentClass","updateZIndex","contentZIndex","usePopperContentDOM","triggerTargetAriaStopWatch","updatePopper","shouldUpdateZIndex","togglePopperAlive","prevTriggerTargetEl","popperContentRef","$emit","onFocusin","ElPopper","TOOLTIP_INJECTION_KEY","useTooltipContentProps","appendTo","content","rawContent","persistent","transition","teleported","useTooltipTriggerProps","triggerKeys","useTooltipModelToggleProps","useTooltipModelToggleEmits","useTooltipModelToggle","useTooltipProps","showArrow","tooltipEmits","whenTrigger","isTriggerType","ElTooltipTrigger","controlled","onToggle","stopWhenControlledOrDisabled","onContextMenu","code","ElTooltipContent","destroyed","onBeforeShow","onBeforeHide","transitionClass","persistentRef","shouldRender","shouldShow","ariaHidden","onTransitionLeave","stopWhenControlled","onContentEnter","onContentLeave","onBeforeEnter","onBeforeLeave","onAfterShow","stopHandle","onClickOutside","flush","Teleport","to","onAfterLeave","onAfterEnter","ElTooltip","popperRef","popperComponent","onDeactivated","isFocusInsideContent","popperContent","innerHTML","avatarProps","shape","icon","src","alt","srcSet","fit","avatarEmits","ElAvatar","hasLoadError","avatarClass","sizeStyle","fitStyle","objectFit","handleError","srcset","onError","backtopProps","visibilityHeight","backtopEmits","ElBacktop","componentName","handleScrollThrottled","useThrottleFn","behavior","useBackTop","backTopStyle","CaretTop","badgeProps","isDot","ElBadge","textContent","breadcrumbKey","breadcrumbProps","separator","separatorIcon","Breadcrumb","breadcrumb","items","breadcrumbItemProps","BreadcrumbItem","breadcrumbContext","router","$router","link","ElBreadcrumb","ElBreadcrumbItem","buttonGroupContextKey","buttonProps","nativeType","loadingIcon","plain","bg","autofocus","round","circle","dark","autoInsertSpace","buttonEmits","darken","amount","mix","toString","Button","buttonStyle","_disabled","buttonColor","TinyColor","activeBgColor","tint","hoverBgColor","textColor","isDark","disabledButtonColor","useButtonCustomStyle","_type","_props","shouldAddSpace","buttonGroupContext","_c","ariaDisabled","slot","useButton","buttonGroupProps","ButtonGroup","ElButton","timeUnits","DEFAULT_FORMATS_TIME","DEFAULT_FORMATS_DATE","DEFAULT_FORMATS_DATEPICKER","date","dates","month","datetime","monthrange","daterange","datetimerange","buildTimeList","bound","rangeArr","extractDateFormat","format","extractTimeFormat","dateEquals","aIsDate","isDate","bIsDate","getTime","valueEquals","aIsArray","bIsArray","parseDate","day","dayjs","makeList","method","disabledArr","disabledTimeListsProps","disabledHours","disabledMinutes","disabledSeconds","timePanelSharedProps","actualVisible","timePickerDefaultProps","valueFormat","clearIcon","editable","Date","rangeSeparator","startPlaceholder","endPlaceholder","defaultTime","isRange","disabledDate","cellClassName","shortcuts","arrowControl","unlinkPanels","CommonPicker","nsDate","nsRange","elPopperOptions","refPopper","inputRef","pickerVisible","pickerActualVisible","valueOnOpen","hasJustTabExitedInput","ignoreFocusEvent","rangeInputKls","pickerDisabled","pickerSize","clearIconKls","showClose","userInput","emitChange","isClear","emitInput","formatted","refInput","_r","isRangeInput","start","pos","_inputs","onPick","toDate","onKeydownPopperContent","focusStartInput","isIgnoreFocusEvent","leftInput","rightInput","handleFocusInput","currentHandleBlurDeferCallback","handleBlurInput","handleBlurDefer","parsedValue","dayOrDays","valueIsEmpty","pickerOptions","getDefaultValue","d","getRangeAvailableTime","availableResult","isEqual","displayValue","panelReady","formattedValue","formatDayjsToString","isTimePicker","isDatesPicker","isTimeLikePicker","triggerIcon","Clock","Calendar","onClearIconClick","handleClear","onMouseDownInput","onMouseEnter","onMouseLeave","onTouchStartInput","touches","popperEl","actualInputRef","unrefedPopperEl","inputEl","composedPath","parseUserInputToDayjs","isValidValue","parseUserInput","formatToString","handleKeydownInput","handleFocusPicker","onUserInput","handleStartInput","handleEndInput","handleStartChange","parsedVal","newValue","handleEndChange","onSetPickerOption","onCalendarChange","onPanelChange","mode","view","handleOpen","handleClose","onTouchstart","onSelectRange","panelTimePickerProps","datetimeRole","makeAvailableArr","disabledList","isDisabled","predicate","getTimeLists","getHoursList","compare","getMinutesList","hour","getSecondsList","minute","nodeList","Map","startClick","createDocumentHandler","binding","excludes","arg","mouseup","mousedown","mouseUpTarget","mouseDownTarget","isBound","isTargetExists","isContainedByEl","isSelf","isTargetExcluded","isContainedByPopper","handlers","documentHandler","ClickOutside","beforeMount","has","bindingFn","oldHandlerIndex","findIndex","oldValue","newHandler","REPEAT_INTERVAL","REPEAT_DELAY","vRepeatClick","interval","intervalId","delayId","clearInterval","once","setInterval","FOCUSABLE_CHILDREN","FOCUS_STACK","FOCUS_HANDLER","focusableElement","goingBackward","isFirst","isLast","TrapFocus","shift","Mousewheel","normalizeWheel","Reflect","apply","passive","mousewheel","basicTimeSpinnerProps","spinnerDate","showSeconds","amPmMode","TimeSpinner","isScrolling","currentScrollbar","listRefsMap","hours","minutes","seconds","spinnerItems","timePartials","second","timeList","arrowControlTimeList","debouncedResetScroll","debounce","adjustCurrentSpinner","getAmPmFlag","toUpperCase","emitSelectRange","range","adjustSpinner","adjustSpinners","getScrollbarElement","typeItemHeight","listItem","onIncrement","scrollDown","onDecrement","step","findNextUnDisabled","modifyDateField","changeTo","scrollBarHeight","bindScrollEvent","bindFunction","onscroll","renderList","ref_for","setRef","$event","ArrowUp","ArrowDown","time","TimePickPanel","pickerBase","getAvailableHours","getAvailableMinutes","getAvailableSeconds","buildAvailableTimeSlotGetter","selectionRange","useOldValue","transitionName","handleCancel","_date","millisecond","timePickerOptions","onSetOption","getAvailableTime","compareDate","availableTimeGetters","availableTimeSlots","useTimePanel","parsedDate","isSame","mapping","changeSelectionRange","handleConfirm","cardProps","header","bodyStyle","shadow","ElCard","carouselProps","initialIndex","autoplay","indicatorPosition","pauseOnHover","carouselEmits","carouselContextKey","useCarousel","addItem","removeItem","activeIndex","timer","hover","root","containerHeight","arrowDisplay","isCardType","throttledArrowClick","throttle","setActiveItem","trailing","throttledIndicatorHover","handleIndicatorHover","pauseTimer","startTimer","playSlides","filteredItems","itemCount","oldIndex","resetItemPosition","translateItem","resetTimer","prev2","resizeObserver","setContainerHeight","handleButtonEnter","_d","_items","inStage","nextItemIndex","prevItemIndex","lastItemIndex","isLastItemActive","active","isFirstItemActive","isNextItemActive","isPrevItemActive","itemInStage","handleButtonLeave","handleIndicatorClick","Carousel","carouselClasses","classes","indicatorsClasses","ArrowLeft","ArrowRight","carouselItemProps","useCarouselItem","carouselContext","CARD_SCALE","carouselItemRef","scale","ready","animating","_isCardType","carouselItemLength","NaN","isActive","halfItemIndex","processIndex","_isVertical","parentWidth","calcCardTranslate","isVertical2","rootEl","calcTranslate","handleItemClick","CarouselItem","itemStyle","ElCarousel","ElCarouselItem","checkboxProps","indeterminate","checked","trueLabel","falseLabel","controls","border","checkboxEmits","checkboxGroupContextKey","useCheckboxEvent","isLimitExceeded","hasOwnLabel","checkboxGroup","getLabeledValue","onClickRoot","emitChangeEvent","useCheckbox","elFormItem","selfModel","changeEvent","useCheckboxModel","isChecked","checkboxButtonSize","checkboxSize","toRaw","o","useCheckboxStatus","isLimitDisabled","useCheckboxDisabled","setStoreValue","Checkbox","compKls","spanKls","vModelCheckbox","CheckboxButton","activeStyle","fillValue","fill","backgroundColor","borderColor","boxShadow","labelKls","checkboxGroupProps","checkboxGroupEmits","CheckboxGroup","groupId","pick","ElCheckbox","ElCheckboxGroup","radioPropsBase","radioProps","radioEmits","radioGroupKey","useRadio","radioRef","radioGroup","Radio","vModelRadio","radioButtonProps","RadioButton","radioGroupProps","radioGroupEmits","_sfc_main","radioId","radioGroupRef","radios","firstLabel","radio","RadioGroup","ElRadio","ElRadioGroup","ElRadioButton","NodeContent","render","panel","$parent","data","renderLabelFn","h","CASCADER_PANEL_INJECTION_KEY","components","Check","menuId","isHoverMenu","multiple","checkStrictly","checkedNodeId","checkedNodes","expandable","inExpandingPath","isInPath","expandingNode","inCheckedPath","level","pathNodes","doExpand","expandNode","doCheck","handleCheckChange","doLoad","lazyLoad","handleExpand","loaded","handleCheck","handleHoverExpand","handleSelectCheck","ElCascaderMenu","ElCascaderNode","_component_el_checkbox","resolveComponent","_component_el_radio","_component_check","_component_el_icon","_component_node_content","_component_loading","_component_arrow_right","activeNode","hoverTimer","hoverZone","isLoading","initialLoaded","clearHoverTimer","clearHoverZone","handleMouseMove","vnode","startX","hoverThreshold","_component_el_cascader_node","_component_el_scrollbar","onExpand","Node","parent","valueKey","labelKey","childrenKey","childrenData","calculatePathNodes","pathValues","pathLabels","lazy","leaf","valueByOption","emitPath","childData","calcText","allLevels","broadcast","handlerName","onParentCheck","setCheckState","onChildCheck","validChildren","totalNum","checkedNum","c","flatNodes","leafOnly","res","Store","nodeData","allNodes","leafNodes","getNodes","getFlattedNodes","appendNode","appendNodes","nodeDataList","getNodeByValue","find","node2","getSameNode","CommonProps","DefaultProps","expandTrigger","getMenuIndex","pieces","CascaderPanel","renderLabel","manualChecked","useCascaderConfig","store","menuList","checkedValue","menus","cb","dataList","_node","silent","newMenus","newExpandingNode","emitClose","oldNode","expandParentNode","getCheckedNodes","calculateCheckedValue","oldNodes","newNodes","newNodesCopy","newIds","acc","sortByOriginalOrder","syncCheckedValue","forced","flattenDeep","syncMenuState","cloneDeep","newCheckedNodes","reserveExpandingState","oldExpandingNode","scrollToExpandingNode","menu","menuElement","onBeforeUpdate","handleKeyDown","preMenu","expandedNode","nextMenu","firstNode","checkNode","clearCheckedNodes","_component_el_cascader_menu","_CascaderPanel","tagProps","closable","disableTransitions","hit","tagEmits","ElTag","tagSize","appear","cascaderProps","filterable","filterMethod","keyword","showAllLevels","collapseTags","collapseTagsTooltip","beforeFilter","tagType","cascaderEmits","visibleChange","expandChange","removeTag","modifiersData","x","inputInitialHeight","pressDeleteCount","nsCascader","tooltipRef","tagWrapper","cascaderPanelRef","suggestionPanel","popperVisible","inputHover","filtering","filterFocus","inputValue","searchInputValue","presentTags","allPresentTags","suggestions","isOnComposition","cascaderStyle","inputPlaceholder","currentPlaceholder","realSize","searchKeyword","clearBtnVisible","presentText","cascaderKls","cascaderIconKls","inputClass","togglePopperVisible","updatePopperPosition","hideSuggestionPanel","genTag","hitState","isCollapseTag","deleteTag","calculateSuggestions","focusFirstNode","updateStyle","inputInner","tagWrapperEl","suggestionPanelEl","minWidth","handleExpandChange","handleComposition","syncPresentTextValue","handleSuggestionKeyDown","handleDelete","tags","lastTag","handleFilter","passed","isPromise","getInputInnerHeight","useCssVar","allTags","rest","restCount","inputInnerHeight","tag2","withKeys","vModelText","onExpandChange","$nextTick","handleSuggestionClick","Cascader","ElCascader","emitChangeFn","collapseProps","accordion","collapseEmits","collapseContextKey","activeNames","setActiveNames","_activeNames","useCollapse","rootKls","useCollapseDOM","Collapse","CollapseTransition","reset","dataset","oldOverflow","paddingTop","oldPaddingTop","paddingBottom","oldPaddingBottom","on","beforeEnter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","toHandlers","_CollapseTransition","collapseItemProps","CollapseItem","focusing","handleHeaderClick","handleEnterClick","collapse","isClick","useCollapseItem","arrowKls","headKls","itemWrapperKls","itemContentKls","scopedContentId","scopedHeadId","useCollapseItemDOM","onKeypress","ElCollapse","ElCollapseItem","Container","vNode","Aside","Footer","Header","Main","ElMain","ROOT_PICKER_INJECTION_KEY","datePickerProps","selectionModes","datePickerSharedProps","minDate","maxDate","rangeState","selecting","panelSharedProps","panelRangeSharedProps","selectionModeWithDefault","panelDatePickProps","basicDateTableProps","showWeekNumber","selectionMode","isValidRange","isDayjs","isSameOrBefore","unit","basicCellProps","cell","ElDatePickerCell","patchFlag","_hoisted_4","DateTable","tbodyRef","currentCellRef","lastRow","lastColumn","tableRows","focusWithClick","firstDayOfWeek","$locale","weekStart","WEEKS_CONSTANT","localeData","weekdaysShort","offsetDay","startDayOfMonth","startOf","subtract","WEEKS","hasCurrent","flatten","rows","row","isCurrent","days","startOfMonth","startOfMonthDay","dateCountOfMonth","daysInMonth","dateCountOfLastMonth","setCellMetadata","columnIndex","rowIndex","count","_selectedDate","shouldIncrement","numberOfDaysFromPreviousMonth","setDateText","cellDate","valueOf","isSelected","customClass","setRowMetadata","isWeekActive","inRange","rows_","dateUnit","dimension","columnIndexOffset","nextEndDate","relativeDateGetter","column","nextStartDate","timestamp","isSameOrAfter","buildPickerTable","isNormalDay","cellMatchesDate","getCellClasses","getDateOfCell","offsetFromStart","cellIndex","isSelectedCell","handlePickDate","handleMouseDown","closest","handleMouseUp","isKeyboardMovement","newDate","weekNumber","dayOffset","cellspacing","cellpadding","rowKey","columnKey","basicMonthTableProps","MonthTable","monthsShort","rows2","j","calTime","calEndDate","getCellStyle","lang2","firstDay","numOfDays","datesInMonth","getFullYear","getMonth","handleMonthTableClick","key_","basicYearTableProps","YearTable","startYear","getCellKls","kls","endOf","dayOfYear","datesInYear","handleYearTableClick","innerText","__","_hoisted_5","DatePickPanel","contextEmit","ppNs","dpNs","currentViewRef","innerDate","isChangeToNow","defaultTimeD","selectableRange","userInputDate","userInputTime","checkDateWithinRange","formatEmit","emitDayjs","visibleTime","showTime","handleDatePick","keepOpen","moveByMonth","forward","handlePanelChange","moveByYear","currentDate","currentView","yearLabel","yearTranslation","keyboardMode","hasShortcuts","handleMonthPick","handleYearPick","year2","showPicker","footerVisible","disabledConfirm","onConfirm","defaultTimeD2","defaultValueD","disabledNow","changeToNow","nowDate","timeFormat","dateFormat","visibleDate","timePickerVisible","onTimePickerInputFocus","handleTimePickClose","getUnits","handleTimePick","handleVisibleTimeChange","handleVisibleDateChange","defaultTimeDValue","handleKeyControl","handleKeydownTable","setFullYear","setMonth","setDate","getDate","getDay","diff","sidebar","shortcut","shortcutValue","handleShortcutClick","DArrowLeft","DArrowRight","panelDateRangeProps","useRangePicker","leftDate","rightDate","onParsedValueChanged","pickerNs","drpNs","shortcutValues","useShortcut","restoreDefault","handleChangeRange","handleRangeConfirm","_minDate","_maxDate","onSelect","DateRangePickPanel","minDate2","maxDate2","minDateYear","minDateMonth","maxDateYear","maxDateMonth","dateUserInput","timeUserInput","leftLabel","rightLabel","leftYear","leftMonth","rightYear","rightMonth","minVisibleDate","maxVisibleDate","minVisibleTime","maxVisibleTime","leftPrevYear","leftPrevMonth","rightNextYear","rightNextMonth","leftNextYear","leftNextMonth","rightPrevYear","rightPrevMonth","enableMonthArrow","yearOffset","enableYearArrow","btnDisabled","handleRangePick","min_","max_","minDate_","maxDate_","minTimePickerVisible","maxTimePickerVisible","handleMinTimeClose","handleMaxTimeClose","handleDateInput","parsedValueD","isBefore","isAfter","handleDateChange","handleTimeInput","handleTimeChange","handleMinTimePick","handleMaxTimePick","onChangerange","panelMonthRangeProps","MonthRangePickPanel","useMonthRangeHeader","extend","advancedFormat","customParseFormat","weekOfYear","weekYear","_DatePicker","commonPicker","onModelValueUpdated","Component","getPanel","scopedProps","ElDatePicker","descriptionsKey","ElDescriptionsCell","descriptions","_e","_f","raw","getNormalizedProps","span","align","labelAlign","labelClassName","colSpan","descriptionsRowProps","ElDescriptionsRow","descriptionProps","Descriptions","descriptionsSize","descriptionKls","filledNode","getRows","temp","totalSpan","lastSpan","DescriptionsItem","ElDescriptions","ElDescriptionsItem","overlayProps","mask","customMaskEvent","overlayClass","ElOverlay","STYLE","CLASS","PROPS","dialogInjectionKey","dialogContentProps","center","alignCenter","closeIcon","fullscreen","ElDialogContent","dialogRef","headerRef","bodyId","dialogKls","composedDialogRef","refs","composeRefs","footer","dialogProps","appendToBody","beforeClose","destroyOnClose","closeOnClickModal","closeOnPressEscape","lockScroll","modal","openDelay","closeDelay","modalClass","trapFocus","dialogEmits","opened","closed","openAutoFocus","closeAutoFocus","ElDialog","dialogContentRef","titleId","overlayDialogStyle","rendered","onModalClick","onOpenAutoFocus","onCloseAutoFocus","onCloseRequested","lastPosition","openTimer","closeTimer","varPrefix","useTimeoutFn","doOpen","doClose","shouldCancel","useDialog","overlayEvent","createSlots","titleClass","viewBox","xmlns","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","stroke","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","ImgEmpty","x1","y1","x2","y2","y","points","emptyProps","imageSize","ElEmpty","emptyDescription","imageStyle","ondragstart","imageViewerProps","urlList","infinite","hideOnClickModal","zoomRate","imageViewerEmits","switch","ElImageViewer","modes","CONTAIN","markRaw","FullScreen","ORIGINAL","ScaleToOriginal","wrapper","imgRefs","scopeEventListener","effectScope","deg","enableTransition","isSingle","currentImg","arrowPrevKls","arrowNextKls","imgStyle","translateX","translateY","maxWidth","computedZIndex","handleImgLoad","handleImgError","pageX","startY","pageY","dragHandler","ev","removeMousemove","toggleMode","modeNames","modeValues","currentMode","nextIndex","len","handleActions","rotateDeg","toFixed","$img","complete","keydownHandler","mousewheelHandler","deltaY","deltaX","run","ZoomOut","ZoomIn","RefreshLeft","RefreshRight","url","onLoad","imageProps","scrollContainer","previewSrcList","previewTeleported","imageEmits","load","ElImage","prevOverflow","imageSrc","showViewer","_scrollContainer","supportLoading","HTMLImageElement","stopScrollListener","stopWheelListener","imageKls","imageIndex","previewIndex","isManual","loadImage","handleLoad","handleLazyLoad","elRect","containerRect","innerWidth","innerHeight","isInContainer","lazyLoadHandler","addLazyLoadListener","getScrollContainer","removeLazyLoadListener","wheelHandler","clickHandler","closeViewer","switchViewer","onSwitch","viewer","inputNumberProps","stepStrictly","POSITIVE_INFINITY","NEGATIVE_INFINITY","controlsPosition","valueOnClear","precision","inputNumberEmits","cur","ElInputNumber","currentValue","minDisabled","maxDisabled","numPrecision","stepPrecision","getPrecision","controlsAtRight","inputNumberSize","inputNumberDisabled","toPrecision","num","pre","snum","pointPos","charAt","valueString","dotPosition","ensurePrecision","coefficient","newVal","setCurrentValue","verifyValue","handleInputChange","innerInput","isFinite","onDragstart","Minus","Plus","onWheel","linkProps","underline","linkEmits","ElLink","linkKls","elPaginationKey","paginationPrevProps","prevText","prevIcon","paginationPrevEmits","Prev","internalDisabled","paginationNextProps","pageCount","nextText","nextIcon","Next","selectGroupKey","selectKey","Option","created","itemSelected","groupDisabled","hoverItem","selectGroup","limitReached","multipleLimit","remote","setSelected","onOptionDestroy","onOptionCreate","queryChange","changes","query","regexp","RegExp","string","escapeStringRegexp","filteredOptionsCount","hoverIndex","optionsArray","useOption","doesSelected","cachedOptions","selectOptionClick","handleOptionSelect","ElSelectMenu","isMultiple","isFitInputWidth","fitInputWidth","updateMinWidth","selectWrapper","useSelect","ctx","suffixTransition","reference","iOSInput","tagTooltipRef","hoverOption","groupQueryChange","optionList","originClientHeight","selectDisabled","hasValue","inputHovering","iconComponent","remoteShowSuffix","iconReverse","showStatusIconAndState","debounce$1","loadingText","noMatchText","noDataText","newList","cachedOptionsArray","showNewOption","hasExistingOption","allowCreate","selectSize","collapseTagSize","dropMenuVisible","cachedPlaceHolder","reserveKeyword","handleQueryChange","inputLength","optionsCount","selectedLabel","remoteMethod","previousQuery","menuVisibleOnFocus","createdSelected","createdLabel","inputs","defaultFirstOption","resetInputHeight","_tags","gotSize","sizeInMap","managePlaceholder","checkDefaultFirstOption","optionsInDropdown","userCreatedOption","firstOriginOption","getValueIndex","getOption","isObjectValue","toRawType","isNull","cachedOption","newOption","resetHoverIndex","getValueKey","resetInputWidth","inputWidth","debouncedOnInputChange","debouncedQueryChange","deleteSelected","optionIndex","scrollToOption","setSoftFocus","_input","targetOption","toggleLastOptionHitState","toggleMenu","mouseEnter","optionsAllDisabled","showTagList","maxCollapseTags","collapseTagList","navigateOptions","selectTagsStyle","handleResize","deletePrevTag","pop","resetInputState","handleMenuEnter","focused","automaticDropdown","handleClearClick","handleKeydownEscape","selectOption","handleDeleteTooltipTag","ElOptions","filteredOptions","filterOptions","_b2","isSameOptions","ElOption","directives","nsSelect","prefixWidth","useSelectStates","_selectSize","tagsKls","tagWrapperKls","inputKls","iOSInputKls","scrollbarKls","tagTextStyle","flexGrow","refEl","popperPaneRef","isIOS","onOptionsRendered","v","Select","_component_el_tag","_component_el_tooltip","_component_el_input","_component_el_option","_component_el_options","_component_el_select_menu","_directive_click_outside","resolveDirective","margin","onKeyup","onPaste","onUpdateOptions","empty","OptionGroup","ElSelect","usePagination","paginationSizesProps","pageSize","pageSizes","Sizes","innerPageSize","innerPageSizes","handleSizeChange","paginationJumperProps","Jumper","innerValue","trunc","paginationTotalProps","Total","paginationPagerProps","pagerCount","Pager","nsPager","nsIcon","showPrevMore","showNextMore","quickPrevHover","quickNextHover","quickPrevFocus","quickNextFocus","pagers","halfPagerCount","showPrevMore2","showNextMore2","array","prevMoreKls","nextMoreKls","onEnter","newPage","onPagerClick","pagerCountOffset","pager","MoreFilled","isAbsent","paginationProps","defaultPageSize","defaultCurrentPage","layout","background","hideOnSinglePage","ElPagination","vnodeProps","hasCurrentPageListener","hasPageSizeListener","assertValidUsage","innerCurrentPage","pageSizeBridge","pageCountBridge","currentPageBridge","newCurrentPage","handleCurrentChange","newPageCount","rootChildren","rightWrapperChildren","rightWrapperRoot","TEMPLATE_MAP","jumper","sizes","haveRightWrapper","progressProps","percentage","status","duration","strokeWidth","strokeLinecap","textInside","showText","striped","stripedFlow","ElProgress","STATUS_COLOR_MAP","exception","barStyle","animationDuration","getCurrentColor","relativeStrokeWidth","radius","trackPath","r","isDashboard","perimeter","PI","rate","strokeDashoffset","trailPathStyle","strokeDasharray","circlePathStyle","ret","progressTextSize","colors","seriesColor","sort","getColors","color2","opacity","stepsProps","simple","finishStatus","processStatus","stepsEmits","Steps","steps","addStep","removeStep","setIndex","stepProps","Step","lineStyle","internalStatus","currentInstance","updateStatus","stepItemState","currentStatus","prevStatus","prevStep","isCenter","isSimple","stepsCount","flexBasis","prevChild","calcProgress","isWait","transitionDelay","borderWidth","ElSteps","ElStep","switchProps","inlinePrompt","inactiveActionIcon","activeActionIcon","activeIcon","inactiveIcon","activeText","inactiveText","activeValue","inactiveValue","activeColor","inactiveColor","beforeChange","switchEmits","ElSwitch","switchSize","param","switchDisabled","isControlled","core","switchKls","labelLeftKls","labelRightKls","coreStyle","actualValue","switchValue","shouldChange","getCell","orderBy","sortKey","sortMethod","sortBy","getKey","by","$value","order","getColumnById","columnId","columns","getColumnByKey","getColumnByCell","matches","match","getRowIdentity","getKeysMap","arrayMap","parseWidth","parseMinWidth","toggleRowStatus","statusArr","changed","included","toggleStatus","walkTreeNode","lazyKey","_walker","removePopper","getCurrentColumns","flatMap","getColSpan","isFixedColumn","fixed","realColumns","after","curColumns","fixedLayout","fixedLeafColumnsLength","rightFixedLeafColumnsLength","getFixedColumnsClass","isLeft","getOffset","realWidth","getFixedColumnOffset","ensurePosition","sortData","sortingColumn","sortable","sortProp","sortOrder","doFlattenColumns","useWatcher","tableSize","_data","isComplex","_columns","originColumns","fixedColumns","rightFixedColumns","leafColumns","fixedLeafColumns","rightFixedLeafColumns","leafColumnsLength","isAllSelected","selection","reserveSelection","selectOnIndeterminate","selectable","filters","filteredData","hoverRow","scheduleLayout","updateChildFixed","childColumn","updateColumns","notFixedColumns","leafColumns2","fixedLeafColumns2","rightFixedLeafColumns2","needUpdateColumns","doLayout","debouncedUpdateLayout","getChildrenCount","rowKey2","treeData","childKey","updateSort","execFilter","sourceData","execSort","setExpandRowKeys","toggleRowExpansion","updateExpandRows","expandStates","isRowExpanded","watcherData","defaultExpandAll","expandRows","expandRowsMap","rowId","expanded","rowKeys","assertRowKey","keysMap","useExpand","updateTreeExpandKeys","toggleTreeExpansion","updateTreeData","loadOrToggle","treeStates","expandRowKeys","indent","lazyTreeNodeMap","lazyColumnIdentifier","childrenColumnName","normalizedData","normalize","normalizedLazyNode","currentRowKey","parentId","ifChangeExpandRowKeys","ifExpandAll","nested","normalizedLazyNode_","newTreeData","oldTreeData","rootLazyRowKeys","getExpanded","lazyKeys","lazyNodeChildren","updateTableScrollY","oldExpanded","loadData","treeNode","TypeError","useTree","updateCurrentRowData","updateCurrentRow","setCurrentRowKey","currentData","_currentRowKey","currentRow","restoreCurrentRowKey","setCurrentRowByKey","_currentRow","oldCurrentRow","useCurrent","clearSelection","cleanSelection","deleted","selectedMap","dataMap","newSelection","getSelectionRows","toggleRowSelection","_toggleAllSelection","selectionChanged","childrenCount","toggleAllSelection","updateSelectionByRowKey","rowInfo","updateAllSelected","isAllSelected_","selectedCount","keyProp","isRowSelectable","updateFilters","columns2","filters_","col","execQuery","columnKeys","tableHeaderRef","panels","filterPanels","columns_","filteredValue","commit","multi","clearSort","setExpandRowKeysAdapter","toggleRowExpansionAdapter","updateOrderFns","replaceColumn","sortColumn","no","getColumnIndex","InitialStateMap","createStore","watcher","mutations","setData","dataInstanceChanged","$ready","insertColumn","updateColumnOrder","newColumns","removeColumn","updateFnIndex","init","column2","property","changeSortCondition","columnValue","propValue","orderValue","filterChange","_states","newFilters","rowSelectedChanged","setHoverRow","setCurrentRow","mutations2","updateScrollY","useStore","handleValue","getArrKeysValue","proxyTableProps","propsKey","storeKey","keyList","TableLayout","observers","showHeader","scrollX","scrollY","fixedWidth","rightFixedWidth","gutterWidth","scrollBarRef","prevScrollY","setHeight","updateElsHeight","setMaxHeight","getFlattenColumns","flattenColumns","isColumnGroup","notifyObservers","headerDisplayNone","elm","headerChild","updateColumnsWidth","bodyMinWidth","flexColumns","totalFlexWidth","flexWidthPerPixel","noneFirstWidth","flexWidth","resizeState","addObserver","observer","removeObserver","onColumnsChange","onScrollableChange","upDataColumn","tooltipVisible","tooltip","filterValue","filterMultiple","filteredValue2","handleReset","handleSelect","_filterValue","showFilterPanel","hideFilterPanel","FilterPanel","_component_el_checkbox_group","_component_arrow_up","_component_arrow_down","filterOpened","useLayoutObserver","tableLayout","cols","columnsMap","ths","th","TABLE_INJECTION_KEY","getAllColumns","useUtils","columnRows","maxLevel","traverse","subColumn","rowSpan","isSubColumn","convertToRows","TableHeader","defaultSort","handleHeaderContextMenu","handleMouseOut","handleSortClick","handleFilterClick","draggingColumn","dragging","dragState","givenOrder","sortOrders","toggleOrder","tableLeft","columnEl","columnRect","startMouseLeft","startLeft","startColumnLeft","resizeProxy","handleMouseMove2","event2","deltaLeft","proxyLeft","columnWidth","requestAnimationFrame","cursor","resizable","rect","useEvent","getHeaderRowStyle","getHeaderRowClass","getHeaderCellStyle","getHeaderCellClass","headerRowStyle","headerRowClassName","headerCellStyles","headerCellStyle","fixedStyle","fixedClasses","headerAlign","headerCellClassName","useStyle","subColumns","colspan","rowspan","onMouseout","renderHeader","$index","_self","filterPlacement","useEvents","tooltipContent","tooltipTrigger","handleEvent","handleDoubleClick","handleContextMenu","handleCellMouseEnter","tooltipOptions","hoverState","cellChild","childNodes","createRange","setStart","setEnd","rangeWidth","rangeHeight","paddingLeft","paddingRight","getPadding","verticalPadding","merge","showPopper","popperInstance","isLight","content2","escapeHtml","renderContent","onmouseenter","onmouseleave","renderArrow","createTablePopper","tableWrapper","handleCellMouseLeave","oldHoverState","useRender","getRowStyle","getRowClass","getCellClass","getSpan","getColspanRealWidth","rowStyle","highlightCurrentRow","stripe","rowClassName","cellStyle","cellStyles","spanMethod","widthArr","useStyles","firstDefaultColumnIndex","getKeyOfRow","rowRender","treeRowData","tooltipEffect","rowClasses","onDblclick","columnData","noLazyChildren","baseKey","patchKey","rawColumnKey","tdChildren","cellChildren","mergedTooltipOptions","showOverflowTooltip","renderCell","wrappedRowRender","tr","renderExpanded","tmp","parent2","innerTreeRowData","nodes2","defaultProps","highlight","TableBody","raf","oldRow","newRow","hColgroup","isAuto","propsData","getPropsData","leftFixedLeafCount","rightFixedLeafCount","columnsCount","leftFixedCount","rightFixedCount","useMapState","getCellStyles","TableFooter","summaryMethod","sums","precisions","notNumber","decimal","resizeProxyVisible","headerHeight","tableWidth","tableScrollHeight","bodyScrollHeight","headerScrollHeight","footerScrollHeight","appendScrollHeight","shouldUpdateHeight","tableBodyStyles","syncPosition","tableHeader","headerWrapper","flexible","setScrollClass","setScrollClassByEl","scrollingNoneClass","hasScrollClass","footerWrapper","bindEvents","resizeListener","bodyWrapper","shouldUpdateLayout","oldWidth","oldHeight","oldHeaderHeight","appendWrapper","bodyWidth_","emptyBlockStyle","tableInnerStyle","scrollbarStyle","setDragVisible","handleHeaderFooterMousewheel","pixelX","pixelY","handleFixedMousewheel","spinY","currentScrollTop","scrollbarViewStyle","verticalAlign","useKeyRender","columnsWrapper","MutationObserver","observe","childList","subtree","disconnect","showSummary","treeProps","hasChildren","scrollbarAlwaysOn","tableIdSeed","setScrollPosition","yCoord","useScrollbar","tableId","computedSumText","computedEmptyText","Table","_component_hColgroup","_component_table_header","_component_table_body","_component_table_footer","_directive_mousewheel","onSetDragVisible","defaultClassNames","expand","cellStarts","cellForced","defaultRenderCell","getAllAliases","aliases","owner","realAlign","realHeaderAlign","columnOrTableParent","vParent","hasTreeColumn","treeDataValue","realMinWidth","setColumnWidth","setColumnForcedProps","source","getDefaultClassName","forceClass","setColumnRenders","columnConfig","originRenderCell","vnodes","firstUserColumnIndex","createPlaceholder","ele","expandClasses","treeCellPrefix","check","checkSubColumn","getColumnElIndex","columnIdSeed","ElTableColumn","registerNormalWatchers","registerComplexWatchers","props_","allAliases","defaults","mergeOptions","funcs","compose","chains","hiddenColumns","renderDefault","childNode","shapeFlag","vnode2","ElTable","TableColumn","ElTableColumn$1","tabsRootContextKey","tabBarProps","tabs","TabBar","rootTabs","tabSize","sizeName","tabPosition","sizeDir","tabStyles","getBarStyle","tabNavProps","panes","currentName","stretch","TabNav","tabClick","tabName","tabRemove","useDocumentVisibility","useWindowFocus","navScroll$","nav$","el$","tabBarRef","scrollable","navOffset","isFocus","navStyle","scrollPrev","containerSize","currentOffset","newOffset","scrollNext","navSize","scrollToActiveTab","nav","activeTab","navScroll","isHorizontal","activeTabBounding","navScrollBounding","maxOffset","changeTab","tabList","currentIndex","setFocus","removeFocus","visibility2","focused2","scrollBtn","pane","isClosable","btnClose","tabLabelContent","tabsProps","activeName","addable","isPaneName","tabsEmits","tabChange","edit","paneName","tabAdd","Tabs","registerPane","unregisterPane","setCurrentName","changeCurrentName","handleTabClick","handleTabRemove","handleTabAdd","newButton","onTabClick","onTabRemove","tabPaneProps","TabPane","tabsRoot","eagerComputed","shouldBeRender","ElTabs","ElTabPane","uploadContextKey","UploadAjaxError","getError","xhr","msg","response","responseText","uploadListTypes","fileId","genFileId","uploadBaseProps","headers","drag","withCredentials","showFileList","accept","fileList","autoUpload","listType","httpRequest","XMLHttpRequest","progressEvt","percent","onProgress","formData","FormData","filename","file","onSuccess","parse","getBody","Headers","setRequestHeader","send","limit","uploadProps","beforeUpload","beforeRemove","onRemove","onPreview","onExceed","uploadListProps","files","handlePreview","UploadList","nsUpload","nsList","handleRemove","Document","Delete","uploadDraggerProps","uploadDraggerEmits","uploaderContext","dragover","onDrop","dataTransfer","filesFiltered","extension","baseType","type2","acceptedType","onDragover","onDragleave","UploadDragger","uploadContentProps","onStart","UploadContent","requests","uploadFiles","rawFile","doUpload","hookResult","beforeData","originData","beforeUploadPromise","Blob","File","request","abort","req","onFile","SCOPE","useHandlers","uploadRef","useVModel","getFile","URL","createObjectURL","clearFiles","handleProgress","handleStart","uploadFile","handleSuccess","doRemove","file2","revokeObjectURL","submit","ElUpload","isPictureCard","createLoadingComponent","afterLeaveTimer","afterLeaveFlag","originalPosition","originalOverflow","removeElLoadingChild","handleAfterLeave","vLoadingAddClassList","loadingNumber","loadingInstance","unmount","elLoadingComponent","svg","spinner","svgViewBox","cx","cy","spinnerText","createApp","mount","setText","fullscreenInstance","resolved","resolveOptions","addStyle","addClassList","lock","exposed","maskStyle","INSTANCE_KEY","createInstance","getBindingProp","resolveExpression","hyphenate","vLoading","originalOptions","updateOptions","messageTypes","messageDefaults","dangerouslyUseHTMLString","grouping","repeatNum","messageProps","instances","shallowReactive","getLastOffset","getInstance","MessageConstructor","messageRef","stopTimer","badgeType","typeClass","lastOffset","getOffsetOrSpace","customStyle","clearTimer","seed","normalizeOptions","createMessage","userOnClose","closeMessage","onDestroy","_context","instance2","closeAll","ElMessage","buttonSize","closeOnHashChange","roundButton","boxType","btnSize","cancelButtonClass","confirmButtonClass","distinguishCancelAndClose","inputPattern","inputType","inputValidator","inputErrorMessage","modalFade","showCancelButton","showConfirmButton","showInput","confirmButtonLoading","cancelButtonLoading","confirmButtonDisabled","editorErrorMessage","validateError","contentId","hasMessage","rootRef","confirmRef","confirmButtonClasses","getInputElement","handleWrapperClick","handleAction","validateResult","inputRefs","$refs","handleInputEnter","MessageBoxConstructor","_component_close","_component_el_button","_component_el_focus_trap","_component_el_overlay","invalid","messageInstance","initInstance","getAppendToElement","onVanish","onAction","currentMsg","resolve","MessageBox","MESSAGE_BOX_DEFAULT_OPTS","alert","prompt","titleOrOpts","mess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Aa,cACbC,UAAW,eACXC,UAAW,eACXC,mBAAoB,yCAEtBI,WAAY,CACVC,MAAO,KACPpF,QAAS,KACTO,OAAQ,KACR/H,MAAO,aAET6M,OAAQ,CACNC,UAAW,gBACXrL,OAAQ,KACRsL,QAAS,OACTC,SAAU,QAEZI,MAAO,CACLC,UAAW,OACXC,cAAe,KACfC,YAAa,KACbC,YAAa,KACbC,QAAS,MAEXC,KAAM,CACJL,UAAW,QAEbM,SAAU,CACRpC,QAAS,QACTC,OAAQ,MACRoC,OAAQ,CAAC,OAAkB,QAC3BC,kBAAmB,UACnBC,gBAAiB,cACjBC,iBAAkB,0BAEpBC,MAAO,CACLhO,MAAO,QAETiO,WAAY,CACVrB,MAAO,MAETsB,WAAY,CACVC,kBAAmB,KACnBC,iBAAkB","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368]}