@das-fed/ui 1.1.4 → 6.3.0-beta.1

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 (152) hide show
  1. package/global/icons/index.local.js +1 -1
  2. package/global/style/index.css +1 -1
  3. package/global/style/scrollbar.css +22 -22
  4. package/global/theme/index.js +12 -12
  5. package/global/theme/module/color.js +31 -31
  6. package/global/theme/module/fontSize.js +5 -5
  7. package/global/theme/module/scrollbar.js +6 -6
  8. package/package.json +15 -9
  9. package/packages/business-components/app-container/index.js +154 -147
  10. package/packages/business-components/change-enterprises/index.css +1 -0
  11. package/packages/business-components/change-enterprises/index.js +241 -0
  12. package/packages/business-components/change-pwd/index.css +1 -0
  13. package/packages/business-components/change-pwd/index.js +330 -0
  14. package/packages/business-components/currency-page/index.css +1 -0
  15. package/packages/business-components/currency-page/index.js +99 -0
  16. package/packages/business-components/device-panel/index.css +1 -0
  17. package/packages/business-components/device-panel/index.js +115939 -0
  18. package/packages/business-components/echarts/index.js +93 -122
  19. package/packages/business-components/export-button/index.js +73 -66
  20. package/packages/business-components/import-button/index.js +213 -170
  21. package/packages/business-components/index.js +8 -1
  22. package/packages/business-components/layout-breadcrumb/index.js +82 -66
  23. package/packages/business-components/model-table-dialog/index.js +299 -289
  24. package/packages/business-components/process-configuration/index.css +1 -0
  25. package/packages/business-components/process-configuration/index.js +612 -0
  26. package/packages/business-components/process-form/index.css +1 -0
  27. package/packages/business-components/process-form/index.js +524 -0
  28. package/packages/business-components/process-search-form/index.js +73 -315
  29. package/packages/business-components/process-table/index.css +1 -1
  30. package/packages/business-components/process-table/index.js +186 -152
  31. package/packages/business-components/urgent-panel/index.css +1 -0
  32. package/packages/business-components/urgent-panel/index.js +3914 -0
  33. package/packages/business-components/user-org-dialog/index.js +466 -375
  34. package/packages/business-components/video-dialog/index.css +1 -0
  35. package/packages/business-components/video-dialog/index.js +1041 -0
  36. package/packages/business.js +1 -2
  37. package/packages/components/alert/index.js +449 -633
  38. package/packages/components/audio-video/index.css +1 -1
  39. package/packages/components/audio-video/index.js +312 -126
  40. package/packages/components/autocomplete/index.css +1 -1
  41. package/packages/components/autocomplete/index.js +312 -2923
  42. package/packages/components/breadcrumb/index.js +97 -82
  43. package/packages/components/button/index.css +1 -1
  44. package/packages/components/button/index.js +646 -787
  45. package/packages/components/calendar/index.css +1 -1
  46. package/packages/components/calendar/index.js +655 -3879
  47. package/packages/components/cascader/index.js +209 -203
  48. package/packages/components/checkbox/index.css +1 -1
  49. package/packages/components/checkbox/index.js +710 -872
  50. package/packages/components/collapse-panel/index.css +1 -1
  51. package/packages/components/collapse-panel/index.js +419 -601
  52. package/packages/components/collapse-transition/index.js +23 -21
  53. package/packages/components/collaspe/index.css +1 -1
  54. package/packages/components/collaspe/index.js +413 -595
  55. package/packages/components/color-picker/index.css +1 -1
  56. package/packages/components/color-picker/index.js +176 -133
  57. package/packages/components/custom-search-item/index.js +43 -37
  58. package/packages/components/date-picker/index.js +1338 -1459
  59. package/packages/components/dialog/index.js +429 -215
  60. package/packages/components/dimple-layout/index.css +1 -1
  61. package/packages/components/dimple-layout/index.js +1298 -1794
  62. package/packages/components/drawer/index.js +105 -77
  63. package/packages/components/dropdown/index.js +129 -109
  64. package/packages/components/edit-table/index.css +1 -1
  65. package/packages/components/edit-table/index.js +868 -752
  66. package/packages/components/empty/index.js +83 -78
  67. package/packages/components/form/index.js +22 -15
  68. package/packages/components/form-item/index.css +1 -1
  69. package/packages/components/form-item/index.js +601 -440
  70. package/packages/components/icon/index.css +1 -1
  71. package/packages/components/icon/index.js +38 -22
  72. package/packages/components/image-preview/index.css +1 -0
  73. package/packages/components/image-preview/index.js +2714 -0
  74. package/packages/components/image-upload/index.js +601 -765
  75. package/packages/components/image-viewer/index.css +1 -1
  76. package/packages/components/image-viewer/index.js +909 -990
  77. package/packages/components/index.js +2 -2
  78. package/packages/components/input/index.css +1 -1
  79. package/packages/components/input/index.js +284 -256
  80. package/packages/components/input-dialog-select/index.css +1 -1
  81. package/packages/components/input-dialog-select/index.js +179 -156
  82. package/packages/components/input-number/index.css +1 -1
  83. package/packages/components/input-number/index.js +157 -170
  84. package/packages/components/live-player/index.css +1 -0
  85. package/packages/components/live-player/index.js +170 -0
  86. package/packages/components/loading/index.js +17 -26
  87. package/packages/components/map/index.css +1 -1
  88. package/packages/components/map/index.js +18913 -461
  89. package/packages/components/menu-aside/index.css +1 -1
  90. package/packages/components/menu-aside/index.js +648 -713
  91. package/packages/components/menu-header/index.js +446 -629
  92. package/packages/components/message/index.js +25 -16
  93. package/packages/components/notification/index.js +386 -575
  94. package/packages/components/overlay/index.js +112 -103
  95. package/packages/components/pagination/index.js +260 -330
  96. package/packages/components/popover/index.js +104 -93
  97. package/packages/components/popup-mask/index.css +1 -1
  98. package/packages/components/popup-mask/index.js +77 -72
  99. package/packages/components/preview/index.js +33 -28
  100. package/packages/components/progress/index.js +214 -221
  101. package/packages/components/radio/index.css +1 -1
  102. package/packages/components/radio/index.js +699 -862
  103. package/packages/components/radio-tabs/index.js +144 -107
  104. package/packages/components/rich-editor/index.css +1 -1
  105. package/packages/components/rich-editor/index.js +105 -106
  106. package/packages/components/scrollbar/index.css +3 -2
  107. package/packages/components/scrollbar/index.js +2262 -1201
  108. package/packages/components/search/index.js +500 -664
  109. package/packages/components/search-form/index.css +1 -1
  110. package/packages/components/search-form/index.js +724 -626
  111. package/packages/components/select/index.css +1 -1
  112. package/packages/components/select/index.js +1052 -950
  113. package/packages/components/select-input/index.js +63 -53
  114. package/packages/components/select-list/index.css +1 -1
  115. package/packages/components/select-list/index.js +258 -235
  116. package/packages/components/special-range-picker-month/index.css +1 -1
  117. package/packages/components/special-range-picker-month/index.js +3068 -72555
  118. package/packages/components/special-range-picker-year/index.css +1 -1
  119. package/packages/components/special-range-picker-year/index.js +345 -339
  120. package/packages/components/spin/index.js +415 -594
  121. package/packages/components/split-panel/index.css +1 -1
  122. package/packages/components/split-panel/index.js +146 -127
  123. package/packages/components/step/index.js +414 -597
  124. package/packages/components/steps/index.js +407 -590
  125. package/packages/components/switch/index.js +23 -23
  126. package/packages/components/table/index.css +1 -1
  127. package/packages/components/table/index.js +80813 -27734
  128. package/packages/components/tabs/index.css +1 -1
  129. package/packages/components/tabs/index.js +620 -813
  130. package/packages/components/tag/index.js +63 -63
  131. package/packages/components/text-tooltip/index.css +9 -0
  132. package/packages/components/text-tooltip/index.js +2739 -33
  133. package/packages/components/time-line/index.js +464 -643
  134. package/packages/components/tooltip/index.css +1 -1
  135. package/packages/components/tooltip/index.js +108 -79
  136. package/packages/components/tree/index.css +1 -1
  137. package/packages/components/tree/index.js +840 -809
  138. package/packages/components/tree-select/index.js +271 -303
  139. package/packages/components/tree-table/index.js +461 -352
  140. package/packages/components/upload/index.js +682 -858
  141. package/packages/components/virtual-tree/index.css +1 -1
  142. package/packages/components/virtual-tree/index.js +144 -126
  143. package/packages/index.d.ts +1 -0
  144. package/packages/index.js +2 -2
  145. package/style/business.css +11 -4
  146. package/style/index.css +52 -42
  147. package/packages/business-components/low-code/index.css +0 -1
  148. package/packages/business-components/low-code/index.js +0 -60
  149. package/packages/components/audio-video-player/index.css +0 -1
  150. package/packages/components/audio-video-player/index.js +0 -83
  151. package/packages/components/table-column/index.css +0 -1
  152. package/packages/components/table-column/index.js +0 -82021
