@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
@@ -1,5 +1,5 @@
1
1
  import { withInstall } from '@das-fed/utils';
2
- import { ref, computed, onMounted, nextTick, defineComponent, unref, openBlock, createElementBlock, createVNode, mergeProps, createCommentVNode } from 'vue';
2
+ import { ref, computed, onMounted, nextTick, defineComponent, openBlock, createElementBlock, createVNode, mergeProps, createCommentVNode } from 'vue';
3
3
  import { DasSearchForm } from '@das-fed/ui';
4
4
  import { createService } from '@das-fed/utils/api-services/src/create-service';
5
5
  import { spaceManage } from '@das-fed/utils/api-services/modules/space-manage';
@@ -89,17 +89,17 @@ var root = freeGlobal || freeSelf || Function('return this')();
89
89
  var Symbol = root.Symbol;
90
90
 
91
91
  /** Used for built-in method references. */
92
- var objectProto$c = Object.prototype;
92
+ var objectProto$b = Object.prototype;
93
93
 
94
94
  /** Used to check objects for own properties. */
95
- var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
95
+ var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
96
96
 
97
97
  /**
98
98
  * Used to resolve the
99
99
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
100
100
  * of values.
101
101
  */
102
- var nativeObjectToString$1 = objectProto$c.toString;
102
+ var nativeObjectToString$1 = objectProto$b.toString;
103
103
 
104
104
  /** Built-in value references. */
105
105
  var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
@@ -112,7 +112,7 @@ var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
112
112
  * @returns {string} Returns the raw `toStringTag`.
113
113
  */
