@wfrog/vc-ui 1.11.10 → 1.11.12

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 (141) hide show
  1. package/dist/es/chunk/Bw0Rhd-r.mjs +110 -0
  2. package/dist/es/chunk/CqTdDZkE.mjs +31 -0
  3. package/dist/es/chunk/{DAnWZLYj.mjs → CzWfBa_8.mjs} +96 -2
  4. package/dist/es/chunk/D229kQ56.mjs +28 -0
  5. package/dist/es/chunk/{Cxx_YWUC.mjs → DcouM6gM.mjs} +6 -548
  6. package/dist/es/chunk/Fo0dZYnz.mjs +128 -0
  7. package/dist/es/chunk/KanuIcmc.mjs +412 -0
  8. package/dist/es/chunk/{B71xEPfK.mjs → uuUHUjSk.mjs} +4 -35
  9. package/dist/es/components/backbottom/backbottom.mjs +3 -2
  10. package/dist/es/components/button/button.mjs +14 -13
  11. package/dist/es/components/choice/choice.mjs +11 -9
  12. package/dist/es/components/choice/index.css +1 -1
  13. package/dist/es/components/choice-boolean/choice-boolean.mjs +3 -3
  14. package/dist/es/components/color-switch/color-switch.mjs +73 -1046
  15. package/dist/es/components/color-switch/index.css +1 -1
  16. package/dist/es/components/cropper/cropper.mjs +11 -117
  17. package/dist/es/components/cropper/index.css +1 -1
  18. package/dist/es/components/currency/currency.mjs +10 -12
  19. package/dist/es/components/daterange-picker/daterange-picker.mjs +10 -6255
  20. package/dist/es/components/dialog/dialog.mjs +14 -408
  21. package/dist/es/components/dialog/index.css +1 -1
  22. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +11 -14
  23. package/dist/es/components/dialog-map-point/dialog-map-point.mjs +4 -4
  24. package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +14 -1380
  25. package/dist/es/components/dialog-upload-images/index.css +1 -1
  26. package/dist/es/components/drag-verify/drag-verify.mjs +3 -2
  27. package/dist/es/components/drawer/drawer.mjs +16 -359
  28. package/dist/es/components/drawer/index.css +3 -3
  29. package/dist/es/components/easy-pagination/easy-pagination.mjs +3 -2
  30. package/dist/es/components/explorer/explorer.mjs +8 -8
  31. package/dist/es/components/explorer-column-table/explorer-column-table.mjs +5 -7
  32. package/dist/es/components/explorer-column-table/index.css +1 -1
  33. package/dist/es/components/explorer-container/explorer-container.d.ts +1 -1
  34. package/dist/es/components/explorer-container/explorer-container.mjs +4 -3
  35. package/dist/es/components/explorer-filter/explorer-filter.mjs +5 -4
  36. package/dist/es/components/explorer-footer/explorer-footer.mjs +4 -8
  37. package/dist/es/components/explorer-form/explorer-form.mjs +4 -3
  38. package/dist/es/components/explorer-list/explorer-list.mjs +18 -13
  39. package/dist/es/components/explorer-list/explorer-list.vue.d.ts +1 -1
  40. package/dist/es/components/explorer-list/index.css +16 -16
  41. package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +8 -7
  42. package/dist/es/components/explorer-panel/explorer-panel.mjs +3 -3
  43. package/dist/es/components/explorer-query/explorer-query.mjs +9 -2201
  44. package/dist/es/components/explorer-query/index.css +1 -1
  45. package/dist/es/components/explorer-table/explorer-table.mjs +5 -8
  46. package/dist/es/components/explorer-tools/explorer-tools.mjs +23 -271
  47. package/dist/es/components/explorer-tools/index.css +9 -9
  48. package/dist/es/components/explorer-tree/explorer-tree.mjs +4 -5
  49. package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +1 -1
  50. package/dist/es/components/form-item/form-item.mjs +3 -3
  51. package/dist/es/components/icon-picker/icon-picker.mjs +8 -12
  52. package/dist/es/components/image/image.mjs +4 -4
  53. package/dist/es/components/info-tooltip/info-tooltip.mjs +336 -4
  54. package/dist/es/components/input/input.mjs +3 -2
  55. package/dist/es/components/input-number/input-number.mjs +3 -3
  56. package/dist/es/components/pca-picker/index.css +1 -1
  57. package/dist/es/components/pca-picker/pca-picker.mjs +443 -601
  58. package/dist/es/components/screenfull/screenfull.mjs +4 -3
  59. package/dist/es/components/scrollbar/index.css +1 -1
  60. package/dist/es/components/scrollbar/scrollbar.mjs +10 -10
  61. package/dist/es/components/select/index.css +1 -1
  62. package/dist/es/components/select/select.mjs +9 -10
  63. package/dist/es/components/single-player/index.css +1 -1
  64. package/dist/es/components/single-player/single-player.mjs +10 -1087
  65. package/dist/es/components/splitter/splitter.mjs +3 -3
  66. package/dist/es/components/splitter-panel/splitter-panel.mjs +3 -3
  67. package/dist/es/components/switch/index.css +1 -1
  68. package/dist/es/components/switch/switch.mjs +9 -395
  69. package/dist/es/components/tags/tags.mjs +7 -9
  70. package/dist/es/components/text-ellipsis/text-ellipsis.mjs +3 -3
  71. package/dist/es/components/thousand-input/thousand-input.mjs +39 -8
  72. package/dist/es/components/tinymce/tinymce.mjs +4 -3
  73. package/dist/es/components/transfer/transfer.mjs +3 -4
  74. package/dist/es/components/transfer-panel/transfer-panel.mjs +5 -4
  75. package/dist/es/components/tree-picker/popover-cascader.css +1 -1
  76. package/dist/es/components/tree-picker/tree-picker.mjs +5 -10
  77. package/dist/es/index.mjs +1 -1
  78. package/dist/index.css +41 -68
  79. package/package.json +1 -1
  80. package/dist/es/chunk/B-rxnVJv.mjs +0 -3
  81. package/dist/es/chunk/B5HpgPRt.mjs +0 -69
  82. package/dist/es/chunk/BBhZKpIc.mjs +0 -2179
  83. package/dist/es/chunk/BDcsaNYa.mjs +0 -59
  84. package/dist/es/chunk/BTSSEFfD.mjs +0 -319
  85. package/dist/es/chunk/BTpNRPQW.mjs +0 -55
  86. package/dist/es/chunk/BVBK1U57.mjs +0 -96
  87. package/dist/es/chunk/Bc6yUGLs.mjs +0 -45
  88. package/dist/es/chunk/BjVI1XMz.mjs +0 -40
  89. package/dist/es/chunk/BlzQCBDu.mjs +0 -5741
  90. package/dist/es/chunk/BpJKnxlF.mjs +0 -476
  91. package/dist/es/chunk/Brp-qSBw.mjs +0 -2003
  92. package/dist/es/chunk/BunQI8Jb.mjs +0 -390
  93. package/dist/es/chunk/C0XgBrDz.mjs +0 -775
  94. package/dist/es/chunk/C0pTANRX.mjs +0 -109
  95. package/dist/es/chunk/CBMjhoFP.mjs +0 -101
  96. package/dist/es/chunk/CBiNtNvQ.mjs +0 -242
  97. package/dist/es/chunk/CBlJeNBO.mjs +0 -890
  98. package/dist/es/chunk/CCVL_Zj-.mjs +0 -427
  99. package/dist/es/chunk/CEl4MyfJ.mjs +0 -252
  100. package/dist/es/chunk/CJK5_jsA.mjs +0 -53
  101. package/dist/es/chunk/CKOcwq5V.mjs +0 -44
  102. package/dist/es/chunk/COs9dJZa.mjs +0 -66
  103. package/dist/es/chunk/CPt6MxJW.mjs +0 -375
  104. package/dist/es/chunk/CVqW0jzp.mjs +0 -107
  105. package/dist/es/chunk/CccIsEqA.mjs +0 -128
  106. package/dist/es/chunk/CjLR27-a.mjs +0 -582
  107. package/dist/es/chunk/CoGexPPD.mjs +0 -2192
  108. package/dist/es/chunk/CsLIbnzG.mjs +0 -64
  109. package/dist/es/chunk/Ct6q2FXg.mjs +0 -5
  110. package/dist/es/chunk/Cuq5meQh.mjs +0 -184
  111. package/dist/es/chunk/CvYIOfT1.mjs +0 -23
  112. package/dist/es/chunk/CxHJBf4l.mjs +0 -31
  113. package/dist/es/chunk/CzdaOBtA.mjs +0 -66
  114. package/dist/es/chunk/D0QTifnI.mjs +0 -54
  115. package/dist/es/chunk/D1QnA2iT.mjs +0 -229
  116. package/dist/es/chunk/D3AvJlVX.mjs +0 -188
  117. package/dist/es/chunk/D9Lr0Bzb.mjs +0 -1136
  118. package/dist/es/chunk/DCkPv0hy.mjs +0 -29
  119. package/dist/es/chunk/DRwwUUhy.mjs +0 -49
  120. package/dist/es/chunk/DX-2VRY2.mjs +0 -836
  121. package/dist/es/chunk/DZ2oTFad.mjs +0 -687
  122. package/dist/es/chunk/D_bou1py.mjs +0 -55
  123. package/dist/es/chunk/Da199A5L.mjs +0 -314
  124. package/dist/es/chunk/DbhQlaOz.mjs +0 -94
  125. package/dist/es/chunk/Dgu95mOy.mjs +0 -237
  126. package/dist/es/chunk/DhGOsWxx.mjs +0 -6
  127. package/dist/es/chunk/Dm_Sj5aH.mjs +0 -487
  128. package/dist/es/chunk/Dmi-1GRO.mjs +0 -163
  129. package/dist/es/chunk/DodoD9a9.mjs +0 -52
  130. package/dist/es/chunk/DrrVDcwm.mjs +0 -955
  131. package/dist/es/chunk/Du_zJ1Fz.mjs +0 -49
  132. package/dist/es/chunk/DxxbB5jY.mjs +0 -34
  133. package/dist/es/chunk/Gk1J52Yw.mjs +0 -207
  134. package/dist/es/chunk/NsldgdCh.mjs +0 -704
  135. package/dist/es/chunk/V6KjsUQN.mjs +0 -35
  136. package/dist/es/chunk/eEsLFV3s.mjs +0 -76
  137. package/dist/es/chunk/fqiLhk0V.mjs +0 -2065
  138. package/dist/es/chunk/nxVM7re4.mjs +0 -35
  139. package/dist/es/chunk/s7HLrANj.mjs +0 -215
  140. package/dist/es/chunk/vPhxogl3.mjs +0 -19
  141. package/dist/es/components/icon/icon2.mjs +0 -27
