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

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 +13 -7
  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 +441 -241
  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 +116 -101
  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 +55 -45
  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
@@ -58,18 +58,23 @@ function useTimeoutFn(cb, interval, options = {}) {
58
58
  }
59
59
 
60
60
  /**
61
- * @vue/shared v3.4.21
61
+ * @vue/shared v3.4.30
62
62
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
63
63
  * @license MIT
64
64
  **/
65
65
 
66
+
67
+
66
68
  !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
67
69
  !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
68
- const NOOP$1 = () => {
70
+ const NOOP = () => {
69
71
  };
72
+ const extend = Object.assign;
70
73
  const hasOwnProperty$4 = Object.prototype.hasOwnProperty;
71
74
  const hasOwn = (val, key) => hasOwnProperty$4.call(val, key);
75
+ const isFunction$1 = (val) => typeof val === "function";
72
76
  const isString = (val) => typeof val === "string";
77
+ const isSymbol$1 = (val) => typeof val === "symbol";
73
78
  const isObject$1 = (val) => val !== null && typeof val === "object";
74
79
  const cacheStringFunction = (fn) => {
75
80
  const cache = /* @__PURE__ */ Object.create(null);
@@ -82,6 +87,7 @@ const camelizeRE = /-(\w)/g;
82
87
  const camelize = cacheStringFunction((str) => {
83
88
  return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
84
89
  });
90
+ const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
85
91
 
86
92
  /** Detect free variable `global` from Node.js. */
87
93
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
@@ -230,7 +236,7 @@ var symbolTag = '[object Symbol]';
230
236
  * _.isSymbol('abc');
231
237
  * // => false
232
238
  */
233
- function isSymbol$1(value) {
239
+ function isSymbol(value) {
234
240
  return typeof value == 'symbol' ||
235
241
  (isObjectLike(value) && baseGetTag(value) == symbolTag);
236
242
  }
@@ -304,7 +310,7 @@ function baseToString(value) {
304
310
  // Recursively convert values (susceptible to call stack limits).
305
311
  return arrayMap(value, baseToString) + '';
306
312
  }
307
- if (isSymbol$1(value)) {
313
+ if (isSymbol(value)) {
308
314
  return symbolToString ? symbolToString.call(value) : '';
309
315
  }
310
316
  var result = (value + '');
@@ -364,7 +370,7 @@ var asyncTag = '[object AsyncFunction]',
364
370
  * _.isFunction(/abc/);
365
371
  * // => false
366
372
  */
367
- function isFunction$1(value) {
373
+ function isFunction(value) {
368
374
  if (!isObject(value)) {
369
375
  return false;
370
376
  }
@@ -456,7 +462,7 @@ function baseIsNative(value) {
456
462
  if (!isObject(value) || isMasked(value)) {
457
463
  return false;
458
464
  }
459
- var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
465
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
460
466
  return pattern.test(toSource(value));
461
467
  }
462
468
 
@@ -539,7 +545,7 @@ function isKey(value, object) {
539
545
  }
540
546
  var type = typeof value;
541
547
  if (type == 'number' || type == 'symbol' || type == 'boolean' ||
542
- value == null || isSymbol$1(value)) {
548
+ value == null || isSymbol(value)) {
543
549
  return true;
544
550
  }
545
551
  return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
@@ -1109,7 +1115,7 @@ var INFINITY = 1 / 0;
1109
1115
  * @returns {string|symbol} Returns the key.
1110
1116
  */
1111
1117
  function toKey(value) {
1112
- if (typeof value == 'string' || isSymbol$1(value)) {
1118
+ if (typeof value == 'string' || isSymbol(value)) {
1113
1119
  return value;
1114
1120
  }
1115
1121
  var result = (value + '');
@@ -1405,15 +1411,10 @@ const iconPropType = definePropType([
1405
1411
 
1406
1412
  const withInstall = (main, extra) => {
1407
1413
  main.install = (app) => {
1408
- for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {
1414
+ for (const comp of [main, ...Object.values({})]) {
1409
1415
  app.component(comp.name, comp);
1410
1416
  }
1411
1417
  };
1412
- if (extra) {
1413
- for (const [key, comp] of Object.entries(extra)) {
1414
- main[key] = comp;
1415
- }
1416
- }
1417
1418
  return main;
1418
1419
  };
1419
1420
 
@@ -1645,27 +1646,12 @@ const buildLocaleContext = (locale) => {
1645
1646
  };
1646
1647
  const localeContextKey = Symbol("localeContextKey");
1647
1648
  const useLocale = (localeOverrides) => {
1648
- const locale = localeOverrides || inject(localeContextKey, ref$1());
1649
+ const locale = inject(localeContextKey, ref$1());
1649
1650
  return buildLocaleContext(computed$1(() => locale.value || English));
1650
1651
  };
1651
1652
 
1652
1653
  /**
1653
- * @vue/shared v3.4.19
1654
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
1655
- * @license MIT
1656
- **/
1657
-
1658
- !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
1659
- !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
1660
- const NOOP = () => {
1661
- };
1662
- const extend = Object.assign;
1663
- const isFunction = (val) => typeof val === "function";
1664
- const isSymbol = (val) => typeof val === "symbol";
1665
- const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
1666
-
1667
- /**
1668
- * @vue/reactivity v3.4.19
1654
+ * @vue/reactivity v3.4.30
1669
1655
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
1670
1656
  * @license MIT
1671
1657
  **/
@@ -1692,7 +1678,7 @@ class ReactiveEffect {
1692
1678
  /**
1693
1679
  * @internal
1694
1680
  */
1695
- this._dirtyLevel = 4;
1681
+ this._dirtyLevel = 5;
1696
1682
  /**
1697
1683
  * @internal
1698
1684
  */
@@ -1712,14 +1698,20 @@ class ReactiveEffect {
1712
1698
  recordEffectScope(this, scope);
1713
1699
  }
1714
1700
  get dirty() {
1715
- if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
1701
+ if (this._dirtyLevel === 2)
1702
+ return false;
1703
+ if (this._dirtyLevel === 3 || this._dirtyLevel === 4) {
1716
1704
  this._dirtyLevel = 1;
1717
1705
  pauseTracking();
1718
1706
  for (let i = 0; i < this._depsLength; i++) {
1719
1707
  const dep = this.deps[i];
1720
1708
  if (dep.computed) {
1709
+ if (dep.computed.effect._dirtyLevel === 2) {
1710
+ resetTracking();
1711
+ return true;
1712
+ }
1721
1713
  triggerComputed(dep.computed);
1722
- if (this._dirtyLevel >= 4) {
1714
+ if (this._dirtyLevel >= 5) {
1723
1715
  break;
1724
1716
  }
1725
1717
  }
@@ -1729,10 +1721,10 @@ class ReactiveEffect {
1729
1721
  }
1730
1722
  resetTracking();
1731
1723
  }
1732
- return this._dirtyLevel >= 4;
1724
+ return this._dirtyLevel >= 5;
1733
1725
  }
1734
1726
  set dirty(v) {
1735
- this._dirtyLevel = v ? 4 : 0;
1727
+ this._dirtyLevel = v ? 5 : 0;
1736
1728
  }
1737
1729
  run() {
1738
1730
  this._dirtyLevel = 0;
@@ -1755,11 +1747,10 @@ class ReactiveEffect {
1755
1747
  }
1756
1748
  }
1757
1749
  stop() {
1758
- var _a;
1759
1750
  if (this.active) {
1760
1751
  preCleanupEffect(this);
1761
1752
  postCleanupEffect(this);
1762
- (_a = this.onStop) == null ? void 0 : _a.call(this);
1753
+ this.onStop && this.onStop();
1763
1754
  this.active = false;
1764
1755
  }
1765
1756
  }
@@ -1832,8 +1823,17 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
1832
1823
  pauseScheduling();
1833
1824
  for (const effect2 of dep.keys()) {
1834
1825
  let tracking;
1826
+ if (!dep.computed && effect2.computed) {
1827
+ if (effect2._runnings > 0 && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
1828
+ effect2._dirtyLevel = 2;
1829
+ continue;
1830
+ }
1831
+ }
1835
1832
  if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
1836
1833
  effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);
1834
+ if (effect2.computed && effect2._dirtyLevel === 2) {
1835
+ effect2._shouldSchedule = true;
1836
+ }
1837
1837
  effect2._dirtyLevel = dirtyLevel;
1838
1838
  }
1839
1839
  if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
@@ -1841,7 +1841,7 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
1841
1841
  (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));
1842
1842
  }
1843
1843
  effect2.trigger();
1844
- if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {
1844
+ if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 3) {
1845
1845
  effect2._shouldSchedule = false;
1846
1846
  if (effect2.scheduler) {
1847
1847
  queueEffectSchedulers.push(effect2.scheduler);
@@ -1861,7 +1861,7 @@ const createDep = (cleanup, computed) => {
1861
1861
  Symbol(!!(process.env.NODE_ENV !== "production") ? "iterate" : "");
1862
1862
  Symbol(!!(process.env.NODE_ENV !== "production") ? "Map key iterate" : "");
1863
1863
  new Set(
1864
- /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol)
1864
+ /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol$1)
1865
1865
  );
1866
1866
  function toRaw(observed) {
1867
1867
  const raw = observed && observed["__v_raw"];
@@ -1871,6 +1871,7 @@ function toRaw(observed) {
1871
1871
  const COMPUTED_SIDE_EFFECT_WARN = `Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free`;
1872
1872
  class ComputedRefImpl {
1873
1873
  constructor(getter, _setter, isReadonly, isSSR) {
1874
+ this.getter = getter;
1874
1875
  this._setter = _setter;
1875
1876
  this.dep = void 0;
1876
1877
  this.__v_isRef = true;
@@ -1879,7 +1880,7 @@ class ComputedRefImpl {
1879
1880
  () => getter(this._value),
1880
1881
  () => triggerRefValue(
1881
1882
  this,
1882
- this.effect._dirtyLevel === 2 ? 2 : 3
1883
+ this.effect._dirtyLevel === 3 ? 3 : 4
1883
1884
  )
1884
1885
  );
1885
1886
  this.effect.computed = this;
@@ -1888,13 +1889,20 @@ class ComputedRefImpl {
1888
1889
  }
1889
1890
  get value() {
1890
1891
  const self = toRaw(this);
1892
+ const lastDirtyLevel = self.effect._dirtyLevel;
1891
1893
  if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {
1892
- triggerRefValue(self, 4);
1894
+ if (lastDirtyLevel !== 3) {
1895
+ triggerRefValue(self, 5);
1896
+ }
1893
1897
  }
1894
1898
  trackRefValue(self);
1895
1899
  if (self.effect._dirtyLevel >= 2) {
1896
- !!(process.env.NODE_ENV !== "production") && warn(COMPUTED_SIDE_EFFECT_WARN);
1897
- triggerRefValue(self, 2);
1900
+ if (!!(process.env.NODE_ENV !== "production") && this._warnRecursive) {
1901
+ warn(COMPUTED_SIDE_EFFECT_WARN, `
1902
+
1903
+ getter: `, this.getter);
1904
+ }
1905
+ triggerRefValue(self, 3);
1898
1906
  }
1899
1907
  return self._value;
1900
1908
  }
@@ -1913,7 +1921,7 @@ class ComputedRefImpl {
1913
1921
  function computed(getterOrOptions, debugOptions, isSSR = false) {
1914
1922
  let getter;
1915
1923
  let setter;
1916
- const onlyGetter = isFunction(getterOrOptions);
1924
+ const onlyGetter = isFunction$1(getterOrOptions);
1917
1925
  if (onlyGetter) {
1918
1926
  getter = getterOrOptions;
1919
1927
  setter = !!(process.env.NODE_ENV !== "production") ? () => {
@@ -1949,7 +1957,7 @@ function trackRefValue(ref2) {
1949
1957
  );
1950
1958
  }
1951
1959
  }
1952
- function triggerRefValue(ref2, dirtyLevel = 4, newVal) {
1960
+ function triggerRefValue(ref2, dirtyLevel = 5, newVal, oldVal) {
1953
1961
  ref2 = toRaw(ref2);
1954
1962
  const dep = ref2.dep;
1955
1963
  if (dep) {
@@ -1960,7 +1968,8 @@ function triggerRefValue(ref2, dirtyLevel = 4, newVal) {
1960
1968
  target: ref2,
1961
1969
  type: "set",
1962
1970
  key: "value",
1963
- newValue: newVal
1971
+ newValue: newVal,
1972
+ oldValue: oldVal
1964
1973
  } : void 0
1965
1974
  );
1966
1975
  }
@@ -1983,14 +1992,14 @@ const _bem = (namespace, block, blockSuffix, element, modifier) => {
1983
1992
  };
1984
1993
  const namespaceContextKey = Symbol("namespaceContextKey");
1985
1994
  const useGetDerivedNamespace = (namespaceOverrides) => {
1986
- const derivedNamespace = namespaceOverrides || (getCurrentInstance() ? inject(namespaceContextKey, ref$1(defaultNamespace)) : ref$1(defaultNamespace));
1995
+ const derivedNamespace = (getCurrentInstance() ? inject(namespaceContextKey, ref$1(defaultNamespace)) : ref$1(defaultNamespace));
1987
1996
  const namespace = computed$1(() => {
1988
1997
  return unref$1(derivedNamespace) || defaultNamespace;
1989
1998
  });
1990
1999
  return namespace;
1991
2000
  };
1992
2001
  const useNamespace = (block, namespaceOverrides) => {
1993
- const namespace = useGetDerivedNamespace(namespaceOverrides);
2002
+ const namespace = useGetDerivedNamespace();
1994
2003
  const b = (blockSuffix = "") => _bem(namespace.value, block, blockSuffix, "", "");
1995
2004
  const e = (element) => element ? _bem(namespace.value, block, "", element, "") : "";
1996
2005
  const m = (modifier) => modifier ? _bem(namespace.value, block, "", "", modifier) : "";
@@ -2081,7 +2090,7 @@ const useLockscreen = (trigger, options = {}) => {
2081
2090
 
2082
2091
  const useSameTarget = (handleClick) => {
2083
2092
  if (!handleClick) {
2084
- return { onClick: NOOP$1, onMousedown: NOOP$1, onMouseup: NOOP$1 };
2093
+ return { onClick: NOOP, onMousedown: NOOP, onMouseup: NOOP };
2085
2094
  }
2086
2095
  let mousedownTarget = false;
2087
2096
  let mouseupTarget = false;
@@ -2150,7 +2159,7 @@ const zIndex = ref$1(0);
2150
2159
  const defaultInitialZIndex = 2e3;
2151
2160
  const zIndexContextKey = Symbol("zIndexContextKey");
2152
2161
  const useZIndex = (zIndexOverrides) => {
2153
- const zIndexInjection = zIndexOverrides || (getCurrentInstance() ? inject(zIndexContextKey, void 0) : void 0);
2162
+ const zIndexInjection = (getCurrentInstance() ? inject(zIndexContextKey, void 0) : void 0);
2154
2163
  const initialZIndex = computed$1(() => {
2155
2164
  const zIndexFromInjection = unref$1(zIndexInjection);
2156
2165
  return isNumber(zIndexFromInjection) ? zIndexFromInjection : defaultInitialZIndex;
@@ -2172,13 +2181,11 @@ const configProviderContextKey = Symbol();
2172
2181
  const globalConfig = ref$1();
2173
2182
  function useGlobalConfig(key, defaultValue = void 0) {
2174
2183
  const config = getCurrentInstance() ? inject(configProviderContextKey, globalConfig) : globalConfig;
2175
- if (key) {
2184
+ {
2176
2185
  return computed$1(() => {
2177
2186
  var _a, _b;
2178
2187
  return (_b = (_a = config.value) == null ? void 0 : _a[key]) != null ? _b : defaultValue;
2179
2188
  });
2180
- } else {
2181
- return config;
2182
2189
  }
2183
2190
  }
2184
2191
 
@@ -2618,10 +2625,10 @@ const _sfc_main$2 = defineComponent({
2618
2625
  };
2619
2626
  }
2620
2627
  });
2621
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
2628
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
2622
2629
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
2623
2630
  }
2624
- var ElFocusTrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$1], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);
2631
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$2], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);
2625
2632
 
2626
2633
  const overlayProps = buildProps({
2627
2634
  mask: {
@@ -3013,7 +3020,7 @@ const _hoisted_1$1 = ["aria-label", "aria-labelledby", "aria-describedby"];
3013
3020
  const _hoisted_2 = ["id", "aria-level"];
3014
3021
  const _hoisted_3 = ["aria-label"];
3015
3022
  const _hoisted_4 = ["id"];
3016
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3023
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
3017
3024
  const _component_close = resolveComponent("close");
3018
3025
  const _component_el_icon = resolveComponent("el-icon");
3019
3026
  const _component_el_focus_trap = resolveComponent("el-focus-trap");
@@ -3127,11 +3134,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3127
3134
  }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
3128
3135
  ], 8, ["disabled"]);
3129
3136
  }
3130
- var Drawer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);
3137
+ var Drawer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);
3131
3138
 
3132
3139
  const ElDrawer = withInstall(Drawer);
3133
3140
 
3134
- const _hoisted_1 = { class: "das-ui-drawer" };
3135
3141
  var _sfc_main = /* @__PURE__ */ defineComponent({
3136
3142
  __name: "Index",
3137
3143
  props: {
@@ -3144,47 +3150,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
3144
3150
  __expose({
3145
3151
  $drawer
3146
3152
  });
3147
- return (_ctx, _cache) => {
3148
- return openBlock(), createElementBlock("div", _hoisted_1, [
3149
- createVNode(unref$1(ElDrawer), mergeProps({
3150
- ref_key: "$drawer",
3151
- ref: $drawer,
3152
- title: unref$1(props).title
3153
- }, _ctx.$attrs), createSlots({
3154
- default: withCtx(() => [
3155
- createElementVNode(
3156
- "div",
3157
- {
3158
- class: "das-drawer__body",
3159
- style: normalizeStyle(unref$1(props).bodyStyle)
3160
- },
3161
- [
3162
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
3163
- ],
3164
- 4
3165
- /* STYLE */
3166
- )
3167
- ]),
3168
- _: 2
3169
- /* DYNAMIC */
3170
- }, [
3171
- _ctx.$slots.header ? {
3172
- name: "header",
3173
- fn: withCtx((header) => [
3174
- renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps(header)), void 0, true)
3175
- ]),
3176
- key: "0"
3177
- } : void 0,
3178
- _ctx.$slots.footer ? {
3179
- name: "footer",
3180
- fn: withCtx((footer) => [
3181
- renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps(footer)), void 0, true)
3182
- ]),
3183
- key: "1"
3184
- } : void 0
3185
- ]), 1040, ["title"])
3186
- ]);
3187
- };
3153
+ const __returned__ = { get props() {
3154
+ return props;
3155
+ }, set props(v) {
3156
+ props = v;
3157
+ }, $drawer, get ElDrawer() {
3158
+ return ElDrawer;
3159
+ } };
3160
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
3161
+ return __returned__;
3188
3162
  }
3189
3163
  });
3190
3164
 
@@ -3196,7 +3170,48 @@ var _export_sfc = (sfc, props) => {
3196
3170
  return target;
3197
3171
  };
3198
3172
 
3199
- var drawer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0b7b764c"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\drawer\\src\\Index.vue"]]);
3173
+ const _hoisted_1 = { class: "das-ui-drawer" };
3174
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3175
+ return openBlock(), createElementBlock("div", _hoisted_1, [
3176
+ createVNode($setup["ElDrawer"], mergeProps({
3177
+ ref: "$drawer",
3178
+ title: $setup.props.title
3179
+ }, _ctx.$attrs), createSlots({
3180
+ default: withCtx(() => [
3181
+ createElementVNode(
3182
+ "div",
3183
+ {
3184
+ class: "das-drawer__body",
3185
+ style: normalizeStyle($setup.props.bodyStyle)
3186
+ },
3187
+ [
3188
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
3189
+ ],
3190
+ 4
3191
+ /* STYLE */
3192
+ )
3193
+ ]),
3194
+ _: 2
3195
+ /* DYNAMIC */
3196
+ }, [
3197
+ _ctx.$slots.header ? {
3198
+ name: "header",
3199
+ fn: withCtx((header) => [
3200
+ renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps(header)), void 0, true)
3201
+ ]),
3202
+ key: "0"
3203
+ } : void 0,
3204
+ _ctx.$slots.footer ? {
3205
+ name: "footer",
3206
+ fn: withCtx((footer) => [
3207
+ renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps(footer)), void 0, true)
3208
+ ]),
3209
+ key: "1"
3210
+ } : void 0
3211
+ ]), 1040, ["title"])
3212
+ ]);
3213
+ }
3214
+ var drawer = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0b7b764c"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/drawer/src/Index.vue"]]);
3200
3215
 
3201
3216
  var theme = {
3202
3217
  "--das-ui-drawer-border": "#D9D9D9",