@das-fed/upf-ui 6.4.0-dev.313 → 6.4.0-dev.314

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 (230) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +1 -1
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +1 -1
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +1 -1
  4. package/package.json +7 -7
  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 +4 -4
  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/dimple-layout/index.js +73 -31
  96. package/packages/components/dimple-layout/index.js.gz +0 -0
  97. package/packages/components/dropdown/index.js +33 -33
  98. package/packages/components/dropdown/index.js.gz +0 -0
  99. package/packages/components/edit-table/index.d.ts +4 -4
  100. package/packages/components/edit-table/index.js +190 -190
  101. package/packages/components/edit-table/index.js.gz +0 -0
  102. package/packages/components/empty/index.js +29 -29
  103. package/packages/components/empty/index.js.gz +0 -0
  104. package/packages/components/error-overlay-model/index.js +31 -31
  105. package/packages/components/error-overlay-model/index.js.gz +0 -0
  106. package/packages/components/form/index.d.ts +14 -14
  107. package/packages/components/form/index.js +23 -23
  108. package/packages/components/form/index.js.gz +0 -0
  109. package/packages/components/form-item/index.js +771 -771
  110. package/packages/components/form-item/index.js.gz +0 -0
  111. package/packages/components/form-item/style.css +1 -1
  112. package/packages/components/form-item/style.css.gz +0 -0
  113. package/packages/components/image-upload/index.js +90 -90
  114. package/packages/components/image-upload/index.js.gz +0 -0
  115. package/packages/components/image-viewer/index.js +418 -418
  116. package/packages/components/image-viewer/index.js.gz +0 -0
  117. package/packages/components/infinite-scroll/index.d.ts +3 -1
  118. package/packages/components/infinite-scroll/index.js +509 -509
  119. package/packages/components/infinite-scroll/index.js.gz +0 -0
  120. package/packages/components/infinite-scroll/src/index.vue.d.ts +3 -1
  121. package/packages/components/input/index.js +546 -544
  122. package/packages/components/input/index.js.gz +0 -0
  123. package/packages/components/input/src/index.vue.d.ts +2 -1
  124. package/packages/components/input/src/type.d.ts +73 -71
  125. package/packages/components/input/style.css +2 -2
  126. package/packages/components/input/style.css.gz +0 -0
  127. package/packages/components/input-dialog-select/index.js +82 -82
  128. package/packages/components/input-dialog-select/index.js.gz +0 -0
  129. package/packages/components/input-number/index.js +103 -103
  130. package/packages/components/input-number/index.js.gz +0 -0
  131. package/packages/components/input-number/style.css +1 -1
  132. package/packages/components/input-number/style.css.gz +0 -0
  133. package/packages/components/live-player/index.d.ts +4 -4
  134. package/packages/components/loading/index.js +1 -1
  135. package/packages/components/loading/index.js.gz +0 -0
  136. package/packages/components/menu-aside/index.js +600 -600
  137. package/packages/components/menu-aside/index.js.gz +0 -0
  138. package/packages/components/menu-header/index.js +17 -17
  139. package/packages/components/menu-header/index.js.gz +0 -0
  140. package/packages/components/pagination/index.js +91 -91
  141. package/packages/components/pagination/index.js.gz +0 -0
  142. package/packages/components/pagination/style.css +1 -1
  143. package/packages/components/pagination/style.css.gz +0 -0
  144. package/packages/components/popover/index.d.ts +4 -4
  145. package/packages/components/popover/index.js +33 -33
  146. package/packages/components/popover/index.js.gz +0 -0
  147. package/packages/components/popup-mask/index.js +13 -13
  148. package/packages/components/popup-mask/index.js.gz +0 -0
  149. package/packages/components/progress/index.js +93 -93
  150. package/packages/components/progress/index.js.gz +0 -0
  151. package/packages/components/progress/style.css +1 -1
  152. package/packages/components/progress/style.css.gz +0 -0
  153. package/packages/components/radio/index.d.ts +10 -10
  154. package/packages/components/radio/index.js +175 -175
  155. package/packages/components/radio/index.js.gz +0 -0
  156. package/packages/components/rich-editor/index.js +234 -234
  157. package/packages/components/rich-editor/index.js.gz +0 -0
  158. package/packages/components/scrollbar/index.js +2 -2
  159. package/packages/components/scrollbar/index.js.gz +0 -0
  160. package/packages/components/search/index.js +68 -68
  161. package/packages/components/search/index.js.gz +0 -0
  162. package/packages/components/search-form/index.js +933 -933
  163. package/packages/components/search-form/index.js.gz +0 -0
  164. package/packages/components/search-form/style.css +1 -1
  165. package/packages/components/search-form/style.css.gz +0 -0
  166. package/packages/components/select/index.js +431 -406
  167. package/packages/components/select/index.js.gz +0 -0
  168. package/packages/components/select/style.css +1 -1
  169. package/packages/components/select/style.css.gz +0 -0
  170. package/packages/components/select-input/index.js +78 -78
  171. package/packages/components/select-input/index.js.gz +0 -0
  172. package/packages/components/select-list/index.js +430 -430
  173. package/packages/components/select-list/index.js.gz +0 -0
  174. package/packages/components/select-list/style.css +1 -1
  175. package/packages/components/select-list/style.css.gz +0 -0
  176. package/packages/components/special-range-picker-month/index.js +140 -140
  177. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  178. package/packages/components/special-range-picker-month/style.css +1 -1
  179. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  180. package/packages/components/special-range-picker-year/index.js +169 -169
  181. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  182. package/packages/components/special-range-picker-year/style.css +1 -1
  183. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  184. package/packages/components/spin/index.js +37 -37
  185. package/packages/components/spin/index.js.gz +0 -0
  186. package/packages/components/split-panel/index.d.ts +8 -8
  187. package/packages/components/split-panel/index.js +27 -27
  188. package/packages/components/split-panel/index.js.gz +0 -0
  189. package/packages/components/switch/style.css +1 -1
  190. package/packages/components/switch/style.css.gz +0 -0
  191. package/packages/components/table/index.d.ts +103 -103
  192. package/packages/components/table/index.js +1869 -1869
  193. package/packages/components/table/index.js.gz +0 -0
  194. package/packages/components/table/src/Table.vue.d.ts +9 -9
  195. package/packages/components/tabs/index.js +101 -101
  196. package/packages/components/tabs/index.js.gz +0 -0
  197. package/packages/components/time-line/index.js +35 -35
  198. package/packages/components/time-line/index.js.gz +0 -0
  199. package/packages/components/tooltip/index.d.ts +6 -6
  200. package/packages/components/tooltip/index.js +62 -62
  201. package/packages/components/tooltip/index.js.gz +0 -0
  202. package/packages/components/tooltip/style.css +1 -1
  203. package/packages/components/tooltip/style.css.gz +0 -0
  204. package/packages/components/tree/index.js +426 -426
  205. package/packages/components/tree/index.js.gz +0 -0
  206. package/packages/components/tree-select/index.js +220 -220
  207. package/packages/components/tree-select/index.js.gz +0 -0
  208. package/packages/components/tree-select/src/App.vue.d.ts +12 -12
  209. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
  210. package/packages/components/tree-table/index.d.ts +2 -2
  211. package/packages/components/tree-table/index.js +181 -181
  212. package/packages/components/tree-table/index.js.gz +0 -0
  213. package/packages/components/tree-v2/index.js +1311 -1309
  214. package/packages/components/tree-v2/index.js.gz +0 -0
  215. package/packages/components/tree-v2/src/App.vue.d.ts +143 -141
  216. package/packages/components/tree-v2/style.css +2 -2
  217. package/packages/components/tree-v2/style.css.gz +0 -0
  218. package/packages/components/upload/index.js +98 -98
  219. package/packages/components/upload/index.js.gz +0 -0
  220. package/packages/components/virtual-tree/index.js +62 -62
  221. package/packages/components/virtual-tree/index.js.gz +0 -0
  222. package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
  223. package/presets/theme-cjb.css +321 -321
  224. package/presets/theme-default.css +321 -321
  225. package/presets/theme-dkh.css +321 -321
  226. package/presets/theme-ssl.css +321 -321
  227. package/release-meta.json +4 -4
  228. package/theme-default.css +321 -321
  229. package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
  230. package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