@@ -1,643 +1,485 @@
1
1
  import './index.css'
2
- import { b as buildProps, d as definePropType, u as useNamespace, j as isObject, i as isString } from '../../chunk/Gk1J52Yw.mjs';
3
- import '../../chunk/CoGexPPD.mjs';
4
- /* empty css */
5
- import { P as PopoverCascader, E as ElCascader } from '../../chunk/fqiLhk0V.mjs';
6
- import '../../chunk/DX-2VRY2.mjs';
7
- /* empty css */
8
- import '../../chunk/NsldgdCh.mjs';
9
- import '../../chunk/CCVL_Zj-.mjs';
10
- import '../../chunk/CjLR27-a.mjs';
11
- import { defineComponent, inject, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, withCtx, renderSlot, provide, useSlots, ref, watch, onMounted, createElementBlock, createCommentVNode, createElementVNode, unref, nextTick, onBeforeUnmount, createTextVNode, toDisplayString, shallowRef, toRefs, Fragment, createVNode, renderList, useTemplateRef, mergeProps, isRef, useCssVars, useCssModule } from 'vue';
2
+ import { ElRow, ElCol, ElAnchor, ElAnchorLink, ElDivider, ElText, ElPopover, ElCascader } from 'element-plus/es';
3
+ import 'element-plus/es/components/base/style/css';
4
+ import 'element-plus/es/components/popover/style/css';
5
+ import 'element-plus/es/components/cascader/style/css';
6
+ import { ref, computed, shallowRef, defineComponent, toRefs, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, normalizeClass, toDisplayString, withCtx, renderList, createBlock, unref, useTemplateRef, watch, createCommentVNode, createTextVNode, onMounted, mergeProps, isRef, useCssVars, useCssModule, onBeforeUnmount, nextTick } from 'vue';
12
7
  import { useFormDisabled, useFormItem } from 'element-plus';
