@element-plus/nightly 0.0.20241128 → 0.0.20241130
Sign up to get free protection for your applications and to get access to all the features.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +907 -317
- package/dist/index.full.min.js +17 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +904 -318
- 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/component.mjs +2 -0
- package/es/component.mjs.map +1 -1
- package/es/components/alert/index.mjs +2 -2
- package/es/components/alert/src/alert.mjs +36 -95
- package/es/components/alert/src/alert.mjs.map +1 -1
- package/es/components/alert/src/alert2.mjs +95 -36
- package/es/components/alert/src/alert2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel-item.mjs +69 -7
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item2.mjs +7 -69
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.mjs +87 -26
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content2.mjs +26 -87
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.mjs +1 -1
- package/es/components/dialog/src/dialog2.mjs +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +6 -4
- package/es/components/index.mjs.map +1 -1
- package/es/components/input-number/src/input-number2.mjs +2 -1
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/input-tag/index.d.ts +6 -0
- package/es/components/input-tag/index.mjs +8 -0
- package/es/components/input-tag/index.mjs.map +1 -0
- package/es/components/input-tag/src/composables/index.d.ts +4 -0
- package/es/components/input-tag/src/composables/index.mjs +5 -0
- package/es/components/input-tag/src/composables/index.mjs.map +1 -0
- package/es/components/input-tag/src/composables/use-drag-tag.d.ts +15 -0
- package/es/components/input-tag/src/composables/use-drag-tag.mjs +92 -0
- package/es/components/input-tag/src/composables/use-drag-tag.mjs.map +1 -0
- package/es/components/input-tag/src/composables/use-hovering.d.ts +5 -0
- package/es/components/input-tag/src/composables/use-hovering.mjs +19 -0
- package/es/components/input-tag/src/composables/use-hovering.mjs.map +1 -0
- package/es/components/input-tag/src/composables/use-input-tag-dom.d.ts +58 -0
- package/es/components/input-tag/src/composables/use-input-tag-dom.mjs +57 -0
- package/es/components/input-tag/src/composables/use-input-tag-dom.mjs.map +1 -0
- package/es/components/input-tag/src/composables/use-input-tag.d.ts +33 -0
- package/es/components/input-tag/src/composables/use-input-tag.mjs +153 -0
- package/es/components/input-tag/src/composables/use-input-tag.mjs.map +1 -0
- package/es/components/input-tag/src/input-tag.d.ts +60 -0
- package/es/components/input-tag/src/input-tag.mjs +219 -0
- package/es/components/input-tag/src/input-tag.mjs.map +1 -0
- package/es/components/input-tag/src/input-tag.vue.d.ts +142 -0
- package/es/components/input-tag/src/input-tag2.mjs +69 -0
- package/es/components/input-tag/src/input-tag2.mjs.map +1 -0
- package/es/components/input-tag/src/instance.d.ts +2 -0
- package/es/components/input-tag/src/instance.mjs +2 -0
- package/es/components/input-tag/src/instance.mjs.map +1 -0
- package/es/components/input-tag/style/css.d.ts +3 -0
- package/es/components/input-tag/style/css.mjs +4 -0
- package/es/components/input-tag/style/css.mjs.map +1 -0
- package/es/components/input-tag/style/index.d.ts +3 -0
- package/es/components/input-tag/style/index.mjs +4 -0
- package/es/components/input-tag/style/index.mjs.map +1 -0
- package/es/components/menu/index.mjs +2 -2
- package/es/components/menu/src/menu-item.mjs +14 -96
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item2.mjs +96 -14
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/notification/src/notification.d.ts +12 -6
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +5 -8
- package/es/components/notification/src/notify.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker-range-trigger.mjs +1 -1
- package/es/components/time-picker/src/common/picker-range-trigger.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/panel-time-range.mjs +3 -0
- package/es/components/time-picker/src/time-picker-com/panel-time-range.mjs.map +1 -1
- package/es/components/tour/index.mjs +2 -2
- package/es/components/tour/src/step.mjs +168 -44
- package/es/components/tour/src/step.mjs.map +1 -1
- package/es/components/tour/src/step2.mjs +44 -168
- package/es/components/tour/src/step2.mjs.map +1 -1
- package/es/directives/click-outside/index.mjs +1 -1
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/index.mjs.map +1 -1
- package/es/hooks/use-calc-input-width/index.d.ts +7 -0
- package/es/hooks/use-calc-input-width/index.mjs +24 -0
- package/es/hooks/use-calc-input-width/index.mjs.map +1 -0
- package/es/hooks/use-focus-controller/index.mjs +1 -1
- package/es/hooks/use-lockscreen/index.mjs +1 -1
- package/es/index.mjs +7 -4
- package/es/index.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/global.d.ts +1 -0
- package/lib/component.js +98 -96
- package/lib/component.js.map +1 -1
- package/lib/components/alert/index.js +2 -2
- package/lib/components/alert/src/alert.js +37 -94
- package/lib/components/alert/src/alert.js.map +1 -1
- package/lib/components/alert/src/alert2.js +94 -37
- package/lib/components/alert/src/alert2.js.map +1 -1
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel-item.js +69 -7
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel-item2.js +7 -69
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.js +86 -26
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content2.js +26 -86
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.js +1 -1
- package/lib/components/dialog/src/dialog2.js +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +117 -112
- package/lib/components/index.js.map +1 -1
- package/lib/components/input-number/src/input-number2.js +2 -1
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/input-tag/index.d.ts +6 -0
- package/lib/components/input-tag/index.js +15 -0
- package/lib/components/input-tag/index.js.map +1 -0
- package/lib/components/input-tag/src/composables/index.d.ts +4 -0
- package/lib/components/input-tag/src/composables/index.js +16 -0
- package/lib/components/input-tag/src/composables/index.js.map +1 -0
- package/lib/components/input-tag/src/composables/use-drag-tag.d.ts +15 -0
- package/lib/components/input-tag/src/composables/use-drag-tag.js +96 -0
- package/lib/components/input-tag/src/composables/use-drag-tag.js.map +1 -0
- package/lib/components/input-tag/src/composables/use-hovering.d.ts +5 -0
- package/lib/components/input-tag/src/composables/use-hovering.js +23 -0
- package/lib/components/input-tag/src/composables/use-hovering.js.map +1 -0
- package/lib/components/input-tag/src/composables/use-input-tag-dom.d.ts +58 -0
- package/lib/components/input-tag/src/composables/use-input-tag-dom.js +61 -0
- package/lib/components/input-tag/src/composables/use-input-tag-dom.js.map +1 -0
- package/lib/components/input-tag/src/composables/use-input-tag.d.ts +33 -0
- package/lib/components/input-tag/src/composables/use-input-tag.js +157 -0
- package/lib/components/input-tag/src/composables/use-input-tag.js.map +1 -0
- package/lib/components/input-tag/src/input-tag.d.ts +60 -0
- package/lib/components/input-tag/src/input-tag.js +223 -0
- package/lib/components/input-tag/src/input-tag.js.map +1 -0
- package/lib/components/input-tag/src/input-tag.vue.d.ts +142 -0
- package/lib/components/input-tag/src/input-tag2.js +74 -0
- package/lib/components/input-tag/src/input-tag2.js.map +1 -0
- package/lib/components/input-tag/src/instance.d.ts +2 -0
- package/lib/components/input-tag/src/instance.js +3 -0
- package/lib/components/input-tag/src/instance.js.map +1 -0
- package/lib/components/input-tag/style/css.d.ts +3 -0
- package/lib/components/input-tag/style/css.js +7 -0
- package/lib/components/input-tag/style/css.js.map +1 -0
- package/lib/components/input-tag/style/index.d.ts +3 -0
- package/lib/components/input-tag/style/index.js +7 -0
- package/lib/components/input-tag/style/index.js.map +1 -0
- package/lib/components/menu/index.js +2 -2
- package/lib/components/menu/src/menu-item.js +15 -96
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item2.js +96 -15
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +12 -6
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notify.js +4 -7
- package/lib/components/notification/src/notify.js.map +1 -1
- package/lib/components/time-picker/src/common/picker-range-trigger.js +1 -1
- package/lib/components/time-picker/src/common/picker-range-trigger.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.js +3 -0
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.js.map +1 -1
- package/lib/components/tour/index.js +2 -2
- package/lib/components/tour/src/step.js +167 -44
- package/lib/components/tour/src/step.js.map +1 -1
- package/lib/components/tour/src/step2.js +44 -167
- package/lib/components/tour/src/step2.js.map +1 -1
- package/lib/directives/click-outside/index.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +96 -94
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-calc-input-width/index.d.ts +7 -0
- package/lib/hooks/use-calc-input-width/index.js +28 -0
- package/lib/hooks/use-calc-input-width/index.js.map +1 -0
- package/lib/hooks/use-focus-controller/index.js +1 -1
- package/lib/hooks/use-lockscreen/index.js +1 -1
- package/lib/index.js +223 -216
- package/lib/index.js.map +1 -1
- 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/tags.json +1 -1
- package/theme-chalk/el-form.css +1 -1
- package/theme-chalk/el-input-tag.css +1 -0
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/var.scss +47 -0
- package/theme-chalk/src/form.scss +2 -1
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/input-tag.scss +215 -0
- package/web-types.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"step2.js","sources":["../../../../../../packages/components/tour/src/step.
|
1
|
+
{"version":3,"file":"step2.js","sources":["../../../../../../packages/components/tour/src/step.ts"],"sourcesContent":["import { buildProps, definePropType, iconPropType } from '@element-plus/utils'\nimport { tourContentProps } from './content'\nimport type { CSSProperties, ExtractPropTypes } from 'vue'\nimport type { TourBtnProps, TourMask } from './types'\n\nexport const tourStepProps = buildProps({\n /**\n * @description get the element the guide card points to. empty makes it show in center of screen\n */\n target: {\n type: definePropType<\n string | HTMLElement | (() => HTMLElement | null) | null\n >([String, Object, Function]),\n },\n /**\n * @description the title of the tour content\n */\n title: String,\n /**\n * @description description\n */\n description: String,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description whether to show the arrow\n */\n showArrow: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description position of the guide card relative to the target element\n */\n placement: tourContentProps.placement,\n /**\n * @description whether to enable masking, change mask style and fill color by pass custom props\n */\n mask: {\n type: definePropType<TourMask>([Boolean, Object]),\n default: undefined,\n },\n /**\n * @description custom style for content\n */\n contentStyle: {\n type: definePropType<CSSProperties>([Object]),\n },\n /**\n * @description properties of the previous button\n */\n prevButtonProps: {\n type: definePropType<TourBtnProps>(Object),\n },\n /**\n * @description properties of the Next button\n */\n nextButtonProps: {\n type: definePropType<TourBtnProps>(Object),\n },\n /**\n * @description support pass custom scrollIntoView options\n */\n scrollIntoViewOptions: {\n type: definePropType<boolean | ScrollIntoViewOptions>([Boolean, Object]),\n default: undefined,\n },\n /**\n * @description type, affects the background color and text color\n */\n type: {\n type: definePropType<'default' | 'primary'>(String),\n },\n})\n\nexport type TourStepProps = ExtractPropTypes<typeof tourStepProps>\n\nexport const tourStepEmits = {\n close: () => true,\n}\nexport type TourStepEmits = typeof tourStepEmits\n"],"names":["buildProps","definePropType","iconPropType","tourContentProps"],"mappings":";;;;;;;;AAEY,MAAC,aAAa,GAAGA,kBAAU,CAAC;AACxC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AACpD,GAAG;AACH,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,SAAS,EAAEC,wBAAgB,CAAC,SAAS;AACvC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEF,sBAAc,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAC3C,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAEA,sBAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAClC,GAAG;AACH,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,qBAAqB,EAAE;AACzB,IAAI,IAAI,EAAEA,sBAAc,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAC3C,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,CAAC,EAAE;AACS,MAAC,aAAa,GAAG;AAC7B,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB;;;;;"}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
var core = require('@vueuse/core');
|
6
|
-
var shared = require('@vue/shared');
|
7
6
|
var types = require('../../utils/types.js');
|
7
|
+
var shared = require('@vue/shared');
|
8
8
|
|
9
9
|
const nodeList = /* @__PURE__ */ new Map();
|
10
10
|
if (core.isClient) {
|
package/lib/hooks/index.d.ts
CHANGED
package/lib/hooks/index.js
CHANGED
@@ -3,102 +3,104 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
var index = require('./use-attrs/index.js');
|
6
|
-
var index$1 = require('./use-
|
7
|
-
var index$2 = require('./use-
|
8
|
-
var index$3 = require('./use-
|
9
|
-
var index$4 = require('./use-
|
10
|
-
var index$5 = require('./use-
|
11
|
-
var index$6 = require('./use-
|
12
|
-
var index$7 = require('./use-
|
13
|
-
var index$8 = require('./use-
|
14
|
-
var index$9 = require('./use-
|
15
|
-
var index$a = require('./use-
|
16
|
-
var index$b = require('./use-
|
17
|
-
var index$c = require('./use-
|
18
|
-
var index$d = require('./use-
|
19
|
-
var index$e = require('./use-
|
20
|
-
var index$f = require('./use-
|
21
|
-
var index$g = require('./use-
|
22
|
-
var index$h = require('./use-
|
23
|
-
var index$i = require('./use-
|
24
|
-
var index$j = require('./use-
|
25
|
-
var index$k = require('./use-
|
26
|
-
var index$l = require('./use-
|
27
|
-
var index$m = require('./use-
|
28
|
-
var index$n = require('./use-
|
29
|
-
var index$o = require('./use-
|
30
|
-
var index$p = require('./use-
|
31
|
-
var index$q = require('./use-
|
32
|
-
var index$r = require('./use-
|
33
|
-
var index$s = require('./use-
|
34
|
-
var index$t = require('./use-
|
35
|
-
var index$u = require('./use-
|
36
|
-
var index$v = require('./use-
|
6
|
+
var index$1 = require('./use-calc-input-width/index.js');
|
7
|
+
var index$2 = require('./use-deprecated/index.js');
|
8
|
+
var index$3 = require('./use-draggable/index.js');
|
9
|
+
var index$4 = require('./use-focus/index.js');
|
10
|
+
var index$5 = require('./use-locale/index.js');
|
11
|
+
var index$6 = require('./use-lockscreen/index.js');
|
12
|
+
var index$7 = require('./use-modal/index.js');
|
13
|
+
var index$8 = require('./use-model-toggle/index.js');
|
14
|
+
var index$9 = require('./use-prevent-global/index.js');
|
15
|
+
var index$a = require('./use-prop/index.js');
|
16
|
+
var index$b = require('./use-popper/index.js');
|
17
|
+
var index$c = require('./use-same-target/index.js');
|
18
|
+
var index$d = require('./use-teleport/index.js');
|
19
|
+
var index$e = require('./use-throttle-render/index.js');
|
20
|
+
var index$f = require('./use-timeout/index.js');
|
21
|
+
var index$g = require('./use-transition-fallthrough/index.js');
|
22
|
+
var index$h = require('./use-id/index.js');
|
23
|
+
var index$i = require('./use-escape-keydown/index.js');
|
24
|
+
var index$j = require('./use-popper-container/index.js');
|
25
|
+
var index$k = require('./use-intermediate-render/index.js');
|
26
|
+
var index$l = require('./use-delayed-toggle/index.js');
|
27
|
+
var index$m = require('./use-forward-ref/index.js');
|
28
|
+
var index$n = require('./use-namespace/index.js');
|
29
|
+
var index$o = require('./use-z-index/index.js');
|
30
|
+
var index$p = require('./use-floating/index.js');
|
31
|
+
var index$q = require('./use-cursor/index.js');
|
32
|
+
var index$r = require('./use-ordered-children/index.js');
|
33
|
+
var index$s = require('./use-size/index.js');
|
34
|
+
var index$t = require('./use-focus-controller/index.js');
|
35
|
+
var index$u = require('./use-composition/index.js');
|
36
|
+
var index$v = require('./use-empty-values/index.js');
|
37
|
+
var index$w = require('./use-aria/index.js');
|
37
38
|
|
38
39
|
|
39
40
|
|
40
41
|
exports.useAttrs = index.useAttrs;
|
41
|
-
exports.
|
42
|
-
exports.
|
43
|
-
exports.
|
44
|
-
exports.
|
45
|
-
exports.
|
46
|
-
exports.
|
47
|
-
exports.
|
48
|
-
exports.
|
49
|
-
exports.
|
50
|
-
exports.
|
51
|
-
exports.
|
52
|
-
exports.
|
53
|
-
exports.
|
54
|
-
exports.
|
55
|
-
exports.
|
56
|
-
exports.
|
57
|
-
exports.
|
58
|
-
exports.
|
59
|
-
exports.
|
60
|
-
exports.
|
61
|
-
exports.
|
62
|
-
exports.
|
63
|
-
exports.
|
64
|
-
exports.
|
65
|
-
exports.
|
66
|
-
exports.
|
67
|
-
exports.
|
68
|
-
exports.
|
69
|
-
exports.
|
70
|
-
exports.
|
71
|
-
exports.
|
72
|
-
exports.
|
73
|
-
exports.
|
74
|
-
exports.
|
75
|
-
exports.
|
76
|
-
exports.
|
77
|
-
exports.
|
78
|
-
exports.
|
79
|
-
exports.
|
80
|
-
exports.
|
81
|
-
exports.
|
82
|
-
exports.
|
83
|
-
exports.
|
84
|
-
exports.
|
85
|
-
exports.
|
86
|
-
exports.
|
87
|
-
exports.
|
88
|
-
exports.
|
89
|
-
exports.
|
90
|
-
exports.
|
91
|
-
exports.
|
92
|
-
exports.
|
93
|
-
exports.
|
94
|
-
exports.
|
95
|
-
exports.
|
96
|
-
exports.
|
97
|
-
exports.
|
98
|
-
exports.
|
99
|
-
exports.
|
100
|
-
exports.
|
101
|
-
exports.
|
102
|
-
exports.
|
103
|
-
exports.
|
42
|
+
exports.useCalcInputWidth = index$1.useCalcInputWidth;
|
43
|
+
exports.useDeprecated = index$2.useDeprecated;
|
44
|
+
exports.useDraggable = index$3.useDraggable;
|
45
|
+
exports.useFocus = index$4.useFocus;
|
46
|
+
exports.buildLocaleContext = index$5.buildLocaleContext;
|
47
|
+
exports.buildTranslator = index$5.buildTranslator;
|
48
|
+
exports.localeContextKey = index$5.localeContextKey;
|
49
|
+
exports.translate = index$5.translate;
|
50
|
+
exports.useLocale = index$5.useLocale;
|
51
|
+
exports.useLockscreen = index$6.useLockscreen;
|
52
|
+
exports.useModal = index$7.useModal;
|
53
|
+
exports.createModelToggleComposable = index$8.createModelToggleComposable;
|
54
|
+
exports.useModelToggle = index$8.useModelToggle;
|
55
|
+
exports.useModelToggleEmits = index$8.useModelToggleEmits;
|
56
|
+
exports.useModelToggleProps = index$8.useModelToggleProps;
|
57
|
+
exports.usePreventGlobal = index$9.usePreventGlobal;
|
58
|
+
exports.useProp = index$a.useProp;
|
59
|
+
exports.usePopper = index$b.usePopper;
|
60
|
+
exports.useSameTarget = index$c.useSameTarget;
|
61
|
+
exports.useTeleport = index$d.useTeleport;
|
62
|
+
exports.useThrottleRender = index$e.useThrottleRender;
|
63
|
+
exports.useTimeout = index$f.useTimeout;
|
64
|
+
exports.useTransitionFallthrough = index$g.useTransitionFallthrough;
|
65
|
+
exports.useTransitionFallthroughEmits = index$g.useTransitionFallthroughEmits;
|
66
|
+
exports.ID_INJECTION_KEY = index$h.ID_INJECTION_KEY;
|
67
|
+
exports.useId = index$h.useId;
|
68
|
+
exports.useIdInjection = index$h.useIdInjection;
|
69
|
+
exports.useEscapeKeydown = index$i.useEscapeKeydown;
|
70
|
+
exports.usePopperContainer = index$j.usePopperContainer;
|
71
|
+
exports.usePopperContainerId = index$j.usePopperContainerId;
|
72
|
+
exports.useDelayedRender = index$k.useDelayedRender;
|
73
|
+
exports.useDelayedToggle = index$l.useDelayedToggle;
|
74
|
+
exports.useDelayedToggleProps = index$l.useDelayedToggleProps;
|
75
|
+
exports.FORWARD_REF_INJECTION_KEY = index$m.FORWARD_REF_INJECTION_KEY;
|
76
|
+
exports.useForwardRef = index$m.useForwardRef;
|
77
|
+
exports.useForwardRefDirective = index$m.useForwardRefDirective;
|
78
|
+
exports.defaultNamespace = index$n.defaultNamespace;
|
79
|
+
exports.namespaceContextKey = index$n.namespaceContextKey;
|
80
|
+
exports.useGetDerivedNamespace = index$n.useGetDerivedNamespace;
|
81
|
+
exports.useNamespace = index$n.useNamespace;
|
82
|
+
exports.ZINDEX_INJECTION_KEY = index$o.ZINDEX_INJECTION_KEY;
|
83
|
+
exports.defaultInitialZIndex = index$o.defaultInitialZIndex;
|
84
|
+
exports.useZIndex = index$o.useZIndex;
|
85
|
+
exports.zIndexContextKey = index$o.zIndexContextKey;
|
86
|
+
exports.arrowMiddleware = index$p.arrowMiddleware;
|
87
|
+
exports.getPositionDataWithUnit = index$p.getPositionDataWithUnit;
|
88
|
+
exports.useFloating = index$p.useFloating;
|
89
|
+
exports.useFloatingProps = index$p.useFloatingProps;
|
90
|
+
exports.useCursor = index$q.useCursor;
|
91
|
+
exports.useOrderedChildren = index$r.useOrderedChildren;
|
92
|
+
exports.SIZE_INJECTION_KEY = index$s.SIZE_INJECTION_KEY;
|
93
|
+
exports.useGlobalSize = index$s.useGlobalSize;
|
94
|
+
exports.useSizeProp = index$s.useSizeProp;
|
95
|
+
exports.useSizeProps = index$s.useSizeProps;
|
96
|
+
exports.useFocusController = index$t.useFocusController;
|
97
|
+
exports.useComposition = index$u.useComposition;
|
98
|
+
exports.DEFAULT_EMPTY_VALUES = index$v.DEFAULT_EMPTY_VALUES;
|
99
|
+
exports.DEFAULT_VALUE_ON_CLEAR = index$v.DEFAULT_VALUE_ON_CLEAR;
|
100
|
+
exports.SCOPE = index$v.SCOPE;
|
101
|
+
exports.emptyValuesContextKey = index$v.emptyValuesContextKey;
|
102
|
+
exports.useEmptyValues = index$v.useEmptyValues;
|
103
|
+
exports.useEmptyValuesProps = index$v.useEmptyValuesProps;
|
104
|
+
exports.ariaProps = index$w.ariaProps;
|
105
|
+
exports.useAriaProps = index$w.useAriaProps;
|
104
106
|
//# sourceMappingURL=index.js.map
|
package/lib/hooks/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var vue = require('vue');
|
6
|
+
var core = require('@vueuse/core');
|
7
|
+
|
8
|
+
function useCalcInputWidth() {
|
9
|
+
const calculatorRef = vue.shallowRef();
|
10
|
+
const calculatorWidth = vue.ref(0);
|
11
|
+
const MINIMUM_INPUT_WIDTH = 11;
|
12
|
+
const inputStyle = vue.computed(() => ({
|
13
|
+
minWidth: `${Math.max(calculatorWidth.value, MINIMUM_INPUT_WIDTH)}px`
|
14
|
+
}));
|
15
|
+
const resetCalculatorWidth = () => {
|
16
|
+
var _a, _b;
|
17
|
+
calculatorWidth.value = (_b = (_a = calculatorRef.value) == null ? void 0 : _a.getBoundingClientRect().width) != null ? _b : 0;
|
18
|
+
};
|
19
|
+
core.useResizeObserver(calculatorRef, resetCalculatorWidth);
|
20
|
+
return {
|
21
|
+
calculatorRef,
|
22
|
+
calculatorWidth,
|
23
|
+
inputStyle
|
24
|
+
};
|
25
|
+
}
|
26
|
+
|
27
|
+
exports.useCalcInputWidth = useCalcInputWidth;
|
28
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../packages/hooks/use-calc-input-width/index.ts"],"sourcesContent":["import { computed, ref, shallowRef } from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\n\nexport function useCalcInputWidth() {\n const calculatorRef = shallowRef<HTMLElement>()\n const calculatorWidth = ref(0)\n const MINIMUM_INPUT_WIDTH = 11\n\n const inputStyle = computed(() => ({\n minWidth: `${Math.max(calculatorWidth.value, MINIMUM_INPUT_WIDTH)}px`,\n }))\n\n const resetCalculatorWidth = () => {\n calculatorWidth.value =\n calculatorRef.value?.getBoundingClientRect().width ?? 0\n }\n\n useResizeObserver(calculatorRef, resetCalculatorWidth)\n\n return {\n calculatorRef,\n calculatorWidth,\n inputStyle,\n }\n}\n"],"names":["shallowRef","ref","computed","useResizeObserver"],"mappings":";;;;;;;AAEO,SAAS,iBAAiB,GAAG;AACpC,EAAE,MAAM,aAAa,GAAGA,cAAU,EAAE,CAAC;AACrC,EAAE,MAAM,eAAe,GAAGC,OAAG,CAAC,CAAC,CAAC,CAAC;AACjC,EAAE,MAAM,mBAAmB,GAAG,EAAE,CAAC;AACjC,EAAE,MAAM,UAAU,GAAGC,YAAQ,CAAC,OAAO;AACrC,IAAI,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC;AACzE,GAAG,CAAC,CAAC,CAAC;AACN,EAAE,MAAM,oBAAoB,GAAG,MAAM;AACrC,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC;AACf,IAAI,eAAe,CAAC,KAAK,GAAG,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,aAAa,CAAC,KAAK,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,qBAAqB,EAAE,CAAC,KAAK,KAAK,IAAI,GAAG,EAAE,GAAG,CAAC,CAAC;AACnI,GAAG,CAAC;AACJ,EAAEC,sBAAiB,CAAC,aAAa,EAAE,oBAAoB,CAAC,CAAC;AACzD,EAAE,OAAO;AACT,IAAI,aAAa;AACjB,IAAI,eAAe;AACnB,IAAI,UAAU;AACd,GAAG,CAAC;AACJ;;;;"}
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
var vue = require('vue');
|
6
6
|
var core = require('@vueuse/core');
|
7
|
-
var types = require('../../utils/types.js');
|
8
7
|
var shared = require('@vue/shared');
|
8
|
+
var types = require('../../utils/types.js');
|
9
9
|
|
10
10
|
function useFocusController(target, {
|
11
11
|
beforeFocus,
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var vue = require('vue');
|
6
6
|
var index = require('../use-namespace/index.js');
|
7
7
|
var error = require('../../utils/error.js');
|
8
|
-
var core = require('@vueuse/core');
|
9
8
|
var style = require('../../utils/dom/style.js');
|
10
9
|
var scroll = require('../../utils/dom/scroll.js');
|
10
|
+
var core = require('@vueuse/core');
|
11
11
|
|
12
12
|
const useLockscreen = (trigger, options = {}) => {
|
13
13
|
if (!vue.isRef(trigger)) {
|