@das-fed/ui 6.4.0-dev.54.7 → 6.4.0-dev.54.9

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.
Files changed (126) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -3
  3. package/packages/business-components/change-pwd/i18n/index.d.ts +26 -34
  4. package/packages/business-components/change-pwd/index.js +66 -65
  5. package/packages/business-components/change-pwd/index.js.gz +0 -0
  6. package/packages/business-components/device-panel/i18n/index.d.ts +172 -0
  7. package/packages/business-components/device-panel/index.js +331 -261
  8. package/packages/business-components/device-panel/index.js.gz +0 -0
  9. package/packages/business-components/export-button/i18n/index.d.ts +16 -20
  10. package/packages/business-components/export-button/index.js +88 -86
  11. package/packages/business-components/export-button/index.js.gz +0 -0
  12. package/packages/business-components/import-button/i18n/index.d.ts +34 -30
  13. package/packages/business-components/import-button/index.js +148 -144
  14. package/packages/business-components/import-button/index.js.gz +0 -0
  15. package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -6
  16. package/packages/business-components/model-table-dialog/index.js +82 -83
  17. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  18. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +17 -49
  19. package/packages/business-components/model-table-dialog/style.css +1 -1
  20. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  21. package/packages/business-components/process-configuration/i18n/index.d.ts +37 -29
  22. package/packages/business-components/process-configuration/index.js +103 -92
  23. package/packages/business-components/process-configuration/index.js.gz +0 -0
  24. package/packages/business-components/process-form/i18n/index.d.ts +109 -69
  25. package/packages/business-components/process-form/index.js +691 -672
  26. package/packages/business-components/process-form/index.js.gz +0 -0
  27. package/packages/business-components/process-log/i18n/index.d.ts +4 -0
  28. package/packages/business-components/process-log/index.js +29 -28
  29. package/packages/business-components/process-log/index.js.gz +0 -0
  30. package/packages/business-components/process-search-form/i18n/index.d.ts +9 -9
  31. package/packages/business-components/process-search-form/index.js +2 -2
  32. package/packages/business-components/process-search-form/index.js.gz +0 -0
  33. package/packages/business-components/process-table/i18n/index.d.ts +8 -8
  34. package/packages/business-components/process-table/index.js +36 -36
  35. package/packages/business-components/process-table/index.js.gz +0 -0
  36. package/packages/business-components/upload-file/i18n/index.d.ts +2 -2
  37. package/packages/business-components/upload-file/index.js +45 -42
  38. package/packages/business-components/upload-file/index.js.gz +0 -0
  39. package/packages/business-components/urgent-panel/i18n/index.d.ts +28 -0
  40. package/packages/business-components/urgent-panel/index.js +595 -576
  41. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  42. package/packages/business-components/user-org-dialog/i18n/index.d.ts +7 -3
  43. package/packages/business-components/user-org-dialog/index.js +92 -91
  44. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  45. package/packages/business-components/video-dialog/i18n/index.d.ts +29 -17
  46. package/packages/business-components/video-dialog/index.js +116 -113
  47. package/packages/business-components/video-dialog/index.js.gz +0 -0
  48. package/packages/components/button/index.js +54 -56
  49. package/packages/components/button/index.js.gz +0 -0
  50. package/packages/components/image-upload/i18n/index.d.ts +9 -21
  51. package/packages/components/image-upload/index.js +92 -92
  52. package/packages/components/image-upload/index.js.gz +0 -0
  53. package/packages/components/image-viewer/i18n/index.d.ts +1 -30
  54. package/packages/components/image-viewer/index.js +213 -219
  55. package/packages/components/image-viewer/index.js.gz +0 -0
  56. package/packages/components/input/i18n/index.d.ts +3 -3
  57. package/packages/components/input/index.js +1 -1
  58. package/packages/components/input/index.js.gz +0 -0
  59. package/packages/components/input-dialog-select/i18n/index.d.ts +1 -6
  60. package/packages/components/input-dialog-select/index.js +49 -51
  61. package/packages/components/input-dialog-select/index.js.gz +0 -0
  62. package/packages/components/live-player/i18n/index.d.ts +3 -7
  63. package/packages/components/live-player/index.js +7 -5
  64. package/packages/components/live-player/index.js.gz +0 -0
  65. package/packages/components/live-player/style.css +1 -1
  66. package/packages/components/loading/i18n/index.d.ts +1 -1
  67. package/packages/components/loading/index.js +1 -3
  68. package/packages/components/loading/index.js.gz +0 -0
  69. package/packages/components/map/i18n/index.d.ts +7 -11
  70. package/packages/components/map/index.js +168 -167
  71. package/packages/components/map/index.js.gz +0 -0
  72. package/packages/components/menu-aside/i18n/index.d.ts +1 -1
  73. package/packages/components/menu-aside/index.js +1 -3
  74. package/packages/components/menu-aside/index.js.gz +0 -0
  75. package/packages/components/message/i18n/index.d.ts +1 -1
  76. package/packages/components/message/index.js +1 -3
  77. package/packages/components/message/index.js.gz +0 -0
  78. package/packages/components/notification/i18n/index.d.ts +1 -1
  79. package/packages/components/notification/index.js +1 -3
  80. package/packages/components/notification/index.js.gz +0 -0
  81. package/packages/components/pagination/i18n/index.d.ts +8 -8
  82. package/packages/components/pagination/index.js +124 -124
  83. package/packages/components/pagination/index.js.gz +0 -0
  84. package/packages/components/pagination/style.css +1 -1
  85. package/packages/components/pagination/style.css.gz +0 -0
  86. package/packages/components/popover/i18n/index.d.ts +2 -2
  87. package/packages/components/preview/i18n/index.d.ts +1 -1
  88. package/packages/components/preview/index.js +1 -3
  89. package/packages/components/preview/index.js.gz +0 -0
  90. package/packages/components/search/index.js +26 -36
  91. package/packages/components/search/index.js.gz +0 -0
  92. package/packages/components/search/style.css +1 -1
  93. package/packages/components/search/style.css.gz +0 -0
  94. package/packages/components/{search → search-form}/i18n/index.d.ts +6 -10
  95. package/packages/components/search-form/index.js +426 -418
  96. package/packages/components/search-form/index.js.gz +0 -0
  97. package/packages/components/search-form/style.css +1 -1
  98. package/packages/components/search-form/style.css.gz +0 -0
  99. package/packages/components/spin/i18n/index.d.ts +1 -1
  100. package/packages/components/spin/index.js +1 -3
  101. package/packages/components/spin/index.js.gz +0 -0
  102. package/packages/components/table/i18n/index.d.ts +19 -19
  103. package/packages/components/table/index.js +7 -7
  104. package/packages/components/table/index.js.gz +0 -0
  105. package/packages/components/table/style.css +1 -1
  106. package/packages/components/table/style.css.gz +0 -0
  107. package/packages/components/tabs/i18n/index.d.ts +3 -3
  108. package/packages/components/time-line/index.js +36 -40
  109. package/packages/components/time-line/index.js.gz +0 -0
  110. package/packages/components/tooltip/i18n/index.d.ts +1 -1
  111. package/packages/components/tooltip/index.js +1 -3
  112. package/packages/components/tooltip/index.js.gz +0 -0
  113. package/packages/components/tree/i18n/index.d.ts +8 -12
  114. package/packages/components/tree/index.js +137 -135
  115. package/packages/components/tree/index.js.gz +0 -0
  116. package/packages/components/tree/src/App.vue.d.ts +9 -27
  117. package/packages/components/upload/i18n/index.d.ts +5 -5
  118. package/packages/components/upload/index.js +1 -1
  119. package/packages/components/upload/index.js.gz +0 -0
  120. package/packages/components/virtual-tree/i18n/index.d.ts +1 -1
  121. package/packages/components/virtual-tree/index.js +1 -3
  122. package/packages/components/virtual-tree/index.js.gz +0 -0
  123. package/i18n-collection/en.js +0 -537
  124. package/i18n-collection/zh-CN.js +0 -537
  125. package/packages/components/button/i18n/index.d.ts +0 -2
  126. package/packages/components/time-line/i18n/index.d.ts +0 -7