@@ -9,11 +9,13 @@ const isClient = typeof window !== "undefined";
9
9
  isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
10
10
 
11
11
  /**
12
- * @vue/shared v3.4.21
12
+ * @vue/shared v3.4.27
13
13
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
14
14
  * @license MIT
15
15
  **/
16
16
 
17
+
18
+
17
19
  !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
18
20
  !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
19
21
  const hasOwnProperty$4 = Object.prototype.hasOwnProperty;
@@ -1205,15 +1207,10 @@ const buildProps = (props) => fromPairs(Object.entries(props).map(([key, option]
1205
1207
 
1206
1208
  const withInstall = (main, extra) => {
1207
1209
  main.install = (app) => {
1208
- for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {
1210
+ for (const comp of [main, ...Object.values({})]) {
1209
1211
  app.component(comp.name, comp);
1210
1212
  }
1211
1213
  };
1212
- if (extra) {
1213
- for (const [key, comp] of Object.entries(extra)) {
1214
- main[key] = comp;
1215
- }
1216
- }
1217
1214
  return main;
1218
1215
  };
1219
1216
 
@@ -1396,7 +1393,7 @@ const buildLocaleContext = (locale) => {
1396
1393
  };
1397
1394
  const localeContextKey = Symbol("localeContextKey");
1398
1395
  const useLocale = (localeOverrides) => {
1399
- const locale = localeOverrides || inject(localeContextKey, ref());
1396
+ const locale = inject(localeContextKey, ref());
1400
1397
  return buildLocaleContext(computed(() => locale.value || English));
1401
1398
  };
1402
1399
 
@@ -1417,14 +1414,14 @@ const _bem = (namespace, block, blockSuffix, element, modifier) => {
1417
1414
  };
1418
1415
  const namespaceContextKey = Symbol("namespaceContextKey");
1419
1416
  const useGetDerivedNamespace = (namespaceOverrides) => {
1420
- const derivedNamespace = namespaceOverrides || (getCurrentInstance() ? inject(namespaceContextKey, ref(defaultNamespace)) : ref(defaultNamespace));
1417
+ const derivedNamespace = (getCurrentInstance() ? inject(namespaceContextKey, ref(defaultNamespace)) : ref(defaultNamespace));
1421
1418
  const namespace = computed(() => {
1422
1419
  return unref(derivedNamespace) || defaultNamespace;
1423
1420
  });
1424
1421
  return namespace;
1425
1422
  };
1426
1423
  const useNamespace = (block, namespaceOverrides) => {
1427
- const namespace = useGetDerivedNamespace(namespaceOverrides);
1424
+ const namespace = useGetDerivedNamespace();
1428
1425
  const b = (blockSuffix = "") => _bem(namespace.value, block, blockSuffix, "", "");
1429
1426
  const e = (element) => element ? _bem(namespace.value, block, "", element, "") : "";
1430
1427
  const m = (modifier) => modifier ? _bem(namespace.value, block, "", "", modifier) : "";
@@ -1756,26 +1753,8 @@ const useEmpty = (props) => {
1756
1753
  return { imgSize };
1757
1754
  };
1758
1755
 
1759
- var img = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='168px' height='96px' viewBox='0 0 168 96' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3ctitle%3e%e6%9a%82%e6%97%a0%e6%95%b0%e6%8d%ae%3c/title%3e %3cdefs%3e %3crect id='path-1' x='0' y='0' width='168' height='96'%3e%3c/rect%3e %3clinearGradient x1='50%25' y1='0%25' x2='50%25' y2='100%25' id='linearGradient-3'%3e %3cstop stop-color='%23F2F5FA' offset='0%25'%3e%3c/stop%3e %3cstop stop-color='%23F2F5FA' stop-opacity='0' offset='100%25'%3e%3c/stop%3e %3c/linearGradient%3e %3c/defs%3e %3cg id='%e9%a1%b5%e9%9d%a2-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='%e7%94%a8%e6%88%b7%e7%ae%a1%e7%90%86_%e7%a9%ba%e7%8a%b6%e6%80%81' transform='translate(-901.000000%2c -564.000000)'%3e %3cg id='%e7%bc%96%e7%bb%84' transform='translate(901.000000%2c 564.000000)'%3e %3cmask id='mask-2' fill='white'%3e %3cuse xlink:href='%23path-1'%3e%3c/use%3e %3c/mask%3e %3cuse id='%e7%9f%a9%e5%bd%a2' fill='%23D8D8D8' opacity='0' xlink:href='%23path-1'%3e%3c/use%3e %3cg id='%e5%8a%a0%e5%af%86%e7%bd%91%e9%a1%b5' mask='url(%23mask-2)'%3e %3cg transform='translate(36.000000%2c 0.000000)' id='%e7%bc%96%e7%bb%84'%3e %3cpath d='M63%2c9 L63%2c24 L78%2c24 L78%2c84 C78%2c85.6568542 76.6568542%2c87 75%2c87 L21%2c87 C19.3431458%2c87 18%2c85.6568542 18%2c84 L18%2c12 C18%2c10.3431458 19.3431458%2c9 21%2c9 L63%2c9 Z' id='%e8%b7%af%e5%be%84' fill='%23F2F5FA'%3e%3c/path%3e %3crect id='%e7%9f%a9%e5%bd%a2' fill='%23DEE1E6' x='24' y='24' width='9' height='9'%3e%3c/rect%3e %3cpolygon id='%e7%9f%a9%e5%bd%a2' fill='%23EAEDF2' points='63 9 78 24 63 24'%3e%3c/polygon%3e %3crect id='%e7%9f%a9%e5%bd%a2' fill='%23DEE1E6' x='24' y='39' width='48' height='6'%3e%3c/rect%3e %3crect id='%e7%9f%a9%e5%bd%a2' fill='%23DEE1E6' x='24' y='51' width='24' height='6'%3e%3c/rect%3e %3c/g%3e %3c/g%3e %3cg id='%e8%83%8c%e6%99%af/%e4%ba%91' mask='url(%23mask-2)'%3e %3cg transform='translate(108.000000%2c 40.000000)'%3e %3cpath d='M3%2c39 L3%2c24 C3%2c15.7157288 9.71572875%2c9 18%2c9 C25.4616776%2c9 31.6508469%2c14.4482558 32.8063948%2c21.5836543 C33.797875%2c21.2064779 34.8748247%2c21 36%2c21 C40.9705627%2c21 45%2c25.0294373 45%2c30 L45%2c39 L3%2c39 Z' id='%e5%bd%a2%e7%8a%b6%e7%bb%93%e5%90%88' fill='url(%23linearGradient-3)'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3cg id='%e8%83%8c%e6%99%af/%e4%ba%91' mask='url(%23mask-2)'%3e %3cg transform='translate(36.000000%2c 56.000000) scale(-1%2c 1) translate(-36.000000%2c -56.000000) translate(12.000000%2c 32.000000)'%3e %3cpath d='M3%2c39 L3%2c24 C3%2c15.7157288 9.71572875%2c9 18%2c9 C25.4616776%2c9 31.6508469%2c14.4482558 32.8063948%2c21.5836543 C33.797875%2c21.2064779 34.8748247%2c21 36%2c21 C40.9705627%2c21 45%2c25.0294373 45%2c30 L45%2c39 L3%2c39 Z' id='%e5%bd%a2%e7%8a%b6%e7%bb%93%e5%90%88' fill='url(%23linearGradient-3)'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
1756
+ var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAABgCAMAAAC+LslfAAABklBMVEUAAAD////////////////////////j4+P////q///////r6+v////x///y///z8//29vbt9vbu9/fv7/fv9/fy+Pjy8vny+f/z8/n09Pnv9Prx9vry8vvy9/vy9/vv8/fz8/vw9Pjx9Pj09Pv1+Pj1+Pzy9fjy9fny9vnz9vnw9vnw8/bw8/nw9vn09vnx9Pnx9Pny9frz+Prz9frz9vrz9vr09vrx9vry9vv09vvy9Pjy9Pv09vv09vvy9Pvy9Pnz9fvz9/nx9fnx9fvx9fnz9fvz9fvx9fny9vnq7PLy9Pny9vny9vvy9Pny9vny9Pny9Pny9vry9vvx9Prz9Prz9Prx9fry9Pry9fzy9frx9Prz9vzy9fvz9fvx9fnz9vvy9Pry9Pry9fry9fry9frz9frz9fry9fry9fny9Pny9Prx9Pny9vzy9vzy9vry9vry9frz9fry9fvy9fvy9fny9fry9fry9vvy9fre4ebq7fLx9Prx9fnx9fry9fny9fry9fvy9vry9vvz9frz9vrz9vv4+wSwAAAAeXRSTlMAAgMEBQYHCQsMDA0REhQVHB0eICAmKCgsLi83Ozw9QEJGSEhLS01PUVJUVldXWVpbYmlqbG5vcHJyc3N1dnd5e3t+fn+AgYSHiIiIiImJiouMjI+PkJWcnJ2mrK6ut7/BwsTHyM/Q0dbX2drb3N3e4OHk5ebq8PL2luGUowAAAAFiS0dEAf8CLd4AAAJ8SURBVGje7dlpUxNBEIfxbDCCeKDirSiKRsQrioI3AkGBiKjxvsVbFMEggtmZCS58b15QaCE7mZ6equ2hqp9P8KtO1X+3NqkUx3Ecx+nL3J5U4AYIoQVl0W9C6aQVlFCq7KB0UlsomdQaSiW1hxJJEVAaKQZKIkVBKaQ4KIEUCU1eioUmLkVDk5bioQlLFwUzS1m5GcpQhjKUoasOiouhDGXo6oXOWMbQpdY2D70ZnZoujQw3pT2G1nd++/W3sc5aX6GHPv9c1vusl9D0jfGJ/xq/EvgHDYa+xHQ/8G6euj7Eds43aNO7+N56Bl334pWmeb+gJ1/qEmVXaHr/nZHS9NTo68HmjKtzzePnulTFDVp74fu/bf7aUe8G3f1UmxDV5skIPfpx+TZ/OugEbXuiTakyHhpcm1ixzX1pjHBnrrdYzOfyD7VVH/zq0OBB3DbfCqyZDe33jFUqf9DQ8/HbfNXWua37pjml5rDQWd0277Nzbrx8HRD+py/P6bb5WZ0V9PglSFJK5DgJoR3nNhvnlnZQ+BUtK+04P6qxebqfAYWHCqFf510W0COnQEVRhHNWlNKv8zELaLYVFPqgs0rp17k3ly8We07vgEBbYKEvOq/UXWNnN5mhB2CFYYg+KmCmuxuN0L2wXF6cITt9cYMJugeWWHx9sk9KCRrqEybodlguF4Ut9WYDdCssFyhsqU1P/gZYaGUURbClPmyAroeFf9YrBVvqrAFaA8vlosCpJv6QG4YhcKrpvzgDp5oYKoQATjX9RYFTTQ8FTjU9FDjVxFApJXCq6S8KnGr+546hDPUKWsI7fyQKLeCh/YlCMwXkTUuFTIrjOI7j9C0AikFlNRu/XcAAAAAASUVORK5CYII=";
1760
1757
 
1761
- const _withScopeId = (n) => (pushScopeId("data-v-dd3020d6"), n = n(), popScopeId(), n);
1762
- const _hoisted_1 = { class: "das-ui-empty" };
1763
- const _hoisted_2 = {
1764
- key: 0,
1765
- class: "title"
1766
- };
1767
- const _hoisted_3 = {
1768
- key: 1,
1769
- class: "description"
1770
- };
1771
- const _hoisted_4 = ["width", "src"];
1772
- const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1773
- "div",
1774
- null,
1775
- null,
1776
- -1
1777
- /* HOISTED */
1778
- ));
1779
1758
  var _sfc_main = /* @__PURE__ */ defineComponent({
1780
1759
  __name: "Index",
1781
1760
  props: {
@@ -1787,56 +1766,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
1787
1766
  imageSize: { type: Number, required: false, default: 168 },
1788
1767
  image: { type: String, required: false, default: img }
1789
1768
  },
1790
- setup(__props) {
1769
+ setup(__props, { expose: __expose }) {
1770
+ __expose();
1791
1771
  const props = __props;
1792
1772
  const { imgSize } = useEmpty(props);
1793
- return (_ctx, _cache) => {
1794
- return openBlock(), createElementBlock("div", _hoisted_1, [
1795
- createVNode(unref(ElEmpty), { "image-size": unref(imgSize) }, {
1796
- description: withCtx(() => [
1797
- renderSlot(_ctx.$slots, "description", {}, () => [
1798
- _ctx.title ? (openBlock(), createElementBlock(
1799
- "div",
1800
- _hoisted_2,
1801
- toDisplayString(_ctx.title),
1802
- 1
1803
- /* TEXT */
1804
- )) : createCommentVNode("v-if", true),
1805
- _ctx.showDescription ? (openBlock(), createElementBlock(
1806
- "div",
1807
- _hoisted_3,
1808
- toDisplayString(_ctx.description || unref(t)("das-empty-desc")),
1809
- 1
1810
- /* TEXT */
1811
- )) : createCommentVNode("v-if", true)
1812
- ], true)
1813
- ]),
1814
- default: withCtx(() => [
1815
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
1816
- ]),
1817
- image: withCtx(() => [
1818
- renderSlot(_ctx.$slots, "image", {}, () => [
1819
- _ctx.showImage ? (openBlock(), createElementBlock("img", {
1820
- key: 0,
1821
- width: unref(imgSize),
1822
- src: _ctx.image
1823
- }, null, 8, _hoisted_4)) : (openBlock(), createElementBlock(
1824
- Fragment,
1825
- { key: 1 },
1826
- [
1827
- createCommentVNode(" image\u4E3A\u7A7A\u65F6\u7528\u4E8E\u5360\u4F4D\uFF0C\u9632\u6B62\u51FA\u73B0\u9ED8\u8BA4\u56FE\u7247 "),
1828
- _hoisted_5
1829
- ],
1830
- 2112
1831
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1832
- ))
1833
- ], true)
1834
- ]),
1835
- _: 3
1836
- /* FORWARDED */
1837
- }, 8, ["image-size"])
1838
- ]);
1839
- };
1773
+ const __returned__ = { props, imgSize, get ElEmpty() {
1774
+ return ElEmpty;
1775
+ }, get t() {
1776
+ return t;
1777
+ } };
1778
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
1779
+ return __returned__;
1840
1780
  }
1841
1781
  });
1842
1782
 
@@ -1848,7 +1788,72 @@ var _export_sfc = (sfc, props) => {
1848
1788
  return target;
1849
1789
  };
1850
1790
 
1851
- var Empty = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dd3020d6"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\empty\\src\\Index.vue"]]);
1791
+ const _withScopeId = (n) => (pushScopeId("data-v-dd3020d6"), n = n(), popScopeId(), n);
1792
+ const _hoisted_1 = { class: "das-ui-empty" };
1793
+ const _hoisted_2 = {
1794
+ key: 0,
1795
+ class: "title"
1796
+ };
1797
+ const _hoisted_3 = {
1798
+ key: 1,
1799
+ class: "description"
1800
+ };
1801
+ const _hoisted_4 = ["width", "src"];
1802
+ const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1803
+ "div",
1804
+ null,
1805
+ null,
1806
+ -1
1807
+ /* HOISTED */
1808
+ ));
1809
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1810
+ return openBlock(), createElementBlock("div", _hoisted_1, [
1811
+ createVNode($setup["ElEmpty"], { "image-size": $setup.imgSize }, {
1812
+ description: withCtx(() => [
1813
+ renderSlot(_ctx.$slots, "description", {}, () => [
1814
+ $props.title ? (openBlock(), createElementBlock(
1815
+ "div",
1816
+ _hoisted_2,
1817
+ toDisplayString($props.title),
1818
+ 1
1819
+ /* TEXT */
1820
+ )) : createCommentVNode("v-if", true),
1821
+ $props.showDescription ? (openBlock(), createElementBlock(
1822
+ "div",
1823
+ _hoisted_3,
1824
+ toDisplayString($props.description || $setup.t("das-empty-desc")),
1825
+ 1
1826
+ /* TEXT */
1827
+ )) : createCommentVNode("v-if", true)
1828
+ ], true)
1829
+ ]),
1830
+ default: withCtx(() => [
1831
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
1832
+ ]),
1833
+ image: withCtx(() => [
1834
+ renderSlot(_ctx.$slots, "image", {}, () => [
1835
+ $props.showImage ? (openBlock(), createElementBlock("img", {
1836
+ key: 0,
1837
+ width: $setup.imgSize,
1838
+ src: $props.image
1839
+ }, null, 8, _hoisted_4)) : (openBlock(), createElementBlock(
1840
+ Fragment,
1841
+ { key: 1 },
1842
+ [
1843
+ createCommentVNode(" image\u4E3A\u7A7A\u65F6\u7528\u4E8E\u5360\u4F4D\uFF0C\u9632\u6B62\u51FA\u73B0\u9ED8\u8BA4\u56FE\u7247 "),
1844
+ _hoisted_5
1845
+ ],
1846
+ 2112
1847
+ /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1848
+ ))
1849
+ ], true)
1850
+ ]),
1851
+ _: 3
1852
+ /* FORWARDED */
1853
+ }, 8, ["image-size"])
1854
+ ]);
1855
+ }
1856
+ var Empty = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-dd3020d6"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/empty/src/Index.vue"]]);
1852
1857
 
