element-ps 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +6 -8
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +4 -4
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +6 -8
- package/es/components/alert/index.d.ts +3 -3
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +3 -3
- package/es/components/autocomplete/index.d.ts +2 -2
- package/es/components/autocomplete/src/index.vue.d.ts +1 -1
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/avatar/src/avatar.vue.d.ts +3 -3
- package/es/components/badge/index.d.ts +3 -3
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +3 -3
- package/es/components/button/index.d.ts +30 -30
- package/es/components/button/src/button-group.d.ts +2 -2
- package/es/components/button/src/button-group.vue.d.ts +6 -6
- package/es/components/button/src/button.d.ts +3 -3
- package/es/components/button/src/button.vue.d.ts +18 -18
- package/es/components/cascader/index.d.ts +14 -14
- package/es/components/cascader/src/index.vue.d.ts +7 -7
- package/es/components/checkbox/index.d.ts +27 -27
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox.vue.d.ts +7 -7
- package/es/components/checkbox/src/useCheckbox.d.ts +4 -4
- package/es/components/collapse/index.d.ts +4 -4
- package/es/components/collapse/src/collapse-item.vue.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +4 -4
- package/es/components/date-picker/src/date-picker.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +4 -4
- package/es/components/descriptions/src/description-item.d.ts +2 -2
- package/es/components/drawer/index.d.ts +4 -4
- package/es/components/drawer/src/index.vue.d.ts +2 -2
- package/es/components/dropdown/index.d.ts +6 -6
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +4 -4
- package/es/components/form/index.d.ts +5 -5
- package/es/components/form/src/form-item.vue.d.ts +1 -1
- package/es/components/form/src/form.vue.d.ts +3 -3
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/src/input.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +3 -3
- package/es/components/input-number/index.d.ts +3 -3
- package/es/components/input-number/src/input-number.d.ts +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +3 -3
- package/es/components/link/index.d.ts +7 -7
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +7 -7
- package/es/components/page-header/index.d.ts +2 -2
- package/es/components/page-header/src/page-header.vue.d.ts +2 -2
- package/es/components/pagination/index.d.ts +2 -2
- package/es/components/pagination/src/pagination.d.ts +2 -2
- package/es/components/popconfirm/index.d.ts +6 -6
- package/es/components/popconfirm/src/index.vue.d.ts +6 -6
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popover/index.d.ts +8 -8
- package/es/components/popover/src/index.vue.d.ts +4 -4
- package/es/components/popper/index.d.ts +4 -4
- package/es/components/popper/src/index.vue.d.ts +2 -2
- package/es/components/radio/index.d.ts +16 -16
- package/es/components/radio/src/radio-button.vue.d.ts +3 -3
- package/es/components/radio/src/radio-group.vue.d.ts +3 -3
- package/es/components/radio/src/radio.vue.d.ts +4 -4
- package/es/components/rate/index.d.ts +10 -10
- package/es/components/rate/src/index.vue.d.ts +5 -5
- package/es/components/scrollbar/index.d.ts +4 -4
- package/es/components/scrollbar/src/index.vue.d.ts +2 -2
- package/es/components/select/index.d.ts +12 -12
- package/es/components/select/src/option.vue.d.ts +2 -2
- package/es/components/select/src/select.vue.d.ts +8 -8
- package/es/components/select-v2/index.d.ts +10 -10
- package/es/components/select-v2/src/select.vue.d.ts +5 -5
- package/es/components/slider/index.d.ts +4 -4
- package/es/components/slider/src/index.vue.d.ts +2 -2
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/src/space.d.ts +4 -4
- package/es/components/steps/index.d.ts +1 -1
- package/es/components/steps/src/index.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +9 -9
- package/es/components/table/src/table/defaults.d.ts +4 -4
- package/es/components/table/src/table-column/defaults.d.ts +2 -2
- package/es/components/table/src/table-column/index.d.ts +2 -2
- package/es/components/table/src/table.vue.d.ts +5 -5
- package/es/components/tabs/index.d.ts +4 -4
- package/es/components/tabs/src/tab-pane.vue.d.ts +2 -2
- package/es/components/tag/index.d.ts +6 -6
- package/es/components/tag/src/tag.d.ts +2 -2
- package/es/components/tag/src/tag.vue.d.ts +6 -6
- package/es/components/time-picker/index.d.ts +4 -4
- package/es/components/time-picker/src/common/picker.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +2 -2
- package/es/components/time-select/index.d.ts +8 -8
- package/es/components/time-select/src/time-select.vue.d.ts +4 -4
- package/es/components/timeline/index.d.ts +4 -4
- package/es/components/timeline/src/item.vue.d.ts +2 -2
- package/es/components/tooltip/index.d.ts +6 -6
- package/es/components/tooltip/src/index.vue.d.ts +3 -3
- package/es/components/tree-v2/index.d.ts +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +2 -2
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/components/upload/index.d.ts +4 -4
- package/es/components/upload/src/index.vue.d.ts +2 -2
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/es/hooks/use-form-item/index.d.ts +1 -1
- package/es/index.mjs +2 -2
- package/es/packages/components/button/index.mjs +1 -1
- package/es/packages/components/button/src/button-group.mjs +7 -5
- package/es/packages/components/button/src/button-group.mjs.map +1 -1
- package/es/packages/components/button/src/button-group.vue_vue&type=script&lang.mjs +1 -1
- package/es/packages/components/button/src/button-group2.mjs +5 -7
- package/es/packages/components/button/src/button-group2.mjs.map +1 -1
- package/es/packages/components/card/index.mjs +2 -2
- package/es/packages/components/card/src/card.mjs +5 -17
- package/es/packages/components/card/src/card.mjs.map +1 -1
- package/es/packages/components/card/src/card.vue_vue&type=script&lang.mjs +1 -1
- package/es/packages/components/card/src/card2.mjs +17 -5
- package/es/packages/components/card/src/card2.mjs.map +1 -1
- package/es/packages/components/empty/index.mjs +2 -2
- package/es/packages/components/empty/src/empty.mjs +5 -12
- package/es/packages/components/empty/src/empty.mjs.map +1 -1
- package/es/packages/components/empty/src/empty.vue_vue&type=script&lang.mjs +1 -1
- package/es/packages/components/empty/src/empty2.mjs +12 -5
- package/es/packages/components/empty/src/empty2.mjs.map +1 -1
- package/es/packages/components/index.mjs +2 -2
- package/es/packages/components/tabs/src/tabs.mjs +5 -7
- package/es/packages/components/tabs/src/tabs.mjs.map +1 -1
- package/es/utils/util.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/alert/index.d.ts +3 -3
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +3 -3
- package/lib/components/autocomplete/index.d.ts +2 -2
- package/lib/components/autocomplete/src/index.vue.d.ts +1 -1
- package/lib/components/avatar/index.d.ts +3 -3
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/avatar/src/avatar.vue.d.ts +3 -3
- package/lib/components/badge/index.d.ts +3 -3
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +3 -3
- package/lib/components/button/index.d.ts +30 -30
- package/lib/components/button/src/button-group.d.ts +2 -2
- package/lib/components/button/src/button-group.vue.d.ts +6 -6
- package/lib/components/button/src/button.d.ts +3 -3
- package/lib/components/button/src/button.vue.d.ts +18 -18
- package/lib/components/cascader/index.d.ts +14 -14
- package/lib/components/cascader/src/index.vue.d.ts +7 -7
- package/lib/components/checkbox/index.d.ts +27 -27
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox.vue.d.ts +7 -7
- package/lib/components/checkbox/src/useCheckbox.d.ts +4 -4
- package/lib/components/collapse/index.d.ts +4 -4
- package/lib/components/collapse/src/collapse-item.vue.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +4 -4
- package/lib/components/date-picker/src/date-picker.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +4 -4
- package/lib/components/descriptions/src/description-item.d.ts +2 -2
- package/lib/components/drawer/index.d.ts +4 -4
- package/lib/components/drawer/src/index.vue.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +6 -6
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +4 -4
- package/lib/components/form/index.d.ts +5 -5
- package/lib/components/form/src/form-item.vue.d.ts +1 -1
- package/lib/components/form/src/form.vue.d.ts +3 -3
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/src/input.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +3 -3
- package/lib/components/input-number/index.d.ts +3 -3
- package/lib/components/input-number/src/input-number.d.ts +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +3 -3
- package/lib/components/link/index.d.ts +7 -7
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +7 -7
- package/lib/components/page-header/index.d.ts +2 -2
- package/lib/components/page-header/src/page-header.vue.d.ts +2 -2
- package/lib/components/pagination/index.d.ts +2 -2
- package/lib/components/pagination/src/pagination.d.ts +2 -2
- package/lib/components/popconfirm/index.d.ts +6 -6
- package/lib/components/popconfirm/src/index.vue.d.ts +6 -6
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popover/index.d.ts +8 -8
- package/lib/components/popover/src/index.vue.d.ts +4 -4
- package/lib/components/popper/index.d.ts +4 -4
- package/lib/components/popper/src/index.vue.d.ts +2 -2
- package/lib/components/radio/index.d.ts +16 -16
- package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-group.vue.d.ts +3 -3
- package/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/lib/components/rate/index.d.ts +10 -10
- package/lib/components/rate/src/index.vue.d.ts +5 -5
- package/lib/components/scrollbar/index.d.ts +4 -4
- package/lib/components/scrollbar/src/index.vue.d.ts +2 -2
- package/lib/components/select/index.d.ts +12 -12
- package/lib/components/select/src/option.vue.d.ts +2 -2
- package/lib/components/select/src/select.vue.d.ts +8 -8
- package/lib/components/select-v2/index.d.ts +10 -10
- package/lib/components/select-v2/src/select.vue.d.ts +5 -5
- package/lib/components/slider/index.d.ts +4 -4
- package/lib/components/slider/src/index.vue.d.ts +2 -2
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/src/space.d.ts +4 -4
- package/lib/components/steps/index.d.ts +1 -1
- package/lib/components/steps/src/index.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +9 -9
- package/lib/components/table/src/table/defaults.d.ts +4 -4
- package/lib/components/table/src/table-column/defaults.d.ts +2 -2
- package/lib/components/table/src/table-column/index.d.ts +2 -2
- package/lib/components/table/src/table.vue.d.ts +5 -5
- package/lib/components/tabs/index.d.ts +4 -4
- package/lib/components/tabs/src/tab-pane.vue.d.ts +2 -2
- package/lib/components/tag/index.d.ts +6 -6
- package/lib/components/tag/src/tag.d.ts +2 -2
- package/lib/components/tag/src/tag.vue.d.ts +6 -6
- package/lib/components/time-picker/index.d.ts +4 -4
- package/lib/components/time-picker/src/common/picker.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +2 -2
- package/lib/components/time-select/index.d.ts +8 -8
- package/lib/components/time-select/src/time-select.vue.d.ts +4 -4
- package/lib/components/timeline/index.d.ts +4 -4
- package/lib/components/timeline/src/item.vue.d.ts +2 -2
- package/lib/components/tooltip/index.d.ts +6 -6
- package/lib/components/tooltip/src/index.vue.d.ts +3 -3
- package/lib/components/tree-v2/index.d.ts +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +2 -2
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/index.d.ts +4 -4
- package/lib/components/upload/src/index.vue.d.ts +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/lib/hooks/use-form-item/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/packages/components/button/index.js +1 -1
- package/lib/packages/components/button/src/button-group.js +6 -5
- package/lib/packages/components/button/src/button-group.js.map +1 -1
- package/lib/packages/components/button/src/button-group.vue_vue&type=script&lang.js +1 -1
- package/lib/packages/components/button/src/button-group2.js +5 -6
- package/lib/packages/components/button/src/button-group2.js.map +1 -1
- package/lib/packages/components/card/index.js +2 -2
- package/lib/packages/components/card/src/card.js +5 -16
- package/lib/packages/components/card/src/card.js.map +1 -1
- package/lib/packages/components/card/src/card.vue_vue&type=script&lang.js +1 -1
- package/lib/packages/components/card/src/card2.js +16 -5
- package/lib/packages/components/card/src/card2.js.map +1 -1
- package/lib/packages/components/empty/index.js +2 -2
- package/lib/packages/components/empty/src/empty.js +6 -12
- package/lib/packages/components/empty/src/empty.js.map +1 -1
- package/lib/packages/components/empty/src/empty.vue_vue&type=script&lang.js +1 -1
- package/lib/packages/components/empty/src/empty2.js +12 -6
- package/lib/packages/components/empty/src/empty2.js.map +1 -1
- package/lib/packages/components/index.js +2 -2
- package/lib/packages/components/tabs/src/tabs.js +4 -6
- package/lib/packages/components/tabs/src/tabs.js.map +1 -1
- package/lib/utils/util.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/dist/index.full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v1.0.
|
|
1
|
+
/*! Element Plus v1.0.1 */
|
|
2
2
|
|
|
3
3
|
import { getCurrentInstance, computed, isRef, onUnmounted, watch, inject, ref, provide, warn, unref, defineComponent, shallowRef, reactive, onMounted, openBlock, createElementBlock, normalizeStyle, createElementVNode, normalizeClass, renderSlot, mergeProps, createBlock, createVNode, resolveComponent, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, Fragment, vShow, nextTick, onUpdated, createSlots, getCurrentScope, onScopeDispose, toRef, onBeforeUnmount, renderList, toRefs, vModelCheckbox, vModelRadio, withModifiers, h, vModelText, isVNode, Comment, camelize as camelize$1, Teleport, cloneVNode, onActivated, onDeactivated, watchEffect, normalizeProps, guardReactiveProps, onBeforeMount, TransitionGroup, render as render$28 } from 'vue';
|
|
4
4
|
|
|
@@ -3120,7 +3120,7 @@ const useGlobalConfig = () => {
|
|
|
3120
3120
|
return inject(configProviderContextKey, defaultConfig);
|
|
3121
3121
|
};
|
|
3122
3122
|
|
|
3123
|
-
const version$1 = "1.0.
|
|
3123
|
+
const version$1 = "1.0.1";
|
|
3124
3124
|
|
|
3125
3125
|
const makeInstaller = (components = []) => {
|
|
3126
3126
|
const apps = [];
|
|
@@ -24571,12 +24571,10 @@ var Tabs = defineComponent({
|
|
|
24571
24571
|
panes.value = [];
|
|
24572
24572
|
}
|
|
24573
24573
|
};
|
|
24574
|
-
onUpdated(() =>
|
|
24575
|
-
|
|
24576
|
-
|
|
24577
|
-
|
|
24578
|
-
setPaneInstances();
|
|
24579
|
-
});
|
|
24574
|
+
onUpdated(() => setPaneInstances());
|
|
24575
|
+
onMounted(() => setPaneInstances());
|
|
24576
|
+
watch(() => props.activeName, (modelValue) => currentName.value = modelValue);
|
|
24577
|
+
watch(() => props.modelValue, (modelValue) => currentName.value = modelValue);
|
|
24580
24578
|
return {
|
|
24581
24579
|
nav$,
|
|
24582
24580
|
currentName,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const PsAlert: import("../../utils/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
readonly title: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
3
3
|
readonly description: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
4
|
-
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "info", unknown, "success" | "warning" | "
|
|
4
|
+
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "info", unknown, "success" | "warning" | "info" | "error", unknown>;
|
|
5
5
|
readonly closable: import("../../utils/props").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
6
6
|
readonly closeText: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
7
7
|
readonly showIcon: BooleanConstructor;
|
|
@@ -23,7 +23,7 @@ export declare const PsAlert: import("../../utils/types").SFCWithInstall<import(
|
|
|
23
23
|
readonly center?: unknown;
|
|
24
24
|
readonly effect?: unknown;
|
|
25
25
|
} & {
|
|
26
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "success" | "warning" | "
|
|
26
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "success" | "warning" | "info" | "error", unknown>;
|
|
27
27
|
description: string;
|
|
28
28
|
center: boolean;
|
|
29
29
|
title: string;
|
|
@@ -32,7 +32,7 @@ export declare const PsAlert: import("../../utils/types").SFCWithInstall<import(
|
|
|
32
32
|
effect: import("../../utils/props").BuildPropType<StringConstructor, "dark" | "light", unknown>;
|
|
33
33
|
showIcon: boolean;
|
|
34
34
|
} & {}>, {
|
|
35
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "success" | "warning" | "
|
|
35
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "success" | "warning" | "info" | "error", unknown>;
|
|
36
36
|
description: string;
|
|
37
37
|
center: boolean;
|
|
38
38
|
title: string;
|
|
@@ -3,7 +3,7 @@ export declare type AlertEffect = 'light' | 'dark';
|
|
|
3
3
|
export declare const alertProps: {
|
|
4
4
|
readonly title: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
5
5
|
readonly description: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
6
|
-
readonly type: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "info", unknown, "success" | "warning" | "
|
|
6
|
+
readonly type: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "info", unknown, "success" | "warning" | "info" | "error", unknown>;
|
|
7
7
|
readonly closable: import("element-ps/es/utils/props").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
8
8
|
readonly closeText: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
9
9
|
readonly showIcon: BooleanConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
readonly title: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
3
3
|
readonly description: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
4
|
-
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "info", unknown, "success" | "warning" | "
|
|
4
|
+
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "info", unknown, "success" | "warning" | "info" | "error", unknown>;
|
|
5
5
|
readonly closable: import("../../../utils/props").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
6
6
|
readonly closeText: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
7
7
|
readonly showIcon: BooleanConstructor;
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
readonly center?: unknown;
|
|
24
24
|
readonly effect?: unknown;
|
|
25
25
|
} & {
|
|
26
|
-
type: import("../../../utils/props").BuildPropType<StringConstructor, "success" | "warning" | "
|
|
26
|
+
type: import("../../../utils/props").BuildPropType<StringConstructor, "success" | "warning" | "info" | "error", unknown>;
|
|
27
27
|
description: string;
|
|
28
28
|
center: boolean;
|
|
29
29
|
title: string;
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
effect: import("../../../utils/props").BuildPropType<StringConstructor, "dark" | "light", unknown>;
|
|
33
33
|
showIcon: boolean;
|
|
34
34
|
} & {}>, {
|
|
35
|
-
type: import("../../../utils/props").BuildPropType<StringConstructor, "success" | "warning" | "
|
|
35
|
+
type: import("../../../utils/props").BuildPropType<StringConstructor, "success" | "warning" | "info" | "error", unknown>;
|
|
36
36
|
description: string;
|
|
37
37
|
center: boolean;
|
|
38
38
|
title: string;
|
|
@@ -5,7 +5,7 @@ declare const _Autocomplete: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
modelValue: {
|
|
8
|
-
type: (
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
debounce: {
|
|
@@ -112,7 +112,7 @@ export declare const PsAutocomplete: SFCWithInstall<import("vue").DefineComponen
|
|
|
112
112
|
default: string;
|
|
113
113
|
};
|
|
114
114
|
modelValue: {
|
|
115
|
-
type: (
|
|
115
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
116
116
|
default: string;
|
|
117
117
|
};
|
|
118
118
|
debounce: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const PsAvatar: import("../../utils/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
readonly size: import("../../utils/props").BuildPropReturn<readonly [NumberConstructor, StringConstructor], "large", unknown, "small" | "
|
|
2
|
+
readonly size: import("../../utils/props").BuildPropReturn<readonly [NumberConstructor, StringConstructor], "large", unknown, "small" | "large" | "medium", number>;
|
|
3
3
|
readonly shape: import("../../utils/props").BuildPropReturn<StringConstructor, "circle", unknown, "circle" | "square", unknown>;
|
|
4
4
|
readonly icon: import("../../utils/props").BuildPropReturn<import("../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown, unknown, unknown>;
|
|
5
5
|
readonly src: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
@@ -20,7 +20,7 @@ export declare const PsAvatar: import("../../utils/types").SFCWithInstall<import
|
|
|
20
20
|
readonly srcSet?: unknown;
|
|
21
21
|
readonly fit?: unknown;
|
|
22
22
|
} & {
|
|
23
|
-
size: import("../../utils/props").BuildPropType<readonly [NumberConstructor, StringConstructor], "small" | "
|
|
23
|
+
size: import("../../utils/props").BuildPropType<readonly [NumberConstructor, StringConstructor], "small" | "large" | "medium", number>;
|
|
24
24
|
shape: import("../../utils/props").BuildPropType<StringConstructor, "circle" | "square", unknown>;
|
|
25
25
|
src: string;
|
|
26
26
|
fit: import("../../utils/props").BuildPropType<import("../../utils/props").PropWrapper<import("csstype").ObjectFitProperty>, unknown, unknown>;
|
|
@@ -29,7 +29,7 @@ export declare const PsAvatar: import("../../utils/types").SFCWithInstall<import
|
|
|
29
29
|
alt?: string | undefined;
|
|
30
30
|
srcSet?: string | undefined;
|
|
31
31
|
}>, {
|
|
32
|
-
size: import("../../utils/props").BuildPropType<readonly [NumberConstructor, StringConstructor], "small" | "
|
|
32
|
+
size: import("../../utils/props").BuildPropType<readonly [NumberConstructor, StringConstructor], "small" | "large" | "medium", number>;
|
|
33
33
|
icon: import("../../utils/props").BuildPropType<import("../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
34
34
|
shape: import("../../utils/props").BuildPropType<StringConstructor, "circle" | "square", unknown>;
|
|
35
35
|
src: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractPropTypes, Component } from 'vue';
|
|
2
2
|
import type { ObjectFitProperty } from 'csstype';
|
|
3
3
|
export declare const avatarProps: {
|
|
4
|
-
readonly size: import("element-ps/es/utils/props").BuildPropReturn<readonly [NumberConstructor, StringConstructor], "large", unknown, "small" | "
|
|
4
|
+
readonly size: import("element-ps/es/utils/props").BuildPropReturn<readonly [NumberConstructor, StringConstructor], "large", unknown, "small" | "large" | "medium", number>;
|
|
5
5
|
readonly shape: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "circle", unknown, "circle" | "square", unknown>;
|
|
6
6
|
readonly icon: import("element-ps/es/utils/props").BuildPropReturn<import("element-ps/es/utils/props").PropWrapper<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown, unknown, unknown>;
|
|
7
7
|
readonly src: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CSSProperties } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
readonly size: import("../../../utils/props").BuildPropReturn<readonly [NumberConstructor, StringConstructor], "large", unknown, "small" | "
|
|
3
|
+
readonly size: import("../../../utils/props").BuildPropReturn<readonly [NumberConstructor, StringConstructor], "large", unknown, "small" | "large" | "medium", number>;
|
|
4
4
|
readonly shape: import("../../../utils/props").BuildPropReturn<StringConstructor, "circle", unknown, "circle" | "square", unknown>;
|
|
5
5
|
readonly icon: import("../../../utils/props").BuildPropReturn<import("../../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown, unknown, unknown>;
|
|
6
6
|
readonly src: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
readonly srcSet?: unknown;
|
|
22
22
|
readonly fit?: unknown;
|
|
23
23
|
} & {
|
|
24
|
-
size: import("../../../utils/props").BuildPropType<readonly [NumberConstructor, StringConstructor], "small" | "
|
|
24
|
+
size: import("../../../utils/props").BuildPropType<readonly [NumberConstructor, StringConstructor], "small" | "large" | "medium", number>;
|
|
25
25
|
shape: import("../../../utils/props").BuildPropType<StringConstructor, "circle" | "square", unknown>;
|
|
26
26
|
src: string;
|
|
27
27
|
fit: import("../../../utils/props").BuildPropType<import("../../../utils/props").PropWrapper<import("csstype").ObjectFitProperty>, unknown, unknown>;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
alt?: string | undefined;
|
|
31
31
|
srcSet?: string | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
size: import("../../../utils/props").BuildPropType<readonly [NumberConstructor, StringConstructor], "small" | "
|
|
33
|
+
size: import("../../../utils/props").BuildPropType<readonly [NumberConstructor, StringConstructor], "small" | "large" | "medium", number>;
|
|
34
34
|
icon: import("../../../utils/props").BuildPropType<import("../../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
35
35
|
shape: import("../../../utils/props").BuildPropType<StringConstructor, "circle" | "square", unknown>;
|
|
36
36
|
src: string;
|
|
@@ -3,7 +3,7 @@ export declare const PsBadge: import("../../utils/types").SFCWithInstall<import(
|
|
|
3
3
|
readonly max: import("../../utils/props").BuildPropReturn<NumberConstructor, 99, unknown, unknown, unknown>;
|
|
4
4
|
readonly isDot: BooleanConstructor;
|
|
5
5
|
readonly hidden: BooleanConstructor;
|
|
6
|
-
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "danger", unknown, "
|
|
6
|
+
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "danger", unknown, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
7
7
|
}, {
|
|
8
8
|
content: import("vue").ComputedRef<string>;
|
|
9
9
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -13,13 +13,13 @@ export declare const PsBadge: import("../../utils/types").SFCWithInstall<import(
|
|
|
13
13
|
readonly hidden?: unknown;
|
|
14
14
|
readonly type?: unknown;
|
|
15
15
|
} & {
|
|
16
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "
|
|
16
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
17
17
|
hidden: boolean;
|
|
18
18
|
value: import("../../utils/props").BuildPropType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
19
19
|
max: number;
|
|
20
20
|
isDot: boolean;
|
|
21
21
|
} & {}>, {
|
|
22
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "
|
|
22
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
23
23
|
hidden: boolean;
|
|
24
24
|
value: import("../../utils/props").BuildPropType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
25
25
|
max: number;
|
|
@@ -4,6 +4,6 @@ export declare const badgeProps: {
|
|
|
4
4
|
readonly max: import("element-ps/es/utils/props").BuildPropReturn<NumberConstructor, 99, unknown, unknown, unknown>;
|
|
5
5
|
readonly isDot: BooleanConstructor;
|
|
6
6
|
readonly hidden: BooleanConstructor;
|
|
7
|
-
readonly type: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "danger", unknown, "
|
|
7
|
+
readonly type: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "danger", unknown, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
8
8
|
};
|
|
9
9
|
export declare type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
readonly max: import("../../../utils/props").BuildPropReturn<NumberConstructor, 99, unknown, unknown, unknown>;
|
|
4
4
|
readonly isDot: BooleanConstructor;
|
|
5
5
|
readonly hidden: BooleanConstructor;
|
|
6
|
-
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "danger", unknown, "
|
|
6
|
+
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "danger", unknown, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
7
7
|
}, {
|
|
8
8
|
content: import("vue").ComputedRef<string>;
|
|
9
9
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -13,13 +13,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
readonly hidden?: unknown;
|
|
14
14
|
readonly type?: unknown;
|
|
15
15
|
} & {
|
|
16
|
-
type: import("../../../utils/props").BuildPropType<StringConstructor, "
|
|
16
|
+
type: import("../../../utils/props").BuildPropType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
17
17
|
hidden: boolean;
|
|
18
18
|
value: import("../../../utils/props").BuildPropType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
19
19
|
max: number;
|
|
20
20
|
isDot: boolean;
|
|
21
21
|
} & {}>, {
|
|
22
|
-
type: import("../../../utils/props").BuildPropType<StringConstructor, "
|
|
22
|
+
type: import("../../../utils/props").BuildPropType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
23
23
|
hidden: boolean;
|
|
24
24
|
value: import("../../../utils/props").BuildPropType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
25
25
|
max: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const PsButton: import("../../utils/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "
|
|
2
|
+
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
3
3
|
readonly icon: import("../../utils/props").BuildPropReturn<import("../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
|
|
4
|
-
readonly nativeType: import("../../utils/props").BuildPropReturn<StringConstructor, "button", unknown, "button" | "
|
|
4
|
+
readonly nativeType: import("../../utils/props").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
|
|
5
5
|
readonly loading: BooleanConstructor;
|
|
6
6
|
readonly plain: BooleanConstructor;
|
|
7
7
|
readonly autofocus: BooleanConstructor;
|
|
@@ -9,12 +9,12 @@ export declare const PsButton: import("../../utils/types").SFCWithInstall<import
|
|
|
9
9
|
readonly circle: BooleanConstructor;
|
|
10
10
|
readonly color: StringConstructor;
|
|
11
11
|
readonly autoInsertSpace: import("../../utils/props").BuildPropReturn<BooleanConstructor, unknown, unknown, unknown, unknown>;
|
|
12
|
-
readonly size: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "
|
|
12
|
+
readonly size: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
13
13
|
readonly disabled: BooleanConstructor;
|
|
14
14
|
}, {
|
|
15
15
|
buttonStyle: import("vue").ComputedRef<{}>;
|
|
16
16
|
buttonSize: import("vue").ComputedRef<any>;
|
|
17
|
-
buttonType: import("vue").ComputedRef<"default" | "
|
|
17
|
+
buttonType: import("vue").ComputedRef<"default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
|
|
18
18
|
buttonDisabled: import("vue").ComputedRef<boolean>;
|
|
19
19
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
20
20
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -31,58 +31,58 @@ export declare const PsButton: import("../../utils/types").SFCWithInstall<import
|
|
|
31
31
|
readonly size?: unknown;
|
|
32
32
|
readonly disabled?: unknown;
|
|
33
33
|
} & {
|
|
34
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
35
|
-
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
36
|
-
round: boolean;
|
|
37
|
-
circle: boolean;
|
|
38
|
-
icon: import("../../utils/props").BuildPropType<import("../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
34
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
35
|
+
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
39
36
|
disabled: boolean;
|
|
37
|
+
icon: import("../../utils/props").BuildPropType<import("../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
38
|
+
nativeType: import("../../utils/props").BuildPropType<StringConstructor, "button" | "submit" | "reset", unknown>;
|
|
40
39
|
loading: boolean;
|
|
41
|
-
nativeType: import("../../utils/props").BuildPropType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
42
40
|
plain: boolean;
|
|
43
41
|
autofocus: boolean;
|
|
42
|
+
round: boolean;
|
|
43
|
+
circle: boolean;
|
|
44
44
|
} & {
|
|
45
|
-
color?: string | undefined;
|
|
46
45
|
autoInsertSpace?: import("../../utils/props").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
46
|
+
color?: string | undefined;
|
|
47
47
|
}>, {
|
|
48
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
49
|
-
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
50
|
-
round: boolean;
|
|
51
|
-
circle: boolean;
|
|
52
|
-
icon: import("../../utils/props").BuildPropType<import("../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
48
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
49
|
+
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
53
50
|
disabled: boolean;
|
|
54
|
-
|
|
55
|
-
nativeType: import("../../utils/props").BuildPropType<StringConstructor, "button" | "
|
|
51
|
+
icon: import("../../utils/props").BuildPropType<import("../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
52
|
+
nativeType: import("../../utils/props").BuildPropType<StringConstructor, "button" | "submit" | "reset", unknown>;
|
|
56
53
|
autoInsertSpace: import("../../utils/props").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
54
|
+
loading: boolean;
|
|
57
55
|
plain: boolean;
|
|
58
56
|
autofocus: boolean;
|
|
57
|
+
round: boolean;
|
|
58
|
+
circle: boolean;
|
|
59
59
|
}>> & {
|
|
60
60
|
ButtonGroup: import("vue").DefineComponent<{
|
|
61
|
-
readonly size: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "
|
|
62
|
-
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "
|
|
61
|
+
readonly size: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
62
|
+
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
63
63
|
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
64
64
|
readonly size?: unknown;
|
|
65
65
|
readonly type?: unknown;
|
|
66
66
|
} & {
|
|
67
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
68
|
-
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
67
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
68
|
+
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
69
69
|
} & {}>, {
|
|
70
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
71
|
-
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
70
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
71
|
+
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
72
72
|
}>;
|
|
73
73
|
};
|
|
74
74
|
export declare const PsButtonGroup: import("../../utils/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
75
|
-
readonly size: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "
|
|
76
|
-
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "
|
|
75
|
+
readonly size: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
76
|
+
readonly type: import("../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
77
77
|
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
78
78
|
readonly size?: unknown;
|
|
79
79
|
readonly type?: unknown;
|
|
80
80
|
} & {
|
|
81
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
82
|
-
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
81
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
82
|
+
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
83
83
|
} & {}>, {
|
|
84
|
-
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
85
|
-
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
84
|
+
type: import("../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
85
|
+
size: import("../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
86
86
|
}>>;
|
|
87
87
|
export default PsButton;
|
|
88
88
|
export * from './src/button';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
export declare const buttonGroupProps: {
|
|
3
|
-
readonly size: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "
|
|
4
|
-
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "
|
|
3
|
+
readonly size: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
4
|
+
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
5
5
|
};
|
|
6
6
|
export declare type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
readonly size: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "
|
|
3
|
-
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "
|
|
2
|
+
readonly size: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
3
|
+
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
4
4
|
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
5
5
|
readonly size?: unknown;
|
|
6
6
|
readonly type?: unknown;
|
|
7
7
|
} & {
|
|
8
|
-
type: import("../../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
9
|
-
size: import("../../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
8
|
+
type: import("../../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
9
|
+
size: import("../../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
10
10
|
} & {}>, {
|
|
11
|
-
type: import("../../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
12
|
-
size: import("../../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
11
|
+
type: import("../../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
12
|
+
size: import("../../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
@@ -3,9 +3,9 @@ export declare const buttonType: readonly ["default", "primary", "success", "war
|
|
|
3
3
|
export declare const buttonSize: readonly ["", "large", "medium", "small", "mini"];
|
|
4
4
|
export declare const buttonNativeType: readonly ["button", "submit", "reset"];
|
|
5
5
|
export declare const buttonProps: {
|
|
6
|
-
readonly type: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "
|
|
6
|
+
readonly type: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
7
7
|
readonly icon: import("element-ps/es/utils/props").BuildPropReturn<import("element-ps/es/utils/props").PropWrapper<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
|
|
8
|
-
readonly nativeType: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "button", unknown, "button" | "
|
|
8
|
+
readonly nativeType: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
|
|
9
9
|
readonly loading: BooleanConstructor;
|
|
10
10
|
readonly plain: BooleanConstructor;
|
|
11
11
|
readonly autofocus: BooleanConstructor;
|
|
@@ -13,7 +13,7 @@ export declare const buttonProps: {
|
|
|
13
13
|
readonly circle: BooleanConstructor;
|
|
14
14
|
readonly color: StringConstructor;
|
|
15
15
|
readonly autoInsertSpace: import("element-ps/es/utils/props").BuildPropReturn<BooleanConstructor, unknown, unknown, unknown, unknown>;
|
|
16
|
-
readonly size: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "
|
|
16
|
+
readonly size: import("element-ps/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
17
17
|
readonly disabled: BooleanConstructor;
|
|
18
18
|
};
|
|
19
19
|
export interface ButtonConfigContext {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "
|
|
2
|
+
readonly type: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
3
3
|
readonly icon: import("../../../utils/props").BuildPropReturn<import("../../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
|
|
4
|
-
readonly nativeType: import("../../../utils/props").BuildPropReturn<StringConstructor, "button", unknown, "button" | "
|
|
4
|
+
readonly nativeType: import("../../../utils/props").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
|
|
5
5
|
readonly loading: BooleanConstructor;
|
|
6
6
|
readonly plain: BooleanConstructor;
|
|
7
7
|
readonly autofocus: BooleanConstructor;
|
|
@@ -9,12 +9,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
readonly circle: BooleanConstructor;
|
|
10
10
|
readonly color: StringConstructor;
|
|
11
11
|
readonly autoInsertSpace: import("../../../utils/props").BuildPropReturn<BooleanConstructor, unknown, unknown, unknown, unknown>;
|
|
12
|
-
readonly size: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "
|
|
12
|
+
readonly size: import("../../../utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
13
13
|
readonly disabled: BooleanConstructor;
|
|
14
14
|
}, {
|
|
15
15
|
buttonStyle: import("vue").ComputedRef<{}>;
|
|
16
16
|
buttonSize: import("vue").ComputedRef<any>;
|
|
17
|
-
buttonType: import("vue").ComputedRef<"default" | "
|
|
17
|
+
buttonType: import("vue").ComputedRef<"default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
|
|
18
18
|
buttonDisabled: import("vue").ComputedRef<boolean>;
|
|
19
19
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
20
20
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -31,30 +31,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
readonly size?: unknown;
|
|
32
32
|
readonly disabled?: unknown;
|
|
33
33
|
} & {
|
|
34
|
-
type: import("../../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
35
|
-
size: import("../../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
36
|
-
round: boolean;
|
|
37
|
-
circle: boolean;
|
|
38
|
-
icon: import("../../../utils/props").BuildPropType<import("../../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
34
|
+
type: import("../../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
35
|
+
size: import("../../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
39
36
|
disabled: boolean;
|
|
37
|
+
icon: import("../../../utils/props").BuildPropType<import("../../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
38
|
+
nativeType: import("../../../utils/props").BuildPropType<StringConstructor, "button" | "submit" | "reset", unknown>;
|
|
40
39
|
loading: boolean;
|
|
41
|
-
nativeType: import("../../../utils/props").BuildPropType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
42
40
|
plain: boolean;
|
|
43
41
|
autofocus: boolean;
|
|
42
|
+
round: boolean;
|
|
43
|
+
circle: boolean;
|
|
44
44
|
} & {
|
|
45
|
-
color?: string | undefined;
|
|
46
45
|
autoInsertSpace?: import("../../../utils/props").BuildPropType<BooleanConstructor, unknown, unknown> | undefined;
|
|
46
|
+
color?: string | undefined;
|
|
47
47
|
}>, {
|
|
48
|
-
type: import("../../../utils/props").BuildPropType<StringConstructor, "" | "default" | "
|
|
49
|
-
size: import("../../../utils/props").BuildPropType<StringConstructor, "" | "small" | "
|
|
50
|
-
round: boolean;
|
|
51
|
-
circle: boolean;
|
|
52
|
-
icon: import("../../../utils/props").BuildPropType<import("../../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
48
|
+
type: import("../../../utils/props").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
49
|
+
size: import("../../../utils/props").BuildPropType<StringConstructor, "" | "small" | "large" | "medium" | "mini", unknown>;
|
|
53
50
|
disabled: boolean;
|
|
54
|
-
|
|
55
|
-
nativeType: import("../../../utils/props").BuildPropType<StringConstructor, "button" | "
|
|
51
|
+
icon: import("../../../utils/props").BuildPropType<import("../../../utils/props").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
|
|
52
|
+
nativeType: import("../../../utils/props").BuildPropType<StringConstructor, "button" | "submit" | "reset", unknown>;
|
|
56
53
|
autoInsertSpace: import("../../../utils/props").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
54
|
+
loading: boolean;
|
|
57
55
|
plain: boolean;
|
|
58
56
|
autofocus: boolean;
|
|
57
|
+
round: boolean;
|
|
58
|
+
circle: boolean;
|
|
59
59
|
}>;
|
|
60
60
|
export default _default;
|