ep-craft 0.1.25 → 0.1.27
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/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/advancedFormat.js +4 -0
- package/dist/_virtual/customParseFormat.js +4 -0
- package/dist/_virtual/dayOfYear.js +4 -0
- package/dist/_virtual/isSameOrAfter.js +4 -0
- package/dist/_virtual/isSameOrBefore.js +4 -0
- package/dist/_virtual/localeData.js +4 -0
- package/dist/_virtual/weekOfYear.js +4 -0
- package/dist/_virtual/weekYear.js +4 -0
- package/dist/components/button/index.js +2 -1
- package/dist/components/date-picker/index.d.ts +4 -2
- package/dist/components/date-picker/index.js +9 -4
- package/dist/components/date-picker/src/date-picker.d.ts +435 -0
- package/dist/components/date-picker/src/date-picker.js +72 -0
- package/dist/components/date-picker/src/instance.d.ts +8 -0
- package/dist/components/date-picker/src/props.d.ts +205 -0
- package/dist/components/date-picker/src/props.js +33 -0
- package/dist/components/date-picker-panel/index.d.ts +8 -0
- package/dist/components/date-picker-panel/index.js +11 -0
- package/dist/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +187 -0
- package/dist/components/date-picker-panel/src/composables/use-basic-date-table.js +195 -0
- package/dist/components/date-picker-panel/src/composables/use-month-range-header.d.ts +16 -0
- package/dist/components/date-picker-panel/src/composables/use-month-range-header.js +41 -0
- package/dist/components/date-picker-panel/src/composables/use-panel-date-range.d.ts +29 -0
- package/dist/components/date-picker-panel/src/composables/use-panel-date-range.js +86 -0
- package/dist/components/date-picker-panel/src/composables/use-range-picker.d.ts +209 -0
- package/dist/components/date-picker-panel/src/composables/use-range-picker.js +102 -0
- package/dist/components/date-picker-panel/src/composables/use-shortcut.d.ts +9 -0
- package/dist/components/date-picker-panel/src/composables/use-shortcut.js +27 -0
- package/dist/components/date-picker-panel/src/composables/use-year-range-header.d.ts +16 -0
- package/dist/components/date-picker-panel/src/composables/use-year-range-header.js +35 -0
- package/dist/components/date-picker-panel/src/constants.d.ts +9 -0
- package/dist/components/date-picker-panel/src/constants.js +5 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-cell-render.d.ts +18 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-cell-render.js +39 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-date-table.vue.d.ts +100 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-date-table.vue.js +92 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-date-table2.vue.js +4 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-month-table.vue.d.ts +106 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-month-table.vue.js +164 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-month-table2.vue.js +4 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-year-table.vue.d.ts +106 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-year-table.vue.js +153 -0
- package/dist/components/date-picker-panel/src/date-picker-com/basic-year-table2.vue.js +4 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +89 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.js +550 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-date-pick2.vue.js +4 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +104 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.js +698 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-date-range2.vue.js +4 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +59 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.js +255 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-month-range2.vue.js +4 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +59 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.js +268 -0
- package/dist/components/date-picker-panel/src/date-picker-com/panel-year-range2.vue.js +4 -0
- package/dist/components/date-picker-panel/src/date-picker-panel.d.ts +143 -0
- package/dist/components/date-picker-panel/src/date-picker-panel.js +90 -0
- package/dist/components/date-picker-panel/src/instance.d.ts +2 -0
- package/dist/components/date-picker-panel/src/panel-utils.d.ts +414 -0
- package/dist/components/date-picker-panel/src/panel-utils.js +20 -0
- package/dist/components/date-picker-panel/src/props/basic-cell.d.ts +12 -0
- package/dist/components/date-picker-panel/src/props/basic-cell.js +14 -0
- package/dist/components/date-picker-panel/src/props/basic-date-table.d.ts +66 -0
- package/dist/components/date-picker-panel/src/props/basic-date-table.js +16 -0
- package/dist/components/date-picker-panel/src/props/basic-month-table.d.ts +47 -0
- package/dist/components/date-picker-panel/src/props/basic-month-table.js +14 -0
- package/dist/components/date-picker-panel/src/props/basic-year-table.d.ts +47 -0
- package/dist/components/date-picker-panel/src/props/basic-year-table.js +14 -0
- package/dist/components/date-picker-panel/src/props/date-picker-panel.d.ts +66 -0
- package/dist/components/date-picker-panel/src/props/date-picker-panel.js +129 -0
- package/dist/components/date-picker-panel/src/props/panel-date-pick.d.ts +29 -0
- package/dist/components/date-picker-panel/src/props/panel-date-pick.js +24 -0
- package/dist/components/date-picker-panel/src/props/panel-date-range.d.ts +29 -0
- package/dist/components/date-picker-panel/src/props/panel-date-range.js +14 -0
- package/dist/components/date-picker-panel/src/props/panel-month-range.d.ts +19 -0
- package/dist/components/date-picker-panel/src/props/panel-month-range.js +18 -0
- package/dist/components/date-picker-panel/src/props/panel-year-range.d.ts +19 -0
- package/dist/components/date-picker-panel/src/props/panel-year-range.js +18 -0
- package/dist/components/date-picker-panel/src/props/shared.d.ts +97 -0
- package/dist/components/date-picker-panel/src/props/shared.js +96 -0
- package/dist/components/date-picker-panel/src/types.d.ts +22 -0
- package/dist/components/date-picker-panel/src/utils.d.ts +38 -0
- package/dist/components/date-picker-panel/src/utils.js +84 -0
- package/dist/components/form/src/types.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +142 -140
- package/dist/components/input/EpInput.vue.d.ts +3 -1
- package/dist/components/input/EpInput.vue.js +79 -78
- package/dist/components/input/index.js +1 -0
- package/dist/components/scrollbar/index.d.ts +1 -0
- package/dist/components/scrollbar/src/util.d.ts +40 -0
- package/dist/components/scrollbar/src/util.js +25 -0
- package/dist/components/select/select.vue.d.ts +8 -8
- package/dist/components/select/src/useSelect.d.ts +2 -2
- package/dist/components/select-v2/index.d.ts +6 -2
- package/dist/components/select-v2/index.js +7 -4
- package/dist/components/select-v2/src/defaults.d.ts +258 -0
- package/dist/components/select-v2/src/defaults.js +359 -0
- package/dist/components/select-v2/src/group-item.vue.d.ts +40 -0
- package/dist/components/select-v2/src/group-item.vue.js +13 -0
- package/dist/components/select-v2/src/group-item2.vue.js +33 -0
- package/dist/components/select-v2/src/option-item.vue.d.ts +66 -0
- package/dist/components/select-v2/src/option-item.vue.js +37 -0
- package/dist/components/select-v2/src/option-item2.vue.js +46 -0
- package/dist/components/select-v2/src/select-dropdown.d.ts +53 -0
- package/dist/components/select-v2/src/select-dropdown.js +209 -0
- package/dist/components/select-v2/src/select.types.d.ts +2 -1
- package/dist/components/select-v2/src/select.vue.d.ts +918 -0
- package/dist/components/select-v2/src/select.vue.js +388 -0
- package/dist/components/select-v2/src/select2.vue.js +86 -0
- package/dist/components/select-v2/src/token.d.ts +16 -0
- package/dist/components/select-v2/src/token.js +6 -0
- package/dist/components/select-v2/src/useAllowCreate.d.ts +8 -0
- package/dist/components/select-v2/src/useAllowCreate.js +64 -0
- package/dist/components/select-v2/src/useOption.d.ts +7 -0
- package/dist/components/select-v2/src/useOption.js +13 -0
- package/dist/components/select-v2/src/useProps.d.ts +2 -3
- package/dist/components/select-v2/src/useSelect.d.ts +129 -0
- package/dist/components/select-v2/src/useSelect.js +501 -0
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/time-picker/index.d.ts +15 -2
- package/dist/components/time-picker/index.js +31 -4
- package/dist/components/time-picker/src/common/picker-range-trigger.vue.d.ts +92 -0
- package/dist/components/time-picker/src/common/picker-range-trigger.vue.js +141 -0
- package/dist/components/time-picker/src/common/picker-range-trigger2.vue.js +4 -0
- package/dist/components/time-picker/src/common/picker.vue.d.ts +516 -0
- package/dist/components/time-picker/src/common/picker.vue.js +466 -0
- package/dist/components/time-picker/src/common/picker2.vue.js +4 -0
- package/dist/components/time-picker/src/common/props.d.ts +279 -0
- package/dist/components/time-picker/src/common/props.js +281 -0
- package/dist/components/time-picker/src/composables/use-common-picker.d.ts +42 -0
- package/dist/components/time-picker/src/composables/use-common-picker.js +62 -0
- package/dist/components/time-picker/src/composables/use-time-panel.d.ts +13 -0
- package/dist/components/time-picker/src/composables/use-time-panel.js +60 -0
- package/dist/components/time-picker/src/composables/use-time-picker.d.ts +300 -0
- package/dist/components/time-picker/src/composables/use-time-picker.js +45 -0
- package/dist/components/time-picker/src/constants.d.ts +23 -0
- package/dist/components/time-picker/src/constants.js +23 -0
- package/dist/components/time-picker/src/props/basic-time-spinner.d.ts +39 -0
- package/dist/components/time-picker/src/props/basic-time-spinner.js +31 -0
- package/dist/components/time-picker/src/props/panel-time-picker.d.ts +16 -0
- package/dist/components/time-picker/src/props/panel-time-picker.js +17 -0
- package/dist/components/time-picker/src/props/panel-time-range.d.ts +15 -0
- package/dist/components/time-picker/src/props/panel-time-range.js +16 -0
- package/dist/components/time-picker/src/props/shared.d.ts +31 -0
- package/dist/components/time-picker/src/props/shared.js +40 -0
- package/dist/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +82 -0
- package/dist/components/time-picker/src/time-picker-com/basic-time-spinner.vue.js +253 -0
- package/dist/components/time-picker/src/time-picker-com/basic-time-spinner2.vue.js +4 -0
- package/dist/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +37 -0
- package/dist/components/time-picker/src/time-picker-com/panel-time-pick.vue.js +127 -0
- package/dist/components/time-picker/src/time-picker-com/panel-time-pick2.vue.js +4 -0
- package/dist/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +35 -0
- package/dist/components/time-picker/src/time-picker-com/panel-time-range.vue.js +206 -0
- package/dist/components/time-picker/src/time-picker-com/panel-time-range2.vue.js +4 -0
- package/dist/components/time-picker/src/time-picker.d.ts +437 -0
- package/dist/components/time-picker/src/time-picker.js +68 -0
- package/dist/components/time-picker/src/utils.d.ts +14 -0
- package/dist/components/time-picker/src/utils.js +40 -0
- package/dist/components/virtual-list/index.d.ts +8 -0
- package/dist/components/virtual-list/src/builders/build-list.d.ts +187 -0
- package/dist/components/virtual-list/src/builders/build-list.js +363 -0
- package/dist/components/virtual-list/src/components/dynamic-size-list.d.ts +186 -0
- package/dist/components/virtual-list/src/components/dynamic-size-list.js +112 -0
- package/dist/components/virtual-list/src/components/fixed-size-list.d.ts +185 -0
- package/dist/components/virtual-list/src/components/fixed-size-list.js +68 -0
- package/dist/components/virtual-list/src/components/scrollbar.d.ts +79 -0
- package/dist/components/virtual-list/src/components/scrollbar.js +134 -0
- package/dist/components/virtual-list/src/defaults.d.ts +27 -0
- package/dist/components/virtual-list/src/defaults.js +26 -0
- package/dist/components/virtual-list/src/hooks/use-cache.d.ts +1 -0
- package/dist/components/virtual-list/src/hooks/use-cache.js +13 -0
- package/dist/components/virtual-list/src/hooks/use-wheel.d.ts +13 -0
- package/dist/components/virtual-list/src/hooks/use-wheel.js +26 -0
- package/dist/components/virtual-list/src/props.d.ts +211 -0
- package/dist/components/virtual-list/src/props.js +151 -0
- package/dist/components/virtual-list/src/types.d.ts +152 -0
- package/dist/components/virtual-list/src/utils.d.ts +16 -0
- package/dist/components/virtual-list/src/utils.js +22 -0
- package/dist/constants/date.js +17 -0
- package/dist/directives/repeat-click/index.js +33 -0
- package/dist/ep-craft.js +150 -148
- package/dist/hooks/use-empty-values/index.js +14 -14
- package/dist/hooks/use-float-label/index.d.ts +6 -2
- package/dist/hooks/use-float-label/index.js +11 -7
- package/dist/index.css +1 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/advancedFormat.js +54 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/customParseFormat.js +127 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/dayOfYear.js +19 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/isSameOrAfter.js +18 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/isSameOrBefore.js +18 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/localeData.js +82 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/weekOfYear.js +29 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/weekYear.js +19 -0
- package/dist/utils/arrays.js +5 -4
- package/dist/vendored-components.d.ts +1 -1
- package/dist/vendored-components.js +10 -5
- package/package.json +3 -1
- package/theme-chalk/src/float-label.scss +153 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
+
function l(e) {
|
|
3
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
+
}
|
|
5
|
+
export {
|
|
6
|
+
o as commonjsGlobal,
|
|
7
|
+
l as getDefaultExportFromCjs
|
|
8
|
+
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Plugin } from 'vue';
|
|
2
|
-
import
|
|
3
|
-
export declare const EpDatePicker: typeof
|
|
2
|
+
import _DatePicker from './src/date-picker';
|
|
3
|
+
export declare const EpDatePicker: typeof _DatePicker & Plugin;
|
|
4
4
|
export default EpDatePicker;
|
|
5
|
+
export * from './src/props';
|
|
6
|
+
export type { DatePickerExpose, DatePickerInstance } from './src/instance';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { withInstall as r } from "../../utils/with-install.js";
|
|
2
|
+
import e from "./src/date-picker.js";
|
|
3
|
+
import { datePickerProps as c } from "./src/props.js";
|
|
4
|
+
const p = r(
|
|
5
|
+
e,
|
|
6
|
+
"ep-date-picker"
|
|
7
|
+
);
|
|
4
8
|
export {
|
|
5
|
-
|
|
9
|
+
p as EpDatePicker,
|
|
10
|
+
c as datePickerProps
|
|
6
11
|
};
|
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
import type { SingleOrRange } from '@element-plus/components/time-picker';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
readonly type: import("../../../utils").EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import("@element-plus/components/date-picker-panel").DatePickerType) | (((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import("@element-plus/components/date-picker-panel").DatePickerType)) | null)[], unknown, unknown, "date", boolean>;
|
|
4
|
+
readonly floatLabel: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5
|
+
readonly showNow: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
6
|
+
readonly showConfirm: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
7
|
+
readonly showFooter: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
8
|
+
readonly showWeekNumber: BooleanConstructor;
|
|
9
|
+
readonly ariaLabel: StringConstructor;
|
|
10
|
+
readonly emptyValues: ArrayConstructor;
|
|
11
|
+
readonly valueOnClear: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown, undefined, boolean>;
|
|
12
|
+
readonly disabledDate: {
|
|
13
|
+
readonly type: import("vue").PropType<Function>;
|
|
14
|
+
readonly required: false;
|
|
15
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
|
+
__epPropKey: true;
|
|
17
|
+
};
|
|
18
|
+
readonly cellClassName: {
|
|
19
|
+
readonly type: import("vue").PropType<Function>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
};
|
|
24
|
+
readonly shortcuts: import("../../../utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
25
|
+
readonly arrowControl: BooleanConstructor;
|
|
26
|
+
readonly tabindex: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
27
|
+
readonly validateEvent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
28
|
+
readonly unlinkPanels: BooleanConstructor;
|
|
29
|
+
readonly singlePanel: BooleanConstructor;
|
|
30
|
+
readonly placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement)) | null)[], import("element-plus").Placement, unknown, "bottom", boolean>;
|
|
31
|
+
readonly fallbackPlacements: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | (((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
32
|
+
readonly disabledHours: {
|
|
33
|
+
readonly type: import("vue").PropType<import("@element-plus/components/time-picker").GetDisabledHours>;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
};
|
|
38
|
+
readonly disabledMinutes: {
|
|
39
|
+
readonly type: import("vue").PropType<import("@element-plus/components/time-picker").GetDisabledMinutes>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
};
|
|
44
|
+
readonly disabledSeconds: {
|
|
45
|
+
readonly type: import("vue").PropType<import("@element-plus/components/time-picker").GetDisabledSeconds>;
|
|
46
|
+
readonly required: false;
|
|
47
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
|
+
__epPropKey: true;
|
|
49
|
+
};
|
|
50
|
+
readonly automaticDropdown: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
51
|
+
readonly id: {
|
|
52
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>)) | null)[], unknown, unknown>>;
|
|
53
|
+
readonly required: false;
|
|
54
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
+
__epPropKey: true;
|
|
56
|
+
};
|
|
57
|
+
readonly name: {
|
|
58
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>)) | null)[], unknown, unknown>>;
|
|
59
|
+
readonly required: false;
|
|
60
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
|
+
__epPropKey: true;
|
|
62
|
+
};
|
|
63
|
+
readonly popperClass: {
|
|
64
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
65
|
+
[x: string]: boolean;
|
|
66
|
+
} | (string | {
|
|
67
|
+
[x: string]: boolean;
|
|
68
|
+
} | (string | {
|
|
69
|
+
[x: string]: boolean;
|
|
70
|
+
} | (string | {
|
|
71
|
+
[x: string]: boolean;
|
|
72
|
+
} | (string | {
|
|
73
|
+
[x: string]: boolean;
|
|
74
|
+
} | (string | {
|
|
75
|
+
[x: string]: boolean;
|
|
76
|
+
} | (string | {
|
|
77
|
+
[x: string]: boolean;
|
|
78
|
+
} | (string | {
|
|
79
|
+
[x: string]: boolean;
|
|
80
|
+
} | (string | {
|
|
81
|
+
[x: string]: boolean;
|
|
82
|
+
} | (string | {
|
|
83
|
+
[x: string]: boolean;
|
|
84
|
+
} | (string | {
|
|
85
|
+
[x: string]: boolean;
|
|
86
|
+
} | (string | {
|
|
87
|
+
[x: string]: boolean;
|
|
88
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
89
|
+
[x: string]: boolean;
|
|
90
|
+
} | (string | {
|
|
91
|
+
[x: string]: boolean;
|
|
92
|
+
} | (string | {
|
|
93
|
+
[x: string]: boolean;
|
|
94
|
+
} | (string | {
|
|
95
|
+
[x: string]: boolean;
|
|
96
|
+
} | (string | {
|
|
97
|
+
[x: string]: boolean;
|
|
98
|
+
} | (string | {
|
|
99
|
+
[x: string]: boolean;
|
|
100
|
+
} | (string | {
|
|
101
|
+
[x: string]: boolean;
|
|
102
|
+
} | (string | {
|
|
103
|
+
[x: string]: boolean;
|
|
104
|
+
} | (string | {
|
|
105
|
+
[x: string]: boolean;
|
|
106
|
+
} | (string | {
|
|
107
|
+
[x: string]: boolean;
|
|
108
|
+
} | (string | {
|
|
109
|
+
[x: string]: boolean;
|
|
110
|
+
} | (string | {
|
|
111
|
+
[x: string]: boolean;
|
|
112
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (((new (...args: any[]) => string | {
|
|
113
|
+
[x: string]: boolean;
|
|
114
|
+
} | (string | {
|
|
115
|
+
[x: string]: boolean;
|
|
116
|
+
} | (string | {
|
|
117
|
+
[x: string]: boolean;
|
|
118
|
+
} | (string | {
|
|
119
|
+
[x: string]: boolean;
|
|
120
|
+
} | (string | {
|
|
121
|
+
[x: string]: boolean;
|
|
122
|
+
} | (string | {
|
|
123
|
+
[x: string]: boolean;
|
|
124
|
+
} | (string | {
|
|
125
|
+
[x: string]: boolean;
|
|
126
|
+
} | (string | {
|
|
127
|
+
[x: string]: boolean;
|
|
128
|
+
} | (string | {
|
|
129
|
+
[x: string]: boolean;
|
|
130
|
+
} | (string | {
|
|
131
|
+
[x: string]: boolean;
|
|
132
|
+
} | (string | {
|
|
133
|
+
[x: string]: boolean;
|
|
134
|
+
} | (string | {
|
|
135
|
+
[x: string]: boolean;
|
|
136
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
137
|
+
[x: string]: boolean;
|
|
138
|
+
} | (string | {
|
|
139
|
+
[x: string]: boolean;
|
|
140
|
+
} | (string | {
|
|
141
|
+
[x: string]: boolean;
|
|
142
|
+
} | (string | {
|
|
143
|
+
[x: string]: boolean;
|
|
144
|
+
} | (string | {
|
|
145
|
+
[x: string]: boolean;
|
|
146
|
+
} | (string | {
|
|
147
|
+
[x: string]: boolean;
|
|
148
|
+
} | (string | {
|
|
149
|
+
[x: string]: boolean;
|
|
150
|
+
} | (string | {
|
|
151
|
+
[x: string]: boolean;
|
|
152
|
+
} | (string | {
|
|
153
|
+
[x: string]: boolean;
|
|
154
|
+
} | (string | {
|
|
155
|
+
[x: string]: boolean;
|
|
156
|
+
} | (string | {
|
|
157
|
+
[x: string]: boolean;
|
|
158
|
+
} | (string | {
|
|
159
|
+
[x: string]: boolean;
|
|
160
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[])) | null)[], unknown, unknown>>;
|
|
161
|
+
readonly required: false;
|
|
162
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
163
|
+
__epPropKey: true;
|
|
164
|
+
};
|
|
165
|
+
readonly popperStyle: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
166
|
+
readonly format: StringConstructor;
|
|
167
|
+
readonly valueFormat: StringConstructor;
|
|
168
|
+
readonly dateFormat: StringConstructor;
|
|
169
|
+
readonly timeFormat: StringConstructor;
|
|
170
|
+
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
171
|
+
readonly clearIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
172
|
+
readonly editable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
173
|
+
readonly saveOnBlur: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
174
|
+
readonly prefixIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
175
|
+
readonly size: {
|
|
176
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
177
|
+
readonly required: false;
|
|
178
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
|
+
__epPropKey: true;
|
|
180
|
+
};
|
|
181
|
+
readonly readonly: BooleanConstructor;
|
|
182
|
+
readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
183
|
+
readonly placeholder: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
184
|
+
readonly popperOptions: import("../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | (((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
185
|
+
readonly modelValue: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("@element-plus/components/time-picker").ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("@element-plus/components/time-picker").ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
186
|
+
readonly rangeSeparator: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
187
|
+
readonly startPlaceholder: StringConstructor;
|
|
188
|
+
readonly endPlaceholder: StringConstructor;
|
|
189
|
+
readonly defaultValue: {
|
|
190
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | (((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>)) | null)[], unknown, unknown>>;
|
|
191
|
+
readonly required: false;
|
|
192
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
193
|
+
__epPropKey: true;
|
|
194
|
+
};
|
|
195
|
+
readonly defaultTime: {
|
|
196
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | (((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>)) | null)[], unknown, unknown>>;
|
|
197
|
+
readonly required: false;
|
|
198
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
199
|
+
__epPropKey: true;
|
|
200
|
+
};
|
|
201
|
+
readonly isRange: BooleanConstructor;
|
|
202
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
203
|
+
readonly type: import("../../../utils").EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import("@element-plus/components/date-picker-panel").DatePickerType) | (((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import("@element-plus/components/date-picker-panel").DatePickerType)) | null)[], unknown, unknown, "date", boolean>;
|
|
204
|
+
readonly floatLabel: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
205
|
+
readonly showNow: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
206
|
+
readonly showConfirm: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
207
|
+
readonly showFooter: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
208
|
+
readonly showWeekNumber: BooleanConstructor;
|
|
209
|
+
readonly ariaLabel: StringConstructor;
|
|
210
|
+
readonly emptyValues: ArrayConstructor;
|
|
211
|
+
readonly valueOnClear: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown, undefined, boolean>;
|
|
212
|
+
readonly disabledDate: {
|
|
213
|
+
readonly type: import("vue").PropType<Function>;
|
|
214
|
+
readonly required: false;
|
|
215
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
216
|
+
__epPropKey: true;
|
|
217
|
+
};
|
|
218
|
+
readonly cellClassName: {
|
|
219
|
+
readonly type: import("vue").PropType<Function>;
|
|
220
|
+
readonly required: false;
|
|
221
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
222
|
+
__epPropKey: true;
|
|
223
|
+
};
|
|
224
|
+
readonly shortcuts: import("../../../utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
225
|
+
readonly arrowControl: BooleanConstructor;
|
|
226
|
+
readonly tabindex: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
227
|
+
readonly validateEvent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
228
|
+
readonly unlinkPanels: BooleanConstructor;
|
|
229
|
+
readonly singlePanel: BooleanConstructor;
|
|
230
|
+
readonly placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement)) | null)[], import("element-plus").Placement, unknown, "bottom", boolean>;
|
|
231
|
+
readonly fallbackPlacements: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | (((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
232
|
+
readonly disabledHours: {
|
|
233
|
+
readonly type: import("vue").PropType<import("@element-plus/components/time-picker").GetDisabledHours>;
|
|
234
|
+
readonly required: false;
|
|
235
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
236
|
+
__epPropKey: true;
|
|
237
|
+
};
|
|
238
|
+
readonly disabledMinutes: {
|
|
239
|
+
readonly type: import("vue").PropType<import("@element-plus/components/time-picker").GetDisabledMinutes>;
|
|
240
|
+
readonly required: false;
|
|
241
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
242
|
+
__epPropKey: true;
|
|
243
|
+
};
|
|
244
|
+
readonly disabledSeconds: {
|
|
245
|
+
readonly type: import("vue").PropType<import("@element-plus/components/time-picker").GetDisabledSeconds>;
|
|
246
|
+
readonly required: false;
|
|
247
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
248
|
+
__epPropKey: true;
|
|
249
|
+
};
|
|
250
|
+
readonly automaticDropdown: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
251
|
+
readonly id: {
|
|
252
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>)) | null)[], unknown, unknown>>;
|
|
253
|
+
readonly required: false;
|
|
254
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
255
|
+
__epPropKey: true;
|
|
256
|
+
};
|
|
257
|
+
readonly name: {
|
|
258
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>)) | null)[], unknown, unknown>>;
|
|
259
|
+
readonly required: false;
|
|
260
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
261
|
+
__epPropKey: true;
|
|
262
|
+
};
|
|
263
|
+
readonly popperClass: {
|
|
264
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
265
|
+
[x: string]: boolean;
|
|
266
|
+
} | (string | {
|
|
267
|
+
[x: string]: boolean;
|
|
268
|
+
} | (string | {
|
|
269
|
+
[x: string]: boolean;
|
|
270
|
+
} | (string | {
|
|
271
|
+
[x: string]: boolean;
|
|
272
|
+
} | (string | {
|
|
273
|
+
[x: string]: boolean;
|
|
274
|
+
} | (string | {
|
|
275
|
+
[x: string]: boolean;
|
|
276
|
+
} | (string | {
|
|
277
|
+
[x: string]: boolean;
|
|
278
|
+
} | (string | {
|
|
279
|
+
[x: string]: boolean;
|
|
280
|
+
} | (string | {
|
|
281
|
+
[x: string]: boolean;
|
|
282
|
+
} | (string | {
|
|
283
|
+
[x: string]: boolean;
|
|
284
|
+
} | (string | {
|
|
285
|
+
[x: string]: boolean;
|
|
286
|
+
} | (string | {
|
|
287
|
+
[x: string]: boolean;
|
|
288
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
289
|
+
[x: string]: boolean;
|
|
290
|
+
} | (string | {
|
|
291
|
+
[x: string]: boolean;
|
|
292
|
+
} | (string | {
|
|
293
|
+
[x: string]: boolean;
|
|
294
|
+
} | (string | {
|
|
295
|
+
[x: string]: boolean;
|
|
296
|
+
} | (string | {
|
|
297
|
+
[x: string]: boolean;
|
|
298
|
+
} | (string | {
|
|
299
|
+
[x: string]: boolean;
|
|
300
|
+
} | (string | {
|
|
301
|
+
[x: string]: boolean;
|
|
302
|
+
} | (string | {
|
|
303
|
+
[x: string]: boolean;
|
|
304
|
+
} | (string | {
|
|
305
|
+
[x: string]: boolean;
|
|
306
|
+
} | (string | {
|
|
307
|
+
[x: string]: boolean;
|
|
308
|
+
} | (string | {
|
|
309
|
+
[x: string]: boolean;
|
|
310
|
+
} | (string | {
|
|
311
|
+
[x: string]: boolean;
|
|
312
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (((new (...args: any[]) => string | {
|
|
313
|
+
[x: string]: boolean;
|
|
314
|
+
} | (string | {
|
|
315
|
+
[x: string]: boolean;
|
|
316
|
+
} | (string | {
|
|
317
|
+
[x: string]: boolean;
|
|
318
|
+
} | (string | {
|
|
319
|
+
[x: string]: boolean;
|
|
320
|
+
} | (string | {
|
|
321
|
+
[x: string]: boolean;
|
|
322
|
+
} | (string | {
|
|
323
|
+
[x: string]: boolean;
|
|
324
|
+
} | (string | {
|
|
325
|
+
[x: string]: boolean;
|
|
326
|
+
} | (string | {
|
|
327
|
+
[x: string]: boolean;
|
|
328
|
+
} | (string | {
|
|
329
|
+
[x: string]: boolean;
|
|
330
|
+
} | (string | {
|
|
331
|
+
[x: string]: boolean;
|
|
332
|
+
} | (string | {
|
|
333
|
+
[x: string]: boolean;
|
|
334
|
+
} | (string | {
|
|
335
|
+
[x: string]: boolean;
|
|
336
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
337
|
+
[x: string]: boolean;
|
|
338
|
+
} | (string | {
|
|
339
|
+
[x: string]: boolean;
|
|
340
|
+
} | (string | {
|
|
341
|
+
[x: string]: boolean;
|
|
342
|
+
} | (string | {
|
|
343
|
+
[x: string]: boolean;
|
|
344
|
+
} | (string | {
|
|
345
|
+
[x: string]: boolean;
|
|
346
|
+
} | (string | {
|
|
347
|
+
[x: string]: boolean;
|
|
348
|
+
} | (string | {
|
|
349
|
+
[x: string]: boolean;
|
|
350
|
+
} | (string | {
|
|
351
|
+
[x: string]: boolean;
|
|
352
|
+
} | (string | {
|
|
353
|
+
[x: string]: boolean;
|
|
354
|
+
} | (string | {
|
|
355
|
+
[x: string]: boolean;
|
|
356
|
+
} | (string | {
|
|
357
|
+
[x: string]: boolean;
|
|
358
|
+
} | (string | {
|
|
359
|
+
[x: string]: boolean;
|
|
360
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[])) | null)[], unknown, unknown>>;
|
|
361
|
+
readonly required: false;
|
|
362
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
363
|
+
__epPropKey: true;
|
|
364
|
+
};
|
|
365
|
+
readonly popperStyle: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
366
|
+
readonly format: StringConstructor;
|
|
367
|
+
readonly valueFormat: StringConstructor;
|
|
368
|
+
readonly dateFormat: StringConstructor;
|
|
369
|
+
readonly timeFormat: StringConstructor;
|
|
370
|
+
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
371
|
+
readonly clearIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
372
|
+
readonly editable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
373
|
+
readonly saveOnBlur: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
374
|
+
readonly prefixIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
375
|
+
readonly size: {
|
|
376
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
377
|
+
readonly required: false;
|
|
378
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
379
|
+
__epPropKey: true;
|
|
380
|
+
};
|
|
381
|
+
readonly readonly: BooleanConstructor;
|
|
382
|
+
readonly disabled: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
383
|
+
readonly placeholder: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
384
|
+
readonly popperOptions: import("../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | (((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
385
|
+
readonly modelValue: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("@element-plus/components/time-picker").ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("@element-plus/components/time-picker").ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
386
|
+
readonly rangeSeparator: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
387
|
+
readonly startPlaceholder: StringConstructor;
|
|
388
|
+
readonly endPlaceholder: StringConstructor;
|
|
389
|
+
readonly defaultValue: {
|
|
390
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | (((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>)) | null)[], unknown, unknown>>;
|
|
391
|
+
readonly required: false;
|
|
392
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
393
|
+
__epPropKey: true;
|
|
394
|
+
};
|
|
395
|
+
readonly defaultTime: {
|
|
396
|
+
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | (((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>)) | null)[], unknown, unknown>>;
|
|
397
|
+
readonly required: false;
|
|
398
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
|
+
__epPropKey: true;
|
|
400
|
+
};
|
|
401
|
+
readonly isRange: BooleanConstructor;
|
|
402
|
+
}>> & Readonly<{
|
|
403
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
404
|
+
}>, {
|
|
405
|
+
readonly disabled: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
406
|
+
readonly tabindex: import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
407
|
+
readonly type: import("../../../utils").EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import("@element-plus/components/date-picker-panel").DatePickerType) | (((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import("@element-plus/components/date-picker-panel").DatePickerType)) | null)[], unknown, unknown>;
|
|
408
|
+
readonly placeholder: string;
|
|
409
|
+
readonly placement: import("../../../utils").EpPropMergeType<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement)) | null)[], import("element-plus").Placement, unknown>;
|
|
410
|
+
readonly modelValue: import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("@element-plus/components/time-picker").ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("@element-plus/components/time-picker").ModelValueType | null)) | null)[], unknown, unknown>;
|
|
411
|
+
readonly valueOnClear: import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown>;
|
|
412
|
+
readonly floatLabel: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
413
|
+
readonly readonly: boolean;
|
|
414
|
+
readonly clearable: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
415
|
+
readonly clearIcon: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>;
|
|
416
|
+
readonly prefixIcon: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>;
|
|
417
|
+
readonly validateEvent: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
418
|
+
readonly popperStyle: import("vue").StyleValue;
|
|
419
|
+
readonly fallbackPlacements: import("element-plus").Placement[];
|
|
420
|
+
readonly popperOptions: Partial<import("element-plus").Options>;
|
|
421
|
+
readonly automaticDropdown: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
422
|
+
readonly editable: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
423
|
+
readonly saveOnBlur: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
424
|
+
readonly rangeSeparator: string;
|
|
425
|
+
readonly shortcuts: unknown[];
|
|
426
|
+
readonly showNow: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
427
|
+
readonly showConfirm: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
428
|
+
readonly showFooter: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
429
|
+
readonly showWeekNumber: boolean;
|
|
430
|
+
readonly arrowControl: boolean;
|
|
431
|
+
readonly unlinkPanels: boolean;
|
|
432
|
+
readonly singlePanel: boolean;
|
|
433
|
+
readonly isRange: boolean;
|
|
434
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
435
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineComponent as _, computed as P, provide as a, reactive as s, toRef as O, ref as T, createVNode as n, mergeProps as l, isVNode as b } from "vue";
|
|
2
|
+
import "../../time-picker/index.js";
|
|
3
|
+
import { UPDATE_MODEL_EVENT as i } from "../../../constants/event.js";
|
|
4
|
+
import { EpDatePickerPanel as D } from "../../date-picker-panel/index.js";
|
|
5
|
+
import { datePickerProps as A } from "./props.js";
|
|
6
|
+
import { ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY as I } from "../../date-picker-panel/src/constants.js";
|
|
7
|
+
import { PICKER_POPPER_OPTIONS_INJECTION_KEY as R, DEFAULT_FORMATS_DATEPICKER as C, DEFAULT_FORMATS_DATE as N } from "../../time-picker/src/constants.js";
|
|
8
|
+
import F from "../../time-picker/src/common/picker.vue.js";
|
|
9
|
+
function k(t) {
|
|
10
|
+
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !b(t);
|
|
11
|
+
}
|
|
12
|
+
const h = /* @__PURE__ */ _({
|
|
13
|
+
name: "EpDatePicker",
|
|
14
|
+
install: null,
|
|
15
|
+
props: A,
|
|
16
|
+
emits: [i],
|
|
17
|
+
setup(t, {
|
|
18
|
+
expose: f,
|
|
19
|
+
emit: m,
|
|
20
|
+
slots: r
|
|
21
|
+
}) {
|
|
22
|
+
const c = P(() => !t.format);
|
|
23
|
+
a(I, c), a(R, s(O(t, "popperOptions")));
|
|
24
|
+
const o = T();
|
|
25
|
+
f({
|
|
26
|
+
focus: () => {
|
|
27
|
+
var e;
|
|
28
|
+
(e = o.value) == null || e.focus();
|
|
29
|
+
},
|
|
30
|
+
blur: () => {
|
|
31
|
+
var e;
|
|
32
|
+
(e = o.value) == null || e.blur();
|
|
33
|
+
},
|
|
34
|
+
handleOpen: () => {
|
|
35
|
+
var e;
|
|
36
|
+
(e = o.value) == null || e.handleOpen();
|
|
37
|
+
},
|
|
38
|
+
handleClose: () => {
|
|
39
|
+
var e;
|
|
40
|
+
(e = o.value) == null || e.handleClose();
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
const d = (e) => {
|
|
44
|
+
m(i, e);
|
|
45
|
+
};
|
|
46
|
+
return () => {
|
|
47
|
+
const e = t.format ?? (C[t.type] || N), {
|
|
48
|
+
floatLabel: p,
|
|
49
|
+
...u
|
|
50
|
+
} = t;
|
|
51
|
+
return n(F, l(u, {
|
|
52
|
+
floatLabelEnabled: p,
|
|
53
|
+
format: e,
|
|
54
|
+
type: t.type,
|
|
55
|
+
ref: o,
|
|
56
|
+
"onUpdate:modelValue": d
|
|
57
|
+
}), {
|
|
58
|
+
default: (E) => n(D, l({
|
|
59
|
+
disabled: t.disabled,
|
|
60
|
+
editable: t.editable,
|
|
61
|
+
border: !1
|
|
62
|
+
}, E), k(r) ? r : {
|
|
63
|
+
default: () => [r]
|
|
64
|
+
}),
|
|
65
|
+
"range-separator": r["range-separator"]
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
h as default
|
|
72
|
+
};
|