@element-plus/nightly 0.0.20251221 → 0.0.20251223
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +16 -9
- package/dist/index.full.min.js +11 -11
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +11 -11
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +16 -9
- 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/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.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/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.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/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.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/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.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-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.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/affix/index.mjs +2 -2
- package/es/components/affix/src/affix.mjs +29 -153
- package/es/components/affix/src/affix.mjs.map +1 -1
- package/es/components/affix/src/affix2.mjs +153 -29
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/collapse/index.mjs +2 -2
- package/es/components/collapse/src/collapse-item.mjs +118 -17
- package/es/components/collapse/src/collapse-item.mjs.map +1 -1
- package/es/components/collapse/src/collapse-item2.mjs +17 -118
- package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker2.mjs +1 -1
- package/es/components/color-picker-panel/index.mjs +2 -2
- package/es/components/color-picker-panel/src/color-picker-panel.mjs +26 -157
- package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel2.mjs +157 -26
- package/es/components/color-picker-panel/src/color-picker-panel2.mjs.map +1 -1
- package/es/components/color-picker-panel/src/composables/use-predefine.mjs +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.mjs +7 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -0
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +2 -1
- package/es/components/date-picker-panel/src/date-picker-panel.mjs +2 -1
- package/es/components/date-picker-panel/src/date-picker-panel.mjs.map +1 -1
- package/es/components/date-picker-panel/src/panel-utils.d.ts +6 -0
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/icon/index.mjs +2 -2
- package/es/components/icon/src/icon.mjs +39 -7
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +7 -39
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/index.mjs +17 -17
- package/es/components/message/index.mjs +1 -1
- package/es/components/message/src/message.mjs +190 -107
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message2.mjs +107 -190
- 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 +174 -72
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification2.mjs +72 -174
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popover/src/popover.mjs +1 -1
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/arrow.mjs +38 -7
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +7 -38
- package/es/components/popper/src/arrow2.mjs.map +1 -1
- package/es/components/popper/src/content.mjs +1 -1
- package/es/components/result/index.mjs +2 -2
- package/es/components/result/src/result.mjs +96 -29
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/result/src/result2.mjs +29 -96
- package/es/components/result/src/result2.mjs.map +1 -1
- package/es/components/scrollbar/index.mjs +1 -1
- package/es/components/scrollbar/src/bar2.mjs +1 -1
- package/es/components/scrollbar/src/thumb.mjs +11 -163
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +163 -11
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/segmented/index.mjs +2 -2
- package/es/components/segmented/src/segmented.mjs +209 -44
- package/es/components/segmented/src/segmented.mjs.map +1 -1
- package/es/components/segmented/src/segmented2.mjs +44 -209
- package/es/components/segmented/src/segmented2.mjs.map +1 -1
- package/es/components/select/index.mjs +2 -2
- package/es/components/select/src/select.mjs +727 -152
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select2.mjs +152 -727
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/skeleton/index.mjs +4 -4
- package/es/components/skeleton/src/skeleton-item.mjs +27 -17
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item2.mjs +17 -27
- package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.mjs +67 -17
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +17 -67
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/slider/src/button.mjs +104 -18
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button2.mjs +18 -104
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/slider2.mjs +1 -1
- package/es/components/switch/index.mjs +2 -2
- package/es/components/switch/src/switch.mjs +311 -74
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch2.mjs +74 -311
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +5 -4
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +1 -0
- package/es/components/time-select/style/css.d.ts +0 -1
- package/es/components/time-select/style/css.mjs +0 -1
- package/es/components/time-select/style/css.mjs.map +1 -1
- package/es/components/time-select/style/index.d.ts +0 -1
- package/es/components/time-select/style/index.mjs +0 -1
- package/es/components/time-select/style/index.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +3 -3
- package/es/components/tooltip/src/tooltip.mjs +183 -30
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +30 -183
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.mjs +104 -15
- package/es/components/tooltip/src/trigger.mjs.map +1 -1
- package/es/components/tooltip/src/trigger2.mjs +15 -104
- package/es/components/tooltip/src/trigger2.mjs.map +1 -1
- package/es/components/tree-select/src/tree-select.mjs +1 -1
- package/es/index.mjs +17 -17
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/index.js +2 -2
- package/lib/components/affix/src/affix.js +30 -153
- package/lib/components/affix/src/affix.js.map +1 -1
- package/lib/components/affix/src/affix2.js +153 -30
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/collapse/index.js +2 -2
- package/lib/components/collapse/src/collapse-item.js +118 -17
- package/lib/components/collapse/src/collapse-item.js.map +1 -1
- package/lib/components/collapse/src/collapse-item2.js +17 -118
- package/lib/components/collapse/src/collapse-item2.js.map +1 -1
- package/lib/components/color-picker/src/color-picker2.js +1 -1
- package/lib/components/color-picker-panel/index.js +2 -2
- package/lib/components/color-picker-panel/src/color-picker-panel.js +29 -157
- package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel2.js +157 -29
- package/lib/components/color-picker-panel/src/color-picker-panel2.js.map +1 -1
- package/lib/components/color-picker-panel/src/composables/use-predefine.js +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.js +7 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -0
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +2 -1
- package/lib/components/date-picker-panel/src/date-picker-panel.js +2 -1
- package/lib/components/date-picker-panel/src/date-picker-panel.js.map +1 -1
- package/lib/components/date-picker-panel/src/panel-utils.d.ts +6 -0
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/icon/index.js +2 -2
- package/lib/components/icon/src/icon.js +39 -7
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/icon/src/icon2.js +7 -39
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/index.js +17 -17
- package/lib/components/message/index.js +1 -1
- package/lib/components/message/src/message.js +189 -111
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message2.js +111 -189
- 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 +173 -73
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification2.js +73 -173
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popover/src/popover.js +1 -1
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/arrow.js +38 -8
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +8 -38
- package/lib/components/popper/src/arrow2.js.map +1 -1
- package/lib/components/popper/src/content.js +1 -1
- package/lib/components/result/index.js +2 -2
- package/lib/components/result/src/result.js +96 -31
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/result/src/result2.js +31 -96
- package/lib/components/result/src/result2.js.map +1 -1
- package/lib/components/scrollbar/index.js +1 -1
- package/lib/components/scrollbar/src/bar2.js +1 -1
- package/lib/components/scrollbar/src/thumb.js +11 -163
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +163 -11
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/segmented/index.js +2 -2
- package/lib/components/segmented/src/segmented.js +208 -45
- package/lib/components/segmented/src/segmented.js.map +1 -1
- package/lib/components/segmented/src/segmented2.js +45 -208
- package/lib/components/segmented/src/segmented2.js.map +1 -1
- package/lib/components/select/index.js +2 -2
- package/lib/components/select/src/select.js +726 -152
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select2.js +152 -726
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/skeleton/index.js +4 -4
- package/lib/components/skeleton/src/skeleton-item.js +27 -17
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item2.js +17 -27
- package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.js +67 -17
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +17 -67
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/slider/src/button.js +104 -19
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button2.js +19 -104
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/slider2.js +1 -1
- package/lib/components/switch/index.js +2 -2
- package/lib/components/switch/src/switch.js +310 -74
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch2.js +74 -310
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +5 -4
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +1 -0
- package/lib/components/time-select/style/css.d.ts +0 -1
- package/lib/components/time-select/style/css.js +0 -1
- package/lib/components/time-select/style/css.js.map +1 -1
- package/lib/components/time-select/style/index.d.ts +0 -1
- package/lib/components/time-select/style/index.js +0 -1
- package/lib/components/time-select/style/index.js.map +1 -1
- package/lib/components/tooltip/index.js +3 -3
- package/lib/components/tooltip/src/tooltip.js +181 -32
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip2.js +32 -181
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip/src/trigger.js +104 -15
- package/lib/components/tooltip/src/trigger.js.map +1 -1
- package/lib/components/tooltip/src/trigger2.js +15 -104
- package/lib/components/tooltip/src/trigger2.js.map +1 -1
- package/lib/components/tree-select/src/tree-select.js +1 -1
- package/lib/index.js +17 -17
- 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/dark/css-vars.css +1 -1
- package/theme-chalk/el-breadcrumb-item.css +1 -0
- package/theme-chalk/el-breadcrumb.css +1 -1
- package/theme-chalk/el-collapse-item.css +1 -0
- package/theme-chalk/el-collapse-transition.css +1 -0
- package/theme-chalk/el-collapse.css +1 -1
- package/theme-chalk/el-color-picker-panel.css +1 -1
- package/theme-chalk/el-date-picker-panel.css +1 -1
- package/theme-chalk/el-popper.css +1 -1
- package/theme-chalk/el-table-v2.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/breadcrumb-item.scss +58 -0
- package/theme-chalk/src/breadcrumb.scss +0 -53
- package/theme-chalk/src/collapse-item.scss +67 -0
- package/theme-chalk/src/collapse-transition.scss +1 -0
- package/theme-chalk/src/collapse.scss +0 -65
- package/theme-chalk/src/color-picker-panel.scss +10 -1
- package/theme-chalk/src/common/var.scss +15 -2
- package/theme-chalk/src/dark/css-vars.scss +6 -0
- package/theme-chalk/src/date-picker/date-picker.scss +4 -0
- package/theme-chalk/src/date-picker/picker-panel.scss +3 -3
- package/theme-chalk/src/popper.scss +14 -4
- package/web-types.json +1 -1
|
@@ -2,84 +2,320 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var index$1 = require('../../icon/index.js');
|
|
7
|
+
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
+
var _switch = require('./switch2.js');
|
|
9
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
10
|
+
var useFormItem = require('../../form/src/hooks/use-form-item.js');
|
|
11
|
+
var useFormCommonProps = require('../../form/src/hooks/use-form-common-props.js');
|
|
12
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
13
|
+
var style = require('../../../utils/dom/style.js');
|
|
9
14
|
var event = require('../../../constants/event.js');
|
|
10
|
-
var
|
|
15
|
+
var error = require('../../../utils/error.js');
|
|
11
16
|
var shared = require('@vue/shared');
|
|
17
|
+
var types = require('../../../utils/types.js');
|
|
12
18
|
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
loading: Boolean,
|
|
23
|
-
size: {
|
|
24
|
-
type: String,
|
|
25
|
-
validator: validator.isValidComponentSize
|
|
26
|
-
},
|
|
27
|
-
width: {
|
|
28
|
-
type: [String, Number],
|
|
29
|
-
default: ""
|
|
30
|
-
},
|
|
31
|
-
inlinePrompt: Boolean,
|
|
32
|
-
inactiveActionIcon: {
|
|
33
|
-
type: icon.iconPropType
|
|
34
|
-
},
|
|
35
|
-
activeActionIcon: {
|
|
36
|
-
type: icon.iconPropType
|
|
37
|
-
},
|
|
38
|
-
activeIcon: {
|
|
39
|
-
type: icon.iconPropType
|
|
40
|
-
},
|
|
41
|
-
inactiveIcon: {
|
|
42
|
-
type: icon.iconPropType
|
|
43
|
-
},
|
|
44
|
-
activeText: {
|
|
45
|
-
type: String,
|
|
46
|
-
default: ""
|
|
47
|
-
},
|
|
48
|
-
inactiveText: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: ""
|
|
51
|
-
},
|
|
52
|
-
activeValue: {
|
|
53
|
-
type: [Boolean, String, Number],
|
|
54
|
-
default: true
|
|
55
|
-
},
|
|
56
|
-
inactiveValue: {
|
|
57
|
-
type: [Boolean, String, Number],
|
|
58
|
-
default: false
|
|
59
|
-
},
|
|
60
|
-
name: {
|
|
61
|
-
type: String,
|
|
62
|
-
default: ""
|
|
63
|
-
},
|
|
64
|
-
validateEvent: {
|
|
65
|
-
type: Boolean,
|
|
66
|
-
default: true
|
|
67
|
-
},
|
|
68
|
-
beforeChange: {
|
|
69
|
-
type: runtime.definePropType(Function)
|
|
70
|
-
},
|
|
71
|
-
id: String,
|
|
72
|
-
tabindex: {
|
|
73
|
-
type: [String, Number]
|
|
19
|
+
const _hoisted_1 = ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex"];
|
|
20
|
+
const _hoisted_2 = ["aria-hidden"];
|
|
21
|
+
const _hoisted_3 = { key: 1 };
|
|
22
|
+
const _hoisted_4 = { key: 1 };
|
|
23
|
+
const _hoisted_5 = ["aria-hidden"];
|
|
24
|
+
const COMPONENT_NAME = "ElSwitch";
|
|
25
|
+
const _sfc_main = vue.defineComponent({
|
|
26
|
+
...{
|
|
27
|
+
name: COMPONENT_NAME
|
|
74
28
|
},
|
|
75
|
-
|
|
29
|
+
__name: "switch",
|
|
30
|
+
props: _switch.switchProps,
|
|
31
|
+
emits: _switch.switchEmits,
|
|
32
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
33
|
+
const props = __props;
|
|
34
|
+
const emit = __emit;
|
|
35
|
+
const { formItem } = useFormItem.useFormItem();
|
|
36
|
+
const switchSize = useFormCommonProps.useFormSize();
|
|
37
|
+
const ns = index.useNamespace("switch");
|
|
38
|
+
const { inputId } = useFormItem.useFormItemInputId(props, {
|
|
39
|
+
formItemContext: formItem
|
|
40
|
+
});
|
|
41
|
+
const switchDisabled = useFormCommonProps.useFormDisabled(
|
|
42
|
+
vue.computed(() => {
|
|
43
|
+
if (props.loading) {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
return void 0;
|
|
47
|
+
})
|
|
48
|
+
);
|
|
49
|
+
const isControlled = vue.ref(props.modelValue !== false);
|
|
50
|
+
const input = vue.shallowRef();
|
|
51
|
+
const switchKls = vue.computed(() => [
|
|
52
|
+
ns.b(),
|
|
53
|
+
ns.m(switchSize.value),
|
|
54
|
+
ns.is("disabled", switchDisabled.value),
|
|
55
|
+
ns.is("checked", checked.value)
|
|
56
|
+
]);
|
|
57
|
+
const labelLeftKls = vue.computed(() => [
|
|
58
|
+
ns.e("label"),
|
|
59
|
+
ns.em("label", "left"),
|
|
60
|
+
ns.is("active", !checked.value)
|
|
61
|
+
]);
|
|
62
|
+
const labelRightKls = vue.computed(() => [
|
|
63
|
+
ns.e("label"),
|
|
64
|
+
ns.em("label", "right"),
|
|
65
|
+
ns.is("active", checked.value)
|
|
66
|
+
]);
|
|
67
|
+
const coreStyle = vue.computed(() => ({
|
|
68
|
+
width: style.addUnit(props.width)
|
|
69
|
+
}));
|
|
70
|
+
vue.watch(
|
|
71
|
+
() => props.modelValue,
|
|
72
|
+
() => {
|
|
73
|
+
isControlled.value = true;
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
const actualValue = vue.computed(() => {
|
|
77
|
+
return isControlled.value ? props.modelValue : false;
|
|
78
|
+
});
|
|
79
|
+
const checked = vue.computed(() => actualValue.value === props.activeValue);
|
|
80
|
+
if (![props.activeValue, props.inactiveValue].includes(actualValue.value)) {
|
|
81
|
+
emit(event.UPDATE_MODEL_EVENT, props.inactiveValue);
|
|
82
|
+
emit(event.CHANGE_EVENT, props.inactiveValue);
|
|
83
|
+
emit(event.INPUT_EVENT, props.inactiveValue);
|
|
84
|
+
}
|
|
85
|
+
vue.watch(checked, (val) => {
|
|
86
|
+
var _a;
|
|
87
|
+
input.value.checked = val;
|
|
88
|
+
if (props.validateEvent) {
|
|
89
|
+
(_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => error.debugWarn(err));
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
const handleChange = () => {
|
|
93
|
+
const val = checked.value ? props.inactiveValue : props.activeValue;
|
|
94
|
+
emit(event.UPDATE_MODEL_EVENT, val);
|
|
95
|
+
emit(event.CHANGE_EVENT, val);
|
|
96
|
+
emit(event.INPUT_EVENT, val);
|
|
97
|
+
vue.nextTick(() => {
|
|
98
|
+
input.value.checked = checked.value;
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
const switchValue = () => {
|
|
102
|
+
if (switchDisabled.value)
|
|
103
|
+
return;
|
|
104
|
+
const { beforeChange } = props;
|
|
105
|
+
if (!beforeChange) {
|
|
106
|
+
handleChange();
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
const shouldChange = beforeChange();
|
|
110
|
+
const isPromiseOrBool = [
|
|
111
|
+
shared.isPromise(shouldChange),
|
|
112
|
+
types.isBoolean(shouldChange)
|
|
113
|
+
].includes(true);
|
|
114
|
+
if (!isPromiseOrBool) {
|
|
115
|
+
error.throwError(
|
|
116
|
+
COMPONENT_NAME,
|
|
117
|
+
"beforeChange must return type `Promise<boolean>` or `boolean`"
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
if (shared.isPromise(shouldChange)) {
|
|
121
|
+
shouldChange.then((result) => {
|
|
122
|
+
if (result) {
|
|
123
|
+
handleChange();
|
|
124
|
+
}
|
|
125
|
+
}).catch((e) => {
|
|
126
|
+
error.debugWarn(COMPONENT_NAME, `some error occurred: ${e}`);
|
|
127
|
+
});
|
|
128
|
+
} else if (shouldChange) {
|
|
129
|
+
handleChange();
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
const focus = () => {
|
|
133
|
+
var _a, _b;
|
|
134
|
+
(_b = (_a = input.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
|
|
135
|
+
};
|
|
136
|
+
vue.onMounted(() => {
|
|
137
|
+
input.value.checked = checked.value;
|
|
138
|
+
});
|
|
139
|
+
__expose({
|
|
140
|
+
focus,
|
|
141
|
+
checked
|
|
142
|
+
});
|
|
143
|
+
return (_ctx, _cache) => {
|
|
144
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
145
|
+
"div",
|
|
146
|
+
{
|
|
147
|
+
class: vue.normalizeClass(switchKls.value),
|
|
148
|
+
onClick: vue.withModifiers(switchValue, ["prevent"])
|
|
149
|
+
},
|
|
150
|
+
[
|
|
151
|
+
vue.createElementVNode("input", {
|
|
152
|
+
id: vue.unref(inputId),
|
|
153
|
+
ref_key: "input",
|
|
154
|
+
ref: input,
|
|
155
|
+
class: vue.normalizeClass(vue.unref(ns).e("input")),
|
|
156
|
+
type: "checkbox",
|
|
157
|
+
role: "switch",
|
|
158
|
+
"aria-checked": checked.value,
|
|
159
|
+
"aria-disabled": vue.unref(switchDisabled),
|
|
160
|
+
"aria-label": _ctx.ariaLabel,
|
|
161
|
+
name: _ctx.name,
|
|
162
|
+
"true-value": _ctx.activeValue,
|
|
163
|
+
"false-value": _ctx.inactiveValue,
|
|
164
|
+
disabled: vue.unref(switchDisabled),
|
|
165
|
+
tabindex: _ctx.tabindex,
|
|
166
|
+
onChange: handleChange,
|
|
167
|
+
onKeydown: vue.withKeys(switchValue, ["enter"])
|
|
168
|
+
}, null, 42, _hoisted_1),
|
|
169
|
+
!_ctx.inlinePrompt && (_ctx.inactiveIcon || _ctx.inactiveText || _ctx.$slots.inactive) ? (vue.openBlock(), vue.createElementBlock(
|
|
170
|
+
"span",
|
|
171
|
+
{
|
|
172
|
+
key: 0,
|
|
173
|
+
class: vue.normalizeClass(labelLeftKls.value)
|
|
174
|
+
},
|
|
175
|
+
[
|
|
176
|
+
vue.renderSlot(_ctx.$slots, "inactive", {}, () => [
|
|
177
|
+
_ctx.inactiveIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 0 }, {
|
|
178
|
+
default: vue.withCtx(() => [
|
|
179
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.inactiveIcon)))
|
|
180
|
+
]),
|
|
181
|
+
_: 1
|
|
182
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
183
|
+
!_ctx.inactiveIcon && _ctx.inactiveText ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
184
|
+
key: 1,
|
|
185
|
+
"aria-hidden": checked.value
|
|
186
|
+
}, vue.toDisplayString(_ctx.inactiveText), 9, _hoisted_2)) : vue.createCommentVNode("v-if", true)
|
|
187
|
+
])
|
|
188
|
+
],
|
|
189
|
+
2
|
|
190
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
191
|
+
vue.createElementVNode(
|
|
192
|
+
"span",
|
|
193
|
+
{
|
|
194
|
+
class: vue.normalizeClass(vue.unref(ns).e("core")),
|
|
195
|
+
style: vue.normalizeStyle(coreStyle.value)
|
|
196
|
+
},
|
|
197
|
+
[
|
|
198
|
+
_ctx.inlinePrompt ? (vue.openBlock(), vue.createElementBlock(
|
|
199
|
+
"div",
|
|
200
|
+
{
|
|
201
|
+
key: 0,
|
|
202
|
+
class: vue.normalizeClass(vue.unref(ns).e("inner"))
|
|
203
|
+
},
|
|
204
|
+
[
|
|
205
|
+
!checked.value ? (vue.openBlock(), vue.createElementBlock(
|
|
206
|
+
"div",
|
|
207
|
+
{
|
|
208
|
+
key: 0,
|
|
209
|
+
class: vue.normalizeClass(vue.unref(ns).e("inner-wrapper"))
|
|
210
|
+
},
|
|
211
|
+
[
|
|
212
|
+
vue.renderSlot(_ctx.$slots, "inactive", {}, () => [
|
|
213
|
+
_ctx.inactiveIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 0 }, {
|
|
214
|
+
default: vue.withCtx(() => [
|
|
215
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.inactiveIcon)))
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
219
|
+
!_ctx.inactiveIcon && _ctx.inactiveText ? (vue.openBlock(), vue.createElementBlock(
|
|
220
|
+
"span",
|
|
221
|
+
_hoisted_3,
|
|
222
|
+
vue.toDisplayString(_ctx.inactiveText),
|
|
223
|
+
1
|
|
224
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
225
|
+
])
|
|
226
|
+
],
|
|
227
|
+
2
|
|
228
|
+
)) : (vue.openBlock(), vue.createElementBlock(
|
|
229
|
+
"div",
|
|
230
|
+
{
|
|
231
|
+
key: 1,
|
|
232
|
+
class: vue.normalizeClass(vue.unref(ns).e("inner-wrapper"))
|
|
233
|
+
},
|
|
234
|
+
[
|
|
235
|
+
vue.renderSlot(_ctx.$slots, "active", {}, () => [
|
|
236
|
+
_ctx.activeIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 0 }, {
|
|
237
|
+
default: vue.withCtx(() => [
|
|
238
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.activeIcon)))
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
242
|
+
!_ctx.activeIcon && _ctx.activeText ? (vue.openBlock(), vue.createElementBlock(
|
|
243
|
+
"span",
|
|
244
|
+
_hoisted_4,
|
|
245
|
+
vue.toDisplayString(_ctx.activeText),
|
|
246
|
+
1
|
|
247
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
248
|
+
])
|
|
249
|
+
],
|
|
250
|
+
2
|
|
251
|
+
))
|
|
252
|
+
],
|
|
253
|
+
2
|
|
254
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
255
|
+
vue.createElementVNode(
|
|
256
|
+
"div",
|
|
257
|
+
{
|
|
258
|
+
class: vue.normalizeClass(vue.unref(ns).e("action"))
|
|
259
|
+
},
|
|
260
|
+
[
|
|
261
|
+
_ctx.loading ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), {
|
|
262
|
+
key: 0,
|
|
263
|
+
class: vue.normalizeClass(vue.unref(ns).is("loading"))
|
|
264
|
+
}, {
|
|
265
|
+
default: vue.withCtx(() => [
|
|
266
|
+
vue.createVNode(vue.unref(iconsVue.Loading))
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}, 8, ["class"])) : checked.value ? vue.renderSlot(_ctx.$slots, "active-action", { key: 1 }, () => [
|
|
270
|
+
_ctx.activeActionIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 0 }, {
|
|
271
|
+
default: vue.withCtx(() => [
|
|
272
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.activeActionIcon)))
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
})) : vue.createCommentVNode("v-if", true)
|
|
276
|
+
]) : !checked.value ? vue.renderSlot(_ctx.$slots, "inactive-action", { key: 2 }, () => [
|
|
277
|
+
_ctx.inactiveActionIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 0 }, {
|
|
278
|
+
default: vue.withCtx(() => [
|
|
279
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.inactiveActionIcon)))
|
|
280
|
+
]),
|
|
281
|
+
_: 1
|
|
282
|
+
})) : vue.createCommentVNode("v-if", true)
|
|
283
|
+
]) : vue.createCommentVNode("v-if", true)
|
|
284
|
+
],
|
|
285
|
+
2
|
|
286
|
+
)
|
|
287
|
+
],
|
|
288
|
+
6
|
|
289
|
+
),
|
|
290
|
+
!_ctx.inlinePrompt && (_ctx.activeIcon || _ctx.activeText || _ctx.$slots.active) ? (vue.openBlock(), vue.createElementBlock(
|
|
291
|
+
"span",
|
|
292
|
+
{
|
|
293
|
+
key: 1,
|
|
294
|
+
class: vue.normalizeClass(labelRightKls.value)
|
|
295
|
+
},
|
|
296
|
+
[
|
|
297
|
+
vue.renderSlot(_ctx.$slots, "active", {}, () => [
|
|
298
|
+
_ctx.activeIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 0 }, {
|
|
299
|
+
default: vue.withCtx(() => [
|
|
300
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.activeIcon)))
|
|
301
|
+
]),
|
|
302
|
+
_: 1
|
|
303
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
304
|
+
!_ctx.activeIcon && _ctx.activeText ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
305
|
+
key: 1,
|
|
306
|
+
"aria-hidden": !checked.value
|
|
307
|
+
}, vue.toDisplayString(_ctx.activeText), 9, _hoisted_5)) : vue.createCommentVNode("v-if", true)
|
|
308
|
+
])
|
|
309
|
+
],
|
|
310
|
+
2
|
|
311
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
312
|
+
],
|
|
313
|
+
2
|
|
314
|
+
);
|
|
315
|
+
};
|
|
316
|
+
}
|
|
76
317
|
});
|
|
77
|
-
|
|
78
|
-
[event.UPDATE_MODEL_EVENT]: (val) => types.isBoolean(val) || shared.isString(val) || types.isNumber(val),
|
|
79
|
-
[event.CHANGE_EVENT]: (val) => types.isBoolean(val) || shared.isString(val) || types.isNumber(val),
|
|
80
|
-
[event.INPUT_EVENT]: (val) => types.isBoolean(val) || shared.isString(val) || types.isNumber(val)
|
|
81
|
-
};
|
|
318
|
+
var Switch = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);
|
|
82
319
|
|
|
83
|
-
exports
|
|
84
|
-
exports.switchProps = switchProps;
|
|
320
|
+
exports["default"] = Switch;
|
|
85
321
|
//# sourceMappingURL=switch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.js","sources":["../../../../../../packages/components/switch/src/switch.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n isNumber,\n isString,\n isValidComponentSize,\n} from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { useAriaProps } from '@element-plus/hooks'\n\nimport type { ComponentSize } from '@element-plus/constants'\nimport type Switch from './switch.vue'\nimport type { ExtractPropTypes, ExtractPublicPropTypes, PropType } from 'vue'\n\nexport const switchProps = buildProps({\n /**\n * @description binding value, it should be equivalent to either `active-value` or `inactive-value`, by default it's `boolean` type\n */\n modelValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n /**\n * @description whether Switch is disabled\n */\n disabled: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description whether Switch is in loading state\n */\n loading: Boolean,\n /**\n * @description size of Switch\n */\n size: {\n type: String as PropType<ComponentSize>,\n validator: isValidComponentSize,\n },\n /**\n * @description width of Switch\n */\n width: {\n type: [String, Number],\n default: '',\n },\n /**\n * @description whether icon or text is displayed inside dot, only the first character will be rendered for text\n */\n inlinePrompt: Boolean,\n /**\n * @description component of the icon displayed in action when in `off` state\n */\n inactiveActionIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed in action when in `on` state\n */\n activeActionIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed when in `on` state, overrides `active-text`\n */\n activeIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed when in `off` state, overrides `inactive-text`\n */\n inactiveIcon: {\n type: iconPropType,\n },\n /**\n * @description text displayed when in `on` state\n */\n activeText: {\n type: String,\n default: '',\n },\n /**\n * @description text displayed when in `off` state\n */\n inactiveText: {\n type: String,\n default: '',\n },\n /**\n * @description switch value when in `on` state\n */\n activeValue: {\n type: [Boolean, String, Number],\n default: true,\n },\n /**\n * @description switch value when in `off` state\n */\n inactiveValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n /**\n * @description input name of Switch\n */\n name: {\n type: String,\n default: '',\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description before-change hook before the switch state changes. If `false` is returned or a `Promise` is returned and then is rejected, will stop switching\n */\n beforeChange: {\n type: definePropType<() => Promise<boolean> | boolean>(Function),\n },\n /**\n * @description id for input\n */\n id: String,\n /**\n * @description tabindex for input\n */\n tabindex: {\n type: [String, Number],\n },\n ...useAriaProps(['ariaLabel']),\n} as const)\n\nexport type SwitchProps = ExtractPropTypes<typeof switchProps>\nexport type SwitchPropsPublic = ExtractPublicPropTypes<typeof switchProps>\n\nexport const switchEmits = {\n [UPDATE_MODEL_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n [CHANGE_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n [INPUT_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n}\nexport type SwitchEmits = typeof switchEmits\n\nexport type SwitchInstance = InstanceType<typeof Switch> & unknown\n"],"names":["buildProps","isValidComponentSize","iconPropType","definePropType","useAriaProps","UPDATE_MODEL_EVENT","isBoolean","isString","isNumber","CHANGE_EVENT","INPUT_EVENT"],"mappings":";;;;;;;;;;;;AAoBO,MAAM,cAAcA,kBAAW,CAAA;AAAA,EAIpC,UAAY,EAAA;AAAA,IACV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IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EAIA,aAAe,EAAA;AAAA,IACb,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA,EAIA,YAAc,EAAA;AAAA,IACZ,IAAA,EAAMC,uBAAiD,QAAQ,CAAA;AAAA,GACjE;AAAA,EAIA,EAAI,EAAA,MAAA;AAAA,EAIJ,QAAU,EAAA;AAAA,IACR,IAAA,EAAM,CAAC,MAAA,EAAQ,MAAM,CAAA;AAAA,GACvB;AAAA,EACA,GAAGC,kBAAA,CAAa,CAAC,WAAW,CAAC,CAAA;AAC/B,CAAU,EAAA;AAKH,MAAM,WAAc,GAAA;AAAA,EACzB,CAACC,wBAAqB,GAAA,CAAC,GACrB,KAAAC,eAAA,CAAU,GAAG,CAAA,IAAKC,eAAS,CAAA,GAAG,CAAK,IAAAC,cAAA,CAAS,GAAG,CAAA;AAAA,EACjD,CAACC,kBAAe,GAAA,CAAC,GACf,KAAAH,eAAA,CAAU,GAAG,CAAA,IAAKC,eAAS,CAAA,GAAG,CAAK,IAAAC,cAAA,CAAS,GAAG,CAAA;AAAA,EACjD,CAACE,iBAAc,GAAA,CAAC,GACd,KAAAJ,eAAA,CAAU,GAAG,CAAA,IAAKC,eAAS,CAAA,GAAG,CAAK,IAAAC,cAAA,CAAS,GAAG,CAAA;AACnD;;;;;"}
|
|
1
|
+
{"version":3,"file":"switch.js","sources":["../../../../../../packages/components/switch/src/switch.vue"],"sourcesContent":["<template>\n <div :class=\"switchKls\" @click.prevent=\"switchValue\">\n <input\n :id=\"inputId\"\n ref=\"input\"\n :class=\"ns.e('input')\"\n type=\"checkbox\"\n role=\"switch\"\n :aria-checked=\"checked\"\n :aria-disabled=\"switchDisabled\"\n :aria-label=\"ariaLabel\"\n :name=\"name\"\n :true-value=\"activeValue\"\n :false-value=\"inactiveValue\"\n :disabled=\"switchDisabled\"\n :tabindex=\"tabindex\"\n @change=\"handleChange\"\n @keydown.enter=\"switchValue\"\n />\n <span\n v-if=\"!inlinePrompt && (inactiveIcon || inactiveText || $slots.inactive)\"\n :class=\"labelLeftKls\"\n >\n <slot name=\"inactive\">\n <el-icon v-if=\"inactiveIcon\">\n <component :is=\"inactiveIcon\" />\n </el-icon>\n <span v-if=\"!inactiveIcon && inactiveText\" :aria-hidden=\"checked\">{{\n inactiveText\n }}</span>\n </slot>\n </span>\n <span :class=\"ns.e('core')\" :style=\"coreStyle\">\n <div v-if=\"inlinePrompt\" :class=\"ns.e('inner')\">\n <div v-if=\"!checked\" :class=\"ns.e('inner-wrapper')\">\n <slot name=\"inactive\">\n <el-icon v-if=\"inactiveIcon\">\n <component :is=\"inactiveIcon\" />\n </el-icon>\n <span v-if=\"!inactiveIcon && inactiveText\">{{ inactiveText }}</span>\n </slot>\n </div>\n <div v-else :class=\"ns.e('inner-wrapper')\">\n <slot name=\"active\">\n <el-icon v-if=\"activeIcon\">\n <component :is=\"activeIcon\" />\n </el-icon>\n <span v-if=\"!activeIcon && activeText\">{{ activeText }}</span>\n </slot>\n </div>\n </div>\n <div :class=\"ns.e('action')\">\n <el-icon v-if=\"loading\" :class=\"ns.is('loading')\">\n <loading />\n </el-icon>\n <slot v-else-if=\"checked\" name=\"active-action\">\n <el-icon v-if=\"activeActionIcon\">\n <component :is=\"activeActionIcon\" />\n </el-icon>\n </slot>\n <slot v-else-if=\"!checked\" name=\"inactive-action\">\n <el-icon v-if=\"inactiveActionIcon\">\n <component :is=\"inactiveActionIcon\" />\n </el-icon>\n </slot>\n </div>\n </span>\n <span\n v-if=\"!inlinePrompt && (activeIcon || activeText || $slots.active)\"\n :class=\"labelRightKls\"\n >\n <slot name=\"active\">\n <el-icon v-if=\"activeIcon\">\n <component :is=\"activeIcon\" />\n </el-icon>\n <span v-if=\"!activeIcon && activeText\" :aria-hidden=\"!checked\">{{\n activeText\n }}</span>\n </slot>\n </span>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, nextTick, onMounted, ref, shallowRef, watch } from 'vue'\nimport {\n addUnit,\n debugWarn,\n isBoolean,\n isPromise,\n throwError,\n} from '@element-plus/utils'\nimport ElIcon from '@element-plus/components/icon'\nimport {\n useFormDisabled,\n useFormItem,\n useFormItemInputId,\n useFormSize,\n} from '@element-plus/components/form'\nimport { Loading } from '@element-plus/icons-vue'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { useNamespace } from '@element-plus/hooks'\nimport { switchEmits, switchProps } from './switch'\n\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElSwitch'\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(switchProps)\nconst emit = defineEmits(switchEmits)\n\nconst { formItem } = useFormItem()\nconst switchSize = useFormSize()\nconst ns = useNamespace('switch')\n\nconst { inputId } = useFormItemInputId(props, {\n formItemContext: formItem,\n})\n\nconst switchDisabled = useFormDisabled(\n computed(() => {\n if (props.loading) {\n return true\n }\n return undefined\n })\n)\nconst isControlled = ref(props.modelValue !== false)\nconst input = shallowRef<HTMLInputElement>()\n\nconst switchKls = computed(() => [\n ns.b(),\n ns.m(switchSize.value),\n ns.is('disabled', switchDisabled.value),\n ns.is('checked', checked.value),\n])\n\nconst labelLeftKls = computed(() => [\n ns.e('label'),\n ns.em('label', 'left'),\n ns.is('active', !checked.value),\n])\n\nconst labelRightKls = computed(() => [\n ns.e('label'),\n ns.em('label', 'right'),\n ns.is('active', checked.value),\n])\n\nconst coreStyle = computed<CSSProperties>(() => ({\n width: addUnit(props.width),\n}))\n\nwatch(\n () => props.modelValue,\n () => {\n isControlled.value = true\n }\n)\n\nconst actualValue = computed(() => {\n return isControlled.value ? props.modelValue : false\n})\n\nconst checked = computed(() => actualValue.value === props.activeValue)\n\nif (![props.activeValue, props.inactiveValue].includes(actualValue.value)) {\n emit(UPDATE_MODEL_EVENT, props.inactiveValue)\n emit(CHANGE_EVENT, props.inactiveValue)\n emit(INPUT_EVENT, props.inactiveValue)\n}\n\nwatch(checked, (val) => {\n input.value!.checked = val\n\n if (props.validateEvent) {\n formItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n})\n\nconst handleChange = () => {\n const val = checked.value ? props.inactiveValue : props.activeValue\n emit(UPDATE_MODEL_EVENT, val)\n emit(CHANGE_EVENT, val)\n emit(INPUT_EVENT, val)\n nextTick(() => {\n input.value!.checked = checked.value\n })\n}\n\nconst switchValue = () => {\n if (switchDisabled.value) return\n\n const { beforeChange } = props\n if (!beforeChange) {\n handleChange()\n return\n }\n\n const shouldChange = beforeChange()\n\n const isPromiseOrBool = [\n isPromise(shouldChange),\n isBoolean(shouldChange),\n ].includes(true)\n if (!isPromiseOrBool) {\n throwError(\n COMPONENT_NAME,\n 'beforeChange must return type `Promise<boolean>` or `boolean`'\n )\n }\n\n if (isPromise(shouldChange)) {\n shouldChange\n .then((result) => {\n if (result) {\n handleChange()\n }\n })\n .catch((e) => {\n debugWarn(COMPONENT_NAME, `some error occurred: ${e}`)\n })\n } else if (shouldChange) {\n handleChange()\n }\n}\n\nconst focus = (): void => {\n input.value?.focus?.()\n}\n\nonMounted(() => {\n input.value!.checked = checked.value\n})\n\ndefineExpose({\n /**\n * @description manual focus to the switch component\n **/\n focus,\n /**\n * @description whether Switch is checked\n */\n checked,\n})\n</script>\n"],"names":["useFormItem","useFormSize","useNamespace","useFormItemInputId","useFormDisabled","computed","ref","shallowRef","addUnit","watch","UPDATE_MODEL_EVENT","CHANGE_EVENT","INPUT_EVENT","debugWarn","nextTick","isPromise","isBoolean","throwError","onMounted","_openBlock","_createElementBlock","_normalizeClass","_withModifiers","_createElementVNode","_unref","ariaLabel","name","activeValue","inactiveValue","tabindex","_withKeys","inlinePrompt","inactiveIcon","inactiveText","$slots","_renderSlot","_createBlock","ElIcon","_withCtx","_resolveDynamicComponent","_toDisplayString","_createCommentVNode","_normalizeStyle","activeIcon","activeText","loading","_createVNode","Loading","activeActionIcon","in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