114
114
  function getRawTag(value) {
115
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
115
+ var isOwn = hasOwnProperty$8.call(value, symToStringTag$1),
116
116
  tag = value[symToStringTag$1];
117
117
 
118
118
  try {
@@ -132,14 +132,14 @@ function getRawTag(value) {
132
132
  }
133
133
 
134
134
  /** Used for built-in method references. */
135
- var objectProto$b = Object.prototype;
135
+ var objectProto$a = Object.prototype;
136
136
 
137
137
  /**
138
138
  * Used to resolve the
139
139
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
140
140
  * of values.
141
141
  */
142
- var nativeObjectToString = objectProto$b.toString;
142
+ var nativeObjectToString = objectProto$a.toString;
143
143
 
144
144
  /**
145
145
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -347,17 +347,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
347
347
 
348
348
  /** Used for built-in method references. */
349
349
  var funcProto = Function.prototype,
350
- objectProto$a = Object.prototype;
350
+ objectProto$9 = Object.prototype;
351
351
 
352
352
  /** Used to resolve the decompiled source of functions. */
353
353
  var funcToString = funcProto.toString;
354
354
 
355
355
  /** Used to check objects for own properties. */
356
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
356
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
357
357
 
358
358
  /** Used to detect if a method is native. */
359
359
  var reIsNative = RegExp('^' +
360
- funcToString.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
360
+ funcToString.call(hasOwnProperty$7).replace(reRegExpChar, '\\$&')
361
361
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
362
362
  );
363
363
 
@@ -432,25 +432,6 @@ var baseCreate = (function() {
432
432
  };
433
433
  }());
434
434
 
435
- /**
436
- * Copies the values of `source` to `array`.
437
- *
438
- * @private
439
- * @param {Array} source The array to copy values from.
440
- * @param {Array} [array=[]] The array to copy values to.
441
- * @returns {Array} Returns `array`.
442
- */
443
- function copyArray(source, array) {
444
- var index = -1,
445
- length = source.length;
446
-
447
- array || (array = Array(length));
448
- while (++index < length) {
449
- array[index] = source[index];
450
- }
451
- return array;
452
- }
453
-
454
435
  var defineProperty = (function() {
455
436
  try {
456
437
  var func = getNative(Object, 'defineProperty');
@@ -563,10 +544,10 @@ function eq(value, other) {
563
544
  }
564
545
 
565
546
  /** Used for built-in method references. */
566
- var objectProto$9 = Object.prototype;
547
+ var objectProto$8 = Object.prototype;
567
548
 
568
549
  /** Used to check objects for own properties. */
569
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
550
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
570
551
 
571
552
  /**
572
553
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -580,48 +561,12 @@ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
580
561
  */
581
562
  function assignValue(object, key, value) {
582
563
  var objValue = object[key];
583
- if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) ||
564
+ if (!(hasOwnProperty$6.call(object, key) && eq(objValue, value)) ||
584
565
  (value === undefined && !(key in object))) {
585
566
  baseAssignValue(object, key, value);
586
567
  }
587
568
  }
588
569
 
589
- /**
590
- * Copies properties of `source` to `object`.
591
- *
592
- * @private
593
- * @param {Object} source The object to copy properties from.
594
- * @param {Array} props The property identifiers to copy.
595
- * @param {Object} [object={}] The object to copy properties to.
596
- * @param {Function} [customizer] The function to customize copied values.
597
- * @returns {Object} Returns `object`.
598
- */
599
- function copyObject(source, props, object, customizer) {
600
- var isNew = !object;
601
- object || (object = {});
602
-
603
- var index = -1,
604
- length = props.length;
605
-
606
- while (++index < length) {
607
- var key = props[index];
608
-
609
- var newValue = customizer
610
- ? customizer(object[key], source[key], key, object, source)
611
- : undefined;
612
-
613
- if (newValue === undefined) {
614
- newValue = source[key];
615
- }
616
- if (isNew) {
617
- baseAssignValue(object, key, newValue);
618
- } else {
619
- assignValue(object, key, newValue);
620
- }
621
- }
622
- return object;
623
- }
624
-
625
570
  /** Used as references for various `Number` constants. */
626
571
  var MAX_SAFE_INTEGER = 9007199254740991;
627
572
 
@@ -686,7 +631,7 @@ function isArrayLike(value) {
686
631
  }
687
632
 
688
633
  /** Used for built-in method references. */
689
- var objectProto$8 = Object.prototype;
634
+ var objectProto$7 = Object.prototype;
690
635
 
691
636
  /**
692
637
  * Checks if `value` is likely a prototype object.
@@ -697,7 +642,7 @@ var objectProto$8 = Object.prototype;
697
642
  */
698
643
  function isPrototype(value) {
699
644
  var Ctor = value && value.constructor,
700
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$8;
645
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$7;
701
646
 
702
647
  return value === proto;
703
648
  }
@@ -736,13 +681,13 @@ function baseIsArguments(value) {
736
681
  }
737
682
 
738
683
  /** Used for built-in method references. */
739
- var objectProto$7 = Object.prototype;
684
+ var objectProto$6 = Object.prototype;
740
685
 
741
686
  /** Used to check objects for own properties. */
742
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
687
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
743
688
 
744
689
  /** Built-in value references. */
745
- var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
690
+ var propertyIsEnumerable$1 = objectProto$6.propertyIsEnumerable;
746
691
 
747
692
  /**
748
693
  * Checks if `value` is likely an `arguments` object.
@@ -763,7 +708,7 @@ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
763
708
  * // => false
764
709
  */
765
710
  var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
766
- return isObjectLike(value) && hasOwnProperty$6.call(value, 'callee') &&
711
+ return isObjectLike(value) && hasOwnProperty$5.call(value, 'callee') &&
767
712
  !propertyIsEnumerable$1.call(value, 'callee');
768
713
  };
769
714
 
@@ -936,10 +881,10 @@ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
936
881
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
937
882
 
938
883
  /** Used for built-in method references. */
939
- var objectProto$6 = Object.prototype;
884
+ var objectProto$5 = Object.prototype;
940
885
 
941
886
  /** Used to check objects for own properties. */
942
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
887
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
943
888
 
944
889
  /**
945
890
  * Creates an array of the enumerable property names of the array-like `value`.
@@ -959,7 +904,7 @@ function arrayLikeKeys(value, inherited) {
959
904
  length = result.length;
960
905
 
961
906
  for (var key in value) {
962
- if ((inherited || hasOwnProperty$5.call(value, key)) &&
907
+ if ((hasOwnProperty$4.call(value, key)) &&
963
908
  !(skipIndexes && (
964
909
  // Safari 9 has enumerable `arguments.length` in strict mode.
965
910
  key == 'length' ||
@@ -994,10 +939,10 @@ function overArg(func, transform) {
994
939
  var nativeKeys = overArg(Object.keys, Object);
995
940
 
996
941
  /** Used for built-in method references. */
997
- var objectProto$5 = Object.prototype;
942
+ var objectProto$4 = Object.prototype;
998
943
 
999
944
  /** Used to check objects for own properties. */
1000
- var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
945
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1001
946
 
1002
947
  /**
1003
948
  * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
@@ -1012,7 +957,7 @@ function baseKeys(object) {
1012
957
  }
1013
958
  var result = [];
1014
959
  for (var key in Object(object)) {
1015
- if (hasOwnProperty$4.call(object, key) && key != 'constructor') {
960
+ if (hasOwnProperty$3.call(object, key) && key != 'constructor') {
1016
961
  result.push(key);
1017
962
  }
1018
963
  }
@@ -1051,80 +996,6 @@ function keys(object) {
1051
996
  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1052
997
  }
1053
998
 
1054
- /**
1055
- * This function is like
1056
- * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1057
- * except that it includes inherited enumerable properties.
1058
- *
1059
- * @private
1060
- * @param {Object} object The object to query.
1061
- * @returns {Array} Returns the array of property names.
1062
- */
1063
- function nativeKeysIn(object) {
1064
- var result = [];
1065
- if (object != null) {
1066
- for (var key in Object(object)) {
1067
- result.push(key);
1068
- }
1069
- }
1070
- return result;
1071
- }
1072
-
1073
- /** Used for built-in method references. */
1074
- var objectProto$4 = Object.prototype;
1075
-
1076
- /** Used to check objects for own properties. */
1077
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1078
-
1079
- /**
1080
- * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
1081
- *
1082
- * @private
1083
- * @param {Object} object The object to query.
1084
- * @returns {Array} Returns the array of property names.
1085
- */
1086
- function baseKeysIn(object) {
1087
- if (!isObject(object)) {
1088
- return nativeKeysIn(object);
1089
- }
1090
- var isProto = isPrototype(object),
1091
- result = [];
1092
-
1093
- for (var key in object) {
1094
- if (!(key == 'constructor' && (isProto || !hasOwnProperty$3.call(object, key)))) {
1095
- result.push(key);
1096
- }
1097
- }
1098
- return result;
1099
- }
1100
-
1101
- /**
1102
- * Creates an array of the own and inherited enumerable property names of `object`.
1103
- *
1104
- * **Note:** Non-object values are coerced to objects.
1105
- *
1106
- * @static
1107
- * @memberOf _
1108
- * @since 3.0.0
1109
- * @category Object
1110
- * @param {Object} object The object to query.
1111
- * @returns {Array} Returns the array of property names.
1112
- * @example
1113
- *
1114
- * function Foo() {
1115
- * this.a = 1;
1116
- * this.b = 2;
1117
- * }
1118
- *
1119
- * Foo.prototype.c = 3;
1120
- *
1121
- * _.keysIn(new Foo);
1122
- * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
1123
- */
1124
- function keysIn(object) {
1125
- return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
1126
- }
1127
-
1128
999
  /* Built-in method references that are verified to be native. */
1129
1000
  var nativeCreate = getNative(Object, 'create');
1130
1001
 
@@ -1645,32 +1516,6 @@ Stack.prototype.get = stackGet;
1645
1516
  Stack.prototype.has = stackHas;
1646
1517
  Stack.prototype.set = stackSet;
1647
1518
 
1648
- /**
1649
- * The base implementation of `_.assign` without support for multiple sources
1650
- * or `customizer` functions.
1651
- *
1652
- * @private
1653
- * @param {Object} object The destination object.
1654
- * @param {Object} source The source object.
1655
- * @returns {Object} Returns `object`.
1656
- */
1657
- function baseAssign(object, source) {
1658
- return object && copyObject(source, keys(source), object);
1659
- }
1660
-
1661
- /**
1662
- * The base implementation of `_.assignIn` without support for multiple sources
1663
- * or `customizer` functions.
1664
- *
1665
- * @private
1666
- * @param {Object} object The destination object.
1667
- * @param {Object} source The source object.
1668
- * @returns {Object} Returns `object`.
1669
- */
1670
- function baseAssignIn(object, source) {
1671
- return object && copyObject(source, keysIn(source), object);
1672
- }
1673
-
1674
1519
  /** Detect free variable `exports`. */
1675
1520
  var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
1676
1521
 
@@ -1681,8 +1526,8 @@ var freeModule = freeExports && typeof module == 'object' && module && !module.n
1681
1526
  var moduleExports = freeModule && freeModule.exports === freeExports;
1682
1527
 
1683
1528
  /** Built-in value references. */
1684
- var Buffer = moduleExports ? root.Buffer : undefined,
1685
- allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
1529
+ var Buffer = moduleExports ? root.Buffer : undefined;
1530
+ Buffer ? Buffer.allocUnsafe : undefined;
1686
1531
 
1687
1532
  /**
1688
1533
  * Creates a clone of `buffer`.
@@ -1693,14 +1538,9 @@ var Buffer = moduleExports ? root.Buffer : undefined,
1693
1538
  * @returns {Buffer} Returns the cloned buffer.
1694
1539
  */
1695
1540
  function cloneBuffer(buffer, isDeep) {
1696
- if (isDeep) {
1541
+ {
1697
1542
  return buffer.slice();
1698
1543
  }
1699
- var length = buffer.length,
1700
- result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
1701
-
1702
- buffer.copy(result);
1703
- return result;
1704
1544
  }
1705
1545
 
1706
1546
  /**
@@ -1756,7 +1596,7 @@ var objectProto$1 = Object.prototype;
1756
1596
  var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
1757
1597
 
1758
1598
  /* Built-in method references for those with the same name as other `lodash` methods. */
1759
- var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
1599
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
1760
1600
 
1761
1601
  /**
1762
1602
  * Creates an array of the own enumerable symbols of `object`.
@@ -1765,59 +1605,16 @@ var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
1765
1605
  * @param {Object} object The object to query.
1766
1606
  * @returns {Array} Returns the array of symbols.
1767
1607
  */
1768
- var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
1608
+ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
1769
1609
  if (object == null) {
1770
1610
  return [];
1771
1611
  }
1772
1612
  object = Object(object);
1773
- return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
1613
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1774
1614
  return propertyIsEnumerable.call(object, symbol);
1775
1615
  });
1776
1616
  };
