@das-fed/ui 6.4.0-dev.55.2 → 6.4.0-dev.55.4
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/package.json +5 -5
- package/packages/business-components/change-enterprises/index.js +2 -2
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +33 -33
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -4
- package/packages/business-components/currency-page/index.js +4 -4
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +4 -0
- package/packages/business-components/device-panel/index.js +6566 -6552
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +44 -44
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +101 -101
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.js +1 -1
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +82 -82
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +488 -488
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/index.js +1 -1
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +1 -1
- package/packages/business-components/process-search-form/index.js +442 -442
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/upload-file/index.js +11 -11
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +108 -108
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/components/breadcrumb/index.d.ts +9 -3
- package/packages/components/breadcrumb/index.js +48 -45
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +3 -1
- package/packages/components/breadcrumb/src/type.d.ts +1 -0
- package/packages/components/breadcrumb/style.css +1 -1
- package/packages/components/breadcrumb/style.css.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -46
- package/packages/components/calendar/index.js +33 -33
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -1
- package/packages/components/cascader/index.js +12 -14
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -1
- package/packages/components/color-picker/index.js +84 -83
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -1
- package/packages/components/custom-search-item/index.js +1 -3
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +3 -3
- package/packages/components/date-picker/index.js +519 -518
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -1
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -6
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -10
- package/packages/components/dimple-layout/index.js +8 -8
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -1
- package/packages/components/dropdown/index.js +1 -3
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +52 -52
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/index.js +11 -11
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/live-player/index.js +142 -142
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +4 -4
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/message/index.js +1 -1
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/pagination/index.js +132 -131
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.d.ts +3 -0
- package/packages/components/popover/index.js +24 -23
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -4
- package/packages/components/rich-editor/index.js +3138 -3128
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/index.js +156 -156
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +5 -5
- package/packages/components/select/index.js +2 -2
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -4
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -4
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -3
- package/packages/components/table/i18n/index.d.ts +12 -0
- package/packages/components/table/index.js +3302 -3233
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/type.d.ts +5 -1
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/index.js +23 -23
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/index.js +5 -5
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +216 -216
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/index.js +32 -32
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +6 -6
- package/packages/components/virtual-tree/index.js.gz +0 -0
|
Binary file
|
|
@@ -1605,12 +1605,12 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
|
|
|
1605
1605
|
};
|
|
1606
1606
|
}
|
|
1607
1607
|
}), bu = /* @__PURE__ */ Le(mu, [["__scopeId", "data-v-ecb395cb"]]), _u = {
|
|
1608
|
-
请输入位置: { "zh-CN": "请输入位置", en: "Please
|
|
1609
|
-
获取地图配置信息失败: { "zh-CN": "获取地图配置信息失败", en: "Failed to
|
|
1610
|
-
暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map
|
|
1608
|
+
请输入位置: { "zh-CN": "请输入位置", en: "Please Enter Location" },
|
|
1609
|
+
获取地图配置信息失败: { "zh-CN": "获取地图配置信息失败", en: "Failed to Get Map Configuration Information" },
|
|
1610
|
+
暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map Not Configured" },
|
|
1611
1611
|
thirdPartyMapErrorRetry: {
|
|
1612
1612
|
"zh-CN": "第三方地图配置参数错误或地址信息无效,请检查后再重试",
|
|
1613
|
-
en: "The
|
|
1613
|
+
en: "The Configuration Parameters of the Third-Party Map Are Incorrect or the Address Information Is Invalid. Please Check and Try Again"
|
|
1614
1614
|
}
|
|
1615
1615
|
};
|
|
1616
1616
|
qt(_u);
|
|
Binary file
|
|
@@ -96,7 +96,7 @@ const S = {
|
|
|
96
96
|
"--das-ui-message-error-bg-color": "#FFDBE0",
|
|
97
97
|
"--das-ui-message-error-color": "#FB2323",
|
|
98
98
|
"--das-ui-message-error-bd-color": "##FFADB6"
|
|
99
|
-
}, B = { 消息提示: { "zh-CN": "消息提示", en: "Message
|
|
99
|
+
}, B = { 消息提示: { "zh-CN": "消息提示", en: "Message Prompt" } };
|
|
100
100
|
w(B);
|
|
101
101
|
F(S);
|
|
102
102
|
const E = r;
|
|
Binary file
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/pagination/style.css';
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { defineComponent as B, openBlock as u, createElementBlock as C, createElementVNode as S, ref as T, computed as d, createBlock as D, withCtx as z, createVNode as m, Fragment as U, renderList as G, normalizeClass as h, createTextVNode as H, toDisplayString as P, unref as l, reactive as J, watch as K, onMounted as Q, nextTick as W, createCommentVNode as x, mergeProps as X, isRef as M, renderSlot as Y } from "vue";
|
|
3
|
+
import { withInstall as Z } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { t as b, currentLang as ee, setI18nRule as ae } from "@das-fed/web/packages/i18n/index";
|
|
5
|
+
import { DasAutoRegisterIcon as te, DasIcon as N } from "@das-fed/ui/packages/components/icon/index";
|
|
6
|
+
import { ElConfigProvider as le, ElPagination as oe } from "element-plus";
|
|
6
7
|
import "element-plus/es/components/pagination/style/css";
|
|
7
|
-
import { useModelValue as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import { useModelValue as L } from "@das-fed/utils/vue";
|
|
9
|
+
import ne from "element-plus/dist/locale/zh-cn.mjs";
|
|
10
|
+
import se from "element-plus/dist/locale/en.mjs";
|
|
11
|
+
import { ElIcon as ie, ElDropdownItem as re, ElDropdownMenu as pe, ElDropdown as ue } from "element-plus/es";
|
|
10
12
|
import "element-plus/es/components/base/style/css";
|
|
11
13
|
import "element-plus/es/components/dropdown/style/css";
|
|
12
14
|
import "element-plus/es/components/dropdown-menu/style/css";
|
|
13
15
|
import "element-plus/es/components/dropdown-item/style/css";
|
|
14
16
|
import "element-plus/es/components/icon/style/css";
|
|
15
|
-
import {
|
|
16
|
-
import { setThemeRule as re } from "@das-fed/web/packages/theme/index";
|
|
17
|
+
import { setThemeRule as ce } from "@das-fed/web/packages/theme/index";
|
|
17
18
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
18
|
-
var
|
|
19
|
+
var de = /* @__PURE__ */ B({
|
|
19
20
|
name: "ArrowDown",
|
|
20
21
|
__name: "arrow-down",
|
|
21
22
|
setup(v) {
|
|
22
|
-
return (f,
|
|
23
|
+
return (f, n) => (u(), C("svg", {
|
|
23
24
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24
25
|
viewBox: "0 0 1024 1024"
|
|
25
26
|
}, [
|
|
@@ -29,49 +30,49 @@ var pe = /* @__PURE__ */ E({
|
|
|
29
30
|
})
|
|
30
31
|
]));
|
|
31
32
|
}
|
|
32
|
-
}),
|
|
33
|
-
const
|
|
33
|
+
}), ge = de;
|
|
34
|
+
const me = { class: "sizes-dropdown-link" }, ve = { class: "current-page-size" }, fe = {
|
|
34
35
|
name: "DasPaginationSizes"
|
|
35
|
-
},
|
|
36
|
-
...
|
|
36
|
+
}, _e = /* @__PURE__ */ B({
|
|
37
|
+
...fe,
|
|
37
38
|
props: {
|
|
38
39
|
pageSizes: { default: () => [20, 50, 100] },
|
|
39
40
|
pageSize: { default: 20 }
|
|
40
41
|
},
|
|
41
42
|
emits: ["update:pageSize", "size-change"],
|
|
42
43
|
setup(v, { emit: f }) {
|
|
43
|
-
const
|
|
44
|
-
get: () =>
|
|
45
|
-
set: (
|
|
46
|
-
o("update:pageSize",
|
|
44
|
+
const n = v, o = f, k = T(!1), g = d({
|
|
45
|
+
get: () => n.pageSize,
|
|
46
|
+
set: (p) => {
|
|
47
|
+
o("update:pageSize", p);
|
|
47
48
|
}
|
|
48
|
-
}),
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
49
|
+
}), s = (p) => {
|
|
50
|
+
k.value = p;
|
|
51
|
+
}, E = (p) => {
|
|
52
|
+
g.value = p, o("size-change", p);
|
|
52
53
|
};
|
|
53
|
-
return (
|
|
54
|
-
const
|
|
55
|
-
return
|
|
54
|
+
return (p, I) => {
|
|
55
|
+
const _ = ie, y = re, e = pe, c = ue;
|
|
56
|
+
return u(), D(c, {
|
|
56
57
|
"popper-class": "pagination-sizes-popper",
|
|
57
58
|
trigger: "click",
|
|
58
|
-
onVisibleChange:
|
|
59
|
-
onCommand:
|
|
59
|
+
onVisibleChange: s,
|
|
60
|
+
onCommand: E
|
|
60
61
|
}, {
|
|
61
62
|
dropdown: z(() => [
|
|
62
|
-
m(
|
|
63
|
+
m(e, null, {
|
|
63
64
|
default: z(() => [
|
|
64
|
-
(
|
|
65
|
-
|
|
65
|
+
(u(!0), C(
|
|
66
|
+
U,
|
|
66
67
|
null,
|
|
67
|
-
|
|
68
|
-
class: h(["sizes-item",
|
|
69
|
-
key:
|
|
70
|
-
command:
|
|
68
|
+
G(p.pageSizes, (i) => (u(), D(y, {
|
|
69
|
+
class: h(["sizes-item", i === p.pageSize ? "selected" : ""]),
|
|
70
|
+
key: i,
|
|
71
|
+
command: i
|
|
71
72
|
}, {
|
|
72
73
|
default: z(() => [
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
H(
|
|
75
|
+
P(l(b)("pagination-items_per_page", i)),
|
|
75
76
|
1
|
|
76
77
|
/* TEXT */
|
|
77
78
|
)
|
|
@@ -88,19 +89,19 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
|
|
|
88
89
|
})
|
|
89
90
|
]),
|
|
90
91
|
default: z(() => [
|
|
91
|
-
S("span",
|
|
92
|
+
S("span", me, [
|
|
92
93
|
S(
|
|
93
94
|
"span",
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
ve,
|
|
96
|
+
P(l(b)("pagination-items_per_page", g.value)),
|
|
96
97
|
1
|
|
97
98
|
/* TEXT */
|
|
98
99
|
),
|
|
99
|
-
m(
|
|
100
|
-
class: h(["arrow-icon",
|
|
100
|
+
m(_, {
|
|
101
|
+
class: h(["arrow-icon", k.value ? "rotate180" : ""])
|
|
101
102
|
}, {
|
|
102
103
|
default: z(() => [
|
|
103
|
-
m(l(
|
|
104
|
+
m(l(ge))
|
|
104
105
|
]),
|
|
105
106
|
_: 1
|
|
106
107
|
/* STABLE */
|
|
@@ -112,35 +113,35 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
|
|
|
112
113
|
});
|
|
113
114
|
};
|
|
114
115
|
}
|
|
115
|
-
}),
|
|
116
|
-
const
|
|
117
|
-
for (const [o,
|
|
118
|
-
|
|
119
|
-
return
|
|
120
|
-
},
|
|
116
|
+
}), R = (v, f) => {
|
|
117
|
+
const n = v.__vccOpts || v;
|
|
118
|
+
for (const [o, k] of f)
|
|
119
|
+
n[o] = k;
|
|
120
|
+
return n;
|
|
121
|
+
}, ze = /* @__PURE__ */ R(_e, [["__scopeId", "data-v-5b7b2982"]]), Ce = { class: "total-page" }, ke = {
|
|
121
122
|
name: "TotalPage"
|
|
122
|
-
},
|
|
123
|
-
...
|
|
123
|
+
}, he = /* @__PURE__ */ B({
|
|
124
|
+
...ke,
|
|
124
125
|
props: {
|
|
125
126
|
totalPage: {}
|
|
126
127
|
},
|
|
127
128
|
setup(v) {
|
|
128
|
-
return (f,
|
|
129
|
+
return (f, n) => (u(), C(
|
|
129
130
|
"div",
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
Ce,
|
|
132
|
+
P(l(b)("pagination-total_page", f.totalPage)),
|
|
132
133
|
1
|
|
133
134
|
/* TEXT */
|
|
134
135
|
));
|
|
135
136
|
}
|
|
136
|
-
}),
|
|
137
|
+
}), ye = /* @__PURE__ */ R(he, [["__scopeId", "data-v-917c488b"]]), we = { class: "das-ui-pagination" }, Se = {
|
|
137
138
|
key: 0,
|
|
138
139
|
style: { color: "#212121", "font-size": "12px" }
|
|
139
|
-
},
|
|
140
|
+
}, Pe = {
|
|
140
141
|
key: 1,
|
|
141
142
|
style: { "margin-left": "12px" },
|
|
142
143
|
class: "page-container flex-center__y"
|
|
143
|
-
},
|
|
144
|
+
}, be = { class: "flex-center__y" }, $e = { class: "flex-center__y" }, xe = /* @__PURE__ */ B({
|
|
144
145
|
__name: "Pagination",
|
|
145
146
|
props: {
|
|
146
147
|
modelValue: { default: 1 },
|
|
@@ -156,36 +157,36 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
|
|
|
156
157
|
},
|
|
157
158
|
emits: ["update:modelValue", "update:pageSize", "size-change", "current-change", "prev-click", "next-click", "first-click", "last-click"],
|
|
158
159
|
setup(v, { emit: f }) {
|
|
159
|
-
const
|
|
160
|
-
|
|
160
|
+
const n = v, o = f;
|
|
161
|
+
te({
|
|
161
162
|
"arrow-first": import("@das-fed/ui/packages/icons/arrow-first"),
|
|
162
163
|
left: import("@das-fed/ui/packages/icons/left"),
|
|
163
164
|
right: import("@das-fed/ui/packages/icons/right"),
|
|
164
165
|
"arrow-last": import("@das-fed/ui/packages/icons/arrow-last")
|
|
165
166
|
});
|
|
166
|
-
const
|
|
167
|
+
const k = d(() => ee.value === "zh-CN" ? ne : se), g = T(), s = J({
|
|
167
168
|
first: !1,
|
|
168
169
|
pre: !1,
|
|
169
170
|
next: !1,
|
|
170
171
|
last: !1
|
|
171
|
-
}),
|
|
172
|
+
}), E = d(() => n.layout), p = d(() => n.background), I = d(() => n.pageSizes), _ = d(() => n.total), y = d(() => n.simple), e = L(n, "modelValue"), c = L(n, "pageSize"), i = d(() => Math.ceil(_.value / c.value)), V = d(() => y.value ? "prev, slot, next" : E.value || "total,jumper,slot,sizes"), A = d(() => V.value.replace(/\s*/g, "").split(",").filter((a) => a !== "total" && a !== "sizes").join(",")), j = (t) => {
|
|
172
173
|
o("update:pageSize", t), o("size-change", t);
|
|
173
174
|
}, w = (t) => {
|
|
174
175
|
o("update:modelValue", t), o("current-change", t);
|
|
175
|
-
},
|
|
176
|
-
|
|
176
|
+
}, F = () => o("prev-click", e.value), O = () => o("next-click", e.value), q = () => {
|
|
177
|
+
s.first = i.value === 0 || e.value <= 1, s.pre = i.value === 0 || e.value <= 1, s.next = i.value === 0 || e.value === i.value, s.last = i.value === 0 || e.value === i.value;
|
|
177
178
|
};
|
|
178
|
-
|
|
179
|
-
() => [e.value,
|
|
179
|
+
K(
|
|
180
|
+
() => [e.value, i.value],
|
|
180
181
|
() => {
|
|
181
|
-
|
|
182
|
+
q();
|
|
182
183
|
},
|
|
183
184
|
{
|
|
184
185
|
immediate: !0
|
|
185
186
|
}
|
|
186
187
|
);
|
|
187
|
-
const
|
|
188
|
-
const
|
|
188
|
+
const $ = (t, a) => {
|
|
189
|
+
const r = /* @__PURE__ */ new Map([
|
|
189
190
|
[
|
|
190
191
|
"first",
|
|
191
192
|
() => {
|
|
@@ -201,95 +202,95 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
|
|
|
201
202
|
[
|
|
202
203
|
"next",
|
|
203
204
|
() => {
|
|
204
|
-
e.value !==
|
|
205
|
+
e.value !== _.value && (e.value++, w(e.value), o("next-click", e.value));
|
|
205
206
|
}
|
|
206
207
|
],
|
|
207
208
|
[
|
|
208
209
|
"last",
|
|
209
210
|
() => {
|
|
210
|
-
e.value !==
|
|
211
|
+
e.value !== _.value && (e.value = i.value, w(e.value), o("last-click", e.value));
|
|
211
212
|
}
|
|
212
213
|
]
|
|
213
214
|
]);
|
|
214
215
|
if (a) return;
|
|
215
|
-
|
|
216
|
+
r.get(t)();
|
|
216
217
|
};
|
|
217
|
-
return
|
|
218
|
-
|
|
219
|
-
var t, a,
|
|
220
|
-
(t =
|
|
218
|
+
return Q(() => {
|
|
219
|
+
W(() => {
|
|
220
|
+
var t, a, r;
|
|
221
|
+
(t = g.value) != null && t.$el && ((a = g.value.$el) != null && a.getElementsByClassName("el-pagination__goto")[0] && (g.value.$el.getElementsByClassName("el-pagination__goto")[0].innerText = b("第")), (r = g.value.$el) != null && r.getElementsByClassName("el-pagination__classifier")[0] && (g.value.$el.getElementsByClassName("el-pagination__classifier")[0].innerText = b("页")));
|
|
221
222
|
});
|
|
222
|
-
}), (t, a) => (
|
|
223
|
-
|
|
223
|
+
}), (t, a) => (u(), C("div", we, [
|
|
224
|
+
V.value.includes("total") ? (u(), D(l(ye), {
|
|
224
225
|
key: 0,
|
|
225
|
-
"total-page":
|
|
226
|
+
"total-page": i.value,
|
|
226
227
|
style: { "margin-right": "12px" }
|
|
227
|
-
}, null, 8, ["total-page"])) :
|
|
228
|
-
m(l(
|
|
228
|
+
}, null, 8, ["total-page"])) : x("v-if", !0),
|
|
229
|
+
m(l(le), { locale: k.value }, {
|
|
229
230
|
default: z(() => [
|
|
230
|
-
m(l(
|
|
231
|
+
m(l(oe), X({
|
|
231
232
|
ref_key: "dasPagination",
|
|
232
|
-
ref:
|
|
233
|
-
class: { background:
|
|
233
|
+
ref: g,
|
|
234
|
+
class: { background: p.value, simple: y.value },
|
|
234
235
|
currentPage: l(e),
|
|
235
|
-
"onUpdate:currentPage": a[4] || (a[4] = (
|
|
236
|
-
"page-size": l(
|
|
237
|
-
"onUpdate:pageSize": a[5] || (a[5] = (
|
|
238
|
-
"page-sizes":
|
|
239
|
-
layout:
|
|
240
|
-
total:
|
|
236
|
+
"onUpdate:currentPage": a[4] || (a[4] = (r) => M(e) ? e.value = r : null),
|
|
237
|
+
"page-size": l(c),
|
|
238
|
+
"onUpdate:pageSize": a[5] || (a[5] = (r) => M(c) ? c.value = r : null),
|
|
239
|
+
"page-sizes": I.value,
|
|
240
|
+
layout: A.value,
|
|
241
|
+
total: _.value,
|
|
241
242
|
small: t.small,
|
|
242
|
-
background:
|
|
243
|
+
background: p.value,
|
|
243
244
|
disabled: t.disabled,
|
|
244
245
|
"popper-class": t.popperClass ? `das-pagination-popper ${t.popperClass}` : "das-pagination-popper",
|
|
245
246
|
teleported: !1,
|
|
246
247
|
onCurrentChange: w,
|
|
247
|
-
onPrevClick:
|
|
248
|
-
onNextClick:
|
|
248
|
+
onPrevClick: F,
|
|
249
|
+
onNextClick: O
|
|
249
250
|
}, t.$attrs), {
|
|
250
251
|
default: z(() => [
|
|
251
|
-
|
|
252
|
-
t.$slots.default ?
|
|
253
|
-
|
|
252
|
+
A.value.includes("slot") ? Y(t.$slots, "default", { key: 0 }, () => [
|
|
253
|
+
t.$slots.default ? x("v-if", !0) : (u(), C(
|
|
254
|
+
U,
|
|
254
255
|
{ key: 0 },
|
|
255
256
|
[
|
|
256
|
-
y.value ? (
|
|
257
|
+
y.value ? (u(), C(
|
|
257
258
|
"div",
|
|
258
|
-
|
|
259
|
-
|
|
259
|
+
Se,
|
|
260
|
+
P(l(e)) + "/" + P(Math.ceil(_.value / l(c))),
|
|
260
261
|
1
|
|
261
262
|
/* TEXT */
|
|
262
|
-
)) : (
|
|
263
|
-
S("div",
|
|
264
|
-
m(l(
|
|
265
|
-
class: h(["page-icon",
|
|
263
|
+
)) : (u(), C("div", Pe, [
|
|
264
|
+
S("div", be, [
|
|
265
|
+
m(l(N), {
|
|
266
|
+
class: h(["page-icon", s.first ? "disabled" : ""]),
|
|
266
267
|
icon: "arrow-first",
|
|
267
268
|
iconColor: "#666666",
|
|
268
269
|
size: "medium",
|
|
269
|
-
onClick: a[0] || (a[0] = (
|
|
270
|
+
onClick: a[0] || (a[0] = (r) => $("first", s.first))
|
|
270
271
|
}, null, 8, ["class"]),
|
|
271
|
-
m(l(
|
|
272
|
-
class: h(["page-icon",
|
|
272
|
+
m(l(N), {
|
|
273
|
+
class: h(["page-icon", s.pre ? "disabled" : ""]),
|
|
273
274
|
icon: "left",
|
|
274
275
|
iconColor: "#666666",
|
|
275
276
|
size: "medium",
|
|
276
|
-
onClick: a[1] || (a[1] = (
|
|
277
|
+
onClick: a[1] || (a[1] = (r) => $("pre", s.pre))
|
|
277
278
|
}, null, 8, ["class"])
|
|
278
279
|
]),
|
|
279
|
-
S("div",
|
|
280
|
-
m(l(
|
|
281
|
-
class: h(["page-icon",
|
|
280
|
+
S("div", $e, [
|
|
281
|
+
m(l(N), {
|
|
282
|
+
class: h(["page-icon", s.next ? "disabled" : ""]),
|
|
282
283
|
icon: "right",
|
|
283
284
|
iconColor: "#666666",
|
|
284
285
|
size: "medium",
|
|
285
|
-
onClick: a[2] || (a[2] = (
|
|
286
|
+
onClick: a[2] || (a[2] = (r) => $("next", s.next))
|
|
286
287
|
}, null, 8, ["class"]),
|
|
287
|
-
m(l(
|
|
288
|
-
class: h(["page-icon",
|
|
288
|
+
m(l(N), {
|
|
289
|
+
class: h(["page-icon", s.last ? "disabled" : ""]),
|
|
289
290
|
icon: "arrow-last",
|
|
290
291
|
iconColor: "#666666",
|
|
291
292
|
size: "medium",
|
|
292
|
-
onClick: a[3] || (a[3] = (
|
|
293
|
+
onClick: a[3] || (a[3] = (r) => $("last", s.last))
|
|
293
294
|
}, null, 8, ["class"])
|
|
294
295
|
])
|
|
295
296
|
]))
|
|
@@ -297,7 +298,7 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
|
|
|
297
298
|
64
|
|
298
299
|
/* STABLE_FRAGMENT */
|
|
299
300
|
))
|
|
300
|
-
], !0) :
|
|
301
|
+
], !0) : x("v-if", !0)
|
|
301
302
|
]),
|
|
302
303
|
_: 3
|
|
303
304
|
/* FORWARDED */
|
|
@@ -306,33 +307,33 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
|
|
|
306
307
|
_: 3
|
|
307
308
|
/* FORWARDED */
|
|
308
309
|
}, 8, ["locale"]),
|
|
309
|
-
|
|
310
|
+
V.value.includes("sizes") ? (u(), D(l(ze), {
|
|
310
311
|
key: 1,
|
|
311
|
-
"page-sizes":
|
|
312
|
-
pageSize: l(
|
|
313
|
-
"onUpdate:pageSize": a[6] || (a[6] = (
|
|
314
|
-
onSizeChange:
|
|
315
|
-
}, null, 8, ["page-sizes", "pageSize"])) :
|
|
312
|
+
"page-sizes": I.value,
|
|
313
|
+
pageSize: l(c),
|
|
314
|
+
"onUpdate:pageSize": a[6] || (a[6] = (r) => M(c) ? c.value = r : null),
|
|
315
|
+
onSizeChange: j
|
|
316
|
+
}, null, 8, ["page-sizes", "pageSize"])) : x("v-if", !0)
|
|
316
317
|
]));
|
|
317
318
|
}
|
|
318
|
-
}),
|
|
319
|
+
}), Ne = /* @__PURE__ */ R(xe, [["__scopeId", "data-v-d1fdaf0e"]]), De = {
|
|
319
320
|
"--das-ui-pagination-simple-border-color": "#D9D9D9",
|
|
320
321
|
"--das-ui-pagination-size-color": "#212121",
|
|
321
322
|
"--das-ui-pagination-size--icon-hover-color": "#3761CA",
|
|
322
323
|
"--das-ui-pagination-size--poppver-item-hover-bg-color": "#f5f5f5",
|
|
323
324
|
"--das-ui-pagination-size--poppver-item-click-color": "#5582f3",
|
|
324
325
|
"--das-ui-pagination-totalpage-color": "#666666"
|
|
325
|
-
},
|
|
326
|
+
}, Be = {
|
|
326
327
|
第: { "zh-CN": "第", en: "No" },
|
|
327
|
-
页: { "zh-CN": "页", en: "
|
|
328
|
-
"pagination-total_page": { "zh-CN": "共$0页", en: "Total $0
|
|
329
|
-
"pagination-items_per_page": { "zh-CN": "$0条/页", en: "$0
|
|
328
|
+
页: { "zh-CN": "页", en: "Page" },
|
|
329
|
+
"pagination-total_page": { "zh-CN": "共$0页", en: "Total $0 Pages" },
|
|
330
|
+
"pagination-items_per_page": { "zh-CN": "$0条/页", en: "$0 Items/Page" }
|
|
330
331
|
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
const
|
|
332
|
+
ae(Be);
|
|
333
|
+
ce(De);
|
|
334
|
+
const Qe = () => T(null), We = Z(Ne);
|
|
334
335
|
export {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
336
|
+
We as DasPagination,
|
|
337
|
+
Qe as DasPaginationRef,
|
|
338
|
+
We as default
|
|
338
339
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.sizes-dropdown-link[data-v-5b7b2982]{display:flex;align-items:center;margin-left:16px}.sizes-dropdown-link .arrow-icon[data-v-5b7b2982]{font-size:14px;transition:transform .3s}.sizes-dropdown-link .rotate180[data-v-5b7b2982]{transform:rotate(180deg)}.sizes-dropdown-link .current-page-size[data-v-5b7b2982]{font-size:12px;color:var(--das-ui-pagination-size-color);margin-right:9px}.sizes-dropdown-link:hover .arrow-icon[data-v-5b7b2982]{color:var(--das-ui-pagination-size--icon-hover-color)}.pagination-sizes-popper{width:108px}.pagination-sizes-popper .el-popper__arrow{display:none}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item{display:flex;justify-content:flex-end;padding-right:24px;font-size:12px;color:var(--das-ui-pagination-size-color)}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:hover{color:var(--das-ui-pagination-size-color);background-color:var(--das-ui-pagination-size--poppver-item-hover-bg-color)}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected{color:var(--das-ui-pagination-size--poppver-item-click-color);font-weight:400}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected :hover{color:var(--das-ui-pagination-size--poppver-item-click-color)}.total-page[data-v-917c488b]{font-size:12px;color:var(--das-ui-pagination-totalpage-color)}.das-ui-pagination[data-v-
|
|
1
|
+
.sizes-dropdown-link[data-v-5b7b2982]{display:flex;align-items:center;margin-left:16px}.sizes-dropdown-link .arrow-icon[data-v-5b7b2982]{font-size:14px;transition:transform .3s}.sizes-dropdown-link .rotate180[data-v-5b7b2982]{transform:rotate(180deg)}.sizes-dropdown-link .current-page-size[data-v-5b7b2982]{font-size:12px;color:var(--das-ui-pagination-size-color);margin-right:9px}.sizes-dropdown-link:hover .arrow-icon[data-v-5b7b2982]{color:var(--das-ui-pagination-size--icon-hover-color)}.pagination-sizes-popper{width:108px}.pagination-sizes-popper .el-popper__arrow{display:none}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item{display:flex;justify-content:flex-end;padding-right:24px;font-size:12px;color:var(--das-ui-pagination-size-color)}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:hover{color:var(--das-ui-pagination-size-color);background-color:var(--das-ui-pagination-size--poppver-item-hover-bg-color)}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected{color:var(--das-ui-pagination-size--poppver-item-click-color);font-weight:400}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected :hover{color:var(--das-ui-pagination-size--poppver-item-click-color)}.total-page[data-v-917c488b]{font-size:12px;color:var(--das-ui-pagination-totalpage-color)}.das-ui-pagination[data-v-d1fdaf0e]{display:flex;align-items:center;--el-color-primary: var(--das-ui-button-primary);padding:0}.das-ui-pagination .flex-center__y[data-v-d1fdaf0e]{display:flex;align-items:center}.das-ui-pagination[data-v-d1fdaf0e] .el-pagination__classifier,.das-ui-pagination[data-v-d1fdaf0e] .el-pagination__editor{margin-left:4px}.das-ui-pagination[data-v-d1fdaf0e] .el-pagination__jump{margin-left:12px}.das-ui-pagination[data-v-d1fdaf0e] .el-pagination__jump .el-input__wrapper.is-focus,.das-ui-pagination[data-v-d1fdaf0e] .el-pagination__jump .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-pagination-size--poppver-item-click-color) inset}.das-ui-pagination[data-v-d1fdaf0e] .el-select .el-input__wrapper{box-shadow:none!important}.das-ui-pagination[data-v-d1fdaf0e] .el-select .el-input{width:85px}.das-ui-pagination[data-v-d1fdaf0e] .el-select .el-input .el-select__caret{color:#666;margin-left:0}.das-ui-pagination[data-v-d1fdaf0e] .el-pagination__sizes{display:flex;flex-direction:column;justify-content:center;margin-left:0;margin-right:0}.das-ui-pagination.simple[data-v-d1fdaf0e]{border:1px solid var(--das-ui-pagination-simple-border-color);background:#fff}.das-ui-pagination.simple[data-v-d1fdaf0e]:hover{border-color:var(--das-ui-button-primary)}.das-ui-pagination .page-container .page-icon[data-v-d1fdaf0e]{cursor:pointer;margin-right:8px}.das-ui-pagination .page-container .page-icon[data-v-d1fdaf0e]:hover,.das-ui-pagination .page-container .page-icon[data-v-d1fdaf0e]:active{fill:var(--das-ui-pagination-size--poppver-item-click-color)}.das-ui-pagination .page-container .page-icon.disabled[data-v-d1fdaf0e]{cursor:not-allowed;fill:#b2b2b2}
|
|
Binary file
|
|
@@ -12,6 +12,7 @@ declare const DasPopover: import("@das-fed/utils").SFCWithInstall<{
|
|
|
12
12
|
clickOutside: () => any;
|
|
13
13
|
}, import("vue").PublicProps, {
|
|
14
14
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
15
|
+
width: string | number;
|
|
15
16
|
showBtns: boolean;
|
|
16
17
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
17
18
|
P: {};
|
|
@@ -28,6 +29,7 @@ declare const DasPopover: import("@das-fed/utils").SFCWithInstall<{
|
|
|
28
29
|
$popoverRef: import("vue").Ref<null, null>;
|
|
29
30
|
}, {}, {}, {}, {
|
|
30
31
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
32
|
+
width: string | number;
|
|
31
33
|
showBtns: boolean;
|
|
32
34
|
}>;
|
|
33
35
|
__isFragment?: never;
|
|
@@ -45,6 +47,7 @@ declare const DasPopover: import("@das-fed/utils").SFCWithInstall<{
|
|
|
45
47
|
clickOutside: () => any;
|
|
46
48
|
}, string, {
|
|
47
49
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
50
|
+
width: string | number;
|
|
48
51
|
showBtns: boolean;
|
|
49
52
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
50
53
|
$slots: {
|