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

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 (234) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +2 -2
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +2 -2
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +2 -2
  4. package/package.json +9 -9
  5. package/packages/business-components/ai-panel/{index-C1XseEkL.js → index-BdLFU3HT.js} +1 -1
  6. package/packages/business-components/ai-panel/index-BdLFU3HT.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-_XzaXcle.js → index-Cc1_Wpca.js} +1154 -1136
  8. package/packages/business-components/ai-panel/index-Cc1_Wpca.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 +73 -31
  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 +3 -1
  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 +3 -1
  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/notification/style.css +1 -1
  147. package/packages/components/notification/style.css.gz +0 -0
  148. package/packages/components/pagination/index.js +91 -91
  149. package/packages/components/pagination/index.js.gz +0 -0
  150. package/packages/components/pagination/style.css +1 -1
  151. package/packages/components/pagination/style.css.gz +0 -0
  152. package/packages/components/popover/index.d.ts +4 -4
  153. package/packages/components/popover/index.js +33 -33
  154. package/packages/components/popover/index.js.gz +0 -0
  155. package/packages/components/popup-mask/index.js +13 -13
  156. package/packages/components/popup-mask/index.js.gz +0 -0
  157. package/packages/components/progress/index.js +93 -93
  158. package/packages/components/progress/index.js.gz +0 -0
  159. package/packages/components/progress/style.css +1 -1
  160. package/packages/components/progress/style.css.gz +0 -0
  161. package/packages/components/radio/index.d.ts +10 -10
  162. package/packages/components/radio/index.js +175 -175
  163. package/packages/components/radio/index.js.gz +0 -0
  164. package/packages/components/rich-editor/index.js +234 -234
  165. package/packages/components/rich-editor/index.js.gz +0 -0
  166. package/packages/components/scrollbar/index.js +2 -2
  167. package/packages/components/scrollbar/index.js.gz +0 -0
  168. package/packages/components/search/index.js +68 -68
  169. package/packages/components/search/index.js.gz +0 -0
  170. package/packages/components/search-form/index.js +736 -736
  171. package/packages/components/search-form/index.js.gz +0 -0
  172. package/packages/components/search-form/style.css +1 -1
  173. package/packages/components/search-form/style.css.gz +0 -0
  174. package/packages/components/select/index.js +212 -212
  175. package/packages/components/select/index.js.gz +0 -0
  176. package/packages/components/select/style.css +1 -1
  177. package/packages/components/select/style.css.gz +0 -0
  178. package/packages/components/select-input/index.js +77 -77
  179. package/packages/components/select-input/index.js.gz +0 -0
  180. package/packages/components/select-list/index.js +430 -430
  181. package/packages/components/select-list/index.js.gz +0 -0
  182. package/packages/components/select-list/style.css +1 -1
  183. package/packages/components/select-list/style.css.gz +0 -0
  184. package/packages/components/special-range-picker-month/index.js +140 -140
  185. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  186. package/packages/components/special-range-picker-month/style.css +1 -1
  187. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  188. package/packages/components/special-range-picker-year/index.js +169 -169
  189. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  190. package/packages/components/special-range-picker-year/style.css +1 -1
  191. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  192. package/packages/components/spin/index.js +37 -37
  193. package/packages/components/spin/index.js.gz +0 -0
  194. package/packages/components/split-panel/index.d.ts +8 -8
  195. package/packages/components/split-panel/index.js +27 -27
  196. package/packages/components/split-panel/index.js.gz +0 -0
  197. package/packages/components/switch/style.css +1 -1
  198. package/packages/components/switch/style.css.gz +0 -0
  199. package/packages/components/table/index.d.ts +103 -103
  200. package/packages/components/table/index.js +1869 -1869
  201. package/packages/components/table/index.js.gz +0 -0
  202. package/packages/components/table/src/Table.vue.d.ts +9 -9
  203. package/packages/components/tabs/index.js +101 -101
  204. package/packages/components/tabs/index.js.gz +0 -0
  205. package/packages/components/text-tooltip/src/type.d.ts +5 -5
  206. package/packages/components/time-line/index.js +35 -35
  207. package/packages/components/time-line/index.js.gz +0 -0
  208. package/packages/components/tooltip/index.d.ts +6 -6
  209. package/packages/components/tooltip/index.js +62 -62
  210. package/packages/components/tooltip/index.js.gz +0 -0
  211. package/packages/components/tooltip/style.css +1 -1
  212. package/packages/components/tooltip/style.css.gz +0 -0
  213. package/packages/components/tree/index.js +426 -426
  214. package/packages/components/tree/index.js.gz +0 -0
  215. package/packages/components/tree-select/index.js +233 -233
  216. package/packages/components/tree-select/index.js.gz +0 -0
  217. package/packages/components/tree-select/src/App.vue.d.ts +14 -14
  218. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
  219. package/packages/components/tree-table/index.d.ts +2 -2
  220. package/packages/components/tree-table/index.js +181 -181
  221. package/packages/components/tree-table/index.js.gz +0 -0
  222. package/packages/components/tree-v2/index.js +1308 -1308
  223. package/packages/components/tree-v2/index.js.gz +0 -0
  224. package/packages/components/tree-v2/src/App.vue.d.ts +155 -145
  225. package/packages/components/tree-v2/style.css +1 -1
  226. package/packages/components/tree-v2/style.css.gz +0 -0
  227. package/packages/components/upload/index.js +98 -98
  228. package/packages/components/upload/index.js.gz +0 -0
  229. package/packages/components/virtual-tree/index.js +62 -62
  230. package/packages/components/virtual-tree/index.js.gz +0 -0
  231. package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
  232. package/release-meta.json +6 -6
  233. package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
  234. package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, mergeModels as b, ref as t, computed as x, useModel as O, watch as S, nextTick as P, onMounted as N, onUnmounted as T, openBlock as r, createBlock as $, Teleport as z, createVNode as h, Transition as H, withCtx as D, createElementBlock as C, normalizeClass as L, normalizeStyle as V, withModifiers as g, createElementVNode as Y, renderSlot as w, createCommentVNode as u, unref as Z } from "vue";