Binary file
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  已到期: {
3
- "zh-CN": string;
3
+ 'zh-CN': string;
4
4
  en: string;
5
5
  };
6
6
  };
@@ -1574,9 +1574,7 @@ const er = ["src"], He = /* @__PURE__ */ de({
1574
1574
  "--das-ui-layout-aside-collapse-icon-hover-bg-color": "#5582F3",
1575
1575
  "--das-ui-layout-aside-divise-border-color": "rgba(255, 255, 255, 0.3)",
1576
1576
  "--das-ui-layout-aside-menu-expired-color": "#BBBBBB"
1577
- }, Ir = {
1578
- 已到期: { "zh-CN": "已到期", en: "Expired" }
1579
- };
1577
+ }, Ir = { 已到期: { "zh-CN": "已到期", en: "Expired" } };
1580
1578
  Ge(Ir);
1581
1579
  an(Er);
1582
1580
  const Jr = Le(Dr), Yr = { title: "Menu-Aside 垂直导航栏" };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  消息提示: {
3
- "zh-CN": string;
3
+ 'zh-CN': string;
4
4
  en: string;
5
5
  };
6
6
  };
@@ -96,9 +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 = {
100
- 消息提示: { "zh-CN": "消息提示", en: "Message prompt" }
101
- };
99
+ }, B = { 消息提示: { "zh-CN": "消息提示", en: "Message prompt" } };
102
100
  w(B);
103
101
  F(S);
104
102
  const E = r;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  通知: {
3
- "zh-CN": string;
3
+ 'zh-CN': string;
4
4
  en: string;
5
5
  };
6
6
  };
