@element-plus/nightly 0.0.20261109 → 0.0.20261111
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 +281 -53
- package/dist/index.full.min.js +14 -14
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +8 -8
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +281 -53
- 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/gl.js +1 -1
- package/dist/locale/gl.min.js +1 -1
- package/dist/locale/gl.min.mjs +1 -1
- package/dist/locale/gl.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/component.mjs +3 -3
- package/es/components/affix/src/affix.d.ts +1 -1
- package/es/components/affix/src/affix.vue.d.ts +2 -2
- package/es/components/alert/src/alert.d.ts +2 -2
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/anchor/src/anchor.d.ts +1 -1
- package/es/components/anchor/src/anchor.vue.d.ts +4 -4
- package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +2 -2
- package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +2 -2
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/button/src/button-group.d.ts +2 -2
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +2 -2
- package/es/components/button/src/button.vue.d.ts +4 -4
- package/es/components/button/src/use-button.d.ts +2 -2
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +2 -2
- package/es/components/cascader/src/cascader.d.ts +5 -5
- package/es/components/cascader/src/cascader.vue.d.ts +9 -9
- package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/cascader-panel/src/index.vue.d.ts +3 -3
- package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +3 -3
- package/es/components/checkbox/src/checkbox-group.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox.d.ts +9 -9
- package/es/components/checkbox/src/checkbox.vue.d.ts +3 -3
- package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
- package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/es/components/collapse/src/collapse.vue.d.ts +2 -2
- package/es/components/color-picker/src/color-picker.d.ts +2 -2
- package/es/components/color-picker/src/color-picker.vue.d.ts +2 -2
- package/es/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.d.ts +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/es/components/config-provider/src/config-provider-props.d.ts +1 -1
- package/es/components/config-provider/src/config-provider.d.ts +2 -2
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +11 -11
- package/es/components/date-picker/src/props.d.ts +4 -4
- package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +3 -3
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +7 -7
- package/es/components/date-picker-panel/src/panel-utils.d.ts +15 -15
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +18 -18
- package/es/components/descriptions/src/description.d.ts +1 -1
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +6 -6
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +2 -2
- package/es/components/drawer/src/drawer.vue.d.ts +7 -7
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +4 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +53 -53
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +2 -2
- package/es/components/form/src/form-item.vue.d.ts +2 -2
- package/es/components/form/src/form.d.ts +2 -2
- package/es/components/form/src/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/image/src/image.vue.d.ts +2 -2
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/es/components/index.mjs +6 -6
- package/es/components/input/src/input.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +2 -2
- package/es/components/input-number/src/input-number.d.ts +3 -3
- package/es/components/input-number/src/input-number.vue.d.ts +4 -4
- package/es/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/input-otp/src/input-otp.vue.d.ts +6 -6
- package/es/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
- package/es/components/input-tag/src/input-tag.d.ts +3 -3
- package/es/components/input-tag/src/input-tag.vue.d.ts +4 -4
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +2 -2
- package/es/components/mention/src/mention.d.ts +4 -4
- package/es/components/menu/src/menu.d.ts +5 -5
- package/es/components/menu/src/menu.mjs +1 -1
- package/es/components/menu/src/utils/menu-item.mjs +1 -1
- package/es/components/menu/src/utils/submenu.mjs +1 -1
- package/es/components/message/src/instance.d.ts +1 -1
- package/es/components/message/src/message.d.ts +2 -2
- package/es/components/message/src/message.vue.d.ts +4 -4
- package/es/components/message-box/src/index.vue.d.ts +24 -24
- package/es/components/message-box/src/index.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +5 -5
- package/es/components/pagination/src/components/jumper.d.ts +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +2 -2
- package/es/components/pagination/src/components/sizes.d.ts +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +2 -2
- package/es/components/pagination/src/pagination.d.ts +6 -6
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/es/components/popover/src/popover.d.ts +16 -16
- package/es/components/popover/src/popover.vue.d.ts +6 -6
- package/es/components/popper/src/composables/use-content.d.ts +2 -2
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.d.ts +4 -4
- package/es/components/popper/src/content.vue.d.ts +3 -3
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/popper/src/popper.vue.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +2 -2
- package/es/components/radio/src/radio-button.d.ts +4 -4
- package/es/components/radio/src/radio-button.vue.d.ts +1 -1
- package/es/components/radio/src/radio-group.d.ts +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +5 -5
- package/es/components/radio/src/radio.d.ts +8 -8
- package/es/components/radio/src/radio.vue.d.ts +4 -4
- package/es/components/radio/src/use-radio.d.ts +1 -1
- package/es/components/rate/src/rate.d.ts +1 -1
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +1 -1
- package/es/components/row/src/row.d.ts +2 -2
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/es/components/segmented/index.d.ts +4 -4
- package/es/components/segmented/src/segmented.d.ts +2 -2
- package/es/components/segmented/src/segmented.vue.d.ts +2 -2
- package/es/components/select/src/option.d.ts +2 -2
- package/es/components/select/src/option.vue.d.ts +5 -5
- package/es/components/select/src/select.d.ts +6 -6
- package/es/components/select/src/select.vue.d.ts +68 -68
- package/es/components/select/src/select.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/select/src/useOption.d.ts +2 -2
- package/es/components/select/src/useSelect.d.ts +7 -7
- package/es/components/select-v2/src/defaults.d.ts +4 -4
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +51 -51
- package/es/components/select-v2/src/select.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/select-v2/src/useSelect.d.ts +2 -2
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.d.ts +2 -2
- package/es/components/slider/src/slider.vue.d.ts +8 -8
- package/es/components/space/src/space.d.ts +4 -4
- package/es/components/splitter/src/splitter.vue.d.ts +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +2 -2
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/switch/src/switch.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +4 -4
- package/es/components/table/src/filter-panel.vue.d.ts +43 -43
- package/es/components/table/src/table/defaults.d.ts +6 -6
- package/es/components/table/src/table/style-helper.d.ts +2 -2
- package/es/components/table/src/table/style-helper.mjs +47 -19
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-column/defaults.d.ts +2 -2
- package/es/components/table/src/table-header/index.d.ts +9 -9
- package/es/components/table/src/table.vue.d.ts +4 -4
- package/es/components/table/src/table.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +2 -2
- package/es/components/tabs/src/tab-nav.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +5 -5
- package/es/components/tag/src/tag.d.ts +3 -3
- package/es/components/tag/src/tag.vue.d.ts +4 -4
- package/es/components/text/src/text.d.ts +2 -2
- package/es/components/text/src/text.vue.d.ts +2 -2
- package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +2 -2
- package/es/components/time-picker/src/common/picker.vue.d.ts +10 -10
- package/es/components/time-picker/src/common/props.d.ts +3 -3
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +8 -8
- package/es/components/time-select/src/time-select.d.ts +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +4 -4
- package/es/components/timeline/src/timeline-item.d.ts +3 -3
- package/es/components/timeline/src/timeline-item.vue.d.ts +3 -3
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.vue.d.ts +7 -7
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +2 -2
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +5 -5
- package/es/components/transfer/src/transfer.vue.d.ts +2 -2
- package/es/components/tree/src/tree-node.vue.d.ts +10 -10
- package/es/components/tree/src/tree.vue.d.ts +20 -20
- package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/es/components/tree-select/src/tree-select.vue.d.ts +29 -29
- package/es/components/tree-v2/src/composables/useTree.d.ts +14 -14
- package/es/components/tree-v2/src/tree-node.vue.d.ts +2 -2
- package/es/components/tree-v2/src/tree.vue.d.ts +13 -13
- package/es/components/upload/src/upload-content.vue.d.ts +2 -2
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-grid.d.ts +6 -6
- package/es/components/virtual-list/src/builders/build-list.d.ts +7 -7
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -6
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -7
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -6
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +7 -7
- package/es/components/virtual-list/src/components/scrollbar.d.ts +1 -1
- package/es/components/watermark/src/watermark.vue.d.ts +2 -2
- package/es/constants/index.mjs +2 -2
- package/es/directives/trap-focus/index.mjs +1 -1
- package/es/hooks/use-floating/index.d.ts +4 -4
- package/es/hooks/use-popper/index.d.ts +2 -2
- package/es/hooks/use-size/index.d.ts +3 -3
- package/es/index.mjs +13 -13
- package/es/plugin.mjs +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/component.js +109 -109
- package/lib/components/affix/src/affix.d.ts +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +2 -2
- package/lib/components/alert/src/alert.d.ts +2 -2
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/anchor/src/anchor.d.ts +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +4 -4
- package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +2 -2
- package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +2 -2
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/button/src/button-group.d.ts +2 -2
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +2 -2
- package/lib/components/button/src/button.vue.d.ts +4 -4
- package/lib/components/button/src/use-button.d.ts +2 -2
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
- package/lib/components/cascader/src/cascader.d.ts +5 -5
- package/lib/components/cascader/src/cascader.vue.d.ts +9 -9
- package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js +40 -40
- package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue.d.ts +3 -3
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js +12 -12
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +3 -3
- package/lib/components/checkbox/src/checkbox-group.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox.d.ts +9 -9
- package/lib/components/checkbox/src/checkbox.vue.d.ts +3 -3
- package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
- package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
- package/lib/components/color-picker/src/color-picker.d.ts +2 -2
- package/lib/components/color-picker/src/color-picker.vue.d.ts +2 -2
- package/lib/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.js +18 -18
- package/lib/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/lib/components/config-provider/src/config-provider-props.d.ts +1 -1
- package/lib/components/config-provider/src/config-provider.d.ts +2 -2
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +11 -11
- package/lib/components/date-picker/src/props.d.ts +4 -4
- package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js +18 -18
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +3 -3
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js +23 -23
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +7 -7
- package/lib/components/date-picker-panel/src/panel-utils.d.ts +15 -15
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +18 -18
- package/lib/components/descriptions/src/description.d.ts +1 -1
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +6 -6
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +2 -2
- package/lib/components/drawer/src/drawer.vue.d.ts +7 -7
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +53 -53
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +2 -2
- package/lib/components/form/src/form-item.vue.d.ts +2 -2
- package/lib/components/form/src/form.d.ts +2 -2
- package/lib/components/form/src/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/image/src/image.vue.d.ts +2 -2
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/lib/components/index.js +125 -125
- package/lib/components/input/src/input.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +2 -2
- package/lib/components/input-number/src/input-number.d.ts +3 -3
- package/lib/components/input-number/src/input-number.vue.d.ts +4 -4
- package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js +12 -12
- package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/input-otp/src/input-otp.vue.d.ts +6 -6
- package/lib/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
- package/lib/components/input-tag/src/input-tag.d.ts +3 -3
- package/lib/components/input-tag/src/input-tag.vue.d.ts +4 -4
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +2 -2
- package/lib/components/mention/src/mention.d.ts +4 -4
- package/lib/components/menu/src/menu.d.ts +5 -5
- package/lib/components/menu/src/menu.js +7 -7
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/menu/src/utils/menu-item.js +11 -11
- package/lib/components/menu/src/utils/menu-item.js.map +1 -1
- package/lib/components/menu/src/utils/submenu.js +9 -9
- package/lib/components/menu/src/utils/submenu.js.map +1 -1
- package/lib/components/message/src/instance.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +2 -2
- package/lib/components/message/src/message.vue.d.ts +4 -4
- package/lib/components/message-box/src/index.vue.d.ts +24 -24
- package/lib/components/message-box/src/index.vue_vue_type_script_lang.js +19 -19
- package/lib/components/message-box/src/index.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +5 -5
- package/lib/components/pagination/src/components/jumper.d.ts +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -2
- package/lib/components/pagination/src/components/sizes.d.ts +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +2 -2
- package/lib/components/pagination/src/pagination.d.ts +6 -6
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/lib/components/popover/src/popover.d.ts +16 -16
- package/lib/components/popover/src/popover.vue.d.ts +6 -6
- package/lib/components/popper/src/composables/use-content.d.ts +2 -2
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.d.ts +4 -4
- package/lib/components/popper/src/content.vue.d.ts +3 -3
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/popper/src/popper.vue.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-button.d.ts +4 -4
- package/lib/components/radio/src/radio-button.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-group.d.ts +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
- package/lib/components/radio/src/radio.d.ts +8 -8
- package/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/lib/components/radio/src/use-radio.d.ts +1 -1
- package/lib/components/rate/src/rate.d.ts +1 -1
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +2 -2
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/lib/components/segmented/index.d.ts +4 -4
- package/lib/components/segmented/src/segmented.d.ts +2 -2
- package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
- package/lib/components/select/src/option.d.ts +2 -2
- package/lib/components/select/src/option.vue.d.ts +5 -5
- package/lib/components/select/src/select.d.ts +6 -6
- package/lib/components/select/src/select.vue.d.ts +68 -68
- package/lib/components/select/src/select.vue_vue_type_script_lang.js +10 -10
- package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/select/src/useOption.d.ts +2 -2
- package/lib/components/select/src/useSelect.d.ts +7 -7
- package/lib/components/select-v2/src/defaults.d.ts +4 -4
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +51 -51
- package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js +10 -10
- package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/select-v2/src/useSelect.d.ts +2 -2
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.d.ts +2 -2
- package/lib/components/slider/src/slider.vue.d.ts +8 -8
- package/lib/components/space/src/space.d.ts +4 -4
- package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +2 -2
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/switch/src/switch.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +4 -4
- package/lib/components/table/src/filter-panel.vue.d.ts +43 -43
- package/lib/components/table/src/table/defaults.d.ts +6 -6
- package/lib/components/table/src/table/style-helper.d.ts +2 -2
- package/lib/components/table/src/table/style-helper.js +46 -18
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-column/defaults.d.ts +2 -2
- package/lib/components/table/src/table-header/index.d.ts +9 -9
- package/lib/components/table/src/table.vue.d.ts +4 -4
- package/lib/components/table/src/table.vue_vue_type_script_setup_true_lang.js +9 -9
- package/lib/components/table/src/table.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +2 -2
- package/lib/components/tabs/src/tab-nav.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +5 -5
- package/lib/components/tag/src/tag.d.ts +3 -3
- package/lib/components/tag/src/tag.vue.d.ts +4 -4
- package/lib/components/text/src/text.d.ts +2 -2
- package/lib/components/text/src/text.vue.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker.vue.d.ts +10 -10
- package/lib/components/time-picker/src/common/props.d.ts +3 -3
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.js +10 -10
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +8 -8
- package/lib/components/time-select/src/time-select.d.ts +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +4 -4
- package/lib/components/timeline/src/timeline-item.d.ts +3 -3
- package/lib/components/timeline/src/timeline-item.vue.d.ts +3 -3
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.vue.d.ts +7 -7
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +2 -2
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +5 -5
- package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
- package/lib/components/tree/src/tree-node.vue.d.ts +10 -10
- package/lib/components/tree/src/tree.vue.d.ts +20 -20
- package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/lib/components/tree-select/src/tree-select.vue.d.ts +29 -29
- package/lib/components/tree-v2/src/composables/useTree.d.ts +14 -14
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +2 -2
- package/lib/components/tree-v2/src/tree.vue.d.ts +13 -13
- package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +6 -6
- package/lib/components/virtual-list/src/builders/build-list.d.ts +7 -7
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -6
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -7
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -6
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +7 -7
- package/lib/components/virtual-list/src/components/scrollbar.d.ts +1 -1
- package/lib/components/watermark/src/watermark.vue.d.ts +2 -2
- package/lib/constants/index.js +2 -2
- package/lib/directives/trap-focus/index.js +5 -5
- package/lib/directives/trap-focus/index.js.map +1 -1
- package/lib/hooks/use-floating/index.d.ts +4 -4
- package/lib/hooks/use-popper/index.d.ts +2 -2
- package/lib/hooks/use-size/index.d.ts +3 -3
- package/lib/index.js +269 -269
- package/lib/plugin.js +12 -12
- package/lib/plugin.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +3 -3
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20261111 */
|
|
2
2
|
|
|
3
3
|
(function(global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require("vue")) :
|
|
@@ -7951,7 +7951,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
7951
7951
|
|
|
7952
7952
|
//#endregion
|
|
7953
7953
|
//#region ../../packages/element-plus/version.ts
|
|
7954
|
-
const version$1 = "0.0.
|
|
7954
|
+
const version$1 = "0.0.20261111";
|
|
7955
7955
|
|
|
7956
7956
|
//#endregion
|
|
7957
7957
|
//#region ../../packages/element-plus/make-installer.ts
|
|
@@ -13960,7 +13960,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
13960
13960
|
};
|
|
13961
13961
|
|
|
13962
13962
|
//#endregion
|
|
13963
|
-
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.
|
|
13963
|
+
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.3.0/node_modules/@ctrl/tinycolor/dist/module/util.js
|
|
13964
13964
|
function bound01(n, max) {
|
|
13965
13965
|
if (isOnePointZero(n)) n = "100%";
|
|
13966
13966
|
const isPercent = isPercentage(n);
|
|
@@ -13981,7 +13981,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
13981
13981
|
return typeof n === "string" && n.indexOf("%") !== -1;
|
|
13982
13982
|
}
|
|
13983
13983
|
function boundAlpha(a) {
|
|
13984
|
-
a = parseFloat(a);
|
|
13984
|
+
a = typeof a === "string" && a.trim().endsWith("%") ? parseFloat(a) / 100 : parseFloat(a);
|
|
13985
13985
|
if (isNaN(a) || a < 0 || a > 1) a = 1;
|
|
13986
13986
|
return a;
|
|
13987
13987
|
}
|
|
@@ -13999,7 +13999,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
13999
13999
|
}
|
|
14000
14000
|
|
|
14001
14001
|
//#endregion
|
|
14002
|
-
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.
|
|
14002
|
+
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.3.0/node_modules/@ctrl/tinycolor/dist/module/conversion.js
|
|
14003
14003
|
function rgbToRgb(r, g, b) {
|
|
14004
14004
|
return {
|
|
14005
14005
|
r: bound01(r, 255) * 255,
|
|
@@ -14199,6 +14199,115 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14199
14199
|
k: Math.round(k)
|
|
14200
14200
|
};
|
|
14201
14201
|
}
|
|
14202
|
+
function rgbToOklch(r, g, b) {
|
|
14203
|
+
const [l, labA, labB] = linearSrgbToOklab(srgbToLinear(r / 255), srgbToLinear(g / 255), srgbToLinear(b / 255));
|
|
14204
|
+
const c = Math.sqrt(labA * labA + labB * labB);
|
|
14205
|
+
if (c <= 4e-6) return {
|
|
14206
|
+
l: Math.min(1, l),
|
|
14207
|
+
c: 0,
|
|
14208
|
+
h: 0
|
|
14209
|
+
};
|
|
14210
|
+
const h = Math.atan2(labB, labA) * 180 / Math.PI;
|
|
14211
|
+
return {
|
|
14212
|
+
l: Math.min(1, l),
|
|
14213
|
+
c,
|
|
14214
|
+
h: h < 0 ? h + 360 : h
|
|
14215
|
+
};
|
|
14216
|
+
}
|
|
14217
|
+
function oklchToRgb(l, c, h) {
|
|
14218
|
+
if (l >= 1) return {
|
|
14219
|
+
r: 255,
|
|
14220
|
+
g: 255,
|
|
14221
|
+
b: 255
|
|
14222
|
+
};
|
|
14223
|
+
if (l <= 0) return {
|
|
14224
|
+
r: 0,
|
|
14225
|
+
g: 0,
|
|
14226
|
+
b: 0
|
|
14227
|
+
};
|
|
14228
|
+
const hue = h * Math.PI / 180;
|
|
14229
|
+
const cos = Math.cos(hue);
|
|
14230
|
+
const sin = Math.sin(hue);
|
|
14231
|
+
const chroma = Math.max(0, c);
|
|
14232
|
+
let rgb = oklabToLinearSrgb(l, chroma * cos, chroma * sin);
|
|
14233
|
+
if (!isInSrgbGamut(rgb)) rgb = gamutMapToSrgb(l, chroma, cos, sin);
|
|
14234
|
+
return {
|
|
14235
|
+
r: linearToSrgb(rgb[0]) * 255,
|
|
14236
|
+
g: linearToSrgb(rgb[1]) * 255,
|
|
14237
|
+
b: linearToSrgb(rgb[2]) * 255
|
|
14238
|
+
};
|
|
14239
|
+
}
|
|
14240
|
+
function gamutMapToSrgb(l, c, cos, sin) {
|
|
14241
|
+
const jnd = .02;
|
|
14242
|
+
const epsilon = 1e-4;
|
|
14243
|
+
let clipped = clipToSrgb(oklabToLinearSrgb(l, c * cos, c * sin));
|
|
14244
|
+
if (deltaEOK(l, c * cos, c * sin, clipped) < jnd) return clipped;
|
|
14245
|
+
let min = 0;
|
|
14246
|
+
let max = c;
|
|
14247
|
+
let minInGamut = true;
|
|
14248
|
+
while (max - min > epsilon) {
|
|
14249
|
+
const chroma = (min + max) / 2;
|
|
14250
|
+
const current = oklabToLinearSrgb(l, chroma * cos, chroma * sin);
|
|
14251
|
+
if (minInGamut && isInSrgbGamut(current)) {
|
|
14252
|
+
min = chroma;
|
|
14253
|
+
continue;
|
|
14254
|
+
}
|
|
14255
|
+
clipped = clipToSrgb(current);
|
|
14256
|
+
const delta = deltaEOK(l, chroma * cos, chroma * sin, clipped);
|
|
14257
|
+
if (delta < jnd) {
|
|
14258
|
+
if (jnd - delta < epsilon) break;
|
|
14259
|
+
minInGamut = false;
|
|
14260
|
+
min = chroma;
|
|
14261
|
+
} else max = chroma;
|
|
14262
|
+
}
|
|
14263
|
+
return clipped;
|
|
14264
|
+
}
|
|
14265
|
+
function deltaEOK(l, a, b, rgb) {
|
|
14266
|
+
const [l2, a2, b2] = linearSrgbToOklab(rgb[0], rgb[1], rgb[2]);
|
|
14267
|
+
const dl = l - l2;
|
|
14268
|
+
const da = a - a2;
|
|
14269
|
+
const db = b - b2;
|
|
14270
|
+
return Math.sqrt(dl * dl + da * da + db * db);
|
|
14271
|
+
}
|
|
14272
|
+
function isInSrgbGamut(rgb) {
|
|
14273
|
+
return rgb[0] >= 0 && rgb[0] <= 1 && rgb[1] >= 0 && rgb[1] <= 1 && rgb[2] >= 0 && rgb[2] <= 1;
|
|
14274
|
+
}
|
|
14275
|
+
function clipToSrgb(rgb) {
|
|
14276
|
+
return [
|
|
14277
|
+
Math.min(1, Math.max(0, rgb[0])),
|
|
14278
|
+
Math.min(1, Math.max(0, rgb[1])),
|
|
14279
|
+
Math.min(1, Math.max(0, rgb[2]))
|
|
14280
|
+
];
|
|
14281
|
+
}
|
|
14282
|
+
function srgbToLinear(channel) {
|
|
14283
|
+
return channel <= .04045 ? channel / 12.92 : ((channel + .055) / 1.055) ** 2.4;
|
|
14284
|
+
}
|
|
14285
|
+
function linearToSrgb(channel) {
|
|
14286
|
+
return channel <= .0031308 ? channel * 12.92 : 1.055 * channel ** (1 / 2.4) - .055;
|
|
14287
|
+
}
|
|
14288
|
+
function linearSrgbToOklab(r, g, b) {
|
|
14289
|
+
const long = Math.cbrt(.41222146947076305 * r + .5363325372617348 * g + .05144599326750221 * b);
|
|
14290
|
+
const medium = Math.cbrt(.21190349581782522 * r + .6806995506452344 * g + .10739695353694056 * b);
|
|
14291
|
+
const short = Math.cbrt(.08830245919005643 * r + .2817188391361215 * g + .6299787016738222 * b);
|
|
14292
|
+
return [
|
|
14293
|
+
.210454268309314 * long + .7936177747023054 * medium - .0040720430116193 * short,
|
|
14294
|
+
1.9779985324311684 * long - 2.42859224204858 * medium + .450593709617411 * short,
|
|
14295
|
+
.0259040424655478 * long + .7827717124575296 * medium - .8086757549230774 * short
|
|
14296
|
+
];
|
|
14297
|
+
}
|
|
14298
|
+
function oklabToLinearSrgb(l, a, b) {
|
|
14299
|
+
const cbrtLong = l + .3963377773761749 * a + .2158037573099136 * b;
|
|
14300
|
+
const cbrtMedium = l - .1055613458156586 * a - .0638541728258133 * b;
|
|
14301
|
+
const cbrtShort = l - .0894841775298119 * a - 1.2914855480194092 * b;
|
|
14302
|
+
const long = cbrtLong * cbrtLong * cbrtLong;
|
|
14303
|
+
const medium = cbrtMedium * cbrtMedium * cbrtMedium;
|
|
14304
|
+
const short = cbrtShort * cbrtShort * cbrtShort;
|
|
14305
|
+
return [
|
|
14306
|
+
4.076741636075958 * long - 3.3077115392580616 * medium + .2309699031821043 * short,
|
|
14307
|
+
-1.2684379732850317 * long + 2.6097573492876887 * medium - .34131937600265727 * short,
|
|
14308
|
+
-.004196076138675564 * long - .7034186179359363 * medium + 1.7076146940746117 * short
|
|
14309
|
+
];
|
|
14310
|
+
}
|
|
14202
14311
|
function numberInputToObject(color) {
|
|
14203
14312
|
return {
|
|
14204
14313
|
r: color >> 16,
|
|
@@ -14208,7 +14317,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14208
14317
|
}
|
|
14209
14318
|
|
|
14210
14319
|
//#endregion
|
|
14211
|
-
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.
|
|
14320
|
+
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.3.0/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js
|
|
14212
14321
|
const names = {
|
|
14213
14322
|
aliceblue: "#f0f8ff",
|
|
14214
14323
|
antiquewhite: "#faebd7",
|
|
@@ -14361,7 +14470,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14361
14470
|
};
|
|
14362
14471
|
|
|
14363
14472
|
//#endregion
|
|
14364
|
-
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.
|
|
14473
|
+
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.3.0/node_modules/@ctrl/tinycolor/dist/module/format-input.js
|
|
14365
14474
|
function inputToRGB(color) {
|
|
14366
14475
|
let rgb = {
|
|
14367
14476
|
r: 0,
|
|
@@ -14371,6 +14480,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14371
14480
|
let a = 1;
|
|
14372
14481
|
let ok = false;
|
|
14373
14482
|
let format = false;
|
|
14483
|
+
let oklch;
|
|
14374
14484
|
if (typeof color === "string") color = stringInputToObject(color);
|
|
14375
14485
|
if (typeof color === "object") {
|
|
14376
14486
|
if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
|
|
@@ -14390,6 +14500,20 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14390
14500
|
rgb = hslToRgb(color.h, s, l);
|
|
14391
14501
|
ok = true;
|
|
14392
14502
|
format = "hsl";
|
|
14503
|
+
} else if (isValidCSSUnit(color.l) && isValidCSSUnit(color.c) && isValidCSSUnit(color.h)) {
|
|
14504
|
+
const l = oklchLightness(color.l);
|
|
14505
|
+
const c = oklchChroma(color.c);
|
|
14506
|
+
const h = oklchHue(color.h);
|
|
14507
|
+
if (Number.isFinite(l + c + h)) {
|
|
14508
|
+
oklch = {
|
|
14509
|
+
l,
|
|
14510
|
+
c,
|
|
14511
|
+
h
|
|
14512
|
+
};
|
|
14513
|
+
rgb = oklchToRgb(l, c, h);
|
|
14514
|
+
ok = true;
|
|
14515
|
+
format = "oklch";
|
|
14516
|
+
}
|
|
14393
14517
|
} else if (isValidCSSUnit(color.c) && isValidCSSUnit(color.m) && isValidCSSUnit(color.y) && isValidCSSUnit(color.k)) {
|
|
14394
14518
|
rgb = cmykToRgb(color.c, color.m, color.y, color.k);
|
|
14395
14519
|
ok = true;
|
|
@@ -14404,25 +14528,48 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14404
14528
|
r: Math.min(255, Math.max(rgb.r, 0)),
|
|
14405
14529
|
g: Math.min(255, Math.max(rgb.g, 0)),
|
|
14406
14530
|
b: Math.min(255, Math.max(rgb.b, 0)),
|
|
14407
|
-
a
|
|
14531
|
+
a,
|
|
14532
|
+
oklch
|
|
14408
14533
|
};
|
|
14409
14534
|
}
|
|
14535
|
+
function oklchLightness(value) {
|
|
14536
|
+
return clamp01(typeof value === "number" ? value : cssNumber(value, 1, false));
|
|
14537
|
+
}
|
|
14538
|
+
function oklchChroma(value) {
|
|
14539
|
+
return Math.max(0, typeof value === "number" ? value : cssNumber(value, .4, false));
|
|
14540
|
+
}
|
|
14541
|
+
function oklchHue(value) {
|
|
14542
|
+
const wrapped = (typeof value === "number" ? value : cssNumber(value, NaN, true)) % 360;
|
|
14543
|
+
return wrapped < 0 ? wrapped + 360 : Math.abs(wrapped);
|
|
14544
|
+
}
|
|
14545
|
+
function cssNumber(value, percent, angle) {
|
|
14546
|
+
const match = /^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)([a-z%]*)$/.exec(value.trim().toLowerCase());
|
|
14547
|
+
return match ? withUnit(Number(match[1]), match[2], percent, angle) : NaN;
|
|
14548
|
+
}
|
|
14549
|
+
function withUnit(n, unit, percent, angle) {
|
|
14550
|
+
switch (unit) {
|
|
14551
|
+
case "": return n;
|
|
14552
|
+
case "%": return angle ? NaN : n / 100 * percent;
|
|
14553
|
+
case "deg": return angle ? n : NaN;
|
|
14554
|
+
case "grad": return angle ? n * .9 : NaN;
|
|
14555
|
+
case "rad": return angle ? n * 180 / Math.PI : NaN;
|
|
14556
|
+
case "turn": return angle ? n * 360 : NaN;
|
|
14557
|
+
default: return NaN;
|
|
14558
|
+
}
|
|
14559
|
+
}
|
|
14410
14560
|
const CSS_UNIT = "(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)";
|
|
14411
|
-
const PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")
|
|
14412
|
-
const PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
|
14561
|
+
const PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")(?:[,|\\s|/]+(" + CSS_UNIT + "))?\\s*\\)?";
|
|
14413
14562
|
const matchers = {
|
|
14414
14563
|
CSS_UNIT: new RegExp(CSS_UNIT),
|
|
14415
|
-
rgb: new RegExp("
|
|
14416
|
-
|
|
14417
|
-
|
|
14418
|
-
|
|
14419
|
-
hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
|
|
14420
|
-
hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
|
|
14421
|
-
cmyk: new RegExp("cmyk" + PERMISSIVE_MATCH4)
|
|
14564
|
+
rgb: new RegExp("rgba?" + PERMISSIVE_MATCH3),
|
|
14565
|
+
hsl: new RegExp("hsla?" + PERMISSIVE_MATCH3),
|
|
14566
|
+
hsv: new RegExp("hsva?" + PERMISSIVE_MATCH3),
|
|
14567
|
+
cmyk: /* @__PURE__ */ new RegExp("cmyk[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?")
|
|
14422
14568
|
};
|
|
14423
14569
|
function stringInputToObject(color) {
|
|
14424
14570
|
color = color.trim().toLowerCase();
|
|
14425
14571
|
if (color.length === 0) return false;
|
|
14572
|
+
if (color.startsWith("oklch")) return oklchStringToObject(color);
|
|
14426
14573
|
let named = false;
|
|
14427
14574
|
if (names[color]) {
|
|
14428
14575
|
color = names[color];
|
|
@@ -14439,39 +14586,33 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14439
14586
|
if (hex) return hex;
|
|
14440
14587
|
}
|
|
14441
14588
|
let match = matchers.rgb.exec(color);
|
|
14442
|
-
if (match) return {
|
|
14589
|
+
if (match) return match[4] === void 0 ? {
|
|
14443
14590
|
r: match[1],
|
|
14444
14591
|
g: match[2],
|
|
14445
14592
|
b: match[3]
|
|
14446
|
-
}
|
|
14447
|
-
match = matchers.rgba.exec(color);
|
|
14448
|
-
if (match) return {
|
|
14593
|
+
} : {
|
|
14449
14594
|
r: match[1],
|
|
14450
14595
|
g: match[2],
|
|
14451
14596
|
b: match[3],
|
|
14452
14597
|
a: match[4]
|
|
14453
14598
|
};
|
|
14454
14599
|
match = matchers.hsl.exec(color);
|
|
14455
|
-
if (match) return {
|
|
14600
|
+
if (match) return match[4] === void 0 ? {
|
|
14456
14601
|
h: match[1],
|
|
14457
14602
|
s: match[2],
|
|
14458
14603
|
l: match[3]
|
|
14459
|
-
}
|
|
14460
|
-
match = matchers.hsla.exec(color);
|
|
14461
|
-
if (match) return {
|
|
14604
|
+
} : {
|
|
14462
14605
|
h: match[1],
|
|
14463
14606
|
s: match[2],
|
|
14464
14607
|
l: match[3],
|
|
14465
14608
|
a: match[4]
|
|
14466
14609
|
};
|
|
14467
14610
|
match = matchers.hsv.exec(color);
|
|
14468
|
-
if (match) return {
|
|
14611
|
+
if (match) return match[4] === void 0 ? {
|
|
14469
14612
|
h: match[1],
|
|
14470
14613
|
s: match[2],
|
|
14471
14614
|
v: match[3]
|
|
14472
|
-
}
|
|
14473
|
-
match = matchers.hsva.exec(color);
|
|
14474
|
-
if (match) return {
|
|
14615
|
+
} : {
|
|
14475
14616
|
h: match[1],
|
|
14476
14617
|
s: match[2],
|
|
14477
14618
|
v: match[3],
|
|
@@ -14486,6 +14627,24 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14486
14627
|
};
|
|
14487
14628
|
return false;
|
|
14488
14629
|
}
|
|
14630
|
+
function oklchStringToObject(color) {
|
|
14631
|
+
const match = /^oklch(?:\s*\(\s*|\s+)(?:none|([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(%?))[\s,]+(?:none|([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(%?))[\s,]+(?:none|([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(deg|grad|rad|turn)?)(?:(?:\s*[,/]\s*|\s+)(none|([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(%?)))?\s*\)?$/.exec(color);
|
|
14632
|
+
if (!match) return false;
|
|
14633
|
+
const l = match[1] === void 0 ? 0 : withUnit(Number(match[1]), match[2], 1, false);
|
|
14634
|
+
const c = match[3] === void 0 ? 0 : withUnit(Number(match[3]), match[4], .4, false);
|
|
14635
|
+
const h = match[5] === void 0 ? 0 : withUnit(Number(match[5]), match[6] ?? "", NaN, true);
|
|
14636
|
+
if (match[7] === void 0) return {
|
|
14637
|
+
l,
|
|
14638
|
+
c,
|
|
14639
|
+
h
|
|
14640
|
+
};
|
|
14641
|
+
return {
|
|
14642
|
+
l,
|
|
14643
|
+
c,
|
|
14644
|
+
h,
|
|
14645
|
+
a: match[8] === void 0 ? 0 : withUnit(Number(match[8]), match[9], 1, false)
|
|
14646
|
+
};
|
|
14647
|
+
}
|
|
14489
14648
|
function hexToObject(color, named) {
|
|
14490
14649
|
const start = color.startsWith("#") ? 1 : 0;
|
|
14491
14650
|
const length = color.length - start;
|
|
@@ -14542,7 +14701,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14542
14701
|
}
|
|
14543
14702
|
|
|
14544
14703
|
//#endregion
|
|
14545
|
-
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.
|
|
14704
|
+
//#region ../../node_modules/.pnpm/@ctrl+tinycolor@4.3.0/node_modules/@ctrl/tinycolor/dist/module/index.js
|
|
14546
14705
|
var TinyColor = class TinyColor {
|
|
14547
14706
|
constructor(color = "", opts = {}) {
|
|
14548
14707
|
if (color instanceof TinyColor) return color;
|
|
@@ -14562,11 +14721,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14562
14721
|
if (this.b < 1) this.b = Math.round(this.b);
|
|
14563
14722
|
this.isValid = rgb.ok;
|
|
14564
14723
|
}
|
|
14565
|
-
isDark() {
|
|
14566
|
-
return this.getBrightness() <
|
|
14724
|
+
isDark(threshold = 128) {
|
|
14725
|
+
return this.getBrightness() < threshold;
|
|
14567
14726
|
}
|
|
14568
|
-
isLight() {
|
|
14569
|
-
return !this.isDark();
|
|
14727
|
+
isLight(threshold = 128) {
|
|
14728
|
+
return !this.isDark(threshold);
|
|
14570
14729
|
}
|
|
14571
14730
|
getBrightness() {
|
|
14572
14731
|
const rgb = this.toRgb();
|
|
@@ -14632,6 +14791,31 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14632
14791
|
const l = Math.round(hsl.l * 100);
|
|
14633
14792
|
return this.a === 1 ? `hsl(${h}, ${s}%, ${l}%)` : `hsla(${h}, ${s}%, ${l}%, ${this.roundA})`;
|
|
14634
14793
|
}
|
|
14794
|
+
toOklch() {
|
|
14795
|
+
if (mightBeOklch(this.originalInput)) {
|
|
14796
|
+
const input = inputToRGB(this.originalInput);
|
|
14797
|
+
if (input.oklch && constructorChannel(input.r) === this.r && constructorChannel(input.g) === this.g && constructorChannel(input.b) === this.b) {
|
|
14798
|
+
const { l, c, h } = input.oklch;
|
|
14799
|
+
return {
|
|
14800
|
+
l,
|
|
14801
|
+
c,
|
|
14802
|
+
h,
|
|
14803
|
+
a: this.a
|
|
14804
|
+
};
|
|
14805
|
+
}
|
|
14806
|
+
}
|
|
14807
|
+
const { l, c, h } = rgbToOklch(this.r, this.g, this.b);
|
|
14808
|
+
return {
|
|
14809
|
+
l,
|
|
14810
|
+
c,
|
|
14811
|
+
h,
|
|
14812
|
+
a: this.a
|
|
14813
|
+
};
|
|
14814
|
+
}
|
|
14815
|
+
toOklchString() {
|
|
14816
|
+
const { l, c, h } = this.toOklch();
|
|
14817
|
+
return `oklch(${Math.round(l * 1e5) / 1e3}% ${Math.round(c * 1e5) / 1e5} ${Math.round(h * 1e3) / 1e3 % 360}${this.a === 1 ? "" : ` / ${this.roundA}`})`;
|
|
14818
|
+
}
|
|
14635
14819
|
toHex(allow3Char = false) {
|
|
14636
14820
|
return rgbToHex(this.r, this.g, this.b, allow3Char);
|
|
14637
14821
|
}
|
|
@@ -14670,6 +14854,14 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14670
14854
|
a: this.a
|
|
14671
14855
|
};
|
|
14672
14856
|
}
|
|
14857
|
+
toRgbRatio() {
|
|
14858
|
+
return {
|
|
14859
|
+
r: this.r / 255,
|
|
14860
|
+
g: this.g / 255,
|
|
14861
|
+
b: this.b / 255,
|
|
14862
|
+
a: this.a
|
|
14863
|
+
};
|
|
14864
|
+
}
|
|
14673
14865
|
toPercentageRgbString() {
|
|
14674
14866
|
const rnd = (x) => Math.round(bound01(x, 255) * 100);
|
|
14675
14867
|
return this.a === 1 ? `rgb(${rnd(this.r)}%, ${rnd(this.g)}%, ${rnd(this.b)}%)` : `rgba(${rnd(this.r)}%, ${rnd(this.g)}%, ${rnd(this.b)}%, ${this.roundA})`;
|
|
@@ -14694,7 +14886,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14694
14886
|
format = format ?? this.format;
|
|
14695
14887
|
let formattedString = false;
|
|
14696
14888
|
const hasAlpha = this.a < 1 && this.a >= 0;
|
|
14697
|
-
if (!formatSet && hasAlpha && (format.startsWith("hex") || format === "name")) {
|
|
14889
|
+
if (!formatSet && hasAlpha && typeof format === "string" && (format.startsWith("hex") || format === "name")) {
|
|
14698
14890
|
if (format === "name" && this.a === 0) return this.toName();
|
|
14699
14891
|
return this.toRgbString();
|
|
14700
14892
|
}
|
|
@@ -14707,6 +14899,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14707
14899
|
if (format === "name") formattedString = this.toName();
|
|
14708
14900
|
if (format === "hsl") formattedString = this.toHslString();
|
|
14709
14901
|
if (format === "hsv") formattedString = this.toHsvString();
|
|
14902
|
+
if (format === "oklch") formattedString = this.toOklchString();
|
|
14710
14903
|
if (format === "cmyk") formattedString = this.toCmykString();
|
|
14711
14904
|
return formattedString || this.toHexString();
|
|
14712
14905
|
}
|
|
@@ -14858,6 +15051,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
14858
15051
|
return this.toRgbString() === comparedColor.toRgbString();
|
|
14859
15052
|
}
|
|
14860
15053
|
};
|
|
15054
|
+
function constructorChannel(channel) {
|
|
15055
|
+
return channel < 1 ? Math.round(channel) : channel;
|
|
15056
|
+
}
|
|
15057
|
+
function mightBeOklch(input) {
|
|
15058
|
+
if (typeof input === "string") return input.length >= 11 && /^\s*oklch/i.test(input);
|
|
15059
|
+
return typeof input === "object" && "l" in input && "c" in input && "h" in input;
|
|
15060
|
+
}
|
|
14861
15061
|
|
|
14862
15062
|
//#endregion
|
|
14863
15063
|
//#region ../../packages/components/button/src/button-custom.ts
|
|
@@ -45118,6 +45318,10 @@ var import_isSameOrBefore = /* @__PURE__ */ __toESM(require_isSameOrBefore());
|
|
|
45118
45318
|
const headerScrollHeight = (0, vue.ref)(0);
|
|
45119
45319
|
const footerScrollHeight = (0, vue.ref)(0);
|
|
45120
45320
|
const appendScrollHeight = (0, vue.ref)(0);
|
|
45321
|
+
let isUnmounted = false;
|
|
45322
|
+
let layoutFrame = null;
|
|
45323
|
+
let syncFrame = null;
|
|
45324
|
+
const stopFns = [];
|
|
45121
45325
|
(0, vue.watch)(() => props.height, (value) => {
|
|
45122
45326
|
layout.setHeight(value ?? null);
|
|
45123
45327
|
}, { immediate: true });
|
|
@@ -45152,16 +45356,24 @@ var import_isSameOrBefore = /* @__PURE__ */ __toESM(require_isSameOrBefore());
|
|
|
45152
45356
|
return { width: layout.bodyWidth.value ? `${layout.bodyWidth.value}px` : "" };
|
|
45153
45357
|
});
|
|
45154
45358
|
const doLayout = () => {
|
|
45359
|
+
if (isUnmounted) return;
|
|
45155
45360
|
if (shouldUpdateHeight.value) layout.updateElsHeight();
|
|
45156
45361
|
layout.updateColumnsWidth();
|
|
45157
45362
|
if (typeof window === "undefined") return;
|
|
45158
|
-
requestAnimationFrame(
|
|
45363
|
+
if (syncFrame === null) syncFrame = requestAnimationFrame(() => {
|
|
45364
|
+
syncFrame = null;
|
|
45365
|
+
if (!isUnmounted) syncPosition();
|
|
45366
|
+
});
|
|
45159
45367
|
};
|
|
45160
45368
|
(0, vue.onMounted)(async () => {
|
|
45161
45369
|
await (0, vue.nextTick)();
|
|
45370
|
+
if (isUnmounted) return;
|
|
45162
45371
|
store.updateColumns();
|
|
45163
45372
|
bindEvents();
|
|
45164
|
-
requestAnimationFrame(
|
|
45373
|
+
layoutFrame = requestAnimationFrame(() => {
|
|
45374
|
+
layoutFrame = null;
|
|
45375
|
+
doLayout();
|
|
45376
|
+
});
|
|
45165
45377
|
const el = table.vnode.el;
|
|
45166
45378
|
const tableHeader = table.refs.headerWrapper;
|
|
45167
45379
|
if (props.flexible && el && el.parentElement) el.parentElement.style.minWidth = "0";
|
|
@@ -45211,18 +45423,21 @@ var import_isSameOrBefore = /* @__PURE__ */ __toESM(require_isSameOrBefore());
|
|
|
45211
45423
|
else setScrollClass("is-scrolling-middle");
|
|
45212
45424
|
};
|
|
45213
45425
|
const bindEvents = () => {
|
|
45214
|
-
if (!table.refs.scrollBarRef) return;
|
|
45215
|
-
if (table.refs.scrollBarRef.wrapRef) useEventListener(table.refs.scrollBarRef.wrapRef, "scroll", syncPosition, { passive: true });
|
|
45216
|
-
if (props.fit)
|
|
45217
|
-
|
|
45218
|
-
|
|
45426
|
+
if (isUnmounted || !table.refs.scrollBarRef) return;
|
|
45427
|
+
if (table.refs.scrollBarRef.wrapRef) stopFns.push(useEventListener(table.refs.scrollBarRef.wrapRef, "scroll", syncPosition, { passive: true }));
|
|
45428
|
+
if (props.fit) {
|
|
45429
|
+
const { stop } = useResizeObserver(table.vnode.el, resizeListener);
|
|
45430
|
+
stopFns.push(stop);
|
|
45431
|
+
} else stopFns.push(useEventListener(window, "resize", resizeListener));
|
|
45432
|
+
const { stop } = useResizeObserver(table.refs.tableInnerWrapper, () => {
|
|
45219
45433
|
resizeListener();
|
|
45220
45434
|
table.refs?.scrollBarRef?.update();
|
|
45221
45435
|
});
|
|
45436
|
+
stopFns.push(stop);
|
|
45222
45437
|
};
|
|
45223
45438
|
const resizeListener = () => {
|
|
45224
45439
|
const el = table.vnode.el;
|
|
45225
|
-
if (!table.$ready || !el) return;
|
|
45440
|
+
if (isUnmounted || !table.$ready || !el) return;
|
|
45226
45441
|
let shouldUpdateLayout = false;
|
|
45227
45442
|
const { width: oldWidth, height: oldHeight, headerHeight: oldHeaderHeight } = resizeState.value;
|
|
45228
45443
|
const width = tableWidth.value = el.offsetWidth;
|
|
@@ -45254,6 +45469,28 @@ var import_isSameOrBefore = /* @__PURE__ */ __toESM(require_isSameOrBefore());
|
|
|
45254
45469
|
if (props.maxHeight) return "fixed";
|
|
45255
45470
|
return props.tableLayout;
|
|
45256
45471
|
});
|
|
45472
|
+
const emptyBlockStyle = (0, vue.computed)(() => {
|
|
45473
|
+
if (props.data && props.data.length) return;
|
|
45474
|
+
let height = "100%";
|
|
45475
|
+
if (props.height && bodyScrollHeight.value) height = `${bodyScrollHeight.value}px`;
|
|
45476
|
+
const width = tableWidth.value;
|
|
45477
|
+
return {
|
|
45478
|
+
width: width ? `${width}px` : "",
|
|
45479
|
+
height
|
|
45480
|
+
};
|
|
45481
|
+
});
|
|
45482
|
+
(0, vue.onBeforeUnmount)(() => {
|
|
45483
|
+
isUnmounted = true;
|
|
45484
|
+
if (layoutFrame !== null) {
|
|
45485
|
+
cancelAnimationFrame(layoutFrame);
|
|
45486
|
+
layoutFrame = null;
|
|
45487
|
+
}
|
|
45488
|
+
if (syncFrame !== null) {
|
|
45489
|
+
cancelAnimationFrame(syncFrame);
|
|
45490
|
+
syncFrame = null;
|
|
45491
|
+
}
|
|
45492
|
+
stopFns.forEach((stop) => stop());
|
|
45493
|
+
});
|
|
45257
45494
|
return {
|
|
45258
45495
|
isHidden,
|
|
45259
45496
|
renderExpanded,
|
|
@@ -45262,16 +45499,7 @@ var import_isSameOrBefore = /* @__PURE__ */ __toESM(require_isSameOrBefore());
|
|
|
45262
45499
|
handleMouseLeave,
|
|
45263
45500
|
handleHeaderFooterMousewheel,
|
|
45264
45501
|
tableSize,
|
|
45265
|
-
emptyBlockStyle
|
|
45266
|
-
if (props.data && props.data.length) return;
|
|
45267
|
-
let height = "100%";
|
|
45268
|
-
if (props.height && bodyScrollHeight.value) height = `${bodyScrollHeight.value}px`;
|
|
45269
|
-
const width = tableWidth.value;
|
|
45270
|
-
return {
|
|
45271
|
-
width: width ? `${width}px` : "",
|
|
45272
|
-
height
|
|
45273
|
-
};
|
|
45274
|
-
}),
|
|
45502
|
+
emptyBlockStyle,
|
|
45275
45503
|
resizeProxyVisible,
|
|
45276
45504
|
bodyWidth,
|
|
45277
45505
|
resizeState,
|