@element-plus/nightly 0.0.20220515 → 0.0.20220519
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +1292 -1141
- package/dist/index.full.min.js +16 -16
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +20 -20
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +1292 -1141
- 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.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/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/button/index.d.ts +14 -14
- package/es/components/button/src/button-group.d.ts +1 -1
- package/es/components/button/src/button-group.vue.d.ts +4 -4
- package/es/components/button/src/button.d.ts +2 -2
- package/es/components/button/src/button.vue.d.ts +6 -6
- package/es/components/button/src/button3.mjs +1 -0
- package/es/components/button/src/button3.mjs.map +1 -1
- package/es/components/button/src/button4.mjs +9 -1
- package/es/components/button/src/button4.mjs.map +1 -1
- package/es/components/calendar/index.d.ts +14 -14
- package/es/components/calendar/src/calendar.vue.d.ts +14 -14
- package/es/components/cascader-panel/src/node3.mjs +1 -1
- package/es/components/cascader-panel/src/node3.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox2.mjs +4 -4
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/collection/src/collection-item2.mjs +3 -3
- package/es/components/collection/src/collection-item2.mjs.map +1 -1
- package/es/components/collection/src/collection.d.ts +2 -3
- package/es/components/collection/src/collection3.mjs +1 -2
- package/es/components/collection/src/collection3.mjs.map +1 -1
- package/es/components/collection/src/collection4.mjs +3 -3
- package/es/components/collection/src/collection4.mjs.map +1 -1
- package/es/components/container/index.d.ts +76 -12
- package/es/components/container/index2.mjs.map +1 -1
- package/es/components/container/src/aside.vue.d.ts +9 -1
- package/es/components/container/src/aside2.mjs +17 -18
- package/es/components/container/src/aside2.mjs.map +1 -1
- package/es/components/container/src/container.vue.d.ts +12 -6
- package/es/components/container/src/container2.mjs +17 -17
- package/es/components/container/src/container2.mjs.map +1 -1
- package/es/components/container/src/footer.vue.d.ts +9 -1
- package/es/components/container/src/footer2.mjs +17 -16
- package/es/components/container/src/footer2.mjs.map +1 -1
- package/es/components/container/src/header.vue.d.ts +9 -1
- package/es/components/container/src/header2.mjs +20 -17
- package/es/components/container/src/header2.mjs.map +1 -1
- package/es/components/container/src/main2.mjs +14 -14
- package/es/components/container/src/main2.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-cell-render2.mjs +5 -2
- package/es/components/date-picker/src/date-picker-com/basic-cell-render2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +3 -3
- package/es/components/dropdown/src/dropdown.d.ts +2 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +3 -3
- package/es/components/form/src/form-label-wrap.mjs.map +1 -1
- package/es/components/index.mjs +1 -1
- package/es/components/input-number/index.d.ts +6 -3
- package/es/components/input-number/src/input-number.d.ts +2 -1
- package/es/components/input-number/src/input-number.vue.d.ts +6 -3
- package/es/components/input-number/src/input-number3.mjs +8 -2
- package/es/components/input-number/src/input-number3.mjs.map +1 -1
- package/es/components/input-number/src/input-number4.mjs +35 -31
- package/es/components/input-number/src/input-number4.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +277 -1
- package/es/components/pagination/src/components/jumper2.mjs +28 -38
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
- package/es/components/pagination/src/components/next.d.ts +10 -0
- package/es/components/pagination/src/components/next.mjs +1 -6
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next.vue.d.ts +51 -24
- package/es/components/pagination/src/components/next2.mjs +3 -55
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/components/next3.mjs +20 -0
- package/es/components/pagination/src/components/next3.mjs.map +1 -0
- package/es/components/pagination/src/components/next4.mjs +40 -0
- package/es/components/pagination/src/components/next4.mjs.map +1 -0
- package/es/components/pagination/src/components/pager.d.ts +10 -0
- package/es/components/pagination/src/components/pager.mjs +1 -6
- package/es/components/pagination/src/components/pager.mjs.map +1 -1
- package/es/components/pagination/src/components/pager.vue.d.ts +24 -30
- package/es/components/pagination/src/components/pager2.mjs +3 -216
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/components/pager3.mjs +21 -0
- package/es/components/pagination/src/components/pager3.mjs.map +1 -0
- package/es/components/pagination/src/components/pager4.mjs +191 -0
- package/es/components/pagination/src/components/pager4.mjs.map +1 -0
- package/es/components/pagination/src/components/prev.d.ts +12 -0
- package/es/components/pagination/src/components/prev.mjs +1 -6
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.vue.d.ts +52 -18
- package/es/components/pagination/src/components/prev2.mjs +3 -51
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev3.mjs +19 -0
- package/es/components/pagination/src/components/prev3.mjs.map +1 -0
- package/es/components/pagination/src/components/prev4.mjs +40 -0
- package/es/components/pagination/src/components/prev4.mjs.map +1 -0
- package/es/components/pagination/src/components/total.d.ts +7 -0
- package/es/components/pagination/src/components/total.mjs +1 -6
- package/es/components/pagination/src/components/total.mjs.map +1 -1
- package/es/components/pagination/src/components/total.vue.d.ts +3 -17
- package/es/components/pagination/src/components/total2.mjs +3 -36
- package/es/components/pagination/src/components/total2.mjs.map +1 -1
- package/es/components/pagination/src/components/total3.mjs +12 -0
- package/es/components/pagination/src/components/total3.mjs.map +1 -0
- package/es/components/pagination/src/components/total4.mjs +33 -0
- package/es/components/pagination/src/components/total4.mjs.map +1 -0
- package/es/components/pagination/src/pagination2.mjs +4 -4
- package/es/components/popconfirm/index.d.ts +10 -10
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +10 -10
- package/es/components/radio/index.d.ts +73 -14
- package/es/components/radio/index.mjs +1 -1
- package/es/components/radio/index2.mjs +2 -2
- package/es/components/radio/src/radio-button.d.ts +2 -0
- package/es/components/radio/src/radio-button.vue.d.ts +11 -4
- package/es/components/radio/src/radio-button3.mjs +1 -1
- package/es/components/radio/src/radio-button3.mjs.map +1 -1
- package/es/components/radio/src/radio-button4.mjs +48 -69
- package/es/components/radio/src/radio-button4.mjs.map +1 -1
- package/es/components/radio/src/radio-group.d.ts +3 -0
- package/es/components/radio/src/radio-group.vue.d.ts +19 -1
- package/es/components/radio/src/radio-group3.mjs +5 -1
- package/es/components/radio/src/radio-group3.mjs.map +1 -1
- package/es/components/radio/src/radio-group4.mjs +24 -60
- package/es/components/radio/src/radio-group4.mjs.map +1 -1
- package/es/components/radio/src/radio.d.ts +6 -4
- package/es/components/radio/src/radio.mjs +1 -1
- package/es/components/radio/src/radio.vue.d.ts +15 -4
- package/es/components/radio/src/radio3.mjs +67 -77
- package/es/components/radio/src/radio3.mjs.map +1 -1
- package/es/components/radio/src/radio4.mjs +70 -67
- package/es/components/radio/src/radio4.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.d.ts +1 -3
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/select-v2/src/select2.mjs.map +1 -1
- package/es/components/skeleton/index.d.ts +9 -9
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
- package/es/components/skeleton/src/skeleton.vue.d.ts +3 -3
- package/es/components/slot/src/only-child.mjs.map +1 -1
- package/es/components/table-v2/src/components/auto-resizer.mjs.map +1 -1
- package/es/components/table-v2/src/components/cell.mjs.map +1 -1
- package/es/components/table-v2/src/components/expand-icon.mjs.map +1 -1
- package/es/components/table-v2/src/components/header-cell.mjs.map +1 -1
- package/es/components/table-v2/src/components/header-row.mjs.map +1 -1
- package/es/components/table-v2/src/components/header.mjs.map +1 -1
- package/es/components/table-v2/src/components/row.mjs.map +1 -1
- package/es/components/table-v2/src/components/sort-icon.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/cell.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/empty.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/footer.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/header-cell.mjs +1 -1
- package/es/components/table-v2/src/renderers/header-cell.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/header.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/left-table.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/main-table.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/overlay.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/right-table.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/row.mjs.map +1 -1
- package/es/components/table-v2/src/table-grid.mjs.map +1 -1
- package/es/components/table-v2/src/table-v2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.mjs.map +1 -1
- package/es/components/tabs/src/tabs.mjs.map +1 -1
- package/es/components/teleport/index.mjs +1 -1
- package/es/components/teleport/index2.mjs +2 -2
- package/es/components/teleport/src/teleport.mjs +1 -1
- package/es/components/teleport/src/teleport3.mjs +18 -43
- package/es/components/teleport/src/teleport3.mjs.map +1 -1
- package/es/components/teleport/src/teleport4.mjs +43 -18
- package/es/components/teleport/src/teleport4.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +2 -1
- package/es/components/time-picker/src/common/picker2.mjs +7 -2
- package/es/components/time-picker/src/common/picker2.mjs.map +1 -1
- package/es/components/timeline/index.d.ts +72 -0
- package/es/components/timeline/src/timeline-item.vue.d.ts +36 -0
- package/es/components/timeline/src/timeline-item4.mjs +61 -65
- package/es/components/timeline/src/timeline-item4.mjs.map +1 -1
- package/es/components/tooltip-v2/src/forward-ref.mjs.map +1 -1
- package/es/components/upload/index.d.ts +0 -1
- package/es/components/upload/src/upload-list.vue.d.ts +0 -1
- package/es/components/upload/src/upload-list4.mjs +1 -5
- package/es/components/upload/src/upload-list4.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +0 -1
- package/es/index.mjs +1 -1
- package/es/utils/dom/scroll2.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version2.mjs +1 -1
- package/es/version2.mjs.map +1 -1
- package/lib/components/button/index.d.ts +14 -14
- package/lib/components/button/src/button-group.d.ts +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +4 -4
- package/lib/components/button/src/button.d.ts +2 -2
- package/lib/components/button/src/button.vue.d.ts +6 -6
- package/lib/components/button/src/button3.js +1 -0
- package/lib/components/button/src/button3.js.map +1 -1
- package/lib/components/button/src/button4.js +20 -12
- package/lib/components/button/src/button4.js.map +1 -1
- package/lib/components/calendar/index.d.ts +14 -14
- package/lib/components/calendar/src/calendar.vue.d.ts +14 -14
- package/lib/components/cascader-panel/src/node3.js +1 -1
- package/lib/components/cascader-panel/src/node3.js.map +1 -1
- package/lib/components/checkbox/src/checkbox2.js +4 -4
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/collection/src/collection-item2.js +2 -2
- package/lib/components/collection/src/collection-item2.js.map +1 -1
- package/lib/components/collection/src/collection.d.ts +2 -3
- package/lib/components/collection/src/collection3.js +1 -2
- package/lib/components/collection/src/collection3.js.map +1 -1
- package/lib/components/collection/src/collection4.js +2 -2
- package/lib/components/collection/src/collection4.js.map +1 -1
- package/lib/components/container/index.d.ts +76 -12
- package/lib/components/container/index2.js.map +1 -1
- package/lib/components/container/src/aside.vue.d.ts +9 -1
- package/lib/components/container/src/aside2.js +16 -17
- package/lib/components/container/src/aside2.js.map +1 -1
- package/lib/components/container/src/container.vue.d.ts +12 -6
- package/lib/components/container/src/container2.js +16 -16
- package/lib/components/container/src/container2.js.map +1 -1
- package/lib/components/container/src/footer.vue.d.ts +9 -1
- package/lib/components/container/src/footer2.js +16 -15
- package/lib/components/container/src/footer2.js.map +1 -1
- package/lib/components/container/src/header.vue.d.ts +9 -1
- package/lib/components/container/src/header2.js +19 -16
- package/lib/components/container/src/header2.js.map +1 -1
- package/lib/components/container/src/main2.js +13 -13
- package/lib/components/container/src/main2.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-cell-render2.js +5 -2
- package/lib/components/date-picker/src/date-picker-com/basic-cell-render2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +3 -3
- package/lib/components/dropdown/src/dropdown.d.ts +2 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +3 -3
- package/lib/components/form/src/form-label-wrap.js.map +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/input-number/index.d.ts +6 -3
- package/lib/components/input-number/src/input-number.d.ts +2 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +6 -3
- package/lib/components/input-number/src/input-number3.js +8 -2
- package/lib/components/input-number/src/input-number3.js.map +1 -1
- package/lib/components/input-number/src/input-number4.js +35 -31
- package/lib/components/input-number/src/input-number4.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +277 -1
- package/lib/components/pagination/src/components/jumper2.js +32 -42
- package/lib/components/pagination/src/components/jumper2.js.map +1 -1
- package/lib/components/pagination/src/components/next.d.ts +10 -0
- package/lib/components/pagination/src/components/next.js +3 -4
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next.vue.d.ts +51 -24
- package/lib/components/pagination/src/components/next2.js +3 -55
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/components/next3.js +24 -0
- package/lib/components/pagination/src/components/next3.js.map +1 -0
- package/lib/components/pagination/src/components/next4.js +44 -0
- package/lib/components/pagination/src/components/next4.js.map +1 -0
- package/lib/components/pagination/src/components/pager.d.ts +10 -0
- package/lib/components/pagination/src/components/pager.js +3 -4
- package/lib/components/pagination/src/components/pager.js.map +1 -1
- package/lib/components/pagination/src/components/pager.vue.d.ts +24 -30
- package/lib/components/pagination/src/components/pager2.js +3 -216
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/components/pager3.js +25 -0
- package/lib/components/pagination/src/components/pager3.js.map +1 -0
- package/lib/components/pagination/src/components/pager4.js +195 -0
- package/lib/components/pagination/src/components/pager4.js.map +1 -0
- package/lib/components/pagination/src/components/prev.d.ts +12 -0
- package/lib/components/pagination/src/components/prev.js +4 -4
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev.vue.d.ts +52 -18
- package/lib/components/pagination/src/components/prev2.js +3 -51
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/components/prev3.js +24 -0
- package/lib/components/pagination/src/components/prev3.js.map +1 -0
- package/lib/components/pagination/src/components/prev4.js +44 -0
- package/lib/components/pagination/src/components/prev4.js.map +1 -0
- package/lib/components/pagination/src/components/total.d.ts +7 -0
- package/lib/components/pagination/src/components/total.js +3 -4
- package/lib/components/pagination/src/components/total.js.map +1 -1
- package/lib/components/pagination/src/components/total.vue.d.ts +3 -17
- package/lib/components/pagination/src/components/total2.js +3 -36
- package/lib/components/pagination/src/components/total2.js.map +1 -1
- package/lib/components/pagination/src/components/total3.js +16 -0
- package/lib/components/pagination/src/components/total3.js.map +1 -0
- package/lib/components/pagination/src/components/total4.js +37 -0
- package/lib/components/pagination/src/components/total4.js.map +1 -0
- package/lib/components/pagination/src/pagination2.js +4 -4
- package/lib/components/popconfirm/index.d.ts +10 -10
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +10 -10
- package/lib/components/radio/index.d.ts +73 -14
- package/lib/components/radio/index.js +1 -1
- package/lib/components/radio/index2.js +2 -2
- package/lib/components/radio/src/radio-button.d.ts +2 -0
- package/lib/components/radio/src/radio-button.vue.d.ts +11 -4
- package/lib/components/radio/src/radio-button3.js +1 -1
- package/lib/components/radio/src/radio-button3.js.map +1 -1
- package/lib/components/radio/src/radio-button4.js +47 -68
- package/lib/components/radio/src/radio-button4.js.map +1 -1
- package/lib/components/radio/src/radio-group.d.ts +3 -0
- package/lib/components/radio/src/radio-group.vue.d.ts +19 -1
- package/lib/components/radio/src/radio-group3.js +5 -1
- package/lib/components/radio/src/radio-group3.js.map +1 -1
- package/lib/components/radio/src/radio-group4.js +23 -59
- package/lib/components/radio/src/radio-group4.js.map +1 -1
- package/lib/components/radio/src/radio.d.ts +6 -4
- package/lib/components/radio/src/radio.js +1 -1
- package/lib/components/radio/src/radio.vue.d.ts +15 -4
- package/lib/components/radio/src/radio3.js +69 -76
- package/lib/components/radio/src/radio3.js.map +1 -1
- package/lib/components/radio/src/radio4.js +69 -69
- package/lib/components/radio/src/radio4.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +1 -3
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/select-v2/src/select2.js.map +1 -1
- package/lib/components/skeleton/index.d.ts +9 -9
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
- package/lib/components/skeleton/src/skeleton.vue.d.ts +3 -3
- package/lib/components/slot/src/only-child.js.map +1 -1
- package/lib/components/table-v2/src/components/auto-resizer.js.map +1 -1
- package/lib/components/table-v2/src/components/cell.js.map +1 -1
- package/lib/components/table-v2/src/components/expand-icon.js.map +1 -1
- package/lib/components/table-v2/src/components/header-cell.js.map +1 -1
- package/lib/components/table-v2/src/components/header-row.js.map +1 -1
- package/lib/components/table-v2/src/components/header.js.map +1 -1
- package/lib/components/table-v2/src/components/row.js.map +1 -1
- package/lib/components/table-v2/src/components/sort-icon.js.map +1 -1
- package/lib/components/table-v2/src/renderers/cell.js.map +1 -1
- package/lib/components/table-v2/src/renderers/empty.js.map +1 -1
- package/lib/components/table-v2/src/renderers/footer.js.map +1 -1
- package/lib/components/table-v2/src/renderers/header-cell.js +1 -1
- package/lib/components/table-v2/src/renderers/header-cell.js.map +1 -1
- package/lib/components/table-v2/src/renderers/header.js.map +1 -1
- package/lib/components/table-v2/src/renderers/left-table.js.map +1 -1
- package/lib/components/table-v2/src/renderers/main-table.js.map +1 -1
- package/lib/components/table-v2/src/renderers/overlay.js.map +1 -1
- package/lib/components/table-v2/src/renderers/right-table.js.map +1 -1
- package/lib/components/table-v2/src/renderers/row.js.map +1 -1
- package/lib/components/table-v2/src/table-grid.js.map +1 -1
- package/lib/components/table-v2/src/table-v2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.js.map +1 -1
- package/lib/components/tabs/src/tabs.js.map +1 -1
- package/lib/components/teleport/index.js +1 -1
- package/lib/components/teleport/index2.js +2 -2
- package/lib/components/teleport/src/teleport.js +1 -1
- package/lib/components/teleport/src/teleport3.js +18 -43
- package/lib/components/teleport/src/teleport3.js.map +1 -1
- package/lib/components/teleport/src/teleport4.js +43 -18
- package/lib/components/teleport/src/teleport4.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +2 -1
- package/lib/components/time-picker/src/common/picker2.js +7 -2
- package/lib/components/time-picker/src/common/picker2.js.map +1 -1
- package/lib/components/timeline/index.d.ts +72 -0
- package/lib/components/timeline/src/timeline-item.vue.d.ts +36 -0
- package/lib/components/timeline/src/timeline-item4.js +63 -67
- package/lib/components/timeline/src/timeline-item4.js.map +1 -1
- package/lib/components/tooltip-v2/src/forward-ref.js.map +1 -1
- package/lib/components/upload/index.d.ts +0 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +0 -1
- package/lib/components/upload/src/upload-list4.js +1 -5
- package/lib/components/upload/src/upload-list4.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +0 -1
- package/lib/index.js +1 -1
- package/lib/utils/dom/scroll2.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version2.js +1 -1
- package/lib/version2.js.map +1 -1
- package/package.json +8 -8
- package/tags.json +1 -1
- package/theme-chalk/el-button.css +1 -1
- package/theme-chalk/el-checkbox.css +1 -1
- package/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-form.css +1 -1
- package/theme-chalk/el-radio-button.css +1 -1
- package/theme-chalk/el-radio.css +1 -1
- package/theme-chalk/el-switch.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/el-upload.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/button.scss +41 -1
- package/theme-chalk/src/checkbox.scss +14 -3
- package/theme-chalk/src/date-picker/picker.scss +20 -24
- package/theme-chalk/src/form.scss +1 -0
- package/theme-chalk/src/main.scss +0 -1
- package/theme-chalk/src/radio-button.scss +15 -5
- package/theme-chalk/src/radio.scss +9 -1
- package/theme-chalk/src/switch.scss +8 -0
- package/theme-chalk/src/upload.scss +6 -4
- package/web-types.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"col.mjs","sources":["../../../../../../packages/components/col/src/col.tsx"],"sourcesContent":["import { computed, defineComponent, inject } from 'vue'\nimport { buildProps, definePropType, mutable } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { rowContextKey } from '@element-plus/tokens'\nimport type { CSSProperties, ExtractPropTypes } from 'vue'\n\nexport type ColSizeObject = {\n span?: number\n offset?: number\n pull?: number\n push?: number\n}\nexport type ColSize = number | ColSizeObject\n\nexport const colProps = buildProps({\n tag: {\n type: String,\n default: 'div',\n },\n span: {\n type: Number,\n default: 24,\n },\n offset: {\n type: Number,\n default: 0,\n },\n pull: {\n type: Number,\n default: 0,\n },\n push: {\n type: Number,\n default: 0,\n },\n xs: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n sm: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n md: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n lg: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n xl: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n} as const)\nexport type ColProps = ExtractPropTypes<typeof colProps>\n\nexport default defineComponent({\n name: 'ElCol',\n props: colProps,\n\n setup(props, { slots }) {\n const { gutter } = inject(rowContextKey, { gutter: computed(() => 0) })\n const ns = useNamespace('col')\n\n const style = computed<CSSProperties>(() => {\n if (gutter.value) {\n return {\n paddingLeft: `${gutter.value / 2}px`,\n paddingRight: `${gutter.value / 2}px`,\n }\n }\n return {}\n })\n\n const classes = computed(() => {\n const classes: string[] = []\n\n const pos = ['span', 'offset', 'pull', 'push'] as const\n pos.forEach((prop) => {\n const size = props[prop]\n if (typeof size === 'number') {\n if (prop === 'span') classes.push(ns.b(`${props[prop]}`))\n else if (size > 0) classes.push(ns.b(`${prop}-${props[prop]}`))\n }\n })\n\n const sizes = ['xs', 'sm', 'md', 'lg', 'xl'] as const\n sizes.forEach((size) => {\n if (typeof props[size] === 'number') {\n classes.push(ns.b(`${size}-${props[size]}`))\n } else if (typeof props[size] === 'object') {\n const sizeProps = props[size]\n Object.keys(sizeProps).forEach((prop) => {\n classes.push(\n prop !== 'span'\n ? ns.b(`${size}-${prop}-${sizeProps[prop]}`)\n : ns.b(`${size}-${sizeProps[prop]}`)\n )\n })\n }\n })\n // this is for the fix\n if (gutter.value) {\n classes.push(ns.is('guttered'))\n }\n\n return classes\n })\n\n return () => (\n <props.tag\n v-slots={slots}\n class={[ns.b(), classes.value]}\n style={style.value}\n />\n )\n },\n})\n"],"names":["colProps","buildProps","tag","type","String","default","span","Number","offset","pull","push","xs","definePropType","Object","mutable","sm","md","lg","xl","defineComponent","name","props","
|
|
1
|
+
{"version":3,"file":"col.mjs","sources":["../../../../../../packages/components/col/src/col.tsx"],"sourcesContent":["import { computed, defineComponent, inject } from 'vue'\nimport { buildProps, definePropType, mutable } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { rowContextKey } from '@element-plus/tokens'\nimport type { CSSProperties, ExtractPropTypes } from 'vue'\n\nexport type ColSizeObject = {\n span?: number\n offset?: number\n pull?: number\n push?: number\n}\nexport type ColSize = number | ColSizeObject\n\nexport const colProps = buildProps({\n tag: {\n type: String,\n default: 'div',\n },\n span: {\n type: Number,\n default: 24,\n },\n offset: {\n type: Number,\n default: 0,\n },\n pull: {\n type: Number,\n default: 0,\n },\n push: {\n type: Number,\n default: 0,\n },\n xs: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n sm: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n md: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n lg: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n xl: {\n type: definePropType<ColSize>([Number, Object]),\n default: () => mutable({} as const),\n },\n} as const)\nexport type ColProps = ExtractPropTypes<typeof colProps>\n\nexport default defineComponent({\n name: 'ElCol',\n props: colProps,\n\n setup(props, { slots }) {\n const { gutter } = inject(rowContextKey, { gutter: computed(() => 0) })\n const ns = useNamespace('col')\n\n const style = computed<CSSProperties>(() => {\n if (gutter.value) {\n return {\n paddingLeft: `${gutter.value / 2}px`,\n paddingRight: `${gutter.value / 2}px`,\n }\n }\n return {}\n })\n\n const classes = computed(() => {\n const classes: string[] = []\n\n const pos = ['span', 'offset', 'pull', 'push'] as const\n pos.forEach((prop) => {\n const size = props[prop]\n if (typeof size === 'number') {\n if (prop === 'span') classes.push(ns.b(`${props[prop]}`))\n else if (size > 0) classes.push(ns.b(`${prop}-${props[prop]}`))\n }\n })\n\n const sizes = ['xs', 'sm', 'md', 'lg', 'xl'] as const\n sizes.forEach((size) => {\n if (typeof props[size] === 'number') {\n classes.push(ns.b(`${size}-${props[size]}`))\n } else if (typeof props[size] === 'object') {\n const sizeProps = props[size]\n Object.keys(sizeProps).forEach((prop) => {\n classes.push(\n prop !== 'span'\n ? ns.b(`${size}-${prop}-${sizeProps[prop]}`)\n : ns.b(`${size}-${sizeProps[prop]}`)\n )\n })\n }\n })\n // this is for the fix\n if (gutter.value) {\n classes.push(ns.is('guttered'))\n }\n\n return classes\n })\n\n return () => (\n <props.tag\n v-slots={slots}\n class={[ns.b(), classes.value]}\n style={style.value}\n />\n )\n },\n})\n"],"names":["colProps","buildProps","tag","type","String","default","span","Number","offset","pull","push","xs","definePropType","Object","mutable","sm","md","lg","xl","defineComponent","name","props","slots","gutter","inject","rowContextKey","ns","useNamespace","style","paddingLeft","value","paddingRight","classes","pos","forEach","prop","size","b","sizes","sizeProps","keys","_createVNode"],"mappings":"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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { renderSlot } from 'vue';
|
|
2
2
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
3
3
|
|
|
4
|
-
const _sfc_main =
|
|
4
|
+
const _sfc_main = {
|
|
5
5
|
name: "ElCollectionItem",
|
|
6
6
|
inheritAttrs: false
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9
9
|
return renderSlot(_ctx.$slots, "default");
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-item2.mjs","sources":["../../../../../../packages/components/collection/src/collection-item.vue"],"sourcesContent":["<template>\n <slot />\n</template>\n\n<script lang=\"ts\">\
|
|
1
|
+
{"version":3,"file":"collection-item2.mjs","sources":["../../../../../../packages/components/collection/src/collection-item.vue"],"sourcesContent":["<template>\n <slot />\n</template>\n\n<script lang=\"ts\" setup>\ndefineOptions({\n name: 'ElCollectionItem',\n inheritAttrs: false,\n})\n</script>\n"],"names":["_renderSlot"],"mappings":";;;;;;;;SACAA,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA,CAAA;;;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { InjectionKey } from 'vue';
|
|
2
|
+
import type { SetupContext } from '@vue/runtime-core';
|
|
2
3
|
import type { ElCollectionInjectionContext, ElCollectionItemInjectionContext } from './tokens';
|
|
3
4
|
export declare const COLLECTION_ITEM_SIGN = "data-el-collection-item";
|
|
4
5
|
export declare const createCollectionWithScope: (name: string) => {
|
|
@@ -133,9 +134,7 @@ export declare const createCollectionWithScope: (name: string) => {
|
|
|
133
134
|
};
|
|
134
135
|
ElCollectionItem: {
|
|
135
136
|
name: string;
|
|
136
|
-
setup(_: any, { attrs }:
|
|
137
|
-
attrs: any;
|
|
138
|
-
}): void;
|
|
137
|
+
setup(_: any, { attrs }: SetupContext): void;
|
|
139
138
|
__isFragment?: undefined;
|
|
140
139
|
__isTeleport?: undefined;
|
|
141
140
|
__isSuspense?: undefined;
|
|
@@ -20,8 +20,7 @@ const createCollectionWithScope = (name) => {
|
|
|
20
20
|
return [];
|
|
21
21
|
const orderedNodes = Array.from(collectionEl.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));
|
|
22
22
|
const items = [...itemMap.values()];
|
|
23
|
-
|
|
24
|
-
return orderedItems;
|
|
23
|
+
return items.sort((a, b) => orderedNodes.indexOf(a.ref) - orderedNodes.indexOf(b.ref));
|
|
25
24
|
};
|
|
26
25
|
provide(COLLECTION_INJECTION_KEY, {
|
|
27
26
|
itemMap,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection3.mjs","sources":["../../../../../../packages/components/collection/src/collection.ts"],"sourcesContent":["import { inject, onBeforeUnmount, onMounted, provide, ref, unref } from 'vue'\nimport Collection from './collection.vue'\nimport CollectionItem from './collection-item.vue'\n\nimport type { InjectionKey } from 'vue'\nimport type {\n ElCollectionInjectionContext,\n ElCollectionItemInjectionContext,\n} from './tokens'\n\nexport const COLLECTION_ITEM_SIGN = `data-el-collection-item`\n\n// Make sure the first letter of name is capitalized\nexport const createCollectionWithScope = (name: string) => {\n const COLLECTION_NAME = `El${name}Collection`\n const COLLECTION_ITEM_NAME = `${COLLECTION_NAME}Item`\n const COLLECTION_INJECTION_KEY: InjectionKey<ElCollectionInjectionContext> =\n Symbol(COLLECTION_NAME)\n const COLLECTION_ITEM_INJECTION_KEY: InjectionKey<ElCollectionItemInjectionContext> =\n Symbol(COLLECTION_ITEM_NAME)\n\n const ElCollection = {\n ...Collection,\n name: COLLECTION_NAME,\n setup() {\n const collectionRef = ref<HTMLElement | null>(null)\n const itemMap: ElCollectionInjectionContext['itemMap'] = new Map()\n const getItems = () => {\n const collectionEl = unref(collectionRef)\n\n if (!collectionEl) return []\n const orderedNodes = Array.from(\n collectionEl.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`)\n )\n\n const items = [...itemMap.values()]\n\n
|
|
1
|
+
{"version":3,"file":"collection3.mjs","sources":["../../../../../../packages/components/collection/src/collection.ts"],"sourcesContent":["import { inject, onBeforeUnmount, onMounted, provide, ref, unref } from 'vue'\nimport Collection from './collection.vue'\nimport CollectionItem from './collection-item.vue'\n\nimport type { InjectionKey } from 'vue'\nimport type { SetupContext } from '@vue/runtime-core'\nimport type {\n ElCollectionInjectionContext,\n ElCollectionItemInjectionContext,\n} from './tokens'\n\nexport const COLLECTION_ITEM_SIGN = `data-el-collection-item`\n\n// Make sure the first letter of name is capitalized\nexport const createCollectionWithScope = (name: string) => {\n const COLLECTION_NAME = `El${name}Collection`\n const COLLECTION_ITEM_NAME = `${COLLECTION_NAME}Item`\n const COLLECTION_INJECTION_KEY: InjectionKey<ElCollectionInjectionContext> =\n Symbol(COLLECTION_NAME)\n const COLLECTION_ITEM_INJECTION_KEY: InjectionKey<ElCollectionItemInjectionContext> =\n Symbol(COLLECTION_ITEM_NAME)\n\n const ElCollection = {\n ...Collection,\n name: COLLECTION_NAME,\n setup() {\n const collectionRef = ref<HTMLElement | null>(null)\n const itemMap: ElCollectionInjectionContext['itemMap'] = new Map()\n const getItems = () => {\n const collectionEl = unref(collectionRef)\n\n if (!collectionEl) return []\n const orderedNodes = Array.from(\n collectionEl.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`)\n )\n\n const items = [...itemMap.values()]\n\n return items.sort(\n (a, b) => orderedNodes.indexOf(a.ref!) - orderedNodes.indexOf(b.ref!)\n )\n }\n\n provide(COLLECTION_INJECTION_KEY, {\n itemMap,\n getItems,\n collectionRef,\n })\n },\n }\n\n const ElCollectionItem = {\n ...CollectionItem,\n name: COLLECTION_ITEM_NAME,\n setup(_, { attrs }: SetupContext) {\n const collectionItemRef = ref<HTMLElement | null>(null)\n const collectionInjection = inject(COLLECTION_INJECTION_KEY, undefined)!\n\n provide(COLLECTION_ITEM_INJECTION_KEY, {\n collectionItemRef,\n })\n\n onMounted(() => {\n const collectionItemEl = unref(collectionItemRef)\n if (collectionItemEl) {\n collectionInjection.itemMap.set(collectionItemEl, {\n ref: collectionItemEl,\n ...attrs,\n })\n }\n })\n\n onBeforeUnmount(() => {\n const collectionItemEl = unref(collectionItemRef)!\n collectionInjection.itemMap.delete(collectionItemEl)\n })\n },\n }\n\n return {\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n ElCollection,\n ElCollectionItem,\n }\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { renderSlot } from 'vue';
|
|
2
2
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
3
3
|
|
|
4
|
-
const _sfc_main =
|
|
4
|
+
const _sfc_main = {
|
|
5
5
|
inheritAttrs: false
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8
8
|
return renderSlot(_ctx.$slots, "default");
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection4.mjs","sources":["../../../../../../packages/components/collection/src/collection.vue"],"sourcesContent":["<template>\n <slot />\n</template>\n\n<script lang=\"ts\">\
|
|
1
|
+
{"version":3,"file":"collection4.mjs","sources":["../../../../../../packages/components/collection/src/collection.vue"],"sourcesContent":["<template>\n <slot />\n</template>\n\n<script lang=\"ts\" setup>\ndefineOptions({\n inheritAttrs: false,\n})\n</script>\n"],"names":["_renderSlot"],"mappings":";;;;;;;SACAA,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA,CAAA;;;;;;"}
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
+
import Container from './src/container.vue';
|
|
2
|
+
import Aside from './src/aside.vue';
|
|
3
|
+
import Footer from './src/footer.vue';
|
|
4
|
+
import Header from './src/header.vue';
|
|
5
|
+
import Main from './src/main.vue';
|
|
1
6
|
export declare const ElContainer: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
7
|
direction: {
|
|
3
8
|
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
9
|
};
|
|
6
10
|
}, {
|
|
7
|
-
|
|
11
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
direction: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
};
|
|
15
|
+
}>> & {
|
|
16
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
17
|
+
}>>;
|
|
18
|
+
slots: Readonly<{
|
|
19
|
+
[name: string]: import("vue").Slot | undefined;
|
|
20
|
+
}>;
|
|
8
21
|
ns: {
|
|
9
22
|
namespace: import("vue").ComputedRef<string>;
|
|
10
23
|
b: (blockSuffix?: string) => string;
|
|
@@ -23,21 +36,26 @@ export declare const ElContainer: import("element-plus/es/utils").SFCWithInstall
|
|
|
23
36
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
24
37
|
cssVarBlockName: (name: string) => string;
|
|
25
38
|
};
|
|
39
|
+
isVertical: import("vue").ComputedRef<boolean>;
|
|
26
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
41
|
direction: {
|
|
28
42
|
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
43
|
};
|
|
31
|
-
}>>, {
|
|
32
|
-
direction: string;
|
|
33
|
-
}>> & {
|
|
44
|
+
}>>, {}>> & {
|
|
34
45
|
Aside: import("vue").DefineComponent<{
|
|
35
46
|
width: {
|
|
36
47
|
type: StringConstructor;
|
|
37
48
|
default: null;
|
|
38
49
|
};
|
|
39
50
|
}, {
|
|
40
|
-
|
|
51
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
width: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: null;
|
|
55
|
+
};
|
|
56
|
+
}>> & {
|
|
57
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
58
|
+
}>>;
|
|
41
59
|
ns: {
|
|
42
60
|
namespace: import("vue").ComputedRef<string>;
|
|
43
61
|
b: (blockSuffix?: string) => string;
|
|
@@ -56,6 +74,7 @@ export declare const ElContainer: import("element-plus/es/utils").SFCWithInstall
|
|
|
56
74
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
57
75
|
cssVarBlockName: (name: string) => string;
|
|
58
76
|
};
|
|
77
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
59
78
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
79
|
width: {
|
|
61
80
|
type: StringConstructor;
|
|
@@ -70,7 +89,14 @@ export declare const ElContainer: import("element-plus/es/utils").SFCWithInstall
|
|
|
70
89
|
default: null;
|
|
71
90
|
};
|
|
72
91
|
}, {
|
|
73
|
-
|
|
92
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
+
height: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: null;
|
|
96
|
+
};
|
|
97
|
+
}>> & {
|
|
98
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
99
|
+
}>>;
|
|
74
100
|
ns: {
|
|
75
101
|
namespace: import("vue").ComputedRef<string>;
|
|
76
102
|
b: (blockSuffix?: string) => string;
|
|
@@ -89,6 +115,7 @@ export declare const ElContainer: import("element-plus/es/utils").SFCWithInstall
|
|
|
89
115
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
90
116
|
cssVarBlockName: (name: string) => string;
|
|
91
117
|
};
|
|
118
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
92
119
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
120
|
height: {
|
|
94
121
|
type: StringConstructor;
|
|
@@ -103,7 +130,14 @@ export declare const ElContainer: import("element-plus/es/utils").SFCWithInstall
|
|
|
103
130
|
default: null;
|
|
104
131
|
};
|
|
105
132
|
}, {
|
|
106
|
-
|
|
133
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
134
|
+
height: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: null;
|
|
137
|
+
};
|
|
138
|
+
}>> & {
|
|
139
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
140
|
+
}>>;
|
|
107
141
|
ns: {
|
|
108
142
|
namespace: import("vue").ComputedRef<string>;
|
|
109
143
|
b: (blockSuffix?: string) => string;
|
|
@@ -122,6 +156,7 @@ export declare const ElContainer: import("element-plus/es/utils").SFCWithInstall
|
|
|
122
156
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
123
157
|
cssVarBlockName: (name: string) => string;
|
|
124
158
|
};
|
|
159
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
125
160
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
161
|
height: {
|
|
127
162
|
type: StringConstructor;
|
|
@@ -158,7 +193,14 @@ export declare const ElAside: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
158
193
|
default: null;
|
|
159
194
|
};
|
|
160
195
|
}, {
|
|
161
|
-
|
|
196
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
197
|
+
width: {
|
|
198
|
+
type: StringConstructor;
|
|
199
|
+
default: null;
|
|
200
|
+
};
|
|
201
|
+
}>> & {
|
|
202
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
203
|
+
}>>;
|
|
162
204
|
ns: {
|
|
163
205
|
namespace: import("vue").ComputedRef<string>;
|
|
164
206
|
b: (blockSuffix?: string) => string;
|
|
@@ -177,6 +219,7 @@ export declare const ElAside: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
177
219
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
178
220
|
cssVarBlockName: (name: string) => string;
|
|
179
221
|
};
|
|
222
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
180
223
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
181
224
|
width: {
|
|
182
225
|
type: StringConstructor;
|
|
@@ -191,7 +234,14 @@ export declare const ElFooter: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
191
234
|
default: null;
|
|
192
235
|
};
|
|
193
236
|
}, {
|
|
194
|
-
|
|
237
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
238
|
+
height: {
|
|
239
|
+
type: StringConstructor;
|
|
240
|
+
default: null;
|
|
241
|
+
};
|
|
242
|
+
}>> & {
|
|
243
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
244
|
+
}>>;
|
|
195
245
|
ns: {
|
|
196
246
|
namespace: import("vue").ComputedRef<string>;
|
|
197
247
|
b: (blockSuffix?: string) => string;
|
|
@@ -210,6 +260,7 @@ export declare const ElFooter: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
210
260
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
211
261
|
cssVarBlockName: (name: string) => string;
|
|
212
262
|
};
|
|
263
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
213
264
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
214
265
|
height: {
|
|
215
266
|
type: StringConstructor;
|
|
@@ -224,7 +275,14 @@ export declare const ElHeader: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
224
275
|
default: null;
|
|
225
276
|
};
|
|
226
277
|
}, {
|
|
227
|
-
|
|
278
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
279
|
+
height: {
|
|
280
|
+
type: StringConstructor;
|
|
281
|
+
default: null;
|
|
282
|
+
};
|
|
283
|
+
}>> & {
|
|
284
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
285
|
+
}>>;
|
|
228
286
|
ns: {
|
|
229
287
|
namespace: import("vue").ComputedRef<string>;
|
|
230
288
|
b: (blockSuffix?: string) => string;
|
|
@@ -243,6 +301,7 @@ export declare const ElHeader: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
243
301
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
244
302
|
cssVarBlockName: (name: string) => string;
|
|
245
303
|
};
|
|
304
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
246
305
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
247
306
|
height: {
|
|
248
307
|
type: StringConstructor;
|
|
@@ -271,3 +330,8 @@ export declare const ElMain: import("element-plus/es/utils").SFCWithInstall<impo
|
|
|
271
330
|
cssVarBlockName: (name: string) => string;
|
|
272
331
|
};
|
|
273
332
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
333
|
+
export declare type ContainerInstance = InstanceType<typeof Container>;
|
|
334
|
+
export declare type AsideInstance = InstanceType<typeof Aside>;
|
|
335
|
+
export declare type FooterInstance = InstanceType<typeof Footer>;
|
|
336
|
+
export declare type HeaderInstance = InstanceType<typeof Header>;
|
|
337
|
+
export declare type MainInstance = InstanceType<typeof Main>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.mjs","sources":["../../../../../packages/components/container/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\n\nimport Container from './src/container.vue'\nimport Aside from './src/aside.vue'\nimport Footer from './src/footer.vue'\nimport Header from './src/header.vue'\nimport Main from './src/main.vue'\n\nexport const ElContainer = withInstall(Container, {\n Aside,\n Footer,\n Header,\n Main,\n})\n\nexport default ElContainer\nexport const ElAside = withNoopInstall(Aside)\nexport const ElFooter = withNoopInstall(Footer)\nexport const ElHeader = withNoopInstall(Header)\nexport const ElMain = withNoopInstall(Main)\n"],"names":[],"mappings":";;;;;;;;AAMY,MAAC,WAAW,GAAG,WAAW,CAAC,SAAS,EAAE;AAClD,EAAE,KAAK;AACP,EAAE,MAAM;AACR,EAAE,MAAM;AACR,EAAE,IAAI;AACN,CAAC,EAAE;AAES,MAAC,OAAO,GAAG,eAAe,CAAC,KAAK,EAAE;AAClC,MAAC,QAAQ,GAAG,eAAe,CAAC,MAAM,EAAE;AACpC,MAAC,QAAQ,GAAG,eAAe,CAAC,MAAM,EAAE;AACpC,MAAC,MAAM,GAAG,eAAe,CAAC,IAAI;;;;"}
|
|
1
|
+
{"version":3,"file":"index2.mjs","sources":["../../../../../packages/components/container/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\n\nimport Container from './src/container.vue'\nimport Aside from './src/aside.vue'\nimport Footer from './src/footer.vue'\nimport Header from './src/header.vue'\nimport Main from './src/main.vue'\n\nexport const ElContainer = withInstall(Container, {\n Aside,\n Footer,\n Header,\n Main,\n})\n\nexport default ElContainer\nexport const ElAside = withNoopInstall(Aside)\nexport const ElFooter = withNoopInstall(Footer)\nexport const ElHeader = withNoopInstall(Header)\nexport const ElMain = withNoopInstall(Main)\n\nexport type ContainerInstance = InstanceType<typeof Container>\nexport type AsideInstance = InstanceType<typeof Aside>\nexport type FooterInstance = InstanceType<typeof Footer>\nexport type HeaderInstance = InstanceType<typeof Header>\nexport type MainInstance = InstanceType<typeof Main>\n"],"names":[],"mappings":";;;;;;;;AAMY,MAAC,WAAW,GAAG,WAAW,CAAC,SAAS,EAAE;AAClD,EAAE,KAAK;AACP,EAAE,MAAM;AACR,EAAE,MAAM;AACR,EAAE,IAAI;AACN,CAAC,EAAE;AAES,MAAC,OAAO,GAAG,eAAe,CAAC,KAAK,EAAE;AAClC,MAAC,QAAQ,GAAG,eAAe,CAAC,MAAM,EAAE;AACpC,MAAC,QAAQ,GAAG,eAAe,CAAC,MAAM,EAAE;AACpC,MAAC,MAAM,GAAG,eAAe,CAAC,IAAI;;;;"}
|
|
@@ -5,7 +5,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
default: null;
|
|
6
6
|
};
|
|
7
7
|
}, {
|
|
8
|
-
|
|
8
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
width: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
15
|
+
}>>;
|
|
9
16
|
ns: {
|
|
10
17
|
namespace: import("vue").ComputedRef<string>;
|
|
11
18
|
b: (blockSuffix?: string) => string;
|
|
@@ -24,6 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
31
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
25
32
|
cssVarBlockName: (name: string) => string;
|
|
26
33
|
};
|
|
34
|
+
style: import("vue").ComputedRef<CSSProperties>;
|
|
27
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
36
|
width: {
|
|
29
37
|
type: StringConstructor;
|
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from 'vue';
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot } from 'vue';
|
|
2
2
|
import '../../../hooks/index2.mjs';
|
|
3
3
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
4
4
|
import { useNamespace } from '../../../hooks/use-namespace/index2.mjs';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
name: "ElAside"
|
|
6
|
+
const __default__ = {
|
|
7
|
+
name: "ElAside"
|
|
8
|
+
};
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
...__default__,
|
|
8
11
|
props: {
|
|
9
12
|
width: {
|
|
10
13
|
type: String,
|
|
11
14
|
default: null
|
|
12
15
|
}
|
|
13
16
|
},
|
|
14
|
-
setup(
|
|
17
|
+
setup(__props) {
|
|
18
|
+
const props = __props;
|
|
15
19
|
const ns = useNamespace("aside");
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
const style = computed(() => props.width ? ns.cssVarBlock({ width: props.width }) : {});
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createElementBlock("aside", {
|
|
23
|
+
class: normalizeClass(unref(ns).b()),
|
|
24
|
+
style: normalizeStyle(unref(style))
|
|
25
|
+
}, [
|
|
26
|
+
renderSlot(_ctx.$slots, "default")
|
|
27
|
+
], 6);
|
|
21
28
|
};
|
|
22
29
|
}
|
|
23
30
|
});
|
|
24
|
-
|
|
25
|
-
return openBlock(), createElementBlock("aside", {
|
|
26
|
-
class: normalizeClass(_ctx.ns.b()),
|
|
27
|
-
style: normalizeStyle(_ctx.style)
|
|
28
|
-
}, [
|
|
29
|
-
renderSlot(_ctx.$slots, "default")
|
|
30
|
-
], 6);
|
|
31
|
-
}
|
|
32
|
-
var Aside = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);
|
|
31
|
+
var Aside = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);
|
|
33
32
|
|
|
34
33
|
export { Aside as default };
|
|
35
34
|
//# sourceMappingURL=aside2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aside2.mjs","sources":["../../../../../../packages/components/container/src/aside.vue"],"sourcesContent":["<template>\n <aside :class=\"ns.b()\" :style=\"style\">\n <slot />\n </aside>\n</template>\n<script lang=\"ts\">\nimport { computed
|
|
1
|
+
{"version":3,"file":"aside2.mjs","sources":["../../../../../../packages/components/container/src/aside.vue"],"sourcesContent":["<template>\n <aside :class=\"ns.b()\" :style=\"style\">\n <slot />\n </aside>\n</template>\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\n\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElAside',\n})\nconst props = defineProps({\n width: {\n type: String,\n default: null,\n },\n})\n\nconst ns = useNamespace('aside')\nconst style = computed(\n () =>\n (props.width ? ns.cssVarBlock({ width: props.width }) : {}) as CSSProperties\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAqBA,IAAA,MAAA,EAAA,GAAA,aAAA,OAAA,CAAA,CAAA;AACA,IAAA,MAAA,KAAA,GAAA,QAAA,CACA,MACA,KAAA,CAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,KAAA,EAAA,KAAA,CAAA,KAAA,EAAA,CAAA,GAAA,EACA,CAAA,CAAA;;;;;;;;;;;;;;;"}
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
direction: {
|
|
3
3
|
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
4
|
};
|
|
6
5
|
}, {
|
|
7
|
-
|
|
6
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
direction: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
}>> & {
|
|
11
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
12
|
+
}>>;
|
|
13
|
+
slots: Readonly<{
|
|
14
|
+
[name: string]: import("vue").Slot | undefined;
|
|
15
|
+
}>;
|
|
8
16
|
ns: {
|
|
9
17
|
namespace: import("vue").ComputedRef<string>;
|
|
10
18
|
b: (blockSuffix?: string) => string;
|
|
@@ -23,12 +31,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
31
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
24
32
|
cssVarBlockName: (name: string) => string;
|
|
25
33
|
};
|
|
34
|
+
isVertical: import("vue").ComputedRef<boolean>;
|
|
26
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
36
|
direction: {
|
|
28
37
|
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
38
|
};
|
|
31
|
-
}>>, {
|
|
32
|
-
direction: string;
|
|
33
|
-
}>;
|
|
39
|
+
}>>, {}>;
|
|
34
40
|
export default _default;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, renderSlot } from 'vue';
|
|
1
|
+
import { defineComponent, useSlots, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';
|
|
2
2
|
import '../../../hooks/index2.mjs';
|
|
3
3
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
4
4
|
import { useNamespace } from '../../../hooks/use-namespace/index2.mjs';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
name: "ElContainer"
|
|
6
|
+
const __default__ = {
|
|
7
|
+
name: "ElContainer"
|
|
8
|
+
};
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
...__default__,
|
|
8
11
|
props: {
|
|
9
12
|
direction: {
|
|
10
|
-
type: String
|
|
11
|
-
default: ""
|
|
13
|
+
type: String
|
|
12
14
|
}
|
|
13
15
|
},
|
|
14
|
-
setup(
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const slots = useSlots();
|
|
15
19
|
const ns = useNamespace("container");
|
|
16
20
|
const isVertical = computed(() => {
|
|
17
21
|
if (props.direction === "vertical") {
|
|
@@ -29,20 +33,16 @@ const _sfc_main = defineComponent({
|
|
|
29
33
|
return false;
|
|
30
34
|
}
|
|
31
35
|
});
|
|
32
|
-
return {
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
return openBlock(), createElementBlock("section", {
|
|
38
|
+
class: normalizeClass([unref(ns).b(), unref(ns).is("vertical", unref(isVertical))])
|
|
39
|
+
}, [
|
|
40
|
+
renderSlot(_ctx.$slots, "default")
|
|
41
|
+
], 2);
|
|
35
42
|
};
|
|
36
43
|
}
|
|
37
44
|
});
|
|
38
|
-
|
|
39
|
-
return openBlock(), createElementBlock("section", {
|
|
40
|
-
class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.isVertical)])
|
|
41
|
-
}, [
|
|
42
|
-
renderSlot(_ctx.$slots, "default")
|
|
43
|
-
], 2);
|
|
44
|
-
}
|
|
45
|
-
var Container = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);
|
|
45
|
+
var Container = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);
|
|
46
46
|
|
|
47
47
|
export { Container as default };
|
|
48
48
|
//# sourceMappingURL=container2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container2.mjs","sources":["../../../../../../packages/components/container/src/container.vue"],"sourcesContent":["<template>\n <section :class=\"[ns.b(), ns.is('vertical', isVertical)]\">\n <slot />\n </section>\n</template>\n<script lang=\"ts\">\nimport { computed,
|
|
1
|
+
{"version":3,"file":"container2.mjs","sources":["../../../../../../packages/components/container/src/container.vue"],"sourcesContent":["<template>\n <section :class=\"[ns.b(), ns.is('vertical', isVertical)]\">\n <slot />\n </section>\n</template>\n<script lang=\"ts\" setup>\nimport { computed, useSlots } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\n\nimport type { Component, VNode } from 'vue'\n\ndefineOptions({\n name: 'ElContainer',\n})\nconst props = defineProps({\n direction: {\n type: String,\n },\n})\nconst slots = useSlots()\n\nconst ns = useNamespace('container')\n\nconst isVertical = computed(() => {\n if (props.direction === 'vertical') {\n return true\n } else if (props.direction === 'horizontal') {\n return false\n }\n if (slots && slots.default) {\n const vNodes: VNode[] = slots.default()\n return vNodes.some((vNode) => {\n const tag = (vNode.type as Component).name\n return tag === 'ElHeader' || tag === 'ElFooter'\n })\n } else {\n return false\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAmBA,IAAA,MAAA,QAAA,QAAA,EAAA,CAAA;AAEA,IAAA,MAAA,EAAA,GAAA,aAAA,WAAA,CAAA,CAAA;AAEA,IAAA,MAAA,UAAA,GAAA,SAAA,MAAA;AACA,MAAA,IAAA,KAAA,CAAA,cAAA,UAAA,EAAA;AACA,QAAA,OAAA,IAAA,CAAA;AAAA,OACA,MAAA,IAAA,KAAA,CAAA,SAAA,KAAA,YAAA,EAAA;AACA,QAAA,OAAA,KAAA,CAAA;AAAA,OACA;AACA,MAAA,IAAA,KAAA,IAAA,MAAA,OAAA,EAAA;AACA,QAAA,MAAA,MAAA,GAAA,MAAA,OAAA,EAAA,CAAA;AACA,QAAA,OAAA,MAAA,CAAA,IAAA,CAAA,CAAA,KAAA,KAAA;AACA,UAAA,MAAA,GAAA,GAAA,MAAA,IAAA,CAAA,IAAA,CAAA;AACA,UAAA,OAAA,GAAA,KAAA,cAAA,GAAA,KAAA,UAAA,CAAA;AAAA,SACA,CAAA,CAAA;AAAA,OACA,MAAA;AACA,QAAA,OAAA,KAAA,CAAA;AAAA,OACA;AAAA,KACA,CAAA,CAAA;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
default: null;
|
|
6
6
|
};
|
|
7
7
|
}, {
|
|
8
|
-
|
|
8
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
height: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
15
|
+
}>>;
|
|
9
16
|
ns: {
|
|
10
17
|
namespace: import("vue").ComputedRef<string>;
|
|
11
18
|
b: (blockSuffix?: string) => string;
|
|
@@ -24,6 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
31
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
25
32
|
cssVarBlockName: (name: string) => string;
|
|
26
33
|
};
|
|
34
|
+
style: import("vue").ComputedRef<CSSProperties>;
|
|
27
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
36
|
height: {
|
|
29
37
|
type: StringConstructor;
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from 'vue';
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot } from 'vue';
|
|
2
2
|
import '../../../hooks/index2.mjs';
|
|
3
3
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
4
4
|
import { useNamespace } from '../../../hooks/use-namespace/index2.mjs';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
name: "ElFooter"
|
|
6
|
+
const __default__ = {
|
|
7
|
+
name: "ElFooter"
|
|
8
|
+
};
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
...__default__,
|
|
8
11
|
props: {
|
|
9
12
|
height: {
|
|
10
13
|
type: String,
|
|
11
14
|
default: null
|
|
12
15
|
}
|
|
13
16
|
},
|
|
14
|
-
setup(
|
|
17
|
+
setup(__props) {
|
|
18
|
+
const props = __props;
|
|
15
19
|
const ns = useNamespace("footer");
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
const style = computed(() => props.height ? ns.cssVarBlock({ height: props.height }) : {});
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createElementBlock("footer", {
|
|
23
|
+
class: normalizeClass(unref(ns).b()),
|
|
24
|
+
style: normalizeStyle(unref(style))
|
|
25
|
+
}, [
|
|
26
|
+
renderSlot(_ctx.$slots, "default")
|
|
27
|
+
], 6);
|
|
19
28
|
};
|
|
20
29
|
}
|
|
21
30
|
});
|
|
22
|
-
|
|
23
|
-
return openBlock(), createElementBlock("footer", {
|
|
24
|
-
class: normalizeClass(_ctx.ns.b()),
|
|
25
|
-
style: normalizeStyle(_ctx.style)
|
|
26
|
-
}, [
|
|
27
|
-
renderSlot(_ctx.$slots, "default")
|
|
28
|
-
], 6);
|
|
29
|
-
}
|
|
30
|
-
var Footer = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);
|
|
31
|
+
var Footer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);
|
|
31
32
|
|
|
32
33
|
export { Footer as default };
|
|
33
34
|
//# sourceMappingURL=footer2.mjs.map
|