@element-plus/nightly 0.0.20241104 → 0.0.20241105
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.full.js +5 -5
- package/dist/index.full.min.js +4 -4
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +4 -4
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +5 -5
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/color-picker/index.mjs +2 -2
- package/es/components/color-picker/src/color-picker.mjs +42 -401
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker2.mjs +401 -42
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/color-picker/src/components/predefine.mjs +1 -1
- package/es/components/descriptions/src/description2.mjs +1 -1
- package/es/components/descriptions/src/descriptions-row.mjs +7 -63
- package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
- package/es/components/descriptions/src/descriptions-row2.mjs +63 -7
- package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
- package/es/components/index.mjs +6 -6
- package/es/components/input/index.mjs +2 -2
- package/es/components/input/src/input.mjs +103 -433
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input2.mjs +433 -103
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/mention/src/mention-dropdown.mjs +167 -15
- package/es/components/mention/src/mention-dropdown.mjs.map +1 -1
- package/es/components/mention/src/mention-dropdown2.mjs +15 -167
- package/es/components/mention/src/mention-dropdown2.mjs.map +1 -1
- package/es/components/mention/src/mention.mjs +1 -1
- package/es/components/mention/src/mention2.mjs +2 -2
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +17 -102
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +102 -17
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/popconfirm/index.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm.mjs +47 -115
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm2.mjs +115 -47
- package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
- package/es/components/scrollbar/src/bar.mjs +64 -11
- package/es/components/scrollbar/src/bar.mjs.map +1 -1
- package/es/components/scrollbar/src/bar2.mjs +11 -64
- package/es/components/scrollbar/src/bar2.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +1 -1
- package/es/components/time-picker/src/common/picker.mjs +1 -1
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-select/index.mjs +2 -2
- package/es/components/time-select/src/time-select.mjs +51 -124
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select2.mjs +124 -51
- package/es/components/time-select/src/time-select2.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +2 -2
- package/es/components/tooltip/src/tooltip.mjs +31 -168
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +168 -31
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/root.mjs +17 -80
- package/es/components/tooltip-v2/src/root.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root2.mjs +80 -17
- package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- 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/color-picker/index.js +2 -2
- package/lib/components/color-picker/src/color-picker.js +42 -399
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker2.js +399 -42
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/color-picker/src/components/predefine.js +1 -1
- package/lib/components/descriptions/src/description2.js +1 -1
- package/lib/components/descriptions/src/descriptions-row.js +7 -63
- package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
- package/lib/components/descriptions/src/descriptions-row2.js +63 -7
- package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
- package/lib/components/index.js +6 -6
- package/lib/components/input/index.js +2 -2
- package/lib/components/input/src/input.js +103 -432
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input2.js +432 -103
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/mention/src/mention-dropdown.js +167 -16
- package/lib/components/mention/src/mention-dropdown.js.map +1 -1
- package/lib/components/mention/src/mention-dropdown2.js +16 -167
- package/lib/components/mention/src/mention-dropdown2.js.map +1 -1
- package/lib/components/mention/src/mention.js +1 -1
- package/lib/components/mention/src/mention2.js +2 -2
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +18 -102
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +102 -18
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/popconfirm/index.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.js +48 -115
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm2.js +115 -48
- package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
- package/lib/components/scrollbar/src/bar.js +64 -11
- package/lib/components/scrollbar/src/bar.js.map +1 -1
- package/lib/components/scrollbar/src/bar2.js +11 -64
- package/lib/components/scrollbar/src/bar2.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +1 -1
- package/lib/components/time-picker/src/common/picker.js +1 -1
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-select/index.js +2 -2
- package/lib/components/time-select/src/time-select.js +51 -129
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select2.js +129 -51
- package/lib/components/time-select/src/time-select2.js.map +1 -1
- package/lib/components/tooltip/index.js +2 -2
- package/lib/components/tooltip/src/tooltip.js +35 -168
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip2.js +168 -35
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/root.js +17 -80
- package/lib/components/tooltip-v2/src/root.js.map +1 -1
- package/lib/components/tooltip-v2/src/root2.js +80 -17
- package/lib/components/tooltip-v2/src/root2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/index.js +6 -6
- 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/src/mixins/mixins.scss +4 -1
- package/web-types.json +1 -1
package/dist/locale/vi.min.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20241105 */var e={name:"vi",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"X\xF3a"},datepicker:{now:"Hi\u1EC7n t\u1EA1i",today:"H\xF4m nay",cancel:"H\u1EE7y",clear:"X\xF3a",confirm:"OK",selectDate:"Ch\u1ECDn ng\xE0y",selectTime:"Ch\u1ECDn gi\u1EDD",startDate:"Ng\xE0y b\u1EAFt \u0111\u1EA7u",startTime:"Th\u1EDDi gian b\u1EAFt \u0111\u1EA7u",endDate:"Ng\xE0y k\u1EBFt th\xFAc",endTime:"Th\u1EDDi gian k\u1EBFt th\xFAc",prevYear:"N\u0103m tr\u01B0\u1EDBc",nextYear:"N\u0103m t\u1EDBi",prevMonth:"Th\xE1ng tr\u01B0\u1EDBc",nextMonth:"Th\xE1ng t\u1EDBi",year:"N\u0103m",month1:"Th\xE1ng 1",month2:"Th\xE1ng 2",month3:"Th\xE1ng 3",month4:"Th\xE1ng 4",month5:"Th\xE1ng 5",month6:"Th\xE1ng 6",month7:"Th\xE1ng 7",month8:"Th\xE1ng 8",month9:"Th\xE1ng 9",month10:"Th\xE1ng 10",month11:"Th\xE1ng 11",month12:"Th\xE1ng 12",weeks:{sun:"CN",mon:"T2",tue:"T3",wed:"T4",thu:"T5",fri:"T6",sat:"T7"},months:{jan:"Th.1",feb:"Th.2",mar:"Th.3",apr:"Th.4",may:"Th.5",jun:"Th.6",jul:"Th.7",aug:"Th.8",sep:"Th.9",oct:"Th.10",nov:"Th.11",dec:"Th.12"}},select:{loading:"\u0110ang t\u1EA3i",noMatch:"D\u1EEF li\u1EC7u kh\xF4ng ph\xF9 h\u1EE3p",noData:"Kh\xF4ng t\xECm th\u1EA5y d\u1EEF li\u1EC7u",placeholder:"Ch\u1ECDn"},mention:{loading:"\u0110ang t\u1EA3i"},cascader:{noMatch:"D\u1EEF li\u1EC7u kh\xF4ng ph\xF9 h\u1EE3p",loading:"\u0110ang t\u1EA3i",placeholder:"Ch\u1ECDn",noData:"Kh\xF4ng t\xECm th\u1EA5y d\u1EEF li\u1EC7u"},pagination:{goto:"Nh\u1EA3y t\u1EDBi",pagesize:"/trang",total:"T\u1ED5ng {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages"},messagebox:{title:"Th\xF4ng b\xE1o",confirm:"OK",cancel:"H\u1EE7y",error:"D\u1EEF li\u1EC7u kh\xF4ng h\u1EE3p l\u1EC7"},upload:{deleteTip:"Nh\u1EA5n xo\xE1 \u0111\u1EC3 xo\xE1",delete:"X\xF3a",preview:"Xem tr\u01B0\u1EDBc",continue:"Ti\u1EBFp t\u1EE5c"},table:{emptyText:"Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",confirmFilter:"X\xE1c nh\u1EADn",resetFilter:"L\xE0m m\u1EDBi",clearFilter:"X\xF3a h\u1EBFt",sumText:"T\u1ED5ng"},tour:{next:"Ti\u1EBFp",previous:"Tr\u01B0\u1EDBc",finish:"Ho\xE0n th\xE0nh"},tree:{emptyText:"Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u"},transfer:{noMatch:"D\u1EEF li\u1EC7u kh\xF4ng ph\xF9 h\u1EE3p",noData:"Kh\xF4ng t\xECm th\u1EA5y d\u1EEF li\u1EC7u",titles:["Danh s\xE1ch 1","Danh s\xE1ch 2"],filterPlaceholder:"Nh\u1EADp t\u1EEB kh\xF3a",noCheckedFormat:"{total} m\u1EE5c",hasCheckedFormat:"{checked}/{total} \u0111\xE3 ch\u1ECDn "},image:{error:"L\u1ED6I"},pageHeader:{title:"Quay l\u1EA1i"},popconfirm:{confirmButtonText:"Ok",cancelButtonText:"Hu\u1EF7"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};export{e as default};
|
|
2
2
|
//# sourceMappingURL=vi.min.mjs.map
|
package/dist/locale/vi.mjs
CHANGED
package/dist/locale/zh-cn.js
CHANGED
package/dist/locale/zh-cn.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20241105 */(function(u,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e():typeof define=="function"&&define.amd?define(e):(u=typeof globalThis!="undefined"?globalThis:u||self,u.ElementPlusLocaleZhCn=e())})(this,function(){"use strict";var u={name:"zh-cn",el:{breadcrumb:{label:"\u9762\u5305\u5C51"},colorpicker:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A",defaultLabel:"\u989C\u8272\u9009\u62E9\u5668",description:"\u5F53\u524D\u989C\u8272 {color}\uFF0C\u6309 Enter \u952E\u9009\u62E9\u65B0\u989C\u8272",alphaLabel:"\u9009\u62E9\u900F\u660E\u5EA6\u7684\u503C"},datepicker:{now:"\u6B64\u523B",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u786E\u5B9A",dateTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u65E5\u671F",monthTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u6708\u4EFD",yearTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u5E74\u4EFD",selectedDate:"\u5DF2\u9009\u65E5\u671F",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",startDate:"\u5F00\u59CB\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",endDate:"\u7ED3\u675F\u65E5\u671F",endTime:"\u7ED3\u675F\u65F6\u95F4",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u540E\u4E00\u5E74",prevMonth:"\u4E0A\u4E2A\u6708",nextMonth:"\u4E0B\u4E2A\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},weeksFull:{sun:"\u661F\u671F\u65E5",mon:"\u661F\u671F\u4E00",tue:"\u661F\u671F\u4E8C",wed:"\u661F\u671F\u4E09",thu:"\u661F\u671F\u56DB",fri:"\u661F\u671F\u4E94",sat:"\u661F\u671F\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},inputNumber:{decrease:"\u51CF\u5C11\u6570\u503C",increase:"\u589E\u52A0\u6570\u503C"},select:{loading:"\u52A0\u8F7D\u4E2D",noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",placeholder:"\u8BF7\u9009\u62E9"},dropdown:{toggleDropdown:"\u5207\u6362\u4E0B\u62C9\u9009\u9879"},mention:{loading:"\u52A0\u8F7D\u4E2D"},cascader:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",loading:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9",noData:"\u6682\u65E0\u6570\u636E"},pagination:{goto:"\u524D\u5F80",pagesize:"\u6761/\u9875",total:"\u5171 {total} \u6761",pageClassifier:"\u9875",page:"\u9875",prev:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875",currentPage:"\u7B2C {pager} \u9875",prevPages:"\u5411\u524D {pager} \u9875",nextPages:"\u5411\u540E {pager} \u9875",deprecationWarning:"\u4F60\u4F7F\u7528\u4E86\u4E00\u4E9B\u5DF2\u88AB\u5E9F\u5F03\u7684\u7528\u6CD5\uFF0C\u8BF7\u53C2\u8003 el-pagination \u7684\u5B98\u65B9\u6587\u6863"},dialog:{close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},drawer:{close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},messagebox:{title:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!",close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},upload:{deleteTip:"\u6309 delete \u952E\u53EF\u5220\u9664",delete:"\u5220\u9664",preview:"\u67E5\u770B\u56FE\u7247",continue:"\u7EE7\u7EED\u4E0A\u4F20"},slider:{defaultLabel:"\u6ED1\u5757\u4ECB\u4E8E {min} \u81F3 {max}",defaultRangeStartLabel:"\u9009\u62E9\u8D77\u59CB\u503C",defaultRangeEndLabel:"\u9009\u62E9\u7ED3\u675F\u503C"},table:{emptyText:"\u6682\u65E0\u6570\u636E",confirmFilter:"\u7B5B\u9009",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8BA1"},tour:{next:"\u4E0B\u4E00\u6B65",previous:"\u4E0A\u4E00\u6B65",finish:"\u7ED3\u675F\u5BFC\u89C8"},tree:{emptyText:"\u6682\u65E0\u6570\u636E"},transfer:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",noCheckedFormat:"\u5171 {total} \u9879",hasCheckedFormat:"\u5DF2\u9009 {checked}/{total} \u9879"},image:{error:"\u52A0\u8F7D\u5931\u8D25"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88"},carousel:{leftArrow:"\u4E0A\u4E00\u5F20\u5E7B\u706F\u7247",rightArrow:"\u4E0B\u4E00\u5F20\u5E7B\u706F\u7247",indicator:"\u5E7B\u706F\u7247\u5207\u6362\u81F3\u7D22\u5F15 {index}"}}};return u});
|
|
2
2
|
//# sourceMappingURL=zh-cn.min.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20241105 */var u={name:"zh-cn",el:{breadcrumb:{label:"\u9762\u5305\u5C51"},colorpicker:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A",defaultLabel:"\u989C\u8272\u9009\u62E9\u5668",description:"\u5F53\u524D\u989C\u8272 {color}\uFF0C\u6309 Enter \u952E\u9009\u62E9\u65B0\u989C\u8272",alphaLabel:"\u9009\u62E9\u900F\u660E\u5EA6\u7684\u503C"},datepicker:{now:"\u6B64\u523B",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u786E\u5B9A",dateTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u65E5\u671F",monthTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u6708\u4EFD",yearTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u5E74\u4EFD",selectedDate:"\u5DF2\u9009\u65E5\u671F",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",startDate:"\u5F00\u59CB\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",endDate:"\u7ED3\u675F\u65E5\u671F",endTime:"\u7ED3\u675F\u65F6\u95F4",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u540E\u4E00\u5E74",prevMonth:"\u4E0A\u4E2A\u6708",nextMonth:"\u4E0B\u4E2A\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},weeksFull:{sun:"\u661F\u671F\u65E5",mon:"\u661F\u671F\u4E00",tue:"\u661F\u671F\u4E8C",wed:"\u661F\u671F\u4E09",thu:"\u661F\u671F\u56DB",fri:"\u661F\u671F\u4E94",sat:"\u661F\u671F\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},inputNumber:{decrease:"\u51CF\u5C11\u6570\u503C",increase:"\u589E\u52A0\u6570\u503C"},select:{loading:"\u52A0\u8F7D\u4E2D",noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",placeholder:"\u8BF7\u9009\u62E9"},dropdown:{toggleDropdown:"\u5207\u6362\u4E0B\u62C9\u9009\u9879"},mention:{loading:"\u52A0\u8F7D\u4E2D"},cascader:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",loading:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9",noData:"\u6682\u65E0\u6570\u636E"},pagination:{goto:"\u524D\u5F80",pagesize:"\u6761/\u9875",total:"\u5171 {total} \u6761",pageClassifier:"\u9875",page:"\u9875",prev:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875",currentPage:"\u7B2C {pager} \u9875",prevPages:"\u5411\u524D {pager} \u9875",nextPages:"\u5411\u540E {pager} \u9875",deprecationWarning:"\u4F60\u4F7F\u7528\u4E86\u4E00\u4E9B\u5DF2\u88AB\u5E9F\u5F03\u7684\u7528\u6CD5\uFF0C\u8BF7\u53C2\u8003 el-pagination \u7684\u5B98\u65B9\u6587\u6863"},dialog:{close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},drawer:{close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},messagebox:{title:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!",close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},upload:{deleteTip:"\u6309 delete \u952E\u53EF\u5220\u9664",delete:"\u5220\u9664",preview:"\u67E5\u770B\u56FE\u7247",continue:"\u7EE7\u7EED\u4E0A\u4F20"},slider:{defaultLabel:"\u6ED1\u5757\u4ECB\u4E8E {min} \u81F3 {max}",defaultRangeStartLabel:"\u9009\u62E9\u8D77\u59CB\u503C",defaultRangeEndLabel:"\u9009\u62E9\u7ED3\u675F\u503C"},table:{emptyText:"\u6682\u65E0\u6570\u636E",confirmFilter:"\u7B5B\u9009",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8BA1"},tour:{next:"\u4E0B\u4E00\u6B65",previous:"\u4E0A\u4E00\u6B65",finish:"\u7ED3\u675F\u5BFC\u89C8"},tree:{emptyText:"\u6682\u65E0\u6570\u636E"},transfer:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",noCheckedFormat:"\u5171 {total} \u9879",hasCheckedFormat:"\u5DF2\u9009 {checked}/{total} \u9879"},image:{error:"\u52A0\u8F7D\u5931\u8D25"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88"},carousel:{leftArrow:"\u4E0A\u4E00\u5F20\u5E7B\u706F\u7247",rightArrow:"\u4E0B\u4E00\u5F20\u5E7B\u706F\u7247",indicator:"\u5E7B\u706F\u7247\u5207\u6362\u81F3\u7D22\u5F15 {index}"}}};export{u as default};
|
|
2
2
|
//# sourceMappingURL=zh-cn.min.mjs.map
|
package/dist/locale/zh-cn.mjs
CHANGED
package/dist/locale/zh-tw.js
CHANGED
package/dist/locale/zh-tw.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20241105 */(function(u,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e():typeof define=="function"&&define.amd?define(e):(u=typeof globalThis!="undefined"?globalThis:u||self,u.ElementPlusLocaleZhTw=e())})(this,function(){"use strict";var u={name:"zh-tw",el:{breadcrumb:{label:"\u9762\u5305\u5C51"},colorpicker:{confirm:"\u78BA\u8A8D",clear:"\u6E05\u7A7A",defaultLabel:"\u8272\u5F69\u9078\u64C7\u5668",description:"\u76EE\u524D\u8272\u5F69\u70BA {color}\u3002\u6309\u4E00\u4E0B Enter \u4EE5\u9078\u64C7\u65B0\u8272\u5F69\u3002",alphaLabel:"\u9078\u64C7\u900F\u660E\u5EA6\u7684\u503C"},datepicker:{now:"\u73FE\u5728",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u78BA\u8A8D",dateTablePrompt:"\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u65E5\u671F",monthTablePrompt:"\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u6708\u4EFD",yearTablePrompt:"\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u5E74\u4EFD",selectedDate:"\u5DF2\u9078\u65E5\u671F",selectDate:"\u9078\u64C7\u65E5\u671F",selectTime:"\u9078\u64C7\u6642\u9593",startDate:"\u958B\u59CB\u65E5\u671F",startTime:"\u958B\u59CB\u6642\u9593",endDate:"\u7D50\u675F\u65E5\u671F",endTime:"\u7D50\u675F\u6642\u9593",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u5F8C\u4E00\u5E74",prevMonth:"\u4E0A\u500B\u6708",nextMonth:"\u4E0B\u500B\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},weeksFull:{sun:"\u661F\u671F\u65E5",mon:"\u661F\u671F\u4E00",tue:"\u661F\u671F\u4E8C",wed:"\u661F\u671F\u4E09",thu:"\u661F\u671F\u56DB",fri:"\u661F\u671F\u4E94",sat:"\u661F\u671F\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},inputNumber:{decrease:"\u6E1B\u5C11\u6578\u503C",increase:"\u589E\u52A0\u6578\u503C"},select:{loading:"\u8F09\u5165\u4E2D",noMatch:"\u7121\u76F8\u7B26\u8CC7\u6599",noData:"\u7121\u8CC7\u6599",placeholder:"\u8ACB\u9078\u64C7"},mention:{loading:"\u8F09\u5165\u4E2D"},dropdown:{toggleDropdown:"\u5207\u63DB\u4E0B\u62C9\u9078\u55AE"},cascader:{noMatch:"\u7121\u76F8\u7B26\u8CC7\u6599",loading:"\u8F09\u5165\u4E2D",placeholder:"\u8ACB\u9078\u64C7",noData:"\u7121\u8CC7\u6599"},pagination:{goto:"\u524D\u5F80",pagesize:"\u9805/\u9801",total:"\u5171 {total} \u9805",pageClassifier:"\u9801",page:"\u9801",prev:"\u4E0A\u4E00\u9801",next:"\u4E0B\u4E00\u9801",currentPage:"\u7B2C {pager} \u9801",prevPages:"\u5411\u524D {pager} \u9801",nextPages:"\u5411\u5F8C {pager} \u9801",deprecationWarning:"\u5075\u6E2C\u5230\u5DF2\u904E\u6642\u7684\u4F7F\u7528\u65B9\u5F0F\uFF0C\u8ACB\u53C3\u95B1 el-pagination \u8AAA\u660E\u6587\u4EF6\u4EE5\u4E86\u89E3\u66F4\u591A\u8CC7\u8A0A"},dialog:{close:"\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"},drawer:{close:"\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"},messagebox:{title:"\u63D0\u793A",confirm:"\u78BA\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F38\u5165\u7684\u8CC7\u6599\u4E0D\u7B26\u898F\u5B9A!",close:"\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"},upload:{deleteTip:"\u6309\u4E00\u4E0B Delete \u9375\u4EE5\u522A\u9664",delete:"\u522A\u9664",preview:"\u67E5\u770B\u5716\u7247",continue:"\u7E7C\u7E8C\u4E0A\u50B3"},slider:{defaultLabel:"\u6ED1\u687F\u4ECB\u65BC {min} \u81F3 {max}",defaultRangeStartLabel:"\u9078\u64C7\u8D77\u59CB\u503C",defaultRangeEndLabel:"\u9078\u64C7\u7D50\u675F\u503C"},table:{emptyText:"\u66AB\u7121\u8CC7\u6599",confirmFilter:"\u7BE9\u9078",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8A08"},tour:{next:"\u4E0B\u4E00\u6B65",previous:"\u4E0A\u4E00\u6B65",finish:"\u7D50\u675F\u5C0E\u89BD"},tree:{emptyText:"\u66AB\u7121\u8CC7\u6599"},transfer:{noMatch:"\u7121\u76F8\u7B26\u8CC7\u6599",noData:"\u7121\u8CC7\u6599",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8ACB\u8F38\u5165\u641C\u5C0B\u5167\u5BB9",noCheckedFormat:"\u5171 {total} \u9805",hasCheckedFormat:"\u5DF2\u9078 {checked}/{total} \u9805"},image:{error:"\u8F09\u5165\u5931\u6557"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u78BA\u8A8D",cancelButtonText:"\u53D6\u6D88"},carousel:{leftArrow:"\u4E0A\u4E00\u5F35\u6295\u5F71\u7247",rightArrow:"\u4E0B\u4E00\u5F35\u6295\u5F71\u7247",indicator:"\u6295\u5F71\u7247\u5207\u63DB\u81F3\u7D22\u5F15 {index}"}}};return u});
|
|
2
2
|
//# sourceMappingURL=zh-tw.min.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20241105 */var u={name:"zh-tw",el:{breadcrumb:{label:"\u9762\u5305\u5C51"},colorpicker:{confirm:"\u78BA\u8A8D",clear:"\u6E05\u7A7A",defaultLabel:"\u8272\u5F69\u9078\u64C7\u5668",description:"\u76EE\u524D\u8272\u5F69\u70BA {color}\u3002\u6309\u4E00\u4E0B Enter \u4EE5\u9078\u64C7\u65B0\u8272\u5F69\u3002",alphaLabel:"\u9078\u64C7\u900F\u660E\u5EA6\u7684\u503C"},datepicker:{now:"\u73FE\u5728",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u78BA\u8A8D",dateTablePrompt:"\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u65E5\u671F",monthTablePrompt:"\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u6708\u4EFD",yearTablePrompt:"\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u5E74\u4EFD",selectedDate:"\u5DF2\u9078\u65E5\u671F",selectDate:"\u9078\u64C7\u65E5\u671F",selectTime:"\u9078\u64C7\u6642\u9593",startDate:"\u958B\u59CB\u65E5\u671F",startTime:"\u958B\u59CB\u6642\u9593",endDate:"\u7D50\u675F\u65E5\u671F",endTime:"\u7D50\u675F\u6642\u9593",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u5F8C\u4E00\u5E74",prevMonth:"\u4E0A\u500B\u6708",nextMonth:"\u4E0B\u500B\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},weeksFull:{sun:"\u661F\u671F\u65E5",mon:"\u661F\u671F\u4E00",tue:"\u661F\u671F\u4E8C",wed:"\u661F\u671F\u4E09",thu:"\u661F\u671F\u56DB",fri:"\u661F\u671F\u4E94",sat:"\u661F\u671F\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},inputNumber:{decrease:"\u6E1B\u5C11\u6578\u503C",increase:"\u589E\u52A0\u6578\u503C"},select:{loading:"\u8F09\u5165\u4E2D",noMatch:"\u7121\u76F8\u7B26\u8CC7\u6599",noData:"\u7121\u8CC7\u6599",placeholder:"\u8ACB\u9078\u64C7"},mention:{loading:"\u8F09\u5165\u4E2D"},dropdown:{toggleDropdown:"\u5207\u63DB\u4E0B\u62C9\u9078\u55AE"},cascader:{noMatch:"\u7121\u76F8\u7B26\u8CC7\u6599",loading:"\u8F09\u5165\u4E2D",placeholder:"\u8ACB\u9078\u64C7",noData:"\u7121\u8CC7\u6599"},pagination:{goto:"\u524D\u5F80",pagesize:"\u9805/\u9801",total:"\u5171 {total} \u9805",pageClassifier:"\u9801",page:"\u9801",prev:"\u4E0A\u4E00\u9801",next:"\u4E0B\u4E00\u9801",currentPage:"\u7B2C {pager} \u9801",prevPages:"\u5411\u524D {pager} \u9801",nextPages:"\u5411\u5F8C {pager} \u9801",deprecationWarning:"\u5075\u6E2C\u5230\u5DF2\u904E\u6642\u7684\u4F7F\u7528\u65B9\u5F0F\uFF0C\u8ACB\u53C3\u95B1 el-pagination \u8AAA\u660E\u6587\u4EF6\u4EE5\u4E86\u89E3\u66F4\u591A\u8CC7\u8A0A"},dialog:{close:"\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"},drawer:{close:"\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"},messagebox:{title:"\u63D0\u793A",confirm:"\u78BA\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F38\u5165\u7684\u8CC7\u6599\u4E0D\u7B26\u898F\u5B9A!",close:"\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"},upload:{deleteTip:"\u6309\u4E00\u4E0B Delete \u9375\u4EE5\u522A\u9664",delete:"\u522A\u9664",preview:"\u67E5\u770B\u5716\u7247",continue:"\u7E7C\u7E8C\u4E0A\u50B3"},slider:{defaultLabel:"\u6ED1\u687F\u4ECB\u65BC {min} \u81F3 {max}",defaultRangeStartLabel:"\u9078\u64C7\u8D77\u59CB\u503C",defaultRangeEndLabel:"\u9078\u64C7\u7D50\u675F\u503C"},table:{emptyText:"\u66AB\u7121\u8CC7\u6599",confirmFilter:"\u7BE9\u9078",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8A08"},tour:{next:"\u4E0B\u4E00\u6B65",previous:"\u4E0A\u4E00\u6B65",finish:"\u7D50\u675F\u5C0E\u89BD"},tree:{emptyText:"\u66AB\u7121\u8CC7\u6599"},transfer:{noMatch:"\u7121\u76F8\u7B26\u8CC7\u6599",noData:"\u7121\u8CC7\u6599",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8ACB\u8F38\u5165\u641C\u5C0B\u5167\u5BB9",noCheckedFormat:"\u5171 {total} \u9805",hasCheckedFormat:"\u5DF2\u9078 {checked}/{total} \u9805"},image:{error:"\u8F09\u5165\u5931\u6557"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u78BA\u8A8D",cancelButtonText:"\u53D6\u6D88"},carousel:{leftArrow:"\u4E0A\u4E00\u5F35\u6295\u5F71\u7247",rightArrow:"\u4E0B\u4E00\u5F35\u6295\u5F71\u7247",indicator:"\u6295\u5F71\u7247\u5207\u63DB\u81F3\u7D22\u5F15 {index}"}}};export{u as default};
|
|
2
2
|
//# sourceMappingURL=zh-tw.min.mjs.map
|
package/dist/locale/zh-tw.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
|
-
import ColorPicker from './src/color-
|
|
3
|
-
export { colorPickerContextKey, colorPickerEmits, colorPickerProps } from './src/color-
|
|
2
|
+
import ColorPicker from './src/color-picker2.mjs';
|
|
3
|
+
export { colorPickerContextKey, colorPickerEmits, colorPickerProps } from './src/color-picker.mjs';
|
|
4
4
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
5
5
|
|
|
6
6
|
const ElColorPicker = withInstall(ColorPicker);
|
|
@@ -1,407 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { ElButton } from '../../button/index.mjs';
|
|
4
|
-
import { ElIcon } from '../../icon/index.mjs';
|
|
5
|
-
import '../../../directives/index.mjs';
|
|
6
|
-
import { ElTooltip } from '../../tooltip/index.mjs';
|
|
7
|
-
import { ElInput } from '../../input/index.mjs';
|
|
8
|
-
import '../../form/index.mjs';
|
|
1
|
+
import { isNil } from 'lodash-unified';
|
|
2
|
+
import '../../../utils/index.mjs';
|
|
9
3
|
import '../../../hooks/index.mjs';
|
|
4
|
+
import '../../tooltip/index.mjs';
|
|
10
5
|
import '../../../constants/index.mjs';
|
|
11
|
-
import '../../../utils/
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import Color from './utils/color.mjs';
|
|
18
|
-
import { colorPickerProps, colorPickerEmits, colorPickerContextKey } from './color-picker2.mjs';
|
|
19
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
20
|
-
import { useLocale } from '../../../hooks/use-locale/index.mjs';
|
|
21
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
22
|
-
import { useFormItem, useFormItemInputId } from '../../form/src/hooks/use-form-item.mjs';
|
|
23
|
-
import { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';
|
|
24
|
-
import { useFocusController } from '../../../hooks/use-focus-controller/index.mjs';
|
|
25
|
-
import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
|
26
|
-
import { debugWarn } from '../../../utils/error.mjs';
|
|
27
|
-
import { EVENT_CODE } from '../../../constants/aria.mjs';
|
|
28
|
-
import ClickOutside from '../../../directives/click-outside/index.mjs';
|
|
6
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
7
|
+
import { useSizeProp } from '../../../hooks/use-size/index.mjs';
|
|
8
|
+
import { useTooltipContentProps } from '../../tooltip/src/content.mjs';
|
|
9
|
+
import { useAriaProps } from '../../../hooks/use-aria/index.mjs';
|
|
10
|
+
import { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';
|
|
11
|
+
import { isString } from '@vue/shared';
|
|
29
12
|
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
beforeFocus() {
|
|
55
|
-
return colorDisabled.value;
|
|
56
|
-
},
|
|
57
|
-
beforeBlur(event) {
|
|
58
|
-
var _a;
|
|
59
|
-
return (_a = popper.value) == null ? void 0 : _a.isFocusInsideContent(event);
|
|
60
|
-
},
|
|
61
|
-
afterBlur() {
|
|
62
|
-
setShowPicker(false);
|
|
63
|
-
resetColor();
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
let shouldActiveChange = true;
|
|
67
|
-
const color = reactive(new Color({
|
|
68
|
-
enableAlpha: props.showAlpha,
|
|
69
|
-
format: props.colorFormat || "",
|
|
70
|
-
value: props.modelValue
|
|
71
|
-
}));
|
|
72
|
-
const showPicker = ref(false);
|
|
73
|
-
const showPanelColor = ref(false);
|
|
74
|
-
const customInput = ref("");
|
|
75
|
-
const displayedColor = computed(() => {
|
|
76
|
-
if (!props.modelValue && !showPanelColor.value) {
|
|
77
|
-
return "transparent";
|
|
78
|
-
}
|
|
79
|
-
return displayedRgb(color, props.showAlpha);
|
|
80
|
-
});
|
|
81
|
-
const currentColor = computed(() => {
|
|
82
|
-
return !props.modelValue && !showPanelColor.value ? "" : color.value;
|
|
83
|
-
});
|
|
84
|
-
const buttonAriaLabel = computed(() => {
|
|
85
|
-
return !isLabeledByFormItem.value ? props.ariaLabel || t("el.colorpicker.defaultLabel") : void 0;
|
|
86
|
-
});
|
|
87
|
-
const buttonAriaLabelledby = computed(() => {
|
|
88
|
-
return isLabeledByFormItem.value ? formItem == null ? void 0 : formItem.labelId : void 0;
|
|
89
|
-
});
|
|
90
|
-
const btnKls = computed(() => {
|
|
91
|
-
return [
|
|
92
|
-
ns.b("picker"),
|
|
93
|
-
ns.is("disabled", colorDisabled.value),
|
|
94
|
-
ns.bm("picker", colorSize.value),
|
|
95
|
-
ns.is("focused", isFocused.value)
|
|
96
|
-
];
|
|
97
|
-
});
|
|
98
|
-
function displayedRgb(color2, showAlpha) {
|
|
99
|
-
if (!(color2 instanceof Color)) {
|
|
100
|
-
throw new TypeError("color should be instance of _color Class");
|
|
101
|
-
}
|
|
102
|
-
const { r, g, b } = color2.toRgb();
|
|
103
|
-
return showAlpha ? `rgba(${r}, ${g}, ${b}, ${color2.get("alpha") / 100})` : `rgb(${r}, ${g}, ${b})`;
|
|
104
|
-
}
|
|
105
|
-
function setShowPicker(value) {
|
|
106
|
-
showPicker.value = value;
|
|
107
|
-
}
|
|
108
|
-
const debounceSetShowPicker = debounce(setShowPicker, 100, { leading: true });
|
|
109
|
-
function show() {
|
|
110
|
-
if (colorDisabled.value)
|
|
111
|
-
return;
|
|
112
|
-
setShowPicker(true);
|
|
113
|
-
}
|
|
114
|
-
function hide() {
|
|
115
|
-
debounceSetShowPicker(false);
|
|
116
|
-
resetColor();
|
|
117
|
-
}
|
|
118
|
-
function resetColor() {
|
|
119
|
-
nextTick(() => {
|
|
120
|
-
if (props.modelValue) {
|
|
121
|
-
color.fromString(props.modelValue);
|
|
122
|
-
} else {
|
|
123
|
-
color.value = "";
|
|
124
|
-
nextTick(() => {
|
|
125
|
-
showPanelColor.value = false;
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
function handleTrigger() {
|
|
131
|
-
if (colorDisabled.value)
|
|
132
|
-
return;
|
|
133
|
-
debounceSetShowPicker(!showPicker.value);
|
|
134
|
-
}
|
|
135
|
-
function handleConfirm() {
|
|
136
|
-
color.fromString(customInput.value);
|
|
137
|
-
}
|
|
138
|
-
function confirmValue() {
|
|
139
|
-
const value = color.value;
|
|
140
|
-
emit(UPDATE_MODEL_EVENT, value);
|
|
141
|
-
emit("change", value);
|
|
142
|
-
if (props.validateEvent) {
|
|
143
|
-
formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
|
|
144
|
-
}
|
|
145
|
-
debounceSetShowPicker(false);
|
|
146
|
-
nextTick(() => {
|
|
147
|
-
const newColor = new Color({
|
|
148
|
-
enableAlpha: props.showAlpha,
|
|
149
|
-
format: props.colorFormat || "",
|
|
150
|
-
value: props.modelValue
|
|
151
|
-
});
|
|
152
|
-
if (!color.compare(newColor)) {
|
|
153
|
-
resetColor();
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
function clear() {
|
|
158
|
-
debounceSetShowPicker(false);
|
|
159
|
-
emit(UPDATE_MODEL_EVENT, null);
|
|
160
|
-
emit("change", null);
|
|
161
|
-
if (props.modelValue !== null && props.validateEvent) {
|
|
162
|
-
formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
|
|
163
|
-
}
|
|
164
|
-
resetColor();
|
|
165
|
-
}
|
|
166
|
-
function handleClickOutside() {
|
|
167
|
-
if (!showPicker.value)
|
|
168
|
-
return;
|
|
169
|
-
hide();
|
|
170
|
-
isFocused.value && focus();
|
|
171
|
-
}
|
|
172
|
-
function handleEsc(event) {
|
|
173
|
-
event.preventDefault();
|
|
174
|
-
event.stopPropagation();
|
|
175
|
-
setShowPicker(false);
|
|
176
|
-
resetColor();
|
|
177
|
-
}
|
|
178
|
-
function handleKeyDown(event) {
|
|
179
|
-
switch (event.code) {
|
|
180
|
-
case EVENT_CODE.enter:
|
|
181
|
-
case EVENT_CODE.space:
|
|
182
|
-
event.preventDefault();
|
|
183
|
-
event.stopPropagation();
|
|
184
|
-
show();
|
|
185
|
-
inputRef.value.focus();
|
|
186
|
-
break;
|
|
187
|
-
case EVENT_CODE.esc:
|
|
188
|
-
handleEsc(event);
|
|
189
|
-
break;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
function focus() {
|
|
193
|
-
triggerRef.value.focus();
|
|
194
|
-
}
|
|
195
|
-
function blur() {
|
|
196
|
-
triggerRef.value.blur();
|
|
197
|
-
}
|
|
198
|
-
onMounted(() => {
|
|
199
|
-
if (props.modelValue) {
|
|
200
|
-
customInput.value = currentColor.value;
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
watch(() => props.modelValue, (newVal) => {
|
|
204
|
-
if (!newVal) {
|
|
205
|
-
showPanelColor.value = false;
|
|
206
|
-
} else if (newVal && newVal !== color.value) {
|
|
207
|
-
shouldActiveChange = false;
|
|
208
|
-
color.fromString(newVal);
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
watch(() => [props.colorFormat, props.showAlpha], () => {
|
|
212
|
-
color.enableAlpha = props.showAlpha;
|
|
213
|
-
color.format = props.colorFormat || color.format;
|
|
214
|
-
color.doOnChange();
|
|
215
|
-
emit(UPDATE_MODEL_EVENT, color.value);
|
|
216
|
-
});
|
|
217
|
-
watch(() => currentColor.value, (val) => {
|
|
218
|
-
customInput.value = val;
|
|
219
|
-
shouldActiveChange && emit("activeChange", val);
|
|
220
|
-
shouldActiveChange = true;
|
|
221
|
-
});
|
|
222
|
-
watch(() => color.value, () => {
|
|
223
|
-
if (!props.modelValue && !showPanelColor.value) {
|
|
224
|
-
showPanelColor.value = true;
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
watch(() => showPicker.value, () => {
|
|
228
|
-
nextTick(() => {
|
|
229
|
-
var _a, _b, _c;
|
|
230
|
-
(_a = hue.value) == null ? void 0 : _a.update();
|
|
231
|
-
(_b = sv.value) == null ? void 0 : _b.update();
|
|
232
|
-
(_c = alpha.value) == null ? void 0 : _c.update();
|
|
233
|
-
});
|
|
234
|
-
});
|
|
235
|
-
provide(colorPickerContextKey, {
|
|
236
|
-
currentColor
|
|
237
|
-
});
|
|
238
|
-
expose({
|
|
239
|
-
color,
|
|
240
|
-
show,
|
|
241
|
-
hide,
|
|
242
|
-
focus,
|
|
243
|
-
blur
|
|
244
|
-
});
|
|
245
|
-
return (_ctx, _cache) => {
|
|
246
|
-
return openBlock(), createBlock(unref(ElTooltip), {
|
|
247
|
-
ref_key: "popper",
|
|
248
|
-
ref: popper,
|
|
249
|
-
visible: showPicker.value,
|
|
250
|
-
"show-arrow": false,
|
|
251
|
-
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
252
|
-
offset: 0,
|
|
253
|
-
"gpu-acceleration": false,
|
|
254
|
-
"popper-class": [unref(ns).be("picker", "panel"), unref(ns).b("dropdown"), _ctx.popperClass],
|
|
255
|
-
"stop-popper-mouse-event": false,
|
|
256
|
-
effect: "light",
|
|
257
|
-
trigger: "click",
|
|
258
|
-
teleported: _ctx.teleported,
|
|
259
|
-
transition: `${unref(ns).namespace.value}-zoom-in-top`,
|
|
260
|
-
persistent: "",
|
|
261
|
-
onHide: ($event) => setShowPicker(false)
|
|
262
|
-
}, {
|
|
263
|
-
content: withCtx(() => [
|
|
264
|
-
withDirectives((openBlock(), createElementBlock("div", {
|
|
265
|
-
onKeydown: withKeys(handleEsc, ["esc"])
|
|
266
|
-
}, [
|
|
267
|
-
createElementVNode("div", {
|
|
268
|
-
class: normalizeClass(unref(ns).be("dropdown", "main-wrapper"))
|
|
269
|
-
}, [
|
|
270
|
-
createVNode(HueSlider, {
|
|
271
|
-
ref_key: "hue",
|
|
272
|
-
ref: hue,
|
|
273
|
-
class: "hue-slider",
|
|
274
|
-
color: unref(color),
|
|
275
|
-
vertical: ""
|
|
276
|
-
}, null, 8, ["color"]),
|
|
277
|
-
createVNode(SvPanel, {
|
|
278
|
-
ref_key: "sv",
|
|
279
|
-
ref: sv,
|
|
280
|
-
color: unref(color)
|
|
281
|
-
}, null, 8, ["color"])
|
|
282
|
-
], 2),
|
|
283
|
-
_ctx.showAlpha ? (openBlock(), createBlock(AlphaSlider, {
|
|
284
|
-
key: 0,
|
|
285
|
-
ref_key: "alpha",
|
|
286
|
-
ref: alpha,
|
|
287
|
-
color: unref(color)
|
|
288
|
-
}, null, 8, ["color"])) : createCommentVNode("v-if", true),
|
|
289
|
-
_ctx.predefine ? (openBlock(), createBlock(Predefine, {
|
|
290
|
-
key: 1,
|
|
291
|
-
ref: "predefine",
|
|
292
|
-
"enable-alpha": _ctx.showAlpha,
|
|
293
|
-
color: unref(color),
|
|
294
|
-
colors: _ctx.predefine
|
|
295
|
-
}, null, 8, ["enable-alpha", "color", "colors"])) : createCommentVNode("v-if", true),
|
|
296
|
-
createElementVNode("div", {
|
|
297
|
-
class: normalizeClass(unref(ns).be("dropdown", "btns"))
|
|
298
|
-
}, [
|
|
299
|
-
createElementVNode("span", {
|
|
300
|
-
class: normalizeClass(unref(ns).be("dropdown", "value"))
|
|
301
|
-
}, [
|
|
302
|
-
createVNode(unref(ElInput), {
|
|
303
|
-
ref_key: "inputRef",
|
|
304
|
-
ref: inputRef,
|
|
305
|
-
modelValue: customInput.value,
|
|
306
|
-
"onUpdate:modelValue": ($event) => customInput.value = $event,
|
|
307
|
-
"validate-event": false,
|
|
308
|
-
size: "small",
|
|
309
|
-
onKeyup: withKeys(handleConfirm, ["enter"]),
|
|
310
|
-
onBlur: handleConfirm
|
|
311
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onKeyup"])
|
|
312
|
-
], 2),
|
|
313
|
-
createVNode(unref(ElButton), {
|
|
314
|
-
class: normalizeClass(unref(ns).be("dropdown", "link-btn")),
|
|
315
|
-
text: "",
|
|
316
|
-
size: "small",
|
|
317
|
-
onClick: clear
|
|
318
|
-
}, {
|
|
319
|
-
default: withCtx(() => [
|
|
320
|
-
createTextVNode(toDisplayString(unref(t)("el.colorpicker.clear")), 1)
|
|
321
|
-
]),
|
|
322
|
-
_: 1
|
|
323
|
-
}, 8, ["class"]),
|
|
324
|
-
createVNode(unref(ElButton), {
|
|
325
|
-
plain: "",
|
|
326
|
-
size: "small",
|
|
327
|
-
class: normalizeClass(unref(ns).be("dropdown", "btn")),
|
|
328
|
-
onClick: confirmValue
|
|
329
|
-
}, {
|
|
330
|
-
default: withCtx(() => [
|
|
331
|
-
createTextVNode(toDisplayString(unref(t)("el.colorpicker.confirm")), 1)
|
|
332
|
-
]),
|
|
333
|
-
_: 1
|
|
334
|
-
}, 8, ["class"])
|
|
335
|
-
], 2)
|
|
336
|
-
], 40, ["onKeydown"])), [
|
|
337
|
-
[unref(ClickOutside), handleClickOutside]
|
|
338
|
-
])
|
|
339
|
-
]),
|
|
340
|
-
default: withCtx(() => [
|
|
341
|
-
createElementVNode("div", mergeProps({
|
|
342
|
-
id: unref(buttonId),
|
|
343
|
-
ref_key: "triggerRef",
|
|
344
|
-
ref: triggerRef
|
|
345
|
-
}, _ctx.$attrs, {
|
|
346
|
-
class: unref(btnKls),
|
|
347
|
-
role: "button",
|
|
348
|
-
"aria-label": unref(buttonAriaLabel),
|
|
349
|
-
"aria-labelledby": unref(buttonAriaLabelledby),
|
|
350
|
-
"aria-description": unref(t)("el.colorpicker.description", { color: _ctx.modelValue || "" }),
|
|
351
|
-
"aria-disabled": unref(colorDisabled),
|
|
352
|
-
tabindex: unref(colorDisabled) ? -1 : _ctx.tabindex,
|
|
353
|
-
onKeydown: handleKeyDown,
|
|
354
|
-
onFocus: unref(handleFocus),
|
|
355
|
-
onBlur: unref(handleBlur)
|
|
356
|
-
}), [
|
|
357
|
-
unref(colorDisabled) ? (openBlock(), createElementBlock("div", {
|
|
358
|
-
key: 0,
|
|
359
|
-
class: normalizeClass(unref(ns).be("picker", "mask"))
|
|
360
|
-
}, null, 2)) : createCommentVNode("v-if", true),
|
|
361
|
-
createElementVNode("div", {
|
|
362
|
-
class: normalizeClass(unref(ns).be("picker", "trigger")),
|
|
363
|
-
onClick: handleTrigger
|
|
364
|
-
}, [
|
|
365
|
-
createElementVNode("span", {
|
|
366
|
-
class: normalizeClass([unref(ns).be("picker", "color"), unref(ns).is("alpha", _ctx.showAlpha)])
|
|
367
|
-
}, [
|
|
368
|
-
createElementVNode("span", {
|
|
369
|
-
class: normalizeClass(unref(ns).be("picker", "color-inner")),
|
|
370
|
-
style: normalizeStyle({
|
|
371
|
-
backgroundColor: unref(displayedColor)
|
|
372
|
-
})
|
|
373
|
-
}, [
|
|
374
|
-
withDirectives(createVNode(unref(ElIcon), {
|
|
375
|
-
class: normalizeClass([unref(ns).be("picker", "icon"), unref(ns).is("icon-arrow-down")])
|
|
376
|
-
}, {
|
|
377
|
-
default: withCtx(() => [
|
|
378
|
-
createVNode(unref(ArrowDown))
|
|
379
|
-
]),
|
|
380
|
-
_: 1
|
|
381
|
-
}, 8, ["class"]), [
|
|
382
|
-
[vShow, _ctx.modelValue || showPanelColor.value]
|
|
383
|
-
]),
|
|
384
|
-
withDirectives(createVNode(unref(ElIcon), {
|
|
385
|
-
class: normalizeClass([unref(ns).be("picker", "empty"), unref(ns).is("icon-close")])
|
|
386
|
-
}, {
|
|
387
|
-
default: withCtx(() => [
|
|
388
|
-
createVNode(unref(Close))
|
|
389
|
-
]),
|
|
390
|
-
_: 1
|
|
391
|
-
}, 8, ["class"]), [
|
|
392
|
-
[vShow, !_ctx.modelValue && !showPanelColor.value]
|
|
393
|
-
])
|
|
394
|
-
], 6)
|
|
395
|
-
], 2)
|
|
396
|
-
], 2)
|
|
397
|
-
], 16, ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex", "onFocus", "onBlur"])
|
|
398
|
-
]),
|
|
399
|
-
_: 1
|
|
400
|
-
}, 8, ["visible", "popper-class", "teleported", "transition", "onHide"]);
|
|
401
|
-
};
|
|
402
|
-
}
|
|
13
|
+
const colorPickerProps = buildProps({
|
|
14
|
+
modelValue: String,
|
|
15
|
+
id: String,
|
|
16
|
+
showAlpha: Boolean,
|
|
17
|
+
colorFormat: String,
|
|
18
|
+
disabled: Boolean,
|
|
19
|
+
size: useSizeProp,
|
|
20
|
+
popperClass: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: ""
|
|
23
|
+
},
|
|
24
|
+
tabindex: {
|
|
25
|
+
type: [String, Number],
|
|
26
|
+
default: 0
|
|
27
|
+
},
|
|
28
|
+
teleported: useTooltipContentProps.teleported,
|
|
29
|
+
predefine: {
|
|
30
|
+
type: definePropType(Array)
|
|
31
|
+
},
|
|
32
|
+
validateEvent: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: true
|
|
35
|
+
},
|
|
36
|
+
...useAriaProps(["ariaLabel"])
|
|
403
37
|
});
|
|
404
|
-
|
|
38
|
+
const colorPickerEmits = {
|
|
39
|
+
[UPDATE_MODEL_EVENT]: (val) => isString(val) || isNil(val),
|
|
40
|
+
[CHANGE_EVENT]: (val) => isString(val) || isNil(val),
|
|
41
|
+
activeChange: (val) => isString(val) || isNil(val),
|
|
42
|
+
focus: (evt) => evt instanceof FocusEvent,
|
|
43
|
+
blur: (evt) => evt instanceof FocusEvent
|
|
44
|
+
};
|
|
45
|
+
const colorPickerContextKey = Symbol("colorPickerContextKey");
|
|
405
46
|
|
|
406
|
-
export {
|
|
47
|
+
export { colorPickerContextKey, colorPickerEmits, colorPickerProps };
|
|
407
48
|
//# sourceMappingURL=color-picker.mjs.map
|