@wfrog/vc-ui 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/es/chunk/{BMzd-IS6.mjs → 09Ec85_u.mjs} +13 -13
- package/dist/es/chunk/{su2Zrql0.mjs → 4eyJqDa9.mjs} +1 -1
- package/dist/es/chunk/{Dqz1zvKN.mjs → 73YgKz3H.mjs} +1 -1
- package/dist/es/chunk/{Dh4jaUSg.mjs → B5UQmWXg.mjs} +5 -5
- package/dist/es/chunk/{CVlj9F0I.mjs → BHsNc7jl.mjs} +4 -3
- package/dist/es/chunk/{CEm0brzD.mjs → BI0vrXwX.mjs} +2 -1
- package/dist/es/chunk/{BJS5Pdfp.mjs → BTpNRPQW.mjs} +1 -1
- package/dist/es/chunk/{De_EXLIy.mjs → BUEEWLrd.mjs} +1 -1
- package/dist/es/chunk/{C5hWsUfD.mjs → BcTuAX8r.mjs} +2 -2
- package/dist/es/chunk/{DyDMGLoF.mjs → Bl2KlMdP.mjs} +3 -2
- package/dist/es/chunk/{ViP2SEY4.mjs → Bp9jXKX0.mjs} +2 -3
- package/dist/es/chunk/{C2LgraHx.mjs → BpqBBo4z.mjs} +2 -3
- package/dist/es/chunk/{CS4VKsqy.mjs → BsGCX4td.mjs} +1 -1
- package/dist/es/chunk/{-EkpfdcW.mjs → BsLJxiSC.mjs} +46 -8
- package/dist/es/chunk/{zfg5SOj1.mjs → BtTIs3tG.mjs} +3 -3
- package/dist/es/chunk/{B_tU9Nax.mjs → BzedaLtg.mjs} +1 -1
- package/dist/es/chunk/{Dvi7RsXg.mjs → C7wQNvSS.mjs} +10 -9
- package/dist/es/chunk/{8rLUmOVR.mjs → CBSopeeE.mjs} +3 -2
- package/dist/es/chunk/{Coex0GxM.mjs → CLCfXfvv.mjs} +10 -10
- package/dist/es/chunk/{DqUIKX7f.mjs → CLMc8GzD.mjs} +8 -7
- package/dist/es/chunk/{D3uV7vm-.mjs → CLbj8G-F.mjs} +3 -3
- package/dist/es/chunk/{C7iSSBUr.mjs → CPERtDRX.mjs} +5 -5
- package/dist/es/chunk/{VAdRxe-1.mjs → Cbhe4I9Z.mjs} +1 -1
- package/dist/es/chunk/{D5259bwd.mjs → CizMbf5K.mjs} +2 -1
- package/dist/es/chunk/CsLIbnzG.mjs +64 -0
- package/dist/es/chunk/{Ce9ApjrT.mjs → Cu6erWl4.mjs} +4 -4
- package/dist/es/chunk/{VCrtRnxt.mjs → D0LB3gF-.mjs} +7 -7
- package/dist/es/chunk/{D3DXeVfC.mjs → DFOLES4O.mjs} +60 -16
- package/dist/es/chunk/{E_WRn0OP.mjs → DRoyW749.mjs} +58 -264
- package/dist/es/chunk/{D389hx_T.mjs → DTLPXrjb.mjs} +1 -1
- package/dist/es/chunk/{DZACQ9LT.mjs → DXPWe_a5.mjs} +2 -2
- package/dist/es/chunk/{BWcCXRRK.mjs → DZD-YnCt.mjs} +4 -4
- package/dist/es/chunk/{BdDihk0t.mjs → DaCDeO95.mjs} +591 -562
- package/dist/es/chunk/{CZ4ggqDE.mjs → DihosKp1.mjs} +6 -6
- package/dist/es/chunk/{aibQ9WSZ.mjs → Dk6Bx0KT.mjs} +1 -1
- package/dist/es/chunk/{CyxEcbcy.mjs → DouIsSPi.mjs} +1 -1
- package/dist/es/chunk/{HSv8BL8o.mjs → DrgvuOYH.mjs} +2 -1
- package/dist/es/chunk/{DhhdKtyu.mjs → DwKWIlzw.mjs} +9 -8
- package/dist/es/chunk/{BX-Ogf7p.mjs → FHvLvzEB.mjs} +23 -23
- package/dist/es/chunk/{CMABHk8B.mjs → HAog8AWU.mjs} +22 -22
- package/dist/es/chunk/{Spa-JKB4.mjs → NQBKROII.mjs} +127 -2
- package/dist/es/chunk/{BAtns-Mc.mjs → OEa4tYPF.mjs} +1 -1
- package/dist/es/chunk/{JCIyOUEY.mjs → XwSiBVsA.mjs} +3 -2
- package/dist/es/chunk/{CaTfZePA.mjs → axpwSky6.mjs} +5 -5
- package/dist/es/chunk/{DMHNh_tw.mjs → cPBw23yt.mjs} +3 -3
- package/dist/es/chunk/{nWBcrYxV.mjs → f0-vIQGp.mjs} +3 -5
- package/dist/es/components/awesome-icon/awesome-icon.mjs +4 -6
- package/dist/es/components/backbottom/backbottom.mjs +2 -2
- package/dist/es/components/button/button.mjs +8 -8
- package/dist/es/components/choice/choice.mjs +2 -2
- package/dist/es/components/choice-boolean/choice-boolean.mjs +1 -1
- package/dist/es/components/config-provider/config-provider.mjs +1 -1
- package/dist/es/components/config-provider/config-provider2.mjs +1 -1
- package/dist/es/components/cropper/cropper.mjs +150 -15
- package/dist/es/components/currency/currency.mjs +6 -6
- package/dist/es/components/daterange-picker/daterange-picker.mjs +25 -23
- package/dist/es/components/dialog/dialog.mjs +11 -12
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +20 -23
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +8 -13
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +12 -16
- package/dist/es/components/drag-verify/components/image.vue.d.ts +54 -0
- package/dist/es/components/drag-verify/components/text.vue.d.ts +22 -0
- package/dist/es/components/drag-verify/drag-verify.d.ts +22 -0
- package/dist/es/components/drag-verify/drag-verify.mjs +475 -0
- package/dist/es/components/drag-verify/drag-verify.vue.d.ts +123 -0
- package/dist/es/components/drag-verify/helper.d.ts +2 -0
- package/dist/es/components/drag-verify/index.css +117 -0
- package/dist/es/components/drag-verify/index.d.ts +4 -0
- package/dist/es/components/drag-verify/index.mjs +6 -0
- package/dist/es/components/drawer/drawer.mjs +12 -13
- package/dist/es/components/easy-pagination/easy-pagination.mjs +4 -4
- package/dist/es/components/el-icon/el-icon.mjs +2 -2
- package/dist/es/components/flag/flag.mjs +1 -1
- package/dist/es/components/icon/icon.mjs +2 -2
- package/dist/es/components/icon/icon2.mjs +1 -1
- package/dist/es/components/image/image.mjs +5 -5
- package/dist/es/components/input/input.mjs +4 -4
- package/dist/es/components/input-number/input-number.mjs +5 -5
- package/dist/es/components/pca-picker/pca-picker.mjs +21 -23
- package/dist/es/components/qr-code/qr-code.mjs +1 -1
- package/dist/es/components/screenfull/screenfull.mjs +5 -5
- package/dist/es/components/select/select.mjs +7 -7
- package/dist/es/components/single-player/single-player.mjs +16 -16
- package/dist/es/components/svg-icon/svg-icon.mjs +2 -2
- package/dist/es/components/switch/switch.mjs +2 -2
- package/dist/es/components/sync-scroll-container/sync-scroll-container.mjs +3 -3
- package/dist/es/components/tags/tags.mjs +9 -9
- package/dist/es/components/text-ellipsis/text-ellipsis.mjs +4 -4
- package/dist/es/components/thousand-input/thousand-input.mjs +4 -4
- package/dist/es/components/tinymce/index.css +1 -1
- package/dist/es/components/tinymce/tinymce.mjs +7 -10
- package/dist/es/components/tree-picker/tree-picker.mjs +11 -12
- package/dist/es/components/upload-file/upload-file.mjs +6 -9
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.mjs +26 -24
- package/dist/es/use/useSmallScreen/index.mjs +1 -1
- package/dist/global.d.ts +1 -0
- package/dist/index.css +118 -1
- package/package.json +3 -6
- package/dist/es/chunk/BAGoDD49.mjs +0 -36
- package/dist/es/chunk/CD98REcR.mjs +0 -666
- package/dist/es/chunk/CEClY-_T.mjs +0 -445
- package/dist/es/chunk/Fo0dZYnz.mjs +0 -128
- package/dist/es/chunk/O-uhUKF4.mjs +0 -43
- package/dist/es/chunk/qY9OvNHY.mjs +0 -283
- package/dist/es/components/cdn-tag.vue.d.ts +0 -5
- package/dist/es/components/document.vue.d.ts +0 -14
- package/dist/es/components/example-wrapper.vue.d.ts +0 -19
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
组件开发时,依赖的 `vue` 版本是 `^3.5.22`
|
|
7
7
|
|
|
8
|
-
组件库所使用 CDN 源为 [jsdelivr](https://www.jsdelivr.com/),并使用了一个自用的函数库 `@wfrog/utils`
|
|
8
|
+
组件库所使用 CDN 源为 [jsdelivr](https://www.jsdelivr.com/),并使用了一个自用的函数库 `@wfrog/vc-utils`
|
|
9
9
|
|
|
10
10
|
**!!!如果 jsdelivr 无法访问,会导致部分组件失效。解决办法:todo**
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
```sh
|
|
17
17
|
pnpm i element-plus@~2.11.7 @element-plus/icons-vue@^2.3.2 @vueuse/core@^14.0.0
|
|
18
|
-
pnpm i @wfrog/utils@^
|
|
18
|
+
pnpm i @wfrog/vc-utils@^1.0.0 lodash-es@^4.17.21
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## 全量引入
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent, markRaw, ref, effectScope, computed, shallowRef, watch, nextTick, onMounted, createBlock, openBlock, unref, withCtx, createVNode, Transition, createElementVNode, normalizeStyle, normalizeClass, createCommentVNode, createElementBlock, renderSlot, withModifiers, Fragment, createTextVNode, toDisplayString, resolveDynamicComponent, useAttrs, mergeProps, createSlots, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { b as ElTeleport, d as ElFocusTrap } from './
|
|
4
|
-
import { E as ElIcon } from './
|
|
2
|
+
import { clamp, useEventListener, isClient, useThrottleFn, useIntersectionObserver } from '@vueuse/core';
|
|
3
|
+
import { b as ElTeleport, d as ElFocusTrap } from './CLMc8GzD.mjs';
|
|
4
|
+
import { E as ElIcon } from './cPBw23yt.mjs';
|
|
5
5
|
import { ScaleToOriginal, FullScreen, Close, ArrowLeft, ArrowRight, ZoomOut, ZoomIn, RefreshLeft, RefreshRight } from '@element-plus/icons-vue';
|
|
6
|
-
import { f as isNumber, c as buildProps, d as definePropType, u as useNamespace, m as
|
|
6
|
+
import { f as isNumber, c as buildProps, d as definePropType, u as useNamespace, m as fromPairs, i as isArray, n as isElement, h as isString, o as isWindow } from './DRoyW749.mjs';
|
|
7
7
|
import { m as mutable } from './B-rxnVJv.mjs';
|
|
8
|
-
import { _ as _export_sfc, w as withInstall } from './
|
|
9
|
-
import { u as useLocale } from './
|
|
10
|
-
import { u as useZIndex } from './
|
|
11
|
-
import { u as useLockscreen } from './
|
|
12
|
-
import { g as getEventCode, E as EVENT_CODE } from './
|
|
8
|
+
import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
|
|
9
|
+
import { u as useLocale } from './Dk6Bx0KT.mjs';
|
|
10
|
+
import { u as useZIndex } from './BI0vrXwX.mjs';
|
|
11
|
+
import { u as useLockscreen } from './CLbj8G-F.mjs';
|
|
12
|
+
import { g as getEventCode, E as EVENT_CODE } from './BTpNRPQW.mjs';
|
|
13
13
|
import { k as keysOf } from './DVNTpOBR.mjs';
|
|
14
|
-
import { d as debounce } from './
|
|
15
|
-
import { i as isObject } from './
|
|
16
|
-
import { u as useAttrs$1 } from './
|
|
17
|
-
import { g as getScrollContainer } from './
|
|
14
|
+
import { d as debounce } from './Bp9jXKX0.mjs';
|
|
15
|
+
import { i as isObject } from './NQBKROII.mjs';
|
|
16
|
+
import { u as useAttrs$1 } from './BUEEWLrd.mjs';
|
|
17
|
+
import { g as getScrollContainer } from './Bl2KlMdP.mjs';
|
|
18
18
|
|
|
19
19
|
/** Error message constants. */
|
|
20
20
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getCurrentInstance, inject, ref, computed, unref, provide } from 'vue';
|
|
2
|
-
import { u as useNamespace,
|
|
3
|
-
import { u as useZIndex, d as defaultInitialZIndex, z as zIndexContextKey } from './
|
|
4
|
-
import { u as useLocale, l as localeContextKey } from './
|
|
5
|
-
import { S as SIZE_INJECTION_KEY } from './
|
|
6
|
-
import { e as emptyValuesContextKey } from './
|
|
2
|
+
import { u as useNamespace, x as defaultNamespace, e as debugWarn, C as namespaceContextKey } from './DRoyW749.mjs';
|
|
3
|
+
import { u as useZIndex, d as defaultInitialZIndex, z as zIndexContextKey } from './BI0vrXwX.mjs';
|
|
4
|
+
import { u as useLocale, l as localeContextKey } from './Dk6Bx0KT.mjs';
|
|
5
|
+
import { S as SIZE_INJECTION_KEY } from './BsGCX4td.mjs';
|
|
6
|
+
import { e as emptyValuesContextKey } from './BcTuAX8r.mjs';
|
|
7
7
|
import { k as keysOf } from './DVNTpOBR.mjs';
|
|
8
8
|
|
|
9
9
|
const configProviderContextKey = Symbol();
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ref, reactive, defineComponent, h, Transition, withCtx, withDirectives, createVNode, vShow, createApp, toRefs, nextTick, isRef } from 'vue';
|
|
2
|
-
import { a as useGlobalComponentSettings } from './
|
|
3
|
-
import { r as removeClass, g as getStyle, b as addClass } from './
|
|
4
|
-
import {
|
|
2
|
+
import { a as useGlobalComponentSettings } from './B5UQmWXg.mjs';
|
|
3
|
+
import { r as removeClass, g as getStyle, b as addClass } from './CizMbf5K.mjs';
|
|
4
|
+
import { isClient } from '@vueuse/core';
|
|
5
|
+
import { h as isString, p as isObject, w as hyphenate } from './DRoyW749.mjs';
|
|
5
6
|
|
|
6
7
|
function createLoadingComponent(options, appContext) {
|
|
7
8
|
let afterLeaveTimer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { getCurrentInstance, inject, computed, unref, ref } from 'vue';
|
|
2
|
-
import { f as isNumber,
|
|
2
|
+
import { f as isNumber, e as debugWarn } from './DRoyW749.mjs';
|
|
3
|
+
import { isClient } from '@vueuse/core';
|
|
3
4
|
|
|
4
5
|
const initial = {
|
|
5
6
|
current: 0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, getCurrentInstance } from 'vue';
|
|
2
|
-
import { e as debugWarn,
|
|
2
|
+
import { e as debugWarn, m as fromPairs } from './DRoyW749.mjs';
|
|
3
3
|
|
|
4
4
|
const DEFAULT_EXCLUDE_KEYS = ["class", "style"];
|
|
5
5
|
const LISTENER_PREFIX = /^on[A-Z]/;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getCurrentInstance, inject, ref, computed } from 'vue';
|
|
2
|
-
import { c as buildProps, d as definePropType, j as isFunction, i as isArray, e as debugWarn } from './
|
|
3
|
-
import { i as isEqual } from '
|
|
2
|
+
import { c as buildProps, d as definePropType, j as isFunction, i as isArray, e as debugWarn } from './DRoyW749.mjs';
|
|
3
|
+
import { i as isEqual } from './BsLJxiSC.mjs';
|
|
4
4
|
|
|
5
5
|
const emptyValuesContextKey = Symbol("emptyValuesContextKey");
|
|
6
6
|
const SCOPE = "use-empty-values";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { isClient } from '@vueuse/core';
|
|
2
|
+
import { o as isWindow, j as isFunction } from './DRoyW749.mjs';
|
|
3
|
+
import { g as getStyle } from './CizMbf5K.mjs';
|
|
3
4
|
|
|
4
5
|
function easeInOutCubic(t, b, c, d) {
|
|
5
6
|
const cc = c - b;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { i as isObject } from './
|
|
2
|
-
import {
|
|
3
|
-
import { t as toNumber } from './BAtns-Mc.mjs';
|
|
1
|
+
import { r as root, i as isObject } from './NQBKROII.mjs';
|
|
2
|
+
import { t as toNumber } from './OEa4tYPF.mjs';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { c as buildProps } from './
|
|
2
|
-
import {
|
|
3
|
-
import { S as Symbol$1 } from './Fo0dZYnz.mjs';
|
|
1
|
+
import { c as buildProps } from './DRoyW749.mjs';
|
|
2
|
+
import { h as getNative, s as eq, S as Symbol$1, b as isArray, m as isArguments, p as arrayPush, g as castPath, t as toKey, j as isLength, n as isIndex, i as isObject, d as baseGet } from './NQBKROII.mjs';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* This method returns the first argument it receives.
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as root, i as isObjectLike, b as baseGetTag, S as Symbol$1 } from './Fo0dZYnz.mjs';
|
|
3
|
-
import { b as baseUnary, n as nodeUtil } from './O-uhUKF4.mjs';
|
|
1
|
+
import { h as getNative, r as root, j as isLength, k as isFunction, e as isObjectLike, f as baseGetTag, l as freeGlobal, m as isArguments, n as isIndex, b as isArray, L as ListCache, M as Map, o as MapCache, p as arrayPush, q as toSource, S as Symbol$1, s as eq } from './NQBKROII.mjs';
|
|
4
2
|
|
|
5
3
|
/* Built-in method references that are verified to be native. */
|
|
6
4
|
var WeakMap = getNative(root, 'WeakMap');
|
|
@@ -88,16 +86,16 @@ function stubFalse() {
|
|
|
88
86
|
}
|
|
89
87
|
|
|
90
88
|
/** Detect free variable `exports`. */
|
|
91
|
-
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
89
|
+
var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
92
90
|
|
|
93
91
|
/** Detect free variable `module`. */
|
|
94
|
-
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
92
|
+
var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
|
|
95
93
|
|
|
96
94
|
/** Detect the popular CommonJS extension `module.exports`. */
|
|
97
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
95
|
+
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
98
96
|
|
|
99
97
|
/** Built-in value references. */
|
|
100
|
-
var Buffer = moduleExports ? root.Buffer : undefined;
|
|
98
|
+
var Buffer = moduleExports$1 ? root.Buffer : undefined;
|
|
101
99
|
|
|
102
100
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
103
101
|
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
@@ -176,6 +174,46 @@ function baseIsTypedArray(value) {
|
|
|
176
174
|
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
177
175
|
}
|
|
178
176
|
|
|
177
|
+
/**
|
|
178
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
179
|
+
*
|
|
180
|
+
* @private
|
|
181
|
+
* @param {Function} func The function to cap arguments for.
|
|
182
|
+
* @returns {Function} Returns the new capped function.
|
|
183
|
+
*/
|
|
184
|
+
function baseUnary(func) {
|
|
185
|
+
return function(value) {
|
|
186
|
+
return func(value);
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/** Detect free variable `exports`. */
|
|
191
|
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
192
|
+
|
|
193
|
+
/** Detect free variable `module`. */
|
|
194
|
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
195
|
+
|
|
196
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
197
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
198
|
+
|
|
199
|
+
/** Detect free variable `process` from Node.js. */
|
|
200
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
|
201
|
+
|
|
202
|
+
/** Used to access faster Node.js helpers. */
|
|
203
|
+
var nodeUtil = (function() {
|
|
204
|
+
try {
|
|
205
|
+
// Use `util.types` for Node.js 10+.
|
|
206
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
207
|
+
|
|
208
|
+
if (types) {
|
|
209
|
+
return types;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
213
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
214
|
+
} catch (e) {}
|
|
215
|
+
}());
|
|
216
|
+
|
|
179
217
|
/* Node.js helper references. */
|
|
180
218
|
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
181
219
|
|
|
@@ -1097,4 +1135,4 @@ function isEqual(value, other) {
|
|
|
1097
1135
|
return baseIsEqual(value, other);
|
|
1098
1136
|
}
|
|
1099
1137
|
|
|
1100
|
-
export { Stack as S, Uint8Array as U, isArrayLike as a, baseIsEqual as b, isPrototype as c, arrayLikeKeys as d, baseGetAllKeys as e, getTag as f, getSymbols as g,
|
|
1138
|
+
export { Stack as S, Uint8Array as U, isArrayLike as a, baseIsEqual as b, isPrototype as c, arrayLikeKeys as d, baseGetAllKeys as e, getTag as f, getSymbols as g, baseUnary as h, isEqual as i, isBuffer as j, keys as k, getAllKeys as l, nodeUtil as n, overArg as o, stubArray as s };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, useSlots, ref, computed, createBlock, openBlock, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeClass, createCommentVNode, renderSlot, resolveDynamicComponent, createElementBlock, createTextVNode, toDisplayString, Fragment, createVNode, vShow } from 'vue';
|
|
2
|
-
import { E as ElIcon } from './
|
|
2
|
+
import { E as ElIcon } from './cPBw23yt.mjs';
|
|
3
3
|
import { T as TypeComponentsMap, a as TypeComponents } from '../components/icon/icon2.mjs';
|
|
4
|
-
import { c as buildProps, u as useNamespace, e as debugWarn } from './
|
|
4
|
+
import { c as buildProps, u as useNamespace, e as debugWarn } from './DRoyW749.mjs';
|
|
5
5
|
import { k as keysOf } from './DVNTpOBR.mjs';
|
|
6
|
-
import { _ as _export_sfc, w as withInstall } from './
|
|
6
|
+
import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
|
|
7
7
|
|
|
8
8
|
const alertEffects = ["light", "dark"];
|
|
9
9
|
const alertProps = buildProps({
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, useSlots, computed, shallowRef, ref, watch, nextTick, onMounted, toRef, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, Fragment, createElementVNode, renderSlot, createBlock, withCtx, resolveDynamicComponent, mergeProps, withModifiers, toDisplayString } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { E as ElIcon } from './
|
|
2
|
+
import { useResizeObserver, isClient } from '@vueuse/core';
|
|
3
|
+
import { E as ElIcon } from './cPBw23yt.mjs';
|
|
4
4
|
import { CircleClose, View, Hide } from '@element-plus/icons-vue';
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
5
|
+
import { i as isFirefox } from './CsLIbnzG.mjs';
|
|
6
|
+
import { f as isNumber, h as isString, c as buildProps, d as definePropType, u as useNamespace, k as isNil, e as debugWarn, N as NOOP, p as isObject } from './DRoyW749.mjs';
|
|
7
|
+
import { u as useSizeProp } from './BsGCX4td.mjs';
|
|
7
8
|
import { i as iconPropType, V as ValidateComponentsMap } from '../components/icon/icon2.mjs';
|
|
8
9
|
import { m as mutable } from './B-rxnVJv.mjs';
|
|
9
|
-
import { u as useAriaProps } from './
|
|
10
|
+
import { u as useAriaProps } from './BpqBBo4z.mjs';
|
|
10
11
|
import { U as UPDATE_MODEL_EVENT, C as CHANGE_EVENT, I as INPUT_EVENT } from './Ct6q2FXg.mjs';
|
|
11
|
-
import { _ as _export_sfc, w as withInstall } from './
|
|
12
|
-
import { u as useAttrs$1 } from './
|
|
13
|
-
import { c as useFormSize, b as useFormDisabled, u as useFormItem, a as useFormItemInputId } from './
|
|
14
|
-
import { u as useFocusController, a as useComposition } from './
|
|
12
|
+
import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
|
|
13
|
+
import { u as useAttrs$1 } from './BUEEWLrd.mjs';
|
|
14
|
+
import { c as useFormSize, b as useFormDisabled, u as useFormItem, a as useFormItemInputId } from './DXPWe_a5.mjs';
|
|
15
|
+
import { u as useFocusController, a as useComposition } from './XwSiBVsA.mjs';
|
|
15
16
|
|
|
16
17
|
let hiddenTextarea = void 0;
|
|
17
18
|
const HIDDEN_STYLE = {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { inject, getCurrentInstance
|
|
2
|
-
import {
|
|
1
|
+
import { unref, inject, getCurrentInstance } from 'vue';
|
|
2
|
+
import { isClient, computedEager } from '@vueuse/core';
|
|
3
|
+
import { e as debugWarn, s as useGetDerivedNamespace } from './DRoyW749.mjs';
|
|
3
4
|
|
|
4
5
|
const defaultIdInjection = {
|
|
5
6
|
prefix: Math.floor(Math.random() * 1e4),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, computed, watch, onMounted, onUpdated, createElementBlock, openBlock, withModifiers, normalizeClass, unref, withDirectives, createCommentVNode, createVNode, withKeys, renderSlot, withCtx, createBlock, createSlots } from 'vue';
|
|
2
|
-
import { E as ElInput } from './
|
|
3
|
-
import { E as ElIcon } from './
|
|
2
|
+
import { E as ElInput } from './C7wQNvSS.mjs';
|
|
3
|
+
import { E as ElIcon } from './cPBw23yt.mjs';
|
|
4
4
|
import { ArrowDown, Minus, ArrowUp, Plus } from '@element-plus/icons-vue';
|
|
5
|
-
import { f as isNumber, k as isNil, c as buildProps, d as definePropType, u as useNamespace, g as isUndefined, e as debugWarn, t as throwError, h as isString } from './
|
|
6
|
-
import { u as useSizeProp } from './
|
|
7
|
-
import { u as useAriaProps } from './
|
|
5
|
+
import { f as isNumber, k as isNil, c as buildProps, d as definePropType, u as useNamespace, g as isUndefined, e as debugWarn, t as throwError, h as isString } from './DRoyW749.mjs';
|
|
6
|
+
import { u as useSizeProp } from './BsGCX4td.mjs';
|
|
7
|
+
import { u as useAriaProps } from './BpqBBo4z.mjs';
|
|
8
8
|
import { U as UPDATE_MODEL_EVENT, I as INPUT_EVENT, C as CHANGE_EVENT } from './Ct6q2FXg.mjs';
|
|
9
|
-
import { _ as _export_sfc, w as withInstall } from './
|
|
10
|
-
import { v as vRepeatClick } from './
|
|
11
|
-
import { g as getEventCode, a as getEventKey, E as EVENT_CODE } from './
|
|
12
|
-
import { u as useLocale } from './
|
|
13
|
-
import { u as useFormItem, c as useFormSize, b as useFormDisabled } from './
|
|
9
|
+
import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
|
|
10
|
+
import { v as vRepeatClick } from './4eyJqDa9.mjs';
|
|
11
|
+
import { g as getEventCode, a as getEventKey, E as EVENT_CODE } from './BTpNRPQW.mjs';
|
|
12
|
+
import { u as useLocale } from './Dk6Bx0KT.mjs';
|
|
13
|
+
import { u as useFormItem, c as useFormSize, b as useFormDisabled } from './DXPWe_a5.mjs';
|
|
14
14
|
|
|
15
15
|
const inputNumberProps = buildProps({
|
|
16
16
|
id: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, provide, renderSlot, inject, onBeforeUnmount, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, withDirectives, cloneVNode, Comment, Fragment, Text, createVNode, onMounted, watch, createBlock, createCommentVNode, mergeProps, withCtx, nextTick, shallowRef, getCurrentInstance, toRef, Teleport as Teleport$1, onBeforeMount, Transition, vShow, readonly, onDeactivated, toDisplayString } from 'vue';
|
|
2
|
-
import { c as buildProps, u as useNamespace, d as definePropType, N as NOOP, e as debugWarn,
|
|
3
|
-
import { _ as _export_sfc, w as withInstall } from './
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { u as
|
|
2
|
+
import { c as buildProps, u as useNamespace, d as definePropType, N as NOOP, e as debugWarn, p as isObject, n as isElement, k as isNil, h as isString, m as fromPairs, f as isNumber, r as buildProp, j as isFunction, q as isBoolean, i as isArray, s as useGetDerivedNamespace } from './DRoyW749.mjs';
|
|
3
|
+
import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
|
|
4
|
+
import { unrefElement, isClient, tryOnScopeDispose, computedEager, onClickOutside } from '@vueuse/core';
|
|
5
|
+
import { u as useAriaProps } from './BpqBBo4z.mjs';
|
|
6
|
+
import { g as getEventCode, E as EVENT_CODE, c as composeEventHandlers } from './BTpNRPQW.mjs';
|
|
7
|
+
import { a as isFocusable, f as focusElement } from './CsLIbnzG.mjs';
|
|
8
|
+
import { f as formItemContextKey, a as useIdInjection, u as useId } from './CBSopeeE.mjs';
|
|
9
|
+
import { u as useZIndex } from './BI0vrXwX.mjs';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Checks if `value` is `undefined`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isRef, computed, watch, onScopeDispose } from 'vue';
|
|
2
|
-
import { t as throwError, u as useNamespace } from './
|
|
3
|
-
import { h as hasClass, b as addClass, g as getStyle, r as removeClass } from './
|
|
4
|
-
import { e as getScrollBarWidth } from './
|
|
2
|
+
import { t as throwError, u as useNamespace } from './DRoyW749.mjs';
|
|
3
|
+
import { h as hasClass, b as addClass, g as getStyle, r as removeClass } from './CizMbf5K.mjs';
|
|
4
|
+
import { e as getScrollBarWidth } from './Bl2KlMdP.mjs';
|
|
5
5
|
|
|
6
6
|
const useLockscreen = (trigger, options = {}) => {
|
|
7
7
|
if (!isRef(trigger)) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, unref, createBlock, openBlock, mergeProps, withCtx, renderSlot, createCommentVNode, createElementBlock, normalizeClass, toDisplayString, createTextVNode } from 'vue';
|
|
2
|
-
import { u as useTooltipContentProps, r as roleTypes, f as useTooltipTriggerProps, a as ElTooltip } from './
|
|
3
|
-
import { c as buildProps, d as definePropType,
|
|
4
|
-
import { E as EVENT_CODE } from './
|
|
2
|
+
import { u as useTooltipContentProps, r as roleTypes, f as useTooltipTriggerProps, a as ElTooltip } from './CLMc8GzD.mjs';
|
|
3
|
+
import { c as buildProps, d as definePropType, q as isBoolean, u as useNamespace } from './DRoyW749.mjs';
|
|
4
|
+
import { E as EVENT_CODE } from './BTpNRPQW.mjs';
|
|
5
5
|
import { i as iconPropType } from '../components/icon/icon2.mjs';
|
|
6
|
-
import { _ as _export_sfc, w as withInstall, b as withInstallDirective } from './
|
|
7
|
-
import { a as addUnit } from './
|
|
6
|
+
import { _ as _export_sfc, w as withInstall, b as withInstallDirective } from './DTLPXrjb.mjs';
|
|
7
|
+
import { a as addUnit } from './CizMbf5K.mjs';
|
|
8
8
|
|
|
9
9
|
const dropdownProps = buildProps({
|
|
10
10
|
trigger: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watch, unref } from 'vue';
|
|
2
|
-
import { e as debugWarn } from './
|
|
2
|
+
import { e as debugWarn } from './DRoyW749.mjs';
|
|
3
3
|
|
|
4
4
|
const useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
|
|
5
5
|
watch(() => unref(condition), (val) => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { f as isNumber,
|
|
1
|
+
import { f as isNumber, A as isStringNumber, h as isString, e as debugWarn, B as camelize } from './DRoyW749.mjs';
|
|
2
|
+
import { isClient } from '@vueuse/core';
|
|
2
3
|
|
|
3
4
|
const SCOPE = "utils/dom/style";
|
|
4
5
|
const classNameToArray = (cls = "") => cls.split(" ").filter((item) => !!item.trim());
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { isClient } from '@vueuse/core';
|
|
2
|
+
|
|
3
|
+
const isFirefox = () => isClient && /firefox/i.test(window.navigator.userAgent);
|
|
4
|
+
const isAndroid = () => isClient && /android/i.test(window.navigator.userAgent);
|
|
5
|
+
|
|
6
|
+
const isHTMLElement = (e) => {
|
|
7
|
+
if (typeof Element === "undefined")
|
|
8
|
+
return false;
|
|
9
|
+
return e instanceof Element;
|
|
10
|
+
};
|
|
11
|
+
const isFocusable = (element) => {
|
|
12
|
+
if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute("tabIndex") !== null) {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
if (element.tabIndex < 0 || element.hasAttribute("disabled") || element.getAttribute("aria-disabled") === "true") {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
switch (element.nodeName) {
|
|
19
|
+
case "A": {
|
|
20
|
+
return !!element.href && element.rel !== "ignore";
|
|
21
|
+
}
|
|
22
|
+
case "INPUT": {
|
|
23
|
+
return !(element.type === "hidden" || element.type === "file");
|
|
24
|
+
}
|
|
25
|
+
case "BUTTON":
|
|
26
|
+
case "SELECT":
|
|
27
|
+
case "TEXTAREA": {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
default: {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
const isLeaf = (el) => !el.getAttribute("aria-owns");
|
|
36
|
+
const getSibling = (el, distance, elClass) => {
|
|
37
|
+
const { parentNode } = el;
|
|
38
|
+
if (!parentNode)
|
|
39
|
+
return null;
|
|
40
|
+
const siblings = parentNode.querySelectorAll(elClass);
|
|
41
|
+
const index = Array.prototype.indexOf.call(siblings, el);
|
|
42
|
+
return siblings[index + distance] || null;
|
|
43
|
+
};
|
|
44
|
+
const focusElement = (el, options) => {
|
|
45
|
+
if (!el || !el.focus)
|
|
46
|
+
return;
|
|
47
|
+
let cleanup = false;
|
|
48
|
+
if (isHTMLElement(el) && !isFocusable(el) && !el.getAttribute("tabindex")) {
|
|
49
|
+
el.setAttribute("tabindex", "-1");
|
|
50
|
+
cleanup = true;
|
|
51
|
+
}
|
|
52
|
+
el.focus(options);
|
|
53
|
+
if (isHTMLElement(el) && cleanup) {
|
|
54
|
+
el.removeAttribute("tabindex");
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const focusNode = (el) => {
|
|
58
|
+
if (!el)
|
|
59
|
+
return;
|
|
60
|
+
focusElement(el);
|
|
61
|
+
!isLeaf(el) && el.click();
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export { isFocusable as a, isLeaf as b, focusNode as c, isAndroid as d, focusElement as f, getSibling as g, isFirefox as i };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, h, renderSlot, ref, watchEffect, createVNode, createTextVNode, isVNode, Comment } from 'vue';
|
|
2
|
-
import { c as buildProps, u as useNamespace, i as isArray, f as isNumber, h as isString, d as definePropType } from './
|
|
3
|
-
import { P as PatchFlags, i as isFragment, a as isValidElementNode } from './
|
|
4
|
-
import { c as componentSizes } from './
|
|
5
|
-
import { w as withInstall } from './
|
|
2
|
+
import { c as buildProps, u as useNamespace, i as isArray, f as isNumber, h as isString, d as definePropType } from './DRoyW749.mjs';
|
|
3
|
+
import { P as PatchFlags, i as isFragment, a as isValidElementNode } from './BzedaLtg.mjs';
|
|
4
|
+
import { c as componentSizes } from './BsGCX4td.mjs';
|
|
5
|
+
import { w as withInstall } from './DTLPXrjb.mjs';
|
|
6
6
|
|
|
7
7
|
const spaceItemProps = buildProps({
|
|
8
8
|
prefixCls: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed, inject, ref, useSlots, Text, defineComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps, unref, withCtx, createElementBlock, createCommentVNode, Fragment, renderSlot, normalizeClass, provide, reactive, toRef } from 'vue';
|
|
2
|
-
import { E as ElIcon } from './
|
|
3
|
-
import { u as useDeprecated } from './
|
|
4
|
-
import { u as useGlobalConfig } from './
|
|
5
|
-
import { u as useFormItem, c as useFormSize, b as useFormDisabled } from './
|
|
2
|
+
import { E as ElIcon } from './cPBw23yt.mjs';
|
|
3
|
+
import { u as useDeprecated } from './Cbhe4I9Z.mjs';
|
|
4
|
+
import { u as useGlobalConfig } from './B5UQmWXg.mjs';
|
|
5
|
+
import { u as useFormItem, c as useFormSize, b as useFormDisabled } from './DXPWe_a5.mjs';
|
|
6
6
|
import { Loading } from '@element-plus/icons-vue';
|
|
7
|
-
import { c as buildProps, d as definePropType, u as useNamespace } from './
|
|
8
|
-
import { u as useSizeProp } from './
|
|
7
|
+
import { c as buildProps, d as definePropType, u as useNamespace } from './DRoyW749.mjs';
|
|
8
|
+
import { u as useSizeProp } from './BsGCX4td.mjs';
|
|
9
9
|
import { i as iconPropType } from '../components/icon/icon2.mjs';
|
|
10
|
-
import { _ as _export_sfc, w as withInstall, a as withNoopInstall } from './
|
|
10
|
+
import { _ as _export_sfc, w as withInstall, a as withNoopInstall } from './DTLPXrjb.mjs';
|
|
11
11
|
|
|
12
12
|
const buttonGroupContextKey = Symbol("buttonGroupContextKey");
|
|
13
13
|
|