@element-plus/nightly 0.0.20221020 → 0.0.20221021
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 +528 -527
- 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 +528 -527
- 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/calendar/index.d.ts +23 -33
- 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 +94 -108
- package/es/components/calendar/src/calendar2.mjs +19 -134
- package/es/components/calendar/src/calendar2.mjs.map +1 -1
- package/es/components/calendar/src/instance.d.ts +2 -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/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 +24 -24
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +26 -26
- 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 +53 -53
- 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 +4 -4
- package/es/components/menu/src/menu-item2.mjs +1 -1
- package/es/components/message/index.mjs +1 -1
- package/es/components/message/src/message.mjs +86 -146
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message2.mjs +146 -86
- package/es/components/message/src/message2.mjs.map +1 -1
- package/es/components/message/src/method.mjs +2 -2
- package/es/components/pagination/src/components/next.mjs +34 -19
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next2.mjs +19 -34
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popper/index.mjs +4 -4
- package/es/components/popper/src/arrow.mjs +8 -37
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +37 -8
- package/es/components/popper/src/arrow2.mjs.map +1 -1
- package/es/components/popper/src/popper.mjs +25 -33
- package/es/components/popper/src/popper.mjs.map +1 -1
- package/es/components/popper/src/popper2.mjs +33 -25
- package/es/components/popper/src/popper2.mjs.map +1 -1
- 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/tooltip/src/tooltip.mjs +2 -2
- package/es/components/tooltip/src/tooltip2.mjs +1 -1
- 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 +4 -4
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/calendar/index.d.ts +23 -33
- 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 +94 -108
- package/lib/components/calendar/src/calendar2.js +23 -142
- package/lib/components/calendar/src/calendar2.js.map +1 -1
- package/lib/components/calendar/src/instance.d.ts +2 -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/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 +24 -24
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +26 -26
- 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 +53 -53
- 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 +4 -4
- package/lib/components/menu/src/menu-item2.js +1 -1
- package/lib/components/message/index.js +1 -1
- package/lib/components/message/src/message.js +87 -144
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message2.js +144 -87
- package/lib/components/message/src/message2.js.map +1 -1
- package/lib/components/message/src/method.js +2 -2
- package/lib/components/pagination/src/components/next.js +34 -19
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next2.js +19 -34
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popper/index.js +4 -4
- package/lib/components/popper/src/arrow.js +9 -37
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +37 -9
- package/lib/components/popper/src/arrow2.js.map +1 -1
- package/lib/components/popper/src/popper.js +28 -33
- package/lib/components/popper/src/popper.js.map +1 -1
- package/lib/components/popper/src/popper2.js +33 -28
- package/lib/components/popper/src/popper2.js.map +1 -1
- 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/tooltip/src/tooltip.js +2 -2
- package/lib/components/tooltip/src/tooltip2.js +1 -1
- 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 +4 -4
- 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/web-types.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.mjs","sources":["../../../../../../packages/components/calendar/src/calendar.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isArray,\n isDate,\n} from '@element-plus/utils'\nimport { INPUT_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport type { ExtractPropTypes } from 'vue'\
|
|
1
|
+
{"version":3,"file":"calendar.mjs","sources":["../../../../../../packages/components/calendar/src/calendar.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isArray,\n isDate,\n} from '@element-plus/utils'\nimport { INPUT_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport type { ExtractPropTypes } from 'vue'\n\nexport type CalendarDateType =\n | 'prev-month'\n | 'next-month'\n | 'prev-year'\n | 'next-year'\n | 'today'\n\nconst isValidRange = (range: unknown): range is [Date, Date] =>\n isArray(range) && range.length === 2 && range.every((item) => isDate(item))\n\nexport const calendarProps = buildProps({\n modelValue: {\n type: Date,\n },\n range: {\n type: definePropType<[Date, Date]>(Array),\n validator: isValidRange,\n },\n} as const)\nexport type CalendarProps = ExtractPropTypes<typeof calendarProps>\n\nexport const calendarEmits = {\n [UPDATE_MODEL_EVENT]: (value: Date) => isDate(value),\n [INPUT_EVENT]: (value: Date) => isDate(value),\n}\nexport type CalendarEmits = typeof calendarEmits\n"],"names":[],"mappings":";;;;;;AAOA,MAAM,YAAY,GAAG,CAAC,KAAK,KAAK,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AAChG,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,SAAS,EAAE,YAAY;AAC3B,GAAG;AACH,CAAC,EAAE;AACS,MAAC,aAAa,GAAG;AAC7B,EAAE,CAAC,kBAAkB,GAAG,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC;AAChD,EAAE,CAAC,WAAW,GAAG,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC;AACzC;;;;"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
import type { CalendarDateType } from './calendar';
|
|
3
|
-
import type { ComputedRef } from 'vue';
|
|
4
|
-
import type { Dayjs } from 'dayjs';
|
|
5
1
|
declare const _default: import("vue").DefineComponent<{
|
|
6
2
|
readonly modelValue: {
|
|
7
3
|
readonly type: import("vue").PropType<Date>;
|
|
@@ -16,6 +12,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
12
|
__epPropKey: true;
|
|
17
13
|
};
|
|
18
14
|
}, {
|
|
15
|
+
ns: {
|
|
16
|
+
namespace: import("vue").Ref<string>;
|
|
17
|
+
b: (blockSuffix?: string) => string;
|
|
18
|
+
e: (element?: string | undefined) => string;
|
|
19
|
+
m: (modifier?: string | undefined) => string;
|
|
20
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
21
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
22
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
23
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
24
|
+
is: {
|
|
25
|
+
(name: string, state: boolean | undefined): string;
|
|
26
|
+
(name: string): string;
|
|
27
|
+
};
|
|
28
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
29
|
+
cssVarName: (name: string) => string;
|
|
30
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
31
|
+
cssVarBlockName: (name: string) => string;
|
|
32
|
+
};
|
|
19
33
|
COMPONENT_NAME: string;
|
|
20
34
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
21
35
|
readonly modelValue: {
|
|
@@ -35,60 +49,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
49
|
onInput?: ((value: Date) => any) | undefined;
|
|
36
50
|
}>>;
|
|
37
51
|
emit: ((event: "update:modelValue", value: Date) => void) & ((event: "input", value: Date) => void);
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
b: (blockSuffix?: string) => string;
|
|
44
|
-
e: (element?: string | undefined) => string;
|
|
45
|
-
m: (modifier?: string | undefined) => string;
|
|
46
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
47
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
48
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
49
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
50
|
-
is: {
|
|
51
|
-
(name: string, state: boolean | undefined): string;
|
|
52
|
-
(name: string): string;
|
|
53
|
-
};
|
|
54
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
55
|
-
cssVarName: (name: string) => string;
|
|
56
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
57
|
-
cssVarBlockName: (name: string) => string;
|
|
58
|
-
};
|
|
52
|
+
calculateValidatedDateRange: (startDayjs: import("dayjs").Dayjs, endDayjs: import("dayjs").Dayjs) => [import("dayjs").Dayjs, import("dayjs").Dayjs][];
|
|
53
|
+
date: import("vue").ComputedRef<import("dayjs").Dayjs>;
|
|
54
|
+
pickDay: (day: import("dayjs").Dayjs) => void;
|
|
55
|
+
realSelectedDay: import("vue").WritableComputedRef<import("dayjs").Dayjs | undefined>;
|
|
56
|
+
selectDate: (type: import("./calendar").CalendarDateType) => void;
|
|
59
57
|
t: import("element-plus/es/hooks").Translator;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
realSelectedDay: import("vue").WritableComputedRef<dayjs.Dayjs | undefined>;
|
|
64
|
-
validatedRange: ComputedRef<[dayjs.Dayjs, dayjs.Dayjs][]>;
|
|
65
|
-
date: ComputedRef<dayjs.Dayjs>;
|
|
66
|
-
prevMonthDayjs: ComputedRef<dayjs.Dayjs>;
|
|
67
|
-
nextMonthDayjs: ComputedRef<dayjs.Dayjs>;
|
|
68
|
-
prevYearDayjs: ComputedRef<dayjs.Dayjs>;
|
|
69
|
-
nextYearDayjs: ComputedRef<dayjs.Dayjs>;
|
|
70
|
-
i18nDate: ComputedRef<string>;
|
|
71
|
-
calculateValidatedDateRange: (startDayjs: Dayjs, endDayjs: Dayjs) => [Dayjs, Dayjs][];
|
|
72
|
-
pickDay: (day: Dayjs) => void;
|
|
73
|
-
selectDate: (type: CalendarDateType) => void;
|
|
74
|
-
ElButton: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
58
|
+
i18nDate: import("vue").ComputedRef<string>;
|
|
59
|
+
validatedRange: import("vue").ComputedRef<[import("dayjs").Dayjs, import("dayjs").Dayjs][]>;
|
|
60
|
+
ElButton: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
75
61
|
readonly size: {
|
|
76
|
-
readonly type: import("vue").PropType<import("
|
|
62
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
77
63
|
readonly required: false;
|
|
78
64
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
65
|
__epPropKey: true;
|
|
80
66
|
};
|
|
81
67
|
readonly disabled: BooleanConstructor;
|
|
82
|
-
readonly type: import("
|
|
68
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
83
69
|
readonly icon: {
|
|
84
|
-
readonly type: import("vue").PropType<import("
|
|
70
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
85
71
|
readonly required: false;
|
|
86
72
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
87
73
|
__epPropKey: true;
|
|
88
74
|
};
|
|
89
|
-
readonly nativeType: import("
|
|
75
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "button" | "submit" | "reset", unknown, "button", boolean>;
|
|
90
76
|
readonly loading: BooleanConstructor;
|
|
91
|
-
readonly loadingIcon: import("
|
|
77
|
+
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
92
78
|
readonly plain: BooleanConstructor;
|
|
93
79
|
readonly text: BooleanConstructor;
|
|
94
80
|
readonly link: BooleanConstructor;
|
|
@@ -98,26 +84,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
84
|
readonly circle: BooleanConstructor;
|
|
99
85
|
readonly color: StringConstructor;
|
|
100
86
|
readonly dark: BooleanConstructor;
|
|
101
|
-
readonly autoInsertSpace: import("
|
|
87
|
+
readonly autoInsertSpace: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
102
88
|
}, {
|
|
103
89
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
104
90
|
readonly size: {
|
|
105
|
-
readonly type: import("vue").PropType<import("
|
|
91
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
106
92
|
readonly required: false;
|
|
107
93
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
94
|
__epPropKey: true;
|
|
109
95
|
};
|
|
110
96
|
readonly disabled: BooleanConstructor;
|
|
111
|
-
readonly type: import("
|
|
97
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
112
98
|
readonly icon: {
|
|
113
|
-
readonly type: import("vue").PropType<import("
|
|
99
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
114
100
|
readonly required: false;
|
|
115
101
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
116
102
|
__epPropKey: true;
|
|
117
103
|
};
|
|
118
|
-
readonly nativeType: import("
|
|
104
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "button" | "submit" | "reset", unknown, "button", boolean>;
|
|
119
105
|
readonly loading: BooleanConstructor;
|
|
120
|
-
readonly loadingIcon: import("
|
|
106
|
+
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
121
107
|
readonly plain: BooleanConstructor;
|
|
122
108
|
readonly text: BooleanConstructor;
|
|
123
109
|
readonly link: BooleanConstructor;
|
|
@@ -127,12 +113,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
127
113
|
readonly circle: BooleanConstructor;
|
|
128
114
|
readonly color: StringConstructor;
|
|
129
115
|
readonly dark: BooleanConstructor;
|
|
130
|
-
readonly autoInsertSpace: import("
|
|
116
|
+
readonly autoInsertSpace: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
131
117
|
}>> & {
|
|
132
118
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
133
119
|
}>>;
|
|
134
120
|
emit: (event: "click", evt: MouseEvent) => void;
|
|
135
|
-
buttonStyle: ComputedRef<Record<string, string>>;
|
|
121
|
+
buttonStyle: import("vue").ComputedRef<Record<string, string>>;
|
|
136
122
|
ns: {
|
|
137
123
|
namespace: import("vue").Ref<string>;
|
|
138
124
|
b: (blockSuffix?: string) => string;
|
|
@@ -152,14 +138,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
152
138
|
cssVarBlockName: (name: string) => string;
|
|
153
139
|
};
|
|
154
140
|
_ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
155
|
-
_size: ComputedRef<"" | "default" | "small" | "large">;
|
|
156
|
-
_type: ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
|
|
157
|
-
_disabled: ComputedRef<boolean>;
|
|
158
|
-
shouldAddSpace: ComputedRef<boolean>;
|
|
141
|
+
_size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
142
|
+
_type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
|
|
143
|
+
_disabled: import("vue").ComputedRef<boolean>;
|
|
144
|
+
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
159
145
|
handleClick: (evt: MouseEvent) => void;
|
|
160
|
-
ElIcon: import("
|
|
146
|
+
ElIcon: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
161
147
|
readonly size: {
|
|
162
|
-
readonly type: import("vue").PropType<import("
|
|
148
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
163
149
|
readonly required: false;
|
|
164
150
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
165
151
|
__epPropKey: true;
|
|
@@ -173,7 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
159
|
}, {
|
|
174
160
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
175
161
|
readonly size: {
|
|
176
|
-
readonly type: import("vue").PropType<import("
|
|
162
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
177
163
|
readonly required: false;
|
|
178
164
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
165
|
__epPropKey: true;
|
|
@@ -205,10 +191,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
205
191
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
206
192
|
cssVarBlockName: (name: string) => string;
|
|
207
193
|
};
|
|
208
|
-
style: ComputedRef<import("vue").CSSProperties>;
|
|
194
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
209
195
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
210
196
|
readonly size: {
|
|
211
|
-
readonly type: import("vue").PropType<import("
|
|
197
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
212
198
|
readonly required: false;
|
|
213
199
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
214
200
|
__epPropKey: true;
|
|
@@ -224,22 +210,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
224
210
|
click: (evt: MouseEvent) => boolean;
|
|
225
211
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
226
212
|
readonly size: {
|
|
227
|
-
readonly type: import("vue").PropType<import("
|
|
213
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
228
214
|
readonly required: false;
|
|
229
215
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
230
216
|
__epPropKey: true;
|
|
231
217
|
};
|
|
232
218
|
readonly disabled: BooleanConstructor;
|
|
233
|
-
readonly type: import("
|
|
219
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
234
220
|
readonly icon: {
|
|
235
|
-
readonly type: import("vue").PropType<import("
|
|
221
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
236
222
|
readonly required: false;
|
|
237
223
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
238
224
|
__epPropKey: true;
|
|
239
225
|
};
|
|
240
|
-
readonly nativeType: import("
|
|
226
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "button" | "submit" | "reset", unknown, "button", boolean>;
|
|
241
227
|
readonly loading: BooleanConstructor;
|
|
242
|
-
readonly loadingIcon: import("
|
|
228
|
+
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
243
229
|
readonly plain: BooleanConstructor;
|
|
244
230
|
readonly text: BooleanConstructor;
|
|
245
231
|
readonly link: BooleanConstructor;
|
|
@@ -249,15 +235,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
249
235
|
readonly circle: BooleanConstructor;
|
|
250
236
|
readonly color: StringConstructor;
|
|
251
237
|
readonly dark: BooleanConstructor;
|
|
252
|
-
readonly autoInsertSpace: import("
|
|
238
|
+
readonly autoInsertSpace: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
253
239
|
}>> & {
|
|
254
240
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
255
241
|
}, {
|
|
256
|
-
readonly type: import("
|
|
242
|
+
readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
257
243
|
readonly text: boolean;
|
|
258
|
-
readonly nativeType: import("
|
|
259
|
-
readonly loadingIcon: import("
|
|
260
|
-
readonly autoInsertSpace: import("
|
|
244
|
+
readonly nativeType: import("../../../utils").EpPropMergeType<StringConstructor, "button" | "submit" | "reset", unknown>;
|
|
245
|
+
readonly loadingIcon: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
246
|
+
readonly autoInsertSpace: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
261
247
|
readonly disabled: boolean;
|
|
262
248
|
readonly loading: boolean;
|
|
263
249
|
readonly plain: boolean;
|
|
@@ -270,21 +256,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
270
256
|
}>> & {
|
|
271
257
|
ButtonGroup: import("vue").DefineComponent<{
|
|
272
258
|
readonly size: {
|
|
273
|
-
readonly type: import("vue").PropType<import("
|
|
259
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
274
260
|
readonly required: false;
|
|
275
261
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
276
262
|
__epPropKey: true;
|
|
277
263
|
};
|
|
278
|
-
readonly type: import("
|
|
264
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
279
265
|
}, {
|
|
280
266
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
281
267
|
readonly size: {
|
|
282
|
-
readonly type: import("vue").PropType<import("
|
|
268
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
283
269
|
readonly required: false;
|
|
284
270
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
285
271
|
__epPropKey: true;
|
|
286
272
|
};
|
|
287
|
-
readonly type: import("
|
|
273
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
288
274
|
}>> & {
|
|
289
275
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
290
276
|
}>>;
|
|
@@ -308,33 +294,33 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
308
294
|
};
|
|
309
295
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
310
296
|
readonly size: {
|
|
311
|
-
readonly type: import("vue").PropType<import("
|
|
297
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
312
298
|
readonly required: false;
|
|
313
299
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
314
300
|
__epPropKey: true;
|
|
315
301
|
};
|
|
316
|
-
readonly type: import("
|
|
302
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
317
303
|
}>>, {
|
|
318
|
-
readonly type: import("
|
|
304
|
+
readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
319
305
|
}>;
|
|
320
306
|
};
|
|
321
|
-
ElButtonGroup: import("
|
|
307
|
+
ElButtonGroup: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
322
308
|
readonly size: {
|
|
323
|
-
readonly type: import("vue").PropType<import("
|
|
309
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
324
310
|
readonly required: false;
|
|
325
311
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
326
312
|
__epPropKey: true;
|
|
327
313
|
};
|
|
328
|
-
readonly type: import("
|
|
314
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
329
315
|
}, {
|
|
330
316
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
331
317
|
readonly size: {
|
|
332
|
-
readonly type: import("vue").PropType<import("
|
|
318
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
333
319
|
readonly required: false;
|
|
334
320
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
335
321
|
__epPropKey: true;
|
|
336
322
|
};
|
|
337
|
-
readonly type: import("
|
|
323
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
338
324
|
}>> & {
|
|
339
325
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
340
326
|
}>>;
|
|
@@ -358,36 +344,36 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
358
344
|
};
|
|
359
345
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
360
346
|
readonly size: {
|
|
361
|
-
readonly type: import("vue").PropType<import("
|
|
347
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
362
348
|
readonly required: false;
|
|
363
349
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
364
350
|
__epPropKey: true;
|
|
365
351
|
};
|
|
366
|
-
readonly type: import("
|
|
352
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
367
353
|
}>>, {
|
|
368
|
-
readonly type: import("
|
|
354
|
+
readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
369
355
|
}>>;
|
|
370
356
|
DateTable: import("vue").DefineComponent<{
|
|
371
357
|
readonly selectedDay: {
|
|
372
|
-
readonly type: import("vue").PropType<dayjs.Dayjs>;
|
|
358
|
+
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
373
359
|
readonly required: false;
|
|
374
360
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
375
361
|
__epPropKey: true;
|
|
376
362
|
};
|
|
377
363
|
readonly range: {
|
|
378
|
-
readonly type: import("vue").PropType<[dayjs.Dayjs, dayjs.Dayjs]>;
|
|
364
|
+
readonly type: import("vue").PropType<[import("dayjs").Dayjs, import("dayjs").Dayjs]>;
|
|
379
365
|
readonly required: false;
|
|
380
366
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
381
367
|
__epPropKey: true;
|
|
382
368
|
};
|
|
383
369
|
readonly date: {
|
|
384
|
-
readonly type: import("vue").PropType<dayjs.Dayjs>;
|
|
370
|
+
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
385
371
|
readonly required: true;
|
|
386
372
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
387
373
|
__epPropKey: true;
|
|
388
374
|
};
|
|
389
375
|
readonly hideHeader: {
|
|
390
|
-
readonly type: import("vue").PropType<import("
|
|
376
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
391
377
|
readonly required: false;
|
|
392
378
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
393
379
|
__epPropKey: true;
|
|
@@ -395,38 +381,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
395
381
|
}, {
|
|
396
382
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
397
383
|
readonly selectedDay: {
|
|
398
|
-
readonly type: import("vue").PropType<dayjs.Dayjs>;
|
|
384
|
+
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
399
385
|
readonly required: false;
|
|
400
386
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
401
387
|
__epPropKey: true;
|
|
402
388
|
};
|
|
403
389
|
readonly range: {
|
|
404
|
-
readonly type: import("vue").PropType<[dayjs.Dayjs, dayjs.Dayjs]>;
|
|
390
|
+
readonly type: import("vue").PropType<[import("dayjs").Dayjs, import("dayjs").Dayjs]>;
|
|
405
391
|
readonly required: false;
|
|
406
392
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
407
393
|
__epPropKey: true;
|
|
408
394
|
};
|
|
409
395
|
readonly date: {
|
|
410
|
-
readonly type: import("vue").PropType<dayjs.Dayjs>;
|
|
396
|
+
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
411
397
|
readonly required: true;
|
|
412
398
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
413
399
|
__epPropKey: true;
|
|
414
400
|
};
|
|
415
401
|
readonly hideHeader: {
|
|
416
|
-
readonly type: import("vue").PropType<import("
|
|
402
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
417
403
|
readonly required: false;
|
|
418
404
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
419
405
|
__epPropKey: true;
|
|
420
406
|
};
|
|
421
407
|
}>> & {
|
|
422
|
-
onPick?: ((value: dayjs.Dayjs) => any) | undefined;
|
|
408
|
+
onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
|
|
423
409
|
}>>;
|
|
424
|
-
emit: (event: "pick", value: dayjs.Dayjs) => void;
|
|
425
|
-
isInRange: ComputedRef<boolean>;
|
|
426
|
-
now: dayjs.Dayjs;
|
|
427
|
-
rows: ComputedRef<import("./date-table").CalendarDateCell[][]>;
|
|
428
|
-
weekDays: ComputedRef<string[]>;
|
|
429
|
-
getFormattedDate: (day: number, type: import("./date-table").CalendarDateCellType) => dayjs.Dayjs;
|
|
410
|
+
emit: (event: "pick", value: import("dayjs").Dayjs) => void;
|
|
411
|
+
isInRange: import("vue").ComputedRef<boolean>;
|
|
412
|
+
now: import("dayjs").Dayjs;
|
|
413
|
+
rows: import("vue").ComputedRef<import("./date-table").CalendarDateCell[][]>;
|
|
414
|
+
weekDays: import("vue").ComputedRef<string[]>;
|
|
415
|
+
getFormattedDate: (day: number, type: import("./date-table").CalendarDateCellType) => import("dayjs").Dayjs;
|
|
430
416
|
handlePickDay: ({ text, type }: import("./date-table").CalendarDateCell) => void;
|
|
431
417
|
getSlotData: ({ text, type }: import("./date-table").CalendarDateCell) => {
|
|
432
418
|
isSelected: boolean;
|
|
@@ -472,34 +458,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
472
458
|
};
|
|
473
459
|
getCellClass: ({ text, type }: import("./date-table").CalendarDateCell) => string[];
|
|
474
460
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
475
|
-
pick: (value: dayjs.Dayjs) => boolean;
|
|
461
|
+
pick: (value: import("dayjs").Dayjs) => boolean;
|
|
476
462
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
477
463
|
readonly selectedDay: {
|
|
478
|
-
readonly type: import("vue").PropType<dayjs.Dayjs>;
|
|
464
|
+
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
479
465
|
readonly required: false;
|
|
480
466
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
481
467
|
__epPropKey: true;
|
|
482
468
|
};
|
|
483
469
|
readonly range: {
|
|
484
|
-
readonly type: import("vue").PropType<[dayjs.Dayjs, dayjs.Dayjs]>;
|
|
470
|
+
readonly type: import("vue").PropType<[import("dayjs").Dayjs, import("dayjs").Dayjs]>;
|
|
485
471
|
readonly required: false;
|
|
486
472
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
487
473
|
__epPropKey: true;
|
|
488
474
|
};
|
|
489
475
|
readonly date: {
|
|
490
|
-
readonly type: import("vue").PropType<dayjs.Dayjs>;
|
|
476
|
+
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
491
477
|
readonly required: true;
|
|
492
478
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
493
479
|
__epPropKey: true;
|
|
494
480
|
};
|
|
495
481
|
readonly hideHeader: {
|
|
496
|
-
readonly type: import("vue").PropType<import("
|
|
482
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
497
483
|
readonly required: false;
|
|
498
484
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
499
485
|
__epPropKey: true;
|
|
500
486
|
};
|
|
501
487
|
}>> & {
|
|
502
|
-
onPick?: ((value: dayjs.Dayjs) => any) | undefined;
|
|
488
|
+
onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
|
|
503
489
|
}, {}>;
|
|
504
490
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
505
491
|
"update:modelValue": (value: Date) => boolean;
|