@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
@@ -259,11 +259,13 @@ __spreadValues({
259
259
  const isFirefox = () => isClient && /firefox/i.test(window.navigator.userAgent);
260
260
 
261
261
  /**
262
- * @vue/shared v3.4.21
262
+ * @vue/shared v3.4.27
263
263
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
264
264
  * @license MIT
265
265
  **/
266
266
 
267
+
268
+
267
269
  !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
268
270
  !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
269
271
  const NOOP = () => {
@@ -478,7 +480,7 @@ function arrayMap(array, iteratee) {
478
480
  var isArray = Array.isArray;
479
481
 
480
482
  /** Used as references for various `Number` constants. */
481
- var INFINITY$2 = 1 / 0;
483
+ var INFINITY$1 = 1 / 0;
482
484
 
483
485
  /** Used to convert symbols to primitives and strings. */
484
486
  var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : undefined,
@@ -505,7 +507,7 @@ function baseToString(value) {
505
507
  return symbolToString ? symbolToString.call(value) : '';
506
508
  }
507
509
  var result = (value + '');
508
- return (result == '0' && (1 / value) == -INFINITY$2) ? '-0' : result;
510
+ return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
509
511
  }
510
512
 
511
513
  /** Used to match a single whitespace character. */
@@ -631,78 +633,6 @@ function toNumber(value) {
631
633
  : (reIsBadHex.test(value) ? NAN : +value);
632
634
  }
633
635
 
634
- /** Used as references for various `Number` constants. */
635
- var INFINITY$1 = 1 / 0,
636
- MAX_INTEGER = 1.7976931348623157e+308;
637
-
638
- /**
639
- * Converts `value` to a finite number.
640
- *
641
- * @static
642
- * @memberOf _
643
- * @since 4.12.0
644
- * @category Lang
645
- * @param {*} value The value to convert.
646
- * @returns {number} Returns the converted number.
647
- * @example
648
- *
649
- * _.toFinite(3.2);
650
- * // => 3.2
651
- *
652
- * _.toFinite(Number.MIN_VALUE);
653
- * // => 5e-324
654
- *
655
- * _.toFinite(Infinity);
656
- * // => 1.7976931348623157e+308
657
- *
658
- * _.toFinite('3.2');
659
- * // => 3.2
660
- */
661
- function toFinite(value) {
662
- if (!value) {
663
- return value === 0 ? value : 0;
664
- }
665
- value = toNumber(value);
666
- if (value === INFINITY$1 || value === -INFINITY$1) {
667
- var sign = (value < 0 ? -1 : 1);
668
- return sign * MAX_INTEGER;
669
- }
670
- return value === value ? value : 0;
671
- }
672
-
673
- /**
674
- * Converts `value` to an integer.
675
- *
676
- * **Note:** This method is loosely based on
677
- * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
678
- *
679
- * @static
680
- * @memberOf _
681
- * @since 4.0.0
682
- * @category Lang
683
- * @param {*} value The value to convert.
684
- * @returns {number} Returns the converted integer.
685
- * @example
686
- *
687
- * _.toInteger(3.2);
688
- * // => 3
689
- *
690
- * _.toInteger(Number.MIN_VALUE);
691
- * // => 0
692
- *
693
- * _.toInteger(Infinity);
694
- * // => 1.7976931348623157e+308
695
- *
696
- * _.toInteger('3.2');
697
- * // => 3
698
- */
699
- function toInteger(value) {
700
- var result = toFinite(value),
701
- remainder = result % 1;
702
-
703
- return result === result ? (remainder ? result - remainder : result) : 0;
704
- }
705
-
706
636
  /**
707
637
  * This method returns the first argument it receives.
708
638
  *
@@ -882,10 +812,10 @@ var WeakMap = getNative(root, 'WeakMap');
882
812
  * @returns {number} Returns the index of the matched value, else `-1`.
883
813
  */
884
814
  function baseFindIndex(array, predicate, fromIndex, fromRight) {
885
- var length = array.length,
886
- index = fromIndex + (fromRight ? 1 : -1);
815
+ array.length;
816
+ var index = fromIndex + (1 );
887
817
 
888
- while ((fromRight ? index-- : ++index < length)) {
818
+ while ((index-- )) {
889
819
  if (predicate(array[index], index, array)) {
890
820
  return index;
891
821
  }
@@ -1290,7 +1220,7 @@ function arrayLikeKeys(value, inherited) {
1290
1220
  length = result.length;
1291
1221
 
1292
1222
  for (var key in value) {
1293
- if ((inherited || hasOwnProperty$5.call(value, key)) &&
1223
+ if ((hasOwnProperty$5.call(value, key)) &&
1294
1224
  !(skipIndexes && (
1295
1225
  // Safari 9 has enumerable `arguments.length` in strict mode.
1296
1226
  key == 'length' ||
@@ -2306,8 +2236,6 @@ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$1) ||
2306
2236
  };
2307
2237
  }
2308
2238
 
2309
- var getTag$1 = getTag;
2310
-
2311
2239
  /** Built-in value references. */
2312
2240
  var Uint8Array = root.Uint8Array;
2313
2241
 
@@ -2733,8 +2661,8 @@ var hasOwnProperty = objectProto.hasOwnProperty;
2733
2661
  function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2734
2662
  var objIsArr = isArray(object),
2735
2663
  othIsArr = isArray(other),
2736
- objTag = objIsArr ? arrayTag : getTag$1(object),
2737
- othTag = othIsArr ? arrayTag : getTag$1(other);
2664
+ objTag = objIsArr ? arrayTag : getTag(object),
2665
+ othTag = othIsArr ? arrayTag : getTag(other);
2738
2666
 
2739
2667
  objTag = objTag == argsTag ? objectTag : objTag;
2740
2668
  othTag = othTag == argsTag ? objectTag : othTag;
@@ -2815,8 +2743,7 @@ var COMPARE_PARTIAL_FLAG$1 = 1,
2815
2743
  */
2816
2744
  function baseIsMatch(object, source, matchData, customizer) {
2817
2745
  var index = matchData.length,
2818
- length = index,
2819
- noCustomizer = !customizer;
2746
+ length = index;
2820
2747
 
2821
2748
  if (object == null) {
2822
2749
  return !length;
@@ -2824,7 +2751,7 @@ function baseIsMatch(object, source, matchData, customizer) {
2824
2751
  object = Object(object);
2825
2752
  while (index--) {
2826
2753
  var data = matchData[index];
2827
- if ((noCustomizer && data[2])
2754
+ if ((data[2])
2828
2755
  ? data[1] !== object[data[0]]
2829
2756
  : !(data[0] in object)
2830
2757
  ) {
@@ -2837,15 +2764,13 @@ function baseIsMatch(object, source, matchData, customizer) {
2837
2764
  objValue = object[key],
2838
2765
  srcValue = data[1];
2839
2766
 
2840
- if (noCustomizer && data[2]) {
2767
+ if (data[2]) {
2841
2768
  if (objValue === undefined && !(key in object)) {
2842
2769
  return false;
2843
2770
  }
2844
2771
  } else {
2845
2772
  var stack = new Stack;
2846
- if (customizer) {
2847
- var result = customizer(objValue, srcValue, key, object, source, stack);
2848
- }
2773
+ var result;
2849
2774
  if (!(result === undefined
2850
2775
  ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack)
2851
2776
  : result
@@ -3122,8 +3047,8 @@ var now = function() {
3122
3047
  var FUNC_ERROR_TEXT = 'Expected a function';
3123
3048
 
3124
3049
  /* Built-in method references for those with the same name as other `lodash` methods. */
3125
- var nativeMax$1 = Math.max,
3126
- nativeMin$1 = Math.min;
3050
+ var nativeMax = Math.max,
3051
+ nativeMin = Math.min;
3127
3052
 
3128
3053
  /**
3129
3054
  * Creates a debounced function that delays invoking `func` until after `wait`
@@ -3198,7 +3123,7 @@ function debounce(func, wait, options) {
3198
3123
  if (isObject(options)) {
3199
3124
  leading = !!options.leading;
3200
3125
  maxing = 'maxWait' in options;
3201
- maxWait = maxing ? nativeMax$1(toNumber(options.maxWait) || 0, wait) : maxWait;
3126
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
3202
3127
  trailing = 'trailing' in options ? !!options.trailing : trailing;
3203
3128
  }
3204
3129
 
@@ -3227,7 +3152,7 @@ function debounce(func, wait, options) {
3227
3152
  timeWaiting = wait - timeSinceLastCall;
3228
3153
 
3229
3154
  return maxing
3230
- ? nativeMin$1(timeWaiting, maxWait - timeSinceLastInvoke)
3155
+ ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
3231
3156
  : timeWaiting;
3232
3157
  }
3233
3158
 
@@ -3304,10 +3229,6 @@ function debounce(func, wait, options) {
3304
3229
  return debounced;
3305
3230
  }
3306
3231
 
3307
- /* Built-in method references for those with the same name as other `lodash` methods. */
3308
- var nativeMax = Math.max,
3309
- nativeMin = Math.min;
3310
-
3311
3232
  /**
3312
3233
  * This method is like `_.findIndex` except that it iterates over elements
3313
3234
  * of `collection` from right to left.
@@ -3349,13 +3270,7 @@ function findLastIndex(array, predicate, fromIndex) {
3349
3270
  return -1;
3350
3271
  }
3351
3272
  var index = length - 1;
3352
- if (fromIndex !== undefined) {
3353
- index = toInteger(fromIndex);
3354
- index = fromIndex < 0
3355
- ? nativeMax(length + index, 0)
3356
- : nativeMin(index, length - 1);
3357
- }
3358
- return baseFindIndex(array, baseIteratee(predicate), index, true);
3273
+ return baseFindIndex(array, baseIteratee(predicate), index);
3359
3274
  }
3360
3275
 
3361
3276
  /**
@@ -4080,7 +3995,7 @@ const buildLocaleContext = (locale) => {
4080
3995
  };
4081
3996
  const localeContextKey = Symbol("localeContextKey");
4082
3997
  const useLocale = (localeOverrides) => {
4083
- const locale = localeOverrides || inject(localeContextKey, ref$1());
3998
+ const locale = inject(localeContextKey, ref$1());
4084
3999
  return buildLocaleContext(computed(() => locale.value || English));
4085
4000
  };
4086
4001
 
@@ -4101,14 +4016,14 @@ const _bem = (namespace, block, blockSuffix, element, modifier) => {
4101
4016
  };
4102
4017
  const namespaceContextKey = Symbol("namespaceContextKey");
4103
4018
  const useGetDerivedNamespace = (namespaceOverrides) => {
4104
- const derivedNamespace = namespaceOverrides || (getCurrentInstance$1() ? inject(namespaceContextKey, ref$1(defaultNamespace)) : ref$1(defaultNamespace));
4019
+ const derivedNamespace = (getCurrentInstance$1() ? inject(namespaceContextKey, ref$1(defaultNamespace)) : ref$1(defaultNamespace));
4105
4020
  const namespace = computed(() => {
4106
4021
  return unref$1(derivedNamespace) || defaultNamespace;
4107
4022
  });
4108
4023
  return namespace;
4109
4024
  };
4110
4025
  const useNamespace = (block, namespaceOverrides) => {
4111
- const namespace = useGetDerivedNamespace(namespaceOverrides);
4026
+ const namespace = useGetDerivedNamespace();
4112
4027
  const b = (blockSuffix = "") => _bem(namespace.value, block, blockSuffix, "", "");
4113
4028
  const e = (element) => element ? _bem(namespace.value, block, "", element, "") : "";
4114
4029
  const m = (modifier) => modifier ? _bem(namespace.value, block, "", "", modifier) : "";
@@ -4550,7 +4465,7 @@ const zIndex = ref$1(0);
4550
4465
  const defaultInitialZIndex = 2e3;
4551
4466
  const zIndexContextKey = Symbol("zIndexContextKey");
4552
4467
  const useZIndex = (zIndexOverrides) => {
4553
- const zIndexInjection = zIndexOverrides || (getCurrentInstance$1() ? inject(zIndexContextKey, void 0) : void 0);
4468
+ const zIndexInjection = (getCurrentInstance$1() ? inject(zIndexContextKey, void 0) : void 0);
4554
4469
  const initialZIndex = computed(() => {
4555
4470
  const zIndexFromInjection = unref$1(zIndexInjection);
4556
4471
  return isNumber(zIndexFromInjection) ? zIndexFromInjection : defaultInitialZIndex;
@@ -4666,12 +4581,7 @@ const configProviderContextKey = Symbol();
4666
4581
  const globalConfig = ref$1();
4667
4582
  function useGlobalConfig(key, defaultValue = void 0) {
4668
4583
  const config = getCurrentInstance$1() ? inject(configProviderContextKey, globalConfig) : globalConfig;
4669
- if (key) {
4670
- return computed(() => {
4671
- var _a, _b;
4672
- return (_b = (_a = config.value) == null ? void 0 : _a[key]) != null ? _b : defaultValue;
4673
- });
4674
- } else {
4584
+ {
4675
4585
  return config;
4676
4586
  }
4677
4587
  }
@@ -4679,7 +4589,7 @@ const provideGlobalConfig = (config, app, global = false) => {
4679
4589
  var _a;
4680
4590
  const inSetup = !!getCurrentInstance$1();
4681
4591
  const oldConfig = inSetup ? useGlobalConfig() : void 0;
4682
- const provideFn = (_a = app == null ? void 0 : app.provide) != null ? _a : inSetup ? provide : void 0;
4592
+ const provideFn = (_a = void 0 ) != null ? _a : inSetup ? provide : void 0;
4683
4593
  if (!provideFn) {
4684
4594
  debugWarn("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
4685
4595
  return;
@@ -6605,10 +6515,10 @@ const _sfc_main$i = defineComponent({
6605
6515
  };
6606
6516
  }
6607
6517
  });
6608
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
6518
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
6609
6519
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
6610
6520
  }
6611
- var ElFocusTrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$4], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);
6521
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$7], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);
6612
6522
 
6613
6523
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
6614
6524
  const popperCoreConfigProps = buildProps({
@@ -7952,7 +7862,7 @@ const _sfc_main$a = defineComponent({
7952
7862
  }
7953
7863
  });
7954
7864
  const _hoisted_1$7 = ["id", "aria-disabled", "aria-selected"];
7955
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
7865
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
7956
7866
  return withDirectives((openBlock(), createElementBlock("li", {
7957
7867
  id: _ctx.id,
7958
7868
  class: normalizeClass(_ctx.containerKls),
@@ -7969,7 +7879,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
7969
7879
  [vShow, _ctx.visible]
7970
7880
  ]);
7971
7881
  }
7972
- var Option = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["render", _sfc_render$3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);
7882
+ var Option = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["render", _sfc_render$6], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);
7973
7883
 
7974
7884
  const _sfc_main$9 = defineComponent({
7975
7885
  name: "ElSelectDropdown",
@@ -7998,7 +7908,7 @@ const _sfc_main$9 = defineComponent({
7998
7908
  };
7999
7909
  }
8000
7910
  });
8001
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
7911
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
8002
7912
  return openBlock(), createElementBlock("div", {
8003
7913
  class: normalizeClass([_ctx.ns.b("dropdown"), _ctx.ns.is("multiple", _ctx.isMultiple), _ctx.popperClass]),
8004
7914
  style: normalizeStyle({ [_ctx.isFitInputWidth ? "width" : "minWidth"]: _ctx.minWidth })
@@ -8006,7 +7916,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
8006
7916
  renderSlot(_ctx.$slots, "default")
8007
7917
  ], 6);
8008
7918
  }
8009
- var ElSelectMenu = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$2], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);
7919
+ var ElSelectMenu = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$5], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);
8010
7920
 
8011
7921
  function useSelectStates(props) {
8012
7922
  const { t } = useLocale();
@@ -9184,7 +9094,7 @@ const _sfc_main$8 = defineComponent({
9184
9094
  const _hoisted_1$6 = ["disabled", "autocomplete", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label"];
9185
9095
  const _hoisted_2$3 = ["disabled"];
9186
9096
  const _hoisted_3$2 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
9187
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
9097
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
9188
9098
  const _component_el_tag = resolveComponent("el-tag");
9189
9099
  const _component_el_tooltip = resolveComponent("el-tooltip");
9190
9100
  const _component_el_icon = resolveComponent("el-icon");
@@ -9522,7 +9432,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
9522
9432
  [_directive_click_outside, _ctx.handleClose, _ctx.popperPaneRef]
9523
9433
  ]);
9524
9434
  }
9525
- var Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$1], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
9435
+ var Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$4], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
9526
9436
 
9527
9437
  const _sfc_main$7 = defineComponent({
9528
9438
  name: "ElOptionGroup",
@@ -9567,7 +9477,7 @@ const _sfc_main$7 = defineComponent({
9567
9477
  };
9568
9478
  }
9569
9479
  });
9570
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
9480
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
9571
9481
  return withDirectives((openBlock(), createElementBlock("ul", {
9572
9482
  class: normalizeClass(_ctx.ns.be("group", "wrap"))
9573
9483
  }, [
@@ -9585,7 +9495,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
9585
9495
  [vShow, _ctx.visible]
9586
9496
  ]);
9587
9497
  }
9588
- var OptionGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
9498
+ var OptionGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render$3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
9589
9499
 
9590
9500
  const ElSelect = withInstall(Select, {
9591
9501
  Option,
@@ -10386,8 +10296,6 @@ var zhCn = {
10386
10296
  }
10387
10297
  };
10388
10298
 
10389
- const _hoisted_1$2 = { class: "sizes-dropdown-link" };
10390
- const _hoisted_2$1 = { class: "current-page-size" };
10391
10299
  const __default__$1 = {
10392
10300
  name: "DasPaginationSizes"
10393
10301
  };
@@ -10400,7 +10308,8 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
10400
10308
  pageSize: { type: Number, required: false, default: 20 }
10401
10309
  },
10402
10310
  emits: ["update:pageSize", "size-change"],
10403
- setup(__props, { emit: __emit }) {
10311
+ setup(__props, { expose: __expose, emit: __emit }) {
10312
+ __expose();
10404
10313
  const props = __props;
10405
10314
  const emit = __emit;
10406
10315
  const isVisible = ref$1(false);
@@ -10417,72 +10326,11 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
10417
10326
  realPageSize.value = command;
10418
10327
  emit("size-change", command);
10419
10328
  };
10420
- return (_ctx, _cache) => {
10421
- const _component_el_icon = resolveComponent("el-icon");
10422
- const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
10423
- const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
10424
- const _component_el_dropdown = resolveComponent("el-dropdown");
10425
- return openBlock(), createBlock(_component_el_dropdown, {
10426
- "popper-class": "pagination-sizes-popper",
10427
- trigger: "click",
10428
- onVisibleChange: visibleChange,
10429
- onCommand: changeSize
10430
- }, {
10431
- dropdown: withCtx(() => [
10432
- createVNode(_component_el_dropdown_menu, null, {
10433
- default: withCtx(() => [
10434
- (openBlock(true), createElementBlock(
10435
- Fragment,
10436
- null,
10437
- renderList(_ctx.pageSizes, (item) => {
10438
- return openBlock(), createBlock(_component_el_dropdown_item, {
10439
- class: normalizeClass(["sizes-item", item === _ctx.pageSize ? "selected" : ""]),
10440
- key: item,
10441
- command: item
10442
- }, {
10443
- default: withCtx(() => [
10444
- createTextVNode(
10445
- toDisplayString(item) + "\u6761/\u9875",
10446
- 1
10447
- /* TEXT */
10448
- )
10449
- ]),
10450
- _: 2
10451
- /* DYNAMIC */
10452
- }, 1032, ["class", "command"]);
10453
- }),
10454
- 128
10455
- /* KEYED_FRAGMENT */
10456
- ))
10457
- ]),
10458
- _: 1
10459
- /* STABLE */
10460
- })
10461
- ]),
10462
- default: withCtx(() => [
10463
- createElementVNode("span", _hoisted_1$2, [
10464
- createElementVNode(
10465
- "span",
10466
- _hoisted_2$1,
10467
- toDisplayString(realPageSize.value) + "\u6761/\u9875",
10468
- 1
10469
- /* TEXT */
10470
- ),
10471
- createVNode(_component_el_icon, {
10472
- class: normalizeClass(["arrow-icon", isVisible.value ? "rotate180" : ""])
10473
- }, {
10474
- default: withCtx(() => [
10475
- createVNode(unref$1(arrow_down_default))
10476
- ]),
10477
- _: 1
10478
- /* STABLE */
10479
- }, 8, ["class"])
10480
- ])
10481
- ]),
10482
- _: 1
10483
- /* STABLE */
10484
- });
10485
- };
10329
+ const __returned__ = { props, emit, isVisible, realPageSize, visibleChange, changeSize, get ArrowDown() {
10330
+ return arrow_down_default;
10331
+ } };
10332
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
10333
+ return __returned__;
10486
10334
  }
10487
10335
  });