1777
1617
 
1778
- /**
1779
- * Copies own symbols of `source` to `object`.
1780
- *
1781
- * @private
1782
- * @param {Object} source The object to copy symbols from.
1783
- * @param {Object} [object={}] The object to copy symbols to.
1784
- * @returns {Object} Returns `object`.
1785
- */
1786
- function copySymbols(source, object) {
1787
- return copyObject(source, getSymbols(source), object);
1788
- }
1789
-
1790
- /* Built-in method references for those with the same name as other `lodash` methods. */
1791
- var nativeGetSymbols = Object.getOwnPropertySymbols;
1792
-
1793
- /**
1794
- * Creates an array of the own and inherited enumerable symbols of `object`.
1795
- *
1796
- * @private
1797
- * @param {Object} object The object to query.
1798
- * @returns {Array} Returns the array of symbols.
1799
- */
1800
- var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
1801
- var result = [];
1802
- while (object) {
1803
- arrayPush(result, getSymbols(object));
1804
- object = getPrototype(object);
1805
- }
1806
- return result;
1807
- };
1808
-
1809
- /**
1810
- * Copies own and inherited symbols of `source` to `object`.
1811
- *
1812
- * @private
1813
- * @param {Object} source The object to copy symbols from.
1814
- * @param {Object} [object={}] The object to copy symbols to.
1815
- * @returns {Object} Returns `object`.
1816
- */
1817
- function copySymbolsIn(source, object) {
1818
- return copyObject(source, getSymbolsIn(source), object);
1819
- }
1820
-
1821
1618
  /**
1822
1619
  * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1823
1620
  * `keysFunc` and `symbolsFunc` to get the enumerable property names and
@@ -1845,18 +1642,6 @@ function getAllKeys(object) {
1845
1642
  return baseGetAllKeys(object, keys, getSymbols);
1846
1643
  }
1847
1644
 
1848
- /**
1849
- * Creates an array of own and inherited enumerable property names and
1850
- * symbols of `object`.
1851
- *
1852
- * @private
1853
- * @param {Object} object The object to query.
1854
- * @returns {Array} Returns the array of property names and symbols.
1855
- */
1856
- function getAllKeysIn(object) {
1857
- return baseGetAllKeys(object, keysIn, getSymbolsIn);
1858
- }
1859
-
1860
1645
  /* Built-in method references that are verified to be native. */