@@ -56,9 +56,7 @@ const m = {
56
56
  "--das-ui-notification-primary-bg-color": "#5582f3",
57
57
  "--das-ui-notification-close-hover-color": "#85b8ff",
58
58
  "--das-ui-notification-close-color": "#666666;"
59
- }, r = {
60
- 通知: { "zh-CN": "通知", en: "Notification" }
61
- };
59
+ }, r = { 通知: { "zh-CN": "通知", en: "Notification" } };
62
60
  c(r);
63
61
  o(e);
64
62
  const g = { name: `Notification ${s("通知")}` };
@@ -1,18 +1,18 @@
1
1
  declare const _default: {
2
- 共: {
3
- "zh-CN": string;
2
+ 第: {
3
+ 'zh-CN': string;
4
4
  en: string;
5
5
  };
6
- 条: {
7
- "zh-CN": string;
6
+ 页: {
7
+ 'zh-CN': string;
8
8
  en: string;
9
9
  };
10
- 页: {
11
- "zh-CN": string;
10
+ 'pagination-total_page': {
11
+ 'zh-CN': string;
12
12
  en: string;
13
13
  };
14
- 第: {
15
- "zh-CN": string;
14
+ 'pagination-items_per_page': {
15
+ 'zh-CN': string;
16
16
  en: string;
17
17
  };
18
18
  };
@@ -1,77 +1,77 @@
1
1
  import '@das-fed/ui/packages/components/pagination/style.css';
2
- import { defineComponent as V, openBlock as p, createElementBlock as C, createElementVNode as P, ref as M, computed as g, createBlock as I, withCtx as k, createVNode as v, Fragment as L, renderList as q, normalizeClass as y, createTextVNode as G, toDisplayString as m, unref as o, reactive as H, watch as J, onMounted as K, nextTick as Q, createCommentVNode as D, mergeProps as W, isRef as E, renderSlot as X } from "vue";
2
+ import { defineComponent as E, openBlock as c, createElementBlock as C, createElementVNode as S, ref as M, computed as g, createBlock as B, withCtx as z, createVNode as m, Fragment as L, renderList as q, normalizeClass as h, createTextVNode as G, toDisplayString as b, unref as l, reactive as H, watch as J, onMounted as K, nextTick as Q, createCommentVNode as N, mergeProps as W, isRef as V, renderSlot as X } from "vue";
3
3
  import { withInstall as Y } from "@das-fed/utils/with-install/index";
4
- import { DasAutoRegisterIcon as Z, DasIcon as N } from "@das-fed/ui/packages/components/icon/index";
4
+ import { DasAutoRegisterIcon as Z, DasIcon as D } from "@das-fed/ui/packages/components/icon/index";
5
5
  import { ElConfigProvider as ee, ElPagination as ae } from "element-plus";
6
6
  import "element-plus/es/components/pagination/style/css";
7
7
  import { useModelValue as A } from "@das-fed/utils/vue";
8
8
  import te from "element-plus/dist/locale/zh-cn.mjs";
9
- import { ElIcon as oe, ElDropdownItem as le, ElDropdownMenu as ne, ElDropdown as se } from "element-plus/es";
9
+ import { ElIcon as le, ElDropdownItem as oe, ElDropdownMenu as ne, ElDropdown as se } from "element-plus/es";
10
10
  import "element-plus/es/components/base/style/css";
11
11
  import "element-plus/es/components/dropdown/style/css";
12
12
  import "element-plus/es/components/dropdown-menu/style/css";
13
13
  import "element-plus/es/components/dropdown-item/style/css";
14
14
  import "element-plus/es/components/icon/style/css";
15
- import { t as b, setI18nRule as ie } from "@das-fed/web/packages/i18n/index";
15
+ import { t as $, setI18nRule as ie } from "@das-fed/web/packages/i18n/index";
16
16
  import { setThemeRule as re } from "@das-fed/web/packages/theme/index";
17
17
  /*! Element Plus Icons Vue v2.3.1 */
18
- var ue = /* @__PURE__ */ V({
18
+ var pe = /* @__PURE__ */ E({
19
19
  name: "ArrowDown",
20
20
  __name: "arrow-down",
21
- setup(f) {
22
- return (_, s) => (p(), C("svg", {
21
+ setup(v) {
22
+ return (f, s) => (c(), C("svg", {
23
23
  xmlns: "http://www.w3.org/2000/svg",
24
24
  viewBox: "0 0 1024 1024"
25
25
  }, [
26
- P("path", {
26
+ S("path", {
27
27
  fill: "currentColor",
28
28
  d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
29
29
  })
30
30
  ]));
31
31
  }
32
- }), pe = ue;
32
+ }), ue = pe;
33
33
  const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }, ge = {
34
34
  name: "DasPaginationSizes"
35
- }, ve = /* @__PURE__ */ V({
35
+ }, me = /* @__PURE__ */ E({
36
36
  ...ge,
37
37
  props: {
38
38
  pageSizes: { default: () => [20, 50, 100] },
39
39
  pageSize: { default: 20 }
40
40
  },
41
41
  emits: ["update:pageSize", "size-change"],
42
- setup(f, { emit: _ }) {
43
- const s = f, l = _, d = M(!1), n = g({
42
+ setup(v, { emit: f }) {
43
+ const s = v, o = f, p = M(!1), n = g({
44
44
  get: () => s.pageSize,
45
- set: (i) => {
46
- l("update:pageSize", i);
45
+ set: (r) => {
46
+ o("update:pageSize", r);
47
47
  }
48
- }), B = (i) => {
49
- d.value = i;
50
- }, x = (i) => {
51
- n.value = i, l("size-change", i);
48
+ }), I = (r) => {
49
+ p.value = r;
50
+ }, P = (r) => {
51
+ n.value = r, o("size-change", r);
52
52
  };
53
- return (i, h) => {
54
- const w = oe, e = le, c = ne, r = se;
55
- return p(), I(r, {
53
+ return (r, k) => {
54
+ const y = le, e = oe, d = ne, u = se;
55
+ return c(), B(u, {
56
56
  "popper-class": "pagination-sizes-popper",
57
57
  trigger: "click",
58
- onVisibleChange: B,
59
- onCommand: x
58
+ onVisibleChange: I,
59
+ onCommand: P
60
60
  }, {
61
- dropdown: k(() => [
62
- v(c, null, {
63
- default: k(() => [
64
- (p(!0), C(
61
+ dropdown: z(() => [
62
+ m(d, null, {
63
+ default: z(() => [
64
+ (c(!0), C(
65
65
  L,
66
66
  null,
67
- q(i.pageSizes, (z) => (p(), I(e, {
68
- class: y(["sizes-item", z === i.pageSize ? "selected" : ""]),
69
- key: z,
70
- command: z
67
+ q(r.pageSizes, (_) => (c(), B(e, {
68
+ class: h(["sizes-item", _ === r.pageSize ? "selected" : ""]),
69
+ key: _,
70
+ command: _
71
71
  }, {
72
- default: k(() => [
72
+ default: z(() => [
73
73
  G(
74
- m(z) + m(o(b)("条/页")),
74
+ b(l($)("pagination-items_per_page", _)),
75
75
  1
76
76
  /* TEXT */
77
77
  )
@@ -87,20 +87,20 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
87
87
  /* STABLE */
88
88
  })
89
89
  ]),
90
- default: k(() => [
91
- P("span", ce, [
92
- P(
90
+ default: z(() => [
91
+ S("span", ce, [
92
+ S(
93
93
  "span",
94
94
  de,
95
- m(n.value) + m(o(b)("条/页")),
95
+ b(l($)("pagination-items_per_page", n.value)),
96
96
  1
97
97
  /* TEXT */
98
98
  ),
99
- v(w, {
100
- class: y(["arrow-icon", d.value ? "rotate180" : ""])
99
+ m(y, {
100
+ class: h(["arrow-icon", p.value ? "rotate180" : ""])
101
101
  }, {
102
- default: k(() => [
103
- v(o(pe))
102
+ default: z(() => [
103
+ m(l(ue))
104
104
  ]),
105
105
  _: 1
106
106
  /* STABLE */
@@ -112,35 +112,35 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
112
112
  });
113
113
  };
114
114
  }
115
- }), R = (f, _) => {
116
- const s = f.__vccOpts || f;
117
- for (const [l, d] of _)
118
- s[l] = d;
115
+ }), T = (v, f) => {
116
+ const s = v.__vccOpts || v;
117
+ for (const [o, p] of f)
118
+ s[o] = p;
119
119
  return s;
120
- }, me = /* @__PURE__ */ R(ve, [["__scopeId", "data-v-d91f4c72"]]), fe = { class: "total-page" }, _e = {
120
+ }, ve = /* @__PURE__ */ T(me, [["__scopeId", "data-v-5b7b2982"]]), fe = { class: "total-page" }, _e = {
121
121
  name: "TotalPage"
122
- }, ze = /* @__PURE__ */ V({
122
+ }, ze = /* @__PURE__ */ E({
123
123
  ..._e,
124
124
  props: {
125
125
  totalPage: {}
126
126
  },
127
- setup(f) {
128
- return (_, s) => (p(), C(
127
+ setup(v) {
128
+ return (f, s) => (c(), C(
129
129
  "div",
130
130
  fe,
131
- m(o(b)("")) + m(_.totalPage) + m(o(b)("页")),
131
+ b(l($)("pagination-total_page", f.totalPage)),
132
132
  1
133
133
  /* TEXT */
134
134
  ));
135
135
  }
136
- }), ke = /* @__PURE__ */ R(ze, [["__scopeId", "data-v-135c589a"]]), Ce = { class: "das-ui-pagination" }, he = {
136
+ }), Ce = /* @__PURE__ */ T(ze, [["__scopeId", "data-v-917c488b"]]), ke = { class: "das-ui-pagination" }, he = {
137
137
  key: 0,
138
138
  style: { color: "#212121", "font-size": "12px" }
139
139
  }, ye = {
140
140
  key: 1,
141
141
  style: { "margin-left": "12px" },
142
142
  class: "page-container flex-center__y"
143
- }, we = { class: "flex-center__y" }, Se = { class: "flex-center__y" }, Pe = /* @__PURE__ */ V({
143
+ }, we = { class: "flex-center__y" }, Se = { class: "flex-center__y" }, be = /* @__PURE__ */ E({
144
144
  __name: "Pagination",
145
145
  props: {
146
146
  modelValue: { default: 1 },
@@ -155,28 +155,28 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
155
155
  popperClass: {}
156
156
  },
157
157
  emits: ["update:modelValue", "update:pageSize", "size-change", "current-change", "prev-click", "next-click", "first-click", "last-click"],
158
- setup(f, { emit: _ }) {
159
- const s = f, l = _;
158
+ setup(v, { emit: f }) {
159
+ const s = v, o = f;
160
160
  Z({
161
161
  "arrow-first": import("@das-fed/ui/packages/icons/arrow-first"),
162
162
  left: import("@das-fed/ui/packages/icons/left"),
163
163
  right: import("@das-fed/ui/packages/icons/right"),
164
164
  "arrow-last": import("@das-fed/ui/packages/icons/arrow-last")
165
165
  });
166
- const d = M(), n = H({
166
+ const p = M(), n = H({
167
167
  first: !1,
168
168
  pre: !1,
169
169
  next: !1,
170
170
  last: !1
171
- }), B = g(() => s.layout), x = g(() => s.background), i = g(() => s.pageSizes), h = g(() => s.total), w = g(() => s.simple), e = A(s, "modelValue"), c = A(s, "pageSize"), r = g(() => Math.ceil(h.value / c.value)), z = g(() => w.value ? "prev, slot, next" : B.value || "total,jumper,slot,sizes"), T = g(() => z.value.replace(/\s*/g, "").split(",").filter((a) => a !== "total" && a !== "sizes").join(",")), U = (t) => {
172
- l("update:pageSize", t), l("size-change", t);
173
- }, S = (t) => {
174
- l("update:modelValue", t), l("current-change", t);
175
- }, j = () => l("prev-click", e.value), F = () => l("next-click", e.value), O = () => {
176
- n.first = r.value === 0 || e.value <= 1, n.pre = r.value === 0 || e.value <= 1, n.next = r.value === 0 || e.value === r.value, n.last = r.value === 0 || e.value === r.value;
171
+ }), I = g(() => s.layout), P = g(() => s.background), r = g(() => s.pageSizes), k = g(() => s.total), y = g(() => s.simple), e = A(s, "modelValue"), d = A(s, "pageSize"), u = g(() => Math.ceil(k.value / d.value)), _ = g(() => y.value ? "prev, slot, next" : I.value || "total,jumper,slot,sizes"), R = g(() => _.value.replace(/\s*/g, "").split(",").filter((a) => a !== "total" && a !== "sizes").join(",")), U = (t) => {
172
+ o("update:pageSize", t), o("size-change", t);
173
+ }, w = (t) => {
174
+ o("update:modelValue", t), o("current-change", t);
175
+ }, j = () => o("prev-click", e.value), F = () => o("next-click", e.value), O = () => {
176
+ n.first = u.value === 0 || e.value <= 1, n.pre = u.value === 0 || e.value <= 1, n.next = u.value === 0 || e.value === u.value, n.last = u.value === 0 || e.value === u.value;
177
177
  };
178
178
  J(
179
- () => [e.value, r.value],
179
+ () => [e.value, u.value],
180
180
  () => {
181
181
  O();
182
182
  },
@@ -184,112 +184,112 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
184
184
  immediate: !0
185
185
  }
186
186
  );
187
- const $ = (t, a) => {
188
- const u = /* @__PURE__ */ new Map([
187
+ const x = (t, a) => {
188
+ const i = /* @__PURE__ */ new Map([
189
189
  [
190
190
  "first",
191
191
  () => {
192
- e.value <= 1 || (e.value = 1, S(e.value), l("first-click", e.value));
192
+ e.value <= 1 || (e.value = 1, w(e.value), o("first-click", e.value));
193
193
  }
194
194
  ],
195
195
  [
196
196
  "pre",
197
197
  () => {
198
- e.value <= 1 || (e.value--, S(e.value), l("prev-click", e.value));
198
+ e.value <= 1 || (e.value--, w(e.value), o("prev-click", e.value));
199
199
  }
200
200
  ],
201
201
  [
202
202
  "next",
203
203
  () => {
204
- e.value !== h.value && (e.value++, S(e.value), l("next-click", e.value));
204
+ e.value !== k.value && (e.value++, w(e.value), o("next-click", e.value));
205
205
  }
206
206
  ],
207
207
  [
208
208
  "last",
209
209
  () => {
210
- e.value !== h.value && (e.value = r.value, S(e.value), l("last-click", e.value));
210
+ e.value !== k.value && (e.value = u.value, w(e.value), o("last-click", e.value));
211
211
  }
212
212
  ]
213
213
  ]);
214
214
  if (a) return;
215
- u.get(t)();
215
+ i.get(t)();
216
216
  };
217
217
  return K(() => {
218
218
  Q(() => {
219
- var t, a;
220
- (t = d.value) != null && t.$el && (a = d.value.$el) != null && a.getElementsByClassName("el-pagination__goto")[0] && (d.value.$el.getElementsByClassName("el-pagination__goto")[0].innerText = b("第"));
219
+ var t, a, i;
220
+ (t = p.value) != null && t.$el && ((a = p.value.$el) != null && a.getElementsByClassName("el-pagination__goto")[0] && (p.value.$el.getElementsByClassName("el-pagination__goto")[0].innerText = $("第")), (i = p.value.$el) != null && i.getElementsByClassName("el-pagination__classifier")[0] && (p.value.$el.getElementsByClassName("el-pagination__classifier")[0].innerText = $("页")));
221
221
  });
222
- }), (t, a) => (p(), C("div", Ce, [
223
- z.value.includes("total") ? (p(), I(o(ke), {
222
+ }), (t, a) => (c(), C("div", ke, [
223
+ _.value.includes("total") ? (c(), B(l(Ce), {
224
224
  key: 0,
225
- "total-page": r.value,
225
+ "total-page": u.value,
226
226
  style: { "margin-right": "12px" }
227
- }, null, 8, ["total-page"])) : D("v-if", !0),
228
- v(o(ee), { locale: o(te) }, {
229
- default: k(() => [
230
- v(o(ae), W({
227
+ }, null, 8, ["total-page"])) : N("v-if", !0),
228
+ m(l(ee), { locale: l(te) }, {
229
+ default: z(() => [
230
+ m(l(ae), W({
231
231
  ref_key: "dasPagination",
232
- ref: d,
233
- class: { background: x.value, simple: w.value },
234
- currentPage: o(e),
235
- "onUpdate:currentPage": a[4] || (a[4] = (u) => E(e) ? e.value = u : null),
236
- "page-size": o(c),
237
- "onUpdate:pageSize": a[5] || (a[5] = (u) => E(c) ? c.value = u : null),
238
- "page-sizes": i.value,
239
- layout: T.value,
240
- total: h.value,
232
+ ref: p,
233
+ class: { background: P.value, simple: y.value },
234
+ currentPage: l(e),
235
+ "onUpdate:currentPage": a[4] || (a[4] = (i) => V(e) ? e.value = i : null),
236
+ "page-size": l(d),
237
+ "onUpdate:pageSize": a[5] || (a[5] = (i) => V(d) ? d.value = i : null),
238
+ "page-sizes": r.value,
239
+ layout: R.value,
240
+ total: k.value,
241
241
  small: t.small,
242
- background: x.value,
242
+ background: P.value,
243
243
  disabled: t.disabled,
244
244
  "popper-class": t.popperClass ? `das-pagination-popper ${t.popperClass}` : "das-pagination-popper",
245
245
  teleported: !1,
246
- onCurrentChange: S,
246
+ onCurrentChange: w,
247
247
  onPrevClick: j,
248
248
  onNextClick: F
249
249
  }, t.$attrs), {
250
- default: k(() => [
251
- T.value.includes("slot") ? X(t.$slots, "default", { key: 0 }, () => [
252
- t.$slots.default ? D("v-if", !0) : (p(), C(
250
+ default: z(() => [
251
+ R.value.includes("slot") ? X(t.$slots, "default", { key: 0 }, () => [
252
+ t.$slots.default ? N("v-if", !0) : (c(), C(
253
253
  L,
254
254
  { key: 0 },
255
255
  [
256
- w.value ? (p(), C(
256
+ y.value ? (c(), C(
257
257
  "div",
258
258
  he,
259
- m(o(e)) + "/" + m(Math.ceil(h.value / o(c))),
259
+ b(l(e)) + "/" + b(Math.ceil(k.value / l(d))),
260
260
  1
261
261
  /* TEXT */
262
- )) : (p(), C("div", ye, [
263
- P("div", we, [
264
- v(o(N), {
265
- class: y(["page-icon", n.first ? "disabled" : ""]),
262
+ )) : (c(), C("div", ye, [
263
+ S("div", we, [
264
+ m(l(D), {
265
+ class: h(["page-icon", n.first ? "disabled" : ""]),
266
266
  icon: "arrow-first",
267
267
  iconColor: "#666666",
268
268
  size: "medium",
269
- onClick: a[0] || (a[0] = (u) => $("first", n.first))
269
+ onClick: a[0] || (a[0] = (i) => x("first", n.first))
270
270
  }, null, 8, ["class"]),
271
- v(o(N), {
272
- class: y(["page-icon", n.pre ? "disabled" : ""]),
271
+ m(l(D), {
272
+ class: h(["page-icon", n.pre ? "disabled" : ""]),
273
273
  icon: "left",
274
274
  iconColor: "#666666",
275
275
  size: "medium",
276
- onClick: a[1] || (a[1] = (u) => $("pre", n.pre))
276
+ onClick: a[1] || (a[1] = (i) => x("pre", n.pre))
277
277
  }, null, 8, ["class"])
278
278
  ]),
279
- P("div", Se, [
280
- v(o(N), {
281
- class: y(["page-icon", n.next ? "disabled" : ""]),
279
+ S("div", Se, [
280
+ m(l(D), {
281
+ class: h(["page-icon", n.next ? "disabled" : ""]),
282
282
  icon: "right",
283
283
  iconColor: "#666666",
284
284
  size: "medium",
285
- onClick: a[2] || (a[2] = (u) => $("next", n.next))
285
+ onClick: a[2] || (a[2] = (i) => x("next", n.next))
286
286
  }, null, 8, ["class"]),
287
- v(o(N), {
288
- class: y(["page-icon", n.last ? "disabled" : ""]),
287
+ m(l(D), {
288
+ class: h(["page-icon", n.last ? "disabled" : ""]),
289
289
  icon: "arrow-last",
290
290
  iconColor: "#666666",
291
291
  size: "medium",
292
- onClick: a[3] || (a[3] = (u) => $("last", n.last))
292
+ onClick: a[3] || (a[3] = (i) => x("last", n.last))
293
293
  }, null, 8, ["class"])
294
294
  ])
295
295
  ]))
@@ -297,7 +297,7 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
297
297
  64
298
298
  /* STABLE_FRAGMENT */
299
299
  ))
300
- ], !0) : D("v-if", !0)
300
+ ], !0) : N("v-if", !0)
301
301
  ]),
302
302
  _: 3
303
303
  /* FORWARDED */
@@ -306,31 +306,31 @@ const ce = { class: "sizes-dropdown-link" }, de = { class: "current-page-size" }
306
306
  _: 3
307
307
  /* FORWARDED */
308
308
  }, 8, ["locale"]),
309
- z.value.includes("sizes") ? (p(), I(o(me), {
309
+ _.value.includes("sizes") ? (c(), B(l(ve), {
310
310
  key: 1,
311
- "page-sizes": i.value,
312
- pageSize: o(c),
313
- "onUpdate:pageSize": a[6] || (a[6] = (u) => E(c) ? c.value = u : null),
311
+ "page-sizes": r.value,
312
+ pageSize: l(d),
313
+ "onUpdate:pageSize": a[6] || (a[6] = (i) => V(d) ? d.value = i : null),
314
314
  onSizeChange: U
315
- }, null, 8, ["page-sizes", "pageSize"])) : D("v-if", !0)
315
+ }, null, 8, ["page-sizes", "pageSize"])) : N("v-if", !0)
316
316
  ]));
317
317
  }
318
- }), be = /* @__PURE__ */ R(Pe, [["__scopeId", "data-v-8dc0f6a4"]]), xe = {
318
+ }), $e = /* @__PURE__ */ T(be, [["__scopeId", "data-v-d1cdf91a"]]), Pe = {
319
319
  "--das-ui-pagination-simple-border-color": "#D9D9D9",
320
320
  "--das-ui-pagination-size-color": "#212121",
321
321
  "--das-ui-pagination-size--icon-hover-color": "#3761CA",
322
322
  "--das-ui-pagination-size--poppver-item-hover-bg-color": "#f5f5f5",
323
323
  "--das-ui-pagination-size--poppver-item-click-color": "#5582f3",
324
324
  "--das-ui-pagination-totalpage-color": "#666666"
325
- }, $e = {
326
- 共: { "zh-CN": "", en: "Total" },
327
- 条: { "zh-CN": "", en: "items" },
328
- 页: { "zh-CN": "页", en: "Page" },
329
- 第: { "zh-CN": "", en: "No." }
325
+ }, xe = {
326
+ 第: { "zh-CN": "", en: "No" },
327
+ 页: { "zh-CN": "", en: "page" },
328
+ "pagination-total_page": { "zh-CN": "共$0页", en: "Total $0 pages" },
329
+ "pagination-items_per_page": { "zh-CN": "$0条/页", en: "$0 items/page" }
330
330
  };
331
- ie($e);
332
- re(xe);
333
- const Ge = () => M(null), He = Y(be);
331
+ ie(xe);
332
+ re(Pe);
333
+ const Ge = () => M(null), He = Y($e);
334
334
  export {
335
335
  He as DasPagination,
336
336
  Ge as DasPaginationRef,
@@ -1 +1 @@
1
- .sizes-dropdown-link[data-v-d91f4c72]{display:flex;align-items:center;margin-left:16px}.sizes-dropdown-link .arrow-icon[data-v-d91f4c72]{font-size:14px;transition:transform .3s}.sizes-dropdown-link .rotate180[data-v-d91f4c72]{transform:rotate(180deg)}.sizes-dropdown-link .current-page-size[data-v-d91f4c72]{font-size:12px;color:var(--das-ui-pagination-size-color);margin-right:9px}.sizes-dropdown-link:hover .arrow-icon[data-v-d91f4c72]{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-135c589a]{font-size:12px;color:var(--das-ui-pagination-totalpage-color)}.das-ui-pagination[data-v-8dc0f6a4]{display:flex;align-items:center;--el-color-primary: var(--das-ui-button-primary);padding:0}.das-ui-pagination .flex-center__y[data-v-8dc0f6a4]{display:flex;align-items:center}.das-ui-pagination[data-v-8dc0f6a4] .el-pagination__classifier,.das-ui-pagination[data-v-8dc0f6a4] .el-pagination__editor{margin-left:4px}.das-ui-pagination[data-v-8dc0f6a4] .el-pagination__jump{margin-left:12px}.das-ui-pagination[data-v-8dc0f6a4] .el-pagination__jump .el-input__wrapper.is-focus,.das-ui-pagination[data-v-8dc0f6a4] .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-8dc0f6a4] .el-select .el-input__wrapper{box-shadow:none!important}.das-ui-pagination[data-v-8dc0f6a4] .el-select .el-input{width:85px}.das-ui-pagination[data-v-8dc0f6a4] .el-select .el-input .el-select__caret{color:#666;margin-left:0}.das-ui-pagination[data-v-8dc0f6a4] .el-pagination__sizes{display:flex;flex-direction:column;justify-content:center;margin-left:0;margin-right:0}.das-ui-pagination.simple[data-v-8dc0f6a4]{border:1px solid var(--das-ui-pagination-simple-border-color);background:#fff}.das-ui-pagination.simple[data-v-8dc0f6a4]:hover{border-color:var(--das-ui-button-primary)}.das-ui-pagination .page-container .page-icon[data-v-8dc0f6a4]{cursor:pointer;margin-right:8px}.das-ui-pagination .page-container .page-icon[data-v-8dc0f6a4]:hover,.das-ui-pagination .page-container .page-icon[data-v-8dc0f6a4]:active{fill:var(--das-ui-pagination-size--poppver-item-click-color)}.das-ui-pagination .page-container .page-icon.disabled[data-v-8dc0f6a4]{cursor:not-allowed;fill:#b2b2b2}
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-d1cdf91a]{display:flex;align-items:center;--el-color-primary: var(--das-ui-button-primary);padding:0}.das-ui-pagination .flex-center__y[data-v-d1cdf91a]{display:flex;align-items:center}.das-ui-pagination[data-v-d1cdf91a] .el-pagination__classifier,.das-ui-pagination[data-v-d1cdf91a] .el-pagination__editor{margin-left:4px}.das-ui-pagination[data-v-d1cdf91a] .el-pagination__jump{margin-left:12px}.das-ui-pagination[data-v-d1cdf91a] .el-pagination__jump .el-input__wrapper.is-focus,.das-ui-pagination[data-v-d1cdf91a] .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-d1cdf91a] .el-select .el-input__wrapper{box-shadow:none!important}.das-ui-pagination[data-v-d1cdf91a] .el-select .el-input{width:85px}.das-ui-pagination[data-v-d1cdf91a] .el-select .el-input .el-select__caret{color:#666;margin-left:0}.das-ui-pagination[data-v-d1cdf91a] .el-pagination__sizes{display:flex;flex-direction:column;justify-content:center;margin-left:0;margin-right:0}.das-ui-pagination.simple[data-v-d1cdf91a]{border:1px solid var(--das-ui-pagination-simple-border-color);background:#fff}.das-ui-pagination.simple[data-v-d1cdf91a]:hover{border-color:var(--das-ui-button-primary)}.das-ui-pagination .page-container .page-icon[data-v-d1cdf91a]{cursor:pointer;margin-right:8px}.das-ui-pagination .page-container .page-icon[data-v-d1cdf91a]:hover,.das-ui-pagination .page-container .page-icon[data-v-d1cdf91a]:active{fill:var(--das-ui-pagination-size--poppver-item-click-color)}.das-ui-pagination .page-container .page-icon.disabled[data-v-d1cdf91a]{cursor:not-allowed;fill:#b2b2b2}
@@ -1,10 +1,10 @@
1
1
  declare const _default: {
2
2
  'das-ui-popover-confirm': {
3
- "zh-CN": string;
3
+ 'zh-CN': string;
4
4
  en: string;
5
5
  };
6
6
  'das-ui-popover-cancel': {
7
- "zh-CN": string;
7
+ 'zh-CN': string;
8
8
  en: string;
9
9
  };
10
10
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  'das-preview-text': {
3
- "zh-CN": string;
3
+ 'zh-CN': string;
4
4
  en: string;
5
5
  };
6
6
  };
@@ -54,9 +54,7 @@ const y = (e) => {
54
54
  for (const [o, s] of r)
55
55
  t[o] = s;
56
56
  return t;
57
- }, z = /* @__PURE__ */ b(N, [["__scopeId", "data-v-3b501019"]]), B = {
58
- "das-preview-text": { "zh-CN": "预览", en: "Preview" }
59
- }, L = f(z);
57
+ }, z = /* @__PURE__ */ b(N, [["__scopeId", "data-v-3b501019"]]), B = { "das-preview-text": { "zh-CN": "预览", en: "Preview" } }, L = f(z);
60
58
  d(B);
61
59
  export {
62
60
  L as DasPreview,