@das-fed/upf-ui 6.4.0-dev.306 → 6.4.0-dev.307

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 (232) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +6 -6
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +6 -6
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +6 -6
  4. package/package.json +9 -9
  5. package/packages/business-components/ai-panel/{index-BdLFU3HT.js → index-C1XseEkL.js} +1 -1
  6. package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-Cc1_Wpca.js → index-_XzaXcle.js} +1136 -1154
  8. package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
  9. package/packages/business-components/ai-panel/index.js +1 -1
  10. package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +1 -1
  11. package/packages/business-components/app-container/index.js +56 -56
  12. package/packages/business-components/app-container/index.js.gz +0 -0
  13. package/packages/business-components/area-phone-select/index.d.ts +30 -30
  14. package/packages/business-components/area-phone-select/index.js +87 -87
  15. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  16. package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +4 -4
  17. package/packages/business-components/change-enterprises/index.js +20 -20
  18. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  19. package/packages/business-components/change-pwd/index.js +15 -15
  20. package/packages/business-components/change-pwd/index.js.gz +0 -0
  21. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
  22. package/packages/business-components/currency-page/index.js +39 -39
  23. package/packages/business-components/currency-page/index.js.gz +0 -0
  24. package/packages/business-components/device-panel/index.js +46 -46
  25. package/packages/business-components/device-panel/index.js.gz +0 -0
  26. package/packages/business-components/device-panel/style.css +1 -1
  27. package/packages/business-components/device-panel/style.css.gz +0 -0
  28. package/packages/business-components/export-button/index.js +92 -92
  29. package/packages/business-components/export-button/index.js.gz +0 -0
  30. package/packages/business-components/import-button/index.js +171 -171
  31. package/packages/business-components/import-button/index.js.gz +0 -0
  32. package/packages/business-components/layout-breadcrumb/index.js +42 -42
  33. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  34. package/packages/business-components/model-table-dialog/index.d.ts +4 -4
  35. package/packages/business-components/model-table-dialog/index.js +233 -233
  36. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  37. package/packages/business-components/payment/index.js +44 -44
  38. package/packages/business-components/payment/index.js.gz +0 -0
  39. package/packages/business-components/process-form/index.js +939 -939
  40. package/packages/business-components/process-form/index.js.gz +0 -0
  41. package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
  42. package/packages/business-components/process-log/index.js +331 -331
  43. package/packages/business-components/process-log/index.js.gz +0 -0
  44. package/packages/business-components/process-log/style.css +1 -1
  45. package/packages/business-components/process-log/style.css.gz +0 -0
  46. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +2 -2
  47. package/packages/business-components/process-table/index.d.ts +14 -14
  48. package/packages/business-components/upload-file/index.js +43 -43
  49. package/packages/business-components/upload-file/index.js.gz +0 -0
  50. package/packages/business-components/upload-file/style.css +1 -1
  51. package/packages/business-components/urgent-panel/index.js +340 -340
  52. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  53. package/packages/business-components/video-dialog/index.js +17 -17
  54. package/packages/business-components/video-dialog/index.js.gz +0 -0
  55. package/packages/business-components/video-dialog/style.css +1 -1
  56. package/packages/business-components/video-dialog/style.css.gz +0 -0
  57. package/packages/components/alert/index.d.ts +4 -4
  58. package/packages/components/alert/index.js +5 -5
  59. package/packages/components/alert/index.js.gz +0 -0
  60. package/packages/components/audio-video/index.js +141 -141
  61. package/packages/components/audio-video/index.js.gz +0 -0
  62. package/packages/components/autocomplete/index.d.ts +6 -6
  63. package/packages/components/autocomplete/index.js +162 -162
  64. package/packages/components/autocomplete/index.js.gz +0 -0
  65. package/packages/components/autocomplete/style.css +1 -1
  66. package/packages/components/autocomplete/style.css.gz +0 -0
  67. package/packages/components/breadcrumb/index.js +37 -37
  68. package/packages/components/breadcrumb/index.js.gz +0 -0
  69. package/packages/components/button/index.js +223 -223
  70. package/packages/components/button/index.js.gz +0 -0
  71. package/packages/components/calendar/index.js +164 -164
  72. package/packages/components/calendar/index.js.gz +0 -0
  73. package/packages/components/cascader/index.d.ts +8 -8
  74. package/packages/components/cascader/index.js +89 -89
  75. package/packages/components/cascader/index.js.gz +0 -0
  76. package/packages/components/cascader/style.css +1 -1
  77. package/packages/components/cascader/style.css.gz +0 -0
  78. package/packages/components/checkbox/index.d.ts +12 -12
  79. package/packages/components/checkbox/index.js +180 -180
  80. package/packages/components/checkbox/index.js.gz +0 -0
  81. package/packages/components/checkbox/style.css +1 -1
  82. package/packages/components/checkbox/style.css.gz +0 -0
  83. package/packages/components/collapse-panel/index.js +12 -12
  84. package/packages/components/collapse-panel/index.js.gz +0 -0
  85. package/packages/components/collaspe/index.d.ts +4 -4
  86. package/packages/components/collaspe/index.js +22 -22
  87. package/packages/components/collaspe/index.js.gz +0 -0
  88. package/packages/components/custom-search-item/index.d.ts +4 -4
  89. package/packages/components/custom-search-item/index.js +36 -36
  90. package/packages/components/custom-search-item/index.js.gz +0 -0
  91. package/packages/components/date-picker/index.js +658 -658
  92. package/packages/components/date-picker/index.js.gz +0 -0
  93. package/packages/components/date-picker/style.css +1 -1
  94. package/packages/components/date-picker/style.css.gz +0 -0
  95. package/packages/components/dialog/index.js +1 -1
  96. package/packages/components/dialog/index.js.gz +0 -0
  97. package/packages/components/dialog/style.css +1 -1
  98. package/packages/components/dialog/style.css.gz +0 -0
  99. package/packages/components/dimple-layout/index.js +31 -73
  100. package/packages/components/dimple-layout/index.js.gz +0 -0
  101. package/packages/components/dropdown/index.js +33 -33
  102. package/packages/components/dropdown/index.js.gz +0 -0
  103. package/packages/components/edit-table/index.d.ts +4 -4
  104. package/packages/components/edit-table/index.js +190 -190
  105. package/packages/components/edit-table/index.js.gz +0 -0
  106. package/packages/components/empty/index.js +29 -29
  107. package/packages/components/empty/index.js.gz +0 -0
  108. package/packages/components/error-overlay-model/index.js +31 -31
  109. package/packages/components/error-overlay-model/index.js.gz +0 -0
  110. package/packages/components/form/index.d.ts +14 -14
  111. package/packages/components/form/index.js +23 -23
  112. package/packages/components/form/index.js.gz +0 -0
  113. package/packages/components/form-item/index.js +771 -771
  114. package/packages/components/form-item/index.js.gz +0 -0
  115. package/packages/components/form-item/style.css +1 -1
  116. package/packages/components/form-item/style.css.gz +0 -0
  117. package/packages/components/image-upload/index.js +90 -90
  118. package/packages/components/image-upload/index.js.gz +0 -0
  119. package/packages/components/image-viewer/index.js +418 -418
  120. package/packages/components/image-viewer/index.js.gz +0 -0
  121. package/packages/components/infinite-scroll/index.d.ts +1 -3
  122. package/packages/components/infinite-scroll/index.js +509 -509
  123. package/packages/components/infinite-scroll/index.js.gz +0 -0
  124. package/packages/components/infinite-scroll/src/index.vue.d.ts +1 -3
  125. package/packages/components/infinite-scroll/src/type.d.ts +78 -78
  126. package/packages/components/infinite-scroll/style.css +1 -1
  127. package/packages/components/infinite-scroll/style.css.gz +0 -0
  128. package/packages/components/input/index.js +544 -544
  129. package/packages/components/input/index.js.gz +0 -0
  130. package/packages/components/input/src/index.vue.d.ts +2 -2
  131. package/packages/components/input/style.css +1 -1
  132. package/packages/components/input/style.css.gz +0 -0
  133. package/packages/components/input-dialog-select/index.js +82 -82
  134. package/packages/components/input-dialog-select/index.js.gz +0 -0
  135. package/packages/components/input-number/index.js +103 -103
  136. package/packages/components/input-number/index.js.gz +0 -0
  137. package/packages/components/input-number/style.css +1 -1
  138. package/packages/components/input-number/style.css.gz +0 -0
  139. package/packages/components/live-player/index.d.ts +4 -4
  140. package/packages/components/loading/index.js +1 -1
  141. package/packages/components/loading/index.js.gz +0 -0
  142. package/packages/components/menu-aside/index.js +600 -600
  143. package/packages/components/menu-aside/index.js.gz +0 -0
  144. package/packages/components/menu-header/index.js +17 -17
  145. package/packages/components/menu-header/index.js.gz +0 -0
  146. package/packages/components/pagination/index.js +91 -91
  147. package/packages/components/pagination/index.js.gz +0 -0
  148. package/packages/components/pagination/style.css +1 -1
  149. package/packages/components/pagination/style.css.gz +0 -0
  150. package/packages/components/popover/index.d.ts +4 -4
  151. package/packages/components/popover/index.js +33 -33
  152. package/packages/components/popover/index.js.gz +0 -0
  153. package/packages/components/popup-mask/index.js +13 -13
  154. package/packages/components/popup-mask/index.js.gz +0 -0
  155. package/packages/components/progress/index.js +93 -93
  156. package/packages/components/progress/index.js.gz +0 -0
  157. package/packages/components/progress/style.css +1 -1
  158. package/packages/components/progress/style.css.gz +0 -0
  159. package/packages/components/radio/index.d.ts +10 -10
  160. package/packages/components/radio/index.js +175 -175
  161. package/packages/components/radio/index.js.gz +0 -0
  162. package/packages/components/rich-editor/index.js +234 -234
  163. package/packages/components/rich-editor/index.js.gz +0 -0
  164. package/packages/components/scrollbar/index.js +2 -2
  165. package/packages/components/scrollbar/index.js.gz +0 -0
  166. package/packages/components/search/index.js +68 -68
  167. package/packages/components/search/index.js.gz +0 -0
  168. package/packages/components/search-form/index.js +736 -736
  169. package/packages/components/search-form/index.js.gz +0 -0
  170. package/packages/components/search-form/style.css +1 -1
  171. package/packages/components/search-form/style.css.gz +0 -0
  172. package/packages/components/select/index.js +212 -212
  173. package/packages/components/select/index.js.gz +0 -0
  174. package/packages/components/select/style.css +1 -1
  175. package/packages/components/select/style.css.gz +0 -0
  176. package/packages/components/select-input/index.js +77 -77
  177. package/packages/components/select-input/index.js.gz +0 -0
  178. package/packages/components/select-list/index.js +430 -430
  179. package/packages/components/select-list/index.js.gz +0 -0
  180. package/packages/components/select-list/style.css +1 -1
  181. package/packages/components/select-list/style.css.gz +0 -0
  182. package/packages/components/special-range-picker-month/index.js +140 -140
  183. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  184. package/packages/components/special-range-picker-month/style.css +1 -1
  185. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  186. package/packages/components/special-range-picker-year/index.js +169 -169
  187. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  188. package/packages/components/special-range-picker-year/style.css +1 -1
  189. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  190. package/packages/components/spin/index.js +37 -37
  191. package/packages/components/spin/index.js.gz +0 -0
  192. package/packages/components/split-panel/index.d.ts +8 -8
  193. package/packages/components/split-panel/index.js +27 -27
  194. package/packages/components/split-panel/index.js.gz +0 -0
  195. package/packages/components/switch/style.css +1 -1
  196. package/packages/components/switch/style.css.gz +0 -0
  197. package/packages/components/table/index.d.ts +103 -103
  198. package/packages/components/table/index.js +1869 -1869
  199. package/packages/components/table/index.js.gz +0 -0
  200. package/packages/components/table/src/Table.vue.d.ts +9 -9
  201. package/packages/components/tabs/index.js +101 -101
  202. package/packages/components/tabs/index.js.gz +0 -0
  203. package/packages/components/text-tooltip/src/type.d.ts +5 -5
  204. package/packages/components/time-line/index.js +35 -35
  205. package/packages/components/time-line/index.js.gz +0 -0
  206. package/packages/components/tooltip/index.d.ts +6 -6
  207. package/packages/components/tooltip/index.js +62 -62
  208. package/packages/components/tooltip/index.js.gz +0 -0
  209. package/packages/components/tooltip/style.css +1 -1
  210. package/packages/components/tooltip/style.css.gz +0 -0
  211. package/packages/components/tree/index.js +426 -426
  212. package/packages/components/tree/index.js.gz +0 -0
  213. package/packages/components/tree-select/index.js +233 -233
  214. package/packages/components/tree-select/index.js.gz +0 -0
  215. package/packages/components/tree-select/src/App.vue.d.ts +14 -14
  216. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
  217. package/packages/components/tree-table/index.d.ts +2 -2
  218. package/packages/components/tree-table/index.js +181 -181
  219. package/packages/components/tree-table/index.js.gz +0 -0
  220. package/packages/components/tree-v2/index.js +1308 -1308
  221. package/packages/components/tree-v2/index.js.gz +0 -0
  222. package/packages/components/tree-v2/src/App.vue.d.ts +145 -155
  223. package/packages/components/tree-v2/style.css +1 -1
  224. package/packages/components/tree-v2/style.css.gz +0 -0
  225. package/packages/components/upload/index.js +98 -98
  226. package/packages/components/upload/index.js.gz +0 -0
  227. package/packages/components/virtual-tree/index.js +62 -62
  228. package/packages/components/virtual-tree/index.js.gz +0 -0
  229. package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
  230. package/release-meta.json +6 -6
  231. package/packages/business-components/ai-panel/index-BdLFU3HT.js.gz +0 -0
  232. package/packages/business-components/ai-panel/index-Cc1_Wpca.js.gz +0 -0
