@element-plus/nightly 0.0.20241203 → 0.0.20241204
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.full.js +3 -3
- package/dist/index.full.min.js +3 -3
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +9 -9
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +3 -3
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/col/index.mjs +2 -2
- package/es/components/col/src/col.mjs +43 -64
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col2.mjs +64 -43
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/countdown/index.mjs +2 -2
- package/es/components/countdown/src/countdown.mjs +22 -79
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown2.mjs +79 -22
- package/es/components/countdown/src/countdown2.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/empty/index.mjs +2 -2
- package/es/components/empty/src/empty.mjs +52 -11
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/empty/src/empty2.mjs +11 -52
- package/es/components/empty/src/empty2.mjs.map +1 -1
- package/es/components/index.mjs +7 -7
- package/es/components/mention/index.mjs +2 -2
- package/es/components/mention/src/mention.mjs +282 -62
- package/es/components/mention/src/mention.mjs.map +1 -1
- package/es/components/mention/src/mention2.mjs +62 -282
- package/es/components/mention/src/mention2.mjs.map +1 -1
- package/es/components/message/index.mjs +1 -1
- package/es/components/message/src/message.mjs +91 -145
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message2.mjs +145 -91
- package/es/components/message/src/message2.mjs.map +1 -1
- package/es/components/message/src/method.mjs +2 -2
- package/es/components/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.mjs +68 -142
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification2.mjs +142 -68
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +3 -3
- package/es/components/notification/src/notify.mjs.map +1 -1
- package/es/components/pagination/src/components/pager.mjs +209 -16
- package/es/components/pagination/src/components/pager.mjs.map +1 -1
- package/es/components/pagination/src/components/pager2.mjs +16 -209
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +258 -83
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +83 -258
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/roving-focus-group/index.mjs +3 -3
- package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -27
- package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs +27 -27
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tooltip-v2/src/trigger.mjs +89 -12
- package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
- package/es/components/tooltip-v2/src/trigger2.mjs +12 -89
- package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
- package/es/directives/click-outside/index.mjs +1 -1
- package/es/hooks/use-focus-controller/index.mjs +1 -1
- package/es/hooks/use-lockscreen/index.mjs +1 -1
- package/es/index.mjs +7 -7
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/col/index.js +2 -2
- package/lib/components/col/src/col.js +43 -64
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col2.js +64 -43
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/countdown/index.js +2 -2
- package/lib/components/countdown/src/countdown.js +23 -79
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown2.js +79 -23
- package/lib/components/countdown/src/countdown2.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/empty/index.js +2 -2
- package/lib/components/empty/src/empty.js +52 -11
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/empty/src/empty2.js +11 -52
- package/lib/components/empty/src/empty2.js.map +1 -1
- package/lib/components/index.js +7 -7
- package/lib/components/mention/index.js +2 -2
- package/lib/components/mention/src/mention.js +280 -61
- package/lib/components/mention/src/mention.js.map +1 -1
- package/lib/components/mention/src/mention2.js +61 -280
- package/lib/components/mention/src/mention2.js.map +1 -1
- package/lib/components/message/index.js +1 -1
- package/lib/components/message/src/message.js +93 -144
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message2.js +144 -93
- package/lib/components/message/src/message2.js.map +1 -1
- package/lib/components/message/src/method.js +2 -2
- package/lib/components/notification/index.js +1 -1
- package/lib/components/notification/src/notification.js +69 -141
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification2.js +141 -69
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +3 -3
- package/lib/components/notification/src/notify.js.map +1 -1
- package/lib/components/pagination/src/components/pager.js +209 -16
- package/lib/components/pagination/src/components/pager.js.map +1 -1
- package/lib/components/pagination/src/components/pager2.js +16 -209
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +257 -83
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +83 -257
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/roving-focus-group/index.js +2 -2
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.js +27 -31
- package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group2.js +31 -27
- package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tooltip-v2/src/trigger.js +89 -12
- package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
- package/lib/components/tooltip-v2/src/trigger2.js +12 -89
- package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
- package/lib/directives/click-outside/index.js +1 -1
- package/lib/hooks/use-focus-controller/index.js +1 -1
- package/lib/hooks/use-lockscreen/index.js +1 -1
- package/lib/index.js +7 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, inject, ref, computed, unref, provide, nextTick, resolveComponent, openBlock, createBlock, withCtx, renderSlot } from 'vue';
|
2
|
-
import { ElCollectionItem, ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY } from './roving-focus-
|
2
|
+
import { ElCollectionItem, ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY } from './roving-focus-group2.mjs';
|
3
3
|
import { ROVING_FOCUS_GROUP_INJECTION_KEY, ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY } from './tokens.mjs';
|
4
4
|
import { getFocusIntent, reorderArray, focusFirst } from './utils.mjs';
|
5
5
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
@@ -3,7 +3,7 @@ export { tooltipV2ArrowProps, tooltipV2ArrowSpecialProps } from './src/arrow.mjs
|
|
3
3
|
export { tooltipV2ContentProps } from './src/content.mjs';
|
4
4
|
export { tooltipV2RootProps } from './src/root.mjs';
|
5
5
|
export { tooltipV2Props } from './src/tooltip.mjs';
|
6
|
-
export { tooltipV2TriggerProps } from './src/
|
6
|
+
export { tooltipV2TriggerProps } from './src/trigger2.mjs';
|
7
7
|
export { TOOLTIP_V2_OPEN, tooltipV2ContentKey, tooltipV2RootKey } from './src/constants.mjs';
|
8
8
|
import { withInstall } from '../../utils/vue/install.mjs';
|
9
9
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { tooltipV2RootProps } from './root.mjs';
|
2
|
-
import { tooltipV2TriggerProps } from './
|
2
|
+
import { tooltipV2TriggerProps } from './trigger2.mjs';
|
3
3
|
import { tooltipV2ArrowProps } from './arrow.mjs';
|
4
4
|
import { tooltipV2ContentProps } from './content.mjs';
|
5
5
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
@@ -5,11 +5,11 @@ import { tooltipV2ArrowProps } from './arrow.mjs';
|
|
5
5
|
import { tooltipV2ContentProps } from './content.mjs';
|
6
6
|
import { tooltipV2RootProps } from './root.mjs';
|
7
7
|
import { tooltipV2Props } from './tooltip.mjs';
|
8
|
-
import { tooltipV2TriggerProps } from './
|
8
|
+
import { tooltipV2TriggerProps } from './trigger2.mjs';
|
9
9
|
import TooltipV2Root from './root2.mjs';
|
10
10
|
import TooltipV2Arrow from './arrow2.mjs';
|
11
11
|
import TooltipV2Content from './content2.mjs';
|
12
|
-
import TooltipV2Trigger from './
|
12
|
+
import TooltipV2Trigger from './trigger.mjs';
|
13
13
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
14
14
|
|
15
15
|
const __default__ = defineComponent({
|
@@ -1,16 +1,93 @@
|
|
1
|
-
import {
|
1
|
+
import { defineComponent, inject, watch, onBeforeUnmount, openBlock, createBlock, unref, withCtx, renderSlot, createElementBlock, mergeProps } from 'vue';
|
2
|
+
import { tooltipV2RootKey } from './constants.mjs';
|
3
|
+
import ForwardRef from './forward-ref.mjs';
|
4
|
+
import { tooltipV2TriggerProps } from './trigger2.mjs';
|
5
|
+
import { tooltipV2CommonProps } from './common.mjs';
|
6
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
7
|
+
import { composeEventHandlers } from '../../../utils/dom/event.mjs';
|
2
8
|
|
3
|
-
const
|
4
|
-
|
5
|
-
};
|
6
|
-
const tooltipV2TriggerProps = buildProps({
|
7
|
-
onBlur: EventHandler,
|
8
|
-
onClick: EventHandler,
|
9
|
-
onFocus: EventHandler,
|
10
|
-
onMouseDown: EventHandler,
|
11
|
-
onMouseEnter: EventHandler,
|
12
|
-
onMouseLeave: EventHandler
|
9
|
+
const __default__ = defineComponent({
|
10
|
+
name: "ElTooltipV2Trigger"
|
13
11
|
});
|
12
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
13
|
+
...__default__,
|
14
|
+
props: {
|
15
|
+
...tooltipV2CommonProps,
|
16
|
+
...tooltipV2TriggerProps
|
17
|
+
},
|
18
|
+
setup(__props) {
|
19
|
+
const props = __props;
|
20
|
+
const { onClose, onOpen, onDelayOpen, triggerRef, contentId } = inject(tooltipV2RootKey);
|
21
|
+
let isMousedown = false;
|
22
|
+
const setTriggerRef = (el) => {
|
23
|
+
triggerRef.value = el;
|
24
|
+
};
|
25
|
+
const onMouseup = () => {
|
26
|
+
isMousedown = false;
|
27
|
+
};
|
28
|
+
const onMouseenter = composeEventHandlers(props.onMouseEnter, onDelayOpen);
|
29
|
+
const onMouseleave = composeEventHandlers(props.onMouseLeave, onClose);
|
30
|
+
const onMousedown = composeEventHandlers(props.onMouseDown, () => {
|
31
|
+
onClose();
|
32
|
+
isMousedown = true;
|
33
|
+
document.addEventListener("mouseup", onMouseup, { once: true });
|
34
|
+
});
|
35
|
+
const onFocus = composeEventHandlers(props.onFocus, () => {
|
36
|
+
if (!isMousedown)
|
37
|
+
onOpen();
|
38
|
+
});
|
39
|
+
const onBlur = composeEventHandlers(props.onBlur, onClose);
|
40
|
+
const onClick = composeEventHandlers(props.onClick, (e) => {
|
41
|
+
if (e.detail === 0)
|
42
|
+
onClose();
|
43
|
+
});
|
44
|
+
const events = {
|
45
|
+
blur: onBlur,
|
46
|
+
click: onClick,
|
47
|
+
focus: onFocus,
|
48
|
+
mousedown: onMousedown,
|
49
|
+
mouseenter: onMouseenter,
|
50
|
+
mouseleave: onMouseleave
|
51
|
+
};
|
52
|
+
const setEvents = (el, events2, type) => {
|
53
|
+
if (el) {
|
54
|
+
Object.entries(events2).forEach(([name, handler]) => {
|
55
|
+
el[type](name, handler);
|
56
|
+
});
|
57
|
+
}
|
58
|
+
};
|
59
|
+
watch(triggerRef, (triggerEl, previousTriggerEl) => {
|
60
|
+
setEvents(triggerEl, events, "addEventListener");
|
61
|
+
setEvents(previousTriggerEl, events, "removeEventListener");
|
62
|
+
if (triggerEl) {
|
63
|
+
triggerEl.setAttribute("aria-describedby", contentId.value);
|
64
|
+
}
|
65
|
+
});
|
66
|
+
onBeforeUnmount(() => {
|
67
|
+
setEvents(triggerRef.value, events, "removeEventListener");
|
68
|
+
document.removeEventListener("mouseup", onMouseup);
|
69
|
+
});
|
70
|
+
return (_ctx, _cache) => {
|
71
|
+
return _ctx.nowrap ? (openBlock(), createBlock(unref(ForwardRef), {
|
72
|
+
key: 0,
|
73
|
+
"set-ref": setTriggerRef,
|
74
|
+
"only-child": ""
|
75
|
+
}, {
|
76
|
+
default: withCtx(() => [
|
77
|
+
renderSlot(_ctx.$slots, "default")
|
78
|
+
]),
|
79
|
+
_: 3
|
80
|
+
})) : (openBlock(), createElementBlock("button", mergeProps({
|
81
|
+
key: 1,
|
82
|
+
ref_key: "triggerRef",
|
83
|
+
ref: triggerRef
|
84
|
+
}, _ctx.$attrs), [
|
85
|
+
renderSlot(_ctx.$slots, "default")
|
86
|
+
], 16));
|
87
|
+
};
|
88
|
+
}
|
89
|
+
});
|
90
|
+
var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "trigger.vue"]]);
|
14
91
|
|
15
|
-
export {
|
92
|
+
export { TooltipV2Trigger as default };
|
16
93
|
//# sourceMappingURL=trigger.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"trigger.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/trigger.
|
1
|
+
{"version":3,"file":"trigger.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/trigger.vue"],"sourcesContent":["<template>\n <forward-ref v-if=\"nowrap\" :set-ref=\"setTriggerRef\" only-child>\n <slot />\n </forward-ref>\n <button v-else ref=\"triggerRef\" v-bind=\"$attrs\">\n <slot />\n </button>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, onBeforeUnmount, watch } from 'vue'\nimport { composeEventHandlers } from '@element-plus/utils'\nimport { tooltipV2RootKey } from './constants'\nimport ForwardRef from './forward-ref'\nimport { tooltipV2TriggerProps } from './trigger'\nimport { tooltipV2CommonProps } from './common'\n\ndefineOptions({\n name: 'ElTooltipV2Trigger',\n})\n\nconst props = defineProps({\n ...tooltipV2CommonProps,\n ...tooltipV2TriggerProps,\n})\n\n/**\n * onOpen opens the tooltip instantly, onTrigger acts a lil bit differently,\n * it will check if delayDuration is set to greater than 0 and based on that result,\n * if true, it opens the tooltip after delayDuration, otherwise it opens it instantly.\n */\nconst { onClose, onOpen, onDelayOpen, triggerRef, contentId } =\n inject(tooltipV2RootKey)!\n\nlet isMousedown = false\n\nconst setTriggerRef = (el: HTMLElement | null) => {\n triggerRef.value = el\n}\n\nconst onMouseup = () => {\n isMousedown = false\n}\n\nconst onMouseenter = composeEventHandlers(props.onMouseEnter, onDelayOpen)\n\nconst onMouseleave = composeEventHandlers(props.onMouseLeave, onClose)\n\nconst onMousedown = composeEventHandlers(props.onMouseDown, () => {\n onClose()\n isMousedown = true\n document.addEventListener('mouseup', onMouseup, { once: true })\n})\n\nconst onFocus = composeEventHandlers(props.onFocus, () => {\n if (!isMousedown) onOpen()\n})\n\nconst onBlur = composeEventHandlers(props.onBlur, onClose)\n\nconst onClick = composeEventHandlers(props.onClick, (e) => {\n if ((e as MouseEvent).detail === 0) onClose()\n})\n\nconst events = {\n blur: onBlur,\n click: onClick,\n focus: onFocus,\n mousedown: onMousedown,\n mouseenter: onMouseenter,\n mouseleave: onMouseleave,\n}\n\nconst setEvents = <T extends (e: Event) => void>(\n el: HTMLElement | null | undefined,\n events: Record<string, T>,\n type: 'addEventListener' | 'removeEventListener'\n) => {\n if (el) {\n Object.entries(events).forEach(([name, handler]) => {\n el[type](name, handler)\n })\n }\n}\n\nwatch(triggerRef, (triggerEl, previousTriggerEl) => {\n setEvents(triggerEl, events, 'addEventListener')\n setEvents(previousTriggerEl, events, 'removeEventListener')\n\n if (triggerEl) {\n triggerEl.setAttribute('aria-describedby', contentId.value)\n }\n})\n\nonBeforeUnmount(() => {\n setEvents(triggerRef.value, events, 'removeEventListener')\n document.removeEventListener('mouseup', onMouseup)\n})\n</script>\n"],"names":["events"],"mappings":";;;;;;;;mCAiBc,CAAA;AAAA,EACZ,IAAM,EAAA,oBAAA;AACR,CAAA,CAAA,CAAA;;;;;;;;;AAYA,IAAM,MAAA,EAAE,SAAS,MAAQ,EAAA,WAAA,EAAa,YAAY,SAAU,EAAA,GAC1D,OAAO,gBAAgB,CAAA,CAAA;AAEzB,IAAA,IAAI,WAAc,GAAA,KAAA,CAAA;AAElB,IAAM,MAAA,aAAA,GAAgB,CAAC,EAA2B,KAAA;AAChD,MAAA,UAAA,CAAW,KAAQ,GAAA,EAAA,CAAA;AAAA,KACrB,CAAA;AAEA,IAAA,MAAM,YAAY,MAAM;AACtB,MAAc,WAAA,GAAA,KAAA,CAAA;AAAA,KAChB,CAAA;AAEA,IAAA,MAAM,YAAe,GAAA,oBAAA,CAAqB,KAAM,CAAA,YAAA,EAAc,WAAW,CAAA,CAAA;AAEzE,IAAA,MAAM,YAAe,GAAA,oBAAA,CAAqB,KAAM,CAAA,YAAA,EAAc,OAAO,CAAA,CAAA;AAErE,IAAA,MAAM,WAAc,GAAA,oBAAA,CAAqB,KAAM,CAAA,WAAA,EAAa,MAAM;AAChE,MAAQ,OAAA,EAAA,CAAA;AACR,MAAc,WAAA,GAAA,IAAA,CAAA;AACd,MAAA,QAAA,CAAS,iBAAiB,SAAW,EAAA,SAAA,EAAW,EAAE,IAAA,EAAM,MAAM,CAAA,CAAA;AAAA,KAC/D,CAAA,CAAA;AAED,IAAA,MAAM,OAAU,GAAA,oBAAA,CAAqB,KAAM,CAAA,OAAA,EAAS,MAAM;AACxD,MAAI,IAAA,CAAC;AAAoB,QAC1B,MAAA,EAAA,CAAA;AAED,KAAA,CAAA,CAAA;AAEA,IAAA,MAAM,MAAU,GAAA,oBAAA,CAAA,KAA2B,CAAA,MAAA,EAAA,OAAgB,CAAA,CAAA;AACzD,IAAK,MAAA,OAA4B,GAAA,oBAAW,CAAA,KAAA,CAAA,OAAA,EAAA,CAAA,CAAA,KAAA;AAAA,MAC7C,IAAA,CAAA,CAAA,MAAA,KAAA,CAAA;AAED,QAAA,OAAe,EAAA,CAAA;AAAA,KAAA,CACb,CAAM;AAAA,IAAA,MACC,MAAA,GAAA;AAAA,MACP,IAAO,EAAA,MAAA;AAAA,MACP,KAAW,EAAA,OAAA;AAAA,MACX,KAAY,EAAA,OAAA;AAAA,MACZ,SAAY,EAAA,WAAA;AAAA,MACd,UAAA,EAAA,YAAA;AAEA,MAAA,UAAkB,EAAA,YAEhBA;AAGA,KAAA,CAAA;AACE,IAAO,MAAA,SAAA,GAAA,CAAQA,WAAQ,EAAA,IAAQ,KAAE;AAC/B,MAAG,IAAA,EAAA,EAAA;AAAmB,QACxB,MAAC,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA,OAAA,CAAA,CAAA,CAAA,IAAA,EAAA,OAAA,CAAA,KAAA;AAAA,UACH,EAAA,CAAA,IAAA,CAAA,CAAA,IAAA,EAAA,OAAA,CAAA,CAAA;AAAA,SACF,CAAA,CAAA;AAEA,OAAM;AACJ,KAAU,CAAA;AACV,IAAU,KAAA,CAAA,UAAA,EAAA,CAAA,SAAA,EAAA,iBAAgD,KAAA;AAE1D,MAAA,SAAe,CAAA,SAAA,EAAA,MAAA,EAAA,kBAAA,CAAA,CAAA;AACb,MAAU,SAAA,CAAA,iBAAiC,EAAA,MAAA,EAAA,qBAAe,CAAA,CAAA;AAAA,MAC5D,IAAA,SAAA,EAAA;AAAA,QACD,SAAA,CAAA,YAAA,CAAA,kBAAA,EAAA,SAAA,CAAA,KAAA,CAAA,CAAA;AAED,OAAA;AACE,KAAU,CAAA,CAAA;AACV,IAAS,eAAA,CAAA,MAAA;AAAwC,MAClD,SAAA,CAAA,UAAA,CAAA,KAAA,EAAA,MAAA,EAAA,qBAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,93 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
import { tooltipV2RootKey } from './constants.mjs';
|
3
|
-
import ForwardRef from './forward-ref.mjs';
|
4
|
-
import { tooltipV2TriggerProps } from './trigger.mjs';
|
5
|
-
import { tooltipV2CommonProps } from './common.mjs';
|
6
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
7
|
-
import { composeEventHandlers } from '../../../utils/dom/event.mjs';
|
1
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
8
2
|
|
9
|
-
const
|
10
|
-
|
3
|
+
const EventHandler = {
|
4
|
+
type: definePropType(Function)
|
5
|
+
};
|
6
|
+
const tooltipV2TriggerProps = buildProps({
|
7
|
+
onBlur: EventHandler,
|
8
|
+
onClick: EventHandler,
|
9
|
+
onFocus: EventHandler,
|
10
|
+
onMouseDown: EventHandler,
|
11
|
+
onMouseEnter: EventHandler,
|
12
|
+
onMouseLeave: EventHandler
|
11
13
|
});
|
12
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
13
|
-
...__default__,
|
14
|
-
props: {
|
15
|
-
...tooltipV2CommonProps,
|
16
|
-
...tooltipV2TriggerProps
|
17
|
-
},
|
18
|
-
setup(__props) {
|
19
|
-
const props = __props;
|
20
|
-
const { onClose, onOpen, onDelayOpen, triggerRef, contentId } = inject(tooltipV2RootKey);
|
21
|
-
let isMousedown = false;
|
22
|
-
const setTriggerRef = (el) => {
|
23
|
-
triggerRef.value = el;
|
24
|
-
};
|
25
|
-
const onMouseup = () => {
|
26
|
-
isMousedown = false;
|
27
|
-
};
|
28
|
-
const onMouseenter = composeEventHandlers(props.onMouseEnter, onDelayOpen);
|
29
|
-
const onMouseleave = composeEventHandlers(props.onMouseLeave, onClose);
|
30
|
-
const onMousedown = composeEventHandlers(props.onMouseDown, () => {
|
31
|
-
onClose();
|
32
|
-
isMousedown = true;
|
33
|
-
document.addEventListener("mouseup", onMouseup, { once: true });
|
34
|
-
});
|
35
|
-
const onFocus = composeEventHandlers(props.onFocus, () => {
|
36
|
-
if (!isMousedown)
|
37
|
-
onOpen();
|
38
|
-
});
|
39
|
-
const onBlur = composeEventHandlers(props.onBlur, onClose);
|
40
|
-
const onClick = composeEventHandlers(props.onClick, (e) => {
|
41
|
-
if (e.detail === 0)
|
42
|
-
onClose();
|
43
|
-
});
|
44
|
-
const events = {
|
45
|
-
blur: onBlur,
|
46
|
-
click: onClick,
|
47
|
-
focus: onFocus,
|
48
|
-
mousedown: onMousedown,
|
49
|
-
mouseenter: onMouseenter,
|
50
|
-
mouseleave: onMouseleave
|
51
|
-
};
|
52
|
-
const setEvents = (el, events2, type) => {
|
53
|
-
if (el) {
|
54
|
-
Object.entries(events2).forEach(([name, handler]) => {
|
55
|
-
el[type](name, handler);
|
56
|
-
});
|
57
|
-
}
|
58
|
-
};
|
59
|
-
watch(triggerRef, (triggerEl, previousTriggerEl) => {
|
60
|
-
setEvents(triggerEl, events, "addEventListener");
|
61
|
-
setEvents(previousTriggerEl, events, "removeEventListener");
|
62
|
-
if (triggerEl) {
|
63
|
-
triggerEl.setAttribute("aria-describedby", contentId.value);
|
64
|
-
}
|
65
|
-
});
|
66
|
-
onBeforeUnmount(() => {
|
67
|
-
setEvents(triggerRef.value, events, "removeEventListener");
|
68
|
-
document.removeEventListener("mouseup", onMouseup);
|
69
|
-
});
|
70
|
-
return (_ctx, _cache) => {
|
71
|
-
return _ctx.nowrap ? (openBlock(), createBlock(unref(ForwardRef), {
|
72
|
-
key: 0,
|
73
|
-
"set-ref": setTriggerRef,
|
74
|
-
"only-child": ""
|
75
|
-
}, {
|
76
|
-
default: withCtx(() => [
|
77
|
-
renderSlot(_ctx.$slots, "default")
|
78
|
-
]),
|
79
|
-
_: 3
|
80
|
-
})) : (openBlock(), createElementBlock("button", mergeProps({
|
81
|
-
key: 1,
|
82
|
-
ref_key: "triggerRef",
|
83
|
-
ref: triggerRef
|
84
|
-
}, _ctx.$attrs), [
|
85
|
-
renderSlot(_ctx.$slots, "default")
|
86
|
-
], 16));
|
87
|
-
};
|
88
|
-
}
|
89
|
-
});
|
90
|
-
var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "trigger.vue"]]);
|
91
14
|
|
92
|
-
export {
|
15
|
+
export { tooltipV2TriggerProps };
|
93
16
|
//# sourceMappingURL=trigger2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"trigger2.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/trigger.
|
1
|
+
{"version":3,"file":"trigger2.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/trigger.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nconst EventHandler = {\n type: definePropType<(e: Event) => boolean | void>(Function),\n} as const\n\nexport const tooltipV2TriggerProps = buildProps({\n onBlur: EventHandler,\n onClick: EventHandler,\n onFocus: EventHandler,\n onMouseDown: EventHandler,\n onMouseEnter: EventHandler,\n onMouseLeave: EventHandler,\n} as const)\n\nexport type TooltipV2TriggerProps = ExtractPropTypes<\n typeof tooltipV2TriggerProps\n>\n"],"names":[],"mappings":";;AACA,MAAM,YAAY,GAAG;AACrB,EAAE,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAChC,CAAC,CAAC;AACU,MAAC,qBAAqB,GAAG,UAAU,CAAC;AAChD,EAAE,MAAM,EAAE,YAAY;AACtB,EAAE,OAAO,EAAE,YAAY;AACvB,EAAE,OAAO,EAAE,YAAY;AACvB,EAAE,WAAW,EAAE,YAAY;AAC3B,EAAE,YAAY,EAAE,YAAY;AAC5B,EAAE,YAAY,EAAE,YAAY;AAC5B,CAAC;;;;"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { getCurrentInstance, shallowRef, ref, watch, onMounted } from 'vue';
|
2
2
|
import { useEventListener } from '@vueuse/core';
|
3
|
-
import { isElement } from '../../utils/types.mjs';
|
4
3
|
import { isFunction } from '@vue/shared';
|
4
|
+
import { isElement } from '../../utils/types.mjs';
|
5
5
|
|
6
6
|
function useFocusController(target, {
|
7
7
|
beforeFocus,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { isRef, computed, watch, onScopeDispose } from 'vue';
|
2
2
|
import { useNamespace } from '../use-namespace/index.mjs';
|
3
3
|
import { throwError } from '../../utils/error.mjs';
|
4
|
-
import { isClient } from '@vueuse/core';
|
5
4
|
import { hasClass, getStyle, addClass, removeClass } from '../../utils/dom/style.mjs';
|
6
5
|
import { getScrollBarWidth } from '../../utils/dom/scroll.mjs';
|
6
|
+
import { isClient } from '@vueuse/core';
|
7
7
|
|
8
8
|
const useLockscreen = (trigger, options = {}) => {
|
9
9
|
if (!isRef(trigger)) {
|
package/es/index.mjs
CHANGED
@@ -40,7 +40,7 @@ export { checkboxGroupEmits, checkboxGroupProps } from './components/checkbox/sr
|
|
40
40
|
export { checkboxEmits, checkboxProps } from './components/checkbox/src/checkbox.mjs';
|
41
41
|
export { checkboxGroupContextKey } from './components/checkbox/src/constants.mjs';
|
42
42
|
export { ElCheckbox, ElCheckboxButton, ElCheckboxGroup } from './components/checkbox/index.mjs';
|
43
|
-
export { colProps } from './components/col/src/
|
43
|
+
export { colProps } from './components/col/src/col.mjs';
|
44
44
|
export { ElCol } from './components/col/index.mjs';
|
45
45
|
export { collapseEmits, collapseProps, emitChangeFn } from './components/collapse/src/collapse.mjs';
|
46
46
|
export { collapseItemProps } from './components/collapse/src/collapse-item.mjs';
|
@@ -55,7 +55,7 @@ export { configProviderContextKey } from './components/config-provider/src/const
|
|
55
55
|
export { provideGlobalConfig, useGlobalComponentSettings, useGlobalConfig } from './components/config-provider/src/hooks/use-global-config.mjs';
|
56
56
|
export { ElConfigProvider } from './components/config-provider/index.mjs';
|
57
57
|
export { ElAside, ElContainer, ElFooter, ElHeader, ElMain } from './components/container/index.mjs';
|
58
|
-
export { countdownEmits, countdownProps } from './components/countdown/src/
|
58
|
+
export { countdownEmits, countdownProps } from './components/countdown/src/countdown.mjs';
|
59
59
|
export { ElCountdown } from './components/countdown/index.mjs';
|
60
60
|
export { ROOT_PICKER_INJECTION_KEY } from './components/date-picker/src/constants.mjs';
|
61
61
|
export { datePickerProps } from './components/date-picker/src/props/date-picker.mjs';
|
@@ -74,7 +74,7 @@ export { ElDrawer } from './components/drawer/index.mjs';
|
|
74
74
|
export { DROPDOWN_COLLECTION_INJECTION_KEY, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps } from './components/dropdown/src/dropdown2.mjs';
|
75
75
|
export { DROPDOWN_INJECTION_KEY } from './components/dropdown/src/tokens.mjs';
|
76
76
|
export { ElDropdown, ElDropdownItem, ElDropdownMenu } from './components/dropdown/index.mjs';
|
77
|
-
export { emptyProps } from './components/empty/src/
|
77
|
+
export { emptyProps } from './components/empty/src/empty2.mjs';
|
78
78
|
export { ElEmpty } from './components/empty/index.mjs';
|
79
79
|
export { formEmits, formMetaProps, formProps } from './components/form/src/form.mjs';
|
80
80
|
export { formItemProps, formItemValidateStates } from './components/form/src/form-item.mjs';
|
@@ -126,7 +126,7 @@ export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-g
|
|
126
126
|
export { radioButtonProps } from './components/radio/src/radio-button.mjs';
|
127
127
|
export { radioGroupKey } from './components/radio/src/constants.mjs';
|
128
128
|
export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';
|
129
|
-
export { rateEmits, rateProps } from './components/rate/src/
|
129
|
+
export { rateEmits, rateProps } from './components/rate/src/rate2.mjs';
|
130
130
|
export { ElRate } from './components/rate/index.mjs';
|
131
131
|
export { IconComponentMap, IconMap, resultProps } from './components/result/src/result.mjs';
|
132
132
|
export { ElResult } from './components/result/index.mjs';
|
@@ -218,16 +218,16 @@ export { anchorEmits, anchorProps } from './components/anchor/src/anchor.mjs';
|
|
218
218
|
export { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';
|
219
219
|
export { segmentedEmits, segmentedProps } from './components/segmented/src/segmented.mjs';
|
220
220
|
export { ElSegmented } from './components/segmented/index.mjs';
|
221
|
-
export { mentionEmits, mentionProps } from './components/mention/src/
|
221
|
+
export { mentionEmits, mentionProps } from './components/mention/src/mention2.mjs';
|
222
222
|
export { ElMention } from './components/mention/index.mjs';
|
223
223
|
export { ElInfiniteScroll } from './components/infinite-scroll/index.mjs';
|
224
224
|
export { ElLoading } from './components/loading/index.mjs';
|
225
225
|
export { vLoading as ElLoadingDirective, vLoading } from './components/loading/src/directive.mjs';
|
226
226
|
export { Loading as ElLoadingService } from './components/loading/src/service.mjs';
|
227
|
-
export { messageDefaults, messageEmits, messageProps, messageTypes } from './components/message/src/
|
227
|
+
export { messageDefaults, messageEmits, messageProps, messageTypes } from './components/message/src/message.mjs';
|
228
228
|
export { ElMessage } from './components/message/index.mjs';
|
229
229
|
export { ElMessageBox } from './components/message-box/index.mjs';
|
230
|
-
export { notificationEmits, notificationProps, notificationTypes } from './components/notification/src/
|
230
|
+
export { notificationEmits, notificationProps, notificationTypes } from './components/notification/src/notification.mjs';
|
231
231
|
export { ElNotification } from './components/notification/index.mjs';
|
232
232
|
export { popoverEmits, popoverProps } from './components/popover/src/popover.mjs';
|
233
233
|
export { ElPopover, ElPopoverDirective } from './components/popover/index.mjs';
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20241204";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20241204'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var col$1 = require('./src/
|
6
|
-
var col = require('./src/
|
5
|
+
var col$1 = require('./src/col2.js');
|
6
|
+
var col = require('./src/col.js');
|
7
7
|
var install = require('../../utils/vue/install.js');
|
8
8
|
|
9
9
|
const ElCol = install.withInstall(col$1["default"]);
|
@@ -2,72 +2,51 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
6
|
-
var
|
7
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
8
|
-
var constants = require('../../row/src/constants.js');
|
9
|
-
var index = require('../../../hooks/use-namespace/index.js');
|
10
|
-
var types = require('../../../utils/types.js');
|
11
|
-
var shared = require('@vue/shared');
|
5
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
6
|
+
var typescript = require('../../../utils/typescript.js');
|
12
7
|
|
13
|
-
const
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
classes.push(ns.is("guttered"));
|
54
|
-
}
|
55
|
-
return [ns.b(), classes];
|
56
|
-
});
|
57
|
-
return (_ctx, _cache) => {
|
58
|
-
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
59
|
-
class: vue.normalizeClass(vue.unref(colKls)),
|
60
|
-
style: vue.normalizeStyle(vue.unref(style))
|
61
|
-
}, {
|
62
|
-
default: vue.withCtx(() => [
|
63
|
-
vue.renderSlot(_ctx.$slots, "default")
|
64
|
-
]),
|
65
|
-
_: 3
|
66
|
-
}, 8, ["class", "style"]);
|
67
|
-
};
|
8
|
+
const colProps = runtime.buildProps({
|
9
|
+
tag: {
|
10
|
+
type: String,
|
11
|
+
default: "div"
|
12
|
+
},
|
13
|
+
span: {
|
14
|
+
type: Number,
|
15
|
+
default: 24
|
16
|
+
},
|
17
|
+
offset: {
|
18
|
+
type: Number,
|
19
|
+
default: 0
|
20
|
+
},
|
21
|
+
pull: {
|
22
|
+
type: Number,
|
23
|
+
default: 0
|
24
|
+
},
|
25
|
+
push: {
|
26
|
+
type: Number,
|
27
|
+
default: 0
|
28
|
+
},
|
29
|
+
xs: {
|
30
|
+
type: runtime.definePropType([Number, Object]),
|
31
|
+
default: () => typescript.mutable({})
|
32
|
+
},
|
33
|
+
sm: {
|
34
|
+
type: runtime.definePropType([Number, Object]),
|
35
|
+
default: () => typescript.mutable({})
|
36
|
+
},
|
37
|
+
md: {
|
38
|
+
type: runtime.definePropType([Number, Object]),
|
39
|
+
default: () => typescript.mutable({})
|
40
|
+
},
|
41
|
+
lg: {
|
42
|
+
type: runtime.definePropType([Number, Object]),
|
43
|
+
default: () => typescript.mutable({})
|
44
|
+
},
|
45
|
+
xl: {
|
46
|
+
type: runtime.definePropType([Number, Object]),
|
47
|
+
default: () => typescript.mutable({})
|
68
48
|
}
|
69
49
|
});
|
70
|
-
var Col = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "col.vue"]]);
|
71
50
|
|
72
|
-
exports
|
51
|
+
exports.colProps = colProps;
|
73
52
|
//# sourceMappingURL=col.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"col.js","sources":["../../../../../../packages/components/col/src/col.
|
1
|
+
{"version":3,"file":"col.js","sources":["../../../../../../packages/components/col/src/col.ts"],"sourcesContent":["import { buildProps, definePropType, mutable } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Col from './col.vue'\n\nexport type ColSizeObject = {\n span?: number\n offset?: number\n pull?: number\n push?: number\n}\nexport type ColSize = number | ColSizeObject\n\nexport const colProps = buildProps({\n /**\n * @description custom element tag\n */\n tag: {\n type: String,\n default: 'div',\n },\n /**\n * @description number of column the grid spans\n */\n span: {\n type: Number,\n default: 24,\n },\n /**\n * @description number of spacing on the left side of the grid\n */\n offset: {\n type: Number,\n default: 0,\n },\n /**\n * @description number of columns that grid moves to the left\n */\n pull: {\n type: Number,\n default: 0,\n },\n /**\n * @description number of columns that grid moves to the right\n */\n push: {\n type: Number,\n default: 0,\n },\n /**\n * @description `<768px` Responsive columns or column props object\n */\n xs: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n /**\n * @description `≥768px` Responsive columns or column props object\n */\n sm: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n /**\n * @description `≥992px` Responsive columns or column props object\n */\n md: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n /**\n * @description `≥1200px` Responsive columns or column props object\n */\n lg: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n /**\n * @description `≥1920px` Responsive columns or column props object\n */\n xl: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n} as const)\nexport type ColProps = ExtractPropTypes<typeof colProps>\nexport type ColInstance = InstanceType<typeof Col>\n"],"names":["buildProps","definePropType","mutable"],"mappings":";;;;;;;AACY,MAAC,QAAQ,GAAGA,kBAAU,CAAC;AACnC,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,MAAMC,kBAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAED,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,MAAMC,kBAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAED,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,MAAMC,kBAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAED,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,MAAMC,kBAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAED,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,MAAMC,kBAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,CAAC;;;;"}
|