13
8
  import { useInject, useProvide } from '../../use/useStore/index.mjs';
14
9
  import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
15
10
  import { i as injectConfig } from '../config-provider/config-provider2.mjs';
16
- import { isClient, useEventListener, useStorage, useVModel, useToggle, onClickOutside, useThrottleFn } from '@vueuse/core';
11
+ import 'element-plus/es/components/anchor/style/css';
12
+ import 'element-plus/es/components/anchor-link/style/css';
13
+ import { useStorage, useVModel, useToggle, onClickOutside, useThrottleFn } from '@vueuse/core';
17
14
  import { i as index } from '../../chunk/D9iEroQw.mjs';
18
- import { m as map, f as flatMap } from '../../chunk/Cuq5meQh.mjs';
19
- import { b as baseFlatten } from '../../chunk/BunQI8Jb.mjs';
20
- import { _ as _export_sfc, w as withInstall, a as withNoopInstall } from '../../chunk/V6KjsUQN.mjs';
21
- import { m as mutable } from '../../chunk/B-rxnVJv.mjs';
22
- import { b as isNumber, c as isUndefined, e as isWindow } from '../../chunk/Bc6yUGLs.mjs';
23
- import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
24
- import { c as cAF, r as rAF } from '../../chunk/DhGOsWxx.mjs';
25
- import { g as getScrollElement, a as animateScrollTo, b as getScrollTop } from '../../chunk/CccIsEqA.mjs';
26
- import { a as getOffsetTopDistance } from '../../chunk/DxxbB5jY.mjs';
27
- import { C as CHANGE_EVENT } from '../../chunk/Ct6q2FXg.mjs';
28
- import { E as ElDivider } from '../../chunk/CzdaOBtA.mjs';
29
- import { E as ElText } from '../../chunk/DbhQlaOz.mjs';
30
- import { E as ElPopover } from '../../chunk/Da199A5L.mjs';
31
-
32
- /** Used as references for various `Number` constants. */
33
- var INFINITY = 1 / 0;
15
+ import { a as baseGet, d as isKey, t as toKey, h as hasIn, i as identity, e as arrayMap, b as baseFlatten } from '../../chunk/KanuIcmc.mjs';
16
+ import { S as Stack, b as baseIsEqual, k as keys, i as isArrayLike } from '../../chunk/uuUHUjSk.mjs';
17
+ import { i as isObject } from '../../chunk/CqTdDZkE.mjs';
18
+ import { a as isArray } from '../../chunk/DcouM6gM.mjs';
19
+ import 'element-plus/es/components/row/style/css';
20
+ import 'element-plus/es/components/col/style/css';
21
+ import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
22
+ import 'element-plus/es/components/divider/style/css';
23
+ import 'element-plus/es/components/text/style/css';
24
+ import { P as PopoverCascader } from '../../chunk/Bw0Rhd-r.mjs';
34
25
 
35
26
  /**
36
- * This method is like `_.flatMap` except that it recursively flattens the
37
- * mapped results.
27
+ * Gets the value at `path` of `object`. If the resolved value is
28
+ * `undefined`, the `defaultValue` is returned in its place.
38
29
  *
39
30
  * @static
40
31
  * @memberOf _
41
- * @since 4.7.0
42
- * @category Collection
43
- * @param {Array|Object} collection The collection to iterate over.
44
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
45
- * @returns {Array} Returns the new flattened array.
32
+ * @since 3.7.0
33
+ * @category Object
34
+ * @param {Object} object The object to query.
35
+ * @param {Array|string} path The path of the property to get.
36
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
37
+ * @returns {*} Returns the resolved value.
46
38
  * @example
47
39
  *
48
- * function duplicate(n) {
49
- * return [[[n, n]]];
50
- * }
40
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
51
41
  *
52
- * _.flatMapDeep([1, 2], duplicate);
53
- * // => [1, 1, 2, 2]
42
+ * _.get(object, 'a[0].b.c');
43
+ * // => 3
44
+ *
45
+ * _.get(object, ['a', '0', 'b', 'c']);
46
+ * // => 3
47
+ *
48
+ * _.get(object, 'a.b.c', 'default');
49
+ * // => 'default'
54
50
  */