1853
1858
  var i18n = {
1854
1859
  "das-empty-desc": { "zh-CN": "\u6682\u65E0\u6570\u636E", en: "test" }
@@ -59,20 +59,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
59
59
  validateField,
60
60
  resetField
61
61
  });
62
- return (_ctx, _cache) => {
63
- return openBlock(), createElementBlock(
64
- "div",
65
- {
66
- class: normalizeClass(["das-ui-form", { horizontal: _ctx.alignType === "horizontal" }]),
67
- style: normalizeStyle({ alignItems: _ctx.alignItems })
68
- },
69
- [
70
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
71
- ],
72
- 6
73
- /* CLASS, STYLE */
74
- );
75
- };
62
+ const __returned__ = { props, get fields() {
63
+ return fields;
64
+ }, set fields(v) {
65
+ fields = v;
66
+ }, addField, removeField, validate, validateField, validateFieldAll, resetField };
67
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
68
+ return __returned__;
76
69
  }
77
70
  });
78
71
 
@@ -84,7 +77,21 @@ var _export_sfc = (sfc, props) => {
84
77
  return target;
85
78
  };
86
79
 
87
- var Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b75af2dd"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\form\\src\\Index.vue"]]);
80
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
81
+ return openBlock(), createElementBlock(
82
+ "div",
83
+ {
84
+ class: normalizeClass(["das-ui-form", { horizontal: $props.alignType === "horizontal" }]),
85
+ style: normalizeStyle({ alignItems: $props.alignItems })
86
+ },
87
+ [
88
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
89
+ ],
90
+ 6
91
+ /* CLASS, STYLE */
92
+ );
93
+ }
94
+ var Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b75af2dd"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/form/src/Index.vue"]]);
88
95
 