@@ -1,5 +1,5 @@
1
1
  import { withInstall as h } from "@das-fed/upf-utils/with-install/index";
2
- import { computed as m, defineComponent as f, openBlock as r, createElementBlock as i, createVNode as p, unref as s, mergeProps as _, withCtx as a, createElementVNode as l, renderSlot as c, Fragment as g, renderList as y, createBlock as H, withDirectives as x, createTextVNode as b, toDisplayString as v } from "vue";
2
+ import { computed as m, defineComponent as f, openBlock as s, createElementBlock as i, createVNode as p, unref as a, mergeProps as _, withCtx as n, createElementVNode as l, renderSlot as c, Fragment as g, renderList as y, createBlock as H, withDirectives as b, createTextVNode as v, toDisplayString as x } from "vue";
3
3
  import { Tabs as D, TabPane as k } from "ant-design-vue";
4
4
  import "ant-design-vue/es/tabs/style/css";
5
5
  import { vDasTooltip as E } from "@das-fed/upf-ui/packages/components/text-tooltip/index"
@@ -25,42 +25,42 @@ const w = (e, u) => ({
25
25
  emits: ["update:currentKey"],
26
26
  setup(e, { emit: u }) {
27
27
  const o = e, { realHeight: t } = w(o);
28
- return (n, C) => (r(), i("div", B, [
29
- p(s(D), _(n.$attrs, {
30
- style: { height: s(t) },
28
+ return (r, C) => (s(), i("div", B, [
29
+ p(a(D), _(r.$attrs, {
30
+ style: { height: a(t) },
31
31
  type: "editable-card",
32
32
  contextmenu: !1,
33
33
  hideAdd: !0
34
34
  }), {
35
- leftExtra: a(() => [
35
+ leftExtra: n(() => [
36
36
  l("div", N, [
37
- c(n.$slots, "header-left")
37
+ c(r.$slots, "header-left")
38
38
  ])
39
39
  ]),
40
- rightExtra: a(() => [
40
+ rightExtra: n(() => [
41
41
  l("div", V, [
42
- c(n.$slots, "header-right")
42
+ c(r.$slots, "header-right")
43
43
  ])
44
44
  ]),
45
- default: a(() => [
46
- (r(!0), i(
45
+ default: n(() => [
46
+ (s(!0), i(
47
47
  g,
48
48
  null,
49
- y(e.menus, (d) => (r(), H(
50
- s(k),
49
+ y(r.menus, (d) => (s(), H(
50
+ a(k),
51
51
  {
52
52
  key: d.code
53
53
  },
54
54
  {
55
- tab: a(() => [
56
- x((r(), i("div", M, [
57
- b(
58
- v(d.name),
55
+ tab: n(() => [
56
+ b((s(), i("div", M, [
57
+ v(
58
+ x(d.name),
59
59
  1
60
60
  /* TEXT */
61
61
  )
62
62
  ])), [
63
- [s(E)]
63
+ [a(E)]
64
64
  ])
65
65
  ]),
66
66
  _: 2
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, openBlock as p, createElementBlock as f, createElementVNode as N, ref as T, computed as g, createBlock as B, withCtx as C, createVNode as v, Fragment as U, renderList as H, normalizeClass as y, createTextVNode as O, toDisplayString as x, unref as t, withDirectives as J, reactive as K, watch as Q, onMounted as W, nextTick as X, createCommentVNode as P, mergeProps as Y, isRef as V, renderSlot as Z } from "vue";
1
+ import { defineComponent as D, openBlock as u, createElementBlock as _, createElementVNode as N, ref as T, computed as d, createBlock as B, withCtx as C, createVNode as v, Fragment as U, renderList as H, normalizeClass as y, createTextVNode as O, toDisplayString as x, unref as l, withDirectives as J, reactive as K, watch as Q, onMounted as W, nextTick as X, createCommentVNode as P, mergeProps as Y, isRef as V, renderSlot as Z } from "vue";
2
2
  import { withInstall as ee } from "@das-fed/upf-utils/with-install/index";
3
3
  import { t as S, currentLang as ae, setI18nRule as te } from "@das-fed/upf-web/packages/i18n/index";
4
4
  import { DasAutoRegisterIcon as le, DasIcon as b } from "@das-fed/upf-ui/packages/components/icon/index";
@@ -7,7 +7,7 @@ import "element-plus/es/components/pagination/style/css";
7
7
  import { useModelValue as A } from "@das-fed/upf-utils/vue";
8
8
  import se from "element-plus/dist/locale/zh-cn.mjs";
9
9
  import ie from "element-plus/dist/locale/en.mjs";
10
- import { ElIcon as re, ElDropdownItem as ue, ElDropdownMenu as pe, ElDropdown as ce } from "element-plus/es";
10
+ import { ElIcon as re, ElDropdownItem as pe, ElDropdownMenu as ue, ElDropdown as ce } from "element-plus/es";
11
11
  import "element-plus/es/components/base/style/css";
12
12
  import "element-plus/es/components/dropdown/style/css";
13
13
  import "element-plus/es/components/dropdown-menu/style/css";
@@ -16,23 +16,23 @@ import "element-plus/es/components/icon/style/css";
16
16
  import { vDasTooltip as de } from "@das-fed/upf-ui/packages/components/text-tooltip/index"
17
17
  import '@das-fed/upf-ui/packages/components/pagination/style.css';
18
18
  ;
19
- /*! Element Plus Icons Vue v2.3.2 */
19
+ /*! Element Plus Icons Vue v2.3.1 */
20
20
  var ge = /* @__PURE__ */ D({
21
21
  name: "ArrowDown",
22
22
  __name: "arrow-down",
23
- setup(l) {
24
- return (_, s) => (p(), f("svg", {
23
+ setup(m) {
24
+ return (f, n) => (u(), _("svg", {
25
25
  xmlns: "http://www.w3.org/2000/svg",
26
26
  viewBox: "0 0 1024 1024"
27
27
  }, [
28
28
  N("path", {
29
29
  fill: "currentColor",
30
- d: "M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 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.59 30.59 0 0 0-42.752 0z"
30
+ 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"
31
31
  })
32
32
  ]));
33
33
  }
34
- }), me = ge;
35
- const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }, _e = {
34
+ }), ve = ge;
35
+ const me = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }, _e = {
36
36
  name: "DasPaginationSizes"
37
37
  }, ze = /* @__PURE__ */ D({
38
38
  ..._e,
@@ -41,39 +41,39 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
41
41
  pageSize: { default: 20 }
42
42
  },
43
43
  emits: ["update:pageSize", "size-change"],
44
- setup(l, { emit: _ }) {
45
- const s = l, o = _, k = T(!1), m = g({
46
- get: () => s.pageSize,
47
- set: (c) => {
48
- o("update:pageSize", c);
44
+ setup(m, { emit: f }) {
45
+ const n = m, o = f, k = T(!1), g = d({
46
+ get: () => n.pageSize,
47
+ set: (p) => {
48
+ o("update:pageSize", p);
49
49
  }
50
- }), i = (c) => {
51
- k.value = c;
52
- }, E = (c) => {
53
- m.value = c, o("size-change", c);
50
+ }), s = (p) => {
51
+ k.value = p;
52
+ }, E = (p) => {
53
+ g.value = p, o("size-change", p);
54
54
  };
55
- return (c, M) => {
56
- const z = re, h = ue, e = pe, d = ce;
57
- return p(), B(d, {
55
+ return (p, M) => {
56
+ const z = re, h = pe, e = ue, c = ce;
57
+ return u(), B(c, {
58
58
  "popper-class": "pagination-sizes-popper",
59
59
  trigger: "click",
60
- onVisibleChange: i,
60
+ onVisibleChange: s,
61
61
  onCommand: E
62
62
  }, {
63
63
  dropdown: C(() => [
64
64
  v(e, null, {
65
65
  default: C(() => [
66
- (p(!0), f(
66
+ (u(!0), _(
67
67
  U,
68
68
  null,
69
- H(l.pageSizes, (r) => (p(), B(h, {
70
- class: y(["sizes-item", r === l.pageSize ? "selected" : ""]),
71
- key: r,
72
- command: r
69
+ H(p.pageSizes, (i) => (u(), B(h, {
70
+ class: y(["sizes-item", i === p.pageSize ? "selected" : ""]),
71
+ key: i,
72
+ command: i
73
73
  }, {
74
74
  default: C(() => [
75
75
  O(
76
- x(t(S)("pagination-items_per_page", r)),
76
+ x(l(S)("pagination-items_per_page", i)),
77
77
  1
78
78
  /* TEXT */
79
79
  )
@@ -90,21 +90,21 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
90
90
  })
91
91
  ]),
92
92
  default: C(() => [
93
- N("span", ve, [
94
- J((p(), f("span", fe, [
93
+ N("span", me, [
94
+ J((u(), _("span", fe, [
95
95
  O(
96
- x(t(S)("pagination-items_per_page", m.value)),
96
+ x(l(S)("pagination-items_per_page", g.value)),
97
97
  1
98
98
  /* TEXT */
99
99
  )
100
100
  ])), [
101
- [t(de)]
101
+ [l(de)]
102
102
  ]),
103
103
  v(z, {
104
104
  class: y(["arrow-icon", k.value ? "rotate180" : ""])
105
105
  }, {
106
106
  default: C(() => [
107
- v(t(me))
107
+ v(l(ve))
108
108
  ]),
109
109
  _: 1
110
110
  /* STABLE */
@@ -116,11 +116,11 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
116
116
  });
117
117
  };
118
118
  }
119
- }), R = (l, _) => {
120
- const s = l.__vccOpts || l;
121
- for (const [o, k] of _)
122
- s[o] = k;
123
- return s;
119
+ }), R = (m, f) => {
120
+ const n = m.__vccOpts || m;
121
+ for (const [o, k] of f)
122
+ n[o] = k;
123
+ return n;
124
124
  }, Ce = /* @__PURE__ */ R(ze, [["__scopeId", "data-v-4363ca14"]]), ke = { class: "total-page" }, ye = {
125
125
  name: "TotalPage"
126
126
  }, he = /* @__PURE__ */ D({
@@ -128,11 +128,11 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
128
128
  props: {
129
129
  totalPage: {}
130
130
  },
131
- setup(l) {
132
- return (_, s) => (p(), f(
131
+ setup(m) {
132
+ return (f, n) => (u(), _(
133
133
  "div",
134
134
  ke,
135
- x(t(S)("pagination-total_page", l.totalPage)),
135
+ x(l(S)("pagination-total_page", f.totalPage)),
136
136
  1
137
137
  /* TEXT */
138
138
  ));
@@ -159,28 +159,28 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
159
159
  popperClass: {}
160
160
  },
161
161
  emits: ["update:modelValue", "update:pageSize", "size-change", "current-change", "prev-click", "next-click", "first-click", "last-click"],
162
- setup(l, { emit: _ }) {
163
- const s = l, o = _;
162
+ setup(m, { emit: f }) {
163
+ const n = m, o = f;
164
164
  le({
165
165
  "arrow-first": import("@das-fed/upf-ui/packages/icons/arrow-first"),
166
166
  left: import("@das-fed/upf-ui/packages/icons/left"),
167
167
  right: import("@das-fed/upf-ui/packages/icons/right"),
168
168
  "arrow-last": import("@das-fed/upf-ui/packages/icons/arrow-last")
169
169
  });
170
- const k = g(() => ae.value === "zh-CN" ? se : ie), m = T(), i = K({
170
+ const k = d(() => ae.value === "zh-CN" ? se : ie), g = T(), s = K({
171
171
  first: !1,
172
172
  pre: !1,
173
173
  next: !1,
174
174
  last: !1
175
- }), E = g(() => s.layout), c = g(() => s.background), M = g(() => s.pageSizes), z = g(() => s.total), h = g(() => s.simple), e = A(s, "modelValue"), d = A(s, "pageSize"), r = g(() => Math.ceil(z.value / d.value)), I = g(() => h.value ? "prev, slot, next" : E.value || "total,jumper,slot,sizes"), L = g(() => I.value.replace(/\s*/g, "").split(",").filter((a) => a !== "total" && a !== "sizes").join(",")), j = (n) => {
176
- o("update:pageSize", n), o("size-change", n);
177
- }, w = (n) => {
178
- o("update:modelValue", n), o("current-change", n);
175
+ }), E = d(() => n.layout), p = d(() => n.background), M = d(() => n.pageSizes), z = d(() => n.total), h = d(() => n.simple), e = A(n, "modelValue"), c = A(n, "pageSize"), i = d(() => Math.ceil(z.value / c.value)), I = d(() => h.value ? "prev, slot, next" : E.value || "total,jumper,slot,sizes"), L = d(() => I.value.replace(/\s*/g, "").split(",").filter((a) => a !== "total" && a !== "sizes").join(",")), j = (t) => {
176
+ o("update:pageSize", t), o("size-change", t);
177
+ }, w = (t) => {
178
+ o("update:modelValue", t), o("current-change", t);
179
179
  }, F = () => o("prev-click", e.value), q = () => o("next-click", e.value), G = () => {
180
- i.first = r.value === 0 || e.value <= 1, i.pre = r.value === 0 || e.value <= 1, i.next = r.value === 0 || e.value === r.value, i.last = r.value === 0 || e.value === r.value;
180
+ 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;
181
181
  };
182
182
  Q(
183
- () => [e.value, r.value],
183
+ () => [e.value, i.value],
184
184
  () => {
185
185
  G();
186
186
  },
@@ -188,8 +188,8 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
188
188
  immediate: !0
189
189
  }
190
190
  );
191
- const $ = (n, a) => {
192
- const u = /* @__PURE__ */ new Map([
191
+ const $ = (t, a) => {
192
+ const r = /* @__PURE__ */ new Map([
193
193
  [
194
194
  "first",
195
195
  () => {
@@ -211,89 +211,89 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
211
211
  [
212
212
  "last",
213
213
  () => {
214
- e.value !== z.value && (e.value = r.value, w(e.value), o("last-click", e.value));
214
+ e.value !== z.value && (e.value = i.value, w(e.value), o("last-click", e.value));
215
215
  }
216
216
  ]
217
217
  ]);
218
218
  if (a) return;
219
- u.get(n)();
219
+ r.get(t)();
220
220
  };
221
221
  return W(() => {
222
222
  X(() => {
223
- var n, a, u;
224
- (n = m.value) != null && n.$el && ((a = m.value.$el) != null && a.getElementsByClassName("el-pagination__goto")[0] && (m.value.$el.getElementsByClassName("el-pagination__goto")[0].innerText = S("第")), (u = m.value.$el) != null && u.getElementsByClassName("el-pagination__classifier")[0] && (m.value.$el.getElementsByClassName("el-pagination__classifier")[0].innerText = S("页")));
223
+ var t, a, r;
224
+ (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 = S("第")), (r = g.value.$el) != null && r.getElementsByClassName("el-pagination__classifier")[0] && (g.value.$el.getElementsByClassName("el-pagination__classifier")[0].innerText = S("页")));
225
225
  });
226
- }), (n, a) => (p(), f("div", xe, [
227
- I.value.includes("total") ? (p(), B(t(we), {
226
+ }), (t, a) => (u(), _("div", xe, [
227
+ I.value.includes("total") ? (u(), B(l(we), {
228
228
  key: 0,
229
- "total-page": r.value,
229
+ "total-page": i.value,
230
230
  style: { "margin-right": "12px" }
231
231
  }, null, 8, ["total-page"])) : P("v-if", !0),
232
- v(t(oe), { locale: k.value }, {
232
+ v(l(oe), { locale: k.value }, {
233
233
  default: C(() => [
234
- v(t(ne), Y({
234
+ v(l(ne), Y({
235
235
  ref_key: "dasPagination",
236
- ref: m,
237
- class: { background: c.value, simple: h.value },
238
- currentPage: t(e),
239
- "onUpdate:currentPage": a[4] || (a[4] = (u) => V(e) ? e.value = u : null),
240
- "page-size": t(d),
241
- "onUpdate:pageSize": a[5] || (a[5] = (u) => V(d) ? d.value = u : null),
236
+ ref: g,
237
+ class: { background: p.value, simple: h.value },
238
+ currentPage: l(e),
239
+ "onUpdate:currentPage": a[4] || (a[4] = (r) => V(e) ? e.value = r : null),
240
+ "page-size": l(c),
241
+ "onUpdate:pageSize": a[5] || (a[5] = (r) => V(c) ? c.value = r : null),
242
242
  "page-sizes": M.value,
243
243
  layout: L.value,
244
244
  total: z.value,
245
- small: l.small,
246
- background: c.value,
247
- disabled: l.disabled,
248
- "popper-class": l.popperClass ? `das-pagination-popper ${l.popperClass}` : "das-pagination-popper",
245
+ small: t.small,
246
+ background: p.value,
247
+ disabled: t.disabled,
248
+ "popper-class": t.popperClass ? `das-pagination-popper ${t.popperClass}` : "das-pagination-popper",
249
249
  teleported: !1,
250
250
  onCurrentChange: w,
251
251
  onPrevClick: F,
252
252
  onNextClick: q
253
- }, n.$attrs), {
253
+ }, t.$attrs), {
254
254
  default: C(() => [
255
- L.value.includes("slot") ? Z(n.$slots, "default", { key: 0 }, () => [
256
- n.$slots.default ? P("v-if", !0) : (p(), f(
255
+ L.value.includes("slot") ? Z(t.$slots, "default", { key: 0 }, () => [
256
+ t.$slots.default ? P("v-if", !0) : (u(), _(
257
257
  U,
258
258
  { key: 0 },
259
259
  [
260
- h.value ? (p(), f(
260
+ h.value ? (u(), _(
261
261
  "div",
262
262
  Se,
263
- x(t(e)) + "/" + x(Math.ceil(z.value / t(d))),
263
+ x(l(e)) + "/" + x(Math.ceil(z.value / l(c))),
264
264
  1
265
265
  /* TEXT */
266
- )) : (p(), f("div", $e, [
266
+ )) : (u(), _("div", $e, [
267
267
  N("div", Pe, [
268
- v(t(b), {
269
- class: y(["page-icon", i.first ? "disabled" : ""]),
268
+ v(l(b), {
269
+ class: y(["page-icon", s.first ? "disabled" : ""]),
270
270
  icon: "arrow-first",
271
271
  iconColor: "var(--upf-text-secondary)",
272
272
  size: "medium",
273
- onClick: a[0] || (a[0] = (u) => $("first", i.first))
273
+ onClick: a[0] || (a[0] = (r) => $("first", s.first))
274
274
  }, null, 8, ["class"]),
275
- v(t(b), {
276
- class: y(["page-icon", i.pre ? "disabled" : ""]),
275
+ v(l(b), {
276
+ class: y(["page-icon", s.pre ? "disabled" : ""]),
277
277
  icon: "left",
278
278
  iconColor: "var(--upf-text-secondary)",
279
279
  size: "medium",
280
- onClick: a[1] || (a[1] = (u) => $("pre", i.pre))
280
+ onClick: a[1] || (a[1] = (r) => $("pre", s.pre))
281
281
  }, null, 8, ["class"])
282
282
  ]),
283
283
  N("div", be, [
284
- v(t(b), {
285
- class: y(["page-icon", i.next ? "disabled" : ""]),
284
+ v(l(b), {
285
+ class: y(["page-icon", s.next ? "disabled" : ""]),
286
286
  icon: "right",
287
287
  iconColor: "var(--upf-text-secondary)",
288
288
  size: "medium",
289
- onClick: a[2] || (a[2] = (u) => $("next", i.next))
289
+ onClick: a[2] || (a[2] = (r) => $("next", s.next))
290
290
  }, null, 8, ["class"]),
291
- v(t(b), {
292
- class: y(["page-icon", i.last ? "disabled" : ""]),
291
+ v(l(b), {
292
+ class: y(["page-icon", s.last ? "disabled" : ""]),
293
293
  icon: "arrow-last",
294
294
  iconColor: "var(--upf-text-secondary)",
295
295
  size: "medium",
296
- onClick: a[3] || (a[3] = (u) => $("last", i.last))
296
+ onClick: a[3] || (a[3] = (r) => $("last", s.last))
297
297
  }, null, 8, ["class"])
298
298
  ])
299
299
  ]))
@@ -310,11 +310,11 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
310
310
  _: 3
311
311
  /* FORWARDED */
312
312
  }, 8, ["locale"]),
313
- I.value.includes("sizes") ? (p(), B(t(Ce), {
313
+ I.value.includes("sizes") ? (u(), B(l(Ce), {
314
314
  key: 1,
315
315
  "page-sizes": M.value,
316
- pageSize: t(d),
317
- "onUpdate:pageSize": a[6] || (a[6] = (u) => V(d) ? d.value = u : null),
316
+ pageSize: l(c),
317
+ "onUpdate:pageSize": a[6] || (a[6] = (r) => V(c) ? c.value = r : null),
318
318
  onSizeChange: j
319
319
  }, null, 8, ["page-sizes", "pageSize"])) : P("v-if", !0)
320
320
  ]));
@@ -1 +1 @@
1
- .sizes-dropdown-link[data-v-4363ca14]{display:flex;align-items:center;margin-left:12px}.sizes-dropdown-link .arrow-icon[data-v-4363ca14]{font-size:14px;transition:transform .3s}.sizes-dropdown-link .rotate180[data-v-4363ca14]{transform:rotate(180deg)}.sizes-dropdown-link .current-page-size[data-v-4363ca14]{font-size:12px;color:var(--upf-text-primary);margin-right:9px}.sizes-dropdown-link:hover .arrow-icon[data-v-4363ca14]{color:var(--upf-color-primary)}.pagination-sizes-popper{min-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(--upf-text-primary);background-color:transparent}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:not(.is-disabled):focus{color:var(--upf-text-primary);background-color:transparent}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:not(.is-disabled):hover{color:var(--upf-text-primary);background-color:var(--upf-bg-secondary)}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected{color:var(--upf-color-primary);background-color:var(--upf-color-primary-bg);font-weight:400}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected:not(.is-disabled):focus,.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected:not(.is-disabled):hover{color:var(--upf-color-primary);background-color:var(--upf-color-primary-bg)}.total-page[data-v-c314d3d0]{font-size:12px;color:var(--upf-text-secondary)}.das-ui-pagination .flex-center__y[data-v-ffe7d6be]{display:flex;align-items:center}.das-ui-pagination[data-v-ffe7d6be]{display:flex;align-items:center;--el-color-primary: var(--upf-color-primary);--upf-pagination-active-border-color: var(--upf-form-active-border-color, var(--upf-color-primary));padding:0}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__goto,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__classifier{color:#666!important}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__classifier,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__editor{margin-left:4px}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump{margin-left:12px}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump .el-input__wrapper.is-focus,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--upf-pagination-active-border-color) inset}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input__wrapper{box-shadow:none!important}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input{width:85px}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input .el-select__caret{color:var(--upf-text-secondary);margin-left:0}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__sizes{display:flex;flex-direction:column;justify-content:center;margin-left:0;margin-right:0}.das-ui-pagination.simple[data-v-ffe7d6be]{border:1px solid var(--upf-border-color);background:var(--upf-bg-primary)}.das-ui-pagination.simple[data-v-ffe7d6be]:hover{border-color:var(--upf-color-primary)}.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]{cursor:pointer;margin-right:8px}.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]:hover,.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]:active{fill:var(--upf-color-primary)}.das-ui-pagination .page-container .page-icon.disabled[data-v-ffe7d6be]{cursor:not-allowed;fill:var(--upf-text-disabled)}
1
+ .sizes-dropdown-link[data-v-4363ca14]{display:flex;align-items:center;margin-left:12px}.sizes-dropdown-link .arrow-icon[data-v-4363ca14]{font-size:14px;transition:transform .3s}.sizes-dropdown-link .rotate180[data-v-4363ca14]{transform:rotate(180deg)}.sizes-dropdown-link .current-page-size[data-v-4363ca14]{font-size:12px;color:var(--upf-text-primary);margin-right:9px}.sizes-dropdown-link:hover .arrow-icon[data-v-4363ca14]{color:var(--upf-color-primary)}.pagination-sizes-popper{min-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(--upf-text-primary);background-color:transparent}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:not(.is-disabled):focus{color:var(--upf-text-primary);background-color:transparent}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:not(.is-disabled):hover{color:var(--upf-text-primary);background-color:var(--upf-bg-secondary)}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected{color:var(--upf-color-primary);background-color:var(--upf-color-primary-bg);font-weight:400}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected:not(.is-disabled):focus,.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected:not(.is-disabled):hover{color:var(--upf-color-primary);background-color:var(--upf-color-primary-bg)}.total-page[data-v-c314d3d0]{font-size:12px;color:var(--upf-text-secondary)}.das-ui-pagination[data-v-ffe7d6be]{display:flex;align-items:center;--el-color-primary: var(--upf-color-primary);--upf-pagination-active-border-color: var(--upf-form-active-border-color, var(--upf-color-primary));padding:0}.das-ui-pagination .flex-center__y[data-v-ffe7d6be]{display:flex;align-items:center}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__goto,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__classifier{color:#666!important}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__classifier,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__editor{margin-left:4px}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump{margin-left:12px}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump .el-input__wrapper.is-focus,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--upf-pagination-active-border-color) inset}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input__wrapper{box-shadow:none!important}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input{width:85px}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input .el-select__caret{color:var(--upf-text-secondary);margin-left:0}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__sizes{display:flex;flex-direction:column;justify-content:center;margin-left:0;margin-right:0}.das-ui-pagination.simple[data-v-ffe7d6be]{border:1px solid var(--upf-border-color);background:var(--upf-bg-primary)}.das-ui-pagination.simple[data-v-ffe7d6be]:hover{border-color:var(--upf-color-primary)}.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]{cursor:pointer;margin-right:8px}.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]:hover,.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]:active{fill:var(--upf-color-primary)}.das-ui-pagination .page-container .page-icon.disabled[data-v-ffe7d6be]{cursor:not-allowed;fill:var(--upf-text-disabled)}
@@ -4,11 +4,11 @@ declare const DasPopoverRef: () => import("vue").Ref<({
4
4
  $data: {};
5
5
  $props: {
6
6
  readonly title?: string | undefined;
7
- readonly width?: (string | number) | undefined;
7
+ readonly width?: string | number | undefined;
8
8
  readonly content?: string | undefined;
9
9
  readonly popperClass?: string | undefined;
10
10
  readonly showBtns?: boolean | undefined;
11
- readonly placement?: ("top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end") | undefined;
11
+ readonly placement?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
12
12
  readonly onCancel?: (() => any) | undefined;
13
13
  readonly onConfirm?: (() => any) | undefined;
14
14
  readonly onClickOutside?: (() => any) | undefined;
@@ -82,11 +82,11 @@ declare const DasPopoverRef: () => import("vue").Ref<({
82
82
  $data: {};
83
83
  $props: {
84
84
  readonly title?: string | undefined;
85
- readonly width?: (string | number) | undefined;
85
+ readonly width?: string | number | undefined;
86
86
  readonly content?: string | undefined;
87
87
  readonly popperClass?: string | undefined;
88
88
  readonly showBtns?: boolean | undefined;
89
- readonly placement?: ("top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end") | undefined;
89
+ readonly placement?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
90
90
  readonly onCancel?: (() => any) | undefined;
91
91
  readonly onConfirm?: (() => any) | undefined;
92
92
  readonly onClickOutside?: (() => any) | undefined;
@@ -1,8 +1,8 @@
1
- import { defineComponent as O, useAttrs as x, ref as h, computed as D, openBlock as n, createBlock as P, unref as o, mergeProps as b, withCtx as r, renderSlot as m, withDirectives as g, createElementBlock as l, toDisplayString as i, createCommentVNode as u, createElementVNode as z, createTextVNode as p, createVNode as f } from "vue";
1
+ import { defineComponent as O, useAttrs as _, ref as C, computed as D, openBlock as s, createBlock as P, unref as t, mergeProps as b, withCtx as r, renderSlot as d, withDirectives as g, createElementBlock as p, toDisplayString as n, createCommentVNode as m, createElementVNode as z, createTextVNode as a, createVNode as u } from "vue";
2
2
  import { withInstall as R } from "@das-fed/upf-utils/with-install/index";
3
- import { i18n as v, setI18nRule as V } from "@das-fed/upf-web/packages/i18n/index";
3
+ import { i18n as f, setI18nRule as V } from "@das-fed/upf-web/packages/i18n/index";
4
4
  import { ElPopover as E, ClickOutside as I } from "element-plus";
5
- import { DasButton as C } from "@das-fed/upf-ui/packages/components/button/index";
5
+ import { DasButton as v } from "@das-fed/upf-ui/packages/components/button/index";
6
6
  import "element-plus/es/components/popover/style/css";
7
7
  import "@das-fed/upf-ui/packages/global/theme"
8
8
  import '@das-fed/upf-ui/packages/components/popover/style.css';
@@ -24,47 +24,47 @@ const M = { class: "das-ui-popover-container" }, S = {
24
24
  placement: { default: "bottom-start" }
25
25
  },
26
26
  emits: ["cancel", "confirm", "clickOutside"],
27
- setup(e, { expose: k, emit: w }) {
28
- const c = e, a = w, $ = x(), d = h(null), y = D(() => {
29
- let t = "das-ui-popover-over-container";
30
- return c.popperClass && (t = `${t} ${c.popperClass}`), t;
27
+ setup(h, { expose: k, emit: w }) {
28
+ const l = h, i = w, $ = _(), c = C(null), y = D(() => {
29
+ let e = "das-ui-popover-over-container";
30
+ return l.popperClass && (e = `${e} ${l.popperClass}`), e;
31
31
  }), N = () => {
32
- $.visible !== void 0 && a("clickOutside");
32
+ $.visible !== void 0 && i("clickOutside");
33
33
  };
34
- return k({ $popoverRef: d }), (t, s) => (n(), P(o(E), b({
34
+ return k({ $popoverRef: c }), (e, o) => (s(), P(t(E), b({
35
35
  ref_key: "$popoverRef",
36
- ref: d,
36
+ ref: c,
37
37
  class: "das-ui-popover",
38
38
  placement: e.placement,
39
39
  width: e.width,
40
40
  "popper-class": y.value
41
- }, t.$attrs), {
41
+ }, e.$attrs), {
42
42
  reference: r(() => [
43
- m(t.$slots, "reference")
43
+ d(e.$slots, "reference")
44
44
  ]),
45
45
  default: r(() => [
46
- g((n(), l("div", M, [
47
- e.title ? (n(), l(
46
+ g((s(), p("div", M, [
47
+ e.title ? (s(), p(
48
48
  "div",
49
49
  S,
50
- i(e.title),
50
+ n(e.title),
51
51
  1
52
52
  /* TEXT */
53
- )) : u("v-if", !0),
54
- m(t.$slots, "default", {}, () => [
53
+ )) : m("v-if", !0),
54
+ d(e.$slots, "default", {}, () => [
55
55
  z("div", T, [
56
- p(
57
- i(e.content) + " ",
56
+ a(
57
+ n(e.content) + " ",
58
58
  1
59
59
  /* TEXT */
60
60
  ),
61
- e.showBtns ? (n(), l("div", A, [
62
- f(o(C), {
63
- onClick: s[0] || (s[0] = (B) => a("cancel"))
61
+ e.showBtns ? (s(), p("div", A, [
62
+ u(t(v), {
63
+ onClick: o[0] || (o[0] = (B) => i("cancel"))
64
64
  }, {
65
65
  default: r(() => [
66
- p(
67
- i(o(v)("das-ui-popover-cancel").value),
66
+ a(
67
+ n(t(f)("das-ui-popover-cancel").value),
68
68
  1
69
69
  /* TEXT */
70
70
  )
@@ -72,14 +72,14 @@ const M = { class: "das-ui-popover-container" }, S = {
72
72
  _: 1
73
73
  /* STABLE */
74
74
  }),
75
- f(o(C), {
75
+ u(t(v), {
76
76
  btnType: "primary",
77
- onClick: s[1] || (s[1] = (B) => a("confirm")),
77
+ onClick: o[1] || (o[1] = (B) => i("confirm")),
78
78
  style: { "margin-left": "12px" }
79
79
  }, {
80
80
  default: r(() => [
81
- p(
82
- i(o(v)("das-ui-popover-confirm").value),
81
+ a(
82
+ n(t(f)("das-ui-popover-confirm").value),
83
83
  1
84
84
  /* TEXT */
85
85
  )
@@ -87,23 +87,23 @@ const M = { class: "das-ui-popover-container" }, S = {
87
87
  _: 1
88
88
  /* STABLE */
89
89
  })
90
- ])) : u("v-if", !0)
90
+ ])) : m("v-if", !0)
91
91
  ])
92
92
  ])
93
93
  ])), [
94
- [o(I), N]
94
+ [t(I), N]
95
95
  ])
96
96
  ]),
97
97
  _: 3
98
98
  /* FORWARDED */
99
99
  }, 16, ["placement", "width", "popper-class"]));
100
100
  }
101
- }), _ = {
101
+ }), j = {
102
102
  "das-ui-popover-confirm": { "zh-CN": "确定", en: "OK", "zh-MO": "確定", _appCode: "framework" },
103
103
  "das-ui-popover-cancel": { "zh-CN": "取消", en: "Cancel", "zh-MO": "取消", _appCode: "framework" }
104
104
  };
105
- V(_);
106
- const Q = () => h(null), U = R(K), W = { title: "Popover 气泡卡片" };
105
+ V(j);
106
+ const Q = () => C(null), U = R(K), W = { title: "Popover 气泡卡片" };
107
107
  export {
108
108
  U as DasPopover,
109
109
  Q as DasPopoverRef,