yc-pro-components 0.0.9 → 0.0.10
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/es/components/check-card/index.d.ts +49 -49
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +17 -17
- package/es/components/date-picker/src/index.vue.d.ts +9 -9
- package/es/components/dialog/index.d.ts +41 -41
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +109 -109
- package/es/components/dialog-form/src/index.vue.d.ts +35 -35
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +105 -105
- package/es/components/drawer-form/src/index.vue.d.ts +34 -34
- package/es/components/form/index.d.ts +123 -123
- package/es/components/form/src/form-content.vue.d.ts +24 -24
- package/es/components/form/src/index.vue.d.ts +43 -43
- package/es/components/form-item/index.d.ts +78 -78
- package/es/components/form-item/src/index.vue.d.ts +22 -22
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +48 -48
- package/es/components/input-tag/src/index.vue.d.ts +36 -36
- package/es/components/layout/index.d.ts +60 -60
- package/es/components/layout/src/index.vue.d.ts +20 -20
- package/es/components/page/index.d.ts +846 -846
- package/es/components/page/src/index.vue.d.ts +286 -286
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +47 -47
- package/es/components/radio/src/index.vue.d.ts +39 -39
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +324 -324
- package/es/components/search/src/index.vue.d.ts +106 -106
- package/es/components/sidebar/index.d.ts +30 -30
- package/es/components/sidebar/src/index.vue.d.ts +10 -10
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +76 -76
- package/es/components/table/src/index.vue.d.ts +24 -24
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +6 -6
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +13 -13
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +86 -86
- package/es/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/es/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +6 -6
- package/es/components/yc-segmented/src/index.d.ts +6 -6
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue2.mjs +31 -4
- package/es/hooks/usePlusFormReset.d.ts +487 -487
- package/index.js +31 -4
- package/index.min.js +2 -2
- package/index.min.mjs +3 -3
- package/index.mjs +31 -4
- package/lib/components/check-card/index.d.ts +49 -49
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +17 -17
- package/lib/components/date-picker/src/index.vue.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +41 -41
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +109 -109
- package/lib/components/dialog-form/src/index.vue.d.ts +35 -35
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +105 -105
- package/lib/components/drawer-form/src/index.vue.d.ts +34 -34
- package/lib/components/form/index.d.ts +123 -123
- package/lib/components/form/src/form-content.vue.d.ts +24 -24
- package/lib/components/form/src/index.vue.d.ts +43 -43
- package/lib/components/form-item/index.d.ts +78 -78
- package/lib/components/form-item/src/index.vue.d.ts +22 -22
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +48 -48
- package/lib/components/input-tag/src/index.vue.d.ts +36 -36
- package/lib/components/layout/index.d.ts +60 -60
- package/lib/components/layout/src/index.vue.d.ts +20 -20
- package/lib/components/page/index.d.ts +846 -846
- package/lib/components/page/src/index.vue.d.ts +286 -286
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +47 -47
- package/lib/components/radio/src/index.vue.d.ts +39 -39
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +324 -324
- package/lib/components/search/src/index.vue.d.ts +106 -106
- package/lib/components/sidebar/index.d.ts +30 -30
- package/lib/components/sidebar/src/index.vue.d.ts +10 -10
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +76 -76
- package/lib/components/table/src/index.vue.d.ts +24 -24
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +6 -6
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +13 -13
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +86 -86
- package/lib/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/lib/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +6 -6
- package/lib/components/yc-segmented/src/index.d.ts +6 -6
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue2.js +30 -3
- package/lib/hooks/usePlusFormReset.d.ts +487 -487
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! yc-pro-components v0.0.
|
|
1
|
+
/*! yc-pro-components v0.0.10 */
|
|
2
2
|
import { unref, isRef, ref, isReactive, watch, inject, computed, shallowRef, provide, onMounted, nextTick, onBeforeUnmount, defineComponent, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, normalizeClass, createCommentVNode, reactive, useAttrs, Fragment, renderList, resolveDynamicComponent, normalizeProps, guardReactiveProps, h, withDirectives, isVNode, withKeys, withModifiers, TransitionGroup, toHandlers, getCurrentInstance, resolveComponent, toRefs, useSlots, onUnmounted, resolveDirective, pushScopeId, popScopeId, onBeforeMount, getCurrentScope, onScopeDispose, toRef, mergeModels, useModel, vShow } from 'vue';
|
|
3
3
|
import { dayjs, localeContextKey, ElDialog, ElButton, ElPagination, ElRadioGroup, ElRadio, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon, ElTooltip, ElPopconfirm, ElLink, ElMessageBox, useFormDisabled, ElDatePicker, ClickOutside, ElTag, ElInput, ElAutocomplete, ElCascader, ElCheckboxGroup, ElCheckbox, ElColorPicker, ElInputNumber, ElRate, ElSelect, ElOption, ElSlider, ElSwitch, ElTimePicker, ElTimeSelect, ElTransfer, ElTreeSelect, ElSelectV2, ElText, ElDivider, ElFormItem, ElOptionGroup, ElRow, ElCol, ElForm, ElCard, ElMessage, ElImage, ElProgress, ElAvatar, ElPopover, ElTable, vLoading, ElDescriptions, ElDescriptionsItem, ElDrawer, ElSteps, ElStep, ElBreadcrumb, ElBreadcrumbItem, ElMenuItem, ElSubMenu, ElMenu, ElScrollbar, ElHeader, ElContainer, ElMain, ElBacktop } from 'element-plus';
|
|
4
4
|
|
|
@@ -58437,6 +58437,32 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
58437
58437
|
useSlots();
|
|
58438
58438
|
const textRef = ref();
|
|
58439
58439
|
const showTooltip = ref(false);
|
|
58440
|
+
const tooltipProps = computed(() => {
|
|
58441
|
+
const { offset, popperOptions: popperOptions2, ...rest } = props.tippyProps;
|
|
58442
|
+
return rest;
|
|
58443
|
+
});
|
|
58444
|
+
const popperOptions = computed(() => {
|
|
58445
|
+
var _a, _b, _c;
|
|
58446
|
+
const offset = (_a = props.tippyProps) == null ? void 0 : _a.offset;
|
|
58447
|
+
const userPopperOptions = (_b = props.tippyProps) == null ? void 0 : _b.popperOptions;
|
|
58448
|
+
if (!Array.isArray(offset)) {
|
|
58449
|
+
return userPopperOptions;
|
|
58450
|
+
}
|
|
58451
|
+
const normalizedOffset = [Number(offset[0]) || 0, Number(offset[1]) || 0];
|
|
58452
|
+
const userModifiers = (_c = userPopperOptions == null ? void 0 : userPopperOptions.modifiers) != null ? _c : [];
|
|
58453
|
+
return {
|
|
58454
|
+
...userPopperOptions,
|
|
58455
|
+
modifiers: [
|
|
58456
|
+
...userModifiers,
|
|
58457
|
+
{
|
|
58458
|
+
name: "offset",
|
|
58459
|
+
options: {
|
|
58460
|
+
offset: normalizedOffset
|
|
58461
|
+
}
|
|
58462
|
+
}
|
|
58463
|
+
]
|
|
58464
|
+
};
|
|
58465
|
+
});
|
|
58440
58466
|
const isTextEllipsis = (el) => {
|
|
58441
58467
|
if (!props.lineClamp) {
|
|
58442
58468
|
return el.scrollWidth > el.clientWidth;
|
|
@@ -58452,8 +58478,9 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
58452
58478
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
58453
58479
|
return openBlock(), createBlock(_component_el_tooltip, mergeProps({
|
|
58454
58480
|
disabled: !showTooltip.value,
|
|
58455
|
-
content: __props.tippyProps.content
|
|
58456
|
-
|
|
58481
|
+
content: __props.tippyProps.content,
|
|
58482
|
+
"popper-options": popperOptions.value
|
|
58483
|
+
}, tooltipProps.value), {
|
|
58457
58484
|
content: withCtx(() => [
|
|
58458
58485
|
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
58459
58486
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -58484,7 +58511,7 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
58484
58511
|
]),
|
|
58485
58512
|
_: 3
|
|
58486
58513
|
/* FORWARDED */
|
|
58487
|
-
}, 16, ["disabled", "content"]);
|
|
58514
|
+
}, 16, ["disabled", "content", "popper-options"]);
|
|
58488
58515
|
};
|
|
58489
58516
|
}
|
|
58490
58517
|
});
|
|
@@ -4,14 +4,14 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
4
4
|
export type { PlusCheckCardProps } from './src/index.vue';
|
|
5
5
|
export declare const PlusCheckCard: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
|
-
|
|
8
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
modelValue: {
|
|
7
|
+
disabled: {
|
|
12
8
|
type: PropType<boolean>;
|
|
13
9
|
default: boolean;
|
|
14
10
|
};
|
|
11
|
+
size: {
|
|
12
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
15
|
title: {
|
|
16
16
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
17
17
|
default: undefined;
|
|
@@ -20,14 +20,14 @@ export declare const PlusCheckCard: {
|
|
|
20
20
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
23
|
-
disabled: {
|
|
24
|
-
type: PropType<boolean>;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
23
|
extra: {
|
|
28
24
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
29
25
|
default: undefined;
|
|
30
26
|
};
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: PropType<boolean>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
31
|
description: {
|
|
32
32
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
33
33
|
default: undefined;
|
|
@@ -37,22 +37,22 @@ export declare const PlusCheckCard: {
|
|
|
37
37
|
default: () => {};
|
|
38
38
|
};
|
|
39
39
|
}>> & {
|
|
40
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
41
40
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
41
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
42
42
|
onExtra?: (() => any) | undefined;
|
|
43
43
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
44
44
|
"update:modelValue": (checked: boolean) => void;
|
|
45
45
|
change: (checked: boolean) => void;
|
|
46
46
|
extra: () => void;
|
|
47
47
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
48
|
-
|
|
49
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
modelValue: {
|
|
48
|
+
disabled: {
|
|
53
49
|
type: PropType<boolean>;
|
|
54
50
|
default: boolean;
|
|
55
51
|
};
|
|
52
|
+
size: {
|
|
53
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
56
|
title: {
|
|
57
57
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
58
58
|
default: undefined;
|
|
@@ -61,14 +61,14 @@ export declare const PlusCheckCard: {
|
|
|
61
61
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
62
62
|
default: undefined;
|
|
63
63
|
};
|
|
64
|
-
disabled: {
|
|
65
|
-
type: PropType<boolean>;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
64
|
extra: {
|
|
69
65
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
70
66
|
default: undefined;
|
|
71
67
|
};
|
|
68
|
+
modelValue: {
|
|
69
|
+
type: PropType<boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
72
|
description: {
|
|
73
73
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
74
74
|
default: undefined;
|
|
@@ -78,16 +78,16 @@ export declare const PlusCheckCard: {
|
|
|
78
78
|
default: () => {};
|
|
79
79
|
};
|
|
80
80
|
}>> & {
|
|
81
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
82
81
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
82
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
83
83
|
onExtra?: (() => any) | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
size: "" | "large" | "default" | "small";
|
|
87
87
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
88
88
|
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
89
|
-
disabled: boolean;
|
|
90
89
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
90
|
+
modelValue: boolean;
|
|
91
91
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
92
92
|
avatarProps: RecordType;
|
|
93
93
|
}, true, {}, {}, {
|
|
@@ -98,14 +98,14 @@ export declare const PlusCheckCard: {
|
|
|
98
98
|
M: {};
|
|
99
99
|
Defaults: {};
|
|
100
100
|
}, Readonly< ExtractPropTypes<{
|
|
101
|
-
|
|
102
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
modelValue: {
|
|
101
|
+
disabled: {
|
|
106
102
|
type: PropType<boolean>;
|
|
107
103
|
default: boolean;
|
|
108
104
|
};
|
|
105
|
+
size: {
|
|
106
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
109
|
title: {
|
|
110
110
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
111
111
|
default: undefined;
|
|
@@ -114,14 +114,14 @@ export declare const PlusCheckCard: {
|
|
|
114
114
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
115
115
|
default: undefined;
|
|
116
116
|
};
|
|
117
|
-
disabled: {
|
|
118
|
-
type: PropType<boolean>;
|
|
119
|
-
default: boolean;
|
|
120
|
-
};
|
|
121
117
|
extra: {
|
|
122
118
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
123
119
|
default: undefined;
|
|
124
120
|
};
|
|
121
|
+
modelValue: {
|
|
122
|
+
type: PropType<boolean>;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
125
|
description: {
|
|
126
126
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
127
127
|
default: undefined;
|
|
@@ -131,16 +131,16 @@ export declare const PlusCheckCard: {
|
|
|
131
131
|
default: () => {};
|
|
132
132
|
};
|
|
133
133
|
}>> & {
|
|
134
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
135
134
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
135
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
136
136
|
onExtra?: (() => any) | undefined;
|
|
137
137
|
}, {}, {}, {}, {}, {
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
disabled: boolean;
|
|
139
|
+
size: "" | "large" | "default" | "small";
|
|
140
140
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
141
141
|
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
142
|
-
disabled: boolean;
|
|
143
142
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
143
|
+
modelValue: boolean;
|
|
144
144
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
145
145
|
avatarProps: RecordType;
|
|
146
146
|
}>;
|
|
@@ -148,14 +148,14 @@ export declare const PlusCheckCard: {
|
|
|
148
148
|
__isTeleport?: undefined;
|
|
149
149
|
__isSuspense?: undefined;
|
|
150
150
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
151
|
-
|
|
152
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
153
|
-
default: string;
|
|
154
|
-
};
|
|
155
|
-
modelValue: {
|
|
151
|
+
disabled: {
|
|
156
152
|
type: PropType<boolean>;
|
|
157
153
|
default: boolean;
|
|
158
154
|
};
|
|
155
|
+
size: {
|
|
156
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
159
|
title: {
|
|
160
160
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
161
161
|
default: undefined;
|
|
@@ -164,14 +164,14 @@ export declare const PlusCheckCard: {
|
|
|
164
164
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
165
165
|
default: undefined;
|
|
166
166
|
};
|
|
167
|
-
disabled: {
|
|
168
|
-
type: PropType<boolean>;
|
|
169
|
-
default: boolean;
|
|
170
|
-
};
|
|
171
167
|
extra: {
|
|
172
168
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
173
169
|
default: undefined;
|
|
174
170
|
};
|
|
171
|
+
modelValue: {
|
|
172
|
+
type: PropType<boolean>;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
175
|
description: {
|
|
176
176
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
177
177
|
default: undefined;
|
|
@@ -181,20 +181,20 @@ export declare const PlusCheckCard: {
|
|
|
181
181
|
default: () => {};
|
|
182
182
|
};
|
|
183
183
|
}>> & {
|
|
184
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
185
184
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
185
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
186
186
|
onExtra?: (() => any) | undefined;
|
|
187
187
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
188
188
|
"update:modelValue": (checked: boolean) => void;
|
|
189
189
|
change: (checked: boolean) => void;
|
|
190
190
|
extra: () => void;
|
|
191
191
|
}, string, {
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
disabled: boolean;
|
|
193
|
+
size: "" | "large" | "default" | "small";
|
|
194
194
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
195
195
|
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
196
|
-
disabled: boolean;
|
|
197
196
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
197
|
+
modelValue: boolean;
|
|
198
198
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
199
199
|
avatarProps: RecordType;
|
|
200
200
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -43,16 +43,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
43
43
|
extra: undefined;
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
}>>> & {
|
|
46
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
47
46
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
47
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
48
48
|
onExtra?: (() => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
size: "" | "large" | "default" | "small";
|
|
52
52
|
title: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
53
53
|
avatar: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
54
|
-
disabled: boolean;
|
|
55
54
|
extra: (data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
55
|
+
modelValue: boolean;
|
|
56
56
|
description: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
57
57
|
avatarProps: RecordType;
|
|
58
58
|
}, {}>, {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { PlusCheckCardProps, RenderTypes } from 'packages/yc-components';
|
|
2
1
|
import { ValueType } from './src/index.vue';
|
|
2
|
+
import { PlusCheckCardProps, RenderTypes } from 'packages/yc-components';
|
|
3
3
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
4
4
|
export type { PlusCheckCardGroupProps } from './src/index.vue';
|
|
5
5
|
export declare const PlusCheckCardGroup: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
|
-
size: {
|
|
8
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
9
|
-
default: undefined;
|
|
10
|
-
};
|
|
11
|
-
modelValue: {
|
|
12
|
-
type: PropType<ValueType>;
|
|
13
|
-
default: () => never[];
|
|
14
|
-
};
|
|
15
7
|
disabled: {
|
|
16
8
|
type: PropType<boolean>;
|
|
17
9
|
default: boolean;
|
|
18
10
|
};
|
|
11
|
+
size: {
|
|
12
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
19
15
|
options: {
|
|
20
16
|
type: PropType<( PlusCheckCardProps & {
|
|
21
17
|
value: string | number;
|
|
22
18
|
})[]>;
|
|
23
19
|
default: () => never[];
|
|
24
20
|
};
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: PropType<ValueType>;
|
|
23
|
+
default: () => never[];
|
|
24
|
+
};
|
|
25
25
|
multiple: {
|
|
26
26
|
type: PropType<boolean>;
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
29
|
}>> & {
|
|
30
|
-
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
31
30
|
onChange?: ((checked: ValueType) => any) | undefined;
|
|
31
|
+
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
32
32
|
onExtra?: ((item: PlusCheckCardProps & {
|
|
33
33
|
value: string | number;
|
|
34
34
|
}) => any) | undefined;
|
|
@@ -39,41 +39,41 @@ export declare const PlusCheckCardGroup: {
|
|
|
39
39
|
value: string | number;
|
|
40
40
|
}) => void;
|
|
41
41
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
42
|
-
size: {
|
|
43
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
44
|
-
default: undefined;
|
|
45
|
-
};
|
|
46
|
-
modelValue: {
|
|
47
|
-
type: PropType<ValueType>;
|
|
48
|
-
default: () => never[];
|
|
49
|
-
};
|
|
50
42
|
disabled: {
|
|
51
43
|
type: PropType<boolean>;
|
|
52
44
|
default: boolean;
|
|
53
45
|
};
|
|
46
|
+
size: {
|
|
47
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
54
50
|
options: {
|
|
55
51
|
type: PropType<( PlusCheckCardProps & {
|
|
56
52
|
value: string | number;
|
|
57
53
|
})[]>;
|
|
58
54
|
default: () => never[];
|
|
59
55
|
};
|
|
56
|
+
modelValue: {
|
|
57
|
+
type: PropType<ValueType>;
|
|
58
|
+
default: () => never[];
|
|
59
|
+
};
|
|
60
60
|
multiple: {
|
|
61
61
|
type: PropType<boolean>;
|
|
62
62
|
default: boolean;
|
|
63
63
|
};
|
|
64
64
|
}>> & {
|
|
65
|
-
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
66
65
|
onChange?: ((checked: ValueType) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
67
67
|
onExtra?: ((item: PlusCheckCardProps & {
|
|
68
68
|
value: string | number;
|
|
69
69
|
}) => any) | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
size: "" | "default" | "small" | "large";
|
|
72
|
-
modelValue: ValueType;
|
|
73
71
|
disabled: boolean;
|
|
72
|
+
size: "" | "large" | "default" | "small";
|
|
74
73
|
options: ( PlusCheckCardProps & {
|
|
75
74
|
value: string | number;
|
|
76
75
|
})[];
|
|
76
|
+
modelValue: ValueType;
|
|
77
77
|
multiple: boolean;
|
|
78
78
|
}, true, {}, {}, {
|
|
79
79
|
P: {};
|
|
@@ -83,72 +83,72 @@ export declare const PlusCheckCardGroup: {
|
|
|
83
83
|
M: {};
|
|
84
84
|
Defaults: {};
|
|
85
85
|
}, Readonly< ExtractPropTypes<{
|
|
86
|
-
size: {
|
|
87
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
88
|
-
default: undefined;
|
|
89
|
-
};
|
|
90
|
-
modelValue: {
|
|
91
|
-
type: PropType<ValueType>;
|
|
92
|
-
default: () => never[];
|
|
93
|
-
};
|
|
94
86
|
disabled: {
|
|
95
87
|
type: PropType<boolean>;
|
|
96
88
|
default: boolean;
|
|
97
89
|
};
|
|
90
|
+
size: {
|
|
91
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
98
94
|
options: {
|
|
99
95
|
type: PropType<( PlusCheckCardProps & {
|
|
100
96
|
value: string | number;
|
|
101
97
|
})[]>;
|
|
102
98
|
default: () => never[];
|
|
103
99
|
};
|
|
100
|
+
modelValue: {
|
|
101
|
+
type: PropType<ValueType>;
|
|
102
|
+
default: () => never[];
|
|
103
|
+
};
|
|
104
104
|
multiple: {
|
|
105
105
|
type: PropType<boolean>;
|
|
106
106
|
default: boolean;
|
|
107
107
|
};
|
|
108
108
|
}>> & {
|
|
109
|
-
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
110
109
|
onChange?: ((checked: ValueType) => any) | undefined;
|
|
110
|
+
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
111
111
|
onExtra?: ((item: PlusCheckCardProps & {
|
|
112
112
|
value: string | number;
|
|
113
113
|
}) => any) | undefined;
|
|
114
114
|
}, {}, {}, {}, {}, {
|
|
115
|
-
size: "" | "default" | "small" | "large";
|
|
116
|
-
modelValue: ValueType;
|
|
117
115
|
disabled: boolean;
|
|
116
|
+
size: "" | "large" | "default" | "small";
|
|
118
117
|
options: ( PlusCheckCardProps & {
|
|
119
118
|
value: string | number;
|
|
120
119
|
})[];
|
|
120
|
+
modelValue: ValueType;
|
|
121
121
|
multiple: boolean;
|
|
122
122
|
}>;
|
|
123
123
|
__isFragment?: undefined;
|
|
124
124
|
__isTeleport?: undefined;
|
|
125
125
|
__isSuspense?: undefined;
|
|
126
126
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
127
|
-
size: {
|
|
128
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
129
|
-
default: undefined;
|
|
130
|
-
};
|
|
131
|
-
modelValue: {
|
|
132
|
-
type: PropType<ValueType>;
|
|
133
|
-
default: () => never[];
|
|
134
|
-
};
|
|
135
127
|
disabled: {
|
|
136
128
|
type: PropType<boolean>;
|
|
137
129
|
default: boolean;
|
|
138
130
|
};
|
|
131
|
+
size: {
|
|
132
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
139
135
|
options: {
|
|
140
136
|
type: PropType<( PlusCheckCardProps & {
|
|
141
137
|
value: string | number;
|
|
142
138
|
})[]>;
|
|
143
139
|
default: () => never[];
|
|
144
140
|
};
|
|
141
|
+
modelValue: {
|
|
142
|
+
type: PropType<ValueType>;
|
|
143
|
+
default: () => never[];
|
|
144
|
+
};
|
|
145
145
|
multiple: {
|
|
146
146
|
type: PropType<boolean>;
|
|
147
147
|
default: boolean;
|
|
148
148
|
};
|
|
149
149
|
}>> & {
|
|
150
|
-
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
151
150
|
onChange?: ((checked: ValueType) => any) | undefined;
|
|
151
|
+
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
152
152
|
onExtra?: ((item: PlusCheckCardProps & {
|
|
153
153
|
value: string | number;
|
|
154
154
|
}) => any) | undefined;
|
|
@@ -159,12 +159,12 @@ export declare const PlusCheckCardGroup: {
|
|
|
159
159
|
value: string | number;
|
|
160
160
|
}) => void;
|
|
161
161
|
}, string, {
|
|
162
|
-
size: "" | "default" | "small" | "large";
|
|
163
|
-
modelValue: ValueType;
|
|
164
162
|
disabled: boolean;
|
|
163
|
+
size: "" | "large" | "default" | "small";
|
|
165
164
|
options: ( PlusCheckCardProps & {
|
|
166
165
|
value: string | number;
|
|
167
166
|
})[];
|
|
167
|
+
modelValue: ValueType;
|
|
168
168
|
multiple: boolean;
|
|
169
169
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
170
170
|
$slots: Partial<Record<string, (_: {
|
|
@@ -45,18 +45,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
45
45
|
disabled: boolean;
|
|
46
46
|
multiple: boolean;
|
|
47
47
|
}>>> & {
|
|
48
|
-
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
49
48
|
onChange?: ((checked: ValueType) => any) | undefined;
|
|
49
|
+
"onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
|
|
50
50
|
onExtra?: ((item: PlusCheckCardProps & {
|
|
51
51
|
value: string | number;
|
|
52
52
|
}) => any) | undefined;
|
|
53
53
|
}, {
|
|
54
|
-
size: "" | "default" | "small" | "large";
|
|
55
|
-
modelValue: ValueType;
|
|
56
54
|
disabled: boolean;
|
|
55
|
+
size: "" | "large" | "default" | "small";
|
|
57
56
|
options: (PlusCheckCardProps & {
|
|
58
57
|
value: string | number;
|
|
59
58
|
})[];
|
|
59
|
+
modelValue: ValueType;
|
|
60
60
|
multiple: boolean;
|
|
61
61
|
}, {}>, Partial<Record<string, (_: {
|
|
62
62
|
avatar: string | undefined;
|
|
@@ -8,6 +8,10 @@ import { default as DatePicker } from './src/index.vue';
|
|
|
8
8
|
export type PlusDatePickerInstance = InstanceType<typeof DatePicker>;
|
|
9
9
|
export type { PlusDatePickerProps } from './src/index.vue';
|
|
10
10
|
export declare const PlusDatePicker: DefineComponent<{
|
|
11
|
+
disabled: {
|
|
12
|
+
type: PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
11
15
|
type: {
|
|
12
16
|
type: PropType<"date" | "year" | "month" | "dates" | "week" | "datetime">;
|
|
13
17
|
default: string;
|
|
@@ -16,10 +20,6 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
16
20
|
type: PropType<string[]>;
|
|
17
21
|
default: () => never[];
|
|
18
22
|
};
|
|
19
|
-
disabled: {
|
|
20
|
-
type: PropType<boolean>;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
23
|
valueFormat: {
|
|
24
24
|
type: PropType<string>;
|
|
25
25
|
default: string;
|
|
@@ -105,7 +105,7 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
105
105
|
readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
106
106
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
|
|
107
107
|
readonly size: {
|
|
108
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
108
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
109
109
|
readonly required: false;
|
|
110
110
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
111
111
|
__epPropKey: true;
|
|
@@ -193,7 +193,7 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
193
193
|
readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
194
194
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
|
|
195
195
|
readonly size: {
|
|
196
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
196
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
197
197
|
readonly required: false;
|
|
198
198
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
199
199
|
__epPropKey: true;
|
|
@@ -308,7 +308,7 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
308
308
|
readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
309
309
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
|
|
310
310
|
readonly size: {
|
|
311
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
311
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
312
312
|
readonly required: false;
|
|
313
313
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
314
314
|
__epPropKey: true;
|
|
@@ -417,7 +417,7 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
417
417
|
readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
418
418
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
|
|
419
419
|
readonly size: {
|
|
420
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
420
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
421
421
|
readonly required: false;
|
|
422
422
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
423
423
|
__epPropKey: true;
|
|
@@ -505,7 +505,7 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
505
505
|
readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
506
506
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
|
|
507
507
|
readonly size: {
|
|
508
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
508
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
509
509
|
readonly required: false;
|
|
510
510
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
511
511
|
__epPropKey: true;
|
|
@@ -620,7 +620,7 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
620
620
|
readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
621
621
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
|
|
622
622
|
readonly size: {
|
|
623
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
623
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
624
624
|
readonly required: false;
|
|
625
625
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
626
626
|
__epPropKey: true;
|
|
@@ -674,6 +674,10 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
674
674
|
focus: (event: FocusEvent) => void;
|
|
675
675
|
"update:modelValue": (value: string[]) => void;
|
|
676
676
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
677
|
+
disabled: {
|
|
678
|
+
type: PropType<boolean>;
|
|
679
|
+
default: boolean;
|
|
680
|
+
};
|
|
677
681
|
type: {
|
|
678
682
|
type: PropType<"date" | "year" | "month" | "dates" | "week" | "datetime">;
|
|
679
683
|
default: string;
|
|
@@ -682,10 +686,6 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
682
686
|
type: PropType<string[]>;
|
|
683
687
|
default: () => never[];
|
|
684
688
|
};
|
|
685
|
-
disabled: {
|
|
686
|
-
type: PropType<boolean>;
|
|
687
|
-
default: boolean;
|
|
688
|
-
};
|
|
689
689
|
valueFormat: {
|
|
690
690
|
type: PropType<string>;
|
|
691
691
|
default: string;
|
|
@@ -711,13 +711,13 @@ export declare const PlusDatePicker: DefineComponent<{
|
|
|
711
711
|
default: (endTime: any, startValue: any) => boolean;
|
|
712
712
|
};
|
|
713
713
|
}>> & {
|
|
714
|
-
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
715
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
716
714
|
onChange?: ((value: string[]) => any) | undefined;
|
|
715
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
716
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
717
717
|
}, {
|
|
718
|
+
disabled: boolean;
|
|
718
719
|
type: "date" | "year" | "month" | "dates" | "week" | "datetime";
|
|
719
720
|
modelValue: string[];
|
|
720
|
-
disabled: boolean;
|
|
721
721
|
valueFormat: string;
|
|
722
722
|
rangeSeparator: string;
|
|
723
723
|
startProps: Partial< DatePickerProps>;
|