1861
1646
  var DataView = getNative(root, 'DataView');
1862
1647
 
@@ -1967,7 +1752,7 @@ function cloneArrayBuffer(arrayBuffer) {
1967
1752
  * @returns {Object} Returns the cloned data view.
1968
1753
  */
1969
1754
  function cloneDataView(dataView, isDeep) {
1970
- var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
1755
+ var buffer = cloneArrayBuffer(dataView.buffer) ;
1971
1756
  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
1972
1757
  }
1973
1758
 
@@ -2011,7 +1796,7 @@ function cloneSymbol(symbol) {
2011
1796
  * @returns {Object} Returns the cloned typed array.
2012
1797
  */
2013
1798
  function cloneTypedArray(typedArray, isDeep) {
2014
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
1799
+ var buffer = cloneArrayBuffer(typedArray.buffer) ;
2015
1800
  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
2016
1801
  }
2017
1802
 
@@ -2060,12 +1845,12 @@ function initCloneByTag(object, tag, isDeep) {
2060
1845
  return new Ctor(+object);
2061
1846
 
2062
1847
  case dataViewTag$1:
2063
- return cloneDataView(object, isDeep);
1848
+ return cloneDataView(object);
2064
1849
 
2065
1850
  case float32Tag$1: case float64Tag$1:
2066
1851
  case int8Tag$1: case int16Tag$1: case int32Tag$1:
2067
1852
  case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
2068
- return cloneTypedArray(object, isDeep);
1853
+ return cloneTypedArray(object);
2069
1854
 
2070
1855
  case mapTag$2:
2071
1856
  return new Ctor;
@@ -2170,11 +1955,6 @@ var nodeIsSet = nodeUtil && nodeUtil.isSet;
2170
1955
  */
2171
1956
  var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
2172
1957
 
2173
- /** Used to compose bitmasks for cloning. */
2174
- var CLONE_DEEP_FLAG$1 = 1,
2175
- CLONE_FLAT_FLAG = 2,
2176
- CLONE_SYMBOLS_FLAG$1 = 4;
2177
-
2178
1958
  /** `Object#toString` result references. */
2179
1959
  var argsTag = '[object Arguments]',
2180
1960
  arrayTag = '[object Array]',
@@ -2237,14 +2017,7 @@ cloneableTags[weakMapTag] = false;
2237
2017
  * @returns {*} Returns the cloned value.
2238
2018
  */
2239
2019
  function baseClone(value, bitmask, customizer, key, object, stack) {
2240
- var result,
2241
- isDeep = bitmask & CLONE_DEEP_FLAG$1,
2242
- isFlat = bitmask & CLONE_FLAT_FLAG,
2243
- isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
2244
-
2245
- if (customizer) {
2246
- result = object ? customizer(value, key, object, stack) : customizer(value);
2247
- }
2020
+ var result;
2248
2021
  if (result !== undefined) {
2249
2022
  return result;
2250
2023
  }
@@ -2254,28 +2027,20 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
2254
2027
  var isArr = isArray(value);
2255
2028
  if (isArr) {
2256
2029
  result = initCloneArray(value);
2257
- if (!isDeep) {
2258
- return copyArray(value, result);
2259
- }
2260
2030
  } else {
2261
2031
  var tag = getTag$1(value),
2262
2032
  isFunc = tag == funcTag || tag == genTag;
2263
2033
 
2264
2034
  if (isBuffer(value)) {
2265
- return cloneBuffer(value, isDeep);
2035
+ return cloneBuffer(value);
2266
2036
  }
2267
2037
  if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
2268
- result = (isFlat || isFunc) ? {} : initCloneObject(value);
2269
- if (!isDeep) {
2270
- return isFlat
2271
- ? copySymbolsIn(value, baseAssignIn(result, value))
2272
- : copySymbols(value, baseAssign(result, value));
2273
- }
2038
+ result = (isFunc) ? {} : initCloneObject(value);
2274
2039
  } else {
2275
2040
  if (!cloneableTags[tag]) {
2276
2041
  return object ? value : {};
2277
2042
  }
2278
- result = initCloneByTag(value, tag, isDeep);
2043
+ result = initCloneByTag(value, tag);
2279
2044
  }
2280
2045
  }
2281
2046
  // Check for circular references and return its corresponding clone.
@@ -2296,9 +2061,8 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
2296
2061
  });
2297
2062
  }