1
+ import { defineComponent as I, mergeModels as b, ref as s, computed as O, useModel as S, watch as _, nextTick as P, onMounted as N, onUnmounted as T, openBlock as r, createBlock as $, Teleport as z, createVNode as h, Transition as H, withCtx as D, createElementBlock as C, normalizeClass as L, normalizeStyle as V, withModifiers as g, createElementVNode as Y, renderSlot as w, createCommentVNode as u, unref as Z } from "vue";
2
2
  import { withInstall as q } from "@das-fed/upf-utils/with-install/index";
3
3
  import { useZIndex as U } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
4
4
  import { hasClass as W, getStyle as B, addClass as j, removeClass as A } from "@das-fed/upf-utils/style";
@@ -21,11 +21,11 @@ const G = { class: "mask-content" }, J = /* @__PURE__ */ I({
21
21
  visibleModifiers: {}
22
22
  }),
23
23
  emits: /* @__PURE__ */ b(["update:visible", "visible-change"], ["update:visible"]),
24
- setup(s, { emit: n }) {
25
- const o = s, a = n, d = t(), M = x(() => {
24
+ setup(t, { emit: n }) {
25
+ const o = t, a = n, d = s(), M = O(() => {
26
26
  let e = "das-ui-popup-mask";
27
27
  return o.maskClass && (e = `${e} ${o.maskClass}`), e;
28
- }), i = O(s, "visible"), f = t(2e3), l = t(!1), p = t("0"), m = t(0), R = () => {
28
+ }), i = S(t, "visible"), f = s(2e3), l = s(!1), p = s("0"), m = s(0), x = () => {
29
29
  if (!o.lockScroll) return;
30
30
  l.value = !W(document.body, "overflow-hide"), l.value && (p.value = document.body.style.paddingRight, m.value = parseInt(B(document.body, "paddingRight"), 10));
31
31
  const e = 10;
@@ -34,17 +34,17 @@ const G = { class: "mask-content" }, J = /* @__PURE__ */ I({
34
34
  }, v = () => {
35
35
  l.value && (document.body.style.paddingRight = p.value, A(document.body, "overflow-hide")), l.value = !0;
36
36
  };
37
- S(
37
+ _(
38
38
  () => i.value,
39
39
  (e) => {
40
40
  e ? (f.value = U().nextZIndex(), P(() => {
41
- R();
41
+ x();
42
42
  })) : v(), a("update:visible", e), a("visible-change", e);
43
43
  }
44
44
  );
45
45
  const c = () => {
46
46
  i.value = !1, v();
47
- }, _ = () => {
47
+ }, R = () => {
48
48
  o.closeOnClickModal && c();
49
49
  }, y = (e) => {
50
50
  e.key === "Escape" && o.closeOnPressEscape && c();
@@ -55,7 +55,7 @@ const G = { class: "mask-content" }, J = /* @__PURE__ */ I({
55
55
  window.removeEventListener("keydown", y);
56
56
  }), (e, k) => (r(), $(z, {
57
57
  to: "body",
58
- disabled: !e.appendToBody
58
+ disabled: !t.appendToBody
59
59
  }, [
60
60
  h(
61
61
  H,
@@ -72,13 +72,13 @@ const G = { class: "mask-content" }, J = /* @__PURE__ */ I({
72
72
  key: 0,
73
73
  class: L(M.value),
74
74
  style: V({ "z-index": f.value }),
75
- onClick: g(_, ["self"])
75
+ onClick: g(R, ["self"])
76
76
  },
77
77
  [
78
78
  Y("div", G, [
79
79
  e.$slots.default ? w(e.$slots, "default", { key: 0 }, void 0, !0) : u("v-if", !0)
80
80
  ]),
81
- e.showClose ? (r(), C("div", {
81
+ t.showClose ? (r(), C("div", {
82
82
  key: 0,
83
83
  class: "close-icon",
84
84
  onClick: g(c, ["stop"])
@@ -100,12 +100,12 @@ const G = { class: "mask-content" }, J = /* @__PURE__ */ I({
100
100
  )
101
101
  ], 8, ["disabled"]));
102
102
  }
103
- }), K = (s, n) => {
104
- const o = s.__vccOpts || s;
103
+ }), K = (t, n) => {
104
+ const o = t.__vccOpts || t;
105
105
  for (const [a, d] of n)
106
106
  o[a] = d;
107
107
  return o;
108
- }, Q = /* @__PURE__ */ K(J, [["__scopeId", "data-v-67ba9d27"]]), ae = () => t(null), ne = q(Q);
108
+ }, Q = /* @__PURE__ */ K(J, [["__scopeId", "data-v-67ba9d27"]]), ae = () => s(null), ne = q(Q);
109
109
  export {
110
110
  ne as DasPopupMask,
111
111
  ae as DasPopupMaskRef,
@@ -1,36 +1,36 @@
1
1
  import { withInstall as D } from "@das-fed/upf-utils/with-install/index";
2
- import { defineComponent as k, openBlock as s, createElementBlock as l, createElementVNode as d, useCssVars as N, computed as a, ref as S, normalizeStyle as P, createVNode as V, unref as v, mergeProps as W, withCtx as b, createCommentVNode as o, renderSlot as F, Fragment as O, toDisplayString as u, createBlock as m, normalizeClass as z } from "vue";
2
+ import { defineComponent as k, openBlock as t, createElementBlock as o, createElementVNode as d, useCssVars as N, computed as n, ref as S, normalizeStyle as P, createVNode as V, unref as v, mergeProps as W, withCtx as b, createCommentVNode as r, renderSlot as F, Fragment as O, toDisplayString as c, createBlock as h, normalizeClass as E } from "vue";
3
3
  import { ElProgress as R, ElIcon as j } from "element-plus";
4
- import { DasAutoRegisterIcon as q, DasIcon as E } from "@das-fed/upf-ui/packages/components/icon/index";
4
+ import { DasAutoRegisterIcon as q, DasIcon as I } from "@das-fed/upf-ui/packages/components/icon/index";
5
5
  import { t as w } from "@das-fed/upf-web/packages/i18n/index"
6
6
  import '@das-fed/upf-ui/packages/components/progress/style.css';
7
7
  ;
8
- /*! Element Plus Icons Vue v2.3.1 */
8
+ /*! Element Plus Icons Vue v2.3.2 */
9
9
  var G = /* @__PURE__ */ k({
10
10
  name: "CloseBold",
11
11
  __name: "close-bold",
12
- setup(c) {
13
- return (f, e) => (s(), l("svg", {
12
+ setup(s) {
13
+ return (f, e) => (t(), o("svg", {
14
14
  xmlns: "http://www.w3.org/2000/svg",
15
15
  viewBox: "0 0 1024 1024"
16
16
  }, [
17
17
  d("path", {
18
18
  fill: "currentColor",
19
- d: "M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"
19
+ d: "M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496"
20
20
  })
21
21
  ]));
22
22
  }
23
23
  }), H = G, J = /* @__PURE__ */ k({
24
24
  name: "Select",
25
25
  __name: "select",
26
- setup(c) {
27
- return (f, e) => (s(), l("svg", {
26
+ setup(s) {
27
+ return (f, e) => (t(), o("svg", {
28
28
  xmlns: "http://www.w3.org/2000/svg",
29
29
  viewBox: "0 0 1024 1024"
30
30
  }, [
31
31
  d("path", {
32
32
  fill: "currentColor",
33
- d: "M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"
33
+ d: "M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496"
34
34
  })
35
35
  ]));
36
36
  }
@@ -44,10 +44,10 @@ const Q = {
44
44
  }, se = {
45
45
  key: 1,
46
46
  class: "end-text"
47
- }, re = {
47
+ }, le = {
48
48
  key: 0,
49
49
  class: "line-left"
50
- }, oe = { key: 1 }, le = { key: 2 }, ae = {
50
+ }, re = { key: 1 }, oe = { key: 2 }, ae = {
51
51
  key: 1,
52
52
  class: "tip-circle"
53
53
  }, ne = /* @__PURE__ */ k({
@@ -68,85 +68,85 @@ const Q = {
68
68
  showEndText: { type: Boolean, default: !1 },
69
69
  singleTipPosition: { default: "" }
70
70
  },
71
- setup(c, { expose: f }) {
72
- N((t) => ({
73
- "8adf965e": A.value
71
+ setup(s, { expose: f }) {
72
+ N((a) => ({
73
+ v8adf965e: A.value
74
74
  }));
75
- const e = c;
75
+ const e = s;
76
76
  q({
77
77
  success: import("@das-fed/upf-ui/packages/icons/success"),
78
78
  reload: import("@das-fed/upf-ui/packages/icons/reload")
79
79
  });
80
- const h = a(() => e.textMap ?? [w("正在加载中..."), w("加载失败"), w("加载成功")]), n = a(() => e.tipType === "percentage" ? 100 : e.percentages), i = a(() => {
81
- let t = e.modelValue;
82
- return t < 0 && (t = 0), t > n.value && (t = n.value), t;
83
- }), I = a(() => e.tipType === "percentage" ? i.value : i.value !== 0 ? Number(i.value / n.value) * 100 : 0), r = a(() => !e.status || e.status === "normal" ? n.value > 0 && i.value === n.value ? "success" : "normal" : e.status), L = a(() => {
80
+ const g = n(() => e.textMap ?? [w("正在加载中..."), w("加载失败"), w("加载成功")]), i = n(() => e.tipType === "percentage" ? 100 : e.percentages), u = n(() => {
81
+ let a = e.modelValue;
82
+ return a < 0 && (a = 0), a > i.value && (a = i.value), a;
83
+ }), L = n(() => e.tipType === "percentage" ? u.value : u.value !== 0 ? Number(u.value / i.value) * 100 : 0), l = n(() => !e.status || e.status === "normal" ? i.value > 0 && u.value === i.value ? "success" : "normal" : e.status), M = n(() => {
84
84
  if (e.strokeWidth)
85
85
  return e.strokeWidth;
86
86
  if (e.type === "line") return 8;
87
87
  if (e.type === "circle") return 4;
88
- }), M = a(() => {
88
+ }), z = n(() => {
89
89
  if (e.showText)
90
90
  return e.showText;
91
91
  if (e.type === "line") return !1;
92
92
  if (e.type === "circle") return !0;
93
- }), _ = {
93
+ }), m = {
94
94
  normal: "var(--upf-color-primary)",
95
95
  success: "var(--upf-color-success)",
96
96
  exception: "var(--upf-color-error)"
97
- }, g = a(() => _[r.value] || _.normal), A = a(() => r.value === "normal" ? "var(--upf-text-secondary)" : _[r.value] || _.normal), T = a(() => {
98
- let t = 1;
99
- return r.value === "normal" && (t = 0), r.value === "exception" && (t = 1), r.value === "success" && (t = 2), h.value[t];
100
- }), $ = a(() => {
101
- if (["success", "exception"].includes(r.value)) return "center";
97
+ }, x = n(() => m[l.value] || m.normal), A = n(() => l.value === "normal" ? "var(--upf-text-secondary)" : m[l.value] || m.normal), T = n(() => {
98
+ let a = 1;
99
+ return l.value === "normal" && (a = 0), l.value === "exception" && (a = 1), l.value === "success" && (a = 2), g.value[a];
100
+ }), $ = n(() => {
101
+ if (["success", "exception"].includes(l.value)) return "center";
102
102
  if (y.value && p.value) return "";
103
103
  if (e.singleTipPosition) return e.singleTipPosition;
104
104
  if (!y.value && p.value) return "right";
105
105
  if (y.value && !p.value) return "left";
106
- }), p = a(() => ["success", "exception"].includes(r.value) ? !1 : e.showProcessTip), y = a(() => e.showTextTip), x = S(null);
106
+ }), p = n(() => ["success", "exception"].includes(l.value) ? !1 : e.showProcessTip), y = n(() => e.showTextTip), _ = S(null);
107
107
  return f({
108
- $progress: x
109
- }), (t, B) => (s(), l(
108
+ $progress: _
109
+ }), (a, B) => (t(), o(
110
110
  "div",
111
111
  {
112
112
  class: "das-ui-progress",
113
- style: P({ display: t.type == "circle" ? "inline-block" : "block" })
113
+ style: P({ display: s.type == "circle" ? "inline-block" : "block" })
114
114
  },
115
115
  [
116
116
  d(
117
117
  "div",
118
118
  {
119
119
  class: "percentage-graph",
120
- style: P({ width: t.type == "circle" ? t.width + "px" : "100%" })
120
+ style: P({ width: s.type == "circle" ? s.width + "px" : "100%" })
121
121
  },
122
122
  [
123
123
  V(v(R), W({
124
124
  ref_key: "$progress",
125
- ref: x,
125
+ ref: _,
126
126
  class: {
127
- showLoading: e.showAnimation && e.type === "line" && r.value === "normal" && !t.$attrs.indeterminate
127
+ showLoading: e.showAnimation && e.type === "line" && l.value === "normal" && !a.$attrs.indeterminate
128
128
  },
129
- type: t.type
130
- }, t.$attrs, {
131
- color: g.value,
132
- percentage: I.value,
133
- width: t.width,
134
- "stroke-width": L.value,
135
- "show-text": M.value
129
+ type: s.type
130
+ }, a.$attrs, {
131
+ color: x.value,
132
+ percentage: L.value,
133
+ width: s.width,
134
+ "stroke-width": M.value,
135
+ "show-text": z.value
136
136
  }), {
137
137
  default: b(({ percentage: C }) => [
138
- o(" @slot 默认插槽 "),
139
- F(t.$slots, "default", { percentage: C }, () => [
140
- e.type === "circle" ? (s(), l(
138
+ r(" @slot 默认插槽 "),
139
+ F(a.$slots, "default", { percentage: C }, () => [
140
+ e.type === "circle" ? (t(), o(
141
141
  O,
142
142
  { key: 0 },
143
143
  [
144
- r.value === "normal" ? (s(), l("div", Q, [
145
- t.tipType === "percentage" ? (s(), l("div", U, [
144
+ l.value === "normal" ? (t(), o("div", Q, [
145
+ s.tipType === "percentage" ? (t(), o("div", U, [
146
146
  d(
147
147
  "span",
148
148
  X,
149
- u(C),
149
+ c(C),
150
150
  1
151
151
  /* TEXT */
152
152
  ),
@@ -157,27 +157,27 @@ const Q = {
157
157
  -1
158
158
  /* CACHED */
159
159
  ))
160
- ])) : o("v-if", !0),
161
- t.tipType === "score" ? (s(), l("div", Y, [
160
+ ])) : r("v-if", !0),
161
+ s.tipType === "score" ? (t(), o("div", Y, [
162
162
  d(
163
163
  "span",
164
164
  Z,
165
- u(i.value + "/" + n.value),
165
+ c(u.value + "/" + i.value),
166
166
  1
167
167
  /* TEXT */
168
168
  )
169
- ])) : o("v-if", !0)
170
- ])) : (s(), l("div", ee, [
169
+ ])) : r("v-if", !0)
170
+ ])) : (t(), o("div", ee, [
171
171
  V(v(j), { size: 40 }, {
172
172
  default: b(() => [
173
- r.value === "success" ? (s(), m(v(K), {
173
+ l.value === "success" ? (t(), h(v(K), {
174
174
  key: 0,
175
- color: g.value
176
- }, null, 8, ["color"])) : o("v-if", !0),
177
- r.value === "exception" ? (s(), m(v(H), {
175
+ color: x.value
176
+ }, null, 8, ["color"])) : r("v-if", !0),
177
+ l.value === "exception" ? (t(), h(v(H), {
178
178
  key: 1,
179
- color: g.value
180
- }, null, 8, ["color"])) : o("v-if", !0)
179
+ color: x.value
180
+ }, null, 8, ["color"])) : r("v-if", !0)
181
181
  ]),
182
182
  _: 1
183
183
  /* STABLE */
@@ -186,101 +186,101 @@ const Q = {
186
186
  ],
187
187
  64
188
188
  /* STABLE_FRAGMENT */
189
- )) : o("v-if", !0)
189
+ )) : r("v-if", !0)
190
190
  ], !0)
191
191
  ]),
192
192
  _: 3
193
193
  /* FORWARDED */
194
194
  }, 16, ["class", "type", "color", "percentage", "width", "stroke-width", "show-text"]),
195
- e.type === "line" ? (s(), l(
195
+ e.type === "line" ? (t(), o(
196
196
  "div",
197
197
  {
198
198
  key: 0,
199
- class: z(["line-icon", r.value])
199
+ class: E(["line-icon", l.value])
200
200
  },
201
201
  [
202
- t.tipType === "percentage" && t.showEndText && r.value === "normal" ? (s(), l(
202
+ s.tipType === "percentage" && s.showEndText && l.value === "normal" ? (t(), o(
203
203
  "span",
204
204
  te,
205
- u(i.value) + "%",
205
+ c(u.value) + "%",
206
206
  1
207
207
  /* TEXT */
208
- )) : o("v-if", !0),
209
- t.tipType === "score" && t.showEndText && r.value === "normal" ? (s(), l(
208
+ )) : r("v-if", !0),
209
+ s.tipType === "score" && s.showEndText && l.value === "normal" ? (t(), o(
210
210
  "span",
211
211
  se,
212
- u(i.value + "/" + n.value),
212
+ c(u.value + "/" + i.value),
213
213
  1
214
214
  /* TEXT */
215
- )) : o("v-if", !0),
216
- r.value === "success" ? (s(), m(v(E), {
215
+ )) : r("v-if", !0),
216
+ l.value === "success" ? (t(), h(v(I), {
217
217
  key: 2,
218
218
  icon: "success",
219
219
  "icon-color": "#12AA53",
220
220
  "custom-size": "14px"
221
- })) : o("v-if", !0),
222
- r.value === "exception" ? (s(), m(v(E), {
221
+ })) : r("v-if", !0),
222
+ l.value === "exception" ? (t(), h(v(I), {
223
223
  key: 3,
224
224
  icon: "reload",
225
225
  "icon-color": "red",
226
226
  "custom-size": "16px"
227
- })) : o("v-if", !0)
227
+ })) : r("v-if", !0)
228
228
  ],
229
229
  2
230
230
  /* CLASS */
231
- )) : o("v-if", !0)
231
+ )) : r("v-if", !0)
232
232
  ],
233
233
  4
234
234
  /* STYLE */
235
235
  ),
236
- e.type === "line" && (y.value || p.value) ? (s(), l(
236
+ e.type === "line" && (y.value || p.value) ? (t(), o(
237
237
  "div",
238
238
  {
239
239
  key: 0,
240
- class: z(["tip-line", $.value])
240
+ class: E(["tip-line", $.value])
241
241
  },
242
242
  [
243
- y.value ? (s(), l(
243
+ y.value ? (t(), o(
244
244
  "div",
245
- re,
246
- u(T.value),
245
+ le,
246
+ c(T.value),
247
247
  1
248
248
  /* TEXT */
249
- )) : o("v-if", !0),
250
- t.tipType === "percentage" && p.value ? (s(), l(
249
+ )) : r("v-if", !0),
250
+ s.tipType === "percentage" && p.value ? (t(), o(
251
251
  "div",
252
- oe,
253
- u(i.value) + "%",
252
+ re,
253
+ c(u.value) + "%",
254
254
  1
255
255
  /* TEXT */
256
- )) : o("v-if", !0),
257
- t.tipType === "score" && p.value ? (s(), l(
256
+ )) : r("v-if", !0),
257
+ s.tipType === "score" && p.value ? (t(), o(
258
258
  "div",
259
- le,
260
- u(i.value + "/" + n.value),
259
+ oe,
260
+ c(u.value + "/" + i.value),
261
261
  1
262
262
  /* TEXT */
263
- )) : o("v-if", !0)
263
+ )) : r("v-if", !0)
264
264
  ],
265
265
  2
266
266
  /* CLASS */
267
- )) : o("v-if", !0),
268
- e.type === "circle" ? (s(), l(
267
+ )) : r("v-if", !0),
268
+ e.type === "circle" ? (t(), o(
269
269
  "div",
270
270
  ae,
271
- u(T.value),
271
+ c(T.value),
272
272
  1
273
273
  /* TEXT */
274
- )) : o("v-if", !0)
274
+ )) : r("v-if", !0)
275
275
  ],
276
276
  4
277
277
  /* STYLE */
278
278
  ));
279
279
  }
280
- }), ie = (c, f) => {
281
- const e = c.__vccOpts || c;
282
- for (const [h, n] of f)
283
- e[h] = n;
280
+ }), ie = (s, f) => {
281
+ const e = s.__vccOpts || s;
282
+ for (const [g, i] of f)
283
+ e[g] = i;
284
284
  return e;
285
285
  }, ue = /* @__PURE__ */ ie(ne, [["__scopeId", "data-v-3773e9ed"]]), ye = D(ue);
286
286
  export {
@@ -1 +1 @@
1
- @charset "UTF-8";.das-ui-progress[data-v-3773e9ed] .el-progress-bar__outer{background-color:var(--upf-bg-secondary)}.das-ui-progress[data-v-3773e9ed] svg path:first-child{stroke:var(--upf-bg-secondary)}.das-ui-progress .percentage-graph[data-v-3773e9ed]{margin:0 auto;position:relative}.das-ui-progress .percentage-graph .line-icon[data-v-3773e9ed]{position:absolute;top:50%;right:-9px;transform:translate(100%,-50%)}.das-ui-progress .percentage-graph .line-icon.normal[data-v-3773e9ed]{display:flex;align-items:center}.das-ui-progress .percentage-graph .line-icon.normal .end-text[data-v-3773e9ed]{font-family:Arial;font-size:16px;font-weight:400;line-height:1px;text-align:right;letter-spacing:0px;color:var(--upf-text-primary)}.das-ui-progress .percentage-color[data-v-3773e9ed]{color:var(--upf-text-primary)}.das-ui-progress .percentage-value[data-v-3773e9ed]{font-size:26px}.das-ui-progress .tip-line[data-v-3773e9ed]{margin-top:12px;color:var(--upf-text-primary);display:flex;justify-content:space-between;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}.das-ui-progress .tip-line .line-left[data-v-3773e9ed]{max-width:65%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-progress .tip-line.center[data-v-3773e9ed]{justify-content:center}.das-ui-progress .tip-line.left[data-v-3773e9ed]{justify-content:flex-start}.das-ui-progress .tip-line.right[data-v-3773e9ed]{justify-content:flex-end}.das-ui-progress .tip-circle[data-v-3773e9ed]{font-size:16px;text-align:center;color:var(--8adf965e);margin-top:2px}.das-ui-progress .showLoading[data-v-3773e9ed] .el-progress-bar__inner{overflow:hidden}.das-ui-progress .showLoading[data-v-3773e9ed] .el-progress-bar__inner:before{content:"";display:block;position:absolute;width:107px;height:100%;border-radius:4px;right:100%;background:linear-gradient(270deg,color-mix(in srgb,var(--upf-color-primary) 55%,var(--upf-bg-primary) 45%) 34%,var(--upf-color-primary) 100%);animation:loading-3773e9ed 3s ease 0s infinite}@keyframes loading-3773e9ed{0%{right:100%}80%{right:-107px}to{right:-107px}}
1
+ @charset "UTF-8";.das-ui-progress[data-v-3773e9ed] .el-progress-bar__outer{background-color:var(--upf-bg-secondary)}.das-ui-progress[data-v-3773e9ed] svg path:first-child{stroke:var(--upf-bg-secondary)}.das-ui-progress .percentage-graph[data-v-3773e9ed]{margin:0 auto;position:relative}.das-ui-progress .percentage-graph .line-icon[data-v-3773e9ed]{position:absolute;top:50%;right:-9px;transform:translate(100%,-50%)}.das-ui-progress .percentage-graph .line-icon.normal[data-v-3773e9ed]{display:flex;align-items:center}.das-ui-progress .percentage-graph .line-icon.normal .end-text[data-v-3773e9ed]{font-family:Arial;font-size:16px;font-weight:400;line-height:1px;text-align:right;letter-spacing:0px;color:var(--upf-text-primary)}.das-ui-progress .percentage-color[data-v-3773e9ed]{color:var(--upf-text-primary)}.das-ui-progress .percentage-value[data-v-3773e9ed]{font-size:26px}.das-ui-progress .tip-line[data-v-3773e9ed]{margin-top:12px;color:var(--upf-text-primary);display:flex;justify-content:space-between;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}.das-ui-progress .tip-line .line-left[data-v-3773e9ed]{max-width:65%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-progress .tip-line.center[data-v-3773e9ed]{justify-content:center}.das-ui-progress .tip-line.left[data-v-3773e9ed]{justify-content:flex-start}.das-ui-progress .tip-line.right[data-v-3773e9ed]{justify-content:flex-end}.das-ui-progress .tip-circle[data-v-3773e9ed]{font-size:16px;text-align:center;color:var(--v8adf965e);margin-top:2px}.das-ui-progress .showLoading[data-v-3773e9ed] .el-progress-bar__inner{overflow:hidden}.das-ui-progress .showLoading[data-v-3773e9ed] .el-progress-bar__inner:before{content:"";display:block;position:absolute;width:107px;height:100%;border-radius:4px;right:100%;background:linear-gradient(270deg,color-mix(in srgb,var(--upf-color-primary) 55%,var(--upf-bg-primary) 45%) 34%,var(--upf-color-primary) 100%);animation:loading-3773e9ed 3s ease 0s infinite}@keyframes loading-3773e9ed{0%{right:100%}80%{right:-107px}to{right:-107px}}
@@ -4,20 +4,20 @@ declare const DasRadioRef: () => import("vue").Ref<({
4
4
  $data: {};
5
5
  $props: {
6
6
  readonly modelValue?: any;
7
- readonly radioType?: "default" | "group" | undefined;
7
+ readonly radioType?: ("default" | "group") | undefined;
8
8
  readonly disabled?: boolean | undefined;
9
- readonly optionType?: "default" | "square" | "button" | "filterSquare" | undefined;
9
+ readonly optionType?: ("default" | "square" | "button" | "filterSquare") | undefined;
10
10
  readonly options?: any[] | undefined;
11
11
  readonly defaultProps?: import("./src/type.js").ValLabel<string> | undefined;
12
12
  readonly name?: string | undefined;
13
- readonly layout?: "default" | "vertical" | undefined;
13
+ readonly layout?: ("default" | "vertical") | undefined;
14
14
  readonly isView?: boolean | undefined;
15
15
  readonly width?: string | undefined;
16
16
  readonly maxWidth?: string | undefined;
17
17
  readonly isSetTimeout?: boolean | undefined;
18
18
  readonly noSetDefaultVal?: boolean | undefined;
19
- readonly formSize?: "small" | "default" | "large" | undefined;
20
- readonly size?: "small" | "middle" | "large" | undefined;
19
+ readonly formSize?: ("small" | "default" | "large") | undefined;
20
+ readonly size?: ("small" | "middle" | "large") | undefined;
21
21
  readonly onChange?: ((e: any) => any) | undefined;
22
22
  readonly "onUpdate:modelValue"?: ((n: any) => any) | undefined;
23
23
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -105,20 +105,20 @@ declare const DasRadioRef: () => import("vue").Ref<({
105
105
  $data: {};
106
106
  $props: {
107
107
  readonly modelValue?: any;
108
- readonly radioType?: "default" | "group" | undefined;
108
+ readonly radioType?: ("default" | "group") | undefined;
109
109
  readonly disabled?: boolean | undefined;
110
- readonly optionType?: "default" | "square" | "button" | "filterSquare" | undefined;
110
+ readonly optionType?: ("default" | "square" | "button" | "filterSquare") | undefined;
111
111
  readonly options?: any[] | undefined;
112
112
  readonly defaultProps?: import("./src/type.js").ValLabel<string> | undefined;
113
113
  readonly name?: string | undefined;
114
- readonly layout?: "default" | "vertical" | undefined;
114
+ readonly layout?: ("default" | "vertical") | undefined;
115
115
  readonly isView?: boolean | undefined;
116
116
  readonly width?: string | undefined;
117
117
  readonly maxWidth?: string | undefined;
118
118
  readonly isSetTimeout?: boolean | undefined;
119
119
  readonly noSetDefaultVal?: boolean | undefined;
120
- readonly formSize?: "small" | "default" | "large" | undefined;
121
- readonly size?: "small" | "middle" | "large" | undefined;
120
+ readonly formSize?: ("small" | "default" | "large") | undefined;
121
+ readonly size?: ("small" | "middle" | "large") | undefined;
122
122
  readonly onChange?: ((e: any) => any) | undefined;
123
123
  readonly "onUpdate:modelValue"?: ((n: any) => any) | undefined;
124
124
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;