element-plus 2.2.18 → 2.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +873 -858
- package/dist/index.full.min.js +20 -20
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +21 -21
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +874 -859
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.d.ts +53 -45
- package/es/components/autocomplete/src/autocomplete.d.ts +1 -3
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +53 -45
- package/es/components/backtop/index.d.ts +2 -6
- package/es/components/backtop/index.mjs.map +1 -1
- package/es/components/backtop/src/backtop.d.ts +0 -2
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +5 -10
- package/es/components/backtop/src/backtop2.mjs +6 -52
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/backtop/src/instance.d.ts +2 -0
- package/es/components/backtop/src/instance.mjs +2 -0
- package/es/components/backtop/src/instance.mjs.map +1 -0
- package/es/components/backtop/src/use-backtop.d.ts +6 -0
- package/es/components/backtop/src/use-backtop.mjs +58 -0
- package/es/components/backtop/src/use-backtop.mjs.map +1 -0
- package/es/components/button/index.d.ts +4 -10
- package/es/components/button/index.mjs.map +1 -1
- package/es/components/button/src/button-group.d.ts +0 -2
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button.d.ts +0 -2
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button.vue.d.ts +3 -10
- package/es/components/button/src/button2.mjs +5 -46
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/button/src/instance.d.ts +4 -0
- package/es/components/button/src/instance.mjs +2 -0
- package/es/components/button/src/instance.mjs.map +1 -0
- package/es/components/button/src/use-button.d.ts +10 -0
- package/es/components/button/src/use-button.mjs +59 -0
- package/es/components/button/src/use-button.mjs.map +1 -0
- package/es/components/calendar/index.d.ts +39 -58
- package/es/components/calendar/index.mjs.map +1 -1
- package/es/components/calendar/src/calendar.d.ts +0 -2
- package/es/components/calendar/src/calendar.mjs.map +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +101 -125
- package/es/components/calendar/src/calendar2.mjs +19 -134
- package/es/components/calendar/src/calendar2.mjs.map +1 -1
- package/es/components/calendar/src/date-table.d.ts +0 -2
- package/es/components/calendar/src/date-table.mjs.map +1 -1
- package/es/components/calendar/src/date-table.vue.d.ts +26 -31
- package/es/components/calendar/src/date-table2.mjs +14 -82
- package/es/components/calendar/src/date-table2.mjs.map +1 -1
- package/es/components/calendar/src/instance.d.ts +5 -0
- package/es/components/calendar/src/instance.mjs +2 -0
- package/es/components/calendar/src/instance.mjs.map +1 -0
- package/es/components/calendar/src/use-calendar.d.ts +14 -0
- package/es/components/calendar/src/use-calendar.mjs +140 -0
- package/es/components/calendar/src/use-calendar.mjs.map +1 -0
- package/es/components/calendar/src/use-date-table.d.ts +18 -0
- package/es/components/calendar/src/use-date-table.mjs +96 -0
- package/es/components/calendar/src/use-date-table.mjs.map +1 -0
- package/es/components/cascader/index.d.ts +62 -44
- package/es/components/cascader/src/index.mjs +2 -2
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/cascader/src/index.vue.d.ts +31 -22
- package/es/components/cascader-panel/src/index.mjs +5 -3
- package/es/components/cascader-panel/src/index.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +21 -21
- package/es/components/color-picker/index.mjs +2 -2
- package/es/components/color-picker/src/color-picker.mjs +38 -317
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +21 -21
- package/es/components/color-picker/src/color-picker2.mjs +317 -38
- 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/date-picker/src/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +45 -45
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +47 -47
- package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
- package/es/components/date-picker/src/panel-utils.d.ts +95 -95
- package/es/components/dialog/index.d.ts +1 -0
- package/es/components/dialog/src/dialog.vue.d.ts +1 -0
- package/es/components/dialog/src/dialog2.mjs +4 -2
- package/es/components/dialog/src/dialog2.mjs.map +1 -1
- package/es/components/dialog/src/use-dialog.d.ts +1 -0
- package/es/components/dialog/src/use-dialog.mjs +7 -0
- package/es/components/dialog/src/use-dialog.mjs.map +1 -1
- package/es/components/drawer/index.d.ts +1 -0
- package/es/components/drawer/src/drawer.vue.d.ts +1 -0
- package/es/components/index.mjs +1 -1
- package/es/components/input/index.d.ts +18 -11
- package/es/components/input/src/input.d.ts +6 -1
- package/es/components/input/src/input.mjs +1 -2
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +18 -11
- package/es/components/input/src/input2.mjs +5 -32
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +49 -33
- package/es/components/input-number/src/input-number.vue.d.ts +49 -33
- package/es/components/message-box/src/message-box.type.d.ts +2 -0
- package/es/components/message-box/src/messageBox.mjs +20 -3
- package/es/components/message-box/src/messageBox.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +18 -11
- package/es/components/popconfirm/index.d.ts +3 -10
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -10
- package/es/components/skeleton/index.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/index.d.ts +49 -33
- package/es/components/slider/src/slider.vue.d.ts +49 -33
- package/es/components/switch/src/switch2.mjs +15 -34
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.mjs +1 -1
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/render-helper.mjs +1 -1
- package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/styles-helper.d.ts +1 -1
- package/es/components/table/src/table-body/styles-helper.mjs +2 -2
- package/es/components/table/src/table-body/styles-helper.mjs.map +1 -1
- package/es/components/table/src/util.d.ts +1 -1
- package/es/components/table/src/util.mjs +3 -3
- package/es/components/table/src/util.mjs.map +1 -1
- package/es/components/table-v2/src/composables/use-styles.d.ts +1 -0
- package/es/components/table-v2/src/composables/use-styles.mjs +2 -1
- package/es/components/table-v2/src/composables/use-styles.mjs.map +1 -1
- package/es/components/table-v2/src/use-table.mjs +3 -2
- package/es/components/table-v2/src/use-table.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +2 -0
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +18 -11
- package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +5 -5
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +17 -17
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
- package/es/components/transfer/index.d.ts +93 -65
- package/es/components/transfer/src/transfer-panel.vue.d.ts +18 -11
- package/es/components/transfer/src/transfer.vue.d.ts +93 -65
- package/es/components/tree-v2/index.d.ts +868 -3
- package/es/components/tree-v2/src/composables/useCheck.d.ts +2 -1
- package/es/components/tree-v2/src/composables/useCheck.mjs.map +1 -1
- package/es/components/tree-v2/src/composables/useTree.d.ts +6 -3
- package/es/components/tree-v2/src/composables/useTree.mjs +1 -1
- package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
- package/es/components/tree-v2/src/tree-node.mjs +63 -78
- package/es/components/tree-v2/src/tree-node.mjs.map +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +566 -3
- package/es/components/tree-v2/src/tree.mjs +62 -75
- package/es/components/tree-v2/src/tree.mjs.map +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +868 -3
- package/es/components/tree-v2/src/types.d.ts +1 -1
- package/es/components/tree-v2/src/virtual-tree.d.ts +3 -2
- package/es/components/tree-v2/src/virtual-tree.mjs.map +1 -1
- package/es/index.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/components/autocomplete/index.d.ts +53 -45
- package/lib/components/autocomplete/src/autocomplete.d.ts +1 -3
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +53 -45
- package/lib/components/backtop/index.d.ts +2 -6
- package/lib/components/backtop/index.js.map +1 -1
- package/lib/components/backtop/src/backtop.d.ts +0 -2
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +5 -10
- package/lib/components/backtop/src/backtop2.js +5 -51
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/backtop/src/instance.d.ts +2 -0
- package/lib/components/backtop/src/instance.js +3 -0
- package/lib/components/backtop/src/instance.js.map +1 -0
- package/lib/components/backtop/src/use-backtop.d.ts +6 -0
- package/lib/components/backtop/src/use-backtop.js +62 -0
- package/lib/components/backtop/src/use-backtop.js.map +1 -0
- package/lib/components/button/index.d.ts +4 -10
- package/lib/components/button/index.js.map +1 -1
- package/lib/components/button/src/button-group.d.ts +0 -2
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button.d.ts +0 -2
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button.vue.d.ts +3 -10
- package/lib/components/button/src/button2.js +8 -49
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/button/src/instance.d.ts +4 -0
- package/lib/components/button/src/instance.js +3 -0
- package/lib/components/button/src/instance.js.map +1 -0
- package/lib/components/button/src/use-button.d.ts +10 -0
- package/lib/components/button/src/use-button.js +63 -0
- package/lib/components/button/src/use-button.js.map +1 -0
- package/lib/components/calendar/index.d.ts +39 -58
- package/lib/components/calendar/index.js.map +1 -1
- package/lib/components/calendar/src/calendar.d.ts +0 -2
- package/lib/components/calendar/src/calendar.js.map +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +101 -125
- package/lib/components/calendar/src/calendar2.js +23 -142
- package/lib/components/calendar/src/calendar2.js.map +1 -1
- package/lib/components/calendar/src/date-table.d.ts +0 -2
- package/lib/components/calendar/src/date-table.js.map +1 -1
- package/lib/components/calendar/src/date-table.vue.d.ts +26 -31
- package/lib/components/calendar/src/date-table2.js +15 -88
- package/lib/components/calendar/src/date-table2.js.map +1 -1
- package/lib/components/calendar/src/instance.d.ts +5 -0
- package/lib/components/calendar/src/instance.js +3 -0
- package/lib/components/calendar/src/instance.js.map +1 -0
- package/lib/components/calendar/src/use-calendar.d.ts +14 -0
- package/lib/components/calendar/src/use-calendar.js +148 -0
- package/lib/components/calendar/src/use-calendar.js.map +1 -0
- package/lib/components/calendar/src/use-date-table.d.ts +18 -0
- package/lib/components/calendar/src/use-date-table.js +105 -0
- package/lib/components/calendar/src/use-date-table.js.map +1 -0
- package/lib/components/cascader/index.d.ts +62 -44
- package/lib/components/cascader/src/index.js +1 -1
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +31 -22
- package/lib/components/cascader-panel/src/index.js +4 -2
- package/lib/components/cascader-panel/src/index.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +21 -21
- package/lib/components/color-picker/index.js +2 -2
- package/lib/components/color-picker/src/color-picker.js +38 -315
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +21 -21
- package/lib/components/color-picker/src/color-picker2.js +315 -38
- 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/date-picker/src/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +45 -45
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +47 -47
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
- package/lib/components/date-picker/src/panel-utils.d.ts +95 -95
- package/lib/components/dialog/index.d.ts +1 -0
- package/lib/components/dialog/src/dialog.vue.d.ts +1 -0
- package/lib/components/dialog/src/dialog2.js +4 -2
- package/lib/components/dialog/src/dialog2.js.map +1 -1
- package/lib/components/dialog/src/use-dialog.d.ts +1 -0
- package/lib/components/dialog/src/use-dialog.js +7 -0
- package/lib/components/dialog/src/use-dialog.js.map +1 -1
- package/lib/components/drawer/index.d.ts +1 -0
- package/lib/components/drawer/src/drawer.vue.d.ts +1 -0
- package/lib/components/index.js +1 -1
- package/lib/components/input/index.d.ts +18 -11
- package/lib/components/input/src/input.d.ts +6 -1
- package/lib/components/input/src/input.js +1 -2
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +18 -11
- package/lib/components/input/src/input2.js +4 -31
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +49 -33
- package/lib/components/input-number/src/input-number.vue.d.ts +49 -33
- package/lib/components/message-box/src/message-box.type.d.ts +2 -0
- package/lib/components/message-box/src/messageBox.js +18 -1
- package/lib/components/message-box/src/messageBox.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +18 -11
- package/lib/components/popconfirm/index.d.ts +3 -10
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -10
- package/lib/components/skeleton/index.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/index.d.ts +49 -33
- package/lib/components/slider/src/slider.vue.d.ts +49 -33
- package/lib/components/switch/src/switch2.js +14 -33
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/table/src/table/style-helper.js +1 -1
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-body/render-helper.js +1 -1
- package/lib/components/table/src/table-body/render-helper.js.map +1 -1
- package/lib/components/table/src/table-body/styles-helper.d.ts +1 -1
- package/lib/components/table/src/table-body/styles-helper.js +2 -2
- package/lib/components/table/src/table-body/styles-helper.js.map +1 -1
- package/lib/components/table/src/util.d.ts +1 -1
- package/lib/components/table/src/util.js +3 -3
- package/lib/components/table/src/util.js.map +1 -1
- package/lib/components/table-v2/src/composables/use-styles.d.ts +1 -0
- package/lib/components/table-v2/src/composables/use-styles.js +2 -1
- package/lib/components/table-v2/src/composables/use-styles.js.map +1 -1
- package/lib/components/table-v2/src/use-table.js +3 -2
- package/lib/components/table-v2/src/use-table.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +2 -0
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +18 -11
- package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +5 -5
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +17 -17
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
- package/lib/components/transfer/index.d.ts +93 -65
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +18 -11
- package/lib/components/transfer/src/transfer.vue.d.ts +93 -65
- package/lib/components/tree-v2/index.d.ts +868 -3
- package/lib/components/tree-v2/src/composables/useCheck.d.ts +2 -1
- package/lib/components/tree-v2/src/composables/useCheck.js.map +1 -1
- package/lib/components/tree-v2/src/composables/useTree.d.ts +6 -3
- package/lib/components/tree-v2/src/composables/useTree.js +1 -1
- package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
- package/lib/components/tree-v2/src/tree-node.js +66 -81
- package/lib/components/tree-v2/src/tree-node.js.map +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +566 -3
- package/lib/components/tree-v2/src/tree.js +61 -74
- package/lib/components/tree-v2/src/tree.js.map +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +868 -3
- package/lib/components/tree-v2/src/types.d.ts +1 -1
- package/lib/components/tree-v2/src/virtual-tree.d.ts +3 -2
- package/lib/components/tree-v2/src/virtual-tree.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/theme-chalk/el-switch.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/switch.scss +37 -41
- package/web-types.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { CheckboxValueType } from 'element-plus/es/components/checkbox';
|
|
1
2
|
import type { InjectionKey } from 'vue';
|
|
2
|
-
import type { TreeNodeData } from '
|
|
3
|
+
import type { TreeNodeData } from 'element-plus/es/components/tree/src/tree.type';
|
|
3
4
|
import type { CheckedInfo, FilterMethod, TreeContext, TreeData, TreeKey, TreeNode, TreeOptionProps } from './types';
|
|
4
5
|
export declare const ROOT_TREE_INJECTION_KEY: InjectionKey<TreeContext>;
|
|
5
6
|
export declare enum TreeOptionsEnum {
|
|
@@ -97,5 +98,5 @@ export declare const treeEmits: {
|
|
|
97
98
|
export declare const treeNodeEmits: {
|
|
98
99
|
click: (node: TreeNode, e: MouseEvent) => boolean;
|
|
99
100
|
toggle: (node: TreeNode) => boolean;
|
|
100
|
-
check: (node: TreeNode, checked:
|
|
101
|
+
check: (node: TreeNode, checked: CheckboxValueType) => boolean;
|
|
101
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-tree.mjs","sources":["../../../../../../packages/components/tree-v2/src/virtual-tree.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n mutable,\n} from '@element-plus/utils'\nimport type { InjectionKey } from 'vue'\nimport type { TreeNodeData } from '
|
|
1
|
+
{"version":3,"file":"virtual-tree.mjs","sources":["../../../../../../packages/components/tree-v2/src/virtual-tree.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n mutable,\n} from '@element-plus/utils'\nimport type { CheckboxValueType } from '@element-plus/components/checkbox'\nimport type { InjectionKey } from 'vue'\nimport type { TreeNodeData } from '@element-plus/components/tree/src/tree.type'\nimport type {\n CheckedInfo,\n FilterMethod,\n TreeContext,\n TreeData,\n TreeKey,\n TreeNode,\n TreeOptionProps,\n} from './types'\n\n// constants\nexport const ROOT_TREE_INJECTION_KEY: InjectionKey<TreeContext> = Symbol()\nconst EMPTY_NODE = {\n key: -1,\n level: -1,\n data: {},\n} as const\n\n// enums\nexport enum TreeOptionsEnum {\n KEY = 'id',\n LABEL = 'label',\n CHILDREN = 'children',\n DISABLED = 'disabled',\n}\n\nexport const enum SetOperationEnum {\n ADD = 'add',\n DELETE = 'delete',\n}\n\n// props\nexport const treeProps = buildProps({\n data: {\n type: definePropType<TreeData>(Array),\n default: () => mutable([] as const),\n },\n emptyText: {\n type: String,\n },\n height: {\n type: Number,\n default: 200,\n },\n props: {\n type: definePropType<TreeOptionProps>(Object),\n default: () =>\n mutable({\n children: TreeOptionsEnum.CHILDREN,\n label: TreeOptionsEnum.LABEL,\n disabled: TreeOptionsEnum.DISABLED,\n value: TreeOptionsEnum.KEY,\n } as const),\n },\n highlightCurrent: {\n type: Boolean,\n default: false,\n },\n showCheckbox: {\n type: Boolean,\n default: false,\n },\n defaultCheckedKeys: {\n type: definePropType<TreeKey[]>(Array),\n default: () => mutable([] as const),\n },\n // Whether checked state of a node not affects its father and\n // child nodes when show-checkbox is true\n checkStrictly: {\n type: Boolean,\n default: false,\n },\n defaultExpandedKeys: {\n type: definePropType<TreeKey[]>(Array),\n default: () => mutable([] as const),\n },\n indent: {\n type: Number,\n default: 16,\n },\n icon: {\n type: iconPropType,\n },\n expandOnClickNode: {\n type: Boolean,\n default: true,\n },\n checkOnClickNode: {\n type: Boolean,\n default: false,\n },\n currentNodeKey: {\n type: definePropType<TreeKey>([String, Number]),\n },\n // TODO need to optimization\n accordion: {\n type: Boolean,\n default: false,\n },\n filterMethod: {\n type: definePropType<FilterMethod>(Function),\n },\n // Performance mode will increase memory usage, but scrolling will be smoother\n perfMode: {\n type: Boolean,\n default: true,\n },\n} as const)\n\nexport const treeNodeProps = buildProps({\n node: {\n type: definePropType<TreeNode>(Object),\n default: () => mutable(EMPTY_NODE),\n },\n expanded: {\n type: Boolean,\n default: false,\n },\n checked: {\n type: Boolean,\n default: false,\n },\n indeterminate: {\n type: Boolean,\n default: false,\n },\n showCheckbox: {\n type: Boolean,\n default: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n current: {\n type: Boolean,\n default: false,\n },\n hiddenExpandIcon: {\n type: Boolean,\n default: false,\n },\n} as const)\n\nexport const treeNodeContentProps = buildProps({\n node: {\n type: definePropType<TreeNode>(Object),\n required: true,\n },\n} as const)\n\n// emits\nexport const NODE_CLICK = 'node-click'\nexport const NODE_EXPAND = 'node-expand'\nexport const NODE_COLLAPSE = 'node-collapse'\nexport const CURRENT_CHANGE = 'current-change'\nexport const NODE_CHECK = 'check'\nexport const NODE_CHECK_CHANGE = 'check-change'\nexport const NODE_CONTEXTMENU = 'node-contextmenu'\n\nexport const treeEmits = {\n [NODE_CLICK]: (data: TreeNodeData, node: TreeNode, e: MouseEvent) =>\n data && node && e,\n [NODE_EXPAND]: (data: TreeNodeData, node: TreeNode) => data && node,\n [NODE_COLLAPSE]: (data: TreeNodeData, node: TreeNode) => data && node,\n [CURRENT_CHANGE]: (data: TreeNodeData, node: TreeNode) => data && node,\n [NODE_CHECK]: (data: TreeNodeData, checkedInfo: CheckedInfo) =>\n data && checkedInfo,\n [NODE_CHECK_CHANGE]: (data: TreeNodeData, checked: boolean) =>\n data && typeof checked === 'boolean',\n [NODE_CONTEXTMENU]: (event: Event, data: TreeNodeData, node: TreeNode) =>\n event && data && node,\n}\n\nexport const treeNodeEmits = {\n click: (node: TreeNode, e: MouseEvent) => !!(node && e),\n toggle: (node: TreeNode) => !!node,\n check: (node: TreeNode, checked: CheckboxValueType) =>\n node && typeof checked === 'boolean',\n}\n"],"names":[],"mappings":";;;;;AAMY,MAAC,uBAAuB,GAAG,MAAM,GAAG;AAChD,MAAM,UAAU,GAAG;AACnB,EAAE,GAAG,EAAE,CAAC,CAAC;AACT,EAAE,KAAK,EAAE,CAAC,CAAC;AACX,EAAE,IAAI,EAAE,EAAE;AACV,CAAC,CAAC;AACQ,IAAC,eAAe,mBAAmB,CAAC,CAAC,gBAAgB,KAAK;AACpE,EAAE,gBAAgB,CAAC,KAAK,CAAC,G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C,SAAS,GAAG;AACzB,EAAE,CAAC,UAAU,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC;AACpD,EAAE,CAAC,WAAW,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,IAAI,IAAI;AAC7C,EAAE,CAAC,aAAa,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,IAAI,IAAI;AAC/C,EAAE,CAAC,cAAc,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,IAAI,IAAI;AAChD,EAAE,CAAC,UAAU,GAAG,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,IAAI,WAAW;AAC1D,EAAE,CAAC,iBAAiB,GAAG,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,IAAI,OAAO,OAAO,KAAK,SAAS;AAC9E,EAAE,CAAC,gBAAgB,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,KAAK,KAAK,IAAI,IAAI,IAAI,IAAI;AAClE,EAAE;AACU,MAAC,aAAa,GAAG;AAC7B,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,IAAI,CAAC,CAAC;AACnC,EAAE,MAAM,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;AAC1B,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,IAAI,OAAO,OAAO,KAAK,SAAS;AAChE;;;;"}
|
package/es/index.mjs
CHANGED
|
@@ -46,7 +46,7 @@ export { collapseEmits, collapseProps, emitChangeFn } from './components/collaps
|
|
|
46
46
|
export { collapseItemProps } from './components/collapse/src/collapse-item.mjs';
|
|
47
47
|
export { ElCollapse, ElCollapseItem } from './components/collapse/index.mjs';
|
|
48
48
|
export { ElCollapseTransition } from './components/collapse-transition/index.mjs';
|
|
49
|
-
export { colorPickerContextKey, colorPickerEmits, colorPickerProps } from './components/color-picker/src/color-
|
|
49
|
+
export { colorPickerContextKey, colorPickerEmits, colorPickerProps } from './components/color-picker/src/color-picker.mjs';
|
|
50
50
|
export { ElColorPicker } from './components/color-picker/index.mjs';
|
|
51
51
|
export { configProviderProps, messageConfig } from './components/config-provider/src/config-provider.mjs';
|
|
52
52
|
export { ElConfigProvider } from './components/config-provider/index.mjs';
|
package/es/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "2.2.
|
|
1
|
+
export declare const version = "2.2.19";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '2.2.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '2.2.19'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
|
@@ -45,13 +45,9 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
45
45
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
46
46
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
47
47
|
onClear?: (() => any) | undefined;
|
|
48
|
-
onSelect?: ((item:
|
|
49
|
-
value: any;
|
|
50
|
-
}) => any) | undefined;
|
|
48
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
51
49
|
}>>;
|
|
52
|
-
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "select", item:
|
|
53
|
-
value: any;
|
|
54
|
-
}) => void);
|
|
50
|
+
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "select", item: Record<string, any>) => void);
|
|
55
51
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
56
52
|
rawAttrs: {
|
|
57
53
|
[x: string]: unknown;
|
|
@@ -87,7 +83,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
87
83
|
readonly id: string;
|
|
88
84
|
readonly autosize: import("..").InputAutoSize;
|
|
89
85
|
readonly autocomplete: string;
|
|
90
|
-
readonly form: string;
|
|
91
86
|
readonly readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
92
87
|
readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
93
88
|
readonly showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -132,7 +127,12 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
132
127
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
128
|
__epPropKey: true;
|
|
134
129
|
};
|
|
135
|
-
readonly form:
|
|
130
|
+
readonly form: {
|
|
131
|
+
readonly type: import("vue").PropType<string>;
|
|
132
|
+
readonly required: false;
|
|
133
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
134
|
+
__epPropKey: true;
|
|
135
|
+
};
|
|
136
136
|
readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
137
137
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
138
138
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -167,7 +167,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
167
167
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
168
168
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
169
169
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
170
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "label" | "modelValue" | "validateEvent" | "id" | "autosize" | "autocomplete" | "
|
|
170
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "label" | "modelValue" | "validateEvent" | "id" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "inputStyle">;
|
|
171
171
|
$attrs: {
|
|
172
172
|
[x: string]: unknown;
|
|
173
173
|
};
|
|
@@ -218,7 +218,12 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
218
218
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
219
219
|
__epPropKey: true;
|
|
220
220
|
};
|
|
221
|
-
readonly form:
|
|
221
|
+
readonly form: {
|
|
222
|
+
readonly type: import("vue").PropType<string>;
|
|
223
|
+
readonly required: false;
|
|
224
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
225
|
+
__epPropKey: true;
|
|
226
|
+
};
|
|
222
227
|
readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
223
228
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
224
229
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -254,10 +259,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
254
259
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
255
260
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
256
261
|
}, {
|
|
257
|
-
PENDANT_MAP: {
|
|
258
|
-
readonly suffix: "append";
|
|
259
|
-
readonly prefix: "prepend";
|
|
260
|
-
};
|
|
261
262
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
262
263
|
readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
263
264
|
readonly size: {
|
|
@@ -295,7 +296,12 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
295
296
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
296
297
|
__epPropKey: true;
|
|
297
298
|
};
|
|
298
|
-
readonly form:
|
|
299
|
+
readonly form: {
|
|
300
|
+
readonly type: import("vue").PropType<string>;
|
|
301
|
+
readonly required: false;
|
|
302
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
303
|
+
__epPropKey: true;
|
|
304
|
+
};
|
|
299
305
|
readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
300
306
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
301
307
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -332,7 +338,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
332
338
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
333
339
|
}>>;
|
|
334
340
|
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
335
|
-
instance: import("vue").ComponentInternalInstance;
|
|
336
341
|
rawAttrs: {
|
|
337
342
|
[x: string]: unknown;
|
|
338
343
|
};
|
|
@@ -408,8 +413,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
408
413
|
setCursor: () => void;
|
|
409
414
|
resizeTextarea: () => void;
|
|
410
415
|
setNativeInputValue: () => void;
|
|
411
|
-
calcIconOffset: (place: "suffix" | "prefix") => void;
|
|
412
|
-
updateIconOffset: () => void;
|
|
413
416
|
handleInput: (event: Event) => Promise<void>;
|
|
414
417
|
handleChange: (event: Event) => void;
|
|
415
418
|
handleCompositionStart: (event: CompositionEvent) => void;
|
|
@@ -512,7 +515,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
512
515
|
readonly id: string;
|
|
513
516
|
readonly autosize: import("..").InputAutoSize;
|
|
514
517
|
readonly autocomplete: string;
|
|
515
|
-
readonly form: string;
|
|
516
518
|
readonly readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
517
519
|
readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
518
520
|
readonly showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -577,7 +579,12 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
577
579
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
578
580
|
__epPropKey: true;
|
|
579
581
|
};
|
|
580
|
-
readonly form:
|
|
582
|
+
readonly form: {
|
|
583
|
+
readonly type: import("vue").PropType<string>;
|
|
584
|
+
readonly required: false;
|
|
585
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
586
|
+
__epPropKey: true;
|
|
587
|
+
};
|
|
581
588
|
readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
582
589
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
583
590
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -613,10 +620,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
613
620
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
614
621
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
615
622
|
} & import("vue").ShallowUnwrapRef<{
|
|
616
|
-
PENDANT_MAP: {
|
|
617
|
-
readonly suffix: "append";
|
|
618
|
-
readonly prefix: "prepend";
|
|
619
|
-
};
|
|
620
623
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
621
624
|
readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
622
625
|
readonly size: {
|
|
@@ -654,7 +657,12 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
654
657
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
655
658
|
__epPropKey: true;
|
|
656
659
|
};
|
|
657
|
-
readonly form:
|
|
660
|
+
readonly form: {
|
|
661
|
+
readonly type: import("vue").PropType<string>;
|
|
662
|
+
readonly required: false;
|
|
663
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
664
|
+
__epPropKey: true;
|
|
665
|
+
};
|
|
658
666
|
readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
659
667
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
660
668
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -691,7 +699,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
691
699
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
692
700
|
}>>;
|
|
693
701
|
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
694
|
-
instance: import("vue").ComponentInternalInstance;
|
|
695
702
|
rawAttrs: {
|
|
696
703
|
[x: string]: unknown;
|
|
697
704
|
};
|
|
@@ -767,8 +774,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
767
774
|
setCursor: () => void;
|
|
768
775
|
resizeTextarea: () => void;
|
|
769
776
|
setNativeInputValue: () => void;
|
|
770
|
-
calcIconOffset: (place: "suffix" | "prefix") => void;
|
|
771
|
-
updateIconOffset: () => void;
|
|
772
777
|
handleInput: (event: Event) => Promise<void>;
|
|
773
778
|
handleChange: (event: Event) => void;
|
|
774
779
|
handleCompositionStart: (event: CompositionEvent) => void;
|
|
@@ -6986,7 +6991,12 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
6986
6991
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6987
6992
|
__epPropKey: true;
|
|
6988
6993
|
};
|
|
6989
|
-
readonly form:
|
|
6994
|
+
readonly form: {
|
|
6995
|
+
readonly type: import("vue").PropType<string>;
|
|
6996
|
+
readonly required: false;
|
|
6997
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6998
|
+
__epPropKey: true;
|
|
6999
|
+
};
|
|
6990
7000
|
readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6991
7001
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6992
7002
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -7009,10 +7019,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
7009
7019
|
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
7010
7020
|
readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
7011
7021
|
}, {
|
|
7012
|
-
PENDANT_MAP: {
|
|
7013
|
-
readonly suffix: "append";
|
|
7014
|
-
readonly prefix: "prepend";
|
|
7015
|
-
};
|
|
7016
7022
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
7017
7023
|
readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
7018
7024
|
readonly size: {
|
|
@@ -7050,7 +7056,12 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
7050
7056
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7051
7057
|
__epPropKey: true;
|
|
7052
7058
|
};
|
|
7053
|
-
readonly form:
|
|
7059
|
+
readonly form: {
|
|
7060
|
+
readonly type: import("vue").PropType<string>;
|
|
7061
|
+
readonly required: false;
|
|
7062
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7063
|
+
__epPropKey: true;
|
|
7064
|
+
};
|
|
7054
7065
|
readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
7055
7066
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
7056
7067
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -7087,7 +7098,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
7087
7098
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
7088
7099
|
}>>;
|
|
7089
7100
|
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
7090
|
-
instance: import("vue").ComponentInternalInstance;
|
|
7091
7101
|
rawAttrs: {
|
|
7092
7102
|
[x: string]: unknown;
|
|
7093
7103
|
};
|
|
@@ -7163,8 +7173,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
7163
7173
|
setCursor: () => void;
|
|
7164
7174
|
resizeTextarea: () => void;
|
|
7165
7175
|
setNativeInputValue: () => void;
|
|
7166
|
-
calcIconOffset: (place: "suffix" | "prefix") => void;
|
|
7167
|
-
updateIconOffset: () => void;
|
|
7168
7176
|
handleInput: (event: Event) => Promise<void>;
|
|
7169
7177
|
handleChange: (event: Event) => void;
|
|
7170
7178
|
handleCompositionStart: (event: CompositionEvent) => void;
|
|
@@ -7295,7 +7303,12 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
7295
7303
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7296
7304
|
__epPropKey: true;
|
|
7297
7305
|
};
|
|
7298
|
-
readonly form:
|
|
7306
|
+
readonly form: {
|
|
7307
|
+
readonly type: import("vue").PropType<string>;
|
|
7308
|
+
readonly required: false;
|
|
7309
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7310
|
+
__epPropKey: true;
|
|
7311
|
+
};
|
|
7299
7312
|
readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
7300
7313
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
7301
7314
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -7339,7 +7352,6 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
7339
7352
|
readonly id: string;
|
|
7340
7353
|
readonly autosize: import("..").InputAutoSize;
|
|
7341
7354
|
readonly autocomplete: string;
|
|
7342
|
-
readonly form: string;
|
|
7343
7355
|
readonly readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
7344
7356
|
readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
7345
7357
|
readonly showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -11117,9 +11129,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
11117
11129
|
focus: (evt: FocusEvent) => boolean;
|
|
11118
11130
|
blur: (evt: FocusEvent) => boolean;
|
|
11119
11131
|
clear: () => boolean;
|
|
11120
|
-
select: (item:
|
|
11121
|
-
value: any;
|
|
11122
|
-
}) => boolean;
|
|
11132
|
+
select: (item: Record<string, any>) => boolean;
|
|
11123
11133
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11124
11134
|
readonly valueKey: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
11125
11135
|
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
@@ -11146,9 +11156,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
11146
11156
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
11147
11157
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
11148
11158
|
onClear?: (() => any) | undefined;
|
|
11149
|
-
onSelect?: ((item:
|
|
11150
|
-
value: any;
|
|
11151
|
-
}) => any) | undefined;
|
|
11159
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
11152
11160
|
}, {
|
|
11153
11161
|
readonly modelValue: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
11154
11162
|
readonly debounce: number;
|
|
@@ -33,9 +33,7 @@ export declare const autocompleteEmits: {
|
|
|
33
33
|
focus: (evt: FocusEvent) => boolean;
|
|
34
34
|
blur: (evt: FocusEvent) => boolean;
|
|
35
35
|
clear: () => boolean;
|
|
36
|
-
select: (item:
|
|
37
|
-
value: any;
|
|
38
|
-
}) => boolean;
|
|
36
|
+
select: (item: Record<string, any>) => boolean;
|
|
39
37
|
};
|
|
40
38
|
export declare type AutocompleteEmits = typeof autocompleteEmits;
|
|
41
39
|
export declare type AutocompleteInstance = InstanceType<typeof Autocomplete>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.js","sources":["../../../../../../packages/components/autocomplete/src/autocomplete.ts"],"sourcesContent":["import { NOOP } from '@vue/shared'\nimport {\n buildProps,\n definePropType,\n isObject,\n isString,\n} from '@element-plus/utils'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Autocomplete from './autocomplete.vue'\nimport type { Placement } from '@element-plus/components/popper'\nimport type { Awaitable } from '@element-plus/utils'\n\nexport type AutocompleteData = Record<string, any>[]\nexport type AutocompleteFetchSuggestionsCallback = (\n data: AutocompleteData\n) => void\nexport type AutocompleteFetchSuggestions =\n | ((\n queryString: string,\n cb: AutocompleteFetchSuggestionsCallback\n ) => Awaitable<AutocompleteData> | void)\n | AutocompleteData\n\nexport const autocompleteProps = buildProps({\n valueKey: {\n type: String,\n default: 'value',\n },\n modelValue: {\n type: [String, Number],\n default: '',\n },\n debounce: {\n type: Number,\n default: 300,\n },\n placement: {\n type: definePropType<Placement>(String),\n values: [\n 'top',\n 'top-start',\n 'top-end',\n 'bottom',\n 'bottom-start',\n 'bottom-end',\n ],\n default: 'bottom-start',\n },\n fetchSuggestions: {\n type: definePropType<AutocompleteFetchSuggestions>([Function, Array]),\n default: NOOP,\n },\n popperClass: {\n type: String,\n default: '',\n },\n triggerOnFocus: {\n type: Boolean,\n default: true,\n },\n selectWhenUnmatched: {\n type: Boolean,\n default: false,\n },\n hideLoading: {\n type: Boolean,\n default: false,\n },\n label: {\n type: String,\n },\n teleported: useTooltipContentProps.teleported,\n highlightFirstItem: {\n type: Boolean,\n default: false,\n },\n fitInputWidth: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type AutocompleteProps = ExtractPropTypes<typeof autocompleteProps>\n\nexport const autocompleteEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n [INPUT_EVENT]: (value: string) => isString(value),\n [CHANGE_EVENT]: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n select: (item:
|
|
1
|
+
{"version":3,"file":"autocomplete.js","sources":["../../../../../../packages/components/autocomplete/src/autocomplete.ts"],"sourcesContent":["import { NOOP } from '@vue/shared'\nimport {\n buildProps,\n definePropType,\n isObject,\n isString,\n} from '@element-plus/utils'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Autocomplete from './autocomplete.vue'\nimport type { Placement } from '@element-plus/components/popper'\nimport type { Awaitable } from '@element-plus/utils'\n\nexport type AutocompleteData = Record<string, any>[]\nexport type AutocompleteFetchSuggestionsCallback = (\n data: AutocompleteData\n) => void\nexport type AutocompleteFetchSuggestions =\n | ((\n queryString: string,\n cb: AutocompleteFetchSuggestionsCallback\n ) => Awaitable<AutocompleteData> | void)\n | AutocompleteData\n\nexport const autocompleteProps = buildProps({\n valueKey: {\n type: String,\n default: 'value',\n },\n modelValue: {\n type: [String, Number],\n default: '',\n },\n debounce: {\n type: Number,\n default: 300,\n },\n placement: {\n type: definePropType<Placement>(String),\n values: [\n 'top',\n 'top-start',\n 'top-end',\n 'bottom',\n 'bottom-start',\n 'bottom-end',\n ],\n default: 'bottom-start',\n },\n fetchSuggestions: {\n type: definePropType<AutocompleteFetchSuggestions>([Function, Array]),\n default: NOOP,\n },\n popperClass: {\n type: String,\n default: '',\n },\n triggerOnFocus: {\n type: Boolean,\n default: true,\n },\n selectWhenUnmatched: {\n type: Boolean,\n default: false,\n },\n hideLoading: {\n type: Boolean,\n default: false,\n },\n label: {\n type: String,\n },\n teleported: useTooltipContentProps.teleported,\n highlightFirstItem: {\n type: Boolean,\n default: false,\n },\n fitInputWidth: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type AutocompleteProps = ExtractPropTypes<typeof autocompleteProps>\n\nexport const autocompleteEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n [INPUT_EVENT]: (value: string) => isString(value),\n [CHANGE_EVENT]: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n select: (item: Record<string, any>) => isObject(item),\n}\nexport type AutocompleteEmits = typeof autocompleteEmits\n\nexport type AutocompleteInstance = InstanceType<typeof Autocomplete>\n"],"names":["buildProps","definePropType","NOOP","useTooltipContentProps","UPDATE_MODEL_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