2298
2063
 
2299
- var keysFunc = isFull
2300
- ? (isFlat ? getAllKeysIn : getAllKeys)
2301
- : (isFlat ? keysIn : keys);
2064
+ var keysFunc = (getAllKeys)
2065
+ ;
2302
2066
 
2303
2067
  var props = isArr ? undefined : keysFunc(value);
2304
2068
  arrayEach(props || value, function(subValue, key) {
@@ -2372,19 +2136,15 @@ const useSearchOptions = (prop, emits) => {
2372
2136
  const projectId = getProjectInfo()?.id ? getProjectInfo()?.id : "371344636432453";
2373
2137
  const load = async (node) => {
2374
2138
  let params = { projectId, project: projectId, spaceId: null };
2375
- if (node?.id)
2376
- params.spaceId = node.id;
2139
+ if (node?.id) params.spaceId = node.id;
2377
2140
  const [err, data] = await getSpaceTree(params).run();
2378
- if (err)
2379
- return {};
2141
+ if (err) return {};
2380
2142
  return data;
2381
2143
  };
2382
2144
  const search = async (name) => {
2383
- if (!name)
2384
- return {};
2145
+ if (!name) return {};
2385
2146
  const [err, data] = await getSpaceFuzzyTree({ projectId, project: projectId, name }).run();
2386
- if (err)
2387
- return {};
2147
+ if (err) return {};
2388
2148
  return data;
2389
2149
  };
2390
2150
  const reqSearchSetting = async () => {
@@ -2394,8 +2154,7 @@ const useSearchOptions = (prop, emits) => {
2394
2154
  project: projectId
2395
2155
  };
2396
2156
  const [err, data] = await searchSetting(reqData).run();
2397
- if (err)
2398
- return;
2157
+ if (err) return;
2399
2158
  if (data.value.conditionField) {
2400
2159
  settingData.value = JSON.parse(data.value.conditionField);
2401
2160
  }
@@ -2559,8 +2318,7 @@ const useSearchOptions = (prop, emits) => {
2559
2318
  const clone = cloneDeep(cloneOptions[1]);
2560
2319
  clone.label = settingItem.cm;
2561
2320
  clone.key = settingItem.name;
2562
- if (settingItem.defaultValue)
2563
- clone.value = settingItem.defaultValue;
2321
+ if (settingItem.defaultValue) clone.value = settingItem.defaultValue;
2564
2322
  searchOptions.value.push(clone);
2565
2323
  }
2566
2324
  if (settingItem.ct === "select") {
@@ -2582,15 +2340,13 @@ const useSearchOptions = (prop, emits) => {
2582
2340
  if (settingItem.option.customQuery.requestType === "GET") {
2583
2341
  const params = { project: projectId, ...reqData };
2584
2342
  const [error, data] = await service$1(settingItem.option.customQuery.url).get("")(params).run();
2585
- if (error)
2586
- return;
2343
+ if (error) return;
2587
2344
  clone.options = data;
2588
2345
  }
2589
2346
  if (settingItem.option.customQuery.requestType === "POST") {
2590
2347
  const params = { project: projectId, ...reqData };
2591
2348
  const [error, data] = await service$1(settingItem.option.customQuery.url).post("")(params).run();
2592
- if (error)
2593
- return;
2349
+ if (error) return;
2594
2350
  clone.options = data;
2595
2351
  }
2596
2352
  }
@@ -2601,15 +2357,13 @@ const useSearchOptions = (prop, emits) => {
2601
2357
  const clone = cloneDeep(cloneOptions[3]);
2602
2358
  clone.label = settingItem.cm;
2603
2359
  clone.key = settingItem.name;
2604
- if (settingItem.defaultValue)
2605
- clone.value = settingItem.defaultValue;
2360
+ if (settingItem.defaultValue) clone.value = settingItem.defaultValue;
2606
2361
  searchOptions.value.push(clone);
2607
2362
  }
2608
2363
  if (settingItem.ct === "pasitionSelector") {
2609
2364
  const clone = cloneDeep(cloneOptions[4]);
2610
2365
  clone.label = settingItem.cm;
2611
- if (settingItem.defaultValue)
2612
- clone.value = settingItem.defaultValue;
2366
+ if (settingItem.defaultValue) clone.value = settingItem.defaultValue;
2613
2367
  clone.key = settingItem.name;
2614
2368
  searchOptions.value.push(clone);
2615
2369
  }
@@ -2617,8 +2371,7 @@ const useSearchOptions = (prop, emits) => {
2617
2371
  const clone = cloneDeep(cloneOptions[5]);
2618
2372
  clone.label = settingItem.cm;
2619
2373
  clone.key = settingItem.name;
2620
- if (settingItem.defaultValue)
2621
- clone.value = settingItem.defaultValue;
2374
+ if (settingItem.defaultValue) clone.value = settingItem.defaultValue;
2622
2375
  if (settingItem.option?.choiceType === "static") {
2623
2376
  clone.options = settingItem.controlContent;
2624
2377
  }
@@ -2628,8 +2381,7 @@ const useSearchOptions = (prop, emits) => {
2628
2381
  const clone = cloneDeep(cloneOptions[6]);
2629
2382
  clone.label = settingItem.cm;
2630
2383
  clone.key = settingItem.name;
2631
- if (settingItem.defaultValue)
2632
- clone.value = settingItem.defaultValue;
2384
+ if (settingItem.defaultValue) clone.value = settingItem.defaultValue;
2633
2385
  searchOptions.value.push(clone);
2634
2386
  }
2635
2387
  });
@@ -2642,10 +2394,6 @@ const useSearchOptions = (prop, emits) => {
2642
2394
  };
2643
2395
  };
2644
2396
 
2645
- const _hoisted_1 = {
2646
- key: 0,
2647
- class: "das-process-search-from"
2648
- };
2649
2397
  var _sfc_main = /* @__PURE__ */ defineComponent({
2650
2398
  __name: "App",
2651
2399
  props: {
@@ -2654,18 +2402,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
2654
2402
  borderType: { type: String, required: true, default: "bordered" }
2655
2403
  },
2656
2404
  emits: ["processConfirm", "getBtnSetting"],
2657
- setup(__props, { emit: __emit }) {
2405
+ setup(__props, { expose: __expose, emit: __emit }) {
2406
+ __expose();
2658
2407
  const props = __props;
2659
2408
  const emits = __emit;
2660
2409
  const { searchOptions, searchList, settingData } = useSearchOptions(props, emits);
2661
- return (_ctx, _cache) => {
2662
- return unref(settingData).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1, [
2663
- createVNode(unref(DasSearchForm), mergeProps(_ctx.$attrs, {
2664
- options: unref(searchOptions),
2665
- onConfirm: unref(searchList)
2666
- }), null, 16, ["options", "onConfirm"])
2667
- ])) : createCommentVNode("v-if", true);
2668
- };
2410
+ const __returned__ = { props, emits, searchOptions, searchList, settingData, get DasSearchForm() {
2411
+ return DasSearchForm;
2412
+ } };
2413
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
2414
+ return __returned__;
2669
2415
  }
2670
2416
  });
2671
2417
 
@@ -2677,7 +2423,19 @@ var _export_sfc = (sfc, props) => {
2677
2423
  return target;
2678
2424
  };
2679
2425
 
2680
- var ProcessSearchForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\business-components\\process-search-form\\src\\App.vue"]]);
2426
+ const _hoisted_1 = {
2427
+ key: 0,
2428
+ class: "das-process-search-from"
2429
+ };
2430
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2431
+ return $setup.settingData.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1, [
2432
+ createVNode($setup["DasSearchForm"], mergeProps(_ctx.$attrs, {
2433
+ options: $setup.searchOptions,
2434
+ onConfirm: $setup.searchList
2435
+ }), null, 16, ["options", "onConfirm"])
2436
+ ])) : createCommentVNode("v-if", true);
2437
+ }
2438
+ var ProcessSearchForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/business-components/process-search-form/src/App.vue"]]);
2681
2439
 
2682
2440
  const DasProcessSearchForm = withInstall(ProcessSearchForm);
2683
2441