55
- function flatMapDeep(collection, iteratee) {
56
- return baseFlatten(map(collection, iteratee), INFINITY);
51
+ function get(object, path, defaultValue) {
52
+ var result = object == null ? undefined : baseGet(object, path);
53
+ return result === undefined ? defaultValue : result;
57
54
  }
58
55
 
59
- const colProps = buildProps({
60
- tag: {
61
- type: String,
62
- default: "div"
63
- },
64
- span: {
65
- type: Number,
66
- default: 24
67
- },
68
- offset: {
69
- type: Number,
70
- default: 0
71
- },
72
- pull: {
73
- type: Number,
74
- default: 0
75
- },
76
- push: {
77
- type: Number,
78
- default: 0
79
- },
80
- xs: {
81
- type: definePropType([Number, Object]),
82
- default: () => mutable({})
83
- },
84
- sm: {
85
- type: definePropType([Number, Object]),
86
- default: () => mutable({})
87
- },
88
- md: {
89
- type: definePropType([Number, Object]),
90
- default: () => mutable({})
91
- },
92
- lg: {
93
- type: definePropType([Number, Object]),
94
- default: () => mutable({})
95
- },
96
- xl: {
97
- type: definePropType([Number, Object]),
98
- default: () => mutable({})
99
- }
100
- });
56
+ /** Used to compose bitmasks for value comparisons. */
57
+ var COMPARE_PARTIAL_FLAG$1 = 1,
58
+ COMPARE_UNORDERED_FLAG$1 = 2;
101
59
 
102
- const rowContextKey = Symbol("rowContextKey");
60
+ /**
61
+ * The base implementation of `_.isMatch` without support for iteratee shorthands.
62
+ *
63
+ * @private
64
+ * @param {Object} object The object to inspect.
65
+ * @param {Object} source The object of property values to match.
66
+ * @param {Array} matchData The property names, values, and compare flags to match.
67
+ * @param {Function} [customizer] The function to customize comparisons.
68
+ * @returns {boolean} Returns `true` if `object` is a match, else `false`.
69
+ */
70
+ function baseIsMatch(object, source, matchData, customizer) {
71
+ var index = matchData.length,
72
+ length = index;
103
73
 
104
- const _sfc_main$b = defineComponent({
105
- ...{
106
- name: "ElCol"
107
- },
108
- __name: "col",
109
- props: colProps,
110
- setup(__props) {
111
- const props = __props;
112
- const { gutter } = inject(rowContextKey, { gutter: computed(() => 0) });
113
- const ns = useNamespace("col");
114
- const style = computed(() => {
115
- const styles = {};
116
- if (gutter.value) {
117
- styles.paddingLeft = styles.paddingRight = `${gutter.value / 2}px`;
74
+ if (object == null) {
75
+ return !length;
76
+ }
77
+ object = Object(object);
78
+ while (index--) {
79
+ var data = matchData[index];
80
+ if ((data[2])
81
+ ? data[1] !== object[data[0]]
82
+ : !(data[0] in object)
83
+ ) {
84
+ return false;
85
+ }
86
+ }
87
+ while (++index < length) {
88
+ data = matchData[index];
89
+ var key = data[0],
90
+ objValue = object[key],
91
+ srcValue = data[1];
92
+
93
+ if (data[2]) {
94
+ if (objValue === undefined && !(key in object)) {
95
+ return false;
118
96
  }
119
- return styles;
120
- });
121
- const colKls = computed(() => {
122
- const classes = [];
123
- const pos = ["span", "offset", "pull", "push"];
124
- pos.forEach((prop) => {
125
- const size = props[prop];
126
- if (isNumber(size)) {
127
- if (prop === "span")
128
- classes.push(ns.b(`${props[prop]}`));
129
- else if (size > 0)
130
- classes.push(ns.b(`${prop}-${props[prop]}`));
131
- }
132
- });
133
- const sizes = ["xs", "sm", "md", "lg", "xl"];
134
- sizes.forEach((size) => {
135
- if (isNumber(props[size])) {
136
- classes.push(ns.b(`${size}-${props[size]}`));
137
- } else if (isObject(props[size])) {
138
- Object.entries(props[size]).forEach(([prop, sizeProp]) => {
139
- classes.push(
140
- prop !== "span" ? ns.b(`${size}-${prop}-${sizeProp}`) : ns.b(`${size}-${sizeProp}`)
141
- );
142
- });
143
- }
144
- });
145
- if (gutter.value) {
146
- classes.push(ns.is("guttered"));
97
+ } else {
98
+ var stack = new Stack;
99
+ var result;
100
+ if (!(result === undefined
101
+ ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack)
102
+ : result
103
+ )) {
104
+ return false;
147
105
  }
148
- return [ns.b(), classes];
149
- });
150
- return (_ctx, _cache) => {
151
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
152
- class: normalizeClass(colKls.value),
153
- style: normalizeStyle(style.value)
154
- }, {
155
- default: withCtx(() => [
156
- renderSlot(_ctx.$slots, "default")
157
- ]),
158
- _: 3
159
- }, 8, ["class", "style"]);
160
- };
106
+ }
161
107
  }
162
- });
163
- var Col = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
108
+ return true;
109
+ }
164
110
 
165
- const ElCol = withInstall(Col);
111
+ /**
112
+ * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
113
+ *
114
+ * @private
115
+ * @param {*} value The value to check.
116
+ * @returns {boolean} Returns `true` if `value` if suitable for strict
117
+ * equality comparisons, else `false`.
118
+ */
119
+ function isStrictComparable(value) {
120
+ return value === value && !isObject(value);
121
+ }
166
122
 
167
- const RowJustify = [
168
- "start",
169
- "center",
170
- "end",
171
- "space-around",
172
- "space-between",
173
- "space-evenly"
174
- ];
175
- const RowAlign = ["top", "middle", "bottom"];
176
- const rowProps = buildProps({
177
- tag: {
178
- type: String,
179
- default: "div"
180
- },
181
- gutter: {
182
- type: Number,
183
- default: 0
184
- },
185
- justify: {
186
- type: String,
187
- values: RowJustify,
188
- default: "start"
189
- },
190
- align: {
191
- type: String,
192
- values: RowAlign
193
- }
194
- });
123
+ /**
124
+ * Gets the property names, values, and compare flags of `object`.
125
+ *
126
+ * @private
127
+ * @param {Object} object The object to query.
128
+ * @returns {Array} Returns the match data of `object`.
129
+ */
130
+ function getMatchData(object) {
131
+ var result = keys(object),
132
+ length = result.length;
195
133
 
196
- const _sfc_main$a = defineComponent({
197
- ...{
198
- name: "ElRow"
199
- },
200
- __name: "row",
201
- props: rowProps,
202
- setup(__props) {
203
- const props = __props;
204
- const ns = useNamespace("row");
205
- const gutter = computed(() => props.gutter);
206
- provide(rowContextKey, {
207
- gutter
208
- });
209
- const style = computed(() => {
210
- const styles = {};
211
- if (!props.gutter) {
212
- return styles;
213
- }
214
- styles.marginRight = styles.marginLeft = `-${props.gutter / 2}px`;
215
- return styles;
216
- });
217
- const rowKls = computed(() => [
218
- ns.b(),
219
- ns.is(`justify-${props.justify}`, props.justify !== "start"),
220
- ns.is(`align-${props.align}`, !!props.align)
221
- ]);
222
- return (_ctx, _cache) => {
223
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
224
- class: normalizeClass(rowKls.value),
225
- style: normalizeStyle(style.value)
226
- }, {
227
- default: withCtx(() => [
228
- renderSlot(_ctx.$slots, "default")
229
- ]),
230
- _: 3
231
- }, 8, ["class", "style"]);
232
- };
134
+ while (length--) {
135
+ var key = result[length],
136
+ value = object[key];
137
+
138
+ result[length] = [key, value, isStrictComparable(value)];
233
139
  }
234
- });
235
- var Row = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);
140
+ return result;
141
+ }
236
142
 
