@element-plus/nightly 0.0.20260119 → 0.0.20260120
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/dist/index.css +1 -1
- package/dist/index.full.js +1079 -551
- package/dist/index.full.min.js +22 -22
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +22 -22
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +1074 -552
- 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/autocomplete/src/autocomplete.vue.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete.vue2.mjs +1 -1
- package/es/components/cascader/src/cascader.d.ts +127 -3
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +79 -395
- package/es/components/cascader/src/cascader.vue2.mjs +71 -30
- package/es/components/cascader/src/cascader.vue2.mjs.map +1 -1
- package/es/components/cascader-panel/src/config.d.ts +21 -0
- package/es/components/cascader-panel/src/config.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.vue.d.ts +30 -37
- package/es/components/cascader-panel/src/index.vue2.mjs +9 -3
- package/es/components/cascader-panel/src/index.vue2.mjs.map +1 -1
- package/es/components/checkbox/index.mjs +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +46 -122
- package/es/components/checkbox/src/checkbox-button.vue2.mjs +26 -7
- package/es/components/checkbox/src/checkbox-button.vue2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group.d.ts +61 -4
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +41 -91
- package/es/components/checkbox/src/checkbox-group.vue2.mjs +19 -5
- package/es/components/checkbox/src/checkbox-group.vue2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.d.ts +90 -2
- package/es/components/checkbox/src/checkbox.mjs +15 -2
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +46 -122
- package/es/components/checkbox/src/checkbox.vue2.mjs +29 -10
- package/es/components/checkbox/src/checkbox.vue2.mjs.map +1 -1
- package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +1 -1
- package/es/components/checkbox/src/composables/use-checkbox.d.ts +1 -1
- package/es/components/color-picker/index.mjs +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +86 -2
- package/es/components/color-picker/src/color-picker.mjs +12 -1
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +48 -291
- package/es/components/color-picker/src/color-picker.vue2.mjs +33 -14
- package/es/components/color-picker/src/color-picker.vue2.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.d.ts +66 -1
- package/es/components/dialog/src/dialog-content.mjs +9 -1
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +39 -46
- package/es/components/dialog/src/dialog-content.vue2.mjs +23 -10
- package/es/components/dialog/src/dialog-content.vue2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.d.ts +89 -2
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +66 -138
- package/es/components/dialog/src/dialog.vue2.mjs +62 -18
- package/es/components/dialog/src/dialog.vue2.mjs.map +1 -1
- package/es/components/dialog/src/use-dialog.d.ts +3 -3
- package/es/components/drawer/src/drawer.vue.d.ts +4 -4
- package/es/components/form/src/form-item.d.ts +58 -2
- package/es/components/form/src/form-item.mjs.map +1 -1
- package/es/components/form/src/form-item.vue.d.ts +33 -84
- package/es/components/form/src/form-item.vue2.mjs +15 -3
- package/es/components/form/src/form-item.vue2.mjs.map +1 -1
- package/es/components/form/src/form.d.ts +83 -3
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form.vue.d.ts +42 -69
- package/es/components/form/src/form.vue2.mjs +19 -2
- package/es/components/form/src/form.vue2.mjs.map +1 -1
- package/es/components/index.mjs +5 -5
- package/es/components/notification/src/notification.d.ts +73 -4
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +54 -115
- package/es/components/notification/src/notification.vue2.mjs +32 -15
- package/es/components/notification/src/notification.vue2.mjs.map +1 -1
- package/es/components/notification/src/notify.d.ts +3 -3
- package/es/components/notification/src/notify.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.d.ts +72 -3
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +45 -67
- package/es/components/popconfirm/src/popconfirm.vue2.mjs +33 -16
- package/es/components/popconfirm/src/popconfirm.vue2.mjs.map +1 -1
- package/es/components/popover/index.mjs +1 -1
- package/es/components/popover/src/popover.d.ts +134 -5
- package/es/components/popover/src/popover.mjs +26 -1
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popover/src/popover.vue.d.ts +75 -326
- package/es/components/popover/src/popover.vue2.mjs +51 -26
- package/es/components/popover/src/popover.vue2.mjs.map +1 -1
- package/es/components/table/src/table-column/index.d.ts +1 -1
- package/es/components/tabs/src/tab-bar.d.ts +34 -23
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar.vue.d.ts +28 -180
- package/es/components/tabs/src/tab-bar.vue2.mjs +4 -2
- package/es/components/tabs/src/tab-bar.vue2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.d.ts +75 -75
- package/es/components/tabs/src/tab-pane.d.ts +29 -2
- package/es/components/tabs/src/tab-pane.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +26 -27
- package/es/components/tabs/src/tab-pane.vue2.mjs +7 -2
- package/es/components/tabs/src/tab-pane.vue2.mjs.map +1 -1
- package/es/components/tabs/src/tabs.d.ts +5 -5
- package/es/components/time-select/src/time-select.d.ts +84 -2
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +60 -109
- package/es/components/time-select/src/time-select.vue2.mjs +36 -14
- package/es/components/time-select/src/time-select.vue2.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.d.ts +46 -3
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +35 -39
- package/es/components/timeline/src/timeline-item.vue2.mjs +18 -9
- package/es/components/timeline/src/timeline-item.vue2.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +2 -2
- package/es/components/tooltip/src/content.d.ts +69 -2
- package/es/components/tooltip/src/content.mjs +10 -3
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +90 -555
- package/es/components/tooltip/src/content.vue2.mjs +59 -22
- package/es/components/tooltip/src/content.vue2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.d.ts +19 -3
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +103 -668
- package/es/components/tooltip/src/tooltip.vue2.mjs +102 -41
- package/es/components/tooltip/src/tooltip.vue2.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.d.ts +34 -2
- package/es/components/tooltip/src/trigger.mjs +9 -1
- package/es/components/tooltip/src/trigger.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.vue.d.ts +27 -120
- package/es/components/tooltip/src/trigger.vue2.mjs +21 -5
- package/es/components/tooltip/src/trigger.vue2.mjs.map +1 -1
- package/es/components/transfer/src/composables/use-check.d.ts +3 -1
- package/es/components/transfer/src/composables/use-check.mjs.map +1 -1
- package/es/components/transfer/src/composables/use-computed-data.d.ts +1 -1
- package/es/components/transfer/src/composables/use-computed-data.mjs.map +1 -1
- package/es/components/transfer/src/composables/use-move.d.ts +1 -1
- package/es/components/transfer/src/composables/use-move.mjs.map +1 -1
- package/es/components/transfer/src/composables/use-props-alias.d.ts +2 -4
- package/es/components/transfer/src/composables/use-props-alias.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.d.ts +19 -3
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +41 -56
- package/es/components/transfer/src/transfer-panel.vue2.mjs +24 -9
- package/es/components/transfer/src/transfer-panel.vue2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.d.ts +65 -2
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +57 -70
- package/es/components/transfer/src/transfer.vue2.mjs +33 -14
- package/es/components/transfer/src/transfer.vue2.mjs.map +1 -1
- package/es/hooks/index.mjs +1 -1
- package/es/hooks/use-aria/index.d.ts +14 -0
- package/es/hooks/use-aria/index.mjs.map +1 -1
- package/es/hooks/use-delayed-toggle/index.d.ts +26 -4
- package/es/hooks/use-delayed-toggle/index.mjs +6 -1
- package/es/hooks/use-delayed-toggle/index.mjs.map +1 -1
- package/es/hooks/use-empty-values/index.d.ts +17 -4
- package/es/hooks/use-empty-values/index.mjs.map +1 -1
- package/es/index.mjs +6 -6
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue2.js +1 -1
- package/lib/components/cascader/src/cascader.d.ts +127 -3
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +79 -395
- package/lib/components/cascader/src/cascader.vue2.js +68 -27
- package/lib/components/cascader/src/cascader.vue2.js.map +1 -1
- package/lib/components/cascader-panel/src/config.d.ts +21 -0
- package/lib/components/cascader-panel/src/config.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue.d.ts +30 -37
- package/lib/components/cascader-panel/src/index.vue2.js +8 -2
- package/lib/components/cascader-panel/src/index.vue2.js.map +1 -1
- package/lib/components/checkbox/index.js +1 -0
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +46 -122
- package/lib/components/checkbox/src/checkbox-button.vue2.js +24 -5
- package/lib/components/checkbox/src/checkbox-button.vue2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.d.ts +61 -4
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +41 -91
- package/lib/components/checkbox/src/checkbox-group.vue2.js +18 -4
- package/lib/components/checkbox/src/checkbox-group.vue2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.d.ts +90 -2
- package/lib/components/checkbox/src/checkbox.js +15 -1
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +46 -122
- package/lib/components/checkbox/src/checkbox.vue2.js +27 -8
- package/lib/components/checkbox/src/checkbox.vue2.js.map +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox.d.ts +1 -1
- package/lib/components/color-picker/index.js +1 -0
- package/lib/components/color-picker/index.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +86 -2
- package/lib/components/color-picker/src/color-picker.js +12 -0
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +48 -291
- package/lib/components/color-picker/src/color-picker.vue2.js +31 -12
- package/lib/components/color-picker/src/color-picker.vue2.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.d.ts +66 -1
- package/lib/components/dialog/src/dialog-content.js +9 -0
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +39 -46
- package/lib/components/dialog/src/dialog-content.vue2.js +21 -8
- package/lib/components/dialog/src/dialog-content.vue2.js.map +1 -1
- package/lib/components/dialog/src/dialog.d.ts +89 -2
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +66 -138
- package/lib/components/dialog/src/dialog.vue2.js +60 -16
- package/lib/components/dialog/src/dialog.vue2.js.map +1 -1
- package/lib/components/dialog/src/use-dialog.d.ts +3 -3
- package/lib/components/drawer/src/drawer.vue.d.ts +4 -4
- package/lib/components/form/src/form-item.d.ts +58 -2
- package/lib/components/form/src/form-item.js.map +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +33 -84
- package/lib/components/form/src/form-item.vue2.js +15 -3
- package/lib/components/form/src/form-item.vue2.js.map +1 -1
- package/lib/components/form/src/form.d.ts +83 -3
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form.vue.d.ts +42 -69
- package/lib/components/form/src/form.vue2.js +18 -1
- package/lib/components/form/src/form.vue2.js.map +1 -1
- package/lib/components/index.js +5 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +73 -4
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +54 -115
- package/lib/components/notification/src/notification.vue2.js +30 -13
- package/lib/components/notification/src/notification.vue2.js.map +1 -1
- package/lib/components/notification/src/notify.d.ts +3 -3
- package/lib/components/notification/src/notify.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.d.ts +72 -3
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +45 -67
- package/lib/components/popconfirm/src/popconfirm.vue2.js +32 -15
- package/lib/components/popconfirm/src/popconfirm.vue2.js.map +1 -1
- package/lib/components/popover/index.js +1 -0
- package/lib/components/popover/index.js.map +1 -1
- package/lib/components/popover/src/popover.d.ts +134 -5
- package/lib/components/popover/src/popover.js +26 -0
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +75 -326
- package/lib/components/popover/src/popover.vue2.js +49 -24
- package/lib/components/popover/src/popover.vue2.js.map +1 -1
- package/lib/components/table/src/table-column/index.d.ts +1 -1
- package/lib/components/tabs/src/tab-bar.d.ts +34 -23
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar.vue.d.ts +28 -180
- package/lib/components/tabs/src/tab-bar.vue2.js +4 -2
- package/lib/components/tabs/src/tab-bar.vue2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.d.ts +75 -75
- package/lib/components/tabs/src/tab-pane.d.ts +29 -2
- package/lib/components/tabs/src/tab-pane.js.map +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +26 -27
- package/lib/components/tabs/src/tab-pane.vue2.js +7 -2
- package/lib/components/tabs/src/tab-pane.vue2.js.map +1 -1
- package/lib/components/tabs/src/tabs.d.ts +5 -5
- package/lib/components/time-select/src/time-select.d.ts +84 -2
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +60 -109
- package/lib/components/time-select/src/time-select.vue2.js +36 -14
- package/lib/components/time-select/src/time-select.vue2.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.d.ts +46 -3
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +35 -39
- package/lib/components/timeline/src/timeline-item.vue2.js +18 -9
- package/lib/components/timeline/src/timeline-item.vue2.js.map +1 -1
- package/lib/components/tooltip/index.js +2 -0
- package/lib/components/tooltip/index.js.map +1 -1
- package/lib/components/tooltip/src/content.d.ts +69 -2
- package/lib/components/tooltip/src/content.js +8 -0
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +90 -555
- package/lib/components/tooltip/src/content.vue2.js +58 -21
- package/lib/components/tooltip/src/content.vue2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.d.ts +19 -3
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +103 -668
- package/lib/components/tooltip/src/tooltip.vue2.js +100 -39
- package/lib/components/tooltip/src/tooltip.vue2.js.map +1 -1
- package/lib/components/tooltip/src/trigger.d.ts +34 -2
- package/lib/components/tooltip/src/trigger.js +9 -0
- package/lib/components/tooltip/src/trigger.js.map +1 -1
- package/lib/components/tooltip/src/trigger.vue.d.ts +27 -120
- package/lib/components/tooltip/src/trigger.vue2.js +20 -4
- package/lib/components/tooltip/src/trigger.vue2.js.map +1 -1
- package/lib/components/transfer/src/composables/use-check.d.ts +3 -1
- package/lib/components/transfer/src/composables/use-check.js.map +1 -1
- package/lib/components/transfer/src/composables/use-computed-data.d.ts +1 -1
- package/lib/components/transfer/src/composables/use-computed-data.js.map +1 -1
- package/lib/components/transfer/src/composables/use-move.d.ts +1 -1
- package/lib/components/transfer/src/composables/use-move.js.map +1 -1
- package/lib/components/transfer/src/composables/use-props-alias.d.ts +2 -4
- package/lib/components/transfer/src/composables/use-props-alias.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.d.ts +19 -3
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +41 -56
- package/lib/components/transfer/src/transfer-panel.vue2.js +23 -8
- package/lib/components/transfer/src/transfer-panel.vue2.js.map +1 -1
- package/lib/components/transfer/src/transfer.d.ts +65 -2
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +57 -70
- package/lib/components/transfer/src/transfer.vue2.js +32 -13
- package/lib/components/transfer/src/transfer.vue2.js.map +1 -1
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-aria/index.d.ts +14 -0
- package/lib/hooks/use-aria/index.js.map +1 -1
- package/lib/hooks/use-delayed-toggle/index.d.ts +26 -4
- package/lib/hooks/use-delayed-toggle/index.js +6 -0
- package/lib/hooks/use-delayed-toggle/index.js.map +1 -1
- package/lib/hooks/use-empty-values/index.d.ts +17 -4
- package/lib/hooks/use-empty-values/index.js.map +1 -1
- package/lib/index.js +6 -0
- 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/theme-chalk/el-collapse-item.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/collapse-item.scss +5 -0
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20260120 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -10255,6 +10255,11 @@
|
|
|
10255
10255
|
default: 0
|
|
10256
10256
|
}
|
|
10257
10257
|
});
|
|
10258
|
+
const useDelayedTogglePropsDefaults = {
|
|
10259
|
+
showAfter: 0,
|
|
10260
|
+
hideAfter: 200,
|
|
10261
|
+
autoClose: 0
|
|
10262
|
+
};
|
|
10258
10263
|
const useDelayedToggle = ({
|
|
10259
10264
|
showAfter,
|
|
10260
10265
|
hideAfter,
|
|
@@ -12533,7 +12538,7 @@
|
|
|
12533
12538
|
|
|
12534
12539
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
12535
12540
|
|
|
12536
|
-
const version$1 = "0.0.
|
|
12541
|
+
const version$1 = "0.0.20260120";
|
|
12537
12542
|
|
|
12538
12543
|
const makeInstaller = (components = []) => {
|
|
12539
12544
|
const install = (app, options) => {
|
|
@@ -13280,7 +13285,24 @@
|
|
|
13280
13285
|
name: COMPONENT_NAME$n
|
|
13281
13286
|
},
|
|
13282
13287
|
__name: "form",
|
|
13283
|
-
props:
|
|
13288
|
+
props: {
|
|
13289
|
+
model: { type: Object, required: false },
|
|
13290
|
+
rules: { type: null, required: false },
|
|
13291
|
+
labelPosition: { type: String, required: false, default: "right" },
|
|
13292
|
+
requireAsteriskPosition: { type: String, required: false, default: "left" },
|
|
13293
|
+
labelWidth: { type: [String, Number], required: false, default: "" },
|
|
13294
|
+
labelSuffix: { type: String, required: false, default: "" },
|
|
13295
|
+
inline: { type: Boolean, required: false },
|
|
13296
|
+
inlineMessage: { type: Boolean, required: false },
|
|
13297
|
+
statusIcon: { type: Boolean, required: false },
|
|
13298
|
+
showMessage: { type: Boolean, required: false, default: true },
|
|
13299
|
+
validateOnRuleChange: { type: Boolean, required: false, default: true },
|
|
13300
|
+
hideRequiredAsterisk: { type: Boolean, required: false },
|
|
13301
|
+
scrollToError: { type: Boolean, required: false },
|
|
13302
|
+
scrollIntoViewOptions: { type: Boolean, required: false, skipCheck: true, default: true },
|
|
13303
|
+
size: { type: null, required: false },
|
|
13304
|
+
disabled: { type: Boolean, required: false }
|
|
13305
|
+
},
|
|
13284
13306
|
emits: formEmits,
|
|
13285
13307
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13286
13308
|
const props = __props;
|
|
@@ -14509,88 +14531,6 @@
|
|
|
14509
14531
|
Schema.messages = messages;
|
|
14510
14532
|
Schema.validators = validators;
|
|
14511
14533
|
|
|
14512
|
-
const formItemValidateStates = [
|
|
14513
|
-
"",
|
|
14514
|
-
"error",
|
|
14515
|
-
"validating",
|
|
14516
|
-
"success"
|
|
14517
|
-
];
|
|
14518
|
-
const formItemProps = buildProps({
|
|
14519
|
-
/**
|
|
14520
|
-
* @description Label text.
|
|
14521
|
-
*/
|
|
14522
|
-
label: String,
|
|
14523
|
-
/**
|
|
14524
|
-
* @description Width of label, e.g. `'50px'`. `'auto'` is supported.
|
|
14525
|
-
*/
|
|
14526
|
-
labelWidth: {
|
|
14527
|
-
type: [String, Number]
|
|
14528
|
-
},
|
|
14529
|
-
/**
|
|
14530
|
-
* @description Position of label. If set to `'left'` or `'right'`, `label-width` prop is also required. The default is extend from `form label-position`.
|
|
14531
|
-
*/
|
|
14532
|
-
labelPosition: {
|
|
14533
|
-
type: String,
|
|
14534
|
-
values: ["left", "right", "top", ""],
|
|
14535
|
-
default: ""
|
|
14536
|
-
},
|
|
14537
|
-
/**
|
|
14538
|
-
* @description A key of `model`. It could be an array of property paths (e.g `['a', 'b', '0']`). In the use of `validate` and `resetFields` method, the attribute is required.
|
|
14539
|
-
*/
|
|
14540
|
-
prop: {
|
|
14541
|
-
type: definePropType([String, Array])
|
|
14542
|
-
},
|
|
14543
|
-
/**
|
|
14544
|
-
* @description Whether the field is required or not, will be determined by validation rules if omitted.
|
|
14545
|
-
*/
|
|
14546
|
-
required: {
|
|
14547
|
-
type: Boolean,
|
|
14548
|
-
default: void 0
|
|
14549
|
-
},
|
|
14550
|
-
/**
|
|
14551
|
-
* @description Validation rules of form, see the [following table](#formitemrule), more advanced usage at [async-validator](https://github.com/yiminghe/async-validator).
|
|
14552
|
-
*/
|
|
14553
|
-
rules: {
|
|
14554
|
-
type: definePropType([Object, Array])
|
|
14555
|
-
},
|
|
14556
|
-
/**
|
|
14557
|
-
* @description Field error message, set its value and the field will validate error and show this message immediately.
|
|
14558
|
-
*/
|
|
14559
|
-
error: String,
|
|
14560
|
-
/**
|
|
14561
|
-
* @description Validation state of formItem.
|
|
14562
|
-
*/
|
|
14563
|
-
validateStatus: {
|
|
14564
|
-
type: String,
|
|
14565
|
-
values: formItemValidateStates
|
|
14566
|
-
},
|
|
14567
|
-
/**
|
|
14568
|
-
* @description Same as for in native label.
|
|
14569
|
-
*/
|
|
14570
|
-
for: String,
|
|
14571
|
-
/**
|
|
14572
|
-
* @description Inline style validate message.
|
|
14573
|
-
*/
|
|
14574
|
-
inlineMessage: {
|
|
14575
|
-
type: Boolean,
|
|
14576
|
-
default: void 0
|
|
14577
|
-
},
|
|
14578
|
-
/**
|
|
14579
|
-
* @description Whether to show the error message.
|
|
14580
|
-
*/
|
|
14581
|
-
showMessage: {
|
|
14582
|
-
type: Boolean,
|
|
14583
|
-
default: true
|
|
14584
|
-
},
|
|
14585
|
-
/**
|
|
14586
|
-
* @description Control the size of components in this form-item.
|
|
14587
|
-
*/
|
|
14588
|
-
size: {
|
|
14589
|
-
type: String,
|
|
14590
|
-
values: componentSizes
|
|
14591
|
-
}
|
|
14592
|
-
});
|
|
14593
|
-
|
|
14594
14534
|
const COMPONENT_NAME$m = "ElLabelWrap";
|
|
14595
14535
|
var FormLabelWrap = /* @__PURE__ */ vue.defineComponent({
|
|
14596
14536
|
name: COMPONENT_NAME$m,
|
|
@@ -14682,7 +14622,20 @@
|
|
|
14682
14622
|
name: "ElFormItem"
|
|
14683
14623
|
},
|
|
14684
14624
|
__name: "form-item",
|
|
14685
|
-
props:
|
|
14625
|
+
props: {
|
|
14626
|
+
label: { type: String, required: false },
|
|
14627
|
+
labelWidth: { type: [String, Number], required: false },
|
|
14628
|
+
labelPosition: { type: String, required: false, default: "" },
|
|
14629
|
+
prop: { type: [String, Array], required: false },
|
|
14630
|
+
required: { type: Boolean, required: false, default: void 0 },
|
|
14631
|
+
rules: { type: null, required: false },
|
|
14632
|
+
error: { type: String, required: false },
|
|
14633
|
+
validateStatus: { type: null, required: false },
|
|
14634
|
+
for: { type: String, required: false },
|
|
14635
|
+
inlineMessage: { type: Boolean, required: false, default: void 0 },
|
|
14636
|
+
showMessage: { type: Boolean, required: false, default: true },
|
|
14637
|
+
size: { type: null, required: false }
|
|
14638
|
+
},
|
|
14686
14639
|
setup(__props, { expose: __expose }) {
|
|
14687
14640
|
const props = __props;
|
|
14688
14641
|
const slots = vue.useSlots();
|
|
@@ -14984,7 +14937,7 @@
|
|
|
14984
14937
|
"update-all": ((_a = vue.unref(formContext)) == null ? void 0 : _a.labelWidth) === "auto"
|
|
14985
14938
|
}, {
|
|
14986
14939
|
default: vue.withCtx(() => [
|
|
14987
|
-
!!(
|
|
14940
|
+
!!(__props.label || _ctx.$slots.label) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(labelFor.value ? "label" : "div"), {
|
|
14988
14941
|
key: 0,
|
|
14989
14942
|
id: vue.unref(labelId),
|
|
14990
14943
|
for: labelFor.value,
|
|
@@ -15046,6 +14999,88 @@
|
|
|
15046
14999
|
}
|
|
15047
15000
|
});
|
|
15048
15001
|
|
|
15002
|
+
const formItemValidateStates = [
|
|
15003
|
+
"",
|
|
15004
|
+
"error",
|
|
15005
|
+
"validating",
|
|
15006
|
+
"success"
|
|
15007
|
+
];
|
|
15008
|
+
const formItemProps = buildProps({
|
|
15009
|
+
/**
|
|
15010
|
+
* @description Label text.
|
|
15011
|
+
*/
|
|
15012
|
+
label: String,
|
|
15013
|
+
/**
|
|
15014
|
+
* @description Width of label, e.g. `'50px'`. `'auto'` is supported.
|
|
15015
|
+
*/
|
|
15016
|
+
labelWidth: {
|
|
15017
|
+
type: [String, Number]
|
|
15018
|
+
},
|
|
15019
|
+
/**
|
|
15020
|
+
* @description Position of label. If set to `'left'` or `'right'`, `label-width` prop is also required. The default is extend from `form label-position`.
|
|
15021
|
+
*/
|
|
15022
|
+
labelPosition: {
|
|
15023
|
+
type: String,
|
|
15024
|
+
values: ["left", "right", "top", ""],
|
|
15025
|
+
default: ""
|
|
15026
|
+
},
|
|
15027
|
+
/**
|
|
15028
|
+
* @description A key of `model`. It could be an array of property paths (e.g `['a', 'b', '0']`). In the use of `validate` and `resetFields` method, the attribute is required.
|
|
15029
|
+
*/
|
|
15030
|
+
prop: {
|
|
15031
|
+
type: definePropType([String, Array])
|
|
15032
|
+
},
|
|
15033
|
+
/**
|
|
15034
|
+
* @description Whether the field is required or not, will be determined by validation rules if omitted.
|
|
15035
|
+
*/
|
|
15036
|
+
required: {
|
|
15037
|
+
type: Boolean,
|
|
15038
|
+
default: void 0
|
|
15039
|
+
},
|
|
15040
|
+
/**
|
|
15041
|
+
* @description Validation rules of form, see the [following table](#formitemrule), more advanced usage at [async-validator](https://github.com/yiminghe/async-validator).
|
|
15042
|
+
*/
|
|
15043
|
+
rules: {
|
|
15044
|
+
type: definePropType([Object, Array])
|
|
15045
|
+
},
|
|
15046
|
+
/**
|
|
15047
|
+
* @description Field error message, set its value and the field will validate error and show this message immediately.
|
|
15048
|
+
*/
|
|
15049
|
+
error: String,
|
|
15050
|
+
/**
|
|
15051
|
+
* @description Validation state of formItem.
|
|
15052
|
+
*/
|
|
15053
|
+
validateStatus: {
|
|
15054
|
+
type: String,
|
|
15055
|
+
values: formItemValidateStates
|
|
15056
|
+
},
|
|
15057
|
+
/**
|
|
15058
|
+
* @description Same as for in native label.
|
|
15059
|
+
*/
|
|
15060
|
+
for: String,
|
|
15061
|
+
/**
|
|
15062
|
+
* @description Inline style validate message.
|
|
15063
|
+
*/
|
|
15064
|
+
inlineMessage: {
|
|
15065
|
+
type: Boolean,
|
|
15066
|
+
default: void 0
|
|
15067
|
+
},
|
|
15068
|
+
/**
|
|
15069
|
+
* @description Whether to show the error message.
|
|
15070
|
+
*/
|
|
15071
|
+
showMessage: {
|
|
15072
|
+
type: Boolean,
|
|
15073
|
+
default: true
|
|
15074
|
+
},
|
|
15075
|
+
/**
|
|
15076
|
+
* @description Control the size of components in this form-item.
|
|
15077
|
+
*/
|
|
15078
|
+
size: {
|
|
15079
|
+
type: String,
|
|
15080
|
+
values: componentSizes
|
|
15081
|
+
}
|
|
15082
|
+
});
|
|
15083
|
+
|
|
15049
15084
|
const ElForm = withInstall(_sfc_main$2s, {
|
|
15050
15085
|
FormItem: _sfc_main$2r
|
|
15051
15086
|
});
|
|
@@ -17929,6 +17964,13 @@
|
|
|
17929
17964
|
|
|
17930
17965
|
const TOOLTIP_INJECTION_KEY = /* @__PURE__ */ Symbol("elTooltip");
|
|
17931
17966
|
|
|
17967
|
+
const useTooltipContentPropsDefaults = {
|
|
17968
|
+
...useDelayedTogglePropsDefaults,
|
|
17969
|
+
...popperContentPropsDefaults,
|
|
17970
|
+
content: "",
|
|
17971
|
+
visible: null,
|
|
17972
|
+
teleported: true
|
|
17973
|
+
};
|
|
17932
17974
|
const useTooltipContentProps = buildProps({
|
|
17933
17975
|
...useDelayedToggleProps,
|
|
17934
17976
|
...popperContentProps,
|
|
@@ -17982,6 +18024,14 @@
|
|
|
17982
18024
|
...useAriaProps(["ariaLabel"])
|
|
17983
18025
|
});
|
|
17984
18026
|
|
|
18027
|
+
const useTooltipTriggerPropsDefaults = {
|
|
18028
|
+
trigger: "hover",
|
|
18029
|
+
triggerKeys: () => [
|
|
18030
|
+
EVENT_CODE.enter,
|
|
18031
|
+
EVENT_CODE.numpadEnter,
|
|
18032
|
+
EVENT_CODE.space
|
|
18033
|
+
]
|
|
18034
|
+
};
|
|
17985
18035
|
const useTooltipTriggerProps = buildProps({
|
|
17986
18036
|
...popperTriggerProps,
|
|
17987
18037
|
/**
|
|
@@ -18054,7 +18104,23 @@
|
|
|
18054
18104
|
name: "ElTooltipTrigger"
|
|
18055
18105
|
},
|
|
18056
18106
|
__name: "trigger",
|
|
18057
|
-
props:
|
|
18107
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
18108
|
+
disabled: { type: Boolean, required: false },
|
|
18109
|
+
trigger: { type: null, required: false },
|
|
18110
|
+
triggerKeys: { type: Array, required: false },
|
|
18111
|
+
focusOnTarget: { type: Boolean, required: false },
|
|
18112
|
+
virtualRef: { type: Object, required: false },
|
|
18113
|
+
virtualTriggering: { type: Boolean, required: false },
|
|
18114
|
+
onMouseenter: { type: Function, required: false },
|
|
18115
|
+
onMouseleave: { type: Function, required: false },
|
|
18116
|
+
onClick: { type: Function, required: false },
|
|
18117
|
+
onKeydown: { type: Function, required: false },
|
|
18118
|
+
onFocus: { type: Function, required: false },
|
|
18119
|
+
onBlur: { type: Function, required: false },
|
|
18120
|
+
onContextmenu: { type: Function, required: false },
|
|
18121
|
+
id: { type: String, required: false },
|
|
18122
|
+
open: { type: Boolean, required: false }
|
|
18123
|
+
}, useTooltipTriggerPropsDefaults),
|
|
18058
18124
|
setup(__props, { expose: __expose }) {
|
|
18059
18125
|
const props = __props;
|
|
18060
18126
|
const ns = useNamespace("tooltip");
|
|
@@ -18126,9 +18192,9 @@
|
|
|
18126
18192
|
return (_ctx, _cache) => {
|
|
18127
18193
|
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$2k), {
|
|
18128
18194
|
id: vue.unref(id),
|
|
18129
|
-
"virtual-ref":
|
|
18195
|
+
"virtual-ref": __props.virtualRef,
|
|
18130
18196
|
open: vue.unref(open),
|
|
18131
|
-
"virtual-triggering":
|
|
18197
|
+
"virtual-triggering": __props.virtualTriggering,
|
|
18132
18198
|
class: vue.normalizeClass(vue.unref(ns).e("trigger")),
|
|
18133
18199
|
onBlur: vue.unref(onBlur),
|
|
18134
18200
|
onClick: vue.unref(onClick),
|
|
@@ -18154,7 +18220,44 @@
|
|
|
18154
18220
|
inheritAttrs: false
|
|
18155
18221
|
},
|
|
18156
18222
|
__name: "content",
|
|
18157
|
-
props:
|
|
18223
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
18224
|
+
appendTo: { type: null, required: false },
|
|
18225
|
+
content: { type: String, required: false },
|
|
18226
|
+
rawContent: { type: Boolean, required: false },
|
|
18227
|
+
persistent: { type: Boolean, required: false },
|
|
18228
|
+
visible: { type: [Boolean, null], required: false },
|
|
18229
|
+
transition: { type: String, required: false },
|
|
18230
|
+
teleported: { type: Boolean, required: false },
|
|
18231
|
+
disabled: { type: Boolean, required: false },
|
|
18232
|
+
ariaLabel: { type: String, required: false },
|
|
18233
|
+
showAfter: { type: Number, required: false },
|
|
18234
|
+
hideAfter: { type: Number, required: false },
|
|
18235
|
+
autoClose: { type: Number, required: false },
|
|
18236
|
+
id: { type: String, required: false },
|
|
18237
|
+
style: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true },
|
|
18238
|
+
className: { type: [String, Object, Array], required: false },
|
|
18239
|
+
effect: { type: null, required: false },
|
|
18240
|
+
enterable: { type: Boolean, required: false },
|
|
18241
|
+
pure: { type: Boolean, required: false },
|
|
18242
|
+
focusOnShow: { type: Boolean, required: false },
|
|
18243
|
+
trapping: { type: Boolean, required: false },
|
|
18244
|
+
popperClass: { type: [String, Object, Array], required: false },
|
|
18245
|
+
popperStyle: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true },
|
|
18246
|
+
referenceEl: { type: null, required: false },
|
|
18247
|
+
triggerTargetEl: { type: null, required: false },
|
|
18248
|
+
stopPopperMouseEvent: { type: Boolean, required: false },
|
|
18249
|
+
virtualTriggering: { type: Boolean, required: false },
|
|
18250
|
+
zIndex: { type: Number, required: false },
|
|
18251
|
+
loop: { type: Boolean, required: false },
|
|
18252
|
+
boundariesPadding: { type: Number, required: false },
|
|
18253
|
+
fallbackPlacements: { type: Array, required: false },
|
|
18254
|
+
gpuAcceleration: { type: Boolean, required: false },
|
|
18255
|
+
offset: { type: Number, required: false },
|
|
18256
|
+
placement: { type: String, required: false },
|
|
18257
|
+
popperOptions: { type: Object, required: false },
|
|
18258
|
+
strategy: { type: null, required: false },
|
|
18259
|
+
arrowOffset: { type: Number, required: false }
|
|
18260
|
+
}, useTooltipContentPropsDefaults),
|
|
18158
18261
|
setup(__props, { expose: __expose }) {
|
|
18159
18262
|
const props = __props;
|
|
18160
18263
|
const { selector } = usePopperContainerId();
|
|
@@ -18285,7 +18388,7 @@
|
|
|
18285
18388
|
});
|
|
18286
18389
|
return (_ctx, _cache) => {
|
|
18287
18390
|
return vue.openBlock(), vue.createBlock(vue.unref(ElTeleport), {
|
|
18288
|
-
disabled: !
|
|
18391
|
+
disabled: !__props.teleported,
|
|
18289
18392
|
to: appendTo.value
|
|
18290
18393
|
}, {
|
|
18291
18394
|
default: vue.withCtx(() => [
|
|
@@ -18305,26 +18408,26 @@
|
|
|
18305
18408
|
ref_key: "contentRef",
|
|
18306
18409
|
ref: contentRef
|
|
18307
18410
|
}, _ctx.$attrs, {
|
|
18308
|
-
"aria-label":
|
|
18411
|
+
"aria-label": __props.ariaLabel,
|
|
18309
18412
|
"aria-hidden": ariaHidden.value,
|
|
18310
|
-
"boundaries-padding":
|
|
18311
|
-
"fallback-placements":
|
|
18312
|
-
"gpu-acceleration":
|
|
18313
|
-
offset:
|
|
18314
|
-
placement:
|
|
18315
|
-
"popper-options":
|
|
18316
|
-
"arrow-offset":
|
|
18317
|
-
strategy:
|
|
18318
|
-
effect:
|
|
18319
|
-
enterable:
|
|
18320
|
-
pure:
|
|
18321
|
-
"popper-class":
|
|
18322
|
-
"popper-style": [
|
|
18323
|
-
"reference-el":
|
|
18324
|
-
"trigger-target-el":
|
|
18413
|
+
"boundaries-padding": __props.boundariesPadding,
|
|
18414
|
+
"fallback-placements": __props.fallbackPlacements,
|
|
18415
|
+
"gpu-acceleration": __props.gpuAcceleration,
|
|
18416
|
+
offset: __props.offset,
|
|
18417
|
+
placement: __props.placement,
|
|
18418
|
+
"popper-options": __props.popperOptions,
|
|
18419
|
+
"arrow-offset": __props.arrowOffset,
|
|
18420
|
+
strategy: __props.strategy,
|
|
18421
|
+
effect: __props.effect,
|
|
18422
|
+
enterable: __props.enterable,
|
|
18423
|
+
pure: __props.pure,
|
|
18424
|
+
"popper-class": __props.popperClass,
|
|
18425
|
+
"popper-style": [__props.popperStyle, contentStyle.value],
|
|
18426
|
+
"reference-el": __props.referenceEl,
|
|
18427
|
+
"trigger-target-el": __props.triggerTargetEl,
|
|
18325
18428
|
visible: shouldShow.value,
|
|
18326
|
-
"z-index":
|
|
18327
|
-
loop:
|
|
18429
|
+
"z-index": __props.zIndex,
|
|
18430
|
+
loop: __props.loop,
|
|
18328
18431
|
onMouseenter: vue.unref(onContentEnter),
|
|
18329
18432
|
onMouseleave: vue.unref(onContentLeave),
|
|
18330
18433
|
onBlur,
|
|
@@ -18357,7 +18460,65 @@
|
|
|
18357
18460
|
name: "ElTooltip"
|
|
18358
18461
|
},
|
|
18359
18462
|
__name: "tooltip",
|
|
18360
|
-
props:
|
|
18463
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
18464
|
+
showArrow: { type: Boolean, required: false },
|
|
18465
|
+
"onUpdate:visible": { type: Function, required: false },
|
|
18466
|
+
role: { type: null, required: false },
|
|
18467
|
+
appendTo: { type: null, required: false },
|
|
18468
|
+
content: { type: String, required: false },
|
|
18469
|
+
rawContent: { type: Boolean, required: false },
|
|
18470
|
+
persistent: { type: Boolean, required: false },
|
|
18471
|
+
visible: { type: [Boolean, null], required: false },
|
|
18472
|
+
transition: { type: String, required: false },
|
|
18473
|
+
teleported: { type: Boolean, required: false },
|
|
18474
|
+
disabled: { type: Boolean, required: false },
|
|
18475
|
+
ariaLabel: { type: String, required: false },
|
|
18476
|
+
showAfter: { type: Number, required: false },
|
|
18477
|
+
hideAfter: { type: Number, required: false },
|
|
18478
|
+
autoClose: { type: Number, required: false },
|
|
18479
|
+
id: { type: String, required: false },
|
|
18480
|
+
style: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true },
|
|
18481
|
+
className: { type: [String, Object, Array], required: false },
|
|
18482
|
+
effect: { type: null, required: false },
|
|
18483
|
+
enterable: { type: Boolean, required: false },
|
|
18484
|
+
pure: { type: Boolean, required: false },
|
|
18485
|
+
focusOnShow: { type: Boolean, required: false },
|
|
18486
|
+
trapping: { type: Boolean, required: false },
|
|
18487
|
+
popperClass: { type: [String, Object, Array], required: false },
|
|
18488
|
+
popperStyle: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true },
|
|
18489
|
+
referenceEl: { type: null, required: false },
|
|
18490
|
+
triggerTargetEl: { type: null, required: false },
|
|
18491
|
+
stopPopperMouseEvent: { type: Boolean, required: false },
|
|
18492
|
+
virtualTriggering: { type: Boolean, required: false },
|
|
18493
|
+
zIndex: { type: Number, required: false },
|
|
18494
|
+
loop: { type: Boolean, required: false },
|
|
18495
|
+
boundariesPadding: { type: Number, required: false },
|
|
18496
|
+
fallbackPlacements: { type: Array, required: false },
|
|
18497
|
+
gpuAcceleration: { type: Boolean, required: false },
|
|
18498
|
+
offset: { type: Number, required: false },
|
|
18499
|
+
placement: { type: String, required: false },
|
|
18500
|
+
popperOptions: { type: Object, required: false },
|
|
18501
|
+
strategy: { type: null, required: false },
|
|
18502
|
+
arrowOffset: { type: Number, required: false },
|
|
18503
|
+
trigger: { type: null, required: false },
|
|
18504
|
+
triggerKeys: { type: Array, required: false },
|
|
18505
|
+
focusOnTarget: { type: Boolean, required: false },
|
|
18506
|
+
virtualRef: { type: Object, required: false },
|
|
18507
|
+
onMouseenter: { type: Function, required: false },
|
|
18508
|
+
onMouseleave: { type: Function, required: false },
|
|
18509
|
+
onClick: { type: Function, required: false },
|
|
18510
|
+
onKeydown: { type: Function, required: false },
|
|
18511
|
+
onFocus: { type: Function, required: false },
|
|
18512
|
+
onBlur: { type: Function, required: false },
|
|
18513
|
+
onContextmenu: { type: Function, required: false },
|
|
18514
|
+
open: { type: Boolean, required: false }
|
|
18515
|
+
}, {
|
|
18516
|
+
role: "tooltip",
|
|
18517
|
+
...useTooltipContentPropsDefaults,
|
|
18518
|
+
...useTooltipTriggerPropsDefaults,
|
|
18519
|
+
...popperArrowPropsDefaults,
|
|
18520
|
+
showArrow: true
|
|
18521
|
+
}),
|
|
18361
18522
|
emits: tooltipEmits,
|
|
18362
18523
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
18363
18524
|
const props = __props;
|
|
@@ -18471,16 +18632,16 @@
|
|
|
18471
18632
|
return vue.openBlock(), vue.createBlock(vue.unref(ElPopper), {
|
|
18472
18633
|
ref_key: "popperRef",
|
|
18473
18634
|
ref: popperRef,
|
|
18474
|
-
role:
|
|
18635
|
+
role: __props.role
|
|
18475
18636
|
}, {
|
|
18476
18637
|
default: vue.withCtx(() => [
|
|
18477
18638
|
vue.createVNode(_sfc_main$2h, {
|
|
18478
|
-
disabled:
|
|
18479
|
-
trigger:
|
|
18480
|
-
"trigger-keys":
|
|
18481
|
-
"virtual-ref":
|
|
18482
|
-
"virtual-triggering":
|
|
18483
|
-
"focus-on-target":
|
|
18639
|
+
disabled: __props.disabled,
|
|
18640
|
+
trigger: __props.trigger,
|
|
18641
|
+
"trigger-keys": __props.triggerKeys,
|
|
18642
|
+
"virtual-ref": __props.virtualRef,
|
|
18643
|
+
"virtual-triggering": __props.virtualTriggering,
|
|
18644
|
+
"focus-on-target": __props.focusOnTarget
|
|
18484
18645
|
}, {
|
|
18485
18646
|
default: vue.withCtx(() => [
|
|
18486
18647
|
_ctx.$slots.default ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
@@ -18491,49 +18652,49 @@
|
|
|
18491
18652
|
vue.createVNode(_sfc_main$2g, {
|
|
18492
18653
|
ref_key: "contentRef",
|
|
18493
18654
|
ref: contentRef,
|
|
18494
|
-
"aria-label":
|
|
18495
|
-
"boundaries-padding":
|
|
18496
|
-
content:
|
|
18497
|
-
disabled:
|
|
18498
|
-
effect:
|
|
18499
|
-
enterable:
|
|
18500
|
-
"fallback-placements":
|
|
18501
|
-
"hide-after":
|
|
18502
|
-
"gpu-acceleration":
|
|
18503
|
-
offset:
|
|
18504
|
-
persistent:
|
|
18655
|
+
"aria-label": __props.ariaLabel,
|
|
18656
|
+
"boundaries-padding": __props.boundariesPadding,
|
|
18657
|
+
content: __props.content,
|
|
18658
|
+
disabled: __props.disabled,
|
|
18659
|
+
effect: __props.effect,
|
|
18660
|
+
enterable: __props.enterable,
|
|
18661
|
+
"fallback-placements": __props.fallbackPlacements,
|
|
18662
|
+
"hide-after": __props.hideAfter,
|
|
18663
|
+
"gpu-acceleration": __props.gpuAcceleration,
|
|
18664
|
+
offset: __props.offset,
|
|
18665
|
+
persistent: __props.persistent,
|
|
18505
18666
|
"popper-class": kls.value,
|
|
18506
|
-
"popper-style":
|
|
18507
|
-
placement:
|
|
18508
|
-
"popper-options":
|
|
18509
|
-
"arrow-offset":
|
|
18510
|
-
pure:
|
|
18511
|
-
"raw-content":
|
|
18512
|
-
"reference-el":
|
|
18513
|
-
"trigger-target-el":
|
|
18514
|
-
"show-after":
|
|
18515
|
-
strategy:
|
|
18516
|
-
teleported:
|
|
18517
|
-
transition:
|
|
18518
|
-
"virtual-triggering":
|
|
18519
|
-
"z-index":
|
|
18520
|
-
"append-to":
|
|
18521
|
-
loop:
|
|
18667
|
+
"popper-style": __props.popperStyle,
|
|
18668
|
+
placement: __props.placement,
|
|
18669
|
+
"popper-options": __props.popperOptions,
|
|
18670
|
+
"arrow-offset": __props.arrowOffset,
|
|
18671
|
+
pure: __props.pure,
|
|
18672
|
+
"raw-content": __props.rawContent,
|
|
18673
|
+
"reference-el": __props.referenceEl,
|
|
18674
|
+
"trigger-target-el": __props.triggerTargetEl,
|
|
18675
|
+
"show-after": __props.showAfter,
|
|
18676
|
+
strategy: __props.strategy,
|
|
18677
|
+
teleported: __props.teleported,
|
|
18678
|
+
transition: __props.transition,
|
|
18679
|
+
"virtual-triggering": __props.virtualTriggering,
|
|
18680
|
+
"z-index": __props.zIndex,
|
|
18681
|
+
"append-to": __props.appendTo,
|
|
18682
|
+
loop: __props.loop
|
|
18522
18683
|
}, {
|
|
18523
18684
|
default: vue.withCtx(() => [
|
|
18524
18685
|
vue.renderSlot(_ctx.$slots, "content", {}, () => [
|
|
18525
|
-
|
|
18686
|
+
__props.rawContent ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
18526
18687
|
key: 0,
|
|
18527
|
-
innerHTML:
|
|
18688
|
+
innerHTML: __props.content
|
|
18528
18689
|
}, null, 8, _hoisted_1$1b)) : (vue.openBlock(), vue.createElementBlock(
|
|
18529
18690
|
"span",
|
|
18530
18691
|
_hoisted_2$G,
|
|
18531
|
-
vue.toDisplayString(
|
|
18692
|
+
vue.toDisplayString(__props.content),
|
|
18532
18693
|
1
|
|
18533
18694
|
/* TEXT */
|
|
18534
18695
|
))
|
|
18535
18696
|
]),
|
|
18536
|
-
|
|
18697
|
+
__props.showArrow ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$2l), { key: 0 })) : vue.createCommentVNode("v-if", true)
|
|
18537
18698
|
]),
|
|
18538
18699
|
_: 3
|
|
18539
18700
|
/* FORWARDED */
|
|
@@ -18671,7 +18832,7 @@
|
|
|
18671
18832
|
triggerOnFocus: { type: Boolean, required: false },
|
|
18672
18833
|
selectWhenUnmatched: { type: Boolean, required: false },
|
|
18673
18834
|
hideLoading: { type: Boolean, required: false },
|
|
18674
|
-
teleported: { type:
|
|
18835
|
+
teleported: { type: Boolean, required: false },
|
|
18675
18836
|
appendTo: { type: null, required: false },
|
|
18676
18837
|
highlightFirstItem: { type: Boolean, required: false },
|
|
18677
18838
|
fitInputWidth: { type: Boolean, required: false },
|
|
@@ -28590,6 +28751,19 @@
|
|
|
28590
28751
|
[UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNumber(val) || isBoolean(val),
|
|
28591
28752
|
change: (val) => isString$1(val) || isNumber(val) || isBoolean(val)
|
|
28592
28753
|
};
|
|
28754
|
+
const checkboxPropsDefaults = {
|
|
28755
|
+
modelValue: void 0,
|
|
28756
|
+
label: void 0,
|
|
28757
|
+
value: void 0,
|
|
28758
|
+
disabled: void 0,
|
|
28759
|
+
name: void 0,
|
|
28760
|
+
trueValue: void 0,
|
|
28761
|
+
falseValue: void 0,
|
|
28762
|
+
trueLabel: void 0,
|
|
28763
|
+
falseLabel: void 0,
|
|
28764
|
+
id: void 0,
|
|
28765
|
+
validateEvent: true
|
|
28766
|
+
};
|
|
28593
28767
|
|
|
28594
28768
|
const checkboxGroupContextKey = /* @__PURE__ */ Symbol("checkboxGroupContextKey");
|
|
28595
28769
|
|
|
@@ -28844,7 +29018,26 @@
|
|
|
28844
29018
|
name: "ElCheckbox"
|
|
28845
29019
|
},
|
|
28846
29020
|
__name: "checkbox",
|
|
28847
|
-
props:
|
|
29021
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
29022
|
+
modelValue: { type: [Number, String, Boolean], required: false },
|
|
29023
|
+
label: { type: [String, Boolean, Number, Object], required: false },
|
|
29024
|
+
value: { type: [String, Boolean, Number, Object], required: false },
|
|
29025
|
+
indeterminate: { type: Boolean, required: false },
|
|
29026
|
+
disabled: { type: Boolean, required: false },
|
|
29027
|
+
checked: { type: Boolean, required: false },
|
|
29028
|
+
name: { type: String, required: false },
|
|
29029
|
+
trueValue: { type: [String, Number], required: false },
|
|
29030
|
+
falseValue: { type: [String, Number], required: false },
|
|
29031
|
+
trueLabel: { type: [String, Number], required: false },
|
|
29032
|
+
falseLabel: { type: [String, Number], required: false },
|
|
29033
|
+
id: { type: String, required: false },
|
|
29034
|
+
border: { type: Boolean, required: false },
|
|
29035
|
+
size: { type: null, required: false },
|
|
29036
|
+
tabindex: { type: [String, Number], required: false },
|
|
29037
|
+
validateEvent: { type: Boolean, required: false },
|
|
29038
|
+
ariaLabel: { type: String, required: false },
|
|
29039
|
+
ariaControls: { type: String, required: false }
|
|
29040
|
+
}, checkboxPropsDefaults),
|
|
28848
29041
|
emits: checkboxEmits,
|
|
28849
29042
|
setup(__props) {
|
|
28850
29043
|
const props = __props;
|
|
@@ -28897,9 +29090,9 @@
|
|
|
28897
29090
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(!vue.unref(hasOwnLabel) && vue.unref(isLabeledByFormItem) ? "span" : "label"), {
|
|
28898
29091
|
for: !vue.unref(hasOwnLabel) && vue.unref(isLabeledByFormItem) ? null : vue.unref(inputId),
|
|
28899
29092
|
class: vue.normalizeClass(compKls.value),
|
|
28900
|
-
"aria-controls":
|
|
28901
|
-
"aria-checked":
|
|
28902
|
-
"aria-label":
|
|
29093
|
+
"aria-controls": __props.indeterminate ? __props.ariaControls : null,
|
|
29094
|
+
"aria-checked": __props.indeterminate ? "mixed" : void 0,
|
|
29095
|
+
"aria-label": __props.ariaLabel,
|
|
28903
29096
|
onClick: vue.unref(onClickRoot)
|
|
28904
29097
|
}, {
|
|
28905
29098
|
default: vue.withCtx(() => [
|
|
@@ -28914,9 +29107,9 @@
|
|
|
28914
29107
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(model) ? model.value = $event : null),
|
|
28915
29108
|
class: vue.unref(ns).e("original"),
|
|
28916
29109
|
type: "checkbox",
|
|
28917
|
-
indeterminate:
|
|
28918
|
-
name:
|
|
28919
|
-
tabindex:
|
|
29110
|
+
indeterminate: __props.indeterminate,
|
|
29111
|
+
name: __props.name,
|
|
29112
|
+
tabindex: __props.tabindex,
|
|
28920
29113
|
disabled: vue.unref(isDisabled)
|
|
28921
29114
|
}, inputBindings.value, {
|
|
28922
29115
|
onChange: _cache[1] || (_cache[1] = //@ts-ignore
|
|
@@ -28954,7 +29147,7 @@
|
|
|
28954
29147
|
{ key: 0 },
|
|
28955
29148
|
[
|
|
28956
29149
|
vue.createTextVNode(
|
|
28957
|
-
vue.toDisplayString(
|
|
29150
|
+
vue.toDisplayString(__props.label),
|
|
28958
29151
|
1
|
|
28959
29152
|
/* TEXT */
|
|
28960
29153
|
)
|
|
@@ -28980,7 +29173,26 @@
|
|
|
28980
29173
|
name: "ElCheckboxButton"
|
|
28981
29174
|
},
|
|
28982
29175
|
__name: "checkbox-button",
|
|
28983
|
-
props:
|
|
29176
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
29177
|
+
modelValue: { type: [Number, String, Boolean], required: false },
|
|
29178
|
+
label: { type: [String, Boolean, Number, Object], required: false },
|
|
29179
|
+
value: { type: [String, Boolean, Number, Object], required: false },
|
|
29180
|
+
indeterminate: { type: Boolean, required: false },
|
|
29181
|
+
disabled: { type: Boolean, required: false },
|
|
29182
|
+
checked: { type: Boolean, required: false },
|
|
29183
|
+
name: { type: String, required: false },
|
|
29184
|
+
trueValue: { type: [String, Number], required: false },
|
|
29185
|
+
falseValue: { type: [String, Number], required: false },
|
|
29186
|
+
trueLabel: { type: [String, Number], required: false },
|
|
29187
|
+
falseLabel: { type: [String, Number], required: false },
|
|
29188
|
+
id: { type: String, required: false },
|
|
29189
|
+
border: { type: Boolean, required: false },
|
|
29190
|
+
size: { type: null, required: false },
|
|
29191
|
+
tabindex: { type: [String, Number], required: false },
|
|
29192
|
+
validateEvent: { type: Boolean, required: false },
|
|
29193
|
+
ariaLabel: { type: String, required: false },
|
|
29194
|
+
ariaControls: { type: String, required: false }
|
|
29195
|
+
}, checkboxPropsDefaults),
|
|
28984
29196
|
emits: checkboxEmits,
|
|
28985
29197
|
setup(__props) {
|
|
28986
29198
|
const props = __props;
|
|
@@ -29038,8 +29250,8 @@
|
|
|
29038
29250
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(model) ? model.value = $event : null),
|
|
29039
29251
|
class: vue.unref(ns).be("button", "original"),
|
|
29040
29252
|
type: "checkbox",
|
|
29041
|
-
name:
|
|
29042
|
-
tabindex:
|
|
29253
|
+
name: __props.name,
|
|
29254
|
+
tabindex: __props.tabindex,
|
|
29043
29255
|
disabled: vue.unref(isDisabled)
|
|
29044
29256
|
}, inputBindings.value, {
|
|
29045
29257
|
onChange: _cache[1] || (_cache[1] = //@ts-ignore
|
|
@@ -29051,7 +29263,7 @@
|
|
|
29051
29263
|
}), null, 16, _hoisted_1$_), [
|
|
29052
29264
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
29053
29265
|
]),
|
|
29054
|
-
_ctx.$slots.default ||
|
|
29266
|
+
_ctx.$slots.default || __props.label ? (vue.openBlock(), vue.createElementBlock(
|
|
29055
29267
|
"span",
|
|
29056
29268
|
{
|
|
29057
29269
|
key: 0,
|
|
@@ -29061,7 +29273,7 @@
|
|
|
29061
29273
|
[
|
|
29062
29274
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
29063
29275
|
vue.createTextVNode(
|
|
29064
|
-
vue.toDisplayString(
|
|
29276
|
+
vue.toDisplayString(__props.label),
|
|
29065
29277
|
1
|
|
29066
29278
|
/* TEXT */
|
|
29067
29279
|
)
|
|
@@ -29156,7 +29368,21 @@
|
|
|
29156
29368
|
name: "ElCheckboxGroup"
|
|
29157
29369
|
},
|
|
29158
29370
|
__name: "checkbox-group",
|
|
29159
|
-
props:
|
|
29371
|
+
props: {
|
|
29372
|
+
modelValue: { type: Array, required: false, default: () => [] },
|
|
29373
|
+
disabled: { type: Boolean, required: false, default: void 0 },
|
|
29374
|
+
min: { type: Number, required: false },
|
|
29375
|
+
max: { type: Number, required: false },
|
|
29376
|
+
size: { type: null, required: false },
|
|
29377
|
+
fill: { type: String, required: false },
|
|
29378
|
+
textColor: { type: String, required: false },
|
|
29379
|
+
tag: { type: String, required: false, default: "div" },
|
|
29380
|
+
validateEvent: { type: Boolean, required: false, default: true },
|
|
29381
|
+
options: { type: Array, required: false },
|
|
29382
|
+
props: { type: Object, required: false, default: () => checkboxDefaultProps },
|
|
29383
|
+
type: { type: String, required: false, default: "checkbox" },
|
|
29384
|
+
ariaLabel: { type: String, required: false }
|
|
29385
|
+
},
|
|
29160
29386
|
emits: checkboxGroupEmits,
|
|
29161
29387
|
setup(__props, { emit: __emit }) {
|
|
29162
29388
|
const props = __props;
|
|
@@ -29219,11 +29445,11 @@
|
|
|
29219
29445
|
);
|
|
29220
29446
|
return (_ctx, _cache) => {
|
|
29221
29447
|
var _a;
|
|
29222
|
-
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
29448
|
+
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.tag), {
|
|
29223
29449
|
id: vue.unref(groupId),
|
|
29224
29450
|
class: vue.normalizeClass(vue.unref(ns).b("group")),
|
|
29225
29451
|
role: "group",
|
|
29226
|
-
"aria-label": !vue.unref(isLabeledByFormItem) ?
|
|
29452
|
+
"aria-label": !vue.unref(isLabeledByFormItem) ? __props.ariaLabel || "checkbox-group" : void 0,
|
|
29227
29453
|
"aria-labelledby": vue.unref(isLabeledByFormItem) ? (_a = vue.unref(formItem)) == null ? void 0 : _a.labelId : void 0
|
|
29228
29454
|
}, {
|
|
29229
29455
|
default: vue.withCtx(() => [
|
|
@@ -29231,7 +29457,7 @@
|
|
|
29231
29457
|
(vue.openBlock(true), vue.createElementBlock(
|
|
29232
29458
|
vue.Fragment,
|
|
29233
29459
|
null,
|
|
29234
|
-
vue.renderList(
|
|
29460
|
+
vue.renderList(__props.options, (item, index) => {
|
|
29235
29461
|
return vue.openBlock(), vue.createBlock(
|
|
29236
29462
|
vue.resolveDynamicComponent(optionComponent.value),
|
|
29237
29463
|
vue.mergeProps({ key: index }, { ref_for: true }, getOptionProps(item)),
|
|
@@ -30533,7 +30759,13 @@
|
|
|
30533
30759
|
name: "ElCascaderPanel"
|
|
30534
30760
|
},
|
|
30535
30761
|
__name: "index",
|
|
30536
|
-
props:
|
|
30762
|
+
props: {
|
|
30763
|
+
border: { type: Boolean, required: false, default: true },
|
|
30764
|
+
renderLabel: { type: Function, required: false },
|
|
30765
|
+
modelValue: { type: [String, Number, Object, Array, null], required: false },
|
|
30766
|
+
options: { type: Array, required: false, default: () => [] },
|
|
30767
|
+
props: { type: Object, required: false, default: () => ({}) }
|
|
30768
|
+
},
|
|
30537
30769
|
emits: cascaderPanelEmits,
|
|
30538
30770
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
30539
30771
|
const props = __props;
|
|
@@ -30836,7 +31068,7 @@
|
|
|
30836
31068
|
return vue.openBlock(), vue.createElementBlock(
|
|
30837
31069
|
"div",
|
|
30838
31070
|
{
|
|
30839
|
-
class: vue.normalizeClass([vue.unref(ns).b("panel"), vue.unref(ns).is("bordered",
|
|
31071
|
+
class: vue.normalizeClass([vue.unref(ns).b("panel"), vue.unref(ns).is("bordered", __props.border)]),
|
|
30840
31072
|
onKeydown: handleKeyDown
|
|
30841
31073
|
},
|
|
30842
31074
|
[
|
|
@@ -31058,7 +31290,48 @@
|
|
|
31058
31290
|
name: "ElCascader"
|
|
31059
31291
|
},
|
|
31060
31292
|
__name: "cascader",
|
|
31061
|
-
props:
|
|
31293
|
+
props: {
|
|
31294
|
+
size: { type: null, required: false },
|
|
31295
|
+
placeholder: { type: String, required: false },
|
|
31296
|
+
disabled: { type: Boolean, required: false, default: void 0 },
|
|
31297
|
+
clearable: { type: Boolean, required: false },
|
|
31298
|
+
clearIcon: { type: null, required: false, default: vue.markRaw(circle_close_default) },
|
|
31299
|
+
filterable: { type: Boolean, required: false },
|
|
31300
|
+
filterMethod: { type: Function, required: false, default: (node, keyword) => node.text.includes(keyword) },
|
|
31301
|
+
separator: { type: String, required: false, default: " / " },
|
|
31302
|
+
showAllLevels: { type: Boolean, required: false, default: true },
|
|
31303
|
+
collapseTags: { type: Boolean, required: false },
|
|
31304
|
+
maxCollapseTags: { type: Number, required: false, default: 1 },
|
|
31305
|
+
collapseTagsTooltip: { type: Boolean, required: false },
|
|
31306
|
+
maxCollapseTagsTooltipHeight: { type: [String, Number], required: false },
|
|
31307
|
+
debounce: { type: Number, required: false, default: 300 },
|
|
31308
|
+
beforeFilter: { type: Function, required: false, default: () => true },
|
|
31309
|
+
placement: { type: String, required: false, default: "bottom-start" },
|
|
31310
|
+
fallbackPlacements: { type: Array, required: false, default: () => [
|
|
31311
|
+
"bottom-start",
|
|
31312
|
+
"bottom",
|
|
31313
|
+
"top-start",
|
|
31314
|
+
"top",
|
|
31315
|
+
"right",
|
|
31316
|
+
"left"
|
|
31317
|
+
] },
|
|
31318
|
+
popperClass: { type: [String, Object, Array], required: false },
|
|
31319
|
+
popperStyle: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true, default: void 0 },
|
|
31320
|
+
teleported: { type: Boolean, required: false, default: true },
|
|
31321
|
+
effect: { type: null, required: false, default: "light" },
|
|
31322
|
+
tagType: { type: String, required: false, default: "info" },
|
|
31323
|
+
tagEffect: { type: String, required: false, default: "light" },
|
|
31324
|
+
validateEvent: { type: Boolean, required: false, default: true },
|
|
31325
|
+
persistent: { type: Boolean, required: false, default: true },
|
|
31326
|
+
showCheckedStrategy: { type: String, required: false, default: "child" },
|
|
31327
|
+
checkOnClickNode: { type: Boolean, required: false },
|
|
31328
|
+
showPrefix: { type: Boolean, required: false, default: true },
|
|
31329
|
+
modelValue: { type: [String, Number, Object, Array, null], required: false },
|
|
31330
|
+
options: { type: Array, required: false, default: () => [] },
|
|
31331
|
+
props: { type: Object, required: false, default: () => ({}) },
|
|
31332
|
+
emptyValues: { type: Array, required: false },
|
|
31333
|
+
valueOnClear: { type: [String, Number, Boolean, Function, null], required: false, default: void 0 }
|
|
31334
|
+
},
|
|
31062
31335
|
emits: cascaderEmits,
|
|
31063
31336
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
31064
31337
|
const popperOptions = {
|
|
@@ -31538,18 +31811,18 @@
|
|
|
31538
31811
|
ref_key: "tooltipRef",
|
|
31539
31812
|
ref: tooltipRef,
|
|
31540
31813
|
visible: popperVisible.value,
|
|
31541
|
-
teleported:
|
|
31542
|
-
"popper-class": [vue.unref(nsCascader).e("dropdown"),
|
|
31543
|
-
"popper-style":
|
|
31814
|
+
teleported: __props.teleported,
|
|
31815
|
+
"popper-class": [vue.unref(nsCascader).e("dropdown"), __props.popperClass],
|
|
31816
|
+
"popper-style": __props.popperStyle,
|
|
31544
31817
|
"popper-options": popperOptions,
|
|
31545
|
-
"fallback-placements":
|
|
31818
|
+
"fallback-placements": __props.fallbackPlacements,
|
|
31546
31819
|
"stop-popper-mouse-event": false,
|
|
31547
31820
|
"gpu-acceleration": false,
|
|
31548
|
-
placement:
|
|
31821
|
+
placement: __props.placement,
|
|
31549
31822
|
transition: `${vue.unref(nsCascader).namespace.value}-zoom-in-top`,
|
|
31550
|
-
effect:
|
|
31823
|
+
effect: __props.effect,
|
|
31551
31824
|
pure: "",
|
|
31552
|
-
persistent:
|
|
31825
|
+
persistent: __props.persistent,
|
|
31553
31826
|
onHide: hideSuggestionPanel
|
|
31554
31827
|
}, {
|
|
31555
31828
|
default: vue.withCtx(() => [
|
|
@@ -31577,7 +31850,7 @@
|
|
|
31577
31850
|
"validate-event": false,
|
|
31578
31851
|
size: vue.unref(realSize),
|
|
31579
31852
|
class: vue.normalizeClass(inputClass.value),
|
|
31580
|
-
tabindex: multiple.value &&
|
|
31853
|
+
tabindex: multiple.value && __props.filterable && !vue.unref(isDisabled) ? -1 : void 0,
|
|
31581
31854
|
onCompositionstart: vue.unref(handleComposition),
|
|
31582
31855
|
onCompositionupdate: vue.unref(handleComposition),
|
|
31583
31856
|
onCompositionend: vue.unref(handleComposition),
|
|
@@ -31590,7 +31863,7 @@
|
|
|
31590
31863
|
onClick: vue.withModifiers(handleClear, ["stop"])
|
|
31591
31864
|
}, {
|
|
31592
31865
|
default: vue.withCtx(() => [
|
|
31593
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
31866
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.clearIcon)))
|
|
31594
31867
|
]),
|
|
31595
31868
|
_: 1
|
|
31596
31869
|
/* STABLE */
|
|
@@ -31639,9 +31912,9 @@
|
|
|
31639
31912
|
vue.renderList(showTagList.value, (tag) => {
|
|
31640
31913
|
return vue.openBlock(), vue.createBlock(vue.unref(ElTag), {
|
|
31641
31914
|
key: tag.key,
|
|
31642
|
-
type:
|
|
31915
|
+
type: __props.tagType,
|
|
31643
31916
|
size: tagSize.value,
|
|
31644
|
-
effect:
|
|
31917
|
+
effect: __props.tagEffect,
|
|
31645
31918
|
hit: tag.hitState,
|
|
31646
31919
|
closable: tag.closable,
|
|
31647
31920
|
"disable-transitions": "",
|
|
@@ -31664,24 +31937,24 @@
|
|
|
31664
31937
|
/* KEYED_FRAGMENT */
|
|
31665
31938
|
))
|
|
31666
31939
|
]),
|
|
31667
|
-
|
|
31940
|
+
__props.collapseTags && tags.value.length > __props.maxCollapseTags ? (vue.openBlock(), vue.createBlock(vue.unref(ElTooltip), {
|
|
31668
31941
|
key: 0,
|
|
31669
31942
|
ref_key: "tagTooltipRef",
|
|
31670
31943
|
ref: tagTooltipRef,
|
|
31671
|
-
disabled: popperVisible.value || !
|
|
31944
|
+
disabled: popperVisible.value || !__props.collapseTagsTooltip,
|
|
31672
31945
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
31673
31946
|
placement: "bottom",
|
|
31674
|
-
"popper-class":
|
|
31675
|
-
"popper-style":
|
|
31676
|
-
effect:
|
|
31677
|
-
persistent:
|
|
31947
|
+
"popper-class": __props.popperClass,
|
|
31948
|
+
"popper-style": __props.popperStyle,
|
|
31949
|
+
effect: __props.effect,
|
|
31950
|
+
persistent: __props.persistent
|
|
31678
31951
|
}, {
|
|
31679
31952
|
default: vue.withCtx(() => [
|
|
31680
31953
|
vue.createVNode(vue.unref(ElTag), {
|
|
31681
31954
|
closable: false,
|
|
31682
31955
|
size: tagSize.value,
|
|
31683
|
-
type:
|
|
31684
|
-
effect:
|
|
31956
|
+
type: __props.tagType,
|
|
31957
|
+
effect: __props.tagEffect,
|
|
31685
31958
|
"disable-transitions": ""
|
|
31686
31959
|
}, {
|
|
31687
31960
|
default: vue.withCtx(() => [
|
|
@@ -31690,7 +31963,7 @@
|
|
|
31690
31963
|
{
|
|
31691
31964
|
class: vue.normalizeClass(vue.unref(nsCascader).e("tags-text"))
|
|
31692
31965
|
},
|
|
31693
|
-
" + " + vue.toDisplayString(tags.value.length -
|
|
31966
|
+
" + " + vue.toDisplayString(tags.value.length - __props.maxCollapseTags),
|
|
31694
31967
|
3
|
|
31695
31968
|
/* TEXT, CLASS */
|
|
31696
31969
|
)
|
|
@@ -31700,7 +31973,7 @@
|
|
|
31700
31973
|
}, 8, ["size", "type", "effect"])
|
|
31701
31974
|
]),
|
|
31702
31975
|
content: vue.withCtx(() => [
|
|
31703
|
-
vue.createVNode(vue.unref(ElScrollbar), { "max-height":
|
|
31976
|
+
vue.createVNode(vue.unref(ElScrollbar), { "max-height": __props.maxCollapseTagsTooltipHeight }, {
|
|
31704
31977
|
default: vue.withCtx(() => [
|
|
31705
31978
|
vue.createElementVNode(
|
|
31706
31979
|
"div",
|
|
@@ -31722,9 +31995,9 @@
|
|
|
31722
31995
|
(vue.openBlock(), vue.createBlock(vue.unref(ElTag), {
|
|
31723
31996
|
key: tag.key,
|
|
31724
31997
|
class: "in-tooltip",
|
|
31725
|
-
type:
|
|
31998
|
+
type: __props.tagType,
|
|
31726
31999
|
size: tagSize.value,
|
|
31727
|
-
effect:
|
|
32000
|
+
effect: __props.tagEffect,
|
|
31728
32001
|
hit: tag.hitState,
|
|
31729
32002
|
closable: tag.closable,
|
|
31730
32003
|
"disable-transitions": "",
|
|
@@ -31762,7 +32035,7 @@
|
|
|
31762
32035
|
_: 1
|
|
31763
32036
|
/* STABLE */
|
|
31764
32037
|
}, 8, ["disabled", "popper-class", "popper-style", "effect", "persistent"])) : vue.createCommentVNode("v-if", true),
|
|
31765
|
-
|
|
32038
|
+
__props.filterable && !vue.unref(isDisabled) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
31766
32039
|
key: 1,
|
|
31767
32040
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchInputValue.value = $event),
|
|
31768
32041
|
type: "text",
|
|
@@ -31811,7 +32084,7 @@
|
|
|
31811
32084
|
ref: cascaderPanelRef,
|
|
31812
32085
|
modelValue: checkedValue.value,
|
|
31813
32086
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => checkedValue.value = $event),
|
|
31814
|
-
options:
|
|
32087
|
+
options: __props.options,
|
|
31815
32088
|
props: props.props,
|
|
31816
32089
|
border: false,
|
|
31817
32090
|
"render-label": _ctx.$slots.default,
|
|
@@ -31826,7 +32099,7 @@
|
|
|
31826
32099
|
}, 8, ["modelValue", "options", "props", "render-label"]), [
|
|
31827
32100
|
[vue.vShow, !filtering.value]
|
|
31828
32101
|
]),
|
|
31829
|
-
|
|
32102
|
+
__props.filterable ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(ElScrollbar), {
|
|
31830
32103
|
key: 1,
|
|
31831
32104
|
ref_key: "suggestionPanel",
|
|
31832
32105
|
ref: suggestionPanel,
|
|
@@ -33859,6 +34132,17 @@
|
|
|
33859
34132
|
blur: (evt) => evt instanceof FocusEvent,
|
|
33860
34133
|
clear: () => true
|
|
33861
34134
|
};
|
|
34135
|
+
const colorPickerPropsDefaults = {
|
|
34136
|
+
persistent: true,
|
|
34137
|
+
modelValue: void 0,
|
|
34138
|
+
disabled: void 0,
|
|
34139
|
+
clearable: true,
|
|
34140
|
+
popperStyle: void 0,
|
|
34141
|
+
tabindex: 0,
|
|
34142
|
+
teleported: true,
|
|
34143
|
+
validateEvent: true,
|
|
34144
|
+
valueOnClear: void 0
|
|
34145
|
+
};
|
|
33862
34146
|
|
|
33863
34147
|
const _hoisted_1$P = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
|
|
33864
34148
|
var _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -33866,7 +34150,26 @@
|
|
|
33866
34150
|
name: "ElColorPicker"
|
|
33867
34151
|
},
|
|
33868
34152
|
__name: "color-picker",
|
|
33869
|
-
props:
|
|
34153
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
34154
|
+
persistent: { type: Boolean, required: false },
|
|
34155
|
+
modelValue: { type: [String, null], required: false },
|
|
34156
|
+
id: { type: String, required: false },
|
|
34157
|
+
showAlpha: { type: Boolean, required: false },
|
|
34158
|
+
colorFormat: { type: String, required: false },
|
|
34159
|
+
disabled: { type: Boolean, required: false },
|
|
34160
|
+
clearable: { type: Boolean, required: false },
|
|
34161
|
+
size: { type: null, required: false },
|
|
34162
|
+
popperClass: { type: null, required: false },
|
|
34163
|
+
popperStyle: { type: null, required: false },
|
|
34164
|
+
tabindex: { type: [String, Number], required: false },
|
|
34165
|
+
teleported: { type: Boolean, required: false },
|
|
34166
|
+
appendTo: { type: null, required: false },
|
|
34167
|
+
predefine: { type: Array, required: false },
|
|
34168
|
+
validateEvent: { type: Boolean, required: false },
|
|
34169
|
+
emptyValues: { type: Array, required: false },
|
|
34170
|
+
valueOnClear: { type: [String, Number, Boolean, Function, null], required: false },
|
|
34171
|
+
ariaLabel: { type: String, required: false }
|
|
34172
|
+
}, colorPickerPropsDefaults),
|
|
33870
34173
|
emits: colorPickerEmits,
|
|
33871
34174
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
33872
34175
|
const props = __props;
|
|
@@ -34098,18 +34401,18 @@
|
|
|
34098
34401
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
34099
34402
|
offset: 0,
|
|
34100
34403
|
"gpu-acceleration": false,
|
|
34101
|
-
"popper-class": [vue.unref(ns).be("picker", "panel"),
|
|
34102
|
-
"popper-style":
|
|
34404
|
+
"popper-class": [vue.unref(ns).be("picker", "panel"), __props.popperClass],
|
|
34405
|
+
"popper-style": __props.popperStyle,
|
|
34103
34406
|
"stop-popper-mouse-event": false,
|
|
34104
34407
|
pure: "",
|
|
34105
34408
|
loop: "",
|
|
34106
34409
|
role: "dialog",
|
|
34107
34410
|
effect: "light",
|
|
34108
34411
|
trigger: "click",
|
|
34109
|
-
teleported:
|
|
34412
|
+
teleported: __props.teleported,
|
|
34110
34413
|
transition: `${vue.unref(ns).namespace.value}-zoom-in-top`,
|
|
34111
|
-
persistent:
|
|
34112
|
-
"append-to":
|
|
34414
|
+
persistent: __props.persistent,
|
|
34415
|
+
"append-to": __props.appendTo,
|
|
34113
34416
|
onShow: handleShowTooltip,
|
|
34114
34417
|
onHide: _cache[2] || (_cache[2] = ($event) => setShowPicker(false))
|
|
34115
34418
|
}, {
|
|
@@ -34127,7 +34430,7 @@
|
|
|
34127
34430
|
{
|
|
34128
34431
|
footer: vue.withCtx(() => [
|
|
34129
34432
|
vue.createElementVNode("div", null, [
|
|
34130
|
-
|
|
34433
|
+
__props.clearable ? (vue.openBlock(), vue.createBlock(vue.unref(ElButton), {
|
|
34131
34434
|
key: 0,
|
|
34132
34435
|
class: vue.normalizeClass(vue.unref(ns).be("footer", "link-btn")),
|
|
34133
34436
|
text: "",
|
|
@@ -34181,9 +34484,9 @@
|
|
|
34181
34484
|
role: "button",
|
|
34182
34485
|
"aria-label": buttonAriaLabel.value,
|
|
34183
34486
|
"aria-labelledby": buttonAriaLabelledby.value,
|
|
34184
|
-
"aria-description": vue.unref(t)("el.colorpicker.description", { color:
|
|
34487
|
+
"aria-description": vue.unref(t)("el.colorpicker.description", { color: __props.modelValue || "" }),
|
|
34185
34488
|
"aria-disabled": vue.unref(colorDisabled),
|
|
34186
|
-
tabindex: vue.unref(colorDisabled) ? void 0 :
|
|
34489
|
+
tabindex: vue.unref(colorDisabled) ? void 0 : __props.tabindex,
|
|
34187
34490
|
onKeydown: handleKeyDown,
|
|
34188
34491
|
onFocus: _cache[0] || (_cache[0] = //@ts-ignore
|
|
34189
34492
|
(...args) => vue.unref(handleFocus) && vue.unref(handleFocus)(...args)),
|
|
@@ -34200,7 +34503,7 @@
|
|
|
34200
34503
|
vue.createElementVNode(
|
|
34201
34504
|
"span",
|
|
34202
34505
|
{
|
|
34203
|
-
class: vue.normalizeClass([vue.unref(ns).be("picker", "color"), vue.unref(ns).is("alpha",
|
|
34506
|
+
class: vue.normalizeClass([vue.unref(ns).be("picker", "color"), vue.unref(ns).is("alpha", __props.showAlpha)])
|
|
34204
34507
|
},
|
|
34205
34508
|
[
|
|
34206
34509
|
vue.createElementVNode(
|
|
@@ -34221,7 +34524,7 @@
|
|
|
34221
34524
|
_: 1
|
|
34222
34525
|
/* STABLE */
|
|
34223
34526
|
}, 8, ["class"]), [
|
|
34224
|
-
[vue.vShow,
|
|
34527
|
+
[vue.vShow, __props.modelValue || showPanelColor.value]
|
|
34225
34528
|
]),
|
|
34226
34529
|
vue.withDirectives(vue.createVNode(vue.unref(ElIcon), {
|
|
34227
34530
|
class: vue.normalizeClass([vue.unref(ns).be("picker", "empty"), vue.unref(ns).is("icon-close")])
|
|
@@ -34232,7 +34535,7 @@
|
|
|
34232
34535
|
_: 1
|
|
34233
34536
|
/* STABLE */
|
|
34234
34537
|
}, 8, ["class"]), [
|
|
34235
|
-
[vue.vShow, !
|
|
34538
|
+
[vue.vShow, !__props.modelValue && !showPanelColor.value]
|
|
34236
34539
|
])
|
|
34237
34540
|
],
|
|
34238
34541
|
6
|
|
@@ -39649,6 +39952,14 @@
|
|
|
39649
39952
|
const dialogContentEmits = {
|
|
39650
39953
|
close: () => true
|
|
39651
39954
|
};
|
|
39955
|
+
const dialogContentPropsDefaults = {
|
|
39956
|
+
alignCenter: void 0,
|
|
39957
|
+
draggable: void 0,
|
|
39958
|
+
overflow: void 0,
|
|
39959
|
+
showClose: true,
|
|
39960
|
+
title: "",
|
|
39961
|
+
ariaLevel: "2"
|
|
39962
|
+
};
|
|
39652
39963
|
|
|
39653
39964
|
const _hoisted_1$G = ["aria-level"];
|
|
39654
39965
|
const _hoisted_2$p = ["aria-label"];
|
|
@@ -39656,7 +39967,20 @@
|
|
|
39656
39967
|
var _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
39657
39968
|
...{ name: "ElDialogContent" },
|
|
39658
39969
|
__name: "dialog-content",
|
|
39659
|
-
props:
|
|
39970
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
39971
|
+
center: { type: Boolean, required: false },
|
|
39972
|
+
alignCenter: { type: Boolean, required: false },
|
|
39973
|
+
closeIcon: { type: null, required: false },
|
|
39974
|
+
draggable: { type: Boolean, required: false },
|
|
39975
|
+
overflow: { type: Boolean, required: false },
|
|
39976
|
+
fullscreen: { type: Boolean, required: false },
|
|
39977
|
+
headerClass: { type: String, required: false },
|
|
39978
|
+
bodyClass: { type: String, required: false },
|
|
39979
|
+
footerClass: { type: String, required: false },
|
|
39980
|
+
showClose: { type: Boolean, required: false },
|
|
39981
|
+
title: { type: String, required: false },
|
|
39982
|
+
ariaLevel: { type: String, required: false }
|
|
39983
|
+
}, dialogContentPropsDefaults),
|
|
39660
39984
|
emits: dialogContentEmits,
|
|
39661
39985
|
setup(__props, { expose: __expose }) {
|
|
39662
39986
|
const { t } = useLocale();
|
|
@@ -39700,17 +40024,17 @@
|
|
|
39700
40024
|
{
|
|
39701
40025
|
ref_key: "headerRef",
|
|
39702
40026
|
ref: headerRef,
|
|
39703
|
-
class: vue.normalizeClass([vue.unref(ns).e("header"),
|
|
40027
|
+
class: vue.normalizeClass([vue.unref(ns).e("header"), __props.headerClass, { "show-close": __props.showClose }])
|
|
39704
40028
|
},
|
|
39705
40029
|
[
|
|
39706
40030
|
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
39707
40031
|
vue.createElementVNode("span", {
|
|
39708
40032
|
role: "heading",
|
|
39709
|
-
"aria-level":
|
|
40033
|
+
"aria-level": __props.ariaLevel,
|
|
39710
40034
|
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
39711
|
-
}, vue.toDisplayString(
|
|
40035
|
+
}, vue.toDisplayString(__props.title), 11, _hoisted_1$G)
|
|
39712
40036
|
]),
|
|
39713
|
-
|
|
40037
|
+
__props.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
39714
40038
|
key: 0,
|
|
39715
40039
|
"aria-label": vue.unref(t)("el.dialog.close"),
|
|
39716
40040
|
class: vue.normalizeClass(vue.unref(ns).e("headerbtn")),
|
|
@@ -39721,7 +40045,7 @@
|
|
|
39721
40045
|
class: vue.normalizeClass(vue.unref(ns).e("close"))
|
|
39722
40046
|
}, {
|
|
39723
40047
|
default: vue.withCtx(() => [
|
|
39724
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
40048
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.closeIcon || vue.unref(Close))))
|
|
39725
40049
|
]),
|
|
39726
40050
|
_: 1
|
|
39727
40051
|
/* STABLE */
|
|
@@ -39733,7 +40057,7 @@
|
|
|
39733
40057
|
),
|
|
39734
40058
|
vue.createElementVNode("div", {
|
|
39735
40059
|
id: vue.unref(bodyId),
|
|
39736
|
-
class: vue.normalizeClass([vue.unref(ns).e("body"),
|
|
40060
|
+
class: vue.normalizeClass([vue.unref(ns).e("body"), __props.bodyClass])
|
|
39737
40061
|
}, [
|
|
39738
40062
|
vue.renderSlot(_ctx.$slots, "default")
|
|
39739
40063
|
], 10, _hoisted_3$a),
|
|
@@ -39741,7 +40065,7 @@
|
|
|
39741
40065
|
"footer",
|
|
39742
40066
|
{
|
|
39743
40067
|
key: 0,
|
|
39744
|
-
class: vue.normalizeClass([vue.unref(ns).e("footer"),
|
|
40068
|
+
class: vue.normalizeClass([vue.unref(ns).e("footer"), __props.footerClass])
|
|
39745
40069
|
},
|
|
39746
40070
|
[
|
|
39747
40071
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
@@ -40149,7 +40473,50 @@
|
|
|
40149
40473
|
inheritAttrs: false
|
|
40150
40474
|
},
|
|
40151
40475
|
__name: "dialog",
|
|
40152
|
-
props:
|
|
40476
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
40477
|
+
appendToBody: { type: Boolean, required: false },
|
|
40478
|
+
appendTo: { type: null, required: false },
|
|
40479
|
+
beforeClose: { type: Function, required: false },
|
|
40480
|
+
destroyOnClose: { type: Boolean, required: false },
|
|
40481
|
+
closeOnClickModal: { type: Boolean, required: false },
|
|
40482
|
+
closeOnPressEscape: { type: Boolean, required: false },
|
|
40483
|
+
lockScroll: { type: Boolean, required: false },
|
|
40484
|
+
modal: { type: Boolean, required: false },
|
|
40485
|
+
modalPenetrable: { type: Boolean, required: false },
|
|
40486
|
+
openDelay: { type: Number, required: false },
|
|
40487
|
+
closeDelay: { type: Number, required: false },
|
|
40488
|
+
top: { type: String, required: false },
|
|
40489
|
+
modelValue: { type: Boolean, required: false },
|
|
40490
|
+
modalClass: { type: String, required: false },
|
|
40491
|
+
width: { type: [String, Number], required: false },
|
|
40492
|
+
zIndex: { type: Number, required: false },
|
|
40493
|
+
trapFocus: { type: Boolean, required: false },
|
|
40494
|
+
headerAriaLevel: { type: String, required: false },
|
|
40495
|
+
transition: { type: [String, Object], required: false },
|
|
40496
|
+
center: { type: Boolean, required: false },
|
|
40497
|
+
alignCenter: { type: Boolean, required: false },
|
|
40498
|
+
closeIcon: { type: null, required: false },
|
|
40499
|
+
draggable: { type: Boolean, required: false },
|
|
40500
|
+
overflow: { type: Boolean, required: false },
|
|
40501
|
+
fullscreen: { type: Boolean, required: false },
|
|
40502
|
+
headerClass: { type: String, required: false },
|
|
40503
|
+
bodyClass: { type: String, required: false },
|
|
40504
|
+
footerClass: { type: String, required: false },
|
|
40505
|
+
showClose: { type: Boolean, required: false },
|
|
40506
|
+
title: { type: String, required: false },
|
|
40507
|
+
ariaLevel: { type: String, required: false }
|
|
40508
|
+
}, {
|
|
40509
|
+
...dialogContentPropsDefaults,
|
|
40510
|
+
appendTo: "body",
|
|
40511
|
+
closeOnClickModal: true,
|
|
40512
|
+
closeOnPressEscape: true,
|
|
40513
|
+
lockScroll: true,
|
|
40514
|
+
modal: true,
|
|
40515
|
+
openDelay: 0,
|
|
40516
|
+
closeDelay: 0,
|
|
40517
|
+
headerAriaLevel: "2",
|
|
40518
|
+
transition: void 0
|
|
40519
|
+
}),
|
|
40153
40520
|
emits: dialogEmits,
|
|
40154
40521
|
setup(__props, { expose: __expose }) {
|
|
40155
40522
|
const props = __props;
|
|
@@ -40213,8 +40580,8 @@
|
|
|
40213
40580
|
});
|
|
40214
40581
|
return (_ctx, _cache) => {
|
|
40215
40582
|
return vue.openBlock(), vue.createBlock(vue.unref(ElTeleport), {
|
|
40216
|
-
to:
|
|
40217
|
-
disabled:
|
|
40583
|
+
to: __props.appendTo,
|
|
40584
|
+
disabled: __props.appendTo !== "body" ? false : !__props.appendToBody
|
|
40218
40585
|
}, {
|
|
40219
40586
|
default: vue.withCtx(() => [
|
|
40220
40587
|
vue.createVNode(
|
|
@@ -40226,9 +40593,9 @@
|
|
|
40226
40593
|
return [
|
|
40227
40594
|
vue.withDirectives(vue.createVNode(vue.unref(ElOverlay), {
|
|
40228
40595
|
"custom-mask-event": "",
|
|
40229
|
-
mask:
|
|
40596
|
+
mask: __props.modal,
|
|
40230
40597
|
"overlay-class": [
|
|
40231
|
-
(_a =
|
|
40598
|
+
(_a = __props.modalClass) != null ? _a : "",
|
|
40232
40599
|
`${vue.unref(ns).namespace.value}-modal-dialog`,
|
|
40233
40600
|
vue.unref(ns).is("penetrable", penetrable.value)
|
|
40234
40601
|
],
|
|
@@ -40238,8 +40605,8 @@
|
|
|
40238
40605
|
vue.createElementVNode("div", {
|
|
40239
40606
|
role: "dialog",
|
|
40240
40607
|
"aria-modal": "true",
|
|
40241
|
-
"aria-label":
|
|
40242
|
-
"aria-labelledby": !
|
|
40608
|
+
"aria-label": __props.title || void 0,
|
|
40609
|
+
"aria-labelledby": !__props.title ? vue.unref(titleId) : void 0,
|
|
40243
40610
|
"aria-describedby": vue.unref(bodyId),
|
|
40244
40611
|
class: vue.normalizeClass([
|
|
40245
40612
|
`${vue.unref(ns).namespace.value}-overlay-dialog`,
|
|
@@ -40268,18 +40635,18 @@
|
|
|
40268
40635
|
ref_key: "dialogContentRef",
|
|
40269
40636
|
ref: dialogContentRef
|
|
40270
40637
|
}, _ctx.$attrs, {
|
|
40271
|
-
center:
|
|
40638
|
+
center: __props.center,
|
|
40272
40639
|
"align-center": vue.unref(_alignCenter),
|
|
40273
|
-
"close-icon":
|
|
40640
|
+
"close-icon": __props.closeIcon,
|
|
40274
40641
|
draggable: vue.unref(_draggable),
|
|
40275
40642
|
overflow: vue.unref(_overflow),
|
|
40276
|
-
fullscreen:
|
|
40277
|
-
"header-class":
|
|
40278
|
-
"body-class":
|
|
40279
|
-
"footer-class":
|
|
40280
|
-
"show-close":
|
|
40281
|
-
title:
|
|
40282
|
-
"aria-level":
|
|
40643
|
+
fullscreen: __props.fullscreen,
|
|
40644
|
+
"header-class": __props.headerClass,
|
|
40645
|
+
"body-class": __props.bodyClass,
|
|
40646
|
+
"footer-class": __props.footerClass,
|
|
40647
|
+
"show-close": __props.showClose,
|
|
40648
|
+
title: __props.title,
|
|
40649
|
+
"aria-level": __props.headerAriaLevel,
|
|
40283
40650
|
onClose: vue.unref(handleClose)
|
|
40284
40651
|
}), vue.createSlots({
|
|
40285
40652
|
header: vue.withCtx(() => [
|
|
@@ -47337,7 +47704,23 @@
|
|
|
47337
47704
|
name: "ElPopconfirm"
|
|
47338
47705
|
},
|
|
47339
47706
|
__name: "popconfirm",
|
|
47340
|
-
props:
|
|
47707
|
+
props: {
|
|
47708
|
+
title: { type: String, required: false },
|
|
47709
|
+
confirmButtonText: { type: String, required: false },
|
|
47710
|
+
cancelButtonText: { type: String, required: false },
|
|
47711
|
+
confirmButtonType: { type: null, required: false, default: "primary" },
|
|
47712
|
+
cancelButtonType: { type: null, required: false, default: "text" },
|
|
47713
|
+
icon: { type: null, required: false, default: () => question_filled_default },
|
|
47714
|
+
iconColor: { type: String, required: false, default: "#f90" },
|
|
47715
|
+
hideIcon: { type: Boolean, required: false },
|
|
47716
|
+
hideAfter: { type: Number, required: false, default: 200 },
|
|
47717
|
+
effect: { type: null, required: false, default: "light" },
|
|
47718
|
+
teleported: { type: Boolean, required: false, default: true },
|
|
47719
|
+
persistent: { type: Boolean, required: false },
|
|
47720
|
+
width: { type: [String, Number], required: false, default: 150 },
|
|
47721
|
+
virtualTriggering: { type: Boolean, required: false },
|
|
47722
|
+
virtualRef: { type: null, required: false }
|
|
47723
|
+
},
|
|
47341
47724
|
emits: popconfirmEmits,
|
|
47342
47725
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
47343
47726
|
const props = __props;
|
|
@@ -47386,16 +47769,16 @@
|
|
|
47386
47769
|
ref_key: "tooltipRef",
|
|
47387
47770
|
ref: tooltipRef,
|
|
47388
47771
|
trigger: "click",
|
|
47389
|
-
effect:
|
|
47772
|
+
effect: __props.effect
|
|
47390
47773
|
}, _ctx.$attrs, {
|
|
47391
|
-
"virtual-triggering":
|
|
47392
|
-
"virtual-ref":
|
|
47774
|
+
"virtual-triggering": __props.virtualTriggering,
|
|
47775
|
+
"virtual-ref": __props.virtualRef,
|
|
47393
47776
|
"popper-class": `${vue.unref(ns).namespace.value}-popover`,
|
|
47394
47777
|
"popper-style": style.value,
|
|
47395
|
-
teleported:
|
|
47778
|
+
teleported: __props.teleported,
|
|
47396
47779
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
47397
|
-
"hide-after":
|
|
47398
|
-
persistent:
|
|
47780
|
+
"hide-after": __props.hideAfter,
|
|
47781
|
+
persistent: __props.persistent,
|
|
47399
47782
|
loop: "",
|
|
47400
47783
|
onShow: showPopper
|
|
47401
47784
|
}), {
|
|
@@ -47415,19 +47798,19 @@
|
|
|
47415
47798
|
class: vue.normalizeClass(vue.unref(ns).e("main"))
|
|
47416
47799
|
},
|
|
47417
47800
|
[
|
|
47418
|
-
!
|
|
47801
|
+
!__props.hideIcon && __props.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
47419
47802
|
key: 0,
|
|
47420
47803
|
class: vue.normalizeClass(vue.unref(ns).e("icon")),
|
|
47421
|
-
style: vue.normalizeStyle({ color:
|
|
47804
|
+
style: vue.normalizeStyle({ color: __props.iconColor })
|
|
47422
47805
|
}, {
|
|
47423
47806
|
default: vue.withCtx(() => [
|
|
47424
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
47807
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.icon)))
|
|
47425
47808
|
]),
|
|
47426
47809
|
_: 1
|
|
47427
47810
|
/* STABLE */
|
|
47428
47811
|
}, 8, ["class", "style"])) : vue.createCommentVNode("v-if", true),
|
|
47429
47812
|
vue.createTextVNode(
|
|
47430
|
-
" " + vue.toDisplayString(
|
|
47813
|
+
" " + vue.toDisplayString(__props.title),
|
|
47431
47814
|
1
|
|
47432
47815
|
/* TEXT */
|
|
47433
47816
|
)
|
|
@@ -47447,8 +47830,8 @@
|
|
|
47447
47830
|
}, () => [
|
|
47448
47831
|
vue.createVNode(vue.unref(ElButton), {
|
|
47449
47832
|
size: "small",
|
|
47450
|
-
type:
|
|
47451
|
-
text:
|
|
47833
|
+
type: __props.cancelButtonType === "text" ? "" : __props.cancelButtonType,
|
|
47834
|
+
text: __props.cancelButtonType === "text",
|
|
47452
47835
|
onClick: cancel
|
|
47453
47836
|
}, {
|
|
47454
47837
|
default: vue.withCtx(() => [
|
|
@@ -47463,8 +47846,8 @@
|
|
|
47463
47846
|
}, 8, ["type", "text"]),
|
|
47464
47847
|
vue.createVNode(vue.unref(ElButton), {
|
|
47465
47848
|
size: "small",
|
|
47466
|
-
type:
|
|
47467
|
-
text:
|
|
47849
|
+
type: __props.confirmButtonType === "text" ? "" : __props.confirmButtonType,
|
|
47850
|
+
text: __props.confirmButtonType === "text",
|
|
47468
47851
|
onClick: confirm
|
|
47469
47852
|
}, {
|
|
47470
47853
|
default: vue.withCtx(() => [
|
|
@@ -47627,6 +48010,30 @@
|
|
|
47627
48010
|
"after-enter": () => true,
|
|
47628
48011
|
"after-leave": () => true
|
|
47629
48012
|
};
|
|
48013
|
+
const popoverPropsDefaults = {
|
|
48014
|
+
trigger: "hover",
|
|
48015
|
+
triggerKeys: () => [
|
|
48016
|
+
EVENT_CODE.enter,
|
|
48017
|
+
EVENT_CODE.numpadEnter,
|
|
48018
|
+
EVENT_CODE.space
|
|
48019
|
+
],
|
|
48020
|
+
placement: "bottom",
|
|
48021
|
+
visible: null,
|
|
48022
|
+
popperOptions: () => ({}),
|
|
48023
|
+
tabindex: 0,
|
|
48024
|
+
content: "",
|
|
48025
|
+
popperStyle: void 0,
|
|
48026
|
+
enterable: true,
|
|
48027
|
+
effect: "light",
|
|
48028
|
+
teleported: true,
|
|
48029
|
+
width: 150,
|
|
48030
|
+
offset: void 0,
|
|
48031
|
+
showAfter: 0,
|
|
48032
|
+
hideAfter: 200,
|
|
48033
|
+
autoClose: 0,
|
|
48034
|
+
showArrow: true,
|
|
48035
|
+
persistent: true
|
|
48036
|
+
};
|
|
47630
48037
|
|
|
47631
48038
|
const updateEventKeyRaw = `onUpdate:visible`;
|
|
47632
48039
|
var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -47634,7 +48041,32 @@
|
|
|
47634
48041
|
name: "ElPopover"
|
|
47635
48042
|
},
|
|
47636
48043
|
__name: "popover",
|
|
47637
|
-
props:
|
|
48044
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
48045
|
+
trigger: { type: null, required: false },
|
|
48046
|
+
triggerKeys: { type: Array, required: false },
|
|
48047
|
+
placement: { type: String, required: false },
|
|
48048
|
+
disabled: { type: Boolean, required: false },
|
|
48049
|
+
visible: { type: [Boolean, null], required: false },
|
|
48050
|
+
transition: { type: String, required: false },
|
|
48051
|
+
popperOptions: { type: Object, required: false },
|
|
48052
|
+
tabindex: { type: [String, Number], required: false },
|
|
48053
|
+
content: { type: String, required: false },
|
|
48054
|
+
popperStyle: { type: null, required: false },
|
|
48055
|
+
popperClass: { type: null, required: false },
|
|
48056
|
+
enterable: { type: Boolean, required: false },
|
|
48057
|
+
effect: { type: null, required: false },
|
|
48058
|
+
teleported: { type: Boolean, required: false },
|
|
48059
|
+
appendTo: { type: null, required: false },
|
|
48060
|
+
title: { type: String, required: false },
|
|
48061
|
+
width: { type: [String, Number], required: false },
|
|
48062
|
+
offset: { type: Number, required: false },
|
|
48063
|
+
showAfter: { type: Number, required: false },
|
|
48064
|
+
hideAfter: { type: Number, required: false },
|
|
48065
|
+
autoClose: { type: Number, required: false },
|
|
48066
|
+
showArrow: { type: Boolean, required: false },
|
|
48067
|
+
persistent: { type: Boolean, required: false },
|
|
48068
|
+
"onUpdate:visible": { type: Function, required: false }
|
|
48069
|
+
}, popoverPropsDefaults),
|
|
47638
48070
|
emits: popoverEmits,
|
|
47639
48071
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
47640
48072
|
const props = __props;
|
|
@@ -47690,28 +48122,28 @@
|
|
|
47690
48122
|
ref_key: "tooltipRef",
|
|
47691
48123
|
ref: tooltipRef
|
|
47692
48124
|
}, _ctx.$attrs, {
|
|
47693
|
-
trigger:
|
|
47694
|
-
"trigger-keys":
|
|
47695
|
-
placement:
|
|
47696
|
-
disabled:
|
|
47697
|
-
visible:
|
|
47698
|
-
transition:
|
|
47699
|
-
"popper-options":
|
|
47700
|
-
tabindex:
|
|
47701
|
-
content:
|
|
47702
|
-
offset:
|
|
47703
|
-
"show-after":
|
|
47704
|
-
"hide-after":
|
|
47705
|
-
"auto-close":
|
|
47706
|
-
"show-arrow":
|
|
47707
|
-
"aria-label":
|
|
47708
|
-
effect:
|
|
47709
|
-
enterable:
|
|
48125
|
+
trigger: __props.trigger,
|
|
48126
|
+
"trigger-keys": __props.triggerKeys,
|
|
48127
|
+
placement: __props.placement,
|
|
48128
|
+
disabled: __props.disabled,
|
|
48129
|
+
visible: __props.visible,
|
|
48130
|
+
transition: __props.transition,
|
|
48131
|
+
"popper-options": __props.popperOptions,
|
|
48132
|
+
tabindex: __props.tabindex,
|
|
48133
|
+
content: __props.content,
|
|
48134
|
+
offset: __props.offset,
|
|
48135
|
+
"show-after": __props.showAfter,
|
|
48136
|
+
"hide-after": __props.hideAfter,
|
|
48137
|
+
"auto-close": __props.autoClose,
|
|
48138
|
+
"show-arrow": __props.showArrow,
|
|
48139
|
+
"aria-label": __props.title,
|
|
48140
|
+
effect: __props.effect,
|
|
48141
|
+
enterable: __props.enterable,
|
|
47710
48142
|
"popper-class": kls.value,
|
|
47711
48143
|
"popper-style": style.value,
|
|
47712
|
-
teleported:
|
|
47713
|
-
"append-to":
|
|
47714
|
-
persistent:
|
|
48144
|
+
teleported: __props.teleported,
|
|
48145
|
+
"append-to": __props.appendTo,
|
|
48146
|
+
persistent: __props.persistent,
|
|
47715
48147
|
"gpu-acceleration": gpuAcceleration.value,
|
|
47716
48148
|
"onUpdate:visible": onUpdateVisible.value,
|
|
47717
48149
|
onBeforeShow: beforeEnter,
|
|
@@ -47720,20 +48152,20 @@
|
|
|
47720
48152
|
onHide: afterLeave
|
|
47721
48153
|
}), {
|
|
47722
48154
|
content: vue.withCtx(() => [
|
|
47723
|
-
|
|
48155
|
+
__props.title ? (vue.openBlock(), vue.createElementBlock(
|
|
47724
48156
|
"div",
|
|
47725
48157
|
{
|
|
47726
48158
|
key: 0,
|
|
47727
48159
|
class: vue.normalizeClass(vue.unref(ns).e("title")),
|
|
47728
48160
|
role: "title"
|
|
47729
48161
|
},
|
|
47730
|
-
vue.toDisplayString(
|
|
48162
|
+
vue.toDisplayString(__props.title),
|
|
47731
48163
|
3
|
|
47732
48164
|
/* TEXT, CLASS */
|
|
47733
48165
|
)) : vue.createCommentVNode("v-if", true),
|
|
47734
48166
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
47735
48167
|
vue.createTextVNode(
|
|
47736
|
-
vue.toDisplayString(
|
|
48168
|
+
vue.toDisplayString(__props.content),
|
|
47737
48169
|
1
|
|
47738
48170
|
/* TEXT */
|
|
47739
48171
|
)
|
|
@@ -63748,24 +64180,16 @@
|
|
|
63748
64180
|
|
|
63749
64181
|
const tabsRootContextKey = /* @__PURE__ */ Symbol("tabsRootContextKey");
|
|
63750
64182
|
|
|
63751
|
-
const tabBarProps = buildProps({
|
|
63752
|
-
tabs: {
|
|
63753
|
-
type: definePropType(Array),
|
|
63754
|
-
default: () => mutable([])
|
|
63755
|
-
},
|
|
63756
|
-
tabRefs: {
|
|
63757
|
-
type: definePropType(Object),
|
|
63758
|
-
default: () => mutable({})
|
|
63759
|
-
}
|
|
63760
|
-
});
|
|
63761
|
-
|
|
63762
64183
|
const COMPONENT_NAME$4 = "ElTabBar";
|
|
63763
64184
|
var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
63764
64185
|
...{
|
|
63765
64186
|
name: COMPONENT_NAME$4
|
|
63766
64187
|
},
|
|
63767
64188
|
__name: "tab-bar",
|
|
63768
|
-
props:
|
|
64189
|
+
props: {
|
|
64190
|
+
tabs: { type: Array, required: false, default: () => [] },
|
|
64191
|
+
tabRefs: { type: Object, required: false, default: () => ({}) }
|
|
64192
|
+
},
|
|
63769
64193
|
setup(__props, { expose: __expose }) {
|
|
63770
64194
|
const props = __props;
|
|
63771
64195
|
const rootTabs = vue.inject(tabsRootContextKey);
|
|
@@ -64352,37 +64776,6 @@
|
|
|
64352
64776
|
}
|
|
64353
64777
|
});
|
|
64354
64778
|
|
|
64355
|
-
const tabPaneProps = buildProps({
|
|
64356
|
-
/**
|
|
64357
|
-
* @description title of the tab
|
|
64358
|
-
*/
|
|
64359
|
-
label: {
|
|
64360
|
-
type: String,
|
|
64361
|
-
default: ""
|
|
64362
|
-
},
|
|
64363
|
-
/**
|
|
64364
|
-
* @description identifier corresponding to the name of Tabs, representing the alias of the tab-pane, the default is ordinal number of the tab-pane in the sequence, e.g. the first tab-pane is '0'
|
|
64365
|
-
*/
|
|
64366
|
-
name: {
|
|
64367
|
-
type: [String, Number]
|
|
64368
|
-
},
|
|
64369
|
-
/**
|
|
64370
|
-
* @description whether Tab is closable
|
|
64371
|
-
*/
|
|
64372
|
-
closable: {
|
|
64373
|
-
type: Boolean,
|
|
64374
|
-
default: void 0
|
|
64375
|
-
},
|
|
64376
|
-
/**
|
|
64377
|
-
* @description whether Tab is disabled
|
|
64378
|
-
*/
|
|
64379
|
-
disabled: Boolean,
|
|
64380
|
-
/**
|
|
64381
|
-
* @description whether Tab is lazily rendered
|
|
64382
|
-
*/
|
|
64383
|
-
lazy: Boolean
|
|
64384
|
-
});
|
|
64385
|
-
|
|
64386
64779
|
const _hoisted_1$e = ["id", "aria-hidden", "aria-labelledby"];
|
|
64387
64780
|
const COMPONENT_NAME$2 = "ElTabPane";
|
|
64388
64781
|
var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -64390,7 +64783,13 @@
|
|
|
64390
64783
|
name: COMPONENT_NAME$2
|
|
64391
64784
|
},
|
|
64392
64785
|
__name: "tab-pane",
|
|
64393
|
-
props:
|
|
64786
|
+
props: {
|
|
64787
|
+
label: { type: String, required: false, default: "" },
|
|
64788
|
+
name: { type: [String, Number], required: false },
|
|
64789
|
+
closable: { type: Boolean, required: false, default: void 0 },
|
|
64790
|
+
disabled: { type: Boolean, required: false },
|
|
64791
|
+
lazy: { type: Boolean, required: false }
|
|
64792
|
+
},
|
|
64394
64793
|
setup(__props) {
|
|
64395
64794
|
const props = __props;
|
|
64396
64795
|
const instance = vue.getCurrentInstance();
|
|
@@ -64464,6 +64863,48 @@
|
|
|
64464
64863
|
}
|
|
64465
64864
|
});
|
|
64466
64865
|
|
|
64866
|
+
const tabBarProps = buildProps({
|
|
64867
|
+
tabs: {
|
|
64868
|
+
type: definePropType(Array),
|
|
64869
|
+
default: () => mutable([])
|
|
64870
|
+
},
|
|
64871
|
+
tabRefs: {
|
|
64872
|
+
type: definePropType(Object),
|
|
64873
|
+
default: () => mutable({})
|
|
64874
|
+
}
|
|
64875
|
+
});
|
|
64876
|
+
|
|
64877
|
+
const tabPaneProps = buildProps({
|
|
64878
|
+
/**
|
|
64879
|
+
* @description title of the tab
|
|
64880
|
+
*/
|
|
64881
|
+
label: {
|
|
64882
|
+
type: String,
|
|
64883
|
+
default: ""
|
|
64884
|
+
},
|
|
64885
|
+
/**
|
|
64886
|
+
* @description identifier corresponding to the name of Tabs, representing the alias of the tab-pane, the default is ordinal number of the tab-pane in the sequence, e.g. the first tab-pane is '0'
|
|
64887
|
+
*/
|
|
64888
|
+
name: {
|
|
64889
|
+
type: [String, Number]
|
|
64890
|
+
},
|
|
64891
|
+
/**
|
|
64892
|
+
* @description whether Tab is closable
|
|
64893
|
+
*/
|
|
64894
|
+
closable: {
|
|
64895
|
+
type: Boolean,
|
|
64896
|
+
default: void 0
|
|
64897
|
+
},
|
|
64898
|
+
/**
|
|
64899
|
+
* @description whether Tab is disabled
|
|
64900
|
+
*/
|
|
64901
|
+
disabled: Boolean,
|
|
64902
|
+
/**
|
|
64903
|
+
* @description whether Tab is lazily rendered
|
|
64904
|
+
*/
|
|
64905
|
+
lazy: Boolean
|
|
64906
|
+
});
|
|
64907
|
+
|
|
64467
64908
|
const ElTabs = withInstall(Tabs, {
|
|
64468
64909
|
TabPane: _sfc_main$v
|
|
64469
64910
|
});
|
|
@@ -64575,127 +65016,6 @@
|
|
|
64575
65016
|
|
|
64576
65017
|
const ElText = withInstall(_sfc_main$u);
|
|
64577
65018
|
|
|
64578
|
-
const timeSelectProps = buildProps({
|
|
64579
|
-
/**
|
|
64580
|
-
* @description set format of time
|
|
64581
|
-
*/
|
|
64582
|
-
format: {
|
|
64583
|
-
type: String,
|
|
64584
|
-
default: "HH:mm"
|
|
64585
|
-
},
|
|
64586
|
-
/**
|
|
64587
|
-
* @description binding value
|
|
64588
|
-
*/
|
|
64589
|
-
modelValue: {
|
|
64590
|
-
type: definePropType(String)
|
|
64591
|
-
},
|
|
64592
|
-
/**
|
|
64593
|
-
* @description whether TimeSelect is disabled
|
|
64594
|
-
*/
|
|
64595
|
-
disabled: {
|
|
64596
|
-
type: Boolean,
|
|
64597
|
-
default: void 0
|
|
64598
|
-
},
|
|
64599
|
-
/**
|
|
64600
|
-
* @description whether the input is editable
|
|
64601
|
-
*/
|
|
64602
|
-
editable: {
|
|
64603
|
-
type: Boolean,
|
|
64604
|
-
default: true
|
|
64605
|
-
},
|
|
64606
|
-
/**
|
|
64607
|
-
* @description Tooltip theme, built-in theme: `dark` / `light`
|
|
64608
|
-
*/
|
|
64609
|
-
effect: {
|
|
64610
|
-
type: definePropType(String),
|
|
64611
|
-
default: "light"
|
|
64612
|
-
},
|
|
64613
|
-
/**
|
|
64614
|
-
* @description whether to show clear button
|
|
64615
|
-
*/
|
|
64616
|
-
clearable: {
|
|
64617
|
-
type: Boolean,
|
|
64618
|
-
default: true
|
|
64619
|
-
},
|
|
64620
|
-
/**
|
|
64621
|
-
* @description size of Input
|
|
64622
|
-
*/
|
|
64623
|
-
size: useSizeProp,
|
|
64624
|
-
/**
|
|
64625
|
-
* @description placeholder in non-range mode
|
|
64626
|
-
*/
|
|
64627
|
-
placeholder: String,
|
|
64628
|
-
/**
|
|
64629
|
-
* @description start time
|
|
64630
|
-
*/
|
|
64631
|
-
start: {
|
|
64632
|
-
type: String,
|
|
64633
|
-
default: "09:00"
|
|
64634
|
-
},
|
|
64635
|
-
/**
|
|
64636
|
-
* @description end time
|
|
64637
|
-
*/
|
|
64638
|
-
end: {
|
|
64639
|
-
type: String,
|
|
64640
|
-
default: "18:00"
|
|
64641
|
-
},
|
|
64642
|
-
/**
|
|
64643
|
-
* @description time step
|
|
64644
|
-
*/
|
|
64645
|
-
step: {
|
|
64646
|
-
type: String,
|
|
64647
|
-
default: "00:30"
|
|
64648
|
-
},
|
|
64649
|
-
/**
|
|
64650
|
-
* @description minimum time, any time before this time will be disabled
|
|
64651
|
-
*/
|
|
64652
|
-
minTime: {
|
|
64653
|
-
type: definePropType(String)
|
|
64654
|
-
},
|
|
64655
|
-
/**
|
|
64656
|
-
* @description maximum time, any time after this time will be disabled
|
|
64657
|
-
*/
|
|
64658
|
-
maxTime: {
|
|
64659
|
-
type: definePropType(String)
|
|
64660
|
-
},
|
|
64661
|
-
/**
|
|
64662
|
-
* @description whether `end` is included in options
|
|
64663
|
-
*/
|
|
64664
|
-
includeEndTime: Boolean,
|
|
64665
|
-
/**
|
|
64666
|
-
* @description same as `name` in native input
|
|
64667
|
-
*/
|
|
64668
|
-
name: String,
|
|
64669
|
-
/**
|
|
64670
|
-
* @description custom prefix icon component
|
|
64671
|
-
*/
|
|
64672
|
-
prefixIcon: {
|
|
64673
|
-
type: definePropType([String, Object]),
|
|
64674
|
-
default: () => clock_default
|
|
64675
|
-
},
|
|
64676
|
-
/**
|
|
64677
|
-
* @description custom clear icon component
|
|
64678
|
-
*/
|
|
64679
|
-
clearIcon: {
|
|
64680
|
-
type: definePropType([String, Object]),
|
|
64681
|
-
default: () => circle_close_default
|
|
64682
|
-
},
|
|
64683
|
-
/**
|
|
64684
|
-
* @description custom class name for TimeSelect's dropdown
|
|
64685
|
-
*/
|
|
64686
|
-
popperClass: {
|
|
64687
|
-
type: String,
|
|
64688
|
-
default: ""
|
|
64689
|
-
},
|
|
64690
|
-
/**
|
|
64691
|
-
* @description custom style for TimeSelect's dropdown
|
|
64692
|
-
*/
|
|
64693
|
-
popperStyle: {
|
|
64694
|
-
type: definePropType([String, Object])
|
|
64695
|
-
},
|
|
64696
|
-
...useEmptyValuesProps
|
|
64697
|
-
});
|
|
64698
|
-
|
|
64699
65019
|
const parseTime = (time) => {
|
|
64700
65020
|
const values = (time || "").split(":");
|
|
64701
65021
|
if (values.length >= 2) {
|
|
@@ -64753,7 +65073,29 @@
|
|
|
64753
65073
|
name: "ElTimeSelect"
|
|
64754
65074
|
},
|
|
64755
65075
|
__name: "time-select",
|
|
64756
|
-
props:
|
|
65076
|
+
props: {
|
|
65077
|
+
format: { type: String, required: false, default: "HH:mm" },
|
|
65078
|
+
modelValue: { type: [String, null], required: false },
|
|
65079
|
+
disabled: { type: Boolean, required: false, default: void 0 },
|
|
65080
|
+
editable: { type: Boolean, required: false, default: true },
|
|
65081
|
+
effect: { type: null, required: false, default: "light" },
|
|
65082
|
+
clearable: { type: Boolean, required: false, default: true },
|
|
65083
|
+
size: { type: null, required: false },
|
|
65084
|
+
placeholder: { type: String, required: false },
|
|
65085
|
+
start: { type: String, required: false, default: "09:00" },
|
|
65086
|
+
end: { type: String, required: false, default: "18:00" },
|
|
65087
|
+
step: { type: String, required: false, default: "00:30" },
|
|
65088
|
+
minTime: { type: [String, null], required: false },
|
|
65089
|
+
maxTime: { type: [String, null], required: false },
|
|
65090
|
+
includeEndTime: { type: Boolean, required: false },
|
|
65091
|
+
name: { type: String, required: false },
|
|
65092
|
+
prefixIcon: { type: null, required: false, default: () => clock_default },
|
|
65093
|
+
clearIcon: { type: null, required: false, default: () => circle_close_default },
|
|
65094
|
+
popperClass: { type: String, required: false, default: "" },
|
|
65095
|
+
popperStyle: { type: [String, Object], required: false, default: void 0 },
|
|
65096
|
+
emptyValues: { type: Array, required: false },
|
|
65097
|
+
valueOnClear: { type: [String, Number, Boolean, Function, null], required: false, default: void 0 }
|
|
65098
|
+
},
|
|
64757
65099
|
emits: [CHANGE_EVENT, "blur", "focus", "clear", UPDATE_MODEL_EVENT],
|
|
64758
65100
|
setup(__props, { expose: __expose }) {
|
|
64759
65101
|
dayjs.extend(customParseFormat);
|
|
@@ -64832,17 +65174,17 @@
|
|
|
64832
65174
|
ref: select,
|
|
64833
65175
|
"model-value": value.value,
|
|
64834
65176
|
disabled: vue.unref(_disabled),
|
|
64835
|
-
clearable:
|
|
64836
|
-
"clear-icon":
|
|
64837
|
-
size:
|
|
64838
|
-
effect:
|
|
64839
|
-
placeholder:
|
|
65177
|
+
clearable: __props.clearable,
|
|
65178
|
+
"clear-icon": __props.clearIcon,
|
|
65179
|
+
size: __props.size,
|
|
65180
|
+
effect: __props.effect,
|
|
65181
|
+
placeholder: __props.placeholder,
|
|
64840
65182
|
"default-first-option": "",
|
|
64841
|
-
filterable:
|
|
64842
|
-
"empty-values":
|
|
64843
|
-
"value-on-clear":
|
|
64844
|
-
"popper-class":
|
|
64845
|
-
"popper-style":
|
|
65183
|
+
filterable: __props.editable,
|
|
65184
|
+
"empty-values": __props.emptyValues,
|
|
65185
|
+
"value-on-clear": __props.valueOnClear,
|
|
65186
|
+
"popper-class": __props.popperClass,
|
|
65187
|
+
"popper-style": __props.popperStyle,
|
|
64846
65188
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = (event) => _ctx.$emit(vue.unref(UPDATE_MODEL_EVENT), event)),
|
|
64847
65189
|
onChange: _cache[1] || (_cache[1] = (event) => _ctx.$emit(vue.unref(CHANGE_EVENT), event)),
|
|
64848
65190
|
onBlur: _cache[2] || (_cache[2] = (event) => _ctx.$emit("blur", event)),
|
|
@@ -64850,12 +65192,12 @@
|
|
|
64850
65192
|
onClear: _cache[4] || (_cache[4] = () => _ctx.$emit("clear"))
|
|
64851
65193
|
}, {
|
|
64852
65194
|
prefix: vue.withCtx(() => [
|
|
64853
|
-
|
|
65195
|
+
__props.prefixIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
64854
65196
|
key: 0,
|
|
64855
65197
|
class: vue.normalizeClass(vue.unref(nsInput).e("prefix-icon"))
|
|
64856
65198
|
}, {
|
|
64857
65199
|
default: vue.withCtx(() => [
|
|
64858
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
65200
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.prefixIcon)))
|
|
64859
65201
|
]),
|
|
64860
65202
|
_: 1
|
|
64861
65203
|
/* STABLE */
|
|
@@ -64884,6 +65226,127 @@
|
|
|
64884
65226
|
}
|
|
64885
65227
|
});
|
|
64886
65228
|
|
|
65229
|
+
const timeSelectProps = buildProps({
|
|
65230
|
+
/**
|
|
65231
|
+
* @description set format of time
|
|
65232
|
+
*/
|
|
65233
|
+
format: {
|
|
65234
|
+
type: String,
|
|
65235
|
+
default: "HH:mm"
|
|
65236
|
+
},
|
|
65237
|
+
/**
|
|
65238
|
+
* @description binding value
|
|
65239
|
+
*/
|
|
65240
|
+
modelValue: {
|
|
65241
|
+
type: definePropType(String)
|
|
65242
|
+
},
|
|
65243
|
+
/**
|
|
65244
|
+
* @description whether TimeSelect is disabled
|
|
65245
|
+
*/
|
|
65246
|
+
disabled: {
|
|
65247
|
+
type: Boolean,
|
|
65248
|
+
default: void 0
|
|
65249
|
+
},
|
|
65250
|
+
/**
|
|
65251
|
+
* @description whether the input is editable
|
|
65252
|
+
*/
|
|
65253
|
+
editable: {
|
|
65254
|
+
type: Boolean,
|
|
65255
|
+
default: true
|
|
65256
|
+
},
|
|
65257
|
+
/**
|
|
65258
|
+
* @description Tooltip theme, built-in theme: `dark` / `light`
|
|
65259
|
+
*/
|
|
65260
|
+
effect: {
|
|
65261
|
+
type: definePropType(String),
|
|
65262
|
+
default: "light"
|
|
65263
|
+
},
|
|
65264
|
+
/**
|
|
65265
|
+
* @description whether to show clear button
|
|
65266
|
+
*/
|
|
65267
|
+
clearable: {
|
|
65268
|
+
type: Boolean,
|
|
65269
|
+
default: true
|
|
65270
|
+
},
|
|
65271
|
+
/**
|
|
65272
|
+
* @description size of Input
|
|
65273
|
+
*/
|
|
65274
|
+
size: useSizeProp,
|
|
65275
|
+
/**
|
|
65276
|
+
* @description placeholder in non-range mode
|
|
65277
|
+
*/
|
|
65278
|
+
placeholder: String,
|
|
65279
|
+
/**
|
|
65280
|
+
* @description start time
|
|
65281
|
+
*/
|
|
65282
|
+
start: {
|
|
65283
|
+
type: String,
|
|
65284
|
+
default: "09:00"
|
|
65285
|
+
},
|
|
65286
|
+
/**
|
|
65287
|
+
* @description end time
|
|
65288
|
+
*/
|
|
65289
|
+
end: {
|
|
65290
|
+
type: String,
|
|
65291
|
+
default: "18:00"
|
|
65292
|
+
},
|
|
65293
|
+
/**
|
|
65294
|
+
* @description time step
|
|
65295
|
+
*/
|
|
65296
|
+
step: {
|
|
65297
|
+
type: String,
|
|
65298
|
+
default: "00:30"
|
|
65299
|
+
},
|
|
65300
|
+
/**
|
|
65301
|
+
* @description minimum time, any time before this time will be disabled
|
|
65302
|
+
*/
|
|
65303
|
+
minTime: {
|
|
65304
|
+
type: definePropType(String)
|
|
65305
|
+
},
|
|
65306
|
+
/**
|
|
65307
|
+
* @description maximum time, any time after this time will be disabled
|
|
65308
|
+
*/
|
|
65309
|
+
maxTime: {
|
|
65310
|
+
type: definePropType(String)
|
|
65311
|
+
},
|
|
65312
|
+
/**
|
|
65313
|
+
* @description whether `end` is included in options
|
|
65314
|
+
*/
|
|
65315
|
+
includeEndTime: Boolean,
|
|
65316
|
+
/**
|
|
65317
|
+
* @description same as `name` in native input
|
|
65318
|
+
*/
|
|
65319
|
+
name: String,
|
|
65320
|
+
/**
|
|
65321
|
+
* @description custom prefix icon component
|
|
65322
|
+
*/
|
|
65323
|
+
prefixIcon: {
|
|
65324
|
+
type: definePropType([String, Object]),
|
|
65325
|
+
default: () => clock_default
|
|
65326
|
+
},
|
|
65327
|
+
/**
|
|
65328
|
+
* @description custom clear icon component
|
|
65329
|
+
*/
|
|
65330
|
+
clearIcon: {
|
|
65331
|
+
type: definePropType([String, Object]),
|
|
65332
|
+
default: () => circle_close_default
|
|
65333
|
+
},
|
|
65334
|
+
/**
|
|
65335
|
+
* @description custom class name for TimeSelect's dropdown
|
|
65336
|
+
*/
|
|
65337
|
+
popperClass: {
|
|
65338
|
+
type: String,
|
|
65339
|
+
default: ""
|
|
65340
|
+
},
|
|
65341
|
+
/**
|
|
65342
|
+
* @description custom style for TimeSelect's dropdown
|
|
65343
|
+
*/
|
|
65344
|
+
popperStyle: {
|
|
65345
|
+
type: definePropType([String, Object])
|
|
65346
|
+
},
|
|
65347
|
+
...useEmptyValuesProps
|
|
65348
|
+
});
|
|
65349
|
+
|
|
64887
65350
|
const ElTimeSelect = withInstall(_sfc_main$t);
|
|
64888
65351
|
|
|
64889
65352
|
const TIMELINE_INJECTION_KEY = "timeline";
|
|
@@ -64923,71 +65386,22 @@
|
|
|
64923
65386
|
}
|
|
64924
65387
|
});
|
|
64925
65388
|
|
|
64926
|
-
const timelineItemProps = buildProps({
|
|
64927
|
-
/**
|
|
64928
|
-
* @description timestamp content
|
|
64929
|
-
*/
|
|
64930
|
-
timestamp: {
|
|
64931
|
-
type: String,
|
|
64932
|
-
default: ""
|
|
64933
|
-
},
|
|
64934
|
-
/**
|
|
64935
|
-
* @description whether to show timestamp
|
|
64936
|
-
*/
|
|
64937
|
-
hideTimestamp: Boolean,
|
|
64938
|
-
/**
|
|
64939
|
-
* @description whether vertically centered
|
|
64940
|
-
*/
|
|
64941
|
-
center: Boolean,
|
|
64942
|
-
/**
|
|
64943
|
-
* @description position of timestamp
|
|
64944
|
-
*/
|
|
64945
|
-
placement: {
|
|
64946
|
-
type: String,
|
|
64947
|
-
values: ["top", "bottom"],
|
|
64948
|
-
default: "bottom"
|
|
64949
|
-
},
|
|
64950
|
-
/**
|
|
64951
|
-
* @description node type
|
|
64952
|
-
*/
|
|
64953
|
-
type: {
|
|
64954
|
-
type: String,
|
|
64955
|
-
values: ["primary", "success", "warning", "danger", "info"],
|
|
64956
|
-
default: ""
|
|
64957
|
-
},
|
|
64958
|
-
/**
|
|
64959
|
-
* @description background color of node
|
|
64960
|
-
*/
|
|
64961
|
-
color: {
|
|
64962
|
-
type: String,
|
|
64963
|
-
default: ""
|
|
64964
|
-
},
|
|
64965
|
-
/**
|
|
64966
|
-
* @description node size
|
|
64967
|
-
*/
|
|
64968
|
-
size: {
|
|
64969
|
-
type: String,
|
|
64970
|
-
values: ["normal", "large"],
|
|
64971
|
-
default: "normal"
|
|
64972
|
-
},
|
|
64973
|
-
/**
|
|
64974
|
-
* @description icon component
|
|
64975
|
-
*/
|
|
64976
|
-
icon: {
|
|
64977
|
-
type: iconPropType
|
|
64978
|
-
},
|
|
64979
|
-
/**
|
|
64980
|
-
* @description icon is hollow
|
|
64981
|
-
*/
|
|
64982
|
-
hollow: Boolean
|
|
64983
|
-
});
|
|
64984
|
-
|
|
64985
65389
|
var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
64986
65390
|
...{
|
|
64987
65391
|
name: "ElTimelineItem"
|
|
64988
65392
|
},
|
|
64989
65393
|
__name: "timeline-item",
|
|
64990
|
-
props:
|
|
65394
|
+
props: {
|
|
65395
|
+
timestamp: { type: String, required: false, default: "" },
|
|
65396
|
+
hideTimestamp: { type: Boolean, required: false },
|
|
65397
|
+
center: { type: Boolean, required: false },
|
|
65398
|
+
placement: { type: String, required: false, default: "bottom" },
|
|
65399
|
+
type: { type: String, required: false, default: "" },
|
|
65400
|
+
color: { type: String, required: false, default: "" },
|
|
65401
|
+
size: { type: String, required: false, default: "normal" },
|
|
65402
|
+
icon: { type: null, required: false },
|
|
65403
|
+
hollow: { type: Boolean, required: false }
|
|
65404
|
+
},
|
|
64991
65405
|
setup(__props) {
|
|
64992
65406
|
const props = __props;
|
|
64993
65407
|
const { props: timelineProps } = vue.inject(
|
|
@@ -65027,16 +65441,16 @@
|
|
|
65027
65441
|
key: 0,
|
|
65028
65442
|
class: vue.normalizeClass(defaultNodeKls.value),
|
|
65029
65443
|
style: vue.normalizeStyle({
|
|
65030
|
-
backgroundColor:
|
|
65444
|
+
backgroundColor: __props.color
|
|
65031
65445
|
})
|
|
65032
65446
|
},
|
|
65033
65447
|
[
|
|
65034
|
-
|
|
65448
|
+
__props.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
65035
65449
|
key: 0,
|
|
65036
65450
|
class: vue.normalizeClass(vue.unref(ns).e("icon"))
|
|
65037
65451
|
}, {
|
|
65038
65452
|
default: vue.withCtx(() => [
|
|
65039
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
65453
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.icon)))
|
|
65040
65454
|
]),
|
|
65041
65455
|
_: 1
|
|
65042
65456
|
/* STABLE */
|
|
@@ -65063,13 +65477,13 @@
|
|
|
65063
65477
|
class: vue.normalizeClass(vue.unref(ns).e("wrapper"))
|
|
65064
65478
|
},
|
|
65065
65479
|
[
|
|
65066
|
-
!
|
|
65480
|
+
!__props.hideTimestamp && __props.placement === "top" ? (vue.openBlock(), vue.createElementBlock(
|
|
65067
65481
|
"div",
|
|
65068
65482
|
{
|
|
65069
65483
|
key: 0,
|
|
65070
65484
|
class: vue.normalizeClass([vue.unref(ns).e("timestamp"), vue.unref(ns).is("top")])
|
|
65071
65485
|
},
|
|
65072
|
-
vue.toDisplayString(
|
|
65486
|
+
vue.toDisplayString(__props.timestamp),
|
|
65073
65487
|
3
|
|
65074
65488
|
/* TEXT, CLASS */
|
|
65075
65489
|
)) : vue.createCommentVNode("v-if", true),
|
|
@@ -65084,13 +65498,13 @@
|
|
|
65084
65498
|
2
|
|
65085
65499
|
/* CLASS */
|
|
65086
65500
|
),
|
|
65087
|
-
!
|
|
65501
|
+
!__props.hideTimestamp && __props.placement === "bottom" ? (vue.openBlock(), vue.createElementBlock(
|
|
65088
65502
|
"div",
|
|
65089
65503
|
{
|
|
65090
65504
|
key: 1,
|
|
65091
65505
|
class: vue.normalizeClass([vue.unref(ns).e("timestamp"), vue.unref(ns).is("bottom")])
|
|
65092
65506
|
},
|
|
65093
|
-
vue.toDisplayString(
|
|
65507
|
+
vue.toDisplayString(__props.timestamp),
|
|
65094
65508
|
3
|
|
65095
65509
|
/* TEXT, CLASS */
|
|
65096
65510
|
)) : vue.createCommentVNode("v-if", true)
|
|
@@ -65106,6 +65520,65 @@
|
|
|
65106
65520
|
}
|
|
65107
65521
|
});
|
|
65108
65522
|
|
|
65523
|
+
const timelineItemProps = buildProps({
|
|
65524
|
+
/**
|
|
65525
|
+
* @description timestamp content
|
|
65526
|
+
*/
|
|
65527
|
+
timestamp: {
|
|
65528
|
+
type: String,
|
|
65529
|
+
default: ""
|
|
65530
|
+
},
|
|
65531
|
+
/**
|
|
65532
|
+
* @description whether to show timestamp
|
|
65533
|
+
*/
|
|
65534
|
+
hideTimestamp: Boolean,
|
|
65535
|
+
/**
|
|
65536
|
+
* @description whether vertically centered
|
|
65537
|
+
*/
|
|
65538
|
+
center: Boolean,
|
|
65539
|
+
/**
|
|
65540
|
+
* @description position of timestamp
|
|
65541
|
+
*/
|
|
65542
|
+
placement: {
|
|
65543
|
+
type: String,
|
|
65544
|
+
values: ["top", "bottom"],
|
|
65545
|
+
default: "bottom"
|
|
65546
|
+
},
|
|
65547
|
+
/**
|
|
65548
|
+
* @description node type
|
|
65549
|
+
*/
|
|
65550
|
+
type: {
|
|
65551
|
+
type: String,
|
|
65552
|
+
values: ["primary", "success", "warning", "danger", "info"],
|
|
65553
|
+
default: ""
|
|
65554
|
+
},
|
|
65555
|
+
/**
|
|
65556
|
+
* @description background color of node
|
|
65557
|
+
*/
|
|
65558
|
+
color: {
|
|
65559
|
+
type: String,
|
|
65560
|
+
default: ""
|
|
65561
|
+
},
|
|
65562
|
+
/**
|
|
65563
|
+
* @description node size
|
|
65564
|
+
*/
|
|
65565
|
+
size: {
|
|
65566
|
+
type: String,
|
|
65567
|
+
values: ["normal", "large"],
|
|
65568
|
+
default: "normal"
|
|
65569
|
+
},
|
|
65570
|
+
/**
|
|
65571
|
+
* @description icon component
|
|
65572
|
+
*/
|
|
65573
|
+
icon: {
|
|
65574
|
+
type: iconPropType
|
|
65575
|
+
},
|
|
65576
|
+
/**
|
|
65577
|
+
* @description icon is hollow
|
|
65578
|
+
*/
|
|
65579
|
+
hollow: Boolean
|
|
65580
|
+
});
|
|
65581
|
+
|
|
65109
65582
|
const ElTimeline = withInstall(Timeline, {
|
|
65110
65583
|
TimelineItem: _sfc_main$s
|
|
65111
65584
|
});
|
|
@@ -65221,7 +65694,7 @@
|
|
|
65221
65694
|
};
|
|
65222
65695
|
|
|
65223
65696
|
const CHECKED_CHANGE_EVENT = "checked-change";
|
|
65224
|
-
|
|
65697
|
+
buildProps({
|
|
65225
65698
|
data: transferProps.data,
|
|
65226
65699
|
optionRender: {
|
|
65227
65700
|
type: definePropType(
|
|
@@ -65445,7 +65918,21 @@
|
|
|
65445
65918
|
name: "ElTransferPanel"
|
|
65446
65919
|
},
|
|
65447
65920
|
__name: "transfer-panel",
|
|
65448
|
-
props:
|
|
65921
|
+
props: {
|
|
65922
|
+
data: { type: Array, required: false, default: () => [] },
|
|
65923
|
+
optionRender: { type: Function, required: false },
|
|
65924
|
+
placeholder: { type: String, required: false },
|
|
65925
|
+
title: { type: String, required: false },
|
|
65926
|
+
filterable: { type: Boolean, required: false },
|
|
65927
|
+
format: { type: Object, required: false, default: () => ({}) },
|
|
65928
|
+
filterMethod: { type: Function, required: false },
|
|
65929
|
+
defaultChecked: { type: Array, required: false, default: () => [] },
|
|
65930
|
+
props: { type: Object, required: false, default: () => mutable({
|
|
65931
|
+
label: "label",
|
|
65932
|
+
key: "key",
|
|
65933
|
+
disabled: "disabled"
|
|
65934
|
+
}) }
|
|
65935
|
+
},
|
|
65449
65936
|
emits: transferPanelEmits,
|
|
65450
65937
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
65451
65938
|
const props = __props;
|
|
@@ -65498,7 +65985,7 @@
|
|
|
65498
65985
|
}, {
|
|
65499
65986
|
default: vue.withCtx(() => [
|
|
65500
65987
|
vue.createTextVNode(
|
|
65501
|
-
vue.toDisplayString(
|
|
65988
|
+
vue.toDisplayString(__props.title) + " ",
|
|
65502
65989
|
1
|
|
65503
65990
|
/* TEXT */
|
|
65504
65991
|
),
|
|
@@ -65523,13 +66010,13 @@
|
|
|
65523
66010
|
class: vue.normalizeClass([vue.unref(ns).be("panel", "body"), vue.unref(ns).is("with-footer", hasFooter.value)])
|
|
65524
66011
|
},
|
|
65525
66012
|
[
|
|
65526
|
-
|
|
66013
|
+
__props.filterable ? (vue.openBlock(), vue.createBlock(vue.unref(ElInput), {
|
|
65527
66014
|
key: 0,
|
|
65528
66015
|
modelValue: vue.unref(query),
|
|
65529
66016
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(query) ? query.value = $event : null),
|
|
65530
66017
|
class: vue.normalizeClass(vue.unref(ns).be("panel", "filter")),
|
|
65531
66018
|
size: "default",
|
|
65532
|
-
placeholder:
|
|
66019
|
+
placeholder: __props.placeholder,
|
|
65533
66020
|
"prefix-icon": vue.unref(search_default),
|
|
65534
66021
|
clearable: "",
|
|
65535
66022
|
"validate-event": false
|
|
@@ -65538,7 +66025,7 @@
|
|
|
65538
66025
|
modelValue: vue.unref(checked),
|
|
65539
66026
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(checked) ? checked.value = $event : null),
|
|
65540
66027
|
"validate-event": false,
|
|
65541
|
-
class: vue.normalizeClass([vue.unref(ns).is("filterable",
|
|
66028
|
+
class: vue.normalizeClass([vue.unref(ns).is("filterable", __props.filterable), vue.unref(ns).be("panel", "list")])
|
|
65542
66029
|
}, {
|
|
65543
66030
|
default: vue.withCtx(() => [
|
|
65544
66031
|
(vue.openBlock(true), vue.createElementBlock(
|
|
@@ -65556,7 +66043,7 @@
|
|
|
65556
66043
|
var _a;
|
|
65557
66044
|
return [
|
|
65558
66045
|
vue.createVNode(OptionContent, {
|
|
65559
|
-
option: (_a =
|
|
66046
|
+
option: (_a = __props.optionRender) == null ? void 0 : _a.call(__props, item)
|
|
65560
66047
|
}, null, 8, ["option"])
|
|
65561
66048
|
];
|
|
65562
66049
|
}),
|
|
@@ -65571,7 +66058,7 @@
|
|
|
65571
66058
|
_: 1
|
|
65572
66059
|
/* STABLE */
|
|
65573
66060
|
}, 8, ["modelValue", "class"]), [
|
|
65574
|
-
[vue.vShow, !hasNoMatch.value && !vue.unref(isEmpty)(
|
|
66061
|
+
[vue.vShow, !hasNoMatch.value && !vue.unref(isEmpty)(__props.data)]
|
|
65575
66062
|
]),
|
|
65576
66063
|
vue.withDirectives(vue.createElementVNode(
|
|
65577
66064
|
"div",
|
|
@@ -65590,7 +66077,7 @@
|
|
|
65590
66077
|
2
|
|
65591
66078
|
/* CLASS */
|
|
65592
66079
|
), [
|
|
65593
|
-
[vue.vShow, hasNoMatch.value || vue.unref(isEmpty)(
|
|
66080
|
+
[vue.vShow, hasNoMatch.value || vue.unref(isEmpty)(__props.data)]
|
|
65594
66081
|
])
|
|
65595
66082
|
],
|
|
65596
66083
|
2
|
|
@@ -65623,7 +66110,26 @@
|
|
|
65623
66110
|
name: "ElTransfer"
|
|
65624
66111
|
},
|
|
65625
66112
|
__name: "transfer",
|
|
65626
|
-
props:
|
|
66113
|
+
props: {
|
|
66114
|
+
data: { type: Array, required: false, default: () => [] },
|
|
66115
|
+
titles: { type: Array, required: false, default: () => [] },
|
|
66116
|
+
buttonTexts: { type: Array, required: false, default: () => [] },
|
|
66117
|
+
filterPlaceholder: { type: String, required: false },
|
|
66118
|
+
filterMethod: { type: Function, required: false },
|
|
66119
|
+
leftDefaultChecked: { type: Array, required: false, default: () => [] },
|
|
66120
|
+
rightDefaultChecked: { type: Array, required: false, default: () => [] },
|
|
66121
|
+
renderContent: { type: Function, required: false },
|
|
66122
|
+
modelValue: { type: Array, required: false, default: () => [] },
|
|
66123
|
+
format: { type: Object, required: false, default: () => ({}) },
|
|
66124
|
+
filterable: { type: Boolean, required: false },
|
|
66125
|
+
props: { type: Object, required: false, default: () => ({
|
|
66126
|
+
label: "label",
|
|
66127
|
+
key: "key",
|
|
66128
|
+
disabled: "disabled"
|
|
66129
|
+
}) },
|
|
66130
|
+
targetOrder: { type: String, required: false, default: "original" },
|
|
66131
|
+
validateEvent: { type: Boolean, required: false, default: true }
|
|
66132
|
+
},
|
|
65627
66133
|
emits: transferEmits,
|
|
65628
66134
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
65629
66135
|
const props = __props;
|
|
@@ -65710,10 +66216,10 @@
|
|
|
65710
66216
|
"option-render": optionRender.value,
|
|
65711
66217
|
placeholder: panelFilterPlaceholder.value,
|
|
65712
66218
|
title: leftPanelTitle.value,
|
|
65713
|
-
filterable:
|
|
65714
|
-
format:
|
|
65715
|
-
"filter-method":
|
|
65716
|
-
"default-checked":
|
|
66219
|
+
filterable: __props.filterable,
|
|
66220
|
+
format: __props.format,
|
|
66221
|
+
"filter-method": __props.filterMethod,
|
|
66222
|
+
"default-checked": __props.leftDefaultChecked,
|
|
65717
66223
|
props: props.props,
|
|
65718
66224
|
onCheckedChange: vue.unref(onSourceCheckedChange)
|
|
65719
66225
|
}, {
|
|
@@ -65746,10 +66252,10 @@
|
|
|
65746
66252
|
_: 1
|
|
65747
66253
|
/* STABLE */
|
|
65748
66254
|
}),
|
|
65749
|
-
!vue.unref(isUndefined)(
|
|
66255
|
+
!vue.unref(isUndefined)(__props.buttonTexts[0]) ? (vue.openBlock(), vue.createElementBlock(
|
|
65750
66256
|
"span",
|
|
65751
66257
|
_hoisted_1$d,
|
|
65752
|
-
vue.toDisplayString(
|
|
66258
|
+
vue.toDisplayString(__props.buttonTexts[0]),
|
|
65753
66259
|
1
|
|
65754
66260
|
/* TEXT */
|
|
65755
66261
|
)) : vue.createCommentVNode("v-if", true)
|
|
@@ -65764,10 +66270,10 @@
|
|
|
65764
66270
|
onClick: vue.unref(addToRight)
|
|
65765
66271
|
}, {
|
|
65766
66272
|
default: vue.withCtx(() => [
|
|
65767
|
-
!vue.unref(isUndefined)(
|
|
66273
|
+
!vue.unref(isUndefined)(__props.buttonTexts[1]) ? (vue.openBlock(), vue.createElementBlock(
|
|
65768
66274
|
"span",
|
|
65769
66275
|
_hoisted_2$8,
|
|
65770
|
-
vue.toDisplayString(
|
|
66276
|
+
vue.toDisplayString(__props.buttonTexts[1]),
|
|
65771
66277
|
1
|
|
65772
66278
|
/* TEXT */
|
|
65773
66279
|
)) : vue.createCommentVNode("v-if", true),
|
|
@@ -65792,11 +66298,11 @@
|
|
|
65792
66298
|
data: vue.unref(targetData),
|
|
65793
66299
|
"option-render": optionRender.value,
|
|
65794
66300
|
placeholder: panelFilterPlaceholder.value,
|
|
65795
|
-
filterable:
|
|
65796
|
-
format:
|
|
65797
|
-
"filter-method":
|
|
66301
|
+
filterable: __props.filterable,
|
|
66302
|
+
format: __props.format,
|
|
66303
|
+
"filter-method": __props.filterMethod,
|
|
65798
66304
|
title: rightPanelTitle.value,
|
|
65799
|
-
"default-checked":
|
|
66305
|
+
"default-checked": __props.rightDefaultChecked,
|
|
65800
66306
|
props: props.props,
|
|
65801
66307
|
onCheckedChange: vue.unref(onTargetCheckedChange)
|
|
65802
66308
|
}, {
|
|
@@ -76302,7 +76808,23 @@
|
|
|
76302
76808
|
name: "ElNotification"
|
|
76303
76809
|
},
|
|
76304
76810
|
__name: "notification",
|
|
76305
|
-
props:
|
|
76811
|
+
props: {
|
|
76812
|
+
customClass: { type: String, required: false, default: "" },
|
|
76813
|
+
dangerouslyUseHTMLString: { type: Boolean, required: false },
|
|
76814
|
+
duration: { type: Number, required: false, default: 4500 },
|
|
76815
|
+
icon: { type: null, required: false },
|
|
76816
|
+
id: { type: String, required: false, default: "" },
|
|
76817
|
+
message: { type: [String, Object, Function], required: false, default: "" },
|
|
76818
|
+
offset: { type: Number, required: false, default: 0 },
|
|
76819
|
+
onClick: { type: Function, required: false, default: () => void 0 },
|
|
76820
|
+
onClose: { type: Function, required: true },
|
|
76821
|
+
position: { type: String, required: false, default: "top-right" },
|
|
76822
|
+
showClose: { type: Boolean, required: false, default: true },
|
|
76823
|
+
title: { type: String, required: false, default: "" },
|
|
76824
|
+
type: { type: null, required: false, default: "" },
|
|
76825
|
+
zIndex: { type: Number, required: false },
|
|
76826
|
+
closeIcon: { type: null, required: false, default: vue.markRaw(close_default) }
|
|
76827
|
+
},
|
|
76306
76828
|
emits: notificationEmits,
|
|
76307
76829
|
setup(__props, { expose: __expose }) {
|
|
76308
76830
|
const props = __props;
|
|
@@ -76375,20 +76897,20 @@
|
|
|
76375
76897
|
return (_ctx, _cache) => {
|
|
76376
76898
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
76377
76899
|
name: vue.unref(ns).b("fade"),
|
|
76378
|
-
onBeforeLeave:
|
|
76900
|
+
onBeforeLeave: __props.onClose,
|
|
76379
76901
|
onAfterLeave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("destroy")),
|
|
76380
76902
|
persisted: ""
|
|
76381
76903
|
}, {
|
|
76382
76904
|
default: vue.withCtx(() => [
|
|
76383
76905
|
vue.withDirectives(vue.createElementVNode("div", {
|
|
76384
|
-
id:
|
|
76385
|
-
class: vue.normalizeClass([vue.unref(ns).b(),
|
|
76906
|
+
id: __props.id,
|
|
76907
|
+
class: vue.normalizeClass([vue.unref(ns).b(), __props.customClass, horizontalClass.value]),
|
|
76386
76908
|
style: vue.normalizeStyle(positionStyle.value),
|
|
76387
76909
|
role: "alert",
|
|
76388
76910
|
onMouseenter: clearTimer,
|
|
76389
76911
|
onMouseleave: startTimer,
|
|
76390
76912
|
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
76391
|
-
(...args) =>
|
|
76913
|
+
(...args) => __props.onClick && __props.onClick(...args))
|
|
76392
76914
|
}, [
|
|
76393
76915
|
iconComponent.value ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
76394
76916
|
key: 0,
|
|
@@ -76408,20 +76930,20 @@
|
|
|
76408
76930
|
[
|
|
76409
76931
|
vue.createElementVNode("h2", {
|
|
76410
76932
|
class: vue.normalizeClass(vue.unref(ns).e("title")),
|
|
76411
|
-
textContent: vue.toDisplayString(
|
|
76933
|
+
textContent: vue.toDisplayString(__props.title)
|
|
76412
76934
|
}, null, 10, _hoisted_2),
|
|
76413
76935
|
vue.withDirectives(vue.createElementVNode(
|
|
76414
76936
|
"div",
|
|
76415
76937
|
{
|
|
76416
76938
|
class: vue.normalizeClass(vue.unref(ns).e("content")),
|
|
76417
|
-
style: vue.normalizeStyle(!!
|
|
76939
|
+
style: vue.normalizeStyle(!!__props.title ? void 0 : { margin: 0 })
|
|
76418
76940
|
},
|
|
76419
76941
|
[
|
|
76420
76942
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
76421
|
-
!
|
|
76943
|
+
!__props.dangerouslyUseHTMLString ? (vue.openBlock(), vue.createElementBlock(
|
|
76422
76944
|
"p",
|
|
76423
76945
|
_hoisted_3,
|
|
76424
|
-
vue.toDisplayString(
|
|
76946
|
+
vue.toDisplayString(__props.message),
|
|
76425
76947
|
1
|
|
76426
76948
|
/* TEXT */
|
|
76427
76949
|
)) : (vue.openBlock(), vue.createElementBlock(
|
|
@@ -76429,7 +76951,7 @@
|
|
|
76429
76951
|
{ key: 1 },
|
|
76430
76952
|
[
|
|
76431
76953
|
vue.createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),
|
|
76432
|
-
vue.createElementVNode("p", { innerHTML:
|
|
76954
|
+
vue.createElementVNode("p", { innerHTML: __props.message }, null, 8, _hoisted_4)
|
|
76433
76955
|
],
|
|
76434
76956
|
2112
|
|
76435
76957
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -76439,15 +76961,15 @@
|
|
|
76439
76961
|
6
|
|
76440
76962
|
/* CLASS, STYLE */
|
|
76441
76963
|
), [
|
|
76442
|
-
[vue.vShow,
|
|
76964
|
+
[vue.vShow, __props.message]
|
|
76443
76965
|
]),
|
|
76444
|
-
|
|
76966
|
+
__props.showClose ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
76445
76967
|
key: 0,
|
|
76446
76968
|
class: vue.normalizeClass(vue.unref(ns).e("closeBtn")),
|
|
76447
76969
|
onClick: vue.withModifiers(close, ["stop"])
|
|
76448
76970
|
}, {
|
|
76449
76971
|
default: vue.withCtx(() => [
|
|
76450
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
76972
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.closeIcon)))
|
|
76451
76973
|
]),
|
|
76452
76974
|
_: 1
|
|
76453
76975
|
/* STABLE */
|
|
@@ -76835,6 +77357,7 @@
|
|
|
76835
77357
|
exports.checkboxGroupEmits = checkboxGroupEmits;
|
|
76836
77358
|
exports.checkboxGroupProps = checkboxGroupProps;
|
|
76837
77359
|
exports.checkboxProps = checkboxProps;
|
|
77360
|
+
exports.checkboxPropsDefaults = checkboxPropsDefaults;
|
|
76838
77361
|
exports.colProps = colProps;
|
|
76839
77362
|
exports.collapseContextKey = collapseContextKey;
|
|
76840
77363
|
exports.collapseEmits = collapseEmits;
|
|
@@ -76845,6 +77368,7 @@
|
|
|
76845
77368
|
exports.colorPickerPanelEmits = colorPickerPanelEmits;
|
|
76846
77369
|
exports.colorPickerPanelProps = colorPickerPanelProps;
|
|
76847
77370
|
exports.colorPickerProps = colorPickerProps;
|
|
77371
|
+
exports.colorPickerPropsDefaults = colorPickerPropsDefaults;
|
|
76848
77372
|
exports.columnAlignment = columnAlignment;
|
|
76849
77373
|
exports.componentSizeMap = componentSizeMap;
|
|
76850
77374
|
exports.componentSizes = componentSizes;
|
|
@@ -76938,6 +77462,7 @@
|
|
|
76938
77462
|
exports.popconfirmProps = popconfirmProps;
|
|
76939
77463
|
exports.popoverEmits = popoverEmits;
|
|
76940
77464
|
exports.popoverProps = popoverProps;
|
|
77465
|
+
exports.popoverPropsDefaults = popoverPropsDefaults;
|
|
76941
77466
|
exports.popperArrowProps = popperArrowProps;
|
|
76942
77467
|
exports.popperArrowPropsDefaults = popperArrowPropsDefaults;
|
|
76943
77468
|
exports.popperContentEmits = popperContentEmits;
|
|
@@ -77052,6 +77577,7 @@
|
|
|
77052
77577
|
exports.useDelayedRender = useDelayedRender;
|
|
77053
77578
|
exports.useDelayedToggle = useDelayedToggle;
|
|
77054
77579
|
exports.useDelayedToggleProps = useDelayedToggleProps;
|
|
77580
|
+
exports.useDelayedTogglePropsDefaults = useDelayedTogglePropsDefaults;
|
|
77055
77581
|
exports.useDeprecated = useDeprecated;
|
|
77056
77582
|
exports.useDialog = useDialog;
|
|
77057
77583
|
exports.useDisabled = useDisabled;
|
|
@@ -77103,11 +77629,13 @@
|
|
|
77103
77629
|
exports.useThrottleRender = useThrottleRender;
|
|
77104
77630
|
exports.useTimeout = useTimeout;
|
|
77105
77631
|
exports.useTooltipContentProps = useTooltipContentProps;
|
|
77632
|
+
exports.useTooltipContentPropsDefaults = useTooltipContentPropsDefaults;
|
|
77106
77633
|
exports.useTooltipModelToggle = useTooltipModelToggle;
|
|
77107
77634
|
exports.useTooltipModelToggleEmits = useTooltipModelToggleEmits;
|
|
77108
77635
|
exports.useTooltipModelToggleProps = useTooltipModelToggleProps;
|
|
77109
77636
|
exports.useTooltipProps = useTooltipProps;
|
|
77110
77637
|
exports.useTooltipTriggerProps = useTooltipTriggerProps;
|
|
77638
|
+
exports.useTooltipTriggerPropsDefaults = useTooltipTriggerPropsDefaults;
|
|
77111
77639
|
exports.useTransitionFallthrough = useTransitionFallthrough;
|
|
77112
77640
|
exports.useTransitionFallthroughEmits = useTransitionFallthroughEmits;
|
|
77113
77641
|
exports.useZIndex = useZIndex;
|