@element-plus/nightly 0.0.20220818 → 0.0.20220821
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +211 -132
- package/dist/index.full.min.js +12 -12
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +211 -132
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/menu/src/menu.mjs +39 -17
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/page-header/index.d.ts +46 -0
- package/es/components/page-header/src/page-header.vue.d.ts +46 -0
- package/es/components/page-header/src/page-header2.mjs +70 -28
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/index.d.ts +6 -0
- package/es/components/pagination/src/components/next.d.ts +6 -0
- package/es/components/pagination/src/components/next.mjs +4 -0
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next.vue.d.ts +18 -1
- package/es/components/pagination/src/components/next2.mjs +2 -3
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.d.ts +6 -0
- package/es/components/pagination/src/components/prev.mjs +4 -0
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.vue.d.ts +18 -1
- package/es/components/pagination/src/components/prev2.mjs +2 -3
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.d.ts +8 -0
- package/es/components/pagination/src/pagination.mjs +12 -0
- package/es/components/pagination/src/pagination.mjs.map +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/menu/src/menu.js +39 -17
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/page-header/index.d.ts +46 -0
- package/lib/components/page-header/src/page-header.vue.d.ts +46 -0
- package/lib/components/page-header/src/page-header2.js +69 -27
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/index.d.ts +6 -0
- package/lib/components/pagination/src/components/next.d.ts +6 -0
- package/lib/components/pagination/src/components/next.js +4 -0
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next.vue.d.ts +18 -1
- package/lib/components/pagination/src/components/next2.js +1 -2
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/components/prev.d.ts +6 -0
- package/lib/components/pagination/src/components/prev.js +4 -0
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev.vue.d.ts +18 -1
- package/lib/components/pagination/src/components/prev2.js +1 -2
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/pagination.d.ts +8 -0
- package/lib/components/pagination/src/pagination.js +12 -0
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-page-header.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/page-header.scss +40 -26
- package/web-types.json +1 -1
|
@@ -4,6 +4,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5
5
|
}, {
|
|
6
6
|
emit: (event: "back") => void;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
[name: string]: import("vue").Slot | undefined;
|
|
9
|
+
}>;
|
|
7
10
|
t: import("element-plus/es/hooks").Translator;
|
|
8
11
|
ns: {
|
|
9
12
|
namespace: import("vue").ComputedRef<string>;
|
|
@@ -23,6 +26,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
26
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
24
27
|
cssVarBlockName: (name: string) => string;
|
|
25
28
|
};
|
|
29
|
+
kls: import("vue").ComputedRef<(string | {
|
|
30
|
+
[x: string]: boolean;
|
|
31
|
+
})[]>;
|
|
26
32
|
handleClick: () => void;
|
|
27
33
|
ElIcon: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
28
34
|
readonly size: {
|
|
@@ -87,6 +93,46 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
93
|
__epPropKey: true;
|
|
88
94
|
};
|
|
89
95
|
}>>, {}>> & Record<string, any>;
|
|
96
|
+
ElDivider: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
97
|
+
readonly direction: import("../../../utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
98
|
+
readonly contentPosition: import("../../../utils").EpPropFinalized<StringConstructor, "left" | "right" | "center", unknown, "center", boolean>;
|
|
99
|
+
readonly borderStyle: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
100
|
+
}, {
|
|
101
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
+
readonly direction: import("../../../utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
103
|
+
readonly contentPosition: import("../../../utils").EpPropFinalized<StringConstructor, "left" | "right" | "center", unknown, "center", boolean>;
|
|
104
|
+
readonly borderStyle: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
105
|
+
}>> & {
|
|
106
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
107
|
+
}>>;
|
|
108
|
+
ns: {
|
|
109
|
+
namespace: import("vue").ComputedRef<string>;
|
|
110
|
+
b: (blockSuffix?: string) => string;
|
|
111
|
+
e: (element?: string | undefined) => string;
|
|
112
|
+
m: (modifier?: string | undefined) => string;
|
|
113
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
114
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
115
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
116
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
117
|
+
is: {
|
|
118
|
+
(name: string, state: boolean | undefined): string;
|
|
119
|
+
(name: string): string;
|
|
120
|
+
};
|
|
121
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
122
|
+
cssVarName: (name: string) => string;
|
|
123
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
124
|
+
cssVarBlockName: (name: string) => string;
|
|
125
|
+
};
|
|
126
|
+
dividerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
127
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
128
|
+
readonly direction: import("../../../utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
129
|
+
readonly contentPosition: import("../../../utils").EpPropFinalized<StringConstructor, "left" | "right" | "center", unknown, "center", boolean>;
|
|
130
|
+
readonly borderStyle: import("../../../utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
131
|
+
}>>, {
|
|
132
|
+
readonly direction: import("../../../utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
133
|
+
readonly borderStyle: string;
|
|
134
|
+
readonly contentPosition: import("../../../utils").EpPropMergeType<StringConstructor, "left" | "right" | "center", unknown>;
|
|
135
|
+
}>> & Record<string, any>;
|
|
90
136
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
91
137
|
back: () => boolean;
|
|
92
138
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -4,12 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var index$2 = require('../../icon/index.js');
|
|
7
|
+
var index$3 = require('../../divider/index.js');
|
|
7
8
|
require('../../../hooks/index.js');
|
|
8
9
|
var pageHeader = require('./page-header.js');
|
|
9
10
|
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
10
11
|
var index = require('../../../hooks/use-locale/index.js');
|
|
11
12
|
var index$1 = require('../../../hooks/use-namespace/index.js');
|
|
12
13
|
|
|
14
|
+
const _hoisted_1 = ["aria-label"];
|
|
13
15
|
const __default__ = {
|
|
14
16
|
name: "ElPageHeader"
|
|
15
17
|
};
|
|
@@ -18,47 +20,87 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
18
20
|
props: pageHeader.pageHeaderProps,
|
|
19
21
|
emits: pageHeader.pageHeaderEmits,
|
|
20
22
|
setup(__props, { emit }) {
|
|
23
|
+
const slots = vue.useSlots();
|
|
21
24
|
const { t } = index.useLocale();
|
|
22
25
|
const ns = index$1.useNamespace("page-header");
|
|
26
|
+
const kls = vue.computed(() => {
|
|
27
|
+
return [
|
|
28
|
+
ns.b(),
|
|
29
|
+
{
|
|
30
|
+
[ns.m("has-breadcrumb")]: !!slots.breadcrumb,
|
|
31
|
+
[ns.m("has-extra")]: !!slots.extra,
|
|
32
|
+
[ns.is("contentful")]: !!slots.default
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
});
|
|
23
36
|
function handleClick() {
|
|
24
37
|
emit("back");
|
|
25
38
|
}
|
|
26
39
|
return (_ctx, _cache) => {
|
|
27
40
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
28
|
-
class: vue.normalizeClass(vue.unref(
|
|
41
|
+
class: vue.normalizeClass(vue.unref(kls))
|
|
29
42
|
}, [
|
|
30
43
|
vue.createElementVNode("div", {
|
|
31
|
-
class: vue.normalizeClass(vue.unref(ns).e("
|
|
32
|
-
|
|
44
|
+
class: vue.normalizeClass(vue.unref(ns).e("breadcrumb"))
|
|
45
|
+
}, [
|
|
46
|
+
vue.renderSlot(_ctx.$slots, "breadcrumb")
|
|
47
|
+
], 2),
|
|
48
|
+
vue.createElementVNode("div", {
|
|
49
|
+
class: vue.normalizeClass(vue.unref(ns).e("header"))
|
|
33
50
|
}, [
|
|
34
|
-
_ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
35
|
-
key: 0,
|
|
36
|
-
class: vue.normalizeClass(vue.unref(ns).e("icon"))
|
|
37
|
-
}, [
|
|
38
|
-
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
39
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), { key: 0 }, {
|
|
40
|
-
default: vue.withCtx(() => [
|
|
41
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
|
|
42
|
-
]),
|
|
43
|
-
_: 1
|
|
44
|
-
})) : vue.createCommentVNode("v-if", true)
|
|
45
|
-
])
|
|
46
|
-
], 2)) : vue.createCommentVNode("v-if", true),
|
|
47
51
|
vue.createElementVNode("div", {
|
|
48
|
-
class: vue.normalizeClass(vue.unref(ns).e("
|
|
52
|
+
class: vue.normalizeClass(vue.unref(ns).e("left"))
|
|
53
|
+
}, [
|
|
54
|
+
vue.createElementVNode("div", {
|
|
55
|
+
class: vue.normalizeClass(vue.unref(ns).e("back")),
|
|
56
|
+
role: "button",
|
|
57
|
+
tabindex: "0",
|
|
58
|
+
onClick: handleClick
|
|
59
|
+
}, [
|
|
60
|
+
_ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
61
|
+
key: 0,
|
|
62
|
+
"aria-label": _ctx.title || vue.unref(t)("el.pageHeader.title"),
|
|
63
|
+
class: vue.normalizeClass(vue.unref(ns).e("icon"))
|
|
64
|
+
}, [
|
|
65
|
+
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
66
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), { key: 0 }, {
|
|
67
|
+
default: vue.withCtx(() => [
|
|
68
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
})) : vue.createCommentVNode("v-if", true)
|
|
72
|
+
])
|
|
73
|
+
], 10, _hoisted_1)) : vue.createCommentVNode("v-if", true),
|
|
74
|
+
vue.createElementVNode("div", {
|
|
75
|
+
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
76
|
+
}, [
|
|
77
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
78
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title || vue.unref(t)("el.pageHeader.title")), 1)
|
|
79
|
+
])
|
|
80
|
+
], 2)
|
|
81
|
+
], 2),
|
|
82
|
+
vue.createVNode(vue.unref(index$3.ElDivider), { direction: "vertical" }),
|
|
83
|
+
vue.createElementVNode("div", {
|
|
84
|
+
class: vue.normalizeClass(vue.unref(ns).e("content"))
|
|
85
|
+
}, [
|
|
86
|
+
vue.renderSlot(_ctx.$slots, "content", {}, () => [
|
|
87
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.content), 1)
|
|
88
|
+
])
|
|
89
|
+
], 2)
|
|
90
|
+
], 2),
|
|
91
|
+
_ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
92
|
+
key: 0,
|
|
93
|
+
class: vue.normalizeClass(vue.unref(ns).e("extra"))
|
|
49
94
|
}, [
|
|
50
|
-
vue.renderSlot(_ctx.$slots, "
|
|
51
|
-
|
|
52
|
-
])
|
|
53
|
-
], 2)
|
|
95
|
+
vue.renderSlot(_ctx.$slots, "extra")
|
|
96
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
54
97
|
], 2),
|
|
55
|
-
vue.
|
|
56
|
-
|
|
98
|
+
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
99
|
+
key: 0,
|
|
100
|
+
class: vue.normalizeClass(vue.unref(ns).e("main"))
|
|
57
101
|
}, [
|
|
58
|
-
vue.renderSlot(_ctx.$slots, "
|
|
59
|
-
|
|
60
|
-
])
|
|
61
|
-
], 2)
|
|
102
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
103
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
62
104
|
], 2);
|
|
63
105
|
};
|
|
64
106
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header2.js","sources":["../../../../../../packages/components/page-header/src/page-header.vue"],"sourcesContent":["<template>\n <div :class=\"ns.
|
|
1
|
+
{"version":3,"file":"page-header2.js","sources":["../../../../../../packages/components/page-header/src/page-header.vue"],"sourcesContent":["<template>\n <div :class=\"kls\">\n <div :class=\"ns.e('breadcrumb')\">\n <slot name=\"breadcrumb\" />\n </div>\n <div :class=\"ns.e('header')\">\n <div :class=\"ns.e('left')\">\n <div\n :class=\"ns.e('back')\"\n role=\"button\"\n tabindex=\"0\"\n @click=\"handleClick\"\n >\n <div\n v-if=\"icon || $slots.icon\"\n :aria-label=\"title || t('el.pageHeader.title')\"\n :class=\"ns.e('icon')\"\n >\n <slot name=\"icon\">\n <el-icon v-if=\"icon\">\n <component :is=\"icon\" />\n </el-icon>\n </slot>\n </div>\n <div :class=\"ns.e('title')\">\n <slot name=\"title\">{{ title || t('el.pageHeader.title') }}</slot>\n </div>\n </div>\n <el-divider direction=\"vertical\" />\n <div :class=\"ns.e('content')\">\n <slot name=\"content\">{{ content }}</slot>\n </div>\n </div>\n\n <div v-if=\"$slots.extra\" :class=\"ns.e('extra')\">\n <slot name=\"extra\" />\n </div>\n </div>\n\n <div v-if=\"$slots.default\" :class=\"ns.e('main')\">\n <slot />\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed, useSlots } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ElDivider } from '@element-plus/components/divider'\n\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { pageHeaderEmits, pageHeaderProps } from './page-header'\n\ndefineOptions({\n name: 'ElPageHeader',\n})\n\ndefineProps(pageHeaderProps)\nconst emit = defineEmits(pageHeaderEmits)\nconst slots = useSlots()\n\nconst { t } = useLocale()\nconst ns = useNamespace('page-header')\nconst kls = computed(() => {\n return [\n ns.b(),\n {\n [ns.m('has-breadcrumb')]: !!slots.breadcrumb,\n [ns.m('has-extra')]: !!slots.extra,\n [ns.is('contentful')]: !!slots.default,\n },\n ]\n})\n\nfunction handleClick() {\n emit('back')\n}\n</script>\n"],"names":["useSlots","useLocale","useNamespace","computed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA0DA,IAAA,MAAA,QAAAA,YAAA,EAAA,CAAA;AAEA,IAAA,MAAA,EAAA,MAAAC,eAAA,EAAA,CAAA;AACA,IAAA,MAAA,EAAA,GAAAC,qBAAA,aAAA,CAAA,CAAA;AACA,IAAA,MAAA,GAAA,GAAAC,aAAA,MAAA;AACA,MAAA,OAAA;AAAA,QACA,GAAA,CAAA,EAAA;AAAA,QACA;AAAA,UACA,CAAA,EAAA,CAAA,CAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,CAAA,KAAA,CAAA,UAAA;AAAA,UACA,CAAA,EAAA,CAAA,CAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,KAAA,CAAA,KAAA;AAAA,UACA,CAAA,EAAA,CAAA,EAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,KAAA,CAAA,OAAA;AAAA,SACA;AAAA,OACA,CAAA;AAAA,KACA,CAAA,CAAA;AAEA,IAAA,SAAA,WAAA,GAAA;AACA,MAAA,IAAA,CAAA,MAAA,CAAA,CAAA;AAAA,KACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -10,7 +10,9 @@ export declare const ElPagination: import("element-plus/es/utils").SFCWithInstal
|
|
|
10
10
|
readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
11
11
|
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
12
|
readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
13
|
+
readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
13
14
|
readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
15
|
+
readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
14
16
|
readonly small: BooleanConstructor;
|
|
15
17
|
readonly background: BooleanConstructor;
|
|
16
18
|
readonly disabled: BooleanConstructor;
|
|
@@ -36,7 +38,9 @@ export declare const ElPagination: import("element-plus/es/utils").SFCWithInstal
|
|
|
36
38
|
readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
37
39
|
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
38
40
|
readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
41
|
+
readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
39
42
|
readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
43
|
+
readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
40
44
|
readonly small: BooleanConstructor;
|
|
41
45
|
readonly background: BooleanConstructor;
|
|
42
46
|
readonly disabled: BooleanConstructor;
|
|
@@ -57,7 +61,9 @@ export declare const ElPagination: import("element-plus/es/utils").SFCWithInstal
|
|
|
57
61
|
readonly pagerCount: number;
|
|
58
62
|
readonly pageSizes: number[];
|
|
59
63
|
readonly prevText: string;
|
|
64
|
+
readonly prevIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
60
65
|
readonly nextText: string;
|
|
66
|
+
readonly nextIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
61
67
|
readonly hideOnSinglePage: boolean;
|
|
62
68
|
}>> & Record<string, any>;
|
|
63
69
|
export default ElPagination;
|
|
@@ -10,6 +10,12 @@ export declare const paginationNextProps: {
|
|
|
10
10
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11
11
|
__epPropKey: true;
|
|
12
12
|
};
|
|
13
|
+
readonly nextIcon: {
|
|
14
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
15
|
+
readonly required: false;
|
|
16
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
|
+
__epPropKey: true;
|
|
18
|
+
};
|
|
13
19
|
};
|
|
14
20
|
export declare type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>;
|
|
15
21
|
export declare type NextInstance = InstanceType<typeof Next>;
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
require('../../../../utils/index.js');
|
|
6
6
|
var runtime = require('../../../../utils/vue/props/runtime.js');
|
|
7
|
+
var icon = require('../../../../utils/vue/icon.js');
|
|
7
8
|
|
|
8
9
|
const paginationNextProps = runtime.buildProps({
|
|
9
10
|
disabled: Boolean,
|
|
@@ -17,6 +18,9 @@ const paginationNextProps = runtime.buildProps({
|
|
|
17
18
|
},
|
|
18
19
|
nextText: {
|
|
19
20
|
type: String
|
|
21
|
+
},
|
|
22
|
+
nextIcon: {
|
|
23
|
+
type: icon.iconPropType
|
|
20
24
|
}
|
|
21
25
|
});
|
|
22
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.js","sources":["../../../../../../../packages/components/pagination/src/components/next.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Next from './next.vue'\n\nexport const paginationNextProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n default: 50,\n },\n nextText: {\n type: String,\n },\n} as const)\n\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\n\nexport type NextInstance = InstanceType<typeof Next>\n"],"names":["buildProps"],"mappings":"
|
|
1
|
+
{"version":3,"file":"next.js","sources":["../../../../../../../packages/components/pagination/src/components/next.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Next from './next.vue'\n\nexport const paginationNextProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n default: 50,\n },\n nextText: {\n type: String,\n },\n nextIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\n\nexport type NextInstance = InstanceType<typeof Next>\n"],"names":["buildProps","iconPropType"],"mappings":";;;;;;;;AACY,MAAC,mBAAmB,GAAGA,kBAAU,CAAC;AAC9C,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,CAAC;;;;"}
|
|
@@ -8,6 +8,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9
9
|
__epPropKey: true;
|
|
10
10
|
};
|
|
11
|
+
readonly nextIcon: {
|
|
12
|
+
readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
13
|
+
readonly required: false;
|
|
14
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
|
+
__epPropKey: true;
|
|
16
|
+
};
|
|
11
17
|
}, {
|
|
12
18
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
13
19
|
readonly disabled: BooleanConstructor;
|
|
@@ -19,6 +25,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
25
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
26
|
__epPropKey: true;
|
|
21
27
|
};
|
|
28
|
+
readonly nextIcon: {
|
|
29
|
+
readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
30
|
+
readonly required: false;
|
|
31
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
|
+
__epPropKey: true;
|
|
33
|
+
};
|
|
22
34
|
}>> & {
|
|
23
35
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
24
36
|
}>>;
|
|
@@ -86,7 +98,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
98
|
__epPropKey: true;
|
|
87
99
|
};
|
|
88
100
|
}>>, {}>> & Record<string, any>;
|
|
89
|
-
ArrowRight: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
90
101
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
102
|
readonly disabled: BooleanConstructor;
|
|
92
103
|
readonly currentPage: import("../../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
@@ -97,6 +108,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
108
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
109
|
__epPropKey: true;
|
|
99
110
|
};
|
|
111
|
+
readonly nextIcon: {
|
|
112
|
+
readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
113
|
+
readonly required: false;
|
|
114
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
115
|
+
__epPropKey: true;
|
|
116
|
+
};
|
|
100
117
|
}>> & {
|
|
101
118
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
102
119
|
}, {
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var index = require('../../../icon/index.js');
|
|
7
|
-
var iconsVue = require('@element-plus/icons-vue');
|
|
8
7
|
var next = require('./next.js');
|
|
9
8
|
var pluginVue_exportHelper = require('../../../../_virtual/plugin-vue_export-helper.js');
|
|
10
9
|
|
|
@@ -30,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
30
29
|
}, [
|
|
31
30
|
_ctx.nextText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(_ctx.nextText), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(index.ElIcon), { key: 1 }, {
|
|
32
31
|
default: vue.withCtx(() => [
|
|
33
|
-
vue.
|
|
32
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.nextIcon)))
|
|
34
33
|
]),
|
|
35
34
|
_: 1
|
|
36
35
|
}))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next2.js","sources":["../../../../../../../packages/components/pagination/src/components/next.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-next\"\n :disabled=\"internalDisabled\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"nextText\">{{ nextText }}</span>\n <el-icon v-else
|
|
1
|
+
{"version":3,"file":"next2.js","sources":["../../../../../../../packages/components/pagination/src/components/next.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-next\"\n :disabled=\"internalDisabled\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"nextText\">{{ nextText }}</span>\n <el-icon v-else>\n <component :is=\"nextIcon\" />\n </el-icon>\n </button>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { paginationNextProps } from './next'\n\ndefineOptions({\n name: 'ElPaginationNext',\n})\n\nconst props = defineProps(paginationNextProps)\n\ndefineEmits(['click'])\n\nconst internalDisabled = computed(\n () =>\n props.disabled ||\n props.currentPage === props.pageCount ||\n props.pageCount === 0\n)\n</script>\n"],"names":["computed"],"mappings":";;;;;;;;;;;;;;;;;;;;AA4BA,IAAA,MAAA,gBAAA,GAAAA,YACA,CAAA,MACA,KAAA,CAAA,QAAA,IACA,KAAA,CAAA,WAAA,KAAA,KAAA,CAAA,SAAA,IACA,KAAA,CAAA,SAAA,KAAA,CACA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -9,6 +9,12 @@ export declare const paginationPrevProps: {
|
|
|
9
9
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
10
10
|
__epPropKey: true;
|
|
11
11
|
};
|
|
12
|
+
readonly prevIcon: {
|
|
13
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
14
|
+
readonly required: false;
|
|
15
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
|
+
__epPropKey: true;
|
|
17
|
+
};
|
|
12
18
|
};
|
|
13
19
|
export declare const paginationPrevEmits: {
|
|
14
20
|
click: (evt: MouseEvent) => boolean;
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
require('../../../../utils/index.js');
|
|
6
6
|
var runtime = require('../../../../utils/vue/props/runtime.js');
|
|
7
|
+
var icon = require('../../../../utils/vue/icon.js');
|
|
7
8
|
|
|
8
9
|
const paginationPrevProps = runtime.buildProps({
|
|
9
10
|
disabled: Boolean,
|
|
@@ -13,6 +14,9 @@ const paginationPrevProps = runtime.buildProps({
|
|
|
13
14
|
},
|
|
14
15
|
prevText: {
|
|
15
16
|
type: String
|
|
17
|
+
},
|
|
18
|
+
prevIcon: {
|
|
19
|
+
type: icon.iconPropType
|
|
16
20
|
}
|
|
17
21
|
});
|
|
18
22
|
const paginationPrevEmits = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prev.js","sources":["../../../../../../../packages/components/pagination/src/components/prev.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Prev from './prev.vue'\n\nexport const paginationPrevProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n prevText: {\n type: String,\n },\n} as const)\n\nexport const paginationPrevEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type PaginationPrevProps = ExtractPropTypes<typeof paginationPrevProps>\n\nexport type PrevInstance = InstanceType<typeof Prev>\n"],"names":["buildProps"],"mappings":"
|
|
1
|
+
{"version":3,"file":"prev.js","sources":["../../../../../../../packages/components/pagination/src/components/prev.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Prev from './prev.vue'\n\nexport const paginationPrevProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n prevText: {\n type: String,\n },\n prevIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport const paginationPrevEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type PaginationPrevProps = ExtractPropTypes<typeof paginationPrevProps>\n\nexport type PrevInstance = InstanceType<typeof Prev>\n"],"names":["buildProps","iconPropType"],"mappings":";;;;;;;;AACY,MAAC,mBAAmB,GAAGA,kBAAU,CAAC;AAC9C,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,mBAAmB,GAAG;AACnC,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;"}
|
|
@@ -7,6 +7,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
8
|
__epPropKey: true;
|
|
9
9
|
};
|
|
10
|
+
readonly prevIcon: {
|
|
11
|
+
readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
12
|
+
readonly required: false;
|
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
+
__epPropKey: true;
|
|
15
|
+
};
|
|
10
16
|
}, {
|
|
11
17
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
18
|
readonly disabled: BooleanConstructor;
|
|
@@ -17,6 +23,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
23
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
18
24
|
__epPropKey: true;
|
|
19
25
|
};
|
|
26
|
+
readonly prevIcon: {
|
|
27
|
+
readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
28
|
+
readonly required: false;
|
|
29
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
|
+
__epPropKey: true;
|
|
31
|
+
};
|
|
20
32
|
}>> & {
|
|
21
33
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
22
34
|
}>>;
|
|
@@ -84,7 +96,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
96
|
__epPropKey: true;
|
|
85
97
|
};
|
|
86
98
|
}>>, {}>> & Record<string, any>;
|
|
87
|
-
ArrowLeft: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
88
99
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
100
|
click: (evt: MouseEvent) => boolean;
|
|
90
101
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -96,6 +107,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
107
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
108
|
__epPropKey: true;
|
|
98
109
|
};
|
|
110
|
+
readonly prevIcon: {
|
|
111
|
+
readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
112
|
+
readonly required: false;
|
|
113
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
+
__epPropKey: true;
|
|
115
|
+
};
|
|
99
116
|
}>> & {
|
|
100
117
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
101
118
|
}, {
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var index = require('../../../icon/index.js');
|
|
7
|
-
var iconsVue = require('@element-plus/icons-vue');
|
|
8
7
|
var prev = require('./prev.js');
|
|
9
8
|
var pluginVue_exportHelper = require('../../../../_virtual/plugin-vue_export-helper.js');
|
|
10
9
|
|
|
@@ -30,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
30
29
|
}, [
|
|
31
30
|
_ctx.prevText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(_ctx.prevText), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(index.ElIcon), { key: 1 }, {
|
|
32
31
|
default: vue.withCtx(() => [
|
|
33
|
-
vue.
|
|
32
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.prevIcon)))
|
|
34
33
|
]),
|
|
35
34
|
_: 1
|
|
36
35
|
}))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prev2.js","sources":["../../../../../../../packages/components/pagination/src/components/prev.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-prev\"\n :disabled=\"internalDisabled\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"prevText\">{{ prevText }}</span>\n <el-icon v-else
|
|
1
|
+
{"version":3,"file":"prev2.js","sources":["../../../../../../../packages/components/pagination/src/components/prev.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-prev\"\n :disabled=\"internalDisabled\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"prevText\">{{ prevText }}</span>\n <el-icon v-else>\n <component :is=\"prevIcon\" />\n </el-icon>\n </button>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { paginationPrevEmits, paginationPrevProps } from './prev'\n\ndefineOptions({\n name: 'ElPaginationPrev',\n})\n\nconst props = defineProps(paginationPrevProps)\ndefineEmits(paginationPrevEmits)\n\nconst internalDisabled = computed(\n () => props.disabled || props.currentPage <= 1\n)\n</script>\n"],"names":["computed"],"mappings":";;;;;;;;;;;;;;;;;;;;AA2BA,IAAA,MAAA,mBAAAA,YACA,CAAA,MAAA,MAAA,QAAA,IAAA,KAAA,CAAA,eAAA,CACA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -11,7 +11,9 @@ export declare const paginationProps: {
|
|
|
11
11
|
readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
12
12
|
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
13
13
|
readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
14
|
+
readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
|
|
14
15
|
readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
16
|
+
readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
|
|
15
17
|
readonly small: BooleanConstructor;
|
|
16
18
|
readonly background: BooleanConstructor;
|
|
17
19
|
readonly disabled: BooleanConstructor;
|
|
@@ -39,7 +41,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
41
|
readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
40
42
|
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
41
43
|
readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
44
|
+
readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
|
|
42
45
|
readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
46
|
+
readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
|
|
43
47
|
readonly small: BooleanConstructor;
|
|
44
48
|
readonly background: BooleanConstructor;
|
|
45
49
|
readonly disabled: BooleanConstructor;
|
|
@@ -65,7 +69,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
69
|
readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
66
70
|
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
67
71
|
readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
72
|
+
readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
|
|
68
73
|
readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
74
|
+
readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
|
|
69
75
|
readonly small: BooleanConstructor;
|
|
70
76
|
readonly background: BooleanConstructor;
|
|
71
77
|
readonly disabled: BooleanConstructor;
|
|
@@ -86,7 +92,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
92
|
readonly pagerCount: number;
|
|
87
93
|
readonly pageSizes: number[];
|
|
88
94
|
readonly prevText: string;
|
|
95
|
+
readonly prevIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
89
96
|
readonly nextText: string;
|
|
97
|
+
readonly nextIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
90
98
|
readonly hideOnSinglePage: boolean;
|
|
91
99
|
}>;
|
|
92
100
|
export default _default;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
+
var iconsVue = require('@element-plus/icons-vue');
|
|
6
7
|
require('../../../utils/index.js');
|
|
7
8
|
require('../../../hooks/index.js');
|
|
8
9
|
require('../../../tokens/index.js');
|
|
@@ -14,6 +15,7 @@ var total = require('./components/total2.js');
|
|
|
14
15
|
var pager = require('./components/pager2.js');
|
|
15
16
|
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
16
17
|
var typescript = require('../../../utils/typescript.js');
|
|
18
|
+
var icon = require('../../../utils/vue/icon.js');
|
|
17
19
|
var index = require('../../../hooks/use-locale/index.js');
|
|
18
20
|
var index$1 = require('../../../hooks/use-namespace/index.js');
|
|
19
21
|
var pagination = require('../../../tokens/pagination.js');
|
|
@@ -50,10 +52,18 @@ const paginationProps = runtime.buildProps({
|
|
|
50
52
|
type: String,
|
|
51
53
|
default: ""
|
|
52
54
|
},
|
|
55
|
+
prevIcon: {
|
|
56
|
+
type: icon.iconPropType,
|
|
57
|
+
default: () => iconsVue.ArrowLeft
|
|
58
|
+
},
|
|
53
59
|
nextText: {
|
|
54
60
|
type: String,
|
|
55
61
|
default: ""
|
|
56
62
|
},
|
|
63
|
+
nextIcon: {
|
|
64
|
+
type: icon.iconPropType,
|
|
65
|
+
default: () => iconsVue.ArrowRight
|
|
66
|
+
},
|
|
57
67
|
small: Boolean,
|
|
58
68
|
background: Boolean,
|
|
59
69
|
disabled: Boolean,
|
|
@@ -202,6 +212,7 @@ var Pagination = vue.defineComponent({
|
|
|
202
212
|
disabled: props.disabled,
|
|
203
213
|
currentPage: currentPageBridge.value,
|
|
204
214
|
prevText: props.prevText,
|
|
215
|
+
prevIcon: props.prevIcon,
|
|
205
216
|
onClick: prev$1
|
|
206
217
|
}),
|
|
207
218
|
jumper: vue.h(jumper["default"]),
|
|
@@ -217,6 +228,7 @@ var Pagination = vue.defineComponent({
|
|
|
217
228
|
currentPage: currentPageBridge.value,
|
|
218
229
|
pageCount: pageCountBridge.value,
|
|
219
230
|
nextText: props.nextText,
|
|
231
|
+
nextIcon: props.nextIcon,
|
|
220
232
|
onClick: next$1
|
|
221
233
|
}),
|
|
222
234
|
sizes: vue.h(sizes["default"], {
|