237
- const ElRow = withInstall(Row);
143
+ /**
144
+ * A specialized version of `matchesProperty` for source values suitable
145
+ * for strict equality comparisons, i.e. `===`.
146
+ *
147
+ * @private
148
+ * @param {string} key The key of the property to get.
149
+ * @param {*} srcValue The value to match.
150
+ * @returns {Function} Returns the new spec function.
151
+ */
152
+ function matchesStrictComparable(key, srcValue) {
153
+ return function(object) {
154
+ if (object == null) {
155
+ return false;
156
+ }
157
+ return object[key] === srcValue &&
158
+ (srcValue !== undefined || (key in Object(object)));
159
+ };
160
+ }
238
161
 
239
- const anchorProps = buildProps({
240
- container: {
241
- type: definePropType([
242
- String,
243
- Object
244
- ])
245
- },
246
- offset: {
247
- type: Number,
248
- default: 0
249
- },
250
- bound: {
251
- type: Number,
252
- default: 15
253
- },
254
- duration: {
255
- type: Number,
256
- default: 300
257
- },
258
- marker: {
259
- type: Boolean,
260
- default: true
261
- },
262
- type: {
263
- type: definePropType(String),
264
- default: "default"
265
- },
266
- direction: {
267
- type: definePropType(String),
268
- default: "vertical"
269
- },
270
- selectScrollTop: Boolean
271
- });
272
- const anchorEmits = {
273
- change: (href) => isString(href),
274
- click: (e, href) => e instanceof MouseEvent && (isString(href) || isUndefined(href))
275
- };
162
+ /**
163
+ * The base implementation of `_.matches` which doesn't clone `source`.
164
+ *
165
+ * @private
166
+ * @param {Object} source The object of property values to match.
167
+ * @returns {Function} Returns the new spec function.
168
+ */
169
+ function baseMatches(source) {
170
+ var matchData = getMatchData(source);
171
+ if (matchData.length == 1 && matchData[0][2]) {
172
+ return matchesStrictComparable(matchData[0][0], matchData[0][1]);
173
+ }
174
+ return function(object) {
175
+ return object === source || baseIsMatch(object, source, matchData);
176
+ };
177
+ }
276
178
 
277
- const anchorKey = Symbol("anchor");
179
+ /** Used to compose bitmasks for value comparisons. */
180
+ var COMPARE_PARTIAL_FLAG = 1,
181
+ COMPARE_UNORDERED_FLAG = 2;
278
182
 