10488
10336
 
@@ -10494,9 +10342,76 @@ var _export_sfc = (sfc, props) => {
10494
10342
  return target;
10495
10343
  };
10496
10344
 
10497
- var sizes = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6d89bbf3"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\pagination\\src\\components\\sizes.vue"]]);
10345
+ const _hoisted_1$2 = { class: "sizes-dropdown-link" };
10346
+ const _hoisted_2$1 = { class: "current-page-size" };
10347
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
10348
+ const _component_el_icon = resolveComponent("el-icon");
10349
+ const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
10350
+ const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
10351
+ const _component_el_dropdown = resolveComponent("el-dropdown");
10352
+ return openBlock(), createBlock(_component_el_dropdown, {
10353
+ "popper-class": "pagination-sizes-popper",
10354
+ trigger: "click",
10355
+ onVisibleChange: $setup.visibleChange,
10356
+ onCommand: $setup.changeSize
10357
+ }, {
10358
+ dropdown: withCtx(() => [
10359
+ createVNode(_component_el_dropdown_menu, null, {
10360
+ default: withCtx(() => [
10361
+ (openBlock(true), createElementBlock(
10362
+ Fragment,
10363
+ null,
10364
+ renderList($props.pageSizes, (item) => {
10365
+ return openBlock(), createBlock(_component_el_dropdown_item, {
10366
+ class: normalizeClass(["sizes-item", item === $props.pageSize ? "selected" : ""]),
10367
+ key: item,
10368
+ command: item
10369
+ }, {
10370
+ default: withCtx(() => [
10371
+ createTextVNode(
10372
+ toDisplayString(item) + "\u6761/\u9875",
10373
+ 1
10374
+ /* TEXT */
10375
+ )
10376
+ ]),
10377
+ _: 2
10378
+ /* DYNAMIC */
10379
+ }, 1032, ["class", "command"]);
10380
+ }),
10381
+ 128
10382
+ /* KEYED_FRAGMENT */
10383
+ ))
10384
+ ]),
10385
+ _: 1
10386
+ /* STABLE */
10387
+ })
10388
+ ]),
10389
+ default: withCtx(() => [
10390
+ createElementVNode("span", _hoisted_1$2, [
10391
+ createElementVNode(
10392
+ "span",
10393
+ _hoisted_2$1,
10394
+ toDisplayString($setup.realPageSize) + "\u6761/\u9875",
10395
+ 1
10396
+ /* TEXT */
10397
+ ),
10398
+ createVNode(_component_el_icon, {
10399
+ class: normalizeClass(["arrow-icon", $setup.isVisible ? "rotate180" : ""])
10400
+ }, {
10401
+ default: withCtx(() => [
10402
+ createVNode($setup["ArrowDown"])
10403
+ ]),
10404
+ _: 1
10405
+ /* STABLE */
10406
+ }, 8, ["class"])
10407
+ ])
10408
+ ]),
10409
+ _: 1
10410
+ /* STABLE */
10411
+ });
10412
+ }
10413
+ var sizes = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-6d89bbf3"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/pagination/src/components/sizes.vue"]]);
10498
10414
 
