vue-devui 1.0.0-beta.5 → 1.0.0-beta.9

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 (206) hide show
  1. package/accordion/index.d.ts +7 -0
  2. package/accordion/index.es.js +186 -139
  3. package/accordion/index.umd.js +1 -1
  4. package/accordion/style.css +1 -1
  5. package/alert/index.d.ts +7 -0
  6. package/alert/index.es.js +1 -1
  7. package/alert/index.umd.js +1 -1
  8. package/anchor/index.d.ts +7 -0
  9. package/avatar/index.d.ts +7 -0
  10. package/avatar/index.es.js +1 -1
  11. package/avatar/index.umd.js +1 -1
  12. package/back-top/index.d.ts +7 -0
  13. package/back-top/index.es.js +61 -5
  14. package/back-top/index.umd.js +1 -1
  15. package/back-top/style.css +1 -1
  16. package/badge/index.d.ts +7 -0
  17. package/badge/index.es.js +1 -1
  18. package/badge/index.umd.js +1 -1
  19. package/breadcrumb/index.d.ts +7 -0
  20. package/button/index.d.ts +7 -0
  21. package/button/index.es.js +4 -4
  22. package/button/index.umd.js +1 -1
  23. package/card/index.d.ts +7 -0
  24. package/card/index.es.js +1 -1
  25. package/card/index.umd.js +1 -1
  26. package/carousel/index.d.ts +7 -0
  27. package/carousel/index.es.js +3 -3
  28. package/carousel/index.umd.js +1 -1
  29. package/cascader/index.d.ts +7 -0
  30. package/cascader/index.es.js +1239 -83
  31. package/cascader/index.umd.js +1 -1
  32. package/cascader/style.css +1 -1
  33. package/checkbox/index.d.ts +7 -0
  34. package/checkbox/index.es.js +1 -1
  35. package/checkbox/index.umd.js +1 -1
  36. package/comment/index.d.ts +7 -0
  37. package/comment/index.es.js +57 -0
  38. package/comment/index.umd.js +1 -0
  39. package/comment/package.json +7 -0
  40. package/comment/style.css +1 -0
  41. package/countdown/index.d.ts +7 -0
  42. package/countdown/index.es.js +167 -0
  43. package/countdown/index.umd.js +1 -0
  44. package/countdown/package.json +7 -0
  45. package/countdown/style.css +1 -0
  46. package/date-picker/index.d.ts +7 -0
  47. package/date-picker/index.es.js +15 -15
  48. package/date-picker/index.umd.js +1 -1
  49. package/dragdrop/index.d.ts +7 -0
  50. package/drawer/index.d.ts +7 -0
  51. package/drawer/index.es.js +33 -9
  52. package/drawer/index.umd.js +1 -1
  53. package/dropdown/index.d.ts +7 -0
  54. package/dropdown/index.es.js +7 -5
  55. package/dropdown/index.umd.js +1 -1
  56. package/editable-select/index.d.ts +7 -0
  57. package/editable-select/index.es.js +166 -104
  58. package/editable-select/index.umd.js +16 -16
  59. package/editable-select/style.css +1 -1
  60. package/form/index.d.ts +7 -0
  61. package/form/index.es.js +23 -8
  62. package/form/index.umd.js +1 -1
  63. package/form/style.css +1 -1
  64. package/fullscreen/index.d.ts +7 -0
  65. package/fullscreen/index.es.js +14 -4
  66. package/fullscreen/index.umd.js +1 -1
  67. package/gantt/index.d.ts +7 -0
  68. package/grid/index.d.ts +7 -0
  69. package/grid/index.es.js +2 -2
  70. package/grid/index.umd.js +1 -1
  71. package/icon/index.d.ts +7 -0
  72. package/icon/index.es.js +4 -4
  73. package/icon/index.umd.js +1 -1
  74. package/image-preview/index.d.ts +7 -0
  75. package/image-preview/index.es.js +51 -11
  76. package/image-preview/index.umd.js +1 -1
  77. package/image-preview/style.css +1 -1
  78. package/index.d.ts +7 -0
  79. package/input/index.d.ts +7 -0
  80. package/input/index.es.js +12 -12
  81. package/input/index.umd.js +1 -1
  82. package/input-icon/index.d.ts +7 -0
  83. package/input-icon/index.es.js +331 -0
  84. package/input-icon/index.umd.js +1 -0
  85. package/input-icon/package.json +7 -0
  86. package/input-icon/style.css +1 -0
  87. package/input-number/index.d.ts +7 -0
  88. package/input-number/index.es.js +3 -3
  89. package/input-number/index.umd.js +1 -1
  90. package/layout/index.d.ts +7 -0
  91. package/layout/index.es.js +1 -1
  92. package/layout/index.umd.js +1 -1
  93. package/loading/index.d.ts +7 -0
  94. package/loading/index.es.js +1 -1
  95. package/loading/index.umd.js +1 -1
  96. package/modal/index.d.ts +7 -0
  97. package/modal/index.es.js +9 -7
  98. package/modal/index.umd.js +1 -1
  99. package/nav-sprite/index.d.ts +7 -0
  100. package/overlay/index.d.ts +7 -0
  101. package/overlay/index.es.js +6 -4
  102. package/overlay/index.umd.js +1 -1
  103. package/package.json +2 -31
  104. package/pagination/index.d.ts +7 -0
  105. package/pagination/index.es.js +3 -3
  106. package/pagination/index.umd.js +1 -1
  107. package/panel/index.d.ts +7 -0
  108. package/popover/index.d.ts +7 -0
  109. package/popover/index.es.js +1 -1
  110. package/popover/index.umd.js +1 -1
  111. package/progress/index.d.ts +7 -0
  112. package/progress/index.es.js +1 -1
  113. package/progress/index.umd.js +2 -2
  114. package/quadrant-diagram/index.d.ts +7 -0
  115. package/radio/index.d.ts +7 -0
  116. package/radio/index.es.js +1 -1
  117. package/radio/index.umd.js +1 -1
  118. package/rate/index.d.ts +7 -0
  119. package/rate/index.es.js +1 -1
  120. package/rate/index.umd.js +1 -1
  121. package/read-tip/index.d.ts +7 -0
  122. package/read-tip/index.es.js +74 -24
  123. package/read-tip/index.umd.js +1 -1
  124. package/read-tip/style.css +1 -1
  125. package/result/index.d.ts +7 -0
  126. package/result/index.es.js +118 -0
  127. package/result/index.umd.js +1 -0
  128. package/result/package.json +7 -0
  129. package/result/style.css +1 -0
  130. package/ripple/index.d.ts +7 -0
  131. package/ripple/index.es.js +5 -2
  132. package/ripple/index.umd.js +1 -1
  133. package/search/index.d.ts +7 -0
  134. package/search/index.es.js +23 -20
  135. package/search/index.umd.js +1 -1
  136. package/select/index.d.ts +7 -0
  137. package/select/index.es.js +3 -3
  138. package/select/index.umd.js +1 -1
  139. package/skeleton/index.d.ts +7 -0
  140. package/skeleton/index.es.js +148 -26
  141. package/skeleton/index.umd.js +1 -1
  142. package/skeleton/style.css +1 -1
  143. package/slider/index.d.ts +7 -0
  144. package/slider/index.es.js +1 -1
  145. package/slider/index.umd.js +1 -1
  146. package/splitter/index.d.ts +7 -0
  147. package/splitter/index.es.js +24 -25
  148. package/splitter/index.umd.js +1 -1
  149. package/statistic/index.d.ts +7 -0
  150. package/statistic/index.es.js +280 -0
  151. package/statistic/index.umd.js +1 -0
  152. package/statistic/package.json +7 -0
  153. package/statistic/style.css +1 -0
  154. package/status/index.d.ts +7 -0
  155. package/status/index.es.js +2 -2
  156. package/status/index.umd.js +1 -1
  157. package/steps-guide/index.d.ts +7 -0
  158. package/steps-guide/index.es.js +100 -75
  159. package/steps-guide/index.umd.js +1 -1
  160. package/sticky/index.d.ts +7 -0
  161. package/style.css +1 -1
  162. package/switch/index.d.ts +7 -0
  163. package/switch/index.es.js +1 -1
  164. package/switch/index.umd.js +1 -1
  165. package/table/index.d.ts +7 -0
  166. package/table/index.es.js +1492 -157
  167. package/table/index.umd.js +1 -1
  168. package/table/style.css +1 -1
  169. package/tabs/index.d.ts +7 -0
  170. package/tag/index.d.ts +7 -0
  171. package/tag/index.es.js +94 -12
  172. package/tag/index.umd.js +1 -1
  173. package/tag/style.css +1 -1
  174. package/tag-input/index.d.ts +7 -0
  175. package/tag-input/index.es.js +1 -1
  176. package/tag-input/index.umd.js +1 -1
  177. package/textarea/index.d.ts +7 -0
  178. package/textarea/index.es.js +1 -1
  179. package/textarea/index.umd.js +1 -1
  180. package/time-axis/index.d.ts +7 -0
  181. package/time-axis/index.es.js +6 -4
  182. package/time-axis/index.umd.js +1 -1
  183. package/time-picker/index.d.ts +7 -0
  184. package/time-picker/index.es.js +12 -7
  185. package/time-picker/index.umd.js +1 -1
  186. package/time-picker/style.css +1 -1
  187. package/toast/index.d.ts +7 -0
  188. package/toast/index.es.js +4 -4
  189. package/toast/index.umd.js +1 -1
  190. package/tooltip/index.d.ts +7 -0
  191. package/transfer/index.d.ts +7 -0
  192. package/transfer/index.es.js +310 -68
  193. package/transfer/index.umd.js +1 -1
  194. package/transfer/style.css +1 -1
  195. package/tree/index.d.ts +7 -0
  196. package/tree/index.es.js +160 -31
  197. package/tree/index.umd.js +1 -1
  198. package/tree-select/index.d.ts +7 -0
  199. package/tree-select/index.es.js +435 -110
  200. package/tree-select/index.umd.js +1 -1
  201. package/tree-select/style.css +1 -1
  202. package/upload/index.d.ts +7 -0
  203. package/upload/index.es.js +4 -4
  204. package/upload/index.umd.js +1 -1
  205. package/vue-devui.es.js +14125 -11791
  206. package/vue-devui.umd.js +18 -18