89
96
  const DasForm = withInstall(Form);
90
97
  const DasFormRef = () => ref(null);
@@ -1 +1 @@
1
- .das-ui-form-item[data-v-13d30b83]{display:flex;flex-direction:column}.das-ui-form-item[data-v-13d30b83].top[data-v-13d30b83]{align-items:flex-start!important}.das-ui-form-item[data-v-13d30b83].top[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83]{margin-bottom:3px;margin-right:0!important}.das-ui-form-item[data-v-13d30b83].left[data-v-13d30b83]{flex-direction:row}.das-ui-form-item[data-v-13d30b83].left[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83]{text-align:left}.das-ui-form-item[data-v-13d30b83].right[data-v-13d30b83]{flex-direction:row}.das-ui-form-item[data-v-13d30b83].right[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83]{text-align:right}.das-ui-form-item[data-v-13d30b83].right[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83]{width:auto}.das-ui-form-item[data-v-13d30b83].flex-layout[data-v-13d30b83]{width:100%}.das-ui-form-item[data-v-13d30b83].flex-layout[data-v-13d30b83] .das-ui-form-container[data-v-13d30b83]{flex:1}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83]{font-size:var(--das-ui-font-size-sm);height:18px;line-height:18px}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83]{color:var(--das-ui-form-label-normal);display:flex;max-width:100%;position:relative;width:fit-content}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83] .label-context[data-v-13d30b83]{width:100%}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83].required-mark[data-v-13d30b83]:after{color:var(--das-ui-form-error-label-color);content:"*";height:18px;line-height:18px;position:absolute;right:-8px;text-align:left;top:0;width:6px}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83] .help-icon[data-v-13d30b83]{position:absolute;right:-28px;top:1px}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83] .help-icon[data-v-13d30b83].no-required[data-v-13d30b83]{right:-20px}.das-ui-form-item[data-v-13d30b83] .das-ui-form-container[data-v-13d30b83]{display:flex;position:relative}.das-ui-form-item[data-v-13d30b83] .das-ui-form-container[data-v-13d30b83] .error-label[data-v-13d30b83]{color:var(--das-ui-form-error-label-color);font-size:12px;font-weight:400;height:22px;left:0;letter-spacing:0;line-height:18px;overflow:hidden;position:absolute;text-overflow:ellipsis;top:100%;white-space:nowrap;width:100%}.das-ui-form-item[data-v-13d30b83] .das-ui-form-container[data-v-13d30b83] .error-label--overlay[data-v-13d30b83]{background-color:var(--das-ui-input-number-overlay-error-bg-color);border-radius:1px;box-shadow:0 4px 10px 0 rgba(0,0,0,.2);box-sizing:border-box;color:var(--das-ui-form-error-label-color);font-size:12px;left:0;padding:2px 8px;position:absolute;top:100%;width:100%;z-index:99}.das-ui-form-item.flex-layout .das-ui-form-container .das-ui-input{width:100%}
1
+ .das-ui-form-item[data-v-13d30b83]{display:flex;flex-direction:column}.das-ui-form-item[data-v-13d30b83].top[data-v-13d30b83]{align-items:flex-start!important}.das-ui-form-item[data-v-13d30b83].top[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83]{margin-bottom:3px;margin-right:0!important}.das-ui-form-item[data-v-13d30b83].left[data-v-13d30b83]{flex-direction:row}.das-ui-form-item[data-v-13d30b83].left[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83]{text-align:left}.das-ui-form-item[data-v-13d30b83].right[data-v-13d30b83]{flex-direction:row}.das-ui-form-item[data-v-13d30b83].right[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83]{text-align:right}.das-ui-form-item[data-v-13d30b83].right[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83]{width:auto}.das-ui-form-item[data-v-13d30b83].flex-layout[data-v-13d30b83]{width:100%}.das-ui-form-item[data-v-13d30b83].flex-layout[data-v-13d30b83] .das-ui-form-container[data-v-13d30b83]{flex:1}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83]{font-size:var(--das-ui-font-size-sm);height:18px;line-height:18px}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83]{color:var(--das-ui-form-label-normal);display:flex;max-width:100%;position:relative;width:fit-content}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83] .label-context[data-v-13d30b83]{width:100%}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83].required-mark[data-v-13d30b83]:after{color:var(--das-ui-form-error-label-color);content:"*";height:18px;line-height:18px;position:absolute;right:-8px;text-align:left;top:0;width:6px}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83] .help-icon[data-v-13d30b83]{position:absolute;right:-28px;top:1px}.das-ui-form-item[data-v-13d30b83] .das-ui-form-item-label[data-v-13d30b83] .label[data-v-13d30b83] .help-icon[data-v-13d30b83].no-required[data-v-13d30b83]{right:-20px}.das-ui-form-item[data-v-13d30b83] .das-ui-form-container[data-v-13d30b83]{display:flex;position:relative}.das-ui-form-item[data-v-13d30b83] .das-ui-form-container[data-v-13d30b83] .error-label[data-v-13d30b83]{color:var(--das-ui-form-error-label-color);font-size:12px;font-weight:400;height:22px;left:0;letter-spacing:0;line-height:18px;overflow:hidden;position:absolute;text-overflow:ellipsis;top:100%;white-space:nowrap;width:100%}.das-ui-form-item[data-v-13d30b83] .das-ui-form-container[data-v-13d30b83] .error-label--overlay[data-v-13d30b83]{background-color:var(--das-ui-input-number-overlay-error-bg-color);border-radius:1px;box-shadow:0 4px 10px 0 rgba(0,0,0,.2);box-sizing:border-box;color:var(--das-ui-form-error-label-color);font-size:12px;left:0;padding:2px 8px;position:absolute;top:100%;width:100%;z-index:99}.das-form-item-overlay-error-label-content[data-v-13d30b83]{left:0;position:absolute;top:100%;width:var(--13d30b83-contentWidth)}.das-ui-form-item.flex-layout .das-ui-form-container .das-ui-input{width:100%}