10499
- const _hoisted_1$1 = { class: "total-page" };
10500
10415
  const __default__ = {
10501
10416
  name: "TotalPage"
10502
10417
  };
@@ -10505,33 +10420,27 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
10505
10420
  props: {
10506
10421
  totalPage: { type: [Number, String], required: false }
10507
10422
  },
10508
- setup(__props) {
10509
- return (_ctx, _cache) => {
10510
- return openBlock(), createElementBlock(
10511
- "div",
10512
- _hoisted_1$1,
10513
- "\u5171" + toDisplayString(_ctx.totalPage) + "\u9875",
10514
- 1
10515
- /* TEXT */
10516
- );
10517
- };
10423
+ setup(__props, { expose: __expose }) {
10424
+ __expose();
10425
+ const props = __props;
10426
+ const __returned__ = { props };
10427
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
10428
+ return __returned__;
10518
10429
  }
10519
10430
  });
10520
10431
 
10521
- var totalPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4e107569"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\pagination\\src\\components\\totalPage.vue"]]);
10432
+ const _hoisted_1$1 = { class: "total-page" };
10433
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
10434
+ return openBlock(), createElementBlock(
10435
+ "div",
10436
+ _hoisted_1$1,
10437
+ "\u5171" + toDisplayString($props.totalPage) + "\u9875",
10438
+ 1
10439
+ /* TEXT */
10440
+ );
10441
+ }
10442
+ var totalPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-4e107569"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/pagination/src/components/totalPage.vue"]]);
10522
10443
 