@@ -1,15 +1,866 @@
1
- import { computed, ref, watch, reactive, createVNode, resolveComponent, defineComponent, mergeProps, Fragment } from "vue";
2
- var cascader = "";
1
+ import { computed, createVNode, resolveComponent, mergeProps, defineComponent, createTextVNode, ref, reactive, watch, toRef, Fragment } from "vue";
2
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
3
+ var freeGlobal$1 = freeGlobal;
4
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
5
+ var root = freeGlobal$1 || freeSelf || Function("return this")();
6
+ var root$1 = root;
7
+ var Symbol$1 = root$1.Symbol;
8
+ var Symbol$2 = Symbol$1;
9
+ var objectProto$c = Object.prototype;
10
+ var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
11
+ var nativeObjectToString$1 = objectProto$c.toString;
12
+ var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
13
+ function getRawTag(value) {
14
+ var isOwn = hasOwnProperty$9.call(value, symToStringTag$1), tag = value[symToStringTag$1];
15
+ try {
16
+ value[symToStringTag$1] = void 0;
17
+ var unmasked = true;
18
+ } catch (e) {
19
+ }
20
+ var result = nativeObjectToString$1.call(value);
21
+ if (unmasked) {
22
+ if (isOwn) {
23
+ value[symToStringTag$1] = tag;
24
+ } else {
25
+ delete value[symToStringTag$1];
26
+ }
27
+ }
28
+ return result;
29
+ }
30
+ var objectProto$b = Object.prototype;
31
+ var nativeObjectToString = objectProto$b.toString;
32
+ function objectToString(value) {
33
+ return nativeObjectToString.call(value);
34
+ }
35
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
36
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
37
+ function baseGetTag(value) {
38
+ if (value == null) {
39
+ return value === void 0 ? undefinedTag : nullTag;
40
+ }
41
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
42
+ }
43
+ function isObjectLike(value) {
44
+ return value != null && typeof value == "object";
45
+ }
46
+ var isArray = Array.isArray;
47
+ var isArray$1 = isArray;
48
+ function isObject(value) {
49
+ var type = typeof value;
50
+ return value != null && (type == "object" || type == "function");
51
+ }
52
+ var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
53
+ function isFunction(value) {
54
+ if (!isObject(value)) {
55
+ return false;
56
+ }
57
+ var tag = baseGetTag(value);
58
+ return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
59
+ }
60
+ var coreJsData = root$1["__core-js_shared__"];
61
+ var coreJsData$1 = coreJsData;
62
+ var maskSrcKey = function() {
63
+ var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || "");
64
+ return uid ? "Symbol(src)_1." + uid : "";
65
+ }();
66
+ function isMasked(func) {
67
+ return !!maskSrcKey && maskSrcKey in func;
68
+ }
69
+ var funcProto$1 = Function.prototype;
70
+ var funcToString$1 = funcProto$1.toString;
71
+ function toSource(func) {
72
+ if (func != null) {
73
+ try {
74
+ return funcToString$1.call(func);
75
+ } catch (e) {
76
+ }
77
+ try {
78
+ return func + "";
79
+ } catch (e) {
80
+ }
81
+ }
82
+ return "";
83
+ }
84
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
85
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
86
+ var funcProto = Function.prototype, objectProto$a = Object.prototype;
87
+ var funcToString = funcProto.toString;
88
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
89
+ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$8).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
90
+ function baseIsNative(value) {
91
+ if (!isObject(value) || isMasked(value)) {
92
+ return false;
93
+ }
94
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
95
+ return pattern.test(toSource(value));
96
+ }
97
+ function getValue(object, key) {
98
+ return object == null ? void 0 : object[key];
99
+ }
100
+ function getNative(object, key) {
101
+ var value = getValue(object, key);
102
+ return baseIsNative(value) ? value : void 0;
103
+ }
104
+ var WeakMap = getNative(root$1, "WeakMap");
105
+ var WeakMap$1 = WeakMap;
106
+ var objectCreate = Object.create;
107
+ var baseCreate = function() {
108
+ function object() {
109
+ }
110
+ return function(proto) {
111
+ if (!isObject(proto)) {
112
+ return {};
113
+ }
114
+ if (objectCreate) {
115
+ return objectCreate(proto);
116
+ }
117
+ object.prototype = proto;
118
+ var result = new object();
119
+ object.prototype = void 0;
120
+ return result;
121
+ };
122
+ }();
123
+ var baseCreate$1 = baseCreate;
124
+ function copyArray(source, array) {
125
+ var index2 = -1, length = source.length;
126
+ array || (array = Array(length));
127
+ while (++index2 < length) {
128
+ array[index2] = source[index2];
129
+ }
130
+ return array;
131
+ }
132
+ var defineProperty = function() {
133
+ try {
134
+ var func = getNative(Object, "defineProperty");
135
+ func({}, "", {});
136
+ return func;
137
+ } catch (e) {
138
+ }
139
+ }();
140
+ var defineProperty$1 = defineProperty;
141
+ function arrayEach(array, iteratee) {
142
+ var index2 = -1, length = array == null ? 0 : array.length;
143
+ while (++index2 < length) {
144
+ if (iteratee(array[index2], index2, array) === false) {
145
+ break;
146
+ }
147
+ }
148
+ return array;
149
+ }
150
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
151
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
152
+ function isIndex(value, length) {
153
+ var type = typeof value;
154
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
155
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
156
+ }
157
+ function baseAssignValue(object, key, value) {
158
+ if (key == "__proto__" && defineProperty$1) {
159
+ defineProperty$1(object, key, {
160
+ "configurable": true,
161
+ "enumerable": true,
162
+ "value": value,
163
+ "writable": true
164
+ });
165
+ } else {
166
+ object[key] = value;
167
+ }
168
+ }
169
+ function eq(value, other) {
170
+ return value === other || value !== value && other !== other;
171
+ }
172
+ var objectProto$9 = Object.prototype;
173
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
174
+ function assignValue(object, key, value) {
175
+ var objValue = object[key];
176
+ if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
177
+ baseAssignValue(object, key, value);
178
+ }
179
+ }
180
+ function copyObject(source, props, object, customizer) {
181
+ var isNew = !object;
182
+ object || (object = {});
183
+ var index2 = -1, length = props.length;
184
+ while (++index2 < length) {
185
+ var key = props[index2];
186
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
187
+ if (newValue === void 0) {
188
+ newValue = source[key];
189
+ }
190
+ if (isNew) {
191
+ baseAssignValue(object, key, newValue);
192
+ } else {
193
+ assignValue(object, key, newValue);
194
+ }
195
+ }
196
+ return object;
197
+ }
198
+ var MAX_SAFE_INTEGER = 9007199254740991;
199
+ function isLength(value) {
200
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
201
+ }
202
+ function isArrayLike(value) {
203
+ return value != null && isLength(value.length) && !isFunction(value);
204
+ }
205
+ var objectProto$8 = Object.prototype;
206
+ function isPrototype(value) {
207
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
208
+ return value === proto;
209
+ }
210
+ function baseTimes(n, iteratee) {
211
+ var index2 = -1, result = Array(n);
212
+ while (++index2 < n) {
213
+ result[index2] = iteratee(index2);
214
+ }
215
+ return result;
216
+ }
217
+ var argsTag$2 = "[object Arguments]";
218
+ function baseIsArguments(value) {
219
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
220
+ }
221
+ var objectProto$7 = Object.prototype;
222
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
223
+ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
224
+ var isArguments = baseIsArguments(function() {
225
+ return arguments;
226
+ }()) ? baseIsArguments : function(value) {
227
+ return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
228
+ };
229
+ var isArguments$1 = isArguments;
230
+ function stubFalse() {
231
+ return false;
232
+ }
233
+ var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
234
+ var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module;
235
+ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
236
+ var Buffer$1 = moduleExports$2 ? root$1.Buffer : void 0;
237
+ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : void 0;
238
+ var isBuffer = nativeIsBuffer || stubFalse;
239
+ var isBuffer$1 = isBuffer;
240
+ var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", errorTag$1 = "[object Error]", funcTag$1 = "[object Function]", mapTag$4 = "[object Map]", numberTag$2 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$2 = "[object RegExp]", setTag$4 = "[object Set]", stringTag$2 = "[object String]", weakMapTag$2 = "[object WeakMap]";
241
+ var arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$3 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]";
242
+ var typedArrayTags = {};
243
+ typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
244
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] = typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$4] = typedArrayTags[numberTag$2] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] = typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] = typedArrayTags[weakMapTag$2] = false;
245
+ function baseIsTypedArray(value) {
246
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
247
+ }
248
+ function baseUnary(func) {
249
+ return function(value) {
250
+ return func(value);
251
+ };
252
+ }
253
+ var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
254
+ var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
255
+ var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
256
+ var freeProcess = moduleExports$1 && freeGlobal$1.process;
257
+ var nodeUtil = function() {
258
+ try {
259
+ var types = freeModule$1 && freeModule$1.require && freeModule$1.require("util").types;
260
+ if (types) {
261
+ return types;
262
+ }
263
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
264
+ } catch (e) {
265
+ }
266
+ }();
267
+ var nodeUtil$1 = nodeUtil;
268
+ var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
269
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
270
+ var isTypedArray$1 = isTypedArray;
271
+ var objectProto$6 = Object.prototype;
272
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
273
+ function arrayLikeKeys(value, inherited) {
274
+ var isArr = isArray$1(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
275
+ for (var key in value) {
276
+ if ((inherited || hasOwnProperty$5.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
277
+ result.push(key);
278
+ }
279
+ }
280
+ return result;
281
+ }
282
+ function overArg(func, transform) {
283
+ return function(arg) {
284
+ return func(transform(arg));
285
+ };
286
+ }
287
+ var nativeKeys = overArg(Object.keys, Object);
288
+ var nativeKeys$1 = nativeKeys;
289
+ var objectProto$5 = Object.prototype;
290
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
291
+ function baseKeys(object) {
292
+ if (!isPrototype(object)) {
293
+ return nativeKeys$1(object);
294
+ }
295
+ var result = [];
296
+ for (var key in Object(object)) {
297
+ if (hasOwnProperty$4.call(object, key) && key != "constructor") {
298
+ result.push(key);
299
+ }
300
+ }
301
+ return result;
302
+ }
303
+ function keys(object) {
304
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
305
+ }
306
+ function nativeKeysIn(object) {
307
+ var result = [];
308
+ if (object != null) {
309
+ for (var key in Object(object)) {
310
+ result.push(key);
311
+ }
312
+ }
313
+ return result;
314
+ }
315
+ var objectProto$4 = Object.prototype;
316
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
317
+ function baseKeysIn(object) {
318
+ if (!isObject(object)) {
319
+ return nativeKeysIn(object);
320
+ }
321
+ var isProto = isPrototype(object), result = [];
322
+ for (var key in object) {
323
+ if (!(key == "constructor" && (isProto || !hasOwnProperty$3.call(object, key)))) {
324
+ result.push(key);
325
+ }
326
+ }
327
+ return result;
328
+ }
329
+ function keysIn(object) {
330
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
331
+ }
332
+ var nativeCreate = getNative(Object, "create");
333
+ var nativeCreate$1 = nativeCreate;
334
+ function hashClear() {
335
+ this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
336
+ this.size = 0;
337
+ }
338
+ function hashDelete(key) {
339
+ var result = this.has(key) && delete this.__data__[key];
340
+ this.size -= result ? 1 : 0;
341
+ return result;
342
+ }
343
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
344
+ var objectProto$3 = Object.prototype;
345
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
346
+ function hashGet(key) {
347
+ var data = this.__data__;
348
+ if (nativeCreate$1) {
349
+ var result = data[key];
350
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
351
+ }
352
+ return hasOwnProperty$2.call(data, key) ? data[key] : void 0;
353
+ }
354
+ var objectProto$2 = Object.prototype;
355
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
356
+ function hashHas(key) {
357
+ var data = this.__data__;
358
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$1.call(data, key);
359
+ }
360
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
361
+ function hashSet(key, value) {
362
+ var data = this.__data__;
363
+ this.size += this.has(key) ? 0 : 1;
364
+ data[key] = nativeCreate$1 && value === void 0 ? HASH_UNDEFINED : value;
365
+ return this;
366
+ }
367
+ function Hash(entries) {
368
+ var index2 = -1, length = entries == null ? 0 : entries.length;
369
+ this.clear();
370
+ while (++index2 < length) {
371
+ var entry = entries[index2];
372
+ this.set(entry[0], entry[1]);
373
+ }
374
+ }
375
+ Hash.prototype.clear = hashClear;
376
+ Hash.prototype["delete"] = hashDelete;
377
+ Hash.prototype.get = hashGet;
378
+ Hash.prototype.has = hashHas;
379
+ Hash.prototype.set = hashSet;
380
+ function listCacheClear() {
381
+ this.__data__ = [];
382
+ this.size = 0;
383
+ }
384
+ function assocIndexOf(array, key) {
385
+ var length = array.length;
386
+ while (length--) {
387
+ if (eq(array[length][0], key)) {
388
+ return length;
389
+ }
390
+ }
391
+ return -1;
392
+ }
393
+ var arrayProto = Array.prototype;
394
+ var splice = arrayProto.splice;
395
+ function listCacheDelete(key) {
396
+ var data = this.__data__, index2 = assocIndexOf(data, key);
397
+ if (index2 < 0) {
398
+ return false;
399
+ }
400
+ var lastIndex = data.length - 1;
401
+ if (index2 == lastIndex) {
402
+ data.pop();
403
+ } else {
404
+ splice.call(data, index2, 1);
405
+ }
406
+ --this.size;
407
+ return true;
408
+ }
409
+ function listCacheGet(key) {
410
+ var data = this.__data__, index2 = assocIndexOf(data, key);
411
+ return index2 < 0 ? void 0 : data[index2][1];
412
+ }
413
+ function listCacheHas(key) {
414
+ return assocIndexOf(this.__data__, key) > -1;
415
+ }
416
+ function listCacheSet(key, value) {
417
+ var data = this.__data__, index2 = assocIndexOf(data, key);
418
+ if (index2 < 0) {
419
+ ++this.size;
420
+ data.push([key, value]);
421
+ } else {
422
+ data[index2][1] = value;
423
+ }
424
+ return this;
425
+ }
426
+ function ListCache(entries) {
427
+ var index2 = -1, length = entries == null ? 0 : entries.length;
428
+ this.clear();
429
+ while (++index2 < length) {
430
+ var entry = entries[index2];
431
+ this.set(entry[0], entry[1]);
432
+ }
433
+ }
434
+ ListCache.prototype.clear = listCacheClear;
435
+ ListCache.prototype["delete"] = listCacheDelete;
436
+ ListCache.prototype.get = listCacheGet;
437
+ ListCache.prototype.has = listCacheHas;
438
+ ListCache.prototype.set = listCacheSet;
439
+ var Map = getNative(root$1, "Map");
440
+ var Map$1 = Map;
441
+ function mapCacheClear() {
442
+ this.size = 0;
443
+ this.__data__ = {
444
+ "hash": new Hash(),
445
+ "map": new (Map$1 || ListCache)(),
446
+ "string": new Hash()
447
+ };
448
+ }
449
+ function isKeyable(value) {
450
+ var type = typeof value;
451
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
452
+ }
453
+ function getMapData(map, key) {
454
+ var data = map.__data__;
455
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
456
+ }
457
+ function mapCacheDelete(key) {
458
+ var result = getMapData(this, key)["delete"](key);
459
+ this.size -= result ? 1 : 0;
460
+ return result;
461
+ }
462
+ function mapCacheGet(key) {
463
+ return getMapData(this, key).get(key);
464
+ }
465
+ function mapCacheHas(key) {
466
+ return getMapData(this, key).has(key);
467
+ }
468
+ function mapCacheSet(key, value) {
469
+ var data = getMapData(this, key), size = data.size;
470
+ data.set(key, value);
471
+ this.size += data.size == size ? 0 : 1;
472
+ return this;
473
+ }
474
+ function MapCache(entries) {
475
+ var index2 = -1, length = entries == null ? 0 : entries.length;
476
+ this.clear();
477
+ while (++index2 < length) {
478
+ var entry = entries[index2];
479
+ this.set(entry[0], entry[1]);
480
+ }
481
+ }
482
+ MapCache.prototype.clear = mapCacheClear;
483
+ MapCache.prototype["delete"] = mapCacheDelete;
484
+ MapCache.prototype.get = mapCacheGet;
485
+ MapCache.prototype.has = mapCacheHas;
486
+ MapCache.prototype.set = mapCacheSet;
487
+ function arrayPush(array, values) {
488
+ var index2 = -1, length = values.length, offset = array.length;
489
+ while (++index2 < length) {
490
+ array[offset + index2] = values[index2];
491
+ }
492
+ return array;
493
+ }
494
+ var getPrototype = overArg(Object.getPrototypeOf, Object);
495
+ var getPrototype$1 = getPrototype;
496
+ function stackClear() {
497
+ this.__data__ = new ListCache();
498
+ this.size = 0;
499
+ }
500
+ function stackDelete(key) {
501
+ var data = this.__data__, result = data["delete"](key);
502
+ this.size = data.size;
503
+ return result;
504
+ }
505
+ function stackGet(key) {
506
+ return this.__data__.get(key);
507
+ }
508
+ function stackHas(key) {
509
+ return this.__data__.has(key);
510
+ }
511
+ var LARGE_ARRAY_SIZE = 200;
512
+ function stackSet(key, value) {
513
+ var data = this.__data__;
514
+ if (data instanceof ListCache) {
515
+ var pairs = data.__data__;
516
+ if (!Map$1 || pairs.length < LARGE_ARRAY_SIZE - 1) {
517
+ pairs.push([key, value]);
518
+ this.size = ++data.size;
519
+ return this;
520
+ }
521
+ data = this.__data__ = new MapCache(pairs);
522
+ }
523
+ data.set(key, value);
524
+ this.size = data.size;
525
+ return this;
526
+ }
527
+ function Stack(entries) {
528
+ var data = this.__data__ = new ListCache(entries);
529
+ this.size = data.size;
530
+ }
531
+ Stack.prototype.clear = stackClear;
532
+ Stack.prototype["delete"] = stackDelete;
533
+ Stack.prototype.get = stackGet;
534
+ Stack.prototype.has = stackHas;
535
+ Stack.prototype.set = stackSet;
536
+ function baseAssign(object, source) {
537
+ return object && copyObject(source, keys(source), object);
538
+ }
539
+ function baseAssignIn(object, source) {
540
+ return object && copyObject(source, keysIn(source), object);
541
+ }
542
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
543
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
544
+ var moduleExports = freeModule && freeModule.exports === freeExports;
545
+ var Buffer = moduleExports ? root$1.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
546
+ function cloneBuffer(buffer, isDeep) {
547
+ if (isDeep) {
548
+ return buffer.slice();
549
+ }
550
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
551
+ buffer.copy(result);
552
+ return result;
553
+ }
554
+ function arrayFilter(array, predicate) {
555
+ var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
556
+ while (++index2 < length) {
557
+ var value = array[index2];
558
+ if (predicate(value, index2, array)) {
559
+ result[resIndex++] = value;
560
+ }
561
+ }
562
+ return result;
563
+ }
564
+ function stubArray() {
565
+ return [];
566
+ }
567
+ var objectProto$1 = Object.prototype;
568
+ var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
569
+ var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
570
+ var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
571
+ if (object == null) {
572
+ return [];
573
+ }
574
+ object = Object(object);
575
+ return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
576
+ return propertyIsEnumerable.call(object, symbol);
577
+ });
578
+ };
579
+ var getSymbols$1 = getSymbols;
580
+ function copySymbols(source, object) {
581
+ return copyObject(source, getSymbols$1(source), object);
582
+ }
583
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
584
+ var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
585
+ var result = [];
586
+ while (object) {
587
+ arrayPush(result, getSymbols$1(object));
588
+ object = getPrototype$1(object);
589
+ }
590
+ return result;
591
+ };
592
+ var getSymbolsIn$1 = getSymbolsIn;
593
+ function copySymbolsIn(source, object) {
594
+ return copyObject(source, getSymbolsIn$1(source), object);
595
+ }
596
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
597
+ var result = keysFunc(object);
598
+ return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
599
+ }
600
+ function getAllKeys(object) {
601
+ return baseGetAllKeys(object, keys, getSymbols$1);
602
+ }
603
+ function getAllKeysIn(object) {
604
+ return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
605
+ }
606
+ var DataView = getNative(root$1, "DataView");
607
+ var DataView$1 = DataView;
608
+ var Promise$1 = getNative(root$1, "Promise");
609
+ var Promise$2 = Promise$1;
610
+ var Set = getNative(root$1, "Set");
611
+ var Set$1 = Set;
612
+ var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
613
+ var dataViewTag$2 = "[object DataView]";
614
+ var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
615
+ var getTag = baseGetTag;
616
+ if (DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$2 || Map$1 && getTag(new Map$1()) != mapTag$3 || Promise$2 && getTag(Promise$2.resolve()) != promiseTag || Set$1 && getTag(new Set$1()) != setTag$3 || WeakMap$1 && getTag(new WeakMap$1()) != weakMapTag$1) {
617
+ getTag = function(value) {
618
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
619
+ if (ctorString) {
620
+ switch (ctorString) {
621
+ case dataViewCtorString:
622
+ return dataViewTag$2;
623
+ case mapCtorString:
624
+ return mapTag$3;
625
+ case promiseCtorString:
626
+ return promiseTag;
627
+ case setCtorString:
628
+ return setTag$3;
629
+ case weakMapCtorString:
630
+ return weakMapTag$1;
631
+ }
632
+ }
633
+ return result;
634
+ };
635
+ }
636
+ var getTag$1 = getTag;
637
+ var objectProto = Object.prototype;
638
+ var hasOwnProperty = objectProto.hasOwnProperty;
639
+ function initCloneArray(array) {
640
+ var length = array.length, result = new array.constructor(length);
641
+ if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
642
+ result.index = array.index;
643
+ result.input = array.input;
644
+ }
645
+ return result;
646
+ }
647
+ var Uint8Array = root$1.Uint8Array;
648
+ var Uint8Array$1 = Uint8Array;
649
+ function cloneArrayBuffer(arrayBuffer) {
650
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
651
+ new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
652
+ return result;
653
+ }
654
+ function cloneDataView(dataView, isDeep) {
655
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
656
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
657
+ }
658
+ var reFlags = /\w*$/;
659
+ function cloneRegExp(regexp) {
660
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
661
+ result.lastIndex = regexp.lastIndex;
662
+ return result;
663
+ }
664
+ var symbolProto = Symbol$2 ? Symbol$2.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
665
+ function cloneSymbol(symbol) {
666
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
667
+ }
668
+ function cloneTypedArray(typedArray, isDeep) {
669
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
670
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
671
+ }
672
+ var boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]";
673
+ var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
674
+ function initCloneByTag(object, tag, isDeep) {
675
+ var Ctor = object.constructor;
676
+ switch (tag) {
677
+ case arrayBufferTag$1:
678
+ return cloneArrayBuffer(object);
679
+ case boolTag$1:
680
+ case dateTag$1:
681
+ return new Ctor(+object);
682
+ case dataViewTag$1:
683
+ return cloneDataView(object, isDeep);
684
+ case float32Tag$1:
685
+ case float64Tag$1:
686
+ case int8Tag$1:
687
+ case int16Tag$1:
688
+ case int32Tag$1:
689
+ case uint8Tag$1:
690
+ case uint8ClampedTag$1:
691
+ case uint16Tag$1:
692
+ case uint32Tag$1:
693
+ return cloneTypedArray(object, isDeep);
694
+ case mapTag$2:
695
+ return new Ctor();
696
+ case numberTag$1:
697
+ case stringTag$1:
698
+ return new Ctor(object);
699
+ case regexpTag$1:
700
+ return cloneRegExp(object);
701
+ case setTag$2:
702
+ return new Ctor();
703
+ case symbolTag$1:
704
+ return cloneSymbol(object);
705
+ }
706
+ }
707
+ function initCloneObject(object) {
708
+ return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate$1(getPrototype$1(object)) : {};
709
+ }
710
+ var mapTag$1 = "[object Map]";
711
+ function baseIsMap(value) {
712
+ return isObjectLike(value) && getTag$1(value) == mapTag$1;
713
+ }
714
+ var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
715
+ var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
716
+ var isMap$1 = isMap;
717
+ var setTag$1 = "[object Set]";
718
+ function baseIsSet(value) {
719
+ return isObjectLike(value) && getTag$1(value) == setTag$1;
720
+ }
721
+ var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
722
+ var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
723
+ var isSet$1 = isSet;
724
+ var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
725
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
726
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
727
+ var cloneableTags = {};
728
+ cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
729
+ cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
730
+ function baseClone(value, bitmask, customizer, key, object, stack) {
731
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
732
+ if (customizer) {
733
+ result = object ? customizer(value, key, object, stack) : customizer(value);
734
+ }
735
+ if (result !== void 0) {
736
+ return result;
737
+ }
738
+ if (!isObject(value)) {
739
+ return value;
740
+ }
741
+ var isArr = isArray$1(value);
742
+ if (isArr) {
743
+ result = initCloneArray(value);
744
+ if (!isDeep) {
745
+ return copyArray(value, result);
746
+ }
747
+ } else {
748
+ var tag = getTag$1(value), isFunc = tag == funcTag || tag == genTag;
749
+ if (isBuffer$1(value)) {
750
+ return cloneBuffer(value, isDeep);
751
+ }
752
+ if (tag == objectTag || tag == argsTag || isFunc && !object) {
753
+ result = isFlat || isFunc ? {} : initCloneObject(value);
754
+ if (!isDeep) {
755
+ return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
756
+ }
757
+ } else {
758
+ if (!cloneableTags[tag]) {
759
+ return object ? value : {};
760
+ }
761
+ result = initCloneByTag(value, tag, isDeep);
762
+ }
763
+ }
764
+ stack || (stack = new Stack());
765
+ var stacked = stack.get(value);
766
+ if (stacked) {
767
+ return stacked;
768
+ }
769
+ stack.set(value, result);
770
+ if (isSet$1(value)) {
771
+ value.forEach(function(subValue) {
772
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
773
+ });
774
+ } else if (isMap$1(value)) {
775
+ value.forEach(function(subValue, key2) {
776
+ result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
777
+ });
778
+ }
779
+ var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;
780
+ var props = isArr ? void 0 : keysFunc(value);
781
+ arrayEach(props || value, function(subValue, key2) {
782
+ if (props) {
783
+ key2 = subValue;
784
+ subValue = value[key2];
785
+ }
786
+ assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
787
+ });
788
+ return result;
789
+ }
790
+ var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
791
+ function cloneDeep(value) {
792
+ return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
793
+ }
794
+ const useRootClassName = (props, menuShow) => {
795
+ return computed(() => ({
796
+ "devui-cascader devui-dropdown devui-dropdown-animation": true,
797
+ "devui-dropdown__open": menuShow.value,
798
+ "devui-cascader__disbaled": props.disabled
799
+ }));
800
+ };
801
+ const useListClassName = (props) => {
802
+ var _a, _b;
803
+ const itemProps = props == null ? void 0 : props.cascaderItemNeedProps;
804
+ const isActive = (itemProps == null ? void 0 : itemProps.valueCache[props.ulIndex]) === ((_a = props.cascaderItem) == null ? void 0 : _a.value);
805
+ const isDisabled = (_b = props.cascaderItem) == null ? void 0 : _b.disabled;
806
+ return computed(() => ({
807
+ "devui-cascader-li devui-dropdown-item": true,
808
+ "devui-leaf-active": isActive,
809
+ "disabled": isDisabled
810
+ }));
811
+ };
812
+ const useUlClassName = (props) => {
813
+ return computed(() => {
814
+ var _a;
815
+ return {
816
+ "devui-cascader-ul": true,
817
+ "devui-drop-no-data": ((_a = props == null ? void 0 : props.cascaderItems) == null ? void 0 : _a.length) === 0
818
+ };
819
+ });
820
+ };
821
+ const dropdownOpenClass = (status) => {
822
+ return status ? "devui-drop-menu-wrapper" : "";
823
+ };
824
+ const useRootStyle = (props) => {
825
+ return {
826
+ inputWidth: `width: ${props.width}px`
827
+ };
828
+ };
829
+ const useDropdownStyle = (props) => {
830
+ return {
831
+ dropdownWidth: `width: ${props == null ? void 0 : props.dropdownWidth}px`
832
+ };
833
+ };
3
834
  const cascaderProps = {
4
835
  trigger: {
5
836
  type: String,
6
837
  default: "hover"
7
838
  },
839
+ width: {
840
+ type: Number || String,
841
+ default: 200
842
+ },
843
+ dropdownWidth: {
844
+ type: Number || String,
845
+ default: 200
846
+ },
8
847
  options: {
9
848
  type: Array,
10
849
  default: [],
11
850
  required: true
12
851
  },
852
+ multiple: {
853
+ type: Boolean,
854
+ default: false
855
+ },
856
+ showPath: {
857
+ type: Boolean,
858
+ default: false
859
+ },
860
+ value: {
861
+ type: Array,
862
+ default: []
863
+ },
13
864
  disabled: {
14
865
  type: Boolean,
15
866
  default: false
@@ -17,116 +868,351 @@ const cascaderProps = {
17
868
  placeholder: {
18
869
  type: String,
19
870
  default: ""
871
+ },
872
+ change: {
873
+ type: Function,
874
+ default: void 0
20
875
  }
21
876
  };
22
- const getRootClass$2 = (props, menuShow) => {
23
- return computed(() => ({
24
- "devui-cascader devui-dropdown devui-dropdown-animation": true,
25
- "devui-dropdown__open": menuShow.value,
26
- "devui-cascader__disbaled": props.disabled
27
- }));
28
- };
29
- const popupHandles = () => {
30
- const menuShow = ref(false);
31
- const menuOpenClass = ref("");
32
- const openPopup = () => {
33
- menuShow.value = !menuShow.value;
34
- };
35
- watch(menuShow, (status) => {
36
- menuOpenClass.value = status ? "devui-drop-menu-wrapper" : "";
37
- });
38
- return {
39
- menuShow,
40
- menuOpenClass,
41
- openPopup
42
- };
43
- };
44
- const getRootClass$1 = () => {
45
- return computed(() => ({
46
- "devui-cascader-ul": true
47
- }));
48
- };
49
- var index$2 = "";
50
877
  const cascaderulProps = {
51
- cascaderlis: {
878
+ cascaderItems: {
52
879
  type: Array,
53
- default: []
880
+ default: () => [{
881
+ label: "",
882
+ value: null
883
+ }]
884
+ },
885
+ dropdownWidth: {
886
+ type: Number || String,
887
+ default: 200
54
888
  },
55
889
  ulIndex: {
56
890
  type: Number,
57
891
  default: 0
892
+ },
893
+ cascaderItemNeedProps: {
894
+ type: Object,
895
+ default: () => ({})
896
+ },
897
+ stopDefault: {
898
+ type: Boolean,
899
+ default: false
900
+ },
901
+ cascaderOptions: {
902
+ type: Array,
903
+ default: () => [[{
904
+ label: "",
905
+ value: null
906
+ }]]
58
907
  }
59
908
  };
60
- const getRootClass = () => {
61
- return computed(() => ({
62
- "devui-cascader-li devui-dropdown-item": true
63
- }));
909
+ const initTagList = (tagList) => {
910
+ tagList.splice(0, tagList.length);
64
911
  };
65
- let cascaderOptions;
66
- const optionsHandles = (options) => {
67
- if (options) {
68
- cascaderOptions = reactive([options]);
912
+ const multipleAddTag = (tagList, singleItem) => {
913
+ tagList.push(singleItem);
914
+ };
915
+ const multipleDeleteTag = (tagList, singleItem) => {
916
+ const i = tagList.findIndex((item) => item.value === singleItem.value);
917
+ tagList.splice(i, 1);
918
+ };
919
+ const initMultipleCascaderItem = (targetValues, rootColumn, tagList) => {
920
+ findNextColumn(targetValues, rootColumn, 0, tagList);
921
+ };
922
+ const findNextColumn = (targetValues, options, index2, tagList) => {
923
+ var _a;
924
+ let targetNode = options.find((t) => t.value === targetValues[index2]);
925
+ if (((_a = targetNode == null ? void 0 : targetNode.children) == null ? void 0 : _a.length) > 0) {
926
+ index2 += 1;
927
+ targetNode = setChildrenParent(targetNode);
928
+ findNextColumn(targetValues, targetNode.children, index2, tagList);
929
+ } else {
930
+ multipleAddTag(tagList, targetNode);
931
+ targetNode["checked"] = true;
932
+ findChildrenCheckedStatusToUpdateParent(targetNode == null ? void 0 : targetNode.parent);
69
933
  }
70
- const changeCascaderIndexs = (optionItem, ulIndex) => {
934
+ };
935
+ const setChildrenParent = (parentNode) => {
936
+ parentNode == null ? void 0 : parentNode.children.forEach((child) => {
937
+ child.parent = parentNode;
938
+ });
939
+ return parentNode;
940
+ };
941
+ const updateCheckOptionStatus = (tagList) => {
942
+ const updateStatus = (node, options, ulIndex) => {
943
+ updateCurNodeStatus(node, ulIndex);
944
+ ulIndex -= 1;
945
+ const parentNode = node == null ? void 0 : node.parent;
946
+ updateParentNodeStatus(parentNode, options, ulIndex);
947
+ };
948
+ const updateCurNodeStatus = (node, ulIndex) => {
949
+ if (node == null ? void 0 : node.halfChecked) {
950
+ node["halfChecked"] = false;
951
+ node["checked"] = false;
952
+ updateCheckStatusLoop(node, "halfChecked", ulIndex);
953
+ } else {
954
+ node["checked"] = !node.checked;
955
+ updateCheckStatusLoop(node, "checked", ulIndex, node.checked);
956
+ }
957
+ };
958
+ const updateCheckStatusLoop = (node, type, ulIndex, status) => {
71
959
  var _a;
72
- if (!cascaderOptions)
73
- return;
74
- if (((_a = optionItem == null ? void 0 : optionItem.children) == null ? void 0 : _a.length) > 0) {
75
- cascaderOptions[ulIndex + 1] = optionItem.children;
960
+ if (((_a = node == null ? void 0 : node.children) == null ? void 0 : _a.length) > 0) {
961
+ node.children.forEach((item) => {
962
+ if (item.disabled)
963
+ return;
964
+ if (type === "checked") {
965
+ item[type] = status;
966
+ item["halfChecked"] = false;
967
+ updateCheckStatusLoop(item, type, ulIndex, status);
968
+ } else if (type === "halfChecked") {
969
+ item["halfChecked"] = false;
970
+ item["checked"] = false;
971
+ !status && updateCheckStatusLoop(item, type, ulIndex);
972
+ }
973
+ });
76
974
  } else {
77
- cascaderOptions.splice(ulIndex + 1, cascaderOptions.length - 1 - ulIndex);
975
+ !node.checked ? multipleDeleteTag(tagList, node) : multipleAddTag(tagList, node);
78
976
  }
79
977
  };
80
978
  return {
81
- cascaderOptions,
82
- changeCascaderIndexs
979
+ updateStatus
83
980
  };
84
981
  };
85
- var index$1 = "";
982
+ const findChildrenCheckedStatusToUpdateParent = (node) => {
983
+ var _a, _b, _c;
984
+ const checkedChild = (_a = node == null ? void 0 : node.children) == null ? void 0 : _a.find((t) => t["checked"]);
985
+ const halfcheckedChild = (_b = node == null ? void 0 : node.children) == null ? void 0 : _b.find((t) => t["halfChecked"]);
986
+ const uncheckedChild = (_c = node == null ? void 0 : node.children) == null ? void 0 : _c.find((t) => !t["halfChecked"] && !t["checked"]);
987
+ if (halfcheckedChild || checkedChild && uncheckedChild) {
988
+ node["checked"] = false;
989
+ node["halfChecked"] = true;
990
+ } else if (!checkedChild && !halfcheckedChild) {
991
+ node["checked"] = false;
992
+ node["halfChecked"] = false;
993
+ } else {
994
+ node["checked"] = true;
995
+ node["halfChecked"] = false;
996
+ }
997
+ };
998
+ const updateParentNodeStatus = (node, options, ulIndex) => {
999
+ if (ulIndex < 0)
1000
+ return;
1001
+ findChildrenCheckedStatusToUpdateParent(node);
1002
+ ulIndex -= 1;
1003
+ const parentNode = node == null ? void 0 : node.parent;
1004
+ updateParentNodeStatus(parentNode, options, ulIndex);
1005
+ };
1006
+ const initActiveIndexs = (values, curColumn, index2, activeIndexs) => {
1007
+ var _a, _b;
1008
+ let nextOption = null;
1009
+ for (let i = 0; i < curColumn.length; i++) {
1010
+ if (((_a = curColumn[i]) == null ? void 0 : _a.value) === values[index2]) {
1011
+ nextOption = (_b = curColumn[i]) == null ? void 0 : _b.children;
1012
+ activeIndexs[index2] = i;
1013
+ break;
1014
+ }
1015
+ }
1016
+ if (index2 < values.length - 1 && nextOption) {
1017
+ index2 += 1;
1018
+ initActiveIndexs(values, nextOption, index2, activeIndexs);
1019
+ }
1020
+ };
1021
+ const initSingleIptValue = (inputValueCache) => {
1022
+ inputValueCache.value = "";
1023
+ };
1024
+ const singleChoose = (ulIndex, valueCache, cascaderItem) => {
1025
+ valueCache.splice(ulIndex, valueCache.length - ulIndex);
1026
+ valueCache[ulIndex] = cascaderItem == null ? void 0 : cascaderItem.value;
1027
+ };
1028
+ var index$4 = "";
86
1029
  const DCascaderItem = (props) => {
87
1030
  var _a;
88
1031
  const {
89
- cascaderli,
90
- ulIndex
1032
+ cascaderItem,
1033
+ ulIndex,
1034
+ liIndex,
1035
+ cascaderItemNeedProps,
1036
+ cascaderOptions
91
1037
  } = props;
92
1038
  const {
93
- changeCascaderIndexs
94
- } = optionsHandles();
95
- const rootClasses = getRootClass();
96
- const mouseHover = () => {
97
- changeCascaderIndexs(cascaderli, ulIndex);
1039
+ multiple,
1040
+ stopDefault,
1041
+ valueCache,
1042
+ activeIndexs,
1043
+ trigger,
1044
+ confirmInputValueFlg,
1045
+ tagList
1046
+ } = cascaderItemNeedProps;
1047
+ const isTriggerHover = trigger === "hover";
1048
+ const rootClasses = useListClassName(props);
1049
+ const {
1050
+ updateStatus
1051
+ } = updateCheckOptionStatus(tagList);
1052
+ const disbaled = computed(() => cascaderItem == null ? void 0 : cascaderItem.disabled);
1053
+ const updateValues = () => {
1054
+ if (stopDefault.value)
1055
+ return;
1056
+ activeIndexs.splice(ulIndex, activeIndexs.length - ulIndex);
1057
+ activeIndexs[ulIndex] = liIndex;
1058
+ if (!multiple) {
1059
+ singleChoose(ulIndex, valueCache, cascaderItem);
1060
+ }
1061
+ };
1062
+ const mouseEnter = () => {
1063
+ if (disbaled.value || multiple)
1064
+ return;
1065
+ updateValues();
1066
+ };
1067
+ const mouseenter = {
1068
+ [isTriggerHover && "onMouseenter"]: mouseEnter
1069
+ };
1070
+ const mouseClick = () => {
1071
+ var _a2;
1072
+ if (disbaled.value)
1073
+ return;
1074
+ updateValues();
1075
+ if (!multiple && (!cascaderItem.children || ((_a2 = cascaderItem == null ? void 0 : cascaderItem.children) == null ? void 0 : _a2.length) === 0)) {
1076
+ confirmInputValueFlg.value = !confirmInputValueFlg.value;
1077
+ }
1078
+ };
1079
+ const checkboxChange = () => {
1080
+ updateStatus(cascaderItem, cascaderOptions, ulIndex);
98
1081
  };
99
1082
  return createVNode("li", {
100
- "class": rootClasses.value,
101
- "onMouseover": mouseHover
102
- }, [createVNode("div", {
1083
+ "class": rootClasses.value
1084
+ }, [multiple && createVNode("div", {
1085
+ "class": "cascader-li__checkbox"
1086
+ }, [createVNode(resolveComponent("d-checkbox"), {
1087
+ "checked": cascaderItem == null ? void 0 : cascaderItem.checked,
1088
+ "disabled": cascaderItem.disabled,
1089
+ "halfchecked": cascaderItem == null ? void 0 : cascaderItem.halfChecked,
1090
+ "onChange": checkboxChange
1091
+ }, null)]), createVNode("div", mergeProps({
1092
+ "class": "cascader-li__wraper"
1093
+ }, mouseenter, {
1094
+ "onClick": mouseClick
1095
+ }), [cascaderItem.icon && createVNode("div", {
1096
+ "class": "cascader-li__icon" + (cascaderItem.disabled ? " disabled" : "")
1097
+ }, [createVNode(resolveComponent("d-icon"), {
1098
+ "name": cascaderItem.icon,
1099
+ "size": "inherit"
1100
+ }, null)]), createVNode("div", {
103
1101
  "class": "dropdown-item-label"
104
- }, [createVNode("span", null, [cascaderli.label])]), ((_a = cascaderli == null ? void 0 : cascaderli.children) == null ? void 0 : _a.length) > 0 && createVNode(resolveComponent("d-icon"), {
1102
+ }, [createVNode("span", null, [cascaderItem.label])]), ((_a = cascaderItem == null ? void 0 : cascaderItem.children) == null ? void 0 : _a.length) > 0 && createVNode(resolveComponent("d-icon"), {
105
1103
  "name": "chevron-right",
106
1104
  "size": "16px",
107
1105
  "color": "inherit"
108
- }, null)]);
1106
+ }, null)])]);
109
1107
  };
1108
+ var index$3 = "";
110
1109
  var DCascaderList = defineComponent({
111
1110
  name: "DCascaderList",
112
1111
  props: cascaderulProps,
113
1112
  setup(props) {
114
- const rootClasses = getRootClass$1();
115
- return () => createVNode("ul", {
116
- "class": rootClasses.value
117
- }, [props.cascaderlis.map((item, index2) => {
118
- return createVNode(DCascaderItem, mergeProps({
119
- "cascaderli": item,
120
- "liIndex": index2
121
- }, props), null);
122
- })]);
1113
+ const ulClass = useUlClassName(props);
1114
+ const ulStyle = useDropdownStyle(props);
1115
+ return () => {
1116
+ var _a;
1117
+ return createVNode("ul", {
1118
+ "class": ulClass.value,
1119
+ "style": ulStyle.dropdownWidth
1120
+ }, [((_a = props == null ? void 0 : props.cascaderItems) == null ? void 0 : _a.length) > 0 ? props.cascaderItems.map((item, index2) => {
1121
+ return createVNode(DCascaderItem, mergeProps({
1122
+ "cascaderItem": item,
1123
+ "liIndex": index2
1124
+ }, props), null);
1125
+ }) : createVNode("span", null, [createTextVNode("\u6CA1\u6709\u6570\u636E")])]);
1126
+ };
123
1127
  }
124
1128
  });
1129
+ var index$2 = "";
1130
+ var DTag = (props) => {
1131
+ const {
1132
+ tagList,
1133
+ tag
1134
+ } = props;
1135
+ const deleteCurrentTag = (e) => {
1136
+ e.stopPropagation();
1137
+ multipleDeleteTag(tagList, tag);
1138
+ };
1139
+ return createVNode("div", {
1140
+ "class": "devui-tag"
1141
+ }, [createVNode("span", null, [tag == null ? void 0 : tag.label]), createVNode("div", {
1142
+ "class": "devui-tag__close",
1143
+ "onClick": deleteCurrentTag
1144
+ }, [createVNode(resolveComponent("d-icon"), {
1145
+ "name": "close"
1146
+ }, null)])]);
1147
+ };
1148
+ var index$1 = "";
1149
+ var DMultipleBox = (props) => {
1150
+ return createVNode("div", {
1151
+ "class": "devui-tags-input"
1152
+ }, [createVNode("div", {
1153
+ "class": "devui-tags-box"
1154
+ }, [props.activeOptions.length > 0 ? props.activeOptions.map((item) => {
1155
+ return createVNode(DTag, {
1156
+ "tag": item,
1157
+ "tagList": props.activeOptions
1158
+ }, null);
1159
+ }) : createVNode("div", {
1160
+ "class": "devui-tags-placeholder"
1161
+ }, [props.placeholder])])]);
1162
+ };
1163
+ const useCascaderItem = (props, stopDefault, tagList) => {
1164
+ const cascaderItemNeedProps = {
1165
+ trigger: props.trigger,
1166
+ inputValueCache: ref(""),
1167
+ confirmInputValueFlg: ref(false),
1168
+ valueCache: reactive(cloneDeep(props.value)),
1169
+ value: reactive(cloneDeep(props.value)),
1170
+ multiple: props.multiple,
1171
+ activeIndexs: reactive([]),
1172
+ tagList,
1173
+ stopDefault
1174
+ };
1175
+ return {
1176
+ cascaderItemNeedProps
1177
+ };
1178
+ };
1179
+ const popupHandles = (props) => {
1180
+ const menuShow = ref(false);
1181
+ const menuOpenClass = ref("");
1182
+ const disabled = computed(() => props.disabled);
1183
+ const stopDefault = ref(false);
1184
+ const updateStopDefaultType = () => {
1185
+ stopDefault.value = !menuShow.value;
1186
+ };
1187
+ const openPopup = () => {
1188
+ if (disabled.value)
1189
+ return;
1190
+ menuShow.value = !menuShow.value;
1191
+ updateStopDefaultType();
1192
+ };
1193
+ watch(menuShow, (status) => {
1194
+ menuOpenClass.value = dropdownOpenClass(status);
1195
+ });
1196
+ return {
1197
+ menuShow,
1198
+ stopDefault,
1199
+ menuOpenClass,
1200
+ updateStopDefaultType,
1201
+ openPopup
1202
+ };
1203
+ };
1204
+ var cascader = "";
125
1205
  var Cascader = defineComponent({
126
1206
  name: "DCascader",
127
1207
  props: cascaderProps,
128
1208
  setup(props, ctx) {
129
1209
  const origin = ref(null);
1210
+ const cascaderOptions = reactive(cloneDeep([props == null ? void 0 : props.options]));
1211
+ const multiple = toRef(props, "multiple");
1212
+ const inputValue = ref("");
1213
+ const tagList = reactive([]);
1214
+ const rootStyle = useRootStyle(props);
1215
+ let initIptValue = props.value.length > 0 ? true : false;
130
1216
  const position = reactive({
131
1217
  originX: "left",
132
1218
  originY: "bottom",
@@ -136,19 +1222,85 @@ var Cascader = defineComponent({
136
1222
  const {
137
1223
  menuShow,
138
1224
  menuOpenClass,
139
- openPopup
140
- } = popupHandles();
141
- const rootClasses = getRootClass$2(props, menuShow);
1225
+ openPopup,
1226
+ stopDefault,
1227
+ updateStopDefaultType
1228
+ } = popupHandles(props);
1229
+ const rootClasses = useRootClassName(props, menuShow);
142
1230
  const {
143
- cascaderOptions: cascaderOptions2
144
- } = optionsHandles(props.options);
1231
+ cascaderItemNeedProps
1232
+ } = useCascaderItem(props, stopDefault, tagList);
1233
+ const getInputValue = (label, arr, inputValueCache, showPath) => {
1234
+ if (!showPath) {
1235
+ inputValueCache.value = label;
1236
+ } else {
1237
+ inputValueCache.value += label + ((arr == null ? void 0 : arr.length) > 0 ? " / " : "");
1238
+ }
1239
+ };
1240
+ const updateCascaderView = (value, currentOption, index2) => {
1241
+ if (index2 === value.length)
1242
+ return;
1243
+ const i = value[index2];
1244
+ const current = currentOption[i];
1245
+ const children = current == null ? void 0 : current.children;
1246
+ if ((children == null ? void 0 : children.length) > 0) {
1247
+ cascaderOptions[index2 + 1] = children;
1248
+ updateCascaderView(value, children, index2 + 1);
1249
+ } else {
1250
+ cascaderOptions.splice(index2 + 1, cascaderOptions.length - 1);
1251
+ }
1252
+ };
1253
+ const updateCascaderValue = (value, currentOption, index2) => {
1254
+ if (!multiple.value) {
1255
+ if (index2 === value.length)
1256
+ return;
1257
+ const i = value[index2];
1258
+ const current = getCurrentOption(currentOption, i);
1259
+ const children = current == null ? void 0 : current.children;
1260
+ getInputValue(current.label, children, cascaderItemNeedProps.inputValueCache, props.showPath);
1261
+ if ((children == null ? void 0 : children.length) > 0) {
1262
+ updateCascaderValue(value, children, index2 + 1);
1263
+ }
1264
+ } else {
1265
+ const rootColumn = cascaderOptions[0] || [];
1266
+ value.forEach((targetValue) => {
1267
+ initMultipleCascaderItem(targetValue, rootColumn, tagList);
1268
+ });
1269
+ }
1270
+ };
1271
+ const getCurrentOption = (currentOption, i) => {
1272
+ return currentOption.filter((item) => (item == null ? void 0 : item.value) === i)[0];
1273
+ };
1274
+ watch(cascaderItemNeedProps.activeIndexs, (val) => {
1275
+ cascaderOptions.splice(val.length, cascaderOptions.length - 1);
1276
+ updateCascaderView(val, cascaderOptions[0], 0);
1277
+ });
1278
+ watch(() => cascaderItemNeedProps.confirmInputValueFlg.value, () => {
1279
+ multiple.value ? initTagList(tagList) : initSingleIptValue(cascaderItemNeedProps.inputValueCache);
1280
+ cascaderItemNeedProps.value = reactive(cloneDeep(cascaderItemNeedProps.valueCache));
1281
+ menuShow.value = false;
1282
+ updateStopDefaultType();
1283
+ updateCascaderValue(cascaderItemNeedProps.value, cascaderOptions[0], 0);
1284
+ inputValue.value = cascaderItemNeedProps.inputValueCache.value;
1285
+ if (initIptValue && !multiple.value) {
1286
+ initActiveIndexs(props.value, cascaderOptions[0], 0, cascaderItemNeedProps.activeIndexs);
1287
+ initIptValue = false;
1288
+ }
1289
+ }, {
1290
+ immediate: true
1291
+ });
145
1292
  return () => createVNode(Fragment, null, [createVNode("div", mergeProps({
146
1293
  "class": rootClasses.value,
1294
+ "style": rootStyle.inputWidth,
147
1295
  "onClick": openPopup,
148
1296
  "ref": origin
149
- }, ctx.attrs), [createVNode(resolveComponent("d-input"), {
1297
+ }, ctx.attrs), [multiple.value ? createVNode(DMultipleBox, {
1298
+ "placeholder": props.placeholder,
1299
+ "activeOptions": tagList
1300
+ }, null) : createVNode(resolveComponent("d-input"), {
150
1301
  "disabled": props.disabled,
151
- "placeholder": props.placeholder
1302
+ "placeholder": props.placeholder,
1303
+ "modelValue": inputValue.value
152
1304
  }, null), createVNode("div", {
153
1305
  "class": "devui-cascader__icon devui-drop-icon-animation"
154
1306
  }, [createVNode(resolveComponent("d-icon"), {
@@ -156,6 +1308,7 @@ var Cascader = defineComponent({
156
1308
  "size": "12px"
157
1309
  }, null)])]), createVNode(resolveComponent("d-flexible-overlay"), {
158
1310
  "origin": origin,
1311
+ "backgroundStyle": "background: transparent",
159
1312
  "visible": menuShow.value,
160
1313
  "onUpdate:visible": ($event) => menuShow.value = $event,
161
1314
  "position": position
@@ -164,11 +1317,14 @@ var Cascader = defineComponent({
164
1317
  "class": "devui-drop-menu-animation"
165
1318
  }, [createVNode("div", {
166
1319
  "class": `${menuOpenClass.value} devui-dropdown-menu`
167
- }, [cascaderOptions2.map((item, index2) => {
168
- return createVNode(DCascaderList, {
169
- "cascaderlis": item,
170
- "ul-index": index2
171
- }, null);
1320
+ }, [cascaderOptions.map((item, index2) => {
1321
+ return createVNode(DCascaderList, mergeProps({
1322
+ "cascaderItems": item,
1323
+ "ul-index": index2,
1324
+ "cascaderItemNeedProps": cascaderItemNeedProps,
1325
+ "cascaderOptions": cascaderOptions,
1326
+ "dropdownWidth": props.dropdownWidth
1327
+ }, props), null);
172
1328
  })])])]
173
1329
  })]);
174
1330
  }
@@ -179,7 +1335,7 @@ Cascader.install = function(app) {
179
1335
  var index = {
180
1336
  title: "Cascader \u7EA7\u8054\u83DC\u5355",
181
1337
  category: "\u6570\u636E\u5F55\u5165",
182
- status: "10%",
1338
+ status: "30%",
183
1339
  install(app) {
184
1340
  app.use(Cascader);
185
1341
  }