bkui-vue 1.0.0 → 1.0.2
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.cjs.js +47 -47
- package/dist/index.esm.js +10405 -10394
- package/dist/index.umd.js +47 -47
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +19 -19
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/backtop/index.d.ts +69 -117
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +19 -20
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +233 -234
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +39 -41
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +21 -21
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +25 -28
- package/lib/config-provider/config-provider.d.ts +9 -0
- package/lib/config-provider/index.d.ts +168 -223
- package/lib/config-provider/index.js +19 -19
- package/lib/config-provider/token.d.ts +3 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +19 -19
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +92 -104
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.js +27 -27
- package/lib/divider/index.d.ts +57 -111
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +17 -17
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +18 -19
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/form/form.css +3 -0
- package/lib/form/form.d.ts +1 -1
- package/lib/form/form.less +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +29 -27
- package/lib/icon/angle-double-down-line.js +21 -21
- package/lib/icon/angle-double-left-line.js +21 -21
- package/lib/icon/angle-double-left.js +21 -21
- package/lib/icon/angle-double-right-line.js +21 -21
- package/lib/icon/angle-double-right.js +21 -21
- package/lib/icon/angle-double-up-line.js +21 -21
- package/lib/icon/angle-down-fill.js +21 -21
- package/lib/icon/angle-down-line.js +21 -21
- package/lib/icon/angle-down.js +21 -21
- package/lib/icon/angle-left.js +21 -21
- package/lib/icon/angle-right.js +21 -21
- package/lib/icon/angle-up-fill.js +21 -21
- package/lib/icon/angle-up.js +21 -21
- package/lib/icon/archive-fill.js +21 -21
- package/lib/icon/arrows-left.js +21 -21
- package/lib/icon/arrows-right.js +21 -21
- package/lib/icon/assistant.js +21 -21
- package/lib/icon/audio-fill.js +21 -21
- package/lib/icon/bk.js +21 -21
- package/lib/icon/circle.js +21 -21
- package/lib/icon/close-line.js +21 -21
- package/lib/icon/close.js +21 -21
- package/lib/icon/code.js +21 -21
- package/lib/icon/cog-shape.js +21 -21
- package/lib/icon/collapse-left.js +21 -21
- package/lib/icon/copy-shape.js +21 -21
- package/lib/icon/copy.js +21 -21
- package/lib/icon/data-shape.js +21 -21
- package/lib/icon/del.js +21 -21
- package/lib/icon/doc-fill.js +21 -21
- package/lib/icon/done.js +21 -21
- package/lib/icon/down-shape.js +21 -21
- package/lib/icon/down-small.js +21 -21
- package/lib/icon/edit-line.js +21 -21
- package/lib/icon/ellipsis.js +21 -21
- package/lib/icon/enlarge-line.js +21 -21
- package/lib/icon/error.js +21 -21
- package/lib/icon/excel-fill.js +21 -21
- package/lib/icon/exclamation-circle-shape.js +21 -21
- package/lib/icon/eye.js +21 -21
- package/lib/icon/filliscreen-line.js +21 -21
- package/lib/icon/fix-line.js +21 -21
- package/lib/icon/fix-shape.js +21 -21
- package/lib/icon/folder-open.js +21 -21
- package/lib/icon/folder-shape-open.js +21 -21
- package/lib/icon/folder-shape.js +21 -21
- package/lib/icon/folder.js +21 -21
- package/lib/icon/funnel.js +21 -21
- package/lib/icon/grag-fill.js +21 -21
- package/lib/icon/help-document-fill.js +21 -21
- package/lib/icon/help-fill.js +21 -21
- package/lib/icon/help.js +21 -21
- package/lib/icon/image-fill.js +22 -22
- package/lib/icon/img-error.js +22 -22
- package/lib/icon/img-placehoulder.js +22 -22
- package/lib/icon/index.js +192 -192
- package/lib/icon/info-line.js +22 -22
- package/lib/icon/info.js +22 -22
- package/lib/icon/left-shape.js +22 -22
- package/lib/icon/left-turn-line.js +22 -22
- package/lib/icon/loading.js +22 -22
- package/lib/icon/narrow-line.js +22 -22
- package/lib/icon/original.js +22 -22
- package/lib/icon/pdf-fill.js +22 -22
- package/lib/icon/play-shape.js +22 -22
- package/lib/icon/plus.js +22 -22
- package/lib/icon/ppt-fill.js +22 -22
- package/lib/icon/qq.js +22 -22
- package/lib/icon/right-shape.js +22 -22
- package/lib/icon/right-turn-line.js +22 -22
- package/lib/icon/search.js +22 -22
- package/lib/icon/share.js +22 -22
- package/lib/icon/spinner.js +22 -22
- package/lib/icon/success.js +22 -22
- package/lib/icon/switcher-loading.js +22 -22
- package/lib/icon/text-file.js +22 -22
- package/lib/icon/text-fill.js +22 -22
- package/lib/icon/transfer.js +22 -22
- package/lib/icon/tree-application-shape.js +22 -22
- package/lib/icon/unfull-screen.js +22 -22
- package/lib/icon/unvisible.js +22 -22
- package/lib/icon/up-shape.js +22 -22
- package/lib/icon/upload.js +22 -22
- package/lib/icon/video-fill.js +22 -22
- package/lib/icon/warn.js +22 -22
- package/lib/icon/weixin-pro.js +22 -22
- package/lib/icon/weixin.js +22 -22
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +19 -19
- package/lib/info-box/index.js +231 -232
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +256 -258
- package/lib/link/index.d.ts +73 -122
- package/lib/loading/index.d.ts +132 -158
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +4 -4
- package/lib/locale/index.js +8 -12
- package/lib/locale/lang/en.d.ts +3 -0
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +25 -25
- package/lib/message/index.js +28 -30
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +492 -33
- package/lib/navigation/index.d.ts +152 -188
- package/lib/notify/index.js +22 -24
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +1 -1
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +49 -56
- package/lib/plugin-popover/index.js +192 -98
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +192 -98
- package/lib/popover2/index.d.ts +8 -83
- package/lib/preset.d.ts +287 -2
- package/lib/preset.js +3 -1
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +225 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +19 -19
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +41 -43
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +239 -240
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +259 -262
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +81 -63
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +241 -247
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +208 -209
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +227 -228
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +23 -25
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +81 -95
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +18 -19
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +54 -62
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +191 -206
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +36 -39
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +254 -257
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +30 -30
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +7 -13
@@ -1,207 +1,5 @@
|
|
1
1
|
declare const BkPagination: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
$: import("vue").ComponentInternalInstance;
|
4
|
-
$data: {};
|
5
|
-
$props: {
|
6
|
-
type?: string;
|
7
|
-
small?: boolean;
|
8
|
-
disabled?: boolean;
|
9
|
-
layout?: string[];
|
10
|
-
location?: string;
|
11
|
-
count?: number;
|
12
|
-
modelValue?: number;
|
13
|
-
beforeChange?: (...args: any[]) => any;
|
14
|
-
prevText?: string;
|
15
|
-
nextText?: string;
|
16
|
-
align?: string;
|
17
|
-
limit?: number;
|
18
|
-
limitList?: number[];
|
19
|
-
showLimit?: boolean;
|
20
|
-
showTotalCount?: boolean;
|
21
|
-
class?: unknown;
|
22
|
-
style?: unknown;
|
23
|
-
onChange?: (...args: any[]) => any;
|
24
|
-
ref?: import("vue").VNodeRef;
|
25
|
-
key?: string | number | symbol;
|
26
|
-
ref_for?: boolean;
|
27
|
-
ref_key?: string;
|
28
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
29
|
-
[key: string]: any;
|
30
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
31
|
-
[key: string]: any;
|
32
|
-
}>) => void)[];
|
33
|
-
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
-
[key: string]: any;
|
35
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
-
[key: string]: any;
|
37
|
-
}>) => void)[];
|
38
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
39
|
-
[key: string]: any;
|
40
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
-
[key: string]: any;
|
42
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
-
[key: string]: any;
|
44
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
-
[key: string]: any;
|
46
|
-
}>) => void)[];
|
47
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
48
|
-
[key: string]: any;
|
49
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
50
|
-
[key: string]: any;
|
51
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
52
|
-
[key: string]: any;
|
53
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
-
[key: string]: any;
|
55
|
-
}>) => void)[];
|
56
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
|
-
[key: string]: any;
|
58
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
59
|
-
[key: string]: any;
|
60
|
-
}>) => void)[];
|
61
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
62
|
-
[key: string]: any;
|
63
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
64
|
-
[key: string]: any;
|
65
|
-
}>) => void)[];
|
66
|
-
readonly size?: "default" | "small" | "large" | "huge";
|
67
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
68
|
-
"onUpdate:limit"?: (...args: any[]) => any;
|
69
|
-
onLimitChange?: (...args: any[]) => any;
|
70
|
-
};
|
71
|
-
$attrs: {
|
72
|
-
[x: string]: unknown;
|
73
|
-
};
|
74
|
-
$refs: {
|
75
|
-
[x: string]: unknown;
|
76
|
-
};
|
77
|
-
$slots: Readonly<{
|
78
|
-
[name: string]: import("vue").Slot<any>;
|
79
|
-
}>;
|
80
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
81
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
82
|
-
$emit: (event: "change" | "update:modelValue" | "update:limit" | "limitChange", ...args: any[]) => void;
|
83
|
-
$el: any;
|
84
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
85
|
-
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
86
|
-
default: number;
|
87
|
-
} & {
|
88
|
-
default: number;
|
89
|
-
};
|
90
|
-
count: import("vue-types").VueTypeValidableDef<number> & {
|
91
|
-
default: number;
|
92
|
-
} & {
|
93
|
-
default: number;
|
94
|
-
} & {
|
95
|
-
required: true;
|
96
|
-
};
|
97
|
-
limit: import("vue-types").VueTypeValidableDef<number> & {
|
98
|
-
default: number;
|
99
|
-
} & {
|
100
|
-
default: number;
|
101
|
-
};
|
102
|
-
limitList: import("vue-types").VueTypeDef<number[]> & {
|
103
|
-
default: () => number[];
|
104
|
-
};
|
105
|
-
showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
106
|
-
default: boolean;
|
107
|
-
} & {
|
108
|
-
default: boolean;
|
109
|
-
};
|
110
|
-
type: import("vue-types").VueTypeDef<string> & {
|
111
|
-
default: string;
|
112
|
-
};
|
113
|
-
location: import("vue-types").VueTypeDef<string> & {
|
114
|
-
default: string;
|
115
|
-
};
|
116
|
-
align: import("vue-types").VueTypeDef<string> & {
|
117
|
-
default: string;
|
118
|
-
};
|
119
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
120
|
-
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
121
|
-
default: boolean;
|
122
|
-
} & {
|
123
|
-
default: boolean;
|
124
|
-
};
|
125
|
-
showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
|
126
|
-
default: boolean;
|
127
|
-
} & {
|
128
|
-
default: boolean;
|
129
|
-
};
|
130
|
-
prevText: import("vue-types").VueTypeValidableDef<string> & {
|
131
|
-
default: string;
|
132
|
-
};
|
133
|
-
nextText: import("vue-types").VueTypeValidableDef<string> & {
|
134
|
-
default: string;
|
135
|
-
};
|
136
|
-
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
137
|
-
default: boolean;
|
138
|
-
} & {
|
139
|
-
default: boolean;
|
140
|
-
};
|
141
|
-
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
142
|
-
default: (...args: any[]) => any;
|
143
|
-
};
|
144
|
-
layout: import("vue-types").VueTypeDef<string[]> & {
|
145
|
-
default: () => string[];
|
146
|
-
};
|
147
|
-
}>> & {
|
148
|
-
onChange?: (...args: any[]) => any;
|
149
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
150
|
-
"onUpdate:limit"?: (...args: any[]) => any;
|
151
|
-
onLimitChange?: (...args: any[]) => any;
|
152
|
-
}, {
|
153
|
-
totalPageNum: import("vue").Ref<number>;
|
154
|
-
renderTotal: ({ isFirst, isLast }: {
|
155
|
-
isFirst: any;
|
156
|
-
isLast: any;
|
157
|
-
}) => JSX.Element;
|
158
|
-
renderList: ({ isFirst, isLast }: {
|
159
|
-
isFirst: any;
|
160
|
-
isLast: any;
|
161
|
-
}) => JSX.Element;
|
162
|
-
renderLimit: ({ isFirst, isLast }: {
|
163
|
-
isFirst: any;
|
164
|
-
isLast: any;
|
165
|
-
}) => JSX.Element;
|
166
|
-
renderSmallList: () => JSX.Element;
|
167
|
-
resolveClassName: (cls: string) => string;
|
168
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], string, {
|
169
|
-
type: string;
|
170
|
-
small: boolean;
|
171
|
-
disabled: boolean;
|
172
|
-
layout: string[];
|
173
|
-
location: string;
|
174
|
-
count: number;
|
175
|
-
modelValue: number;
|
176
|
-
beforeChange: (...args: any[]) => any;
|
177
|
-
prevText: string;
|
178
|
-
nextText: string;
|
179
|
-
align: string;
|
180
|
-
limit: number;
|
181
|
-
limitList: number[];
|
182
|
-
showLimit: boolean;
|
183
|
-
showTotalCount: boolean;
|
184
|
-
}, {}, string, {}> & {
|
185
|
-
beforeCreate?: (() => void) | (() => void)[];
|
186
|
-
created?: (() => void) | (() => void)[];
|
187
|
-
beforeMount?: (() => void) | (() => void)[];
|
188
|
-
mounted?: (() => void) | (() => void)[];
|
189
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
190
|
-
updated?: (() => void) | (() => void)[];
|
191
|
-
activated?: (() => void) | (() => void)[];
|
192
|
-
deactivated?: (() => void) | (() => void)[];
|
193
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
194
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
195
|
-
destroyed?: (() => void) | (() => void)[];
|
196
|
-
unmounted?: (() => void) | (() => void)[];
|
197
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
198
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
199
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
200
|
-
};
|
201
|
-
$forceUpdate: () => void;
|
202
|
-
$nextTick: typeof import("vue").nextTick;
|
203
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
204
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
205
3
|
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
206
4
|
default: number;
|
207
5
|
} & {
|
@@ -269,7 +67,7 @@ declare const BkPagination: {
|
|
269
67
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
270
68
|
"onUpdate:limit"?: (...args: any[]) => any;
|
271
69
|
onLimitChange?: (...args: any[]) => any;
|
272
|
-
}
|
70
|
+
}, {
|
273
71
|
totalPageNum: import("vue").Ref<number>;
|
274
72
|
renderTotal: ({ isFirst, isLast }: {
|
275
73
|
isFirst: any;
|
@@ -285,7 +83,198 @@ declare const BkPagination: {
|
|
285
83
|
}) => JSX.Element;
|
286
84
|
renderSmallList: () => JSX.Element;
|
287
85
|
resolveClassName: (cls: string) => string;
|
288
|
-
}
|
86
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
87
|
+
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
88
|
+
default: number;
|
89
|
+
} & {
|
90
|
+
default: number;
|
91
|
+
};
|
92
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
93
|
+
default: number;
|
94
|
+
} & {
|
95
|
+
default: number;
|
96
|
+
} & {
|
97
|
+
required: true;
|
98
|
+
};
|
99
|
+
limit: import("vue-types").VueTypeValidableDef<number> & {
|
100
|
+
default: number;
|
101
|
+
} & {
|
102
|
+
default: number;
|
103
|
+
};
|
104
|
+
limitList: import("vue-types").VueTypeDef<number[]> & {
|
105
|
+
default: () => number[];
|
106
|
+
};
|
107
|
+
showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
108
|
+
default: boolean;
|
109
|
+
} & {
|
110
|
+
default: boolean;
|
111
|
+
};
|
112
|
+
type: import("vue-types").VueTypeDef<string> & {
|
113
|
+
default: string;
|
114
|
+
};
|
115
|
+
location: import("vue-types").VueTypeDef<string> & {
|
116
|
+
default: string;
|
117
|
+
};
|
118
|
+
align: import("vue-types").VueTypeDef<string> & {
|
119
|
+
default: string;
|
120
|
+
};
|
121
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
122
|
+
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
123
|
+
default: boolean;
|
124
|
+
} & {
|
125
|
+
default: boolean;
|
126
|
+
};
|
127
|
+
showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
|
128
|
+
default: boolean;
|
129
|
+
} & {
|
130
|
+
default: boolean;
|
131
|
+
};
|
132
|
+
prevText: import("vue-types").VueTypeValidableDef<string> & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
nextText: import("vue-types").VueTypeValidableDef<string> & {
|
136
|
+
default: string;
|
137
|
+
};
|
138
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
139
|
+
default: boolean;
|
140
|
+
} & {
|
141
|
+
default: boolean;
|
142
|
+
};
|
143
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
144
|
+
default: (...args: any[]) => any;
|
145
|
+
};
|
146
|
+
layout: import("vue-types").VueTypeDef<string[]> & {
|
147
|
+
default: () => string[];
|
148
|
+
};
|
149
|
+
}>> & {
|
150
|
+
onChange?: (...args: any[]) => any;
|
151
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
152
|
+
"onUpdate:limit"?: (...args: any[]) => any;
|
153
|
+
onLimitChange?: (...args: any[]) => any;
|
154
|
+
}, {
|
155
|
+
type: string;
|
156
|
+
small: boolean;
|
157
|
+
disabled: boolean;
|
158
|
+
layout: string[];
|
159
|
+
location: string;
|
160
|
+
count: number;
|
161
|
+
modelValue: number;
|
162
|
+
beforeChange: (...args: any[]) => any;
|
163
|
+
prevText: string;
|
164
|
+
nextText: string;
|
165
|
+
align: string;
|
166
|
+
limit: number;
|
167
|
+
limitList: number[];
|
168
|
+
showLimit: boolean;
|
169
|
+
showTotalCount: boolean;
|
170
|
+
}, true, {}, {}, {
|
171
|
+
P: {};
|
172
|
+
B: {};
|
173
|
+
D: {};
|
174
|
+
C: {};
|
175
|
+
M: {};
|
176
|
+
Defaults: {};
|
177
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
178
|
+
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
179
|
+
default: number;
|
180
|
+
} & {
|
181
|
+
default: number;
|
182
|
+
};
|
183
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
184
|
+
default: number;
|
185
|
+
} & {
|
186
|
+
default: number;
|
187
|
+
} & {
|
188
|
+
required: true;
|
189
|
+
};
|
190
|
+
limit: import("vue-types").VueTypeValidableDef<number> & {
|
191
|
+
default: number;
|
192
|
+
} & {
|
193
|
+
default: number;
|
194
|
+
};
|
195
|
+
limitList: import("vue-types").VueTypeDef<number[]> & {
|
196
|
+
default: () => number[];
|
197
|
+
};
|
198
|
+
showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
199
|
+
default: boolean;
|
200
|
+
} & {
|
201
|
+
default: boolean;
|
202
|
+
};
|
203
|
+
type: import("vue-types").VueTypeDef<string> & {
|
204
|
+
default: string;
|
205
|
+
};
|
206
|
+
location: import("vue-types").VueTypeDef<string> & {
|
207
|
+
default: string;
|
208
|
+
};
|
209
|
+
align: import("vue-types").VueTypeDef<string> & {
|
210
|
+
default: string;
|
211
|
+
};
|
212
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
213
|
+
small: import("vue-types").VueTypeValidableDef<boolean> & {
|
214
|
+
default: boolean;
|
215
|
+
} & {
|
216
|
+
default: boolean;
|
217
|
+
};
|
218
|
+
showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
|
219
|
+
default: boolean;
|
220
|
+
} & {
|
221
|
+
default: boolean;
|
222
|
+
};
|
223
|
+
prevText: import("vue-types").VueTypeValidableDef<string> & {
|
224
|
+
default: string;
|
225
|
+
};
|
226
|
+
nextText: import("vue-types").VueTypeValidableDef<string> & {
|
227
|
+
default: string;
|
228
|
+
};
|
229
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
230
|
+
default: boolean;
|
231
|
+
} & {
|
232
|
+
default: boolean;
|
233
|
+
};
|
234
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
235
|
+
default: (...args: any[]) => any;
|
236
|
+
};
|
237
|
+
layout: import("vue-types").VueTypeDef<string[]> & {
|
238
|
+
default: () => string[];
|
239
|
+
};
|
240
|
+
}>> & {
|
241
|
+
onChange?: (...args: any[]) => any;
|
242
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
243
|
+
"onUpdate:limit"?: (...args: any[]) => any;
|
244
|
+
onLimitChange?: (...args: any[]) => any;
|
245
|
+
}, {
|
246
|
+
totalPageNum: import("vue").Ref<number>;
|
247
|
+
renderTotal: ({ isFirst, isLast }: {
|
248
|
+
isFirst: any;
|
249
|
+
isLast: any;
|
250
|
+
}) => JSX.Element;
|
251
|
+
renderList: ({ isFirst, isLast }: {
|
252
|
+
isFirst: any;
|
253
|
+
isLast: any;
|
254
|
+
}) => JSX.Element;
|
255
|
+
renderLimit: ({ isFirst, isLast }: {
|
256
|
+
isFirst: any;
|
257
|
+
isLast: any;
|
258
|
+
}) => JSX.Element;
|
259
|
+
renderSmallList: () => JSX.Element;
|
260
|
+
resolveClassName: (cls: string) => string;
|
261
|
+
}, {}, {}, {}, {
|
262
|
+
type: string;
|
263
|
+
small: boolean;
|
264
|
+
disabled: boolean;
|
265
|
+
layout: string[];
|
266
|
+
location: string;
|
267
|
+
count: number;
|
268
|
+
modelValue: number;
|
269
|
+
beforeChange: (...args: any[]) => any;
|
270
|
+
prevText: string;
|
271
|
+
nextText: string;
|
272
|
+
align: string;
|
273
|
+
limit: number;
|
274
|
+
limitList: number[];
|
275
|
+
showLimit: boolean;
|
276
|
+
showTotalCount: boolean;
|
277
|
+
}>;
|
289
278
|
__isFragment?: never;
|
290
279
|
__isTeleport?: never;
|
291
280
|
__isSuspense?: never;
|
package/lib/pagination/index.js
CHANGED
@@ -42,38 +42,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
42
42
|
var y = x => () => x
|
43
43
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
44
44
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
45
|
-
function _typeof(
|
45
|
+
function _typeof(o) {
|
46
46
|
"@babel/helpers - typeof";
|
47
47
|
|
48
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
49
|
-
return typeof
|
50
|
-
} : function (
|
51
|
-
return
|
52
|
-
}, _typeof(
|
48
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
49
|
+
return typeof o;
|
50
|
+
} : function (o) {
|
51
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
52
|
+
}, _typeof(o);
|
53
53
|
}
|
54
54
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
55
55
|
|
56
|
-
function
|
57
|
-
if (
|
58
|
-
var
|
59
|
-
if (
|
60
|
-
var
|
61
|
-
if (
|
56
|
+
function toPrimitive(t, r) {
|
57
|
+
if ("object" != _typeof(t) || !t) return t;
|
58
|
+
var e = t[Symbol.toPrimitive];
|
59
|
+
if (void 0 !== e) {
|
60
|
+
var i = e.call(t, r || "default");
|
61
|
+
if ("object" != _typeof(i)) return i;
|
62
62
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
63
63
|
}
|
64
|
-
return (
|
64
|
+
return ("string" === r ? String : Number)(t);
|
65
65
|
}
|
66
66
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
67
67
|
|
68
68
|
|
69
|
-
function
|
70
|
-
var
|
71
|
-
return _typeof(
|
69
|
+
function toPropertyKey(t) {
|
70
|
+
var i = toPrimitive(t, "string");
|
71
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
72
72
|
}
|
73
73
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
74
74
|
|
75
75
|
function _defineProperty(obj, key, value) {
|
76
|
-
key =
|
76
|
+
key = toPropertyKey(key);
|
77
77
|
if (key in obj) {
|
78
78
|
Object.defineProperty(obj, key, {
|
79
79
|
value: value,
|
@@ -91,31 +91,31 @@ function _arrayWithHoles(arr) {
|
|
91
91
|
if (Array.isArray(arr)) return arr;
|
92
92
|
}
|
93
93
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
94
|
-
function _iterableToArrayLimit(
|
95
|
-
var
|
96
|
-
if (null !=
|
97
|
-
var
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
94
|
+
function _iterableToArrayLimit(r, l) {
|
95
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
96
|
+
if (null != t) {
|
97
|
+
var e,
|
98
|
+
n,
|
99
|
+
i,
|
100
|
+
u,
|
101
|
+
a = [],
|
102
|
+
f = !0,
|
103
|
+
o = !1;
|
104
104
|
try {
|
105
|
-
if (
|
106
|
-
if (Object(
|
107
|
-
|
108
|
-
} else for (; !(
|
109
|
-
} catch (
|
110
|
-
|
105
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
106
|
+
if (Object(t) !== t) return;
|
107
|
+
f = !1;
|
108
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
109
|
+
} catch (r) {
|
110
|
+
o = !0, n = r;
|
111
111
|
} finally {
|
112
112
|
try {
|
113
|
-
if (!
|
113
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
114
114
|
} finally {
|
115
|
-
if (
|
115
|
+
if (o) throw n;
|
116
116
|
}
|
117
117
|
}
|
118
|
-
return
|
118
|
+
return a;
|
119
119
|
}
|
120
120
|
}
|
121
121
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
@@ -236,14 +236,13 @@ function _isSlot(s) {
|
|
236
236
|
resolveClassName = _usePrefix.resolveClassName;
|
237
237
|
var render = function render(_ref) {
|
238
238
|
var _slot;
|
239
|
-
var _ref2;
|
240
239
|
var isFirst = _ref.isFirst,
|
241
240
|
isLast = _ref.isLast;
|
242
241
|
if (!proxy.showLimit) {
|
243
242
|
return null;
|
244
243
|
}
|
245
244
|
return (0,external_vue_namespaceObject.createVNode)("div", (0,external_vue_namespaceObject.mergeProps)({
|
246
|
-
"class": (
|
245
|
+
"class": _defineProperty(_defineProperty(_defineProperty({}, resolveClassName('pagination-limit'), true), 'is-first', isFirst), 'is-last', isLast)
|
247
246
|
}, {
|
248
247
|
disabled: proxy.disabled
|
249
248
|
}), [(0,external_vue_namespaceObject.createVNode)("div", null, [t.value.eachPage]), (0,external_vue_namespaceObject.createVNode)(select_namespaceObject["default"], {
|
@@ -409,16 +408,15 @@ var PAGE_ITEMS_NUM = 5;
|
|
409
408
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
410
409
|
resolveClassName = _usePrefix.resolveClassName;
|
411
410
|
var render = function render(_ref) {
|
412
|
-
var _ref2, _ref3, _ref4, _ref6, _ref7;
|
413
411
|
var isFirst = _ref.isFirst,
|
414
412
|
isLast = _ref.isLast;
|
415
413
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
416
|
-
"class": (
|
414
|
+
"class": _defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list')), true), 'is-first', isFirst), 'is-last', isLast)
|
417
415
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
418
|
-
"class": (
|
416
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-pre')), true), 'is-disabled', isPagePreDisabled.value),
|
419
417
|
"onClick": handlePrePage
|
420
418
|
}, [proxy.prevText || (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
421
|
-
"class": (
|
419
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === 1),
|
422
420
|
"key": "1",
|
423
421
|
"onClick": function onClick() {
|
424
422
|
return handleItemClick(1);
|
@@ -428,9 +426,8 @@ var PAGE_ITEMS_NUM = 5;
|
|
428
426
|
"class": "".concat(resolveClassName('pagination-list-pre-batch')),
|
429
427
|
"onClick": handlePreBatch
|
430
428
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Ellipsis, null, null)]), list.value.map(function (num) {
|
431
|
-
var _ref5;
|
432
429
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
433
|
-
"class": (
|
430
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === num),
|
434
431
|
"key": num,
|
435
432
|
"onClick": function onClick() {
|
436
433
|
return handleItemClick(num);
|
@@ -441,13 +438,13 @@ var PAGE_ITEMS_NUM = 5;
|
|
441
438
|
"class": "".concat(resolveClassName('pagination-list-next-batch')),
|
442
439
|
"onClick": handleNextBatch
|
443
440
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Ellipsis, null, null)]), proxy.totalPageNum > 1 && (0,external_vue_namespaceObject.createVNode)("div", {
|
444
|
-
"class": (
|
441
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === proxy.totalPageNum),
|
445
442
|
"key": "last",
|
446
443
|
"onClick": function onClick() {
|
447
444
|
return handleItemClick(proxy.totalPageNum);
|
448
445
|
}
|
449
446
|
}, [proxy.totalPageNum]), (0,external_vue_namespaceObject.createVNode)("div", {
|
450
|
-
"class": (
|
447
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-pre')), true), 'is-disabled', isPageNextDisabled.value),
|
451
448
|
"onClick": handleNextPage
|
452
449
|
}, [proxy.nextText || (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleRight, null, null)])]);
|
453
450
|
};
|
@@ -614,11 +611,10 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
614
611
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
615
612
|
resolveClassName = _usePrefix.resolveClassName;
|
616
613
|
var render = function render() {
|
617
|
-
var _ref, _ref3;
|
618
614
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
619
615
|
"class": "".concat(resolveClassName('pagination-small-list'))
|
620
616
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
621
|
-
"class": (
|
617
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-btn-pre')), true), 'is-disabled', isPagePreDisabled.value),
|
622
618
|
"onClick": handlePrePage
|
623
619
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
624
620
|
"theme": "light",
|
@@ -629,9 +625,8 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
629
625
|
"placement": "bottom"
|
630
626
|
}, {
|
631
627
|
"default": function _default() {
|
632
|
-
var _ref2;
|
633
628
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
634
|
-
"class": (
|
629
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-picker')), true), 'is-focused', isFocused.value)
|
635
630
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
636
631
|
"ref": inputRef,
|
637
632
|
"class": "".concat(resolveClassName('pagination-editor')),
|
@@ -662,7 +657,7 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
662
657
|
})]);
|
663
658
|
}
|
664
659
|
}), (0,external_vue_namespaceObject.createVNode)("div", {
|
665
|
-
"class": (
|
660
|
+
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-btn-next')), true), 'is-disabled', isPageNextDisabled.value),
|
666
661
|
"onClick": handleNextPage
|
667
662
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleRight, null, null)])]);
|
668
663
|
};
|
@@ -703,7 +698,6 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
703
698
|
|
704
699
|
/* harmony default export */ const use_total = (function (t) {
|
705
700
|
return function (_ref) {
|
706
|
-
var _ref2;
|
707
701
|
var isFirst = _ref.isFirst,
|
708
702
|
isLast = _ref.isLast;
|
709
703
|
var _getCurrentInstance = (0,external_vue_namespaceObject.getCurrentInstance)(),
|
@@ -714,7 +708,7 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
714
708
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
715
709
|
resolveClassName = _usePrefix.resolveClassName;
|
716
710
|
return (0,external_vue_namespaceObject.createVNode)("div", (0,external_vue_namespaceObject.mergeProps)({
|
717
|
-
"class": (
|
711
|
+
"class": _defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-total')), true), 'is-first', isFirst), 'is-last', isLast)
|
718
712
|
}, {
|
719
713
|
disabled: props.disabled
|
720
714
|
}), [t.value.total, (0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -840,9 +834,8 @@ var paginationProps = {
|
|
840
834
|
};
|
841
835
|
},
|
842
836
|
render: function render() {
|
843
|
-
var
|
844
|
-
|
845
|
-
var paginationClass = (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.resolveClassName('pagination')), true), _defineProperty(_classes, "".concat(this.resolveClassName("pagination--".concat(this.size))), true), _defineProperty(_classes, "is-align-".concat(this.align), true), _classes));
|
837
|
+
var _this = this;
|
838
|
+
var paginationClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('pagination')), true), "".concat(this.resolveClassName("pagination--".concat(this.size))), true), "is-align-".concat(this.align), true));
|
846
839
|
var layoutMap = {
|
847
840
|
total: this.renderTotal,
|
848
841
|
list: this.small ? this.renderSmallList : this.renderList,
|