10523
- const _hoisted_1 = { class: "das-ui-pagination" };
10524
- const _hoisted_2 = {
10525
- key: 0,
10526
- style: { "color": "#212121", "font-size": "12px" }
10527
- };
10528
- const _hoisted_3 = {
10529
- key: 1,
10530
- style: { "margin-left": "12px" },
10531
- class: "page-container flex-center__y"
10532
- };
10533
- const _hoisted_4 = { class: "flex-center__y" };
10534
- const _hoisted_5 = { class: "flex-center__y" };
10535
10444
  var _sfc_main = /* @__PURE__ */ defineComponent({
10536
10445
  __name: "Pagination",
10537
10446
  props: {
@@ -10547,7 +10456,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
10547
10456
  popperClass: { type: String, required: false }
10548
10457
  },
10549
10458
  emits: ["update:modelValue", "update:pageSize", "size-change", "current-change", "prev-click", "next-click", "first-click", "last-click"],
10550
- setup(__props, { emit: __emit }) {
10459
+ setup(__props, { expose: __expose, emit: __emit }) {
10460
+ __expose();
10551
10461
  const props = __props;
10552
10462
  const emit = __emit;
10553
10463
  const dasPagination = ref$1();
@@ -10568,8 +10478,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
10568
10478
  return Math.ceil(total.value / pageSize.value);
10569
10479
  });
10570
10480
  const computedLayout = computed(() => {
10571
- if (simple.value)
10572
- return "prev, slot, next";
10481
+ if (simple.value) return "prev, slot, next";
10573
10482
  return layout.value || "total,jumper,slot,sizes";
10574
10483
  });
10575
10484
  const realLayout = computed(() => {
@@ -10606,8 +10515,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
10606
10515
  [
10607
10516
  "first",
10608
10517
  () => {
10609
- if (currentPage.value <= 1)
10610
- return;
10518
+ if (currentPage.value <= 1) return;
10611
10519
  currentPage.value = 1;
10612
10520
  handleCurrentChange(currentPage.value);
10613
10521
  emit("first-click", currentPage.value);
@@ -10616,8 +10524,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
10616
10524
  [
10617
10525
  "pre",
10618
10526
  () => {
10619
- if (currentPage.value <= 1)
10620
- return;
10527
+ if (currentPage.value <= 1) return;
10621
10528
  currentPage.value--;
10622
10529
  handleCurrentChange(currentPage.value);
10623
10530
  emit("prev-click", currentPage.value);
@@ -10626,8 +10533,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
10626
10533
  [
10627
10534
  "next",
10628
10535
  () => {
10629
- if (currentPage.value === total.value)
10630
- return;
10536
+ if (currentPage.value === total.value) return;
10631
10537
  currentPage.value++;
10632
10538
  handleCurrentChange(currentPage.value);
10633
10539
  emit("next-click", currentPage.value);
@@ -10636,16 +10542,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
10636
10542
  [
10637
10543
  "last",
10638
10544
  () => {
10639
- if (currentPage.value === total.value)
10640
- return;
10545
+ if (currentPage.value === total.value) return;
10641
10546
  currentPage.value = totalPage.value;
10642
10547
  handleCurrentChange(currentPage.value);
10643
10548
  emit("last-click", currentPage.value);
10644
10549
  }
10645
10550
  ]
10646
10551
  ]);
10647
- if (disabled)
10648
- return;
10552
+ if (disabled) return;
10649
10553
  let action = actionsMap.get(actions);
10650
10554
  action();
10651
10555
  };
@@ -10658,107 +10562,133 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
10658
10562
  }
10659
10563
  });
10660
10564
  });
10661
- return (_ctx, _cache) => {
10662
- return openBlock(), createElementBlock("div", _hoisted_1, [
10663
- computedLayout.value.includes("total") ? (openBlock(), createBlock(unref$1(totalPageComponent), {
10664
- key: 0,
10665
- "total-page": totalPage.value,
10666
- style: { "margin-right": "12px" }
10667
- }, null, 8, ["total-page"])) : createCommentVNode("v-if", true),
10668
- createVNode(unref$1(ElConfigProvider), { locale: unref$1(zhCn) }, {
10565
+ const __returned__ = { props, emit, dasPagination, disabledIcon, layout, background, pageSizes, total, simple, currentPage, pageSize, totalPage, computedLayout, realLayout, handleSizeChange, handleCurrentChange, handlePrevClick, handleNextClick, disabledIconResponsive, changePage, get DasIcon() {
10566
+ return DasIcon;
10567
+ }, get ElConfigProvider() {
10568
+ return ElConfigProvider;
10569
+ }, get ElPagination() {
10570
+ return ElPagination;
10571
+ }, get zhCn() {
10572
+ return zhCn;
10573
+ }, get sizes() {
10574
+ return sizes;
10575
+ }, get totalPageComponent() {
10576
+ return totalPageComponent;
10577
+ } };
10578
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
10579
+ return __returned__;
10580
+ }
10581
+ });
10582
+
10583
+ const _hoisted_1 = { class: "das-ui-pagination" };
10584
+ const _hoisted_2 = {
10585
+ key: 0,
10586
+ style: { "color": "#212121", "font-size": "12px" }
10587
+ };
10588
+ const _hoisted_3 = {
10589
+ key: 1,
10590
+ style: { "margin-left": "12px" },
10591
+ class: "page-container flex-center__y"
10592
+ };
10593
+ const _hoisted_4 = { class: "flex-center__y" };
10594
+ const _hoisted_5 = { class: "flex-center__y" };
10595
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
10596
+ return openBlock(), createElementBlock("div", _hoisted_1, [
10597
+ $setup.computedLayout.includes("total") ? (openBlock(), createBlock($setup["totalPageComponent"], {
10598
+ key: 0,
10599
+ "total-page": $setup.totalPage,
10600
+ style: { "margin-right": "12px" }
10601
+ }, null, 8, ["total-page"])) : createCommentVNode("v-if", true),
10602
+ createVNode($setup["ElConfigProvider"], { locale: $setup.zhCn }, {
10603
+ default: withCtx(() => [
10604
+ createVNode($setup["ElPagination"], mergeProps({
10605
+ ref: "dasPagination",
10606
+ class: { background: $setup.background, simple: $setup.simple },
10607
+ currentPage: $setup.currentPage,
10608
+ "onUpdate:currentPage": _cache[4] || (_cache[4] = ($event) => $setup.currentPage = $event),
10609
+ "page-size": $setup.pageSize,
10610
+ "onUpdate:pageSize": _cache[5] || (_cache[5] = ($event) => $setup.pageSize = $event),
10611
+ "page-sizes": $setup.pageSizes,
10612
+ layout: $setup.realLayout,
10613
+ total: $setup.total,
10614
+ small: $props.small,
10615
+ background: $setup.background,
10616
+ disabled: $props.disabled,
10617
+ "popper-class": $props.popperClass ? `das-pagination-popper ${$props.popperClass}` : "das-pagination-popper",
10618
+ teleported: false,
10619
+ onCurrentChange: $setup.handleCurrentChange,
10620
+ onPrevClick: $setup.handlePrevClick,
10621
+ onNextClick: $setup.handleNextClick
10622
+ }, _ctx.$attrs), {
10669
10623
  default: withCtx(() => [
10670
- createVNode(unref$1(ElPagination), mergeProps({
10671
- ref_key: "dasPagination",
10672
- ref: dasPagination,
10673
- class: { background: background.value, simple: simple.value },
10674
- currentPage: unref$1(currentPage),
10675
- "onUpdate:currentPage": _cache[4] || (_cache[4] = ($event) => isRef(currentPage) ? currentPage.value = $event : null),
10676
- "page-size": unref$1(pageSize),
10677
- "onUpdate:pageSize": _cache[5] || (_cache[5] = ($event) => isRef(pageSize) ? pageSize.value = $event : null),
10678
- "page-sizes": pageSizes.value,
10679
- layout: realLayout.value,
10680
- total: total.value,
10681
- small: _ctx.small,
10682
- background: background.value,
10683
- disabled: _ctx.disabled,
10684
- "popper-class": _ctx.popperClass ? `das-pagination-popper ${_ctx.popperClass}` : "das-pagination-popper",
10685
- teleported: false,
10686
- onCurrentChange: handleCurrentChange,
10687
- onPrevClick: handlePrevClick,
10688
- onNextClick: handleNextClick
10689
- }, _ctx.$attrs), {
10690
- default: withCtx(() => [
10691
- realLayout.value.includes("slot") ? renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
10692
- !_ctx.$slots.default ? (openBlock(), createElementBlock(
10693
- Fragment,
10694
- { key: 0 },
10695
- [
10696
- simple.value ? (openBlock(), createElementBlock(
10697
- "div",
10698
- _hoisted_2,
10699
- toDisplayString(unref$1(currentPage)) + "/" + toDisplayString(Math.ceil(total.value / unref$1(pageSize))),
10700
- 1
10701
- /* TEXT */
10702
- )) : (openBlock(), createElementBlock("div", _hoisted_3, [
10703
- createElementVNode("div", _hoisted_4, [
10704
- createVNode(unref$1(DasIcon), {
10705
- class: normalizeClass(["page-icon", disabledIcon.first ? "disabled" : ""]),
10706
- icon: "arrow-first",
10707
- iconColor: "#666666",
10708
- size: "medium",
10709
- onClick: _cache[0] || (_cache[0] = ($event) => changePage("first", disabledIcon.first))
10710
- }, null, 8, ["class"]),
10711
- createVNode(unref$1(DasIcon), {
10712
- class: normalizeClass(["page-icon", disabledIcon.pre ? "disabled" : ""]),
10713
- icon: "left",
10714
- iconColor: "#666666",
10715
- size: "medium",
10716
- onClick: _cache[1] || (_cache[1] = ($event) => changePage("pre", disabledIcon.pre))
10717
- }, null, 8, ["class"])
10718
- ]),
10719
- createElementVNode("div", _hoisted_5, [
10720
- createVNode(unref$1(DasIcon), {
10721
- class: normalizeClass(["page-icon", disabledIcon.next ? "disabled" : ""]),
10722
- icon: "right",
10723
- iconColor: "#666666",
10724
- size: "medium",
10725
- onClick: _cache[2] || (_cache[2] = ($event) => changePage("next", disabledIcon.next))
10726
- }, null, 8, ["class"]),
10727
- createVNode(unref$1(DasIcon), {
10728
- class: normalizeClass(["page-icon", disabledIcon.last ? "disabled" : ""]),
10729
- icon: "arrow-last",
10730
- iconColor: "#666666",
10731
- size: "medium",
10732
- onClick: _cache[3] || (_cache[3] = ($event) => changePage("last", disabledIcon.last))
10733
- }, null, 8, ["class"])
10734
- ])
10735
- ]))
10736
- ],
10737
- 64
10738
- /* STABLE_FRAGMENT */
10739
- )) : createCommentVNode("v-if", true)
10740
- ], true) : createCommentVNode("v-if", true)
10741
- ]),
10742
- _: 3
10743
- /* FORWARDED */
10744
- }, 16, ["class", "currentPage", "page-size", "page-sizes", "layout", "total", "small", "background", "disabled", "popper-class"])
10624
+ $setup.realLayout.includes("slot") ? renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
10625
+ !_ctx.$slots.default ? (openBlock(), createElementBlock(
10626
+ Fragment,
10627
+ { key: 0 },
10628
+ [
10629
+ $setup.simple ? (openBlock(), createElementBlock(
10630
+ "div",
10631
+ _hoisted_2,
10632
+ toDisplayString($setup.currentPage) + "/" + toDisplayString(Math.ceil($setup.total / $setup.pageSize)),
10633
+ 1
10634
+ /* TEXT */
10635
+ )) : (openBlock(), createElementBlock("div", _hoisted_3, [
10636
+ createElementVNode("div", _hoisted_4, [
10637
+ createVNode($setup["DasIcon"], {
10638
+ class: normalizeClass(["page-icon", $setup.disabledIcon.first ? "disabled" : ""]),
10639
+ icon: "arrow-first",
10640
+ iconColor: "#666666",
10641
+ size: "medium",
10642
+ onClick: _cache[0] || (_cache[0] = ($event) => $setup.changePage("first", $setup.disabledIcon.first))
10643
+ }, null, 8, ["class"]),
10644
+ createVNode($setup["DasIcon"], {
10645
+ class: normalizeClass(["page-icon", $setup.disabledIcon.pre ? "disabled" : ""]),
10646
+ icon: "left",
10647
+ iconColor: "#666666",
10648
+ size: "medium",
10649
+ onClick: _cache[1] || (_cache[1] = ($event) => $setup.changePage("pre", $setup.disabledIcon.pre))
10650
+ }, null, 8, ["class"])
10651
+ ]),
10652
+ createElementVNode("div", _hoisted_5, [
10653
+ createVNode($setup["DasIcon"], {
10654
+ class: normalizeClass(["page-icon", $setup.disabledIcon.next ? "disabled" : ""]),
10655
+ icon: "right",
10656
+ iconColor: "#666666",
10657
+ size: "medium",
10658
+ onClick: _cache[2] || (_cache[2] = ($event) => $setup.changePage("next", $setup.disabledIcon.next))
10659
+ }, null, 8, ["class"]),
10660
+ createVNode($setup["DasIcon"], {
10661
+ class: normalizeClass(["page-icon", $setup.disabledIcon.last ? "disabled" : ""]),
10662
+ icon: "arrow-last",
10663
+ iconColor: "#666666",
10664
+ size: "medium",
10665
+ onClick: _cache[3] || (_cache[3] = ($event) => $setup.changePage("last", $setup.disabledIcon.last))
10666
+ }, null, 8, ["class"])
10667
+ ])
10668
+ ]))
10669
+ ],
10670
+ 64
10671
+ /* STABLE_FRAGMENT */
10672
+ )) : createCommentVNode("v-if", true)
10673
+ ], true) : createCommentVNode("v-if", true)
10745
10674
  ]),
10746
10675
  _: 3
10747
10676
  /* FORWARDED */
10748
- }, 8, ["locale"]),
10749
- computedLayout.value.includes("sizes") ? (openBlock(), createBlock(unref$1(sizes), {
10750
- key: 1,
10751
- "page-sizes": pageSizes.value,
10752
- pageSize: unref$1(pageSize),
10753
- "onUpdate:pageSize": _cache[6] || (_cache[6] = ($event) => isRef(pageSize) ? pageSize.value = $event : null),
10754
- onSizeChange: handleSizeChange
10755
- }, null, 8, ["page-sizes", "pageSize"])) : createCommentVNode("v-if", true)
10756
- ]);
10757
- };
10758
- }
10759
- });
10760
-
10761
- var pagination = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c7591acf"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\pagination\\src\\Pagination.vue"]]);
10677
+ }, 16, ["class", "currentPage", "page-size", "page-sizes", "layout", "total", "small", "background", "disabled", "popper-class"])
10678
+ ]),
10679
+ _: 3
10680
+ /* FORWARDED */
10681
+ }, 8, ["locale"]),
10682
+ $setup.computedLayout.includes("sizes") ? (openBlock(), createBlock($setup["sizes"], {
10683
+ key: 1,
10684
+ "page-sizes": $setup.pageSizes,
10685
+ pageSize: $setup.pageSize,
10686
+ "onUpdate:pageSize": _cache[6] || (_cache[6] = ($event) => $setup.pageSize = $event),
10687
+ onSizeChange: $setup.handleSizeChange
10688
+ }, null, 8, ["page-sizes", "pageSize"])) : createCommentVNode("v-if", true)
10689
+ ]);
10690
+ }
10691
+ var pagination = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c7591acf"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/pagination/src/Pagination.vue"]]);
10762
10692
 
10763
10693
  var theme = {
10764
10694
  "--das-ui-pagination-simple-border-color": "#D9D9D9",