@@ -1,131 +1,131 @@
1
- import { withInstall as ge } from "@das-fed/upf-utils/with-install/index";
2
- import { ConfigProvider as he } from "ant-design-vue/es";
1
+ import { withInstall as he } from "@das-fed/upf-utils/with-install/index";
2
+ import { ConfigProvider as ke } from "ant-design-vue/es";
3
3
  import "ant-design-vue/es/config-provider/style/css";
4
- import { defineComponent as ke, useAttrs as ve, computed as w, ref as te, watchEffect as Te, openBlock as c, createElementBlock as I, normalizeClass as Se, normalizeStyle as je, createVNode as z, withCtx as f, createCommentVNode as $, createBlock as C, unref as u, mergeProps as V, createSlots as ne, renderSlot as F, Fragment as M, renderList as X, createTextVNode as Z, toDisplayString as q, isRef as $e } from "vue";
5
- import { DasAutoRegisterIcon as Ce, DasIcon as W } from "@das-fed/upf-ui/packages/components/icon/index";
6
- import { DropdownButton as Oe, Menu as re, MenuItem as ie, Dropdown as Be, Button as oe, RadioGroup as Ie, RadioButton as ze } from "ant-design-vue";
4
+ import { defineComponent as ve, useAttrs as pe, computed as P, ref as te, watchEffect as Te, openBlock as d, createElementBlock as I, normalizeClass as Se, normalizeStyle as je, createVNode as x, withCtx as f, createCommentVNode as $, createBlock as C, unref as u, mergeProps as G, createSlots as ne, renderSlot as V, Fragment as w, renderList as H, createTextVNode as X, toDisplayString as Z, isRef as $e } from "vue";
5
+ import { DasAutoRegisterIcon as Ce, DasIcon as F } from "@das-fed/upf-ui/packages/components/icon/index";
6
+ import { DropdownButton as Oe, Menu as ie, MenuItem as re, Dropdown as Be, Button as oe, RadioGroup as Ie, RadioButton as xe } from "ant-design-vue";
7
7
  import "ant-design-vue/es/button/style/css";
8
8
  import "ant-design-vue/es/dropdown/style/css";
9
9
  import "ant-design-vue/es/radio/style/css"
