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B,EAAQx9B,OAEhB,GACA,KAEJ,SAAU,KACR,MAAM,KAAEo7B,GAASz8B,EACby8B,GACFU,EAAQ,CACNV,OACAnkB,GAAIumB,EAAQx9B,OAEhB,KAEF,SAAgB,KACd,MAAM,KAAEo7B,GAASz8B,EACby8B,GACFW,EAAWX,EACb,IAEK,CAAC33B,EAAMC,MACL,WAAa,QAAmB,MAAO,CAC5CE,OAAO,SAAe,QAAMjC,GAAI6F,EAAE,UACjC,EACD,QAAmB,IAAK,CACtB7D,QAAS,UACT1E,IAAKu+B,EACL55B,OAAO,SAAe,QAAMi4B,IAC5BT,KAAM33B,EAAK23B,KACXt3B,QAAS5C,GACR,EACD,QAAWuC,EAAKO,OAAQ,UAAW,CAAC,GAAG,IAAM,EAC3C,SAAgB,QAAgBP,EAAK4K,OAAQ,OAE9C,GAAI,IACP5K,EAAKO,OAAO,aAAoC,cAArB,QAAM6b,KAA6B,WAAa,QAAmB,MAAO,CACnG9b,IAAK,EACLH,OAAO,SAAe,QAAMjC,GAAI6F,EAAE,UACjC,EACD,QAAW/D,EAAKO,OAAQ,aACvB,KAAM,QAAmB,QAAQ,IACnC,GAEP,IAEF,IAAI25B,IAA6B,OAAY,GAAW,CAAC,CAAC,SAAU,qBC5EpE,MAAMC,IAAW,QAAYN,GAAQ,CACnCK,WAAU,KAENE,IAAe,QAAgBF,I,eCmEjCG,GAAa,CACf5vB,EACAmB,EACAgG,EACA,MACAqB,GACAc,GACA,MACAoB,GACAC,GACA,MACA,MACAgG,GACAQ,GACAuI,GACAC,GACA4S,GACAxG,GACA6G,GACA,MACA,MACA,MACA,MACA,MACA,MACA,KACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,KACA,MACA,MACA,KACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,KACA,MACA,MACA,MACA,MACA,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uN,aAAkB,EAASrM,EAAG,IAAcC,EAAK,IAC1Fy+B,WAAW,QAA+D,OAAtDl3B,EAA4B,OAAtBtH,EAAKpB,EAAMuN,aAAkB,EAASnM,EAAG,IAAcsH,EAAK,IAE/D,OAAxBg3B,EAAK1/B,EAAMw/B,UAAoBE,EAAK,CAAC,EACvC,IAKH,OAHAt7B,EAAO,CACLwR,YAEK,CAAC9Q,EAAMC,MACL,WAAa,QAAmB,MAAO,CAC5CE,OAAO,SAAe,QAAMjC,GAAIuB,MAC/B,EACD,QAAWO,EAAKO,OAAQ,YACxB,QAAY,KAAY,CACtBtB,KAAM,IAAG,QAAMf,GAAIyS,UAAUpU,uBAC7BmP,UAAW,IACV,CACDzO,SAAS,SAAQ,IAAM,EACrB,SAAe,QAAmB,MAAO,CACvCkD,OAAO,QAAe,EACpB,QAAMjC,GAAI6F,EAAE,YACZ,QAAM7F,GAAIyC,GAAG,UAAWX,EAAKvE,OAC7B,QAAMyC,GAAIyB,GAAG,UAAWK,EAAKO,OAAOtD,UACpC,QAAMiB,GAAIyB,GAAG,MAAOK,EAAKu6B,OACzBv6B,EAAK26B,WAEPv6B,OAAO,SAAe,QAAMA,IAC5B26B,aAAa,SAAgB,QAAMjqB,KAClC,KAAM,GAAIzK,GAAa,CACxB,CAAC,MAAQrG,EAAKw6B,UAAW,QAAM1pB,IAAY9Q,EAAKu6B,aAGpD95B,EAAG,GACF,EAAG,CAAC,UACN,GAEP,IAEF,IAAIu6B,GAAwB,OAAY97B,EAAW,CAAC,CAAC,SAAU,e,UCrE/D,MAAM+7B,GAAU,QAAYD,E","sources":["webpack://hiq/./node_modules/element-plus/es/components/button/src/constants.mjs","webpack://hiq/./node_modules/element-plus/es/components/button/src/use-button.mjs","webpack://hiq/./node_modules/element-plus/es/components/button/src/button-custom.mjs","webpack://hiq/./node_modules/element-plus/es/components/button/src/button2.mjs","webpack://hiq/./node_modules/element-plus/es/components/button/src/button-group.mjs","webpack://hiq/./node_modules/element-plus/es/components/button/src/button-group2.mjs","webpack://hiq/./node_modules/element-plus/es/components/button/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/button/src/button.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/checkbox.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/constants.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-event.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-model.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-status.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/checkbox2.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/checkbox-button.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/checkbox-group.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/src/checkbox-group2.mjs","webpack://hiq/./node_modules/element-plus/es/components/checkbox/index.mjs","webpack://hiq/./node_modules/element-plus/es/_virtual/plugin-vue_export-helper.mjs","webpack://hiq/./node_modules/element-plus/es/components/affix/src/affix.mjs","webpack://hiq/./node_modules/element-plus/es/components/affix/src/affix2.mjs","webpack://hiq/./node_modules/element-plus/es/components/affix/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/alert/src/alert.mjs","webpack://hiq/./node_modules/element-plus/es/components/alert/src/alert2.mjs","webpack://hiq/./node_modules/element-plus/es/components/alert/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/autocomplete/src/autocomplete.mjs","webpack://hiq/./node_modules/element-plus/es/components/autocomplete/src/autocomplete2.mjs","webpack://hiq/./node_modules/element-plus/es/components/autocomplete/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/avatar/src/avatar.mjs","webpack://hiq/./node_modules/element-plus/es/components/avatar/src/avatar2.mjs","webpack://hiq/./node_modules/element-plus/es/components/avatar/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/backtop/src/backtop.mjs","webpack://hiq/./node_modules/element-plus/es/components/backtop/src/use-backtop.mjs","webpack://hiq/./node_modules/element-plus/es/components/backtop/src/backtop2.mjs","webpack://hiq/./node_modules/element-plus/es/components/backtop/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/breadcrumb/src/constants.mjs","webpack://hiq/./node_modules/element-plus/es/components/breadcrumb/src/breadcrumb.mjs","webpack://hiq/./node_modules/element-plus/es/components/breadcrumb/src/breadcrumb2.mjs","webpack://hiq/./node_modules/element-plus/es/components/breadcrumb/src/breadcrumb-item.mjs","webpack://hiq/./node_modules/element-plus/es/components/breadcrumb/src/breadcrumb-item2.mjs","webpack://hiq/./node_modules/element-plus/es/components/breadcrumb/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/calendar/src/date-table.mjs","webpack://hiq/./node_modules/element-plus/es/components/calendar/src/use-date-table.mjs","webpack://hiq/./node_modules/element-plus/es/components/calendar/src/date-table2.mjs","webpack://hiq/./node_modules/element-plus/es/components/calendar/src/use-calendar.mjs","webpack://hiq/./node_modules/element-plus/es/components/calendar/src/calendar.mjs","webpack://hiq/./node_modules/element-plus/es/components/calendar/src/calendar2.mjs","webpack://hiq/./node_modules/element-plus/es/components/calendar/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/card/src/card.mjs","webpack://hiq/./node_modules/element-plus/es/components/card/src/card2.mjs","webpack://hiq/./node_modules/element-plus/es/components/card/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/carousel/src/carousel.mjs","webpack://hiq/./node_modules/element-plus/es/components/carousel/src/constants.mjs","webpack://hiq/./node_modules/element-plus/es/components/carousel/src/use-carousel.mjs","webpack://hiq/./node_modules/element-plus/es/components/carousel/src/carousel2.mjs","webpack://hiq/./node_modules/element-plus/es/components/carousel/src/carousel-item.mjs","webpack://hiq/./node_modules/element-plus/es/components/carousel/src/use-carousel-item.mjs","webpack://hiq/./node_modules/element-plus/es/components/carousel/src/carousel-item2.mjs","webpack://hiq/./node_modules/element-plus/es/components/carousel/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/node-content.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/types.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/node2.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/menu.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/node.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/store.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/config.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/utils.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/src/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader-panel/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader/src/cascader.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader/src/cascader2.mjs","webpack://hiq/./node_modules/element-plus/es/components/cascader/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/check-tag/src/check-tag.mjs","webpack://hiq/./node_modules/element-plus/es/components/check-tag/src/check-tag2.mjs","webpack://hiq/./node_modules/element-plus/es/components/check-tag/index.mjs","webpack://hiq/./node_modules/element-plus/es/components/anchor/src/anchor.mjs","webpack://hiq/./node_modules/element-plus/es/components/anchor/src/constants.mjs","webpack://hiq/./node_modules/element-plus/es/components/anchor/src/anchor2.mjs","webpack://hiq/./node_modules/element-plus/es/components/anchor/src/anchor-link.mjs","webpack://hiq/./node_modules/element-plus/es/components/anchor/src/anchor-link2.mjs","webpack://hiq/./node_modules/element-plus/es/components/anchor/index.mjs","webpack://hiq/./node_modules/element-plus/es/component.mjs","webpack://hiq/./node_modules/element-plus/es/components/badge/src/badge.mjs","webpack://hiq/./node_modules/element-plus/es/components/badge/src/badge2.mjs","webpack://hiq/./node_modules/element-plus/es/components/badge/index.mjs"],"sourcesContent":["const buttonGroupContextKey = Symbol(\"buttonGroupContextKey\");\n\nexport { buttonGroupContextKey };\n//# sourceMappingURL=constants.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 { 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, computed, 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    const buttonKls = computed(() => [\n      ns.b(),\n      ns.m(_type.value),\n      ns.m(_size.value),\n      ns.is(\"disabled\", _disabled.value),\n      ns.is(\"loading\", props.loading),\n      ns.is(\"plain\", props.plain),\n      ns.is(\"round\", props.round),\n      ns.is(\"circle\", props.circle),\n      ns.is(\"text\", props.text),\n      ns.is(\"link\", props.link),\n      ns.is(\"has-bg\", props.bg)\n    ]);\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: unref(buttonKls),\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\", \"button.vue\"]]);\n\nexport { Button as default };\n//# sourceMappingURL=button2.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\", \"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","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 '../../../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    default: void 0\n  },\n  value: {\n    type: [String, Boolean, Number, Object],\n    default: void 0\n  },\n  indeterminate: Boolean,\n  disabled: Boolean,\n  checked: Boolean,\n  name: {\n    type: String,\n    default: void 0\n  },\n  trueValue: {\n    type: [String, Number],\n    default: void 0\n  },\n  falseValue: {\n    type: [String, Number],\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, 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 { 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, _c, _d;\n    return [true, props.trueValue, props.trueLabel].includes(value) ? (_b = (_a = props.trueValue) != null ? _a : props.trueLabel) != null ? _b : true : (_d = (_c = props.falseValue) != null ? _c : props.falseLabel) != null ? _d : 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.falseValue, 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 { 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) && val.length > model.value.length;\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 { isPropAbsent, 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 actualValue = computed(() => {\n    if (!isPropAbsent(props.value)) {\n      return props.value;\n    }\n    return props.label;\n  });\n  const isChecked = computed(() => {\n    const value = model.value;\n    if (isBoolean(value)) {\n      return value;\n    } else if (isArray(value)) {\n      if (isObject(actualValue.value)) {\n        return value.map(toRaw).some((o) => isEqual(o, actualValue.value));\n      } else {\n        return value.map(toRaw).includes(actualValue.value);\n      }\n    } else if (value !== null && value !== void 0) {\n      return value === props.trueValue || 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 || !isPropAbsent(actualValue.value);\n  });\n  return {\n    checkboxButtonSize,\n    isChecked,\n    isFocused,\n    checkboxSize,\n    hasOwnLabel,\n    actualValue\n  };\n};\n\nexport { useCheckboxStatus };\n//# sourceMappingURL=use-checkbox-status.mjs.map\n","import { computed } from 'vue';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/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 { useFormItem, useFormItemInputId } from '../../../form/src/hooks/use-form-item.mjs';\nimport { isArray } from '@vue/shared';\nimport { useDeprecated } from '../../../../hooks/use-deprecated/index.mjs';\nimport { isPropAbsent } from '../../../../utils/types.mjs';\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    actualValue\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  const setStoreValue = () => {\n    function addToStore() {\n      var _a, _b;\n      if (isArray(model.value) && !model.value.includes(actualValue.value)) {\n        model.value.push(actualValue.value);\n      } else {\n        model.value = (_b = (_a = props.trueValue) != null ? _a : props.trueLabel) != null ? _b : true;\n      }\n    }\n    props.checked && addToStore();\n  };\n  setStoreValue();\n  useDeprecated({\n    from: \"label act as value\",\n    replacement: \"value\",\n    version: \"3.0.0\",\n    scope: \"el-checkbox\",\n    ref: \"https://element-plus.org/en-US/component/checkbox.html\"\n  }, computed(() => isGroup.value && isPropAbsent(props.value)));\n  useDeprecated({\n    from: \"true-label\",\n    replacement: \"true-value\",\n    version: \"3.0.0\",\n    scope: \"el-checkbox\",\n    ref: \"https://element-plus.org/en-US/component/checkbox.html\"\n  }, computed(() => !!props.trueLabel));\n  useDeprecated({\n    from: \"false-label\",\n    replacement: \"false-value\",\n    version: \"3.0.0\",\n    scope: \"el-checkbox\",\n    ref: \"https://element-plus.org/en-US/component/checkbox.html\"\n  }, computed(() => !!props.falseLabel));\n  return {\n    inputId,\n    isLabeledByFormItem,\n    isChecked,\n    isDisabled,\n    isFocused,\n    checkboxButtonSize,\n    checkboxSize,\n    hasOwnLabel,\n    model,\n    actualValue,\n    handleChange,\n    onClickRoot\n  };\n};\n\nexport { useCheckbox };\n//# sourceMappingURL=use-checkbox.mjs.map\n","import { defineComponent, useSlots, computed, openBlock, createBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementVNode, withDirectives, createElementBlock, isRef, withModifiers, 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 = [\"id\", \"indeterminate\", \"name\", \"tabindex\", \"disabled\", \"true-value\", \"false-value\"];\nconst _hoisted_2 = [\"id\", \"indeterminate\", \"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      actualValue,\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          var _a, _b;\n          return [\n            createElementVNode(\"span\", {\n              class: normalizeClass(unref(spanKls))\n            }, [\n              _ctx.trueValue || _ctx.falseValue || _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                indeterminate: _ctx.indeterminate,\n                name: _ctx.name,\n                tabindex: _ctx.tabindex,\n                disabled: unref(isDisabled),\n                \"true-value\": (_a = _ctx.trueValue) != null ? _a : _ctx.trueLabel,\n                \"false-value\": (_b = _ctx.falseValue) != null ? _b : _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                onClick: _cache[4] || (_cache[4] = withModifiers(() => {\n                }, [\"stop\"]))\n              }, null, 42, _hoisted_1)), [\n                [vModelCheckbox, unref(model)]\n              ]) : withDirectives((openBlock(), createElementBlock(\"input\", {\n                key: 1,\n                id: unref(inputId),\n                \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event) => isRef(model) ? model.value = $event : null),\n                class: normalizeClass(unref(ns).e(\"original\")),\n                type: \"checkbox\",\n                indeterminate: _ctx.indeterminate,\n                disabled: unref(isDisabled),\n                value: unref(actualValue),\n                name: _ctx.name,\n                tabindex: _ctx.tabindex,\n                onChange: _cache[6] || (_cache[6] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n                onFocus: _cache[7] || (_cache[7] = ($event) => isFocused.value = true),\n                onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),\n                onClick: _cache[9] || (_cache[9] = withModifiers(() => {\n                }, [\"stop\"]))\n              }, null, 42, _hoisted_2)), [\n                [vModelCheckbox, unref(model)]\n              ]),\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(ns).e(\"inner\"))\n              }, null, 2)\n            ], 2),\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        }),\n        _: 3\n      }, 8, [\"class\", \"aria-controls\", \"onClick\"]);\n    };\n  }\n});\nvar Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"checkbox.vue\"]]);\n\nexport { Checkbox as default };\n//# sourceMappingURL=checkbox2.mjs.map\n","import { defineComponent, useSlots, inject, computed, openBlock, createElementBlock, normalizeClass, unref, withDirectives, isRef, withModifiers, 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      actualValue,\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      var _a, _b;\n      return openBlock(), createElementBlock(\"label\", {\n        class: normalizeClass(unref(labelKls))\n      }, [\n        _ctx.trueValue || _ctx.falseValue || _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\": (_a = _ctx.trueValue) != null ? _a : _ctx.trueLabel,\n          \"false-value\": (_b = _ctx.falseValue) != null ? _b : _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          onClick: _cache[4] || (_cache[4] = withModifiers(() => {\n          }, [\"stop\"]))\n        }, null, 42, _hoisted_1)), [\n          [vModelCheckbox, unref(model)]\n        ]) : withDirectives((openBlock(), createElementBlock(\"input\", {\n          key: 1,\n          \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($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: unref(actualValue),\n          onChange: _cache[6] || (_cache[6] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n          onFocus: _cache[7] || (_cache[7] = ($event) => isFocused.value = true),\n          onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),\n          onClick: _cache[9] || (_cache[9] = withModifiers(() => {\n          }, [\"stop\"]))\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\", \"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\", \"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","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 '../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { isNumber, isBoolean } from '../../../utils/types.mjs';\nimport { CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst affixProps = buildProps({\n  zIndex: {\n    type: definePropType([Number, String]),\n    default: 100\n  },\n  target: {\n    type: String,\n    default: \"\"\n  },\n  offset: {\n    type: Number,\n    default: 0\n  },\n  position: {\n    type: String,\n    values: [\"top\", \"bottom\"],\n    default: \"top\"\n  }\n});\nconst affixEmits = {\n  scroll: ({ scrollTop, fixed }) => isNumber(scrollTop) && isBoolean(fixed),\n  [CHANGE_EVENT]: (fixed) => isBoolean(fixed)\n};\n\nexport { affixEmits, affixProps };\n//# sourceMappingURL=affix.mjs.map\n","import { defineComponent, shallowRef, ref, computed, watch, onMounted, watchEffect, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createElementVNode, renderSlot } from 'vue';\nimport { useWindowSize, useElementBounding, useEventListener } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { affixProps, affixEmits } from './affix.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 { throwError } from '../../../utils/error.mjs';\nimport { getScrollContainer } from '../../../utils/dom/scroll.mjs';\n\nconst COMPONENT_NAME = \"ElAffix\";\nconst __default__ = defineComponent({\n  name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: affixProps,\n  emits: affixEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const ns = useNamespace(\"affix\");\n    const target = shallowRef();\n    const root = shallowRef();\n    const scrollContainer = shallowRef();\n    const { height: windowHeight } = useWindowSize();\n    const {\n      height: rootHeight,\n      width: rootWidth,\n      top: rootTop,\n      bottom: rootBottom,\n      update: updateRoot\n    } = useElementBounding(root, { windowScroll: false });\n    const targetRect = useElementBounding(target);\n    const fixed = ref(false);\n    const scrollTop = ref(0);\n    const transform = ref(0);\n    const rootStyle = computed(() => {\n      return {\n        height: fixed.value ? `${rootHeight.value}px` : \"\",\n        width: fixed.value ? `${rootWidth.value}px` : \"\"\n      };\n    });\n    const affixStyle = computed(() => {\n      if (!fixed.value)\n        return {};\n      const offset = props.offset ? addUnit(props.offset) : 0;\n      return {\n        height: `${rootHeight.value}px`,\n        width: `${rootWidth.value}px`,\n        top: props.position === \"top\" ? offset : \"\",\n        bottom: props.position === \"bottom\" ? offset : \"\",\n        transform: transform.value ? `translateY(${transform.value}px)` : \"\",\n        zIndex: props.zIndex\n      };\n    });\n    const update = () => {\n      if (!scrollContainer.value)\n        return;\n      scrollTop.value = scrollContainer.value instanceof Window ? document.documentElement.scrollTop : scrollContainer.value.scrollTop || 0;\n      if (props.position === \"top\") {\n        if (props.target) {\n          const difference = targetRect.bottom.value - props.offset - rootHeight.value;\n          fixed.value = props.offset > rootTop.value && targetRect.bottom.value > 0;\n          transform.value = difference < 0 ? difference : 0;\n        } else {\n          fixed.value = props.offset > rootTop.value;\n        }\n      } else if (props.target) {\n        const difference = windowHeight.value - targetRect.top.value - props.offset - rootHeight.value;\n        fixed.value = windowHeight.value - props.offset < rootBottom.value && windowHeight.value > targetRect.top.value;\n        transform.value = difference < 0 ? -difference : 0;\n      } else {\n        fixed.value = windowHeight.value - props.offset < rootBottom.value;\n      }\n    };\n    const handleScroll = () => {\n      updateRoot();\n      emit(\"scroll\", {\n        scrollTop: scrollTop.value,\n        fixed: fixed.value\n      });\n    };\n    watch(fixed, (val) => emit(\"change\", val));\n    onMounted(() => {\n      var _a;\n      if (props.target) {\n        target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;\n        if (!target.value)\n          throwError(COMPONENT_NAME, `Target is not existed: ${props.target}`);\n      } else {\n        target.value = document.documentElement;\n      }\n      scrollContainer.value = getScrollContainer(root.value, true);\n      updateRoot();\n    });\n    useEventListener(scrollContainer, \"scroll\", handleScroll);\n    watchEffect(update);\n    expose({\n      update,\n      updateRoot\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"root\",\n        ref: root,\n        class: normalizeClass(unref(ns).b()),\n        style: normalizeStyle(unref(rootStyle))\n      }, [\n        createElementVNode(\"div\", {\n          class: normalizeClass({ [unref(ns).m(\"fixed\")]: fixed.value }),\n          style: normalizeStyle(unref(affixStyle))\n        }, [\n          renderSlot(_ctx.$slots, \"default\")\n        ], 6)\n      ], 6);\n    };\n  }\n});\nvar Affix = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"affix.vue\"]]);\n\nexport { Affix as default };\n//# sourceMappingURL=affix2.mjs.map\n","import '../../utils/index.mjs';\nimport Affix from './src/affix2.mjs';\nexport { affixEmits, affixProps } from './src/affix.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElAffix = withInstall(Affix);\n\nexport { ElAffix, ElAffix as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { keysOf } from '../../../utils/objects.mjs';\nimport { TypeComponentsMap } from '../../../utils/vue/icon.mjs';\n\nconst alertEffects = [\"light\", \"dark\"];\nconst alertProps = buildProps({\n  title: {\n    type: String,\n    default: \"\"\n  },\n  description: {\n    type: String,\n    default: \"\"\n  },\n  type: {\n    type: String,\n    values: keysOf(TypeComponentsMap),\n    default: \"info\"\n  },\n  closable: {\n    type: Boolean,\n    default: true\n  },\n  closeText: {\n    type: String,\n    default: \"\"\n  },\n  showIcon: Boolean,\n  center: Boolean,\n  effect: {\n    type: String,\n    values: alertEffects,\n    default: \"light\"\n  }\n});\nconst alertEmits = {\n  close: (evt) => evt instanceof MouseEvent\n};\n\nexport { alertEffects, alertEmits, alertProps };\n//# sourceMappingURL=alert.mjs.map\n","import { defineComponent, useSlots, ref, computed, openBlock, createBlock, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeClass, resolveDynamicComponent, createCommentVNode, createElementBlock, renderSlot, createTextVNode, toDisplayString, Fragment, createVNode, vShow } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { alertProps, alertEmits } from './alert.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { TypeComponents, TypeComponentsMap } from '../../../utils/vue/icon.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElAlert\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: alertProps,\n  emits: alertEmits,\n  setup(__props, { emit }) {\n    const props = __props;\n    const { Close } = TypeComponents;\n    const slots = useSlots();\n    const ns = useNamespace(\"alert\");\n    const visible = ref(true);\n    const iconComponent = computed(() => TypeComponentsMap[props.type]);\n    const iconClass = computed(() => [\n      ns.e(\"icon\"),\n      { [ns.is(\"big\")]: !!props.description || !!slots.default }\n    ]);\n    const withDescription = computed(() => {\n      return { \"with-description\": props.description || slots.default };\n    });\n    const close = (evt) => {\n      visible.value = false;\n      emit(\"close\", evt);\n    };\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            class: normalizeClass([unref(ns).b(), unref(ns).m(_ctx.type), unref(ns).is(\"center\", _ctx.center), unref(ns).is(_ctx.effect)]),\n            role: \"alert\"\n          }, [\n            _ctx.showIcon && unref(iconComponent) ? (openBlock(), createBlock(unref(ElIcon), {\n              key: 0,\n              class: normalizeClass(unref(iconClass))\n            }, {\n              default: withCtx(() => [\n                (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent))))\n              ]),\n              _: 1\n            }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n            createElementVNode(\"div\", {\n              class: normalizeClass(unref(ns).e(\"content\"))\n            }, [\n              _ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock(\"span\", {\n                key: 0,\n                class: normalizeClass([unref(ns).e(\"title\"), unref(withDescription)])\n              }, [\n                renderSlot(_ctx.$slots, \"title\", {}, () => [\n                  createTextVNode(toDisplayString(_ctx.title), 1)\n                ])\n              ], 2)) : createCommentVNode(\"v-if\", true),\n              _ctx.$slots.default || _ctx.description ? (openBlock(), createElementBlock(\"p\", {\n                key: 1,\n                class: normalizeClass(unref(ns).e(\"description\"))\n              }, [\n                renderSlot(_ctx.$slots, \"default\", {}, () => [\n                  createTextVNode(toDisplayString(_ctx.description), 1)\n                ])\n              ], 2)) : createCommentVNode(\"v-if\", true),\n              _ctx.closable ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [\n                _ctx.closeText ? (openBlock(), createElementBlock(\"div\", {\n                  key: 0,\n                  class: normalizeClass([unref(ns).e(\"close-btn\"), unref(ns).is(\"customed\")]),\n                  onClick: close\n                }, toDisplayString(_ctx.closeText), 3)) : (openBlock(), createBlock(unref(ElIcon), {\n                  key: 1,\n                  class: normalizeClass(unref(ns).e(\"close-btn\")),\n                  onClick: close\n                }, {\n                  default: withCtx(() => [\n                    createVNode(unref(Close))\n                  ]),\n                  _: 1\n                }, 8, [\"class\"]))\n              ], 64)) : createCommentVNode(\"v-if\", true)\n            ], 2)\n          ], 2), [\n            [vShow, visible.value]\n          ])\n        ]),\n        _: 3\n      }, 8, [\"name\"]);\n    };\n  }\n});\nvar Alert = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"alert.vue\"]]);\n\nexport { Alert as default };\n//# sourceMappingURL=alert2.mjs.map\n","import '../../utils/index.mjs';\nimport Alert from './src/alert2.mjs';\nexport { alertEffects, alertEmits, alertProps } from './src/alert.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElAlert = withInstall(Alert);\n\nexport { ElAlert, ElAlert as default };\n//# sourceMappingURL=index.mjs.map\n","import { NOOP, isString, isObject } from '@vue/shared';\nimport '../../../utils/index.mjs';\nimport '../../tooltip/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useTooltipContentProps } from '../../tooltip/src/content.mjs';\nimport { UPDATE_MODEL_EVENT, INPUT_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst autocompleteProps = buildProps({\n  valueKey: {\n    type: String,\n    default: \"value\"\n  },\n  modelValue: {\n    type: [String, Number],\n    default: \"\"\n  },\n  debounce: {\n    type: Number,\n    default: 300\n  },\n  placement: {\n    type: definePropType(String),\n    values: [\n      \"top\",\n      \"top-start\",\n      \"top-end\",\n      \"bottom\",\n      \"bottom-start\",\n      \"bottom-end\"\n    ],\n    default: \"bottom-start\"\n  },\n  fetchSuggestions: {\n    type: definePropType([Function, Array]),\n    default: NOOP\n  },\n  popperClass: {\n    type: String,\n    default: \"\"\n  },\n  triggerOnFocus: {\n    type: Boolean,\n    default: true\n  },\n  selectWhenUnmatched: {\n    type: Boolean,\n    default: false\n  },\n  hideLoading: {\n    type: Boolean,\n    default: false\n  },\n  label: {\n    type: String\n  },\n  teleported: useTooltipContentProps.teleported,\n  highlightFirstItem: {\n    type: Boolean,\n    default: false\n  },\n  fitInputWidth: {\n    type: Boolean,\n    default: false\n  },\n  clearable: {\n    type: Boolean,\n    default: false\n  },\n  disabled: {\n    type: Boolean,\n    default: false\n  },\n  name: String\n});\nconst autocompleteEmits = {\n  [UPDATE_MODEL_EVENT]: (value) => isString(value),\n  [INPUT_EVENT]: (value) => isString(value),\n  [CHANGE_EVENT]: (value) => isString(value),\n  focus: (evt) => evt instanceof FocusEvent,\n  blur: (evt) => evt instanceof FocusEvent,\n  clear: () => true,\n  select: (item) => isObject(item)\n};\n\nexport { autocompleteEmits, autocompleteProps };\n//# sourceMappingURL=autocomplete.mjs.map\n","import { defineComponent, useAttrs as useAttrs$1, ref, computed, onMounted, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeClass, normalizeStyle, createVNode, createElementBlock, renderSlot, Fragment, renderList, createTextVNode, toDisplayString, mergeProps, withKeys, withModifiers, createSlots } from 'vue';\nimport { debounce } from 'lodash-unified';\nimport { onClickOutside } from '@vueuse/core';\nimport { Loading } from '@element-plus/icons-vue';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { ElInput } from '../../input/index.mjs';\nimport { ElScrollbar } from '../../scrollbar/index.mjs';\nimport { ElTooltip } from '../../tooltip/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../form/index.mjs';\nimport { autocompleteProps, autocompleteEmits } from './autocomplete.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useAttrs } from '../../../hooks/use-attrs/index.mjs';\nimport { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { isArray } from '@vue/shared';\nimport { throwError } from '../../../utils/error.mjs';\nimport { INPUT_EVENT, UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst _hoisted_1 = [\"aria-expanded\", \"aria-owns\"];\nconst _hoisted_2 = { key: 0 };\nconst _hoisted_3 = [\"id\", \"aria-selected\", \"onClick\"];\nconst COMPONENT_NAME = \"ElAutocomplete\";\nconst __default__ = defineComponent({\n  name: COMPONENT_NAME,\n  inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: autocompleteProps,\n  emits: autocompleteEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const attrs = useAttrs();\n    const rawAttrs = useAttrs$1();\n    const disabled = useFormDisabled();\n    const ns = useNamespace(\"autocomplete\");\n    const inputRef = ref();\n    const regionRef = ref();\n    const popperRef = ref();\n    const listboxRef = ref();\n    let readonly = false;\n    let ignoreFocusEvent = false;\n    const suggestions = ref([]);\n    const highlightedIndex = ref(-1);\n    const dropdownWidth = ref(\"\");\n    const activated = ref(false);\n    const suggestionDisabled = ref(false);\n    const loading = ref(false);\n    const listboxId = useId();\n    const styles = computed(() => rawAttrs.style);\n    const suggestionVisible = computed(() => {\n      const isValidData = suggestions.value.length > 0;\n      return (isValidData || loading.value) && activated.value;\n    });\n    const suggestionLoading = computed(() => !props.hideLoading && loading.value);\n    const refInput = computed(() => {\n      if (inputRef.value) {\n        return Array.from(inputRef.value.$el.querySelectorAll(\"input\"));\n      }\n      return [];\n    });\n    const onSuggestionShow = () => {\n      if (suggestionVisible.value) {\n        dropdownWidth.value = `${inputRef.value.$el.offsetWidth}px`;\n      }\n    };\n    const onHide = () => {\n      highlightedIndex.value = -1;\n    };\n    const getData = async (queryString) => {\n      if (suggestionDisabled.value)\n        return;\n      const cb = (suggestionList) => {\n        loading.value = false;\n        if (suggestionDisabled.value)\n          return;\n        if (isArray(suggestionList)) {\n          suggestions.value = suggestionList;\n          highlightedIndex.value = props.highlightFirstItem ? 0 : -1;\n        } else {\n          throwError(COMPONENT_NAME, \"autocomplete suggestions must be an array\");\n        }\n      };\n      loading.value = true;\n      if (isArray(props.fetchSuggestions)) {\n        cb(props.fetchSuggestions);\n      } else {\n        const result = await props.fetchSuggestions(queryString, cb);\n        if (isArray(result))\n          cb(result);\n      }\n    };\n    const debouncedGetData = debounce(getData, props.debounce);\n    const handleInput = (value) => {\n      const valuePresented = !!value;\n      emit(INPUT_EVENT, value);\n      emit(UPDATE_MODEL_EVENT, value);\n      suggestionDisabled.value = false;\n      activated.value || (activated.value = valuePresented);\n      if (!props.triggerOnFocus && !value) {\n        suggestionDisabled.value = true;\n        suggestions.value = [];\n        return;\n      }\n      debouncedGetData(value);\n    };\n    const handleMouseDown = (event) => {\n      var _a;\n      if (disabled.value)\n        return;\n      if (((_a = event.target) == null ? void 0 : _a.tagName) !== \"INPUT\" || refInput.value.includes(document.activeElement)) {\n        activated.value = true;\n      }\n    };\n    const handleChange = (value) => {\n      emit(CHANGE_EVENT, value);\n    };\n    const handleFocus = (evt) => {\n      if (!ignoreFocusEvent) {\n        activated.value = true;\n        emit(\"focus\", evt);\n        if (props.triggerOnFocus && !readonly) {\n          debouncedGetData(String(props.modelValue));\n        }\n      } else {\n        ignoreFocusEvent = false;\n      }\n    };\n    const handleBlur = (evt) => {\n      setTimeout(() => {\n        var _a;\n        if ((_a = popperRef.value) == null ? void 0 : _a.isFocusInsideContent()) {\n          ignoreFocusEvent = true;\n          return;\n        }\n        activated.value && close();\n        emit(\"blur\", evt);\n      });\n    };\n    const handleClear = () => {\n      activated.value = false;\n      emit(UPDATE_MODEL_EVENT, \"\");\n      emit(\"clear\");\n    };\n    const handleKeyEnter = async () => {\n      if (suggestionVisible.value && highlightedIndex.value >= 0 && highlightedIndex.value < suggestions.value.length) {\n        handleSelect(suggestions.value[highlightedIndex.value]);\n      } else if (props.selectWhenUnmatched) {\n        emit(\"select\", { value: props.modelValue });\n        suggestions.value = [];\n        highlightedIndex.value = -1;\n      }\n    };\n    const handleKeyEscape = (evt) => {\n      if (suggestionVisible.value) {\n        evt.preventDefault();\n        evt.stopPropagation();\n        close();\n      }\n    };\n    const close = () => {\n      activated.value = false;\n    };\n    const focus = () => {\n      var _a;\n      (_a = inputRef.value) == null ? void 0 : _a.focus();\n    };\n    const blur = () => {\n      var _a;\n      (_a = inputRef.value) == null ? void 0 : _a.blur();\n    };\n    const handleSelect = async (item) => {\n      emit(INPUT_EVENT, item[props.valueKey]);\n      emit(UPDATE_MODEL_EVENT, item[props.valueKey]);\n      emit(\"select\", item);\n      suggestions.value = [];\n      highlightedIndex.value = -1;\n    };\n    const highlight = (index) => {\n      if (!suggestionVisible.value || loading.value)\n        return;\n      if (index < 0) {\n        highlightedIndex.value = -1;\n        return;\n      }\n      if (index >= suggestions.value.length) {\n        index = suggestions.value.length - 1;\n      }\n      const suggestion = regionRef.value.querySelector(`.${ns.be(\"suggestion\", \"wrap\")}`);\n      const suggestionList = suggestion.querySelectorAll(`.${ns.be(\"suggestion\", \"list\")} li`);\n      const highlightItem = suggestionList[index];\n      const scrollTop = suggestion.scrollTop;\n      const { offsetTop, scrollHeight } = highlightItem;\n      if (offsetTop + scrollHeight > scrollTop + suggestion.clientHeight) {\n        suggestion.scrollTop += scrollHeight;\n      }\n      if (offsetTop < scrollTop) {\n        suggestion.scrollTop -= scrollHeight;\n      }\n      highlightedIndex.value = index;\n      inputRef.value.ref.setAttribute(\"aria-activedescendant\", `${listboxId.value}-item-${highlightedIndex.value}`);\n    };\n    onClickOutside(listboxRef, () => {\n      suggestionVisible.value && close();\n    });\n    onMounted(() => {\n      ;\n      inputRef.value.ref.setAttribute(\"role\", \"textbox\");\n      inputRef.value.ref.setAttribute(\"aria-autocomplete\", \"list\");\n      inputRef.value.ref.setAttribute(\"aria-controls\", \"id\");\n      inputRef.value.ref.setAttribute(\"aria-activedescendant\", `${listboxId.value}-item-${highlightedIndex.value}`);\n      readonly = inputRef.value.ref.hasAttribute(\"readonly\");\n    });\n    expose({\n      highlightedIndex,\n      activated,\n      loading,\n      inputRef,\n      popperRef,\n      suggestions,\n      handleSelect,\n      handleKeyEnter,\n      focus,\n      blur,\n      close,\n      highlight\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(unref(ElTooltip), {\n        ref_key: \"popperRef\",\n        ref: popperRef,\n        visible: unref(suggestionVisible),\n        placement: _ctx.placement,\n        \"fallback-placements\": [\"bottom-start\", \"top-start\"],\n        \"popper-class\": [unref(ns).e(\"popper\"), _ctx.popperClass],\n        teleported: _ctx.teleported,\n        \"gpu-acceleration\": false,\n        pure: \"\",\n        \"manual-mode\": \"\",\n        effect: \"light\",\n        trigger: \"click\",\n        transition: `${unref(ns).namespace.value}-zoom-in-top`,\n        persistent: \"\",\n        role: \"listbox\",\n        onBeforeShow: onSuggestionShow,\n        onHide\n      }, {\n        content: withCtx(() => [\n          createElementVNode(\"div\", {\n            ref_key: \"regionRef\",\n            ref: regionRef,\n            class: normalizeClass([unref(ns).b(\"suggestion\"), unref(ns).is(\"loading\", unref(suggestionLoading))]),\n            style: normalizeStyle({\n              [_ctx.fitInputWidth ? \"width\" : \"minWidth\"]: dropdownWidth.value,\n              outline: \"none\"\n            }),\n            role: \"region\"\n          }, [\n            createVNode(unref(ElScrollbar), {\n              id: unref(listboxId),\n              tag: \"ul\",\n              \"wrap-class\": unref(ns).be(\"suggestion\", \"wrap\"),\n              \"view-class\": unref(ns).be(\"suggestion\", \"list\"),\n              role: \"listbox\"\n            }, {\n              default: withCtx(() => [\n                unref(suggestionLoading) ? (openBlock(), createElementBlock(\"li\", _hoisted_2, [\n                  renderSlot(_ctx.$slots, \"loading\", {}, () => [\n                    createVNode(unref(ElIcon), {\n                      class: normalizeClass(unref(ns).is(\"loading\"))\n                    }, {\n                      default: withCtx(() => [\n                        createVNode(unref(Loading))\n                      ]),\n                      _: 1\n                    }, 8, [\"class\"])\n                  ])\n                ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(suggestions.value, (item, index) => {\n                  return openBlock(), createElementBlock(\"li\", {\n                    id: `${unref(listboxId)}-item-${index}`,\n                    key: index,\n                    class: normalizeClass({ highlighted: highlightedIndex.value === index }),\n                    role: \"option\",\n                    \"aria-selected\": highlightedIndex.value === index,\n                    onClick: ($event) => handleSelect(item)\n                  }, [\n                    renderSlot(_ctx.$slots, \"default\", { item }, () => [\n                      createTextVNode(toDisplayString(item[_ctx.valueKey]), 1)\n                    ])\n                  ], 10, _hoisted_3);\n                }), 128))\n              ]),\n              _: 3\n            }, 8, [\"id\", \"wrap-class\", \"view-class\"])\n          ], 6)\n        ]),\n        default: withCtx(() => [\n          createElementVNode(\"div\", {\n            ref_key: \"listboxRef\",\n            ref: listboxRef,\n            class: normalizeClass([unref(ns).b(), _ctx.$attrs.class]),\n            style: normalizeStyle(unref(styles)),\n            role: \"combobox\",\n            \"aria-haspopup\": \"listbox\",\n            \"aria-expanded\": unref(suggestionVisible),\n            \"aria-owns\": unref(listboxId)\n          }, [\n            createVNode(unref(ElInput), mergeProps({\n              ref_key: \"inputRef\",\n              ref: inputRef\n            }, unref(attrs), {\n              clearable: _ctx.clearable,\n              disabled: unref(disabled),\n              name: _ctx.name,\n              \"model-value\": _ctx.modelValue,\n              onInput: handleInput,\n              onChange: handleChange,\n              onFocus: handleFocus,\n              onBlur: handleBlur,\n              onClear: handleClear,\n              onKeydown: [\n                _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => highlight(highlightedIndex.value - 1), [\"prevent\"]), [\"up\"])),\n                _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => highlight(highlightedIndex.value + 1), [\"prevent\"]), [\"down\"])),\n                withKeys(handleKeyEnter, [\"enter\"]),\n                withKeys(close, [\"tab\"]),\n                withKeys(handleKeyEscape, [\"esc\"])\n              ],\n              onMousedown: handleMouseDown\n            }), createSlots({ _: 2 }, [\n              _ctx.$slots.prepend ? {\n                name: \"prepend\",\n                fn: withCtx(() => [\n                  renderSlot(_ctx.$slots, \"prepend\")\n                ])\n              } : void 0,\n              _ctx.$slots.append ? {\n                name: \"append\",\n                fn: withCtx(() => [\n                  renderSlot(_ctx.$slots, \"append\")\n                ])\n              } : void 0,\n              _ctx.$slots.prefix ? {\n                name: \"prefix\",\n                fn: withCtx(() => [\n                  renderSlot(_ctx.$slots, \"prefix\")\n                ])\n              } : void 0,\n              _ctx.$slots.suffix ? {\n                name: \"suffix\",\n                fn: withCtx(() => [\n                  renderSlot(_ctx.$slots, \"suffix\")\n                ])\n              } : void 0\n            ]), 1040, [\"clearable\", \"disabled\", \"name\", \"model-value\", \"onKeydown\"])\n          ], 14, _hoisted_1)\n        ]),\n        _: 3\n      }, 8, [\"visible\", \"placement\", \"popper-class\", \"teleported\", \"transition\"]);\n    };\n  }\n});\nvar Autocomplete = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"autocomplete.vue\"]]);\n\nexport { Autocomplete as default };\n//# sourceMappingURL=autocomplete2.mjs.map\n","import '../../utils/index.mjs';\nimport Autocomplete from './src/autocomplete2.mjs';\nexport { autocompleteEmits, autocompleteProps } from './src/autocomplete.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElAutocomplete = withInstall(Autocomplete);\n\nexport { ElAutocomplete, ElAutocomplete 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\", \"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 { 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 { 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\", \"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","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 { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\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 { t } = useLocale();\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\": unref(t)(\"el.breadcrumb.label\"),\n        role: \"navigation\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 10, _hoisted_1);\n    };\n  }\n});\nvar Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"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\", \"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","import '../../../utils/index.mjs';\nimport '../../time-picker/index.mjs';\nimport { rangeArr } from '../../time-picker/src/utils.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { isObject } from '@vue/shared';\n\nconst getPrevMonthLastDays = (date, count) => {\n  const lastDay = date.subtract(1, \"month\").endOf(\"month\").date();\n  return rangeArr(count).map((_, index) => lastDay - (count - index - 1));\n};\nconst getMonthDays = (date) => {\n  const days = date.daysInMonth();\n  return rangeArr(days).map((_, index) => index + 1);\n};\nconst toNestedArr = (days) => rangeArr(days.length / 7).map((index) => {\n  const start = index * 7;\n  return days.slice(start, start + 7);\n});\nconst dateTableProps = buildProps({\n  selectedDay: {\n    type: definePropType(Object)\n  },\n  range: {\n    type: definePropType(Array)\n  },\n  date: {\n    type: definePropType(Object),\n    required: true\n  },\n  hideHeader: {\n    type: Boolean\n  }\n});\nconst dateTableEmits = {\n  pick: (value) => isObject(value)\n};\n\nexport { dateTableEmits, dateTableProps, getMonthDays, getPrevMonthLastDays, toNestedArr };\n//# sourceMappingURL=date-table.mjs.map\n","import { computed } from 'vue';\nimport dayjs from 'dayjs';\nimport localeData from 'dayjs/plugin/localeData.js';\nimport '../../../hooks/index.mjs';\nimport '../../time-picker/index.mjs';\nimport '../../../constants/index.mjs';\nimport { getPrevMonthLastDays, getMonthDays, toNestedArr } from './date-table.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { rangeArr } from '../../time-picker/src/utils.mjs';\nimport { WEEK_DAYS } from '../../../constants/date.mjs';\n\nconst useDateTable = (props, emit) => {\n  dayjs.extend(localeData);\n  const firstDayOfWeek = dayjs.localeData().firstDayOfWeek();\n  const { t, lang } = useLocale();\n  const now = dayjs().locale(lang.value);\n  const isInRange = computed(() => !!props.range && !!props.range.length);\n  const rows = computed(() => {\n    let days = [];\n    if (isInRange.value) {\n      const [start, end] = props.range;\n      const currentMonthRange = rangeArr(end.date() - start.date() + 1).map((index) => ({\n        text: start.date() + index,\n        type: \"current\"\n      }));\n      let remaining = currentMonthRange.length % 7;\n      remaining = remaining === 0 ? 0 : 7 - remaining;\n      const nextMonthRange = rangeArr(remaining).map((_, index) => ({\n        text: index + 1,\n        type: \"next\"\n      }));\n      days = currentMonthRange.concat(nextMonthRange);\n    } else {\n      const firstDay = props.date.startOf(\"month\").day();\n      const prevMonthDays = getPrevMonthLastDays(props.date, (firstDay - firstDayOfWeek + 7) % 7).map((day) => ({\n        text: day,\n        type: \"prev\"\n      }));\n      const currentMonthDays = getMonthDays(props.date).map((day) => ({\n        text: day,\n        type: \"current\"\n      }));\n      days = [...prevMonthDays, ...currentMonthDays];\n      const remaining = 7 - (days.length % 7 || 7);\n      const nextMonthDays = rangeArr(remaining).map((_, index) => ({\n        text: index + 1,\n        type: \"next\"\n      }));\n      days = days.concat(nextMonthDays);\n    }\n    return toNestedArr(days);\n  });\n  const weekDays = computed(() => {\n    const start = firstDayOfWeek;\n    if (start === 0) {\n      return WEEK_DAYS.map((_) => t(`el.datepicker.weeks.${_}`));\n    } else {\n      return WEEK_DAYS.slice(start).concat(WEEK_DAYS.slice(0, start)).map((_) => t(`el.datepicker.weeks.${_}`));\n    }\n  });\n  const getFormattedDate = (day, type) => {\n    switch (type) {\n      case \"prev\":\n        return props.date.startOf(\"month\").subtract(1, \"month\").date(day);\n      case \"next\":\n        return props.date.startOf(\"month\").add(1, \"month\").date(day);\n      case \"current\":\n        return props.date.date(day);\n    }\n  };\n  const handlePickDay = ({ text, type }) => {\n    const date = getFormattedDate(text, type);\n    emit(\"pick\", date);\n  };\n  const getSlotData = ({ text, type }) => {\n    const day = getFormattedDate(text, type);\n    return {\n      isSelected: day.isSame(props.selectedDay),\n      type: `${type}-month`,\n      day: day.format(\"YYYY-MM-DD\"),\n      date: day.toDate()\n    };\n  };\n  return {\n    now,\n    isInRange,\n    rows,\n    weekDays,\n    getFormattedDate,\n    handlePickDay,\n    getSlotData\n  };\n};\n\nexport { useDateTable };\n//# sourceMappingURL=use-date-table.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, toDisplayString, createCommentVNode, createElementVNode, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { dateTableProps, dateTableEmits } from './date-table.mjs';\nimport { useDateTable } from './use-date-table.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = { key: 0 };\nconst _hoisted_2 = [\"onClick\"];\nconst __default__ = defineComponent({\n  name: \"DateTable\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: dateTableProps,\n  emits: dateTableEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const {\n      isInRange,\n      now,\n      rows,\n      weekDays,\n      getFormattedDate,\n      handlePickDay,\n      getSlotData\n    } = useDateTable(props, emit);\n    const nsTable = useNamespace(\"calendar-table\");\n    const nsDay = useNamespace(\"calendar-day\");\n    const getCellClass = ({ text, type }) => {\n      const classes = [type];\n      if (type === \"current\") {\n        const date = getFormattedDate(text, type);\n        if (date.isSame(props.selectedDay, \"day\")) {\n          classes.push(nsDay.is(\"selected\"));\n        }\n        if (date.isSame(now, \"day\")) {\n          classes.push(nsDay.is(\"today\"));\n        }\n      }\n      return classes;\n    };\n    expose({\n      getFormattedDate\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"table\", {\n        class: normalizeClass([unref(nsTable).b(), unref(nsTable).is(\"range\", unref(isInRange))]),\n        cellspacing: \"0\",\n        cellpadding: \"0\"\n      }, [\n        !_ctx.hideHeader ? (openBlock(), createElementBlock(\"thead\", _hoisted_1, [\n          (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekDays), (day) => {\n            return openBlock(), createElementBlock(\"th\", { key: day }, toDisplayString(day), 1);\n          }), 128))\n        ])) : createCommentVNode(\"v-if\", true),\n        createElementVNode(\"tbody\", null, [\n          (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, index) => {\n            return openBlock(), createElementBlock(\"tr\", {\n              key: index,\n              class: normalizeClass({\n                [unref(nsTable).e(\"row\")]: true,\n                [unref(nsTable).em(\"row\", \"hide-border\")]: index === 0 && _ctx.hideHeader\n              })\n            }, [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, key) => {\n                return openBlock(), createElementBlock(\"td\", {\n                  key,\n                  class: normalizeClass(getCellClass(cell)),\n                  onClick: ($event) => unref(handlePickDay)(cell)\n                }, [\n                  createElementVNode(\"div\", {\n                    class: normalizeClass(unref(nsDay).b())\n                  }, [\n                    renderSlot(_ctx.$slots, \"date-cell\", {\n                      data: unref(getSlotData)(cell)\n                    }, () => [\n                      createElementVNode(\"span\", null, toDisplayString(cell.text), 1)\n                    ])\n                  ], 2)\n                ], 10, _hoisted_2);\n              }), 128))\n            ], 2);\n          }), 128))\n        ])\n      ], 2);\n    };\n  }\n});\nvar DateTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"date-table.vue\"]]);\n\nexport { DateTable as default };\n//# sourceMappingURL=date-table2.mjs.map\n","import { ref, computed } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { INPUT_EVENT, UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst adjacentMonth = (start, end) => {\n  const firstMonthLastDay = start.endOf(\"month\");\n  const lastMonthFirstDay = end.startOf(\"month\");\n  const isSameWeek = firstMonthLastDay.isSame(lastMonthFirstDay, \"week\");\n  const lastMonthStartDay = isSameWeek ? lastMonthFirstDay.add(1, \"week\") : lastMonthFirstDay;\n  return [\n    [start, firstMonthLastDay],\n    [lastMonthStartDay.startOf(\"week\"), end]\n  ];\n};\nconst threeConsecutiveMonth = (start, end) => {\n  const firstMonthLastDay = start.endOf(\"month\");\n  const secondMonthFirstDay = start.add(1, \"month\").startOf(\"month\");\n  const secondMonthStartDay = firstMonthLastDay.isSame(secondMonthFirstDay, \"week\") ? secondMonthFirstDay.add(1, \"week\") : secondMonthFirstDay;\n  const secondMonthLastDay = secondMonthStartDay.endOf(\"month\");\n  const lastMonthFirstDay = end.startOf(\"month\");\n  const lastMonthStartDay = secondMonthLastDay.isSame(lastMonthFirstDay, \"week\") ? lastMonthFirstDay.add(1, \"week\") : lastMonthFirstDay;\n  return [\n    [start, firstMonthLastDay],\n    [secondMonthStartDay.startOf(\"week\"), secondMonthLastDay],\n    [lastMonthStartDay.startOf(\"week\"), end]\n  ];\n};\nconst useCalendar = (props, emit, componentName) => {\n  const { lang } = useLocale();\n  const selectedDay = ref();\n  const now = dayjs().locale(lang.value);\n  const realSelectedDay = computed({\n    get() {\n      if (!props.modelValue)\n        return selectedDay.value;\n      return date.value;\n    },\n    set(val) {\n      if (!val)\n        return;\n      selectedDay.value = val;\n      const result = val.toDate();\n      emit(INPUT_EVENT, result);\n      emit(UPDATE_MODEL_EVENT, result);\n    }\n  });\n  const validatedRange = computed(() => {\n    if (!props.range)\n      return [];\n    const rangeArrDayjs = props.range.map((_) => dayjs(_).locale(lang.value));\n    const [startDayjs, endDayjs] = rangeArrDayjs;\n    if (startDayjs.isAfter(endDayjs)) {\n      debugWarn(componentName, \"end time should be greater than start time\");\n      return [];\n    }\n    if (startDayjs.isSame(endDayjs, \"month\")) {\n      return calculateValidatedDateRange(startDayjs, endDayjs);\n    } else {\n      if (startDayjs.add(1, \"month\").month() !== endDayjs.month()) {\n        debugWarn(componentName, \"start time and end time interval must not exceed two months\");\n        return [];\n      }\n      return calculateValidatedDateRange(startDayjs, endDayjs);\n    }\n  });\n  const date = computed(() => {\n    if (!props.modelValue) {\n      return realSelectedDay.value || (validatedRange.value.length ? validatedRange.value[0][0] : now);\n    } else {\n      return dayjs(props.modelValue).locale(lang.value);\n    }\n  });\n  const prevMonthDayjs = computed(() => date.value.subtract(1, \"month\").date(1));\n  const nextMonthDayjs = computed(() => date.value.add(1, \"month\").date(1));\n  const prevYearDayjs = computed(() => date.value.subtract(1, \"year\").date(1));\n  const nextYearDayjs = computed(() => date.value.add(1, \"year\").date(1));\n  const calculateValidatedDateRange = (startDayjs, endDayjs) => {\n    const firstDay = startDayjs.startOf(\"week\");\n    const lastDay = endDayjs.endOf(\"week\");\n    const firstMonth = firstDay.get(\"month\");\n    const lastMonth = lastDay.get(\"month\");\n    if (firstMonth === lastMonth) {\n      return [[firstDay, lastDay]];\n    } else if ((firstMonth + 1) % 12 === lastMonth) {\n      return adjacentMonth(firstDay, lastDay);\n    } else if (firstMonth + 2 === lastMonth || (firstMonth + 1) % 11 === lastMonth) {\n      return threeConsecutiveMonth(firstDay, lastDay);\n    } else {\n      debugWarn(componentName, \"start time and end time interval must not exceed two months\");\n      return [];\n    }\n  };\n  const pickDay = (day) => {\n    realSelectedDay.value = day;\n  };\n  const selectDate = (type) => {\n    const dateMap = {\n      \"prev-month\": prevMonthDayjs.value,\n      \"next-month\": nextMonthDayjs.value,\n      \"prev-year\": prevYearDayjs.value,\n      \"next-year\": nextYearDayjs.value,\n      today: now\n    };\n    const day = dateMap[type];\n    if (!day.isSame(date.value, \"day\")) {\n      pickDay(day);\n    }\n  };\n  return {\n    calculateValidatedDateRange,\n    date,\n    realSelectedDay,\n    pickDay,\n    selectDate,\n    validatedRange\n  };\n};\n\nexport { useCalendar };\n//# sourceMappingURL=use-calendar.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { isArray, isDate } from '@vue/shared';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { UPDATE_MODEL_EVENT, INPUT_EVENT } from '../../../constants/event.mjs';\n\nconst isValidRange = (range) => isArray(range) && range.length === 2 && range.every((item) => isDate(item));\nconst calendarProps = buildProps({\n  modelValue: {\n    type: Date\n  },\n  range: {\n    type: definePropType(Array),\n    validator: isValidRange\n  }\n});\nconst calendarEmits = {\n  [UPDATE_MODEL_EVENT]: (value) => isDate(value),\n  [INPUT_EVENT]: (value) => isDate(value)\n};\n\nexport { calendarEmits, calendarProps };\n//# sourceMappingURL=calendar.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, toDisplayString, createVNode, withCtx, createTextVNode, createCommentVNode, createSlots, normalizeProps, guardReactiveProps, Fragment, renderList, createBlock } from 'vue';\nimport { ElButtonGroup, ElButton } from '../../button/index.mjs';\nimport '../../../hooks/index.mjs';\nimport DateTable from './date-table2.mjs';\nimport { useCalendar } from './use-calendar.mjs';\nimport { calendarProps, calendarEmits } from './calendar.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 COMPONENT_NAME = \"ElCalendar\";\nconst __default__ = defineComponent({\n  name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: calendarProps,\n  emits: calendarEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const ns = useNamespace(\"calendar\");\n    const {\n      calculateValidatedDateRange,\n      date,\n      pickDay,\n      realSelectedDay,\n      selectDate,\n      validatedRange\n    } = useCalendar(props, emit, COMPONENT_NAME);\n    const { t } = useLocale();\n    const i18nDate = computed(() => {\n      const pickedMonth = `el.datepicker.month${date.value.format(\"M\")}`;\n      return `${date.value.year()} ${t(\"el.datepicker.year\")} ${t(pickedMonth)}`;\n    });\n    expose({\n      selectedDay: realSelectedDay,\n      pickDay,\n      selectDate,\n      calculateValidatedDateRange\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(\"header\"))\n        }, [\n          renderSlot(_ctx.$slots, \"header\", { date: unref(i18nDate) }, () => [\n            createElementVNode(\"div\", {\n              class: normalizeClass(unref(ns).e(\"title\"))\n            }, toDisplayString(unref(i18nDate)), 3),\n            unref(validatedRange).length === 0 ? (openBlock(), createElementBlock(\"div\", {\n              key: 0,\n              class: normalizeClass(unref(ns).e(\"button-group\"))\n            }, [\n              createVNode(unref(ElButtonGroup), null, {\n                default: withCtx(() => [\n                  createVNode(unref(ElButton), {\n                    size: \"small\",\n                    onClick: _cache[0] || (_cache[0] = ($event) => unref(selectDate)(\"prev-month\"))\n                  }, {\n                    default: withCtx(() => [\n                      createTextVNode(toDisplayString(unref(t)(\"el.datepicker.prevMonth\")), 1)\n                    ]),\n                    _: 1\n                  }),\n                  createVNode(unref(ElButton), {\n                    size: \"small\",\n                    onClick: _cache[1] || (_cache[1] = ($event) => unref(selectDate)(\"today\"))\n                  }, {\n                    default: withCtx(() => [\n                      createTextVNode(toDisplayString(unref(t)(\"el.datepicker.today\")), 1)\n                    ]),\n                    _: 1\n                  }),\n                  createVNode(unref(ElButton), {\n                    size: \"small\",\n                    onClick: _cache[2] || (_cache[2] = ($event) => unref(selectDate)(\"next-month\"))\n                  }, {\n                    default: withCtx(() => [\n                      createTextVNode(toDisplayString(unref(t)(\"el.datepicker.nextMonth\")), 1)\n                    ]),\n                    _: 1\n                  })\n                ]),\n                _: 1\n              })\n            ], 2)) : createCommentVNode(\"v-if\", true)\n          ])\n        ], 2),\n        unref(validatedRange).length === 0 ? (openBlock(), createElementBlock(\"div\", {\n          key: 0,\n          class: normalizeClass(unref(ns).e(\"body\"))\n        }, [\n          createVNode(DateTable, {\n            date: unref(date),\n            \"selected-day\": unref(realSelectedDay),\n            onPick: unref(pickDay)\n          }, createSlots({ _: 2 }, [\n            _ctx.$slots[\"date-cell\"] ? {\n              name: \"date-cell\",\n              fn: withCtx((data) => [\n                renderSlot(_ctx.$slots, \"date-cell\", normalizeProps(guardReactiveProps(data)))\n              ])\n            } : void 0\n          ]), 1032, [\"date\", \"selected-day\", \"onPick\"])\n        ], 2)) : (openBlock(), createElementBlock(\"div\", {\n          key: 1,\n          class: normalizeClass(unref(ns).e(\"body\"))\n        }, [\n          (openBlock(true), createElementBlock(Fragment, null, renderList(unref(validatedRange), (range_, index) => {\n            return openBlock(), createBlock(DateTable, {\n              key: index,\n              date: range_[0],\n              \"selected-day\": unref(realSelectedDay),\n              range: range_,\n              \"hide-header\": index !== 0,\n              onPick: unref(pickDay)\n            }, createSlots({ _: 2 }, [\n              _ctx.$slots[\"date-cell\"] ? {\n                name: \"date-cell\",\n                fn: withCtx((data) => [\n                  renderSlot(_ctx.$slots, \"date-cell\", normalizeProps(guardReactiveProps(data)))\n                ])\n              } : void 0\n            ]), 1032, [\"date\", \"selected-day\", \"range\", \"hide-header\", \"onPick\"]);\n          }), 128))\n        ], 2))\n      ], 2);\n    };\n  }\n});\nvar Calendar = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"calendar.vue\"]]);\n\nexport { Calendar as default };\n//# sourceMappingURL=calendar2.mjs.map\n","import '../../utils/index.mjs';\nimport Calendar from './src/calendar2.mjs';\nexport { calendarEmits, calendarProps } from './src/calendar.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElCalendar = withInstall(Calendar);\n\nexport { ElCalendar, ElCalendar as default };\n//# sourceMappingURL=index.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  footer: {\n    type: String,\n    default: \"\"\n  },\n  bodyStyle: {\n    type: definePropType([String, Object, Array]),\n    default: \"\"\n  },\n  bodyClass: String,\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\"), _ctx.bodyClass]),\n          style: normalizeStyle(_ctx.bodyStyle)\n        }, [\n          renderSlot(_ctx.$slots, \"default\")\n        ], 6),\n        _ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock(\"div\", {\n          key: 1,\n          class: normalizeClass(unref(ns).e(\"footer\"))\n        }, [\n          renderSlot(_ctx.$slots, \"footer\", {}, () => [\n            createTextVNode(toDisplayString(_ctx.footer), 1)\n          ])\n        ], 2)) : createCommentVNode(\"v-if\", true)\n      ], 2);\n    };\n  }\n});\nvar Card = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"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  motionBlur: {\n    type: Boolean,\n    default: false\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, useSlots, ref, computed, unref, isVNode, 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';\nimport { flattedChildren } from '../../../utils/vue/vnode.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 slots = useSlots();\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 isItemsTwoLength = ref(true);\n  const isFirstCall = ref(true);\n  const isTransitioning = ref(false);\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  const isTwoLengthShow = (index) => {\n    if (!isItemsTwoLength.value)\n      return true;\n    return activeIndex.value <= 1 ? index <= 1 : index > 1;\n  };\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 (!isFirstCall.value) {\n      isTransitioning.value = true;\n    }\n    isFirstCall.value = false;\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 (!isFirstCall.value) {\n      isTransitioning.value = true;\n    }\n    isFirstCall.value = false;\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 handleTransitionEnd() {\n    isTransitioning.value = false;\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    if (index !== activeIndex.value) {\n      if (!isFirstCall.value) {\n        isTransitioning.value = true;\n      }\n    }\n    activeIndex.value = index;\n  }\n  function handleIndicatorHover(index) {\n    if (props.trigger === \"hover\" && index !== activeIndex.value) {\n      activeIndex.value = index;\n      if (!isFirstCall.value) {\n        isTransitioning.value = true;\n      }\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    if (!props.pauseOnHover)\n      startTimer();\n  }\n  function setContainerHeight(height) {\n    if (props.height !== \"auto\")\n      return;\n    containerHeight.value = height;\n  }\n  function PlaceholderItem() {\n    var _a;\n    const defaultSlots = (_a = slots.default) == null ? void 0 : _a.call(slots);\n    if (!defaultSlots)\n      return null;\n    const flatSlots = flattedChildren(defaultSlots);\n    const carouselItemsName = \"ElCarouselItem\";\n    const normalizeSlots = flatSlots.filter((slot) => {\n      return isVNode(slot) && slot.type.name === carouselItemsName;\n    });\n    if ((normalizeSlots == null ? void 0 : normalizeSlots.length) === 2 && props.loop && !isCardType.value) {\n      isItemsTwoLength.value = true;\n      return normalizeSlots;\n    }\n    isItemsTwoLength.value = false;\n    return null;\n  }\n  watch(() => activeIndex.value, (current, prev2) => {\n    resetItemPosition(prev2);\n    if (isItemsTwoLength.value) {\n      current = current % 2;\n      prev2 = prev2 % 2;\n    }\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  const resizeObserver = shallowRef();\n  onMounted(() => {\n    watch(() => items.value, () => {\n      if (items.value.length > 0)\n        setActiveItem(props.initialIndex);\n    }, {\n      immediate: true\n    });\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    isTransitioning,\n    items,\n    isVertical,\n    containerStyle,\n    isItemsTwoLength,\n    handleButtonEnter,\n    handleTransitionEnd,\n    handleButtonLeave,\n    handleIndicatorClick,\n    handleMouseEnter,\n    handleMouseLeave,\n    setActiveItem,\n    prev,\n    next,\n    PlaceholderItem,\n    isTwoLengthShow,\n    throttledArrowClick,\n    throttledIndicatorHover\n  };\n};\n\nexport { useCarousel };\n//# sourceMappingURL=use-carousel.mjs.map\n","import { createElementVNode, defineComponent, computed, unref, openBlock, createElementBlock, normalizeClass, withModifiers, createBlock, Transition, withCtx, withDirectives, createVNode, vShow, createCommentVNode, normalizeStyle, 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';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"aria-label\"];\nconst _hoisted_3 = [\"onMouseenter\", \"onClick\"];\nconst _hoisted_4 = [\"aria-label\"];\nconst _hoisted_5 = { key: 0 };\nconst _hoisted_6 = {\n  key: 3,\n  xmlns: \"http://www.w3.org/2000/svg\",\n  version: \"1.1\",\n  style: { \"display\": \"none\" }\n};\nconst _hoisted_7 = /* @__PURE__ */ createElementVNode(\"defs\", null, [\n  /* @__PURE__ */ createElementVNode(\"filter\", { id: \"elCarouselHorizontal\" }, [\n    /* @__PURE__ */ createElementVNode(\"feGaussianBlur\", {\n      in: \"SourceGraphic\",\n      stdDeviation: \"12,0\"\n    })\n  ]),\n  /* @__PURE__ */ createElementVNode(\"filter\", { id: \"elCarouselVertical\" }, [\n    /* @__PURE__ */ createElementVNode(\"feGaussianBlur\", {\n      in: \"SourceGraphic\",\n      stdDeviation: \"0,10\"\n    })\n  ])\n], -1);\nconst _hoisted_8 = [\n  _hoisted_7\n];\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      isTransitioning,\n      handleIndicatorClick,\n      handleMouseEnter,\n      handleMouseLeave,\n      handleTransitionEnd,\n      setActiveItem,\n      prev,\n      next,\n      PlaceholderItem,\n      isTwoLengthShow,\n      throttledArrowClick,\n      throttledIndicatorHover\n    } = useCarousel(props, emit, COMPONENT_NAME);\n    const ns = useNamespace(\"carousel\");\n    const { t } = useLocale();\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 carouselContainer = computed(() => {\n      const classes = [ns.e(\"container\")];\n      if (props.motionBlur && unref(isTransitioning)) {\n        classes.push(unref(isVertical) ? `${ns.namespace.value}-transitioning-vertical` : `${ns.namespace.value}-transitioning`);\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[7] || (_cache[7] = withModifiers((...args) => unref(handleMouseEnter) && unref(handleMouseEnter)(...args), [\"stop\"])),\n        onMouseleave: _cache[8] || (_cache[8] = withModifiers((...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args), [\"stop\"]))\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              \"aria-label\": unref(t)(\"el.carousel.leftArrow\"),\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            ], 42, _hoisted_1), [\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              \"aria-label\": unref(t)(\"el.carousel.rightArrow\"),\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            ], 42, _hoisted_2), [\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        createElementVNode(\"div\", {\n          class: normalizeClass(unref(carouselContainer)),\n          style: normalizeStyle(unref(containerStyle)),\n          onTransitionend: _cache[6] || (_cache[6] = (...args) => unref(handleTransitionEnd) && unref(handleTransitionEnd)(...args))\n        }, [\n          createVNode(unref(PlaceholderItem)),\n          renderSlot(_ctx.$slots, \"default\")\n        ], 38),\n        _ctx.indicatorPosition !== \"none\" ? (openBlock(), createElementBlock(\"ul\", {\n          key: 2,\n          class: normalizeClass(unref(indicatorsClasses))\n        }, [\n          (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {\n            return withDirectives((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                \"aria-label\": unref(t)(\"el.carousel.indicator\", { index: index + 1 })\n              }, [\n                unref(hasLabel) ? (openBlock(), createElementBlock(\"span\", _hoisted_5, toDisplayString(item.props.label), 1)) : createCommentVNode(\"v-if\", true)\n              ], 10, _hoisted_4)\n            ], 42, _hoisted_3)), [\n              [vShow, unref(isTwoLengthShow)(index)]\n            ]);\n          }), 128))\n        ], 2)) : createCommentVNode(\"v-if\", true),\n        props.motionBlur ? (openBlock(), createElementBlock(\"svg\", _hoisted_6, _hoisted_8)) : createCommentVNode(\"v-if\", true)\n      ], 34);\n    };\n  }\n});\nvar Carousel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"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: <el-carousel></el-carousel-item></el-carousel>\");\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 itemKls = computed(() => [\n      ns.e(\"item\"),\n      ns.is(\"active\", active.value),\n      ns.is(\"in-stage\", inStage.value),\n      ns.is(\"hover\", hover.value),\n      ns.is(\"animating\", animating.value),\n      {\n        [ns.em(\"item\", \"card\")]: isCardType.value,\n        [ns.em(\"item\", \"card-vertical\")]: isCardType.value && isVertical.value\n      }\n    ]);\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(unref(itemKls)),\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\", \"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 { 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\", \"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 { 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 { useId } from '../../../hooks/use-id/index.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 = useId();\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(() => `${id.value}-${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          <path style=\"pointer-events: auto;\" fill=\"transparent\" d=\"M${startX} ${top} L${offsetWidth} 0 V${top} Z\" />\n          <path style=\"pointer-events: auto;\" fill=\"transparent\" d=\"M${startX} ${bottom} L${offsetWidth} ${offsetHeight} V${bottom} Z\" />\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\", \"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      reactive(newNodes).forEach((node) => node.doCheck(true));\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\", \"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 '../../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 { useEmptyValuesProps } from '../../../hooks/use-empty-values/index.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  maxCollapseTags: {\n    type: Number,\n    default: 1\n  },\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  ...useEmptyValuesProps\n});\nconst cascaderEmits = {\n  [UPDATE_MODEL_EVENT]: (_) => true,\n  [CHANGE_EVENT]: (_) => true,\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 { useEmptyValues } from '../../../hooks/use-empty-values/index.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 { valueOnClear } = useEmptyValues(props);\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 validateState = computed(() => (formItem == null ? void 0 : formItem.validateState) || \"\");\n    const checkedValue = computed({\n      get() {\n        return cloneDeep(props.modelValue);\n      },\n      set(val) {\n        const value = val || valueOnClear.value;\n        emit(UPDATE_MODEL_EVENT, value);\n        emit(CHANGE_EVENT, value);\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        nodes.slice(0, props.maxCollapseTags).forEach((node) => tags.push(genTag(node)));\n        const rest = nodes.slice(props.maxCollapseTags);\n        const restCount = rest.length;\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([\n                unref(nsCascader).e(\"tags\"),\n                unref(nsCascader).is(\"validate\", Boolean(unref(validateState)))\n              ])\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(_ctx.maxCollapseTags), (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\", \"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 { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { isBoolean } from '../../../utils/types.mjs';\nimport { CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst checkTagProps = buildProps({\n  checked: {\n    type: Boolean,\n    default: false\n  },\n  type: {\n    type: String,\n    values: [\"primary\", \"success\", \"info\", \"warning\", \"danger\"],\n    default: \"primary\"\n  }\n});\nconst checkTagEmits = {\n  \"update:checked\": (value) => isBoolean(value),\n  [CHANGE_EVENT]: (value) => isBoolean(value)\n};\n\nexport { checkTagEmits, checkTagProps };\n//# sourceMappingURL=check-tag.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { checkTagProps, checkTagEmits } from './check-tag.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElCheckTag\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: checkTagProps,\n  emits: checkTagEmits,\n  setup(__props, { emit }) {\n    const props = __props;\n    const ns = useNamespace(\"check-tag\");\n    const containerKls = computed(() => [\n      ns.b(),\n      ns.is(\"checked\", props.checked),\n      ns.m(props.type || \"primary\")\n    ]);\n    const handleChange = () => {\n      const checked = !props.checked;\n      emit(CHANGE_EVENT, checked);\n      emit(\"update:checked\", checked);\n    };\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"span\", {\n        class: normalizeClass(unref(containerKls)),\n        onClick: handleChange\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 2);\n    };\n  }\n});\nvar CheckTag = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"check-tag.vue\"]]);\n\nexport { CheckTag as default };\n//# sourceMappingURL=check-tag2.mjs.map\n","import '../../utils/index.mjs';\nimport CheckTag from './src/check-tag2.mjs';\nexport { checkTagEmits, checkTagProps } from './src/check-tag.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElCheckTag = withInstall(CheckTag);\n\nexport { ElCheckTag, ElCheckTag as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { isString } from '@vue/shared';\nimport { isUndefined } from '../../../utils/types.mjs';\n\nconst anchorProps = buildProps({\n  container: {\n    type: definePropType([\n      String,\n      Object\n    ])\n  },\n  offset: {\n    type: Number,\n    default: 0\n  },\n  bound: {\n    type: Number,\n    default: 15\n  },\n  duration: {\n    type: Number,\n    default: 300\n  },\n  marker: {\n    type: Boolean,\n    default: true\n  },\n  type: {\n    type: definePropType(String),\n    default: \"default\"\n  },\n  direction: {\n    type: definePropType(String),\n    default: \"vertical\"\n  }\n});\nconst anchorEmits = {\n  change: (href) => isString(href),\n  click: (e, href) => e instanceof MouseEvent && (isString(href) || isUndefined(href))\n};\n\nexport { anchorEmits, anchorProps };\n//# sourceMappingURL=anchor.mjs.map\n","const anchorKey = Symbol(\"anchor\");\n\nexport { anchorKey };\n//# sourceMappingURL=constants.mjs.map\n","import { defineComponent, ref, computed, onMounted, watch, provide, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createCommentVNode, createElementVNode, renderSlot } from 'vue';\nimport { useEventListener } from '@vueuse/core';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { anchorProps, anchorEmits } from './anchor.mjs';\nimport { anchorKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { getElement } from '../../../utils/dom/element.mjs';\nimport { getScrollElement, animateScrollTo, getScrollTop } from '../../../utils/dom/scroll.mjs';\nimport { getOffsetTopDistance } from '../../../utils/dom/position.mjs';\nimport { throttleByRaf } from '../../../utils/throttleByRaf.mjs';\nimport { isUndefined, isWindow } from '../../../utils/types.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElAnchor\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: anchorProps,\n  emits: anchorEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const currentAnchor = ref(\"\");\n    const anchorRef = ref(null);\n    const markerRef = ref(null);\n    const containerEl = ref();\n    const links = {};\n    let isScrolling = false;\n    let currentScrollTop = 0;\n    const ns = useNamespace(\"anchor\");\n    const cls = computed(() => [\n      ns.b(),\n      props.type === \"underline\" ? ns.m(\"underline\") : \"\",\n      ns.m(props.direction)\n    ]);\n    const addLink = (state) => {\n      links[state.href] = state.el;\n    };\n    const removeLink = (href) => {\n      delete links[href];\n    };\n    const setCurrentAnchor = (href) => {\n      const activeHref = currentAnchor.value;\n      if (activeHref !== href) {\n        currentAnchor.value = href;\n        emit(\"change\", href);\n      }\n    };\n    let clearAnimate = null;\n    const scrollToAnchor = (href) => {\n      if (!containerEl.value)\n        return;\n      const target = getElement(href);\n      if (!target)\n        return;\n      if (clearAnimate)\n        clearAnimate();\n      isScrolling = true;\n      const scrollEle = getScrollElement(target, containerEl.value);\n      const distance = getOffsetTopDistance(target, scrollEle);\n      const max = scrollEle.scrollHeight - scrollEle.clientHeight;\n      const to = Math.min(distance - props.offset, max);\n      clearAnimate = animateScrollTo(containerEl.value, currentScrollTop, to, props.duration, () => {\n        setTimeout(() => {\n          isScrolling = false;\n        }, 20);\n      });\n    };\n    const scrollTo = (href) => {\n      if (href) {\n        setCurrentAnchor(href);\n        scrollToAnchor(href);\n      }\n    };\n    const handleClick = (e, href) => {\n      emit(\"click\", e, href);\n      scrollTo(href);\n    };\n    const handleScroll = throttleByRaf(() => {\n      if (containerEl.value) {\n        currentScrollTop = getScrollTop(containerEl.value);\n      }\n      const currentHref = getCurrentHref();\n      if (isScrolling || isUndefined(currentHref))\n        return;\n      setCurrentAnchor(currentHref);\n    });\n    const getCurrentHref = () => {\n      if (!containerEl.value)\n        return;\n      const scrollTop = getScrollTop(containerEl.value);\n      const anchorTopList = [];\n      for (const href of Object.keys(links)) {\n        const target = getElement(href);\n        if (!target)\n          continue;\n        const scrollEle = getScrollElement(target, containerEl.value);\n        const distance = getOffsetTopDistance(target, scrollEle);\n        anchorTopList.push({\n          top: distance - props.offset - props.bound,\n          href\n        });\n      }\n      anchorTopList.sort((prev, next) => prev.top - next.top);\n      for (let i = 0; i < anchorTopList.length; i++) {\n        const item = anchorTopList[i];\n        const next = anchorTopList[i + 1];\n        if (i === 0 && scrollTop === 0) {\n          return \"\";\n        }\n        if (item.top <= scrollTop && (!next || next.top > scrollTop)) {\n          return item.href;\n        }\n      }\n    };\n    const getContainer = () => {\n      const el = getElement(props.container);\n      if (!el || isWindow(el)) {\n        containerEl.value = window;\n      } else {\n        containerEl.value = el;\n      }\n    };\n    useEventListener(containerEl, \"scroll\", handleScroll);\n    const markerStyle = computed(() => {\n      if (!anchorRef.value || !markerRef.value || !currentAnchor.value)\n        return {};\n      const currentLinkEl = links[currentAnchor.value];\n      if (!currentLinkEl)\n        return {};\n      const anchorRect = anchorRef.value.getBoundingClientRect();\n      const markerRect = markerRef.value.getBoundingClientRect();\n      const linkRect = currentLinkEl.getBoundingClientRect();\n      if (props.direction === \"horizontal\") {\n        const left = linkRect.left - anchorRect.left;\n        return {\n          left: `${left}px`,\n          width: `${linkRect.width}px`,\n          opacity: 1\n        };\n      } else {\n        const top = linkRect.top - anchorRect.top + (linkRect.height - markerRect.height) / 2;\n        return {\n          top: `${top}px`,\n          opacity: 1\n        };\n      }\n    });\n    onMounted(() => {\n      getContainer();\n      const hash = decodeURIComponent(window.location.hash);\n      const target = getElement(hash);\n      if (target) {\n        scrollTo(hash);\n      } else {\n        handleScroll();\n      }\n    });\n    watch(() => props.container, () => {\n      getContainer();\n    });\n    provide(anchorKey, {\n      ns,\n      direction: props.direction,\n      currentAnchor,\n      addLink,\n      removeLink,\n      handleClick\n    });\n    expose({\n      scrollTo\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"anchorRef\",\n        ref: anchorRef,\n        class: normalizeClass(unref(cls))\n      }, [\n        _ctx.marker ? (openBlock(), createElementBlock(\"div\", {\n          key: 0,\n          ref_key: \"markerRef\",\n          ref: markerRef,\n          class: normalizeClass(unref(ns).e(\"marker\")),\n          style: normalizeStyle(unref(markerStyle))\n        }, null, 6)) : createCommentVNode(\"v-if\", true),\n        createElementVNode(\"div\", {\n          class: normalizeClass(unref(ns).e(\"list\"))\n        }, [\n          renderSlot(_ctx.$slots, \"default\")\n        ], 2)\n      ], 2);\n    };\n  }\n});\nvar Anchor = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"anchor.vue\"]]);\n\nexport { Anchor as default };\n//# sourceMappingURL=anchor2.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst anchorLinkProps = buildProps({\n  title: String,\n  href: String\n});\n\nexport { anchorLinkProps };\n//# sourceMappingURL=anchor-link.mjs.map\n","import { defineComponent, ref, inject, computed, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';\nimport { anchorLinkProps } from './anchor-link.mjs';\nimport { anchorKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _hoisted_1 = [\"href\"];\nconst __default__ = defineComponent({\n  name: \"ElAnchorLink\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: anchorLinkProps,\n  setup(__props) {\n    const props = __props;\n    const linkRef = ref(null);\n    const {\n      ns,\n      direction,\n      currentAnchor,\n      addLink,\n      removeLink,\n      handleClick: contextHandleClick\n    } = inject(anchorKey);\n    const cls = computed(() => [\n      ns.e(\"link\"),\n      ns.is(\"active\", currentAnchor.value === props.href)\n    ]);\n    const handleClick = (e) => {\n      contextHandleClick(e, props.href);\n    };\n    watch(() => props.href, (val, oldVal) => {\n      nextTick(() => {\n        if (oldVal)\n          removeLink(oldVal);\n        if (val) {\n          addLink({\n            href: val,\n            el: linkRef.value\n          });\n        }\n      });\n    });\n    onMounted(() => {\n      const { href } = props;\n      if (href) {\n        addLink({\n          href,\n          el: linkRef.value\n        });\n      }\n    });\n    onBeforeUnmount(() => {\n      const { href } = props;\n      if (href) {\n        removeLink(href);\n      }\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass(unref(ns).e(\"item\"))\n      }, [\n        createElementVNode(\"a\", {\n          ref_key: \"linkRef\",\n          ref: linkRef,\n          class: normalizeClass(unref(cls)),\n          href: _ctx.href,\n          onClick: handleClick\n        }, [\n          renderSlot(_ctx.$slots, \"default\", {}, () => [\n            createTextVNode(toDisplayString(_ctx.title), 1)\n          ])\n        ], 10, _hoisted_1),\n        _ctx.$slots[\"sub-link\"] && unref(direction) === \"vertical\" ? (openBlock(), createElementBlock(\"div\", {\n          key: 0,\n          class: normalizeClass(unref(ns).e(\"list\"))\n        }, [\n          renderSlot(_ctx.$slots, \"sub-link\")\n        ], 2)) : createCommentVNode(\"v-if\", true)\n      ], 2);\n    };\n  }\n});\nvar AnchorLink = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"anchor-link.vue\"]]);\n\nexport { AnchorLink as default };\n//# sourceMappingURL=anchor-link2.mjs.map\n","import '../../utils/index.mjs';\nimport Anchor from './src/anchor2.mjs';\nimport AnchorLink from './src/anchor-link2.mjs';\nexport { anchorEmits, anchorProps } from './src/anchor.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElAnchor = withInstall(Anchor, {\n  AnchorLink\n});\nconst ElAnchorLink = withNoopInstall(AnchorLink);\n\nexport { ElAnchor, ElAnchorLink, ElAnchor as default };\n//# sourceMappingURL=index.mjs.map\n","import { ElAffix } from './components/affix/index.mjs';\nimport { ElAlert } from './components/alert/index.mjs';\nimport { ElAutocomplete } from './components/autocomplete/index.mjs';\nimport { ElAvatar } from './components/avatar/index.mjs';\nimport { ElBacktop } from './components/backtop/index.mjs';\nimport { ElBadge } from './components/badge/index.mjs';\nimport { ElBreadcrumb, ElBreadcrumbItem } from './components/breadcrumb/index.mjs';\nimport { ElButton, ElButtonGroup } from './components/button/index.mjs';\nimport { ElCalendar } from './components/calendar/index.mjs';\nimport { ElCard } from './components/card/index.mjs';\nimport { ElCarousel, ElCarouselItem } from './components/carousel/index.mjs';\nimport { ElCascader } from './components/cascader/index.mjs';\nimport { ElCascaderPanel } from './components/cascader-panel/index.mjs';\nimport { ElCheckTag } from './components/check-tag/index.mjs';\nimport { ElCheckbox, ElCheckboxButton, ElCheckboxGroup } from './components/checkbox/index.mjs';\nimport { ElCol } from './components/col/index.mjs';\nimport { ElCollapse, ElCollapseItem } from './components/collapse/index.mjs';\nimport { ElCollapseTransition } from './components/collapse-transition/index.mjs';\nimport { ElColorPicker } from './components/color-picker/index.mjs';\nimport { ElConfigProvider } from './components/config-provider/index.mjs';\nimport { ElContainer, ElAside, ElFooter, ElHeader, ElMain } from './components/container/index.mjs';\nimport { ElDatePicker } from './components/date-picker/index.mjs';\nimport { ElDescriptions, ElDescriptionsItem } from './components/descriptions/index.mjs';\nimport { ElDialog } from './components/dialog/index.mjs';\nimport { ElDivider } from './components/divider/index.mjs';\nimport { ElDrawer } from './components/drawer/index.mjs';\nimport { ElDropdown, ElDropdownItem, ElDropdownMenu } from './components/dropdown/index.mjs';\nimport { ElEmpty } from './components/empty/index.mjs';\nimport { ElForm, ElFormItem } from './components/form/index.mjs';\nimport { ElIcon } from './components/icon/index.mjs';\nimport { ElImage } from './components/image/index.mjs';\nimport { ElImageViewer } from './components/image-viewer/index.mjs';\nimport { ElInput } from './components/input/index.mjs';\nimport { ElInputNumber } from './components/input-number/index.mjs';\nimport { ElLink } from './components/link/index.mjs';\nimport { ElMenu, ElMenuItem, ElMenuItemGroup, ElSubMenu } from './components/menu/index.mjs';\nimport { ElPageHeader } from './components/page-header/index.mjs';\nimport { ElPagination } from './components/pagination/index.mjs';\nimport { ElPopconfirm } from './components/popconfirm/index.mjs';\nimport { ElPopover } from './components/popover/index.mjs';\nimport { ElPopper } from './components/popper/index.mjs';\nimport { ElProgress } from './components/progress/index.mjs';\nimport { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';\nimport { ElRate } from './components/rate/index.mjs';\nimport { ElResult } from './components/result/index.mjs';\nimport { ElRow } from './components/row/index.mjs';\nimport { ElScrollbar } from './components/scrollbar/index.mjs';\nimport { ElSelect, ElOption, ElOptionGroup } from './components/select/index.mjs';\nimport { ElSelectV2 } from './components/select-v2/index.mjs';\nimport { ElSkeleton, ElSkeletonItem } from './components/skeleton/index.mjs';\nimport { ElSlider } from './components/slider/index.mjs';\nimport { ElSpace } from './components/space/index.mjs';\nimport { ElStatistic } from './components/statistic/index.mjs';\nimport { ElCountdown } from './components/countdown/index.mjs';\nimport { ElSteps, ElStep } from './components/steps/index.mjs';\nimport { ElSwitch } from './components/switch/index.mjs';\nimport { ElTable, ElTableColumn } from './components/table/index.mjs';\nimport { ElAutoResizer, ElTableV2 } from './components/table-v2/index.mjs';\nimport { ElTabs, ElTabPane } from './components/tabs/index.mjs';\nimport { ElTag } from './components/tag/index.mjs';\nimport { ElText } from './components/text/index.mjs';\nimport { ElTimePicker } from './components/time-picker/index.mjs';\nimport { ElTimeSelect } from './components/time-select/index.mjs';\nimport { ElTimeline, ElTimelineItem } from './components/timeline/index.mjs';\nimport { ElTooltip } from './components/tooltip/index.mjs';\nimport { ElTooltipV2 } from './components/tooltip-v2/index.mjs';\nimport { ElTransfer } from './components/transfer/index.mjs';\nimport { ElTree } from './components/tree/index.mjs';\nimport { ElTreeSelect } from './components/tree-select/index.mjs';\nimport { ElTreeV2 } from './components/tree-v2/index.mjs';\nimport { ElUpload } from './components/upload/index.mjs';\nimport { ElWatermark } from './components/watermark/index.mjs';\nimport { ElTour, ElTourStep } from './components/tour/index.mjs';\nimport { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';\nimport { ElSegmented } from './components/segmented/index.mjs';\n\nvar Components = [\n  ElAffix,\n  ElAlert,\n  ElAutocomplete,\n  ElAutoResizer,\n  ElAvatar,\n  ElBacktop,\n  ElBadge,\n  ElBreadcrumb,\n  ElBreadcrumbItem,\n  ElButton,\n  ElButtonGroup,\n  ElCalendar,\n  ElCard,\n  ElCarousel,\n  ElCarouselItem,\n  ElCascader,\n  ElCascaderPanel,\n  ElCheckTag,\n  ElCheckbox,\n  ElCheckboxButton,\n  ElCheckboxGroup,\n  ElCol,\n  ElCollapse,\n  ElCollapseItem,\n  ElCollapseTransition,\n  ElColorPicker,\n  ElConfigProvider,\n  ElContainer,\n  ElAside,\n  ElFooter,\n  ElHeader,\n  ElMain,\n  ElDatePicker,\n  ElDescriptions,\n  ElDescriptionsItem,\n  ElDialog,\n  ElDivider,\n  ElDrawer,\n  ElDropdown,\n  ElDropdownItem,\n  ElDropdownMenu,\n  ElEmpty,\n  ElForm,\n  ElFormItem,\n  ElIcon,\n  ElImage,\n  ElImageViewer,\n  ElInput,\n  ElInputNumber,\n  ElLink,\n  ElMenu,\n  ElMenuItem,\n  ElMenuItemGroup,\n  ElSubMenu,\n  ElPageHeader,\n  ElPagination,\n  ElPopconfirm,\n  ElPopover,\n  ElPopper,\n  ElProgress,\n  ElRadio,\n  ElRadioButton,\n  ElRadioGroup,\n  ElRate,\n  ElResult,\n  ElRow,\n  ElScrollbar,\n  ElSelect,\n  ElOption,\n  ElOptionGroup,\n  ElSelectV2,\n  ElSkeleton,\n  ElSkeletonItem,\n  ElSlider,\n  ElSpace,\n  ElStatistic,\n  ElCountdown,\n  ElSteps,\n  ElStep,\n  ElSwitch,\n  ElTable,\n  ElTableColumn,\n  ElTableV2,\n  ElTabs,\n  ElTabPane,\n  ElTag,\n  ElText,\n  ElTimePicker,\n  ElTimeSelect,\n  ElTimeline,\n  ElTimelineItem,\n  ElTooltip,\n  ElTooltipV2,\n  ElTransfer,\n  ElTree,\n  ElTreeSelect,\n  ElTreeV2,\n  ElUpload,\n  ElWatermark,\n  ElTour,\n  ElTourStep,\n  ElAnchor,\n  ElAnchorLink,\n  ElSegmented\n];\n\nexport { Components as default };\n//# sourceMappingURL=component.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } 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  showZero: {\n    type: Boolean,\n    default: true\n  },\n  color: String,\n  dotStyle: {\n    type: definePropType([String, Object, Array])\n  },\n  offset: {\n    type: definePropType(Array),\n    default: [0, 0]\n  },\n  dotClass: {\n    type: String\n  }\n});\n\nexport { badgeProps };\n//# sourceMappingURL=badge.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeStyle, 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';\nimport { addUnit } from '../../../utils/dom/style.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        if (props.max < props.value) {\n          return `${props.max}+`;\n        }\n        return props.value === 0 && !props.showZero ? \"\" : `${props.value}`;\n      }\n      return `${props.value}`;\n    });\n    const style = computed(() => {\n      var _a, _b, _c, _d, _e;\n      return [\n        {\n          backgroundColor: props.color,\n          marginRight: addUnit(-((_b = (_a = props.offset) == null ? void 0 : _a[0]) != null ? _b : 0)),\n          marginTop: addUnit((_d = (_c = props.offset) == null ? void 0 : _c[1]) != null ? _d : 0)\n        },\n        (_e = props.dotStyle) != null ? _e : {}\n      ];\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                _ctx.dotClass\n              ]),\n              style: normalizeStyle(unref(style)),\n              textContent: toDisplayString(unref(content))\n            }, null, 14, _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\", \"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"],"names":["buttonGroupContextKey","Symbol","useButton","props","emit","from","replacement","version","scope","ref","type","buttonGroupContext","globalConfig","form","_size","size","_disabled","_ref","slots","_type","autoInsertSpace","_a","_b","_c","value","_props","tag","ariaDisabled","loading","disabled","autofocus","nativeType","shouldAddSpace","defaultSlot","default","call","length","slot","text","children","test","trim","handleClick","evt","resetFields","darken","color","amount","mix","toString","useButtonCustomStyle","ns","styles","buttonColor","activeBgColor","dark","tint","plain","cssVarBlock","cssVarName","cssVarBlockName","hoverBgColor","textColor","isDark","disabledButtonColor","__default__","name","_sfc_main","emits","setup","__props","expose","buttonStyle","buttonKls","b","m","is","round","circle","link","bg","_ctx","_cache","ref_key","class","style","onClick","key","$slots","loadingIcon","_","icon","em","Button","buttonGroupProps","ButtonGroup","ElButton","ElButtonGroup","buttonTypes","buttonNativeTypes","buttonProps","Boolean","String","values","Object","buttonEmits","click","MouseEvent","checkboxProps","modelValue","Number","label","indeterminate","checked","trueValue","falseValue","trueLabel","falseLabel","id","controls","border","tabindex","validateEvent","checkboxEmits","val","change","checkboxGroupContextKey","useCheckboxDisabled","model","isChecked","checkboxGroup","isLimitDisabled","max","min","isDisabled","useCheckboxEvent","isLimitExceeded","hasOwnLabel","isLabeledByFormItem","formItem","getLabeledValue","_d","includes","emitChangeEvent","e","handleChange","target","async","onClickRoot","eventTargets","composedPath","hasLabel","some","item","tagName","validate","catch","err","useCheckboxModel","selfModel","isGroup","get","set","changeEvent","useCheckboxStatus","isFocused","actualValue","map","o","isEqual","checkboxButtonSize","prop","checkboxSize","useCheckbox","elFormItem","inputId","formItemContext","disableIdGeneration","disableIdManagement","setStoreValue","addToStore","push","_hoisted_1","_hoisted_2","compKls","spanKls","$event","onChange","args","onFocus","onBlur","Checkbox","activeStyle","fillValue","fill","backgroundColor","borderColor","boxShadow","labelKls","bm","be","CheckboxButton","checkboxGroupProps","Array","checkboxGroupEmits","groupId","pick","role","labelId","CheckboxGroup","ElCheckbox","ElCheckboxButton","ElCheckboxGroup","_export_sfc","sfc","__vccOpts","affixProps","zIndex","offset","position","affixEmits","scroll","scrollTop","fixed","COMPONENT_NAME","root","scrollContainer","height","windowHeight","rootHeight","width","rootWidth","top","rootTop","bottom","rootBottom","update","updateRoot","windowScroll","targetRect","transform","rootStyle","affixStyle","Window","document","documentElement","difference","handleScroll","querySelector","Affix","ElAffix","alertEffects","alertProps","title","description","closable","closeText","showIcon","center","effect","alertEmits","close","Close","visible","iconComponent","iconClass","withDescription","persisted","Alert","ElAlert","autocompleteProps","valueKey","debounce","placement","fetchSuggestions","Function","popperClass","triggerOnFocus","selectWhenUnmatched","hideLoading","teleported","highlightFirstItem","fitInputWidth","clearable","autocompleteEmits","focus","FocusEvent","blur","clear","select","_hoisted_3","inheritAttrs","attrs","rawAttrs","inputRef","regionRef","popperRef","listboxRef","readonly","ignoreFocusEvent","suggestions","highlightedIndex","dropdownWidth","activated","suggestionDisabled","listboxId","suggestionVisible","isValidData","suggestionLoading","refInput","$el","querySelectorAll","onSuggestionShow","offsetWidth","onHide","getData","queryString","cb","suggestionList","result","debouncedGetData","handleInput","valuePresented","handleMouseDown","event","activeElement","handleFocus","handleBlur","setTimeout","isFocusInsideContent","handleClear","handleKeyEnter","handleSelect","handleKeyEscape","preventDefault","stopPropagation","highlight","index","suggestion","highlightItem","offsetTop","scrollHeight","clientHeight","setAttribute","hasAttribute","pure","trigger","transition","namespace","persistent","onBeforeShow","content","outline","highlighted","$attrs","onInput","onClear","onKeydown","onMousedown","prepend","fn","append","prefix","suffix","Autocomplete","ElAutocomplete","avatarProps","validator","shape","src","alt","srcSet","fit","avatarEmits","error","Event","hasLoadError","avatarClass","classList","sizeStyle","fitStyle","objectFit","handleError","srcset","onError","Avatar","ElAvatar","backtopProps","visibilityHeight","right","backtopEmits","useBackTop","componentName","el","container","scrollTo","behavior","handleScrollThrottled","backTopStyle","Backtop","ElBacktop","breadcrumbKey","breadcrumbProps","separator","separatorIcon","t","breadcrumb","items","Breadcrumb","breadcrumbItemProps","to","replace","instance","breadcrumbContext","router","appContext","config","globalProperties","$router","BreadcrumbItem","ElBreadcrumb","ElBreadcrumbItem","getPrevMonthLastDays","date","count","lastDay","subtract","endOf","getMonthDays","days","daysInMonth","toNestedArr","start","slice","dateTableProps","selectedDay","range","required","hideHeader","dateTableEmits","useDateTable","localeData","firstDayOfWeek","lang","now","locale","isInRange","rows","end","currentMonthRange","remaining","nextMonthRange","concat","firstDay","startOf","day","prevMonthDays","currentMonthDays","nextMonthDays","weekDays","getFormattedDate","add","handlePickDay","getSlotData","isSelected","isSame","format","toDate","nsTable","nsDay","getCellClass","classes","cellspacing","cellpadding","row","cell","data","DateTable","adjacentMonth","firstMonthLastDay","lastMonthFirstDay","isSameWeek","lastMonthStartDay","threeConsecutiveMonth","secondMonthFirstDay","secondMonthStartDay","secondMonthLastDay","useCalendar","realSelectedDay","validatedRange","rangeArrDayjs","startDayjs","endDayjs","isAfter","calculateValidatedDateRange","month","prevMonthDayjs","nextMonthDayjs","prevYearDayjs","nextYearDayjs","firstMonth","lastMonth","pickDay","selectDate","dateMap","today","isValidRange","every","calendarProps","Date","calendarEmits","i18nDate","pickedMonth","year","onPick","range_","Calendar","ElCalendar","cardProps","header","footer","bodyStyle","bodyClass","shadow","Card","ElCard","carouselProps","initialIndex","autoplay","interval","indicatorPosition","arrow","loop","direction","pauseOnHover","motionBlur","carouselEmits","current","prev","carouselContextKey","THROTTLE_TIME","useCarousel","addChild","addItem","removeChild","removeItem","activeIndex","timer","hover","containerHeight","isItemsTwoLength","isFirstCall","isTransitioning","arrowDisplay","isVertical","isCardType","containerStyle","overflow","throttledArrowClick","throttle","setActiveItem","trailing","throttledIndicatorHover","handleIndicatorHover","isTwoLengthShow","pauseTimer","clearInterval","startTimer","setInterval","playSlides","filteredItems","filter","indexOf","isNaN","Math","floor","itemCount","oldIndex","resetItemPosition","resetTimer","forEach","translateItem","itemInStage","_items","states","inStage","nextItemIndex","prevItemIndex","lastItemIndex","isLastItemActive","active","isFirstItemActive","isNextItemActive","isPrevItemActive","handleMouseEnter","handleMouseLeave","handleTransitionEnd","handleButtonEnter","handleButtonLeave","handleIndicatorClick","next","setContainerHeight","PlaceholderItem","defaultSlots","flatSlots","carouselItemsName","normalizeSlots","prev2","resizeObserver","immediate","stop","_hoisted_4","_hoisted_5","_hoisted_6","xmlns","_hoisted_7","in","stdDeviation","_hoisted_8","carouselClasses","carouselContainer","indicatorsClasses","onMouseenter","onMouseleave","onTransitionend","Carousel","carouselItemProps","useCarouselItem","carouselContext","CARD_SCALE","carouselItemRef","translate","scale","ready","animating","processIndex","halfItemIndex","calcCardTranslate","parentWidth","offsetHeight","calcTranslate","isVertical2","rootEl","distance","_isCardType","carouselItemLength","NaN","isActive","_isVertical","abs","handleItemClick","findIndex","uid","itemKls","itemStyle","translateType","_translate","_scale","join","CarouselItem","ElCarousel","ElCarouselItem","NodeContent","render","this","node","panel","$parent","renderLabelFn","h","CASCADER_PANEL_INJECTION_KEY","components","ElRadio","ElIcon","Check","Loading","ArrowRight","menuId","isHoverMenu","multiple","checkStrictly","checkedNodeId","checkedNodes","isLeaf","expandable","inExpandingPath","isInPath","expandingNode","inCheckedPath","level","pathNodes","doExpand","expandNode","doCheck","handleCheckChange","doLoad","lazyLoad","handleHoverExpand","handleExpand","loaded","handleCheck","handleSelectCheck","_sfc_render","$props","$setup","$data","$options","_component_el_checkbox","_component_el_radio","_component_check","_component_el_icon","_component_node_content","_component_loading","_component_arrow_right","ElCascaderNode","ElScrollbar","nodes","activeNode","hoverTimer","hoverZone","isEmpty","isLoading","initialLoaded","handleMouseMove","contains","clearHoverTimer","vnode","left","getBoundingClientRect","startX","clientX","innerHTML","window","clearHoverZone","hoverThreshold","clearTimeout","_component_el_cascader_node","_component_el_scrollbar","onMousemove","onExpand","ElCascaderMenu","calculatePathNodes","parent","unshift","Node","constructor","labelKey","childrenKey","childrenData","pathValues","pathLabels","child","lazy","leaf","isArray","valueByOption","emitPath","appendChild","childData","calcText","allLevels","broadcast","handlerName","onParentCheck","setCheckState","onChildCheck","validChildren","totalNum","checkedNum","reduce","c","p","num","flatNodes","leafOnly","res","Store","nodeData","allNodes","leafNodes","getNodes","getFlattedNodes","appendNode","parentNode","appendNodes","nodeDataList","getNodeByValue","find","node2","getSameNode","node_","CommonProps","options","DefaultProps","expandTrigger","useCascaderConfig","getMenuIndex","pieces","split","checkNode","input","sortByOriginalOrder","oldNodes","newNodes","newNodesCopy","newIds","acc","splice","renderLabel","manualChecked","store","menuList","checkedValue","menus","initStore","cfg","list","syncCheckedValue","resolve","dataList","_node","silent","newMenus","newExpandingNode","emitClose","oldNode","calculateCheckedValue","expandParentNode","getCheckedNodes","clearCheckedNodes","forced","flattenDeep","syncMenuState","cloneDeep","newCheckedNodes","reserveExpandingState","oldExpandingNode","scrollToExpandingNode","menu","menuElement","handleKeyDown","code","up","down","preMenu","expandedNode","nextMenu","firstNode","enter","deep","_component_el_cascader_menu","ref_for","CascaderPanel","install","app","component","_CascaderPanel","ElCascaderPanel","cascaderProps","placeholder","filterable","filterMethod","keyword","showAllLevels","collapseTags","maxCollapseTags","collapseTagsTooltip","beforeFilter","tagType","cascaderEmits","visibleChange","expandChange","removeTag","popperOptions","modifiers","enabled","phase","state","modifiersData","x","requires","inputInitialHeight","pressDeleteCount","nsCascader","nsInput","valueOnClear","tooltipRef","tagWrapper","cascaderPanelRef","suggestionPanel","popperVisible","inputHover","filtering","filterFocus","inputValue","searchInputValue","presentTags","allPresentTags","isOnComposition","cascaderStyle","inputPlaceholder","currentPlaceholder","realSize","tagSize","searchKeyword","clearBtnVisible","presentText","validateState","cascaderKls","cascaderIconKls","inputClass","contentRef","togglePopperVisible","updatePopperPosition","syncPresentTextValue","updatePopper","hideSuggestionPanel","genTag","hitState","isCollapseTag","deleteTag","calculatePresentTags","tags","allTags","rest","restCount","calculateSuggestions","focusFirstNode","updateStyle","inputInner","tagWrapperEl","suggestionPanelEl","minWidth","handleExpandChange","handleComposition","lastCharacter","esc","tab","handleSuggestionClick","handleSuggestionKeyDown","handleDelete","lastTag","className","handleFilter","passed","then","isComposing","getInputInnerHeight","parseFloat","inputInnerHeight","onCompositionstart","onCompositionupdate","onCompositionend","hit","onClose","tag2","idx","onExpandChange","$nextTick","Cascader","_Cascader","ElCascader","checkTagProps","checkTagEmits","containerKls","CheckTag","ElCheckTag","anchorProps","bound","duration","marker","anchorEmits","href","anchorKey","currentAnchor","anchorRef","markerRef","containerEl","links","isScrolling","currentScrollTop","cls","addLink","removeLink","setCurrentAnchor","activeHref","clearAnimate","scrollToAnchor","scrollEle","throttleByRaf","currentHref","getCurrentHref","anchorTopList","keys","sort","i","getContainer","markerStyle","currentLinkEl","anchorRect","markerRect","linkRect","opacity","hash","decodeURIComponent","location","Anchor","anchorLinkProps","linkRef","contextHandleClick","oldVal","AnchorLink","ElAnchor","ElAnchorLink","Components","badgeProps","isDot","hidden","showZero","dotStyle","dotClass","_e","marginRight","marginTop","textContent","Badge","ElBadge"],"sourceRoot":""}