279
- const getElement = (target) => {
280
- if (!isClient || target === "")
281
- return null;
282
- if (isString(target)) {
283
- try {
284
- return document.querySelector(target);
285
- } catch (e) {
286
- return null;
287
- }
183
+ /**
184
+ * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
185
+ *
186
+ * @private
187
+ * @param {string} path The path of the property to get.
188
+ * @param {*} srcValue The value to match.
189
+ * @returns {Function} Returns the new spec function.
190
+ */
191
+ function baseMatchesProperty(path, srcValue) {
192
+ if (isKey(path) && isStrictComparable(srcValue)) {
193
+ return matchesStrictComparable(toKey(path), srcValue);
288
194
  }
289
- return target;
290
- };
195
+ return function(object) {
196
+ var objValue = get(object, path);
197
+ return (objValue === undefined && objValue === srcValue)
198
+ ? hasIn(object, path)
199
+ : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
200
+ };
201
+ }
291
202
 
292
- function throttleByRaf(cb) {
293
- let timer = 0;
294
- const throttle = (...args) => {
295
- if (timer) {
296
- cAF(timer);
297
- }
298
- timer = rAF(() => {
299
- cb(...args);
300
- timer = 0;
301
- });
203
+ /**
204
+ * The base implementation of `_.property` without support for deep paths.
205
+ *
206
+ * @private
207
+ * @param {string} key The key of the property to get.
208
+ * @returns {Function} Returns the new accessor function.
209
+ */
210
+ function baseProperty(key) {
211
+ return function(object) {
212
+ return object == null ? undefined : object[key];
302
213
  };
303
- throttle.cancel = () => {
304
- cAF(timer);
305
- timer = 0;
214
+ }
215
+
216
+ /**
217
+ * A specialized version of `baseProperty` which supports deep paths.
218
+ *
219
+ * @private
220
+ * @param {Array|string} path The path of the property to get.
221
+ * @returns {Function} Returns the new accessor function.
222
+ */
223
+ function basePropertyDeep(path) {
224
+ return function(object) {
225
+ return baseGet(object, path);
306
226
  };
307
- return throttle;
308
227
  }
309
228
 
310
- const _sfc_main$9 = defineComponent({
311
- ...{
312
- name: "ElAnchor"
313
- },
314
- __name: "anchor",
315
- props: anchorProps,
316
- emits: anchorEmits,
317
- setup(__props, { expose: __expose, emit: __emit }) {
318
- const props = __props;
319
- const emit = __emit;
320
- const slots = useSlots();
321
- const currentAnchor = ref("");
322
- const markerStyle = ref({});
323
- const anchorRef = ref(null);
324
- const markerRef = ref(null);
325
- const containerEl = ref();
326
- const links = {};
327
- let isScrolling = false;
328
- let currentScrollTop = 0;
329
- const ns = useNamespace("anchor");
330
- const cls = computed(() => [
331
- ns.b(),
332
- props.type === "underline" ? ns.m("underline") : "",
333
- ns.m(props.direction)
334
- ]);
335
- const addLink = (state) => {
336
- links[state.href] = state.el;
337
- };
338
- const removeLink = (href) => {
339
- delete links[href];
340
- };
341
- const setCurrentAnchor = (href) => {
342
- const activeHref = currentAnchor.value;
343
- if (activeHref !== href) {
344
- currentAnchor.value = href;
345
- emit(CHANGE_EVENT, href);
346
- }
347
- };
348
- let clearAnimate = null;
349
- let currentTargetHref = "";
350
- const scrollToAnchor = (href) => {
351
- if (!containerEl.value)
352
- return;
353
- const target = getElement(href);
354
- if (!target)
355
- return;
356
- if (clearAnimate) {
357
- if (currentTargetHref === href)
358
- return;
359
- clearAnimate();
360
- }
361
- currentTargetHref = href;
362
- isScrolling = true;
363
- const scrollEle = getScrollElement(target, containerEl.value);
364
- const distance = getOffsetTopDistance(target, scrollEle);
365
- const max = scrollEle.scrollHeight - scrollEle.clientHeight;
366
- const to = Math.min(distance - props.offset, max);
367
- clearAnimate = animateScrollTo(
368
- containerEl.value,
369
- currentScrollTop,
370
- to,
371
- props.duration,
372
- () => {
373
- setTimeout(() => {
374
- isScrolling = false;
375
- currentTargetHref = "";
376
- }, 20);
377
- }
378
- );
379
- };
380
- const scrollTo = (href) => {
381
- if (href) {
382
- setCurrentAnchor(href);
383
- scrollToAnchor(href);
384
- }
385
- };
386
- const handleClick = (e, href) => {
387
- emit("click", e, href);
388
- scrollTo(href);
389
- };
390
- const handleScroll = throttleByRaf(() => {
391
- if (containerEl.value) {
392
- currentScrollTop = getScrollTop(containerEl.value);
393
- }
394
- const currentHref = getCurrentHref();
395
- if (isScrolling || isUndefined(currentHref))
396
- return;
397
- setCurrentAnchor(currentHref);
398
- });
399
- const getCurrentHref = () => {
400
- if (!containerEl.value)
401
- return;
402
- const scrollTop = getScrollTop(containerEl.value);
403
- const anchorTopList = [];
404
- for (const href of Object.keys(links)) {
405
- const target = getElement(href);
406
- if (!target)
407
- continue;
408
- const scrollEle = getScrollElement(target, containerEl.value);
409
- const distance = getOffsetTopDistance(target, scrollEle);
410
- anchorTopList.push({
411
- top: distance - props.offset - props.bound,
412
- href
413
- });
414
- }
415
- anchorTopList.sort((prev, next) => prev.top - next.top);
416
- for (let i = 0; i < anchorTopList.length; i++) {
417
- const item = anchorTopList[i];
418
- const next = anchorTopList[i + 1];
419
- if (i === 0 && scrollTop === 0) {
420
- return props.selectScrollTop ? item.href : "";
421
- }
422
- if (item.top <= scrollTop && (!next || next.top > scrollTop)) {
423
- return item.href;
424
- }
425
- }
426
- };
427
- const getContainer = () => {
428
- const el = getElement(props.container);
429
- if (!el || isWindow(el)) {
430
- containerEl.value = window;
431
- } else {
432
- containerEl.value = el;
433
- }
434
- };
435
- useEventListener(containerEl, "scroll", handleScroll);
436
- const updateMarkerStyle = () => {
437
- nextTick(() => {
438
- if (!anchorRef.value || !markerRef.value || !currentAnchor.value) {
439
- markerStyle.value = {};
440
- return;
441
- }
442
- const currentLinkEl = links[currentAnchor.value];
443
- if (!currentLinkEl) {
444
- markerStyle.value = {};
445
- return;
446
- }
447
- const anchorRect = anchorRef.value.getBoundingClientRect();
448
- const markerRect = markerRef.value.getBoundingClientRect();
449
- const linkRect = currentLinkEl.getBoundingClientRect();
450
- if (props.direction === "horizontal") {
451
- const left = linkRect.left - anchorRect.left;
452
- markerStyle.value = {
453
- left: `${left}px`,
454
- width: `${linkRect.width}px`,
455
- opacity: 1
456
- };
457
- } else {
458
- const top = linkRect.top - anchorRect.top + (linkRect.height - markerRect.height) / 2;
459
- markerStyle.value = {
460
- top: `${top}px`,
461
- opacity: 1
462
- };
463
- }
464
- });
465
- };
466
- watch(currentAnchor, updateMarkerStyle);
467
- watch(() => {
468
- var _a;
469
- return (_a = slots.default) == null ? void 0 : _a.call(slots);
470
- }, updateMarkerStyle);
471
- onMounted(() => {
472
- getContainer();
473
- const hash = decodeURIComponent(window.location.hash);
474
- const target = getElement(hash);
475
- if (target) {
476
- scrollTo(hash);
477
- } else {
478
- handleScroll();
479
- }
480
- });
481
- watch(
482
- () => props.container,
483
- () => {
484
- getContainer();
485
- }
486
- );
487
- provide(anchorKey, {
488
- ns,
489
- direction: props.direction,
490
- currentAnchor,
491
- addLink,
492
- removeLink,
493
- handleClick
494
- });
495
- __expose({
496
- scrollTo
497
- });
498
- return (_ctx, _cache) => {
499
- return openBlock(), createElementBlock(
500
- "div",
501
- {
502
- ref_key: "anchorRef",
503
- ref: anchorRef,
504
- class: normalizeClass(cls.value)
505
- },
506
- [
507
- _ctx.marker ? (openBlock(), createElementBlock(
508
- "div",
509
- {
510
- key: 0,
511
- ref_key: "markerRef",
512
- ref: markerRef,
513
- class: normalizeClass(unref(ns).e("marker")),
514
- style: normalizeStyle(markerStyle.value)
515
- },
516
- null,
517
- 6
518
- )) : createCommentVNode("v-if", true),
519
- createElementVNode(
520
- "div",
521
- {
522
- class: normalizeClass(unref(ns).e("list"))
523
- },
524
- [
525
- renderSlot(_ctx.$slots, "default")
526
- ],
527
- 2
528
- )
529
- ],
530
- 2
531
- );
532
- };
229
+ /**
230
+ * Creates a function that returns the value at `path` of a given object.
231
+ *
232
+ * @static
233
+ * @memberOf _
234
+ * @since 2.4.0
235
+ * @category Util
236
+ * @param {Array|string} path The path of the property to get.
237
+ * @returns {Function} Returns the new accessor function.
238
+ * @example
239
+ *
240
+ * var objects = [
241
+ * { 'a': { 'b': 2 } },
242
+ * { 'a': { 'b': 1 } }
243
+ * ];
244
+ *
245
+ * _.map(objects, _.property('a.b'));
246
+ * // => [2, 1]
247
+ *
248
+ * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
249
+ * // => [1, 2]
250
+ */
251
+ function property(path) {
252
+ return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
253
+ }
254
+
255
+ /**
256
+ * The base implementation of `_.iteratee`.
257
+ *
258
+ * @private
259
+ * @param {*} [value=_.identity] The value to convert to an iteratee.
260
+ * @returns {Function} Returns the iteratee.
261
+ */
262
+ function baseIteratee(value) {
263
+ // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
264
+ // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
265
+ if (typeof value == 'function') {
266
+ return value;
533
267
  }
534
- });
535
- var Anchor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/anchor/src/anchor.vue"]]);
268
+ if (value == null) {
269
+ return identity;
270
+ }
271
+ if (typeof value == 'object') {
272
+ return isArray(value)
273
+ ? baseMatchesProperty(value[0], value[1])
274
+ : baseMatches(value);
275
+ }
276
+ return property(value);
277
+ }
536
278
 
537
- const anchorLinkProps = buildProps({
538
- title: String,
539
- href: String
540
- });
279
+ /**
280
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
281
+ *
282
+ * @private
283
+ * @param {boolean} [fromRight] Specify iterating from right to left.
284
+ * @returns {Function} Returns the new base function.
285
+ */
286
+ function createBaseFor(fromRight) {
287
+ return function(object, iteratee, keysFunc) {
288
+ var index = -1,
289
+ iterable = Object(object),
290
+ props = keysFunc(object),
291
+ length = props.length;
541
292
 
542
- const _hoisted_1$6 = ["href"];
543
- const _sfc_main$8 = defineComponent({
544
- ...{
545
- name: "ElAnchorLink"
546
- },
547
- __name: "anchor-link",
548
- props: anchorLinkProps,
549
- setup(__props) {
550
- const props = __props;
551
- const linkRef = ref(null);
552
- const {
553
- ns,
554
- direction,
555
- currentAnchor,
556
- addLink,
557
- removeLink,
558
- handleClick: contextHandleClick
559
- } = inject(anchorKey);
560
- const cls = computed(() => [
561
- ns.e("link"),
562
- ns.is("active", currentAnchor.value === props.href)
563
- ]);
564
- const handleClick = (e) => {
565
- contextHandleClick(e, props.href);
566
- };
567
- watch(
568
- () => props.href,
569
- (val, oldVal) => {
570
- nextTick(() => {
571
- if (oldVal)
572
- removeLink(oldVal);
573
- if (val) {
574
- addLink({
575
- href: val,
576
- el: linkRef.value
577
- });
578
- }
579
- });
580
- }
581
- );
582
- onMounted(() => {
583
- const { href } = props;
584
- if (href) {
585
- addLink({
586
- href,
587
- el: linkRef.value
588
- });
293
+ while (length--) {
294
+ var key = props[++index];
295
+ if (iteratee(iterable[key], key, iterable) === false) {
296
+ break;
589
297
  }
590
- });
591
- onBeforeUnmount(() => {
592
- const { href } = props;
593
- if (href) {
594
- removeLink(href);
298
+ }
299
+ return object;
300
+ };
301
+ }
302
+
303
+ /**
304
+ * The base implementation of `baseForOwn` which iterates over `object`
305
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
306
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
307
+ *
308
+ * @private
309
+ * @param {Object} object The object to iterate over.
310
+ * @param {Function} iteratee The function invoked per iteration.
311
+ * @param {Function} keysFunc The function to get the keys of `object`.
312
+ * @returns {Object} Returns `object`.
313
+ */
314
+ var baseFor = createBaseFor();
315
+
316
+ /**
317
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
318
+ *
319
+ * @private
320
+ * @param {Object} object The object to iterate over.
321
+ * @param {Function} iteratee The function invoked per iteration.
322
+ * @returns {Object} Returns `object`.
323
+ */
324
+ function baseForOwn(object, iteratee) {
325
+ return object && baseFor(object, iteratee, keys);
326
+ }
327
+
328
+ /**
329
+ * Creates a `baseEach` or `baseEachRight` function.
330
+ *
331
+ * @private
332
+ * @param {Function} eachFunc The function to iterate over a collection.
333
+ * @param {boolean} [fromRight] Specify iterating from right to left.
334
+ * @returns {Function} Returns the new base function.
335
+ */
336
+ function createBaseEach(eachFunc, fromRight) {
337
+ return function(collection, iteratee) {
338
+ if (collection == null) {
339
+ return collection;
340
+ }
341
+ if (!isArrayLike(collection)) {
342
+ return eachFunc(collection, iteratee);
343
+ }
344
+ var length = collection.length,
345
+ index = -1,
346
+ iterable = Object(collection);
347
+
348
+ while ((++index < length)) {
349
+ if (iteratee(iterable[index], index, iterable) === false) {
350
+ break;
595
351
  }
596
- });
597
- return (_ctx, _cache) => {
598
- return openBlock(), createElementBlock(
599
- "div",
600
- {
601
- class: normalizeClass(unref(ns).e("item"))
602
- },
603
- [
604
- createElementVNode("a", {
605
- ref_key: "linkRef",
606
- ref: linkRef,
607
- class: normalizeClass(cls.value),
608
- href: _ctx.href,
609
- onClick: handleClick
610
- }, [
611
- renderSlot(_ctx.$slots, "default", {}, () => [
612
- createTextVNode(
613
- toDisplayString(_ctx.title),
614
- 1
615
- )
616
- ])
617
- ], 10, _hoisted_1$6),
618
- _ctx.$slots["sub-link"] && unref(direction) === "vertical" ? (openBlock(), createElementBlock(
619
- "div",
620
- {
621
- key: 0,
622
- class: normalizeClass(unref(ns).e("list"))
623
- },
624
- [
625
- renderSlot(_ctx.$slots, "sub-link")
626
- ],
627
- 2
628
- )) : createCommentVNode("v-if", true)
629
- ],
630
- 2
631
- );
632
- };
633
- }
634
- });
635
- var AnchorLink = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/anchor/src/anchor-link.vue"]]);
352
+ }
353
+ return collection;
354
+ };
355
+ }
636
356
 
637
- const ElAnchor = withInstall(Anchor, {
638
- AnchorLink
639
- });
640
- const ElAnchorLink = withNoopInstall(AnchorLink);
357
+ /**
358
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
359
+ *
360
+ * @private
361
+ * @param {Array|Object} collection The collection to iterate over.
362
+ * @param {Function} iteratee The function invoked per iteration.
363
+ * @returns {Array|Object} Returns `collection`.
364
+ */
365
+ var baseEach = createBaseEach(baseForOwn);
366
+
367
+ /**
368
+ * The base implementation of `_.map` without support for iteratee shorthands.
369
+ *
370
+ * @private
371
+ * @param {Array|Object} collection The collection to iterate over.
372
+ * @param {Function} iteratee The function invoked per iteration.
373
+ * @returns {Array} Returns the new mapped array.
374
+ */
375
+ function baseMap(collection, iteratee) {
376
+ var index = -1,
377
+ result = isArrayLike(collection) ? Array(collection.length) : [];
378
+
379
+ baseEach(collection, function(value, key, collection) {
380
+ result[++index] = iteratee(value, key, collection);
381
+ });
382
+ return result;
383
+ }
384
+
385
+ /**
386
+ * Creates an array of values by running each element in `collection` thru
387
+ * `iteratee`. The iteratee is invoked with three arguments:
388
+ * (value, index|key, collection).
389
+ *
390
+ * Many lodash methods are guarded to work as iteratees for methods like
391
+ * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
392
+ *
393
+ * The guarded methods are:
394
+ * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
395
+ * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
396
+ * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
397
+ * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
398
+ *
399
+ * @static
400
+ * @memberOf _
401
+ * @since 0.1.0
402
+ * @category Collection
403
+ * @param {Array|Object} collection The collection to iterate over.
404
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
405
+ * @returns {Array} Returns the new mapped array.
406
+ * @example
407
+ *
408
+ * function square(n) {
409
+ * return n * n;
410
+ * }
411
+ *
412
+ * _.map([4, 8], square);
413
+ * // => [16, 64]
414
+ *
415
+ * _.map({ 'a': 4, 'b': 8 }, square);
416
+ * // => [16, 64] (iteration order is not guaranteed)
417
+ *
418
+ * var users = [
419
+ * { 'user': 'barney' },
420
+ * { 'user': 'fred' }
421
+ * ];
422
+ *
423
+ * // The `_.property` iteratee shorthand.
424
+ * _.map(users, 'user');
425
+ * // => ['barney', 'fred']
426
+ */
427
+ function map(collection, iteratee) {
428
+ var func = isArray(collection) ? arrayMap : baseMap;
429
+ return func(collection, baseIteratee(iteratee));
430
+ }
431
+
432
+ /**
433
+ * Creates a flattened array of values by running each element in `collection`
434
+ * thru `iteratee` and flattening the mapped results. The iteratee is invoked
435
+ * with three arguments: (value, index|key, collection).
436
+ *
437
+ * @static
438
+ * @memberOf _
439
+ * @since 4.0.0
440
+ * @category Collection
441
+ * @param {Array|Object} collection The collection to iterate over.
442
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
443
+ * @returns {Array} Returns the new flattened array.
444
+ * @example
445
+ *
446
+ * function duplicate(n) {
447
+ * return [n, n];
448
+ * }
449
+ *
450
+ * _.flatMap([1, 2], duplicate);
451
+ * // => [1, 1, 2, 2]
452
+ */
453
+ function flatMap(collection, iteratee) {
454
+ return baseFlatten(map(collection, iteratee), 1);
455
+ }
456
+
457
+ /** Used as references for various `Number` constants. */
458
+ var INFINITY = 1 / 0;
459
+
460
+ /**
461
+ * This method is like `_.flatMap` except that it recursively flattens the
462
+ * mapped results.
463
+ *
464
+ * @static
465
+ * @memberOf _
466
+ * @since 4.7.0
467
+ * @category Collection
468
+ * @param {Array|Object} collection The collection to iterate over.
469
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
470
+ * @returns {Array} Returns the new flattened array.
471
+ * @example
472
+ *
473
+ * function duplicate(n) {
474
+ * return [[[n, n]]];
475
+ * }
476
+ *
477
+ * _.flatMapDeep([1, 2], duplicate);
478
+ * // => [1, 1, 2, 2]
479
+ */
480
+ function flatMapDeep(collection, iteratee) {
481
+ return baseFlatten(map(collection, iteratee), INFINITY);
482
+ }
641
483
 
642
484
  function usePCAData(params) {
643
485
  const loading = ref(false);
@@ -879,7 +721,7 @@ const style0$2 = {
879
721
  const cssModules$2 = {
880
722
  "$style": style0$2
881
723
  };
882
- const ElevatorItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__cssModules", cssModules$2]]);
724
+ const ElevatorItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__cssModules", cssModules$2]]);
883
725
 
884
726
  const _hoisted_1$4 = { key: 0 };
885
727
  const _hoisted_2$2 = { key: 1 };
@@ -1005,7 +847,7 @@ const style0$1 = {
1005
847
  const cssModules$1 = {
1006
848
  "$style": style0$1
1007
849
  };
1008
- const CPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__cssModules", cssModules$1]]);
850
+ const CPicker = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__cssModules", cssModules$1]]);
1009
851
 
1010
852
  const _hoisted_1$3 = { class: "vc-pca-wrapper" };
1011
853
  const _hoisted_2$1 = ["onClick"];
@@ -1490,7 +1332,7 @@ const style0 = {
1490
1332
  const cssModules = {
1491
1333
  "$style": style0
1492
1334
  };
1493
- const Component = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules]]);
1335
+ const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
1494
1336
 
1495
1337
  const __vite_glob_0_42 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
1496
1338
  __proto__: null,