10
10
  import '@das-fed/upf-ui/packages/components/button/style.css';
11
11
  ;
12
- var K = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
13
- function De(t) {
14
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
12
+ var W = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
13
+ function ze(e) {
14
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
15
15
  }
16
- function Ee(t) {
17
- var a = typeof t;
18
- return t != null && (a == "object" || a == "function");
16
+ function De(e) {
17
+ var a = typeof e;
18
+ return e != null && (a == "object" || a == "function");
19
19
  }
20
- var fe = Ee, Pe = typeof K == "object" && K && K.Object === Object && K, we = Pe, Me = we, Re = typeof self == "object" && self && self.Object === Object && self, Ae = Me || Re || Function("return this")(), be = Ae, Le = be, Ne = function() {
21
- return Le.Date.now();
22
- }, Ge = Ne, Ve = /\s/;
23
- function Fe(t) {
24
- for (var a = t.length; a-- && Ve.test(t.charAt(a)); )
20
+ var fe = De, Ee = typeof W == "object" && W && W.Object === Object && W, Pe = Ee, we = Pe, Me = typeof self == "object" && self && self.Object === Object && self, Re = we || Me || Function("return this")(), be = Re, Ae = be, Le = function() {
21
+ return Ae.Date.now();
22
+ }, Ne = Le, Ge = /\s/;
23
+ function Ve(e) {
24
+ for (var a = e.length; a-- && Ge.test(e.charAt(a)); )
25
25
  ;
26
26
  return a;
27
27
  }
28
- var We = Fe, Ke = We, Ue = /^\s+/;
29
- function He(t) {
30
- return t && t.slice(0, Ke(t) + 1).replace(Ue, "");
28
+ var Fe = Ve, We = Fe, Ke = /^\s+/;
29
+ function Ue(e) {
30
+ return e && e.slice(0, We(e) + 1).replace(Ke, "");
31
31
  }
32
- var Xe = He, Ze = be, qe = Ze.Symbol, pe = qe, ae = pe, ye = Object.prototype, Je = ye.hasOwnProperty, Qe = ye.toString, A = ae ? ae.toStringTag : void 0;
33
- function Ye(t) {
34
- var a = Je.call(t, A), n = t[A];
32
+ var He = Ue, Xe = be, Ze = Xe.Symbol, ye = Ze, ae = ye, me = Object.prototype, qe = me.hasOwnProperty, Je = me.toString, R = ae ? ae.toStringTag : void 0;
33
+ function Qe(e) {
34
+ var a = qe.call(e, R), n = e[R];
35
35
  try {
36
- t[A] = void 0;
36
+ e[R] = void 0;
37
37
  var b = !0;
38
38
  } catch {
39
39
  }
40
- var l = Qe.call(t);
41
- return b && (a ? t[A] = n : delete t[A]), l;
40
+ var s = Je.call(e);
41
+ return b && (a ? e[R] = n : delete e[R]), s;
42
42
  }
43
- var _e = Ye, xe = Object.prototype, et = xe.toString;
44
- function tt(t) {
45
- return et.call(t);
43
+ var Ye = Qe, _e = Object.prototype, et = _e.toString;
44
+ function tt(e) {
45
+ return et.call(e);
46
46
  }
47
- var nt = tt, se = pe, rt = _e, it = nt, ot = "[object Null]", at = "[object Undefined]", le = se ? se.toStringTag : void 0;
48
- function st(t) {
49
- return t == null ? t === void 0 ? at : ot : le && le in Object(t) ? rt(t) : it(t);
47
+ var nt = tt, le = ye, it = Ye, rt = nt, ot = "[object Null]", at = "[object Undefined]", se = le ? le.toStringTag : void 0;
48
+ function lt(e) {
49
+ return e == null ? e === void 0 ? at : ot : se && se in Object(e) ? it(e) : rt(e);
50
50
  }
51
- var lt = st;
52
- function ut(t) {
53
- return t != null && typeof t == "object";
51
+ var st = lt;
52
+ function ut(e) {
53
+ return e != null && typeof e == "object";
54
54
  }
55
- var dt = ut, ct = lt, ft = dt, bt = "[object Symbol]";
56
- function pt(t) {
57
- return typeof t == "symbol" || ft(t) && ct(t) == bt;
55
+ var ct = ut, dt = st, ft = ct, bt = "[object Symbol]";
56
+ function yt(e) {
57
+ return typeof e == "symbol" || ft(e) && dt(e) == bt;
58
58
  }
59
- var yt = pt, mt = Xe, ue = fe, gt = yt, de = NaN, ht = /^[-+]0x[0-9a-f]+$/i, kt = /^0b[01]+$/i, vt = /^0o[0-7]+$/i, Tt = parseInt;
60
- function St(t) {
61
- if (typeof t == "number")
62
- return t;
63
- if (gt(t))
64
- return de;
65
- if (ue(t)) {
66
- var a = typeof t.valueOf == "function" ? t.valueOf() : t;
67
- t = ue(a) ? a + "" : a;
59
+ var mt = yt, gt = He, ue = fe, ht = mt, ce = NaN, kt = /^[-+]0x[0-9a-f]+$/i, vt = /^0b[01]+$/i, pt = /^0o[0-7]+$/i, Tt = parseInt;
60
+ function St(e) {
61
+ if (typeof e == "number")
62
+ return e;
63
+ if (ht(e))
64
+ return ce;
65
+ if (ue(e)) {
66
+ var a = typeof e.valueOf == "function" ? e.valueOf() : e;
67
+ e = ue(a) ? a + "" : a;
68
68
  }
69
- if (typeof t != "string")
70
- return t === 0 ? t : +t;
71
- t = mt(t);
72
- var n = kt.test(t);
73
- return n || vt.test(t) ? Tt(t.slice(2), n ? 2 : 8) : ht.test(t) ? de : +t;
69
+ if (typeof e != "string")
70
+ return e === 0 ? e : +e;
71
+ e = gt(e);
72
+ var n = vt.test(e);
73
+ return n || pt.test(e) ? Tt(e.slice(2), n ? 2 : 8) : kt.test(e) ? ce : +e;
74
74
  }
75
- var jt = St, $t = fe, J = Ge, ce = jt, Ct = "Expected a function", Ot = Math.max, Bt = Math.min;
76
- function It(t, a, n) {
77
- var b, l, k, v, d, p, T = 0, R = !1, g = !1, D = !0;
78
- if (typeof t != "function")
75
+ var jt = St, $t = fe, q = Ne, de = jt, Ct = "Expected a function", Ot = Math.max, Bt = Math.min;
76
+ function It(e, a, n) {
77
+ var b, s, v, p, c, y, T = 0, M = !1, h = !1, z = !0;
78
+ if (typeof e != "function")
79
79
  throw new TypeError(Ct);
80
- a = ce(a) || 0, $t(n) && (R = !!n.leading, g = "maxWait" in n, k = g ? Ot(ce(n.maxWait) || 0, a) : k, D = "trailing" in n ? !!n.trailing : D);
81
- function S(s) {
82
- var m = b, B = l;
83
- return b = l = void 0, T = s, v = t.apply(B, m), v;
80
+ a = de(a) || 0, $t(n) && (M = !!n.leading, h = "maxWait" in n, v = h ? Ot(de(n.maxWait) || 0, a) : v, z = "trailing" in n ? !!n.trailing : z);
81
+ function S(l) {
82
+ var g = b, B = s;
83
+ return b = s = void 0, T = l, p = e.apply(B, g), p;
84
84
  }
85
- function O(s) {
86
- return T = s, d = setTimeout(P, a), R ? S(s) : v;
85
+ function O(l) {
86
+ return T = l, c = setTimeout(E, a), M ? S(l) : p;
87
87
  }
88
- function j(s) {
89
- var m = s - p, B = s - T, N = a - m;
90
- return g ? Bt(N, k - B) : N;
88
+ function j(l) {
89
+ var g = l - y, B = l - T, L = a - g;
90
+ return h ? Bt(L, v - B) : L;
91
91
  }
92
- function E(s) {
93
- var m = s - p, B = s - T;
94
- return p === void 0 || m >= a || m < 0 || g && B >= k;
92
+ function D(l) {
93
+ var g = l - y, B = l - T;
94
+ return y === void 0 || g >= a || g < 0 || h && B >= v;
95
95
  }
96
- function P() {
97
- var s = J();
98
- if (E(s))
99
- return L(s);
100
- d = setTimeout(P, j(s));
96
+ function E() {
97
+ var l = q();
98
+ if (D(l))
99
+ return A(l);
100
+ c = setTimeout(E, j(l));
101
101
  }
102
- function L(s) {
103
- return d = void 0, D && b ? S(s) : (b = l = void 0, v);
102
+ function A(l) {
103
+ return c = void 0, z && b ? S(l) : (b = s = void 0, p);
104
104
  }
105
- function U() {
106
- d !== void 0 && clearTimeout(d), T = 0, b = p = l = d = void 0;
105
+ function K() {
106
+ c !== void 0 && clearTimeout(c), T = 0, b = y = s = c = void 0;
107
107
  }
108
- function H() {
109
- return d === void 0 ? v : L(J());
108
+ function U() {
109
+ return c === void 0 ? p : A(q());
110
110
  }
111
- function y() {
112
- var s = J(), m = E(s);
113
- if (b = arguments, l = this, p = s, m) {
114
- if (d === void 0)
115
- return O(p);
116
- if (g)
117
- return clearTimeout(d), d = setTimeout(P, a), S(p);
111
+ function m() {
112
+ var l = q(), g = D(l);
113
+ if (b = arguments, s = this, y = l, g) {
114
+ if (c === void 0)
115
+ return O(y);
116
+ if (h)
117
+ return clearTimeout(c), c = setTimeout(E, a), S(y);
118
118
  }
119
- return d === void 0 && (d = setTimeout(P, a)), v;
119
+ return c === void 0 && (c = setTimeout(E, a)), p;
120
120
  }
121
- return y.cancel = U, y.flush = H, y;
121
+ return m.cancel = K, m.flush = U, m;
122
122
  }
123
- var zt = It;
124
- const Q = /* @__PURE__ */ De(zt), Dt = {
123
+ var xt = It;
124
+ const J = /* @__PURE__ */ ze(xt), zt = {
125
125
  inheritAttrs: !1
126
126
  // 不希望组件的根元素继承特性
127
- }, Et = /* @__PURE__ */ ke({
128
- ...Dt,
127
+ }, Dt = /* @__PURE__ */ ve({
128
+ ...zt,
129
129
  __name: "Index",
130
130
  props: {
131
131
  btnType: { default: "primary" },
@@ -144,60 +144,60 @@ const Q = /* @__PURE__ */ De(zt), Dt = {
144
144
  isIconLeft: { type: Boolean, default: !0 },
145
145
  trigger: { default: "click" },
146
146
  activeKey: { type: [String, Number, Boolean], default: "" },
147
- getPopupContainer: { type: Function, default: (t) => t.parentNode || document.body },
147
+ getPopupContainer: { type: Function, default: (e) => e.parentNode || document.body },
148
148
  isClickDebounce: { type: Boolean, default: !0 }
149
149
  },
150
150
  emits: ["update:activeKey", "click"],
151
- setup(t, { emit: a }) {
151
+ setup(e, { emit: a }) {
152
152
  Ce({
153
153
  fold: import("@das-fed/upf-ui/packages/icons/fold"),
154
154
  unflod: import("@das-fed/upf-ui/packages/icons/unflod")
155
155
  });
156
- const n = t, b = a, l = ve(), k = w(() => n.btnType === "primary-text" || n.btnType === "default-text"), v = w(() => n.block && !k.value), d = (e) => {
157
- const i = e.trim();
158
- return i ? /^m(?:[trblxy]|-[trblxy])?-?\d+$/.test(i) || /^margin(?:-[trblxy]|-(?:top|right|bottom|left|inline|block))?-\d+$/.test(i) : !1;
159
- }, p = (e) => {
160
- const i = { root: [], inner: [] };
161
- return e ? Array.isArray(e) ? (e.forEach((o) => {
162
- const r = p(o);
163
- i.root.push(...r.root), i.inner.push(...r.inner);
164
- }), i) : typeof e == "string" ? (e.split(/\s+/).filter(Boolean).forEach((o) => {
165
- i[d(o) ? "root" : "inner"].push(o);
166
- }), i) : (typeof e == "object" && Object.entries(e).forEach(([o, r]) => {
167
- r && o.split(/\s+/).filter(Boolean).forEach((h) => {
168
- i[d(h) ? "root" : "inner"].push({ [h]: r });
156
+ const n = e, b = a, s = pe(), v = P(() => n.btnType === "primary-text" || n.btnType === "default-text"), p = P(() => n.block && !v.value), c = (t) => {
157
+ const r = t.trim();
158
+ return r ? /^m(?:[trblxy]|-[trblxy])?-?\d+$/.test(r) || /^margin(?:-[trblxy]|-(?:top|right|bottom|left|inline|block))?-\d+$/.test(r) : !1;
159
+ }, y = (t) => {
160
+ const r = { root: [], inner: [] };
161
+ return t ? Array.isArray(t) ? (t.forEach((o) => {
162
+ const i = y(o);
163
+ r.root.push(...i.root), r.inner.push(...i.inner);
164
+ }), r) : typeof t == "string" ? (t.split(/\s+/).filter(Boolean).forEach((o) => {
165
+ r[c(o) ? "root" : "inner"].push(o);
166
+ }), r) : (typeof t == "object" && Object.entries(t).forEach(([o, i]) => {
167
+ i && o.split(/\s+/).filter(Boolean).forEach((k) => {
168
+ r[c(k) ? "root" : "inner"].push({ [k]: i });
169
169
  });
170
- }), i) : i;
171
- }, T = w(() => n.btnType === "default-basicset" || n.btnType === "primary-basicset"), R = (e) => /^margin(?:$|[-A-Z])/.test(e.trim()), g = (e) => {
172
- const i = { root: [], inner: [] };
173
- if (!e) return i;
174
- if (Array.isArray(e))
175
- return e.forEach((o) => {
176
- const r = g(o);
177
- i.root.push(...r.root), i.inner.push(...r.inner);
178
- }), i;
179
- if (typeof e == "string") {
180
- const o = [], r = [];
181
- return e.split(";").forEach((h) => {
182
- const G = h.indexOf(":");
183
- if (G < 0) return;
184
- const x = h.slice(0, G).trim(), ee = h.trim();
185
- !x || !ee || (R(x) ? o : r).push(ee);
186
- }), o.length && i.root.push(o.join("; ")), r.length && i.inner.push(r.join("; ")), i;
170
+ }), r) : r;
171
+ }, T = P(() => n.btnType === "default-basicset" || n.btnType === "primary-basicset"), M = (t) => /^margin(?:$|[-A-Z])/.test(t.trim()), h = (t) => {
172
+ const r = { root: [], inner: [] };
173
+ if (!t) return r;
174
+ if (Array.isArray(t))
175
+ return t.forEach((o) => {
176
+ const i = h(o);
177
+ r.root.push(...i.root), r.inner.push(...i.inner);
178
+ }), r;
179
+ if (typeof t == "string") {
180
+ const o = [], i = [];
181
+ return t.split(";").forEach((k) => {
182
+ const N = k.indexOf(":");
183
+ if (N < 0) return;
184
+ const _ = k.slice(0, N).trim(), ee = k.trim();
185
+ !_ || !ee || (M(_) ? o : i).push(ee);
186
+ }), o.length && r.root.push(o.join("; ")), i.length && r.inner.push(i.join("; ")), r;
187
187
  }
188
- if (typeof e == "object") {
189
- const o = {}, r = {};
190
- Object.entries(e).forEach(([h, G]) => {
191
- (R(h) ? o : r)[h] = G;
192
- }), Object.keys(o).length && i.root.push(o), Object.keys(r).length && i.inner.push(r);
188
+ if (typeof t == "object") {
189
+ const o = {}, i = {};
190
+ Object.entries(t).forEach(([k, N]) => {
191
+ (M(k) ? o : i)[k] = N;
192
+ }), Object.keys(o).length && r.root.push(o), Object.keys(i).length && r.inner.push(i);
193
193
  }
194
- return i;
195
- }, D = (e) => !T.value && (!!e.root.length || !e.inner.length), S = () => {
196
- const e = p(l.class), i = g(l.style), o = { ...l };
197
- return e.inner.length ? o.class = e.inner : delete o.class, D(e) && (i.inner.length ? o.style = i.inner : delete o.style), o;
194
+ return r;
195
+ }, z = (t) => !T.value && (!!t.root.length || !t.inner.length), S = () => {
196
+ const t = y(s.class), r = h(s.style), o = { ...s };
197
+ return t.inner.length ? o.class = t.inner : delete o.class, z(t) && (r.inner.length ? o.style = r.inner : delete o.style), o;
198
198
  };
199
199
  let O = te(n.activeKey), j = te(n.icon);
200
- const E = w(() => n.size === "small" ? "mini" : n.size === "middle" ? "small" : n.size === "large" ? "medium" : "small"), P = w(() => n.btnType === "primary" ? "primary" : k.value ? "text" : "default"), L = w(() => [
200
+ const D = P(() => n.size === "small" ? "mini" : n.size === "middle" ? "small" : n.size === "large" ? "medium" : "small"), E = P(() => n.btnType === "primary" ? "primary" : v.value ? "text" : "default"), A = P(() => [
201
201
  "das-ui-button",
202
202
  `das-ui-button--${n.size}`,
203
203
  `das-ui-button--${n.btnType}`,
@@ -206,76 +206,76 @@ const Q = /* @__PURE__ */ De(zt), Dt = {
206
206
  "das-ui-button--ghost": n.ghost,
207
207
  "das-ui-button--icon": !!n.icon
208
208
  }
209
- ]), U = () => [L.value, p(l.class).root], H = () => {
209
+ ]), K = () => [A.value, y(s.class).root], U = () => {
210
210
  if (T.value) {
211
- const r = [];
212
- return l.style && r.push(l.style), r.length ? r : void 0;
211
+ const i = [];
212
+ return s.style && i.push(s.style), i.length ? i : void 0;
213
213
  }
214
- const e = p(l.class), i = g(l.style), o = [];
215
- return D(e) && i.root.length && o.push(...i.root), o.length ? o : void 0;
214
+ const t = y(s.class), r = h(s.style), o = [];
215
+ return z(t) && r.root.length && o.push(...r.root), o.length ? o : void 0;
216
216
  };
217
217
  Te(() => {
218
218
  b("update:activeKey", O.value);
219
219
  });
220
- const y = (e, i) => {
221
- document.body.click(), b("click", e, i);
222
- }, s = Q(
223
- (e) => {
224
- j.value = n.icon, y(e, "menu-click");
220
+ const m = (t, r) => {
221
+ document.body.click(), b("click", t, r);
222
+ }, l = J(
223
+ (t) => {
224
+ j.value = n.icon, m(t, "menu-click");
225
225
  },
226
226
  300,
227
227
  {
228
228
  leading: !0
229
229
  }
230
- ), m = Q(
231
- (e) => {
232
- y(e, "button-click");
230
+ ), g = J(
231
+ (t) => {
232
+ m(t, "button-click");
233
233
  },
234
234
  300,
235
235
  {
236
236
  leading: !0
237
237
  }
238
- ), B = Q(
239
- (e) => {
240
- y(e, "self");
238
+ ), B = J(
239
+ (t) => {
240
+ m(t, "self");
241
241
  },
242
242
  300,
243
243
  {
244
244
  leading: !0
245
245
  }
246
- ), N = (e) => {
247
- n.isClickDebounce ? B(e) : y(e, "self");
248
- }, me = (e) => {
249
- n.isClickDebounce ? m(e) : y(e, "button-click");
250
- }, Y = (e) => {
251
- n.isClickDebounce ? s(e) : (j.value = n.icon, y(e, "menu-click"));
252
- }, _ = (e) => {
253
- e ? j.value = n.activeIcon ? n.activeIcon : n.icon : j.value = n.icon;
246
+ ), L = (t) => {
247
+ n.isClickDebounce ? B(t) : m(t, "self");
248
+ }, ge = (t) => {
249
+ n.isClickDebounce ? g(t) : m(t, "button-click");
250
+ }, Q = (t) => {
251
+ n.isClickDebounce ? l(t) : (j.value = n.icon, m(t, "menu-click"));
252
+ }, Y = (t) => {
253
+ t ? j.value = n.activeIcon ? n.activeIcon : n.icon : j.value = n.icon;
254
254
  };
255
- return (e, i) => {
256
- const o = he;
257
- return c(), I(
255
+ return (t, r) => {
256
+ const o = ke;
257
+ return d(), I(
258
258
  "div",
259
259
  {
260
- class: Se(U()),
261
- style: je(H())
260
+ class: Se(K()),
261
+ style: je(U())
262
262
  },
263
263
  [
264
- z(o, { autoInsertSpaceInButton: !1 }, {
264
+ x(o, { autoInsertSpaceInButton: !1 }, {
265
265
  default: f(() => [
266
266
  $(" 同类集合按钮 "),
267
- e.btnType === "default-sameset" || e.btnType === "primary-sameset" ? (c(), C(u(Oe), V({ key: 0 }, S(), {
267
+ e.btnType === "default-sameset" || e.btnType === "primary-sameset" ? (d(), C(u(Oe), G({ key: 0 }, S(), {
268
268
  tabindex: "-1",
269
269
  trigger: e.trigger,
270
270
  disabled: e.disabled,
271
271
  getPopupContainer: e.getPopupContainer,
272
- onVisibleChange: _,
273
- onClick: me,
272
+ onVisibleChange: Y,
273
+ onClick: ge,
274
274
  type: e.btnType === "primary-sameset" ? "primary" : "default",
275
275
  class: `${e.block ? "block" : ""} ${e.size}`
276
276
  }), ne({
277
277
  default: f(() => [
278
- F(e.$slots, "default", {}, void 0, !0)
278
+ V(t.$slots, "default", {}, void 0, !0)
279
279
  ]),
280
280
  _: 2
281
281
  /* DYNAMIC */
@@ -283,18 +283,18 @@ const Q = /* @__PURE__ */ De(zt), Dt = {
283
283
  e.menuData && e.menuData.length > 0 ? {
284
284
  name: "overlay",
285
285
  fn: f(() => [
286
- z(u(re), { onClick: Y }, {
286
+ x(u(ie), { onClick: Q }, {
287
287
  default: f(() => [
288
- (c(!0), I(
289
- M,
288
+ (d(!0), I(
289
+ w,
290
290
  null,
291
- X(e.menuData, (r) => (c(), C(u(ie), {
292
- key: r[e.defaultMenuProps.key],
293
- disabled: r.disabled
291
+ H(e.menuData, (i) => (d(), C(u(re), {
292
+ key: i[e.defaultMenuProps.key],
293
+ disabled: i.disabled
294
294
  }, {
295
295
  default: f(() => [
296
- Z(
297
- q(r[e.defaultMenuProps.label]),
296
+ X(
297
+ Z(i[e.defaultMenuProps.label]),
298
298
  1
299
299
  /* TEXT */
300
300
  )
@@ -315,33 +315,33 @@ const Q = /* @__PURE__ */ De(zt), Dt = {
315
315
  e.icon ? {
316
316
  name: "icon",
317
317
  fn: f(() => [
318
- z(u(W), {
318
+ x(u(F), {
319
319
  icon: u(j),
320
- size: E.value
320
+ size: D.value
321
321
  }, null, 8, ["icon", "size"])
322
322
  ]),
323
323
  key: "1"
324
324
  } : void 0
325
- ]), 1040, ["trigger", "disabled", "getPopupContainer", "type", "class"])) : e.btnType === "default-basicset" || e.btnType === "primary-basicset" ? (c(), I(
326
- M,
325
+ ]), 1040, ["trigger", "disabled", "getPopupContainer", "type", "class"])) : e.btnType === "default-basicset" || e.btnType === "primary-basicset" ? (d(), I(
326
+ w,
327
327
  { key: 1 },
328
328
  [
329
329
  $(" 基础集合按钮 "),
330
- z(u(Be), V(S(), {
330
+ x(u(Be), G(S(), {
331
331
  tabindex: "-1",
332
332
  type: e.btnType === "primary-basicset" ? "primary" : "default",
333
333
  trigger: e.trigger,
334
334
  disabled: e.disabled,
335
335
  ref: "basicsetDropdownRef",
336
336
  class: `${e.block ? "block" : ""} ${e.btnType === "primary-basicset" ? "primary" : "default"} ${e.size}`,
337
- onVisibleChange: _,
337
+ onVisibleChange: Y,
338
338
  overlayClassName: "basicset-dropdown-wrap"
339
339
  }), ne({
340
340
  default: f(() => [
341
- z(u(oe), null, {
341
+ x(u(oe), null, {
342
342
  default: f(() => [
343
- F(e.$slots, "default", {}, void 0, !0),
344
- e.icon ? (c(), C(u(W), {
343
+ V(t.$slots, "default", {}, void 0, !0),
344
+ e.icon ? (d(), C(u(F), {
345
345
  key: 0,
346
346
  icon: u(j),
347
347
  size: e.size === "small" ? "medium" : e.size === "middle" ? "big" : e.size === "large" ? "large" : "big"
@@ -357,19 +357,19 @@ const Q = /* @__PURE__ */ De(zt), Dt = {
357
357
  e.menuData && e.menuData.length > 0 ? {
358
358
  name: "overlay",
359
359
  fn: f(() => [
360
- z(u(re), { onClick: Y }, {
360
+ x(u(ie), { onClick: Q }, {
361
361
  default: f(() => [
362
- (c(!0), I(
363
- M,
362
+ (d(!0), I(
363
+ w,
364
364
  null,
365
- X(e.menuData, (r) => (c(), C(u(ie), {
366
- key: r[e.defaultMenuProps.key],
367
- disabled: r.disabled
365
+ H(e.menuData, (i) => (d(), C(u(re), {
366
+ key: i[e.defaultMenuProps.key],
367
+ disabled: i.disabled
368
368
  }, {
369
369
  default: f(() => [
370
- F(e.$slots, "menu-item", { item: r }, () => [
371
- Z(
372
- q(r[e.defaultMenuProps.label]),
370
+ V(t.$slots, "menu-item", { item: i }, () => [
371
+ X(
372
+ Z(i[e.defaultMenuProps.label]),
373
373
  1
374
374
  /* TEXT */
375
375
  )
@@ -392,29 +392,29 @@ const Q = /* @__PURE__ */ De(zt), Dt = {
392
392
  ],
393
393
  64
394
394
  /* STABLE_FRAGMENT */
395
- )) : e.btnType === "tabs" ? (c(), I(
396
- M,
395
+ )) : e.btnType === "tabs" ? (d(), I(
396
+ w,
397
397
  { key: 2 },
398
398
  [
399
399
  $(" 切换按钮tab "),
400
- e.menuData && e.menuData.length > 0 ? (c(), C(u(Ie), V({ key: 0 }, S(), {
400
+ e.menuData && e.menuData.length > 0 ? (d(), C(u(Ie), G({ key: 0 }, S(), {
401
401
  tabindex: "-1",
402
402
  disabled: e.disabled,
403
403
  value: u(O),
404
- "onUpdate:value": i[0] || (i[0] = (r) => $e(O) ? O.value = r : O = r)
404
+ "onUpdate:value": r[0] || (r[0] = (i) => $e(O) ? O.value = i : O = i)
405
405
  }), {
406
406
  default: f(() => [
407
- (c(!0), I(
408
- M,
407
+ (d(!0), I(
408
+ w,
409
409
  null,
410
- X(e.menuData, (r) => (c(), C(u(ze), {
411
- key: r[e.defaultMenuProps.key],
412
- value: r[e.defaultMenuProps.key],
413
- disabled: r.disabled
410
+ H(e.menuData, (i) => (d(), C(u(xe), {
411
+ key: i[e.defaultMenuProps.key],
412
+ value: i[e.defaultMenuProps.key],
413
+ disabled: i.disabled
414
414
  }, {
415
415
  default: f(() => [
416
- Z(
417
- q(r[e.defaultMenuProps.label]),
416
+ X(
417
+ Z(i[e.defaultMenuProps.label]),
418
418
  1
419
419
  /* TEXT */
420
420
  )
@@ -432,31 +432,31 @@ const Q = /* @__PURE__ */ De(zt), Dt = {
432
432
  ],
433
433
  64
434
434
  /* STABLE_FRAGMENT */
435
- )) : (c(), I(
436
- M,
435
+ )) : (d(), I(
436
+ w,
437
437
  { key: 3 },
438
438
  [
439
439
  $(" 普通按钮 "),
440
- z(u(oe), V(S(), {
440
+ x(u(oe), G(S(), {
441
441
  tabindex: "-1",
442
- type: P.value,
442
+ type: E.value,
443
443
  size: e.size,
444
444
  disabled: e.disabled,
445
- block: v.value,
445
+ block: p.value,
446
446
  ghost: e.ghost,
447
- onClick: N
447
+ onClick: L
448
448
  }), {
449
449
  default: f(() => [
450
- e.icon && e.isIconLeft ? (c(), C(u(W), {
450
+ e.icon && e.isIconLeft ? (d(), C(u(F), {
451
451
  key: 0,
452
452
  icon: e.icon,
453
- size: E.value
453
+ size: D.value
454
454
  }, null, 8, ["icon", "size"])) : $("v-if", !0),
455
- F(e.$slots, "default", {}, void 0, !0),
456
- e.icon && !e.isIconLeft ? (c(), C(u(W), {
455
+ V(t.$slots, "default", {}, void 0, !0),
456
+ e.icon && !e.isIconLeft ? (d(), C(u(F), {
457
457
  key: 1,
458
458
  icon: e.icon,
459
- size: E.value
459
+ size: D.value
460
460
  }, null, 8, ["icon", "size"])) : $("v-if", !0)
461
461
  ]),
462
462
  _: 3
@@ -476,13 +476,13 @@ const Q = /* @__PURE__ */ De(zt), Dt = {
476
476
  );
477
477
  };
478
478
  }
479
- }), Pt = (t, a) => {
480
- const n = t.__vccOpts || t;
481
- for (const [b, l] of a)
482
- n[b] = l;
479
+ }), Et = (e, a) => {
480
+ const n = e.__vccOpts || e;
481
+ for (const [b, s] of a)
482
+ n[b] = s;
483
483
  return n;
484
- }, wt = /* @__PURE__ */ Pt(Et, [["__scopeId", "data-v-5cfb834c"]]), Kt = ge(wt);
484
+ }, Pt = /* @__PURE__ */ Et(Dt, [["__scopeId", "data-v-5cfb834c"]]), Wt = he(Pt);
485
485
  export {
486
- Kt as DasButton,
487
- Kt as default
486
+ Wt as DasButton,
487
+ Wt as default
488
488
  };