@wfrog/vc-ui 1.11.10 → 1.11.11
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/dist/es/chunk/Bw0Rhd-r.mjs +110 -0
- package/dist/es/chunk/CqTdDZkE.mjs +31 -0
- package/dist/es/chunk/{DAnWZLYj.mjs → CzWfBa_8.mjs} +96 -2
- package/dist/es/chunk/D229kQ56.mjs +28 -0
- package/dist/es/chunk/{Cxx_YWUC.mjs → DcouM6gM.mjs} +6 -548
- package/dist/es/chunk/Fo0dZYnz.mjs +128 -0
- package/dist/es/chunk/KanuIcmc.mjs +412 -0
- package/dist/es/chunk/{B71xEPfK.mjs → uuUHUjSk.mjs} +4 -35
- package/dist/es/components/backbottom/backbottom.mjs +3 -2
- package/dist/es/components/button/button.mjs +4 -5
- package/dist/es/components/choice/choice.mjs +4 -4
- package/dist/es/components/choice/index.css +1 -1
- package/dist/es/components/color-switch/color-switch.mjs +73 -1046
- package/dist/es/components/color-switch/index.css +1 -1
- package/dist/es/components/cropper/cropper.mjs +11 -117
- package/dist/es/components/cropper/index.css +1 -1
- package/dist/es/components/currency/currency.mjs +4 -5
- package/dist/es/components/daterange-picker/daterange-picker.mjs +8 -6253
- package/dist/es/components/dialog/dialog.mjs +7 -400
- package/dist/es/components/dialog/index.css +1 -1
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +10 -11
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +4 -3
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +9 -1374
- package/dist/es/components/dialog-upload-images/index.css +1 -1
- package/dist/es/components/drag-verify/drag-verify.mjs +3 -2
- package/dist/es/components/drawer/drawer.mjs +10 -352
- package/dist/es/components/drawer/index.css +1 -1
- package/dist/es/components/easy-pagination/easy-pagination.mjs +3 -2
- package/dist/es/components/explorer/explorer.mjs +3 -3
- package/dist/es/components/explorer-column-table/explorer-column-table.mjs +5 -7
- package/dist/es/components/explorer-column-table/index.css +1 -1
- package/dist/es/components/explorer-container/explorer-container.d.ts +1 -1
- package/dist/es/components/explorer-container/explorer-container.mjs +4 -3
- package/dist/es/components/explorer-filter/explorer-filter.mjs +5 -4
- package/dist/es/components/explorer-footer/explorer-footer.mjs +4 -8
- package/dist/es/components/explorer-form/explorer-form.mjs +4 -3
- package/dist/es/components/explorer-list/explorer-list.mjs +5 -4
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +4 -3
- package/dist/es/components/explorer-panel/explorer-panel.mjs +3 -3
- package/dist/es/components/explorer-query/explorer-query.mjs +9 -2201
- package/dist/es/components/explorer-query/index.css +1 -1
- package/dist/es/components/explorer-table/explorer-table.mjs +5 -8
- package/dist/es/components/explorer-tools/explorer-tools.mjs +13 -264
- package/dist/es/components/explorer-tools/index.css +1 -1
- package/dist/es/components/explorer-tree/explorer-tree.mjs +4 -5
- package/dist/es/components/icon-picker/icon-picker.mjs +8 -12
- package/dist/es/components/image/image.mjs +4 -4
- package/dist/es/components/info-tooltip/info-tooltip.mjs +336 -4
- package/dist/es/components/input/input.mjs +3 -2
- package/dist/es/components/input-number/input-number.mjs +3 -3
- package/dist/es/components/pca-picker/index.css +1 -1
- package/dist/es/components/pca-picker/pca-picker.mjs +443 -601
- package/dist/es/components/screenfull/screenfull.mjs +4 -3
- package/dist/es/components/scrollbar/scrollbar.mjs +3 -2
- package/dist/es/components/select/select.mjs +3 -5
- package/dist/es/components/single-player/index.css +1 -1
- package/dist/es/components/single-player/single-player.mjs +10 -1087
- package/dist/es/components/splitter/splitter.mjs +3 -3
- package/dist/es/components/splitter-panel/splitter-panel.mjs +3 -3
- package/dist/es/components/switch/index.css +1 -1
- package/dist/es/components/switch/switch.mjs +9 -395
- package/dist/es/components/tags/tags.mjs +7 -9
- package/dist/es/components/text-ellipsis/text-ellipsis.mjs +3 -3
- package/dist/es/components/thousand-input/thousand-input.mjs +33 -1
- package/dist/es/components/tinymce/tinymce.mjs +4 -3
- package/dist/es/components/transfer/transfer.mjs +3 -4
- package/dist/es/components/transfer-panel/transfer-panel.mjs +5 -4
- package/dist/es/components/tree-picker/popover-cascader.css +1 -1
- package/dist/es/components/tree-picker/tree-picker.mjs +5 -10
- package/dist/es/index.mjs +1 -1
- package/dist/index.css +13 -40
- package/package.json +1 -1
- package/dist/es/chunk/B-rxnVJv.mjs +0 -3
- package/dist/es/chunk/B5HpgPRt.mjs +0 -69
- package/dist/es/chunk/BBhZKpIc.mjs +0 -2179
- package/dist/es/chunk/BDcsaNYa.mjs +0 -59
- package/dist/es/chunk/BTSSEFfD.mjs +0 -319
- package/dist/es/chunk/BTpNRPQW.mjs +0 -55
- package/dist/es/chunk/BVBK1U57.mjs +0 -96
- package/dist/es/chunk/Bc6yUGLs.mjs +0 -45
- package/dist/es/chunk/BjVI1XMz.mjs +0 -40
- package/dist/es/chunk/BlzQCBDu.mjs +0 -5741
- package/dist/es/chunk/BpJKnxlF.mjs +0 -476
- package/dist/es/chunk/Brp-qSBw.mjs +0 -2003
- package/dist/es/chunk/BunQI8Jb.mjs +0 -390
- package/dist/es/chunk/C0XgBrDz.mjs +0 -775
- package/dist/es/chunk/C0pTANRX.mjs +0 -109
- package/dist/es/chunk/CBMjhoFP.mjs +0 -101
- package/dist/es/chunk/CBiNtNvQ.mjs +0 -242
- package/dist/es/chunk/CBlJeNBO.mjs +0 -890
- package/dist/es/chunk/CCVL_Zj-.mjs +0 -427
- package/dist/es/chunk/CEl4MyfJ.mjs +0 -252
- package/dist/es/chunk/CJK5_jsA.mjs +0 -53
- package/dist/es/chunk/CKOcwq5V.mjs +0 -44
- package/dist/es/chunk/COs9dJZa.mjs +0 -66
- package/dist/es/chunk/CPt6MxJW.mjs +0 -375
- package/dist/es/chunk/CVqW0jzp.mjs +0 -107
- package/dist/es/chunk/CccIsEqA.mjs +0 -128
- package/dist/es/chunk/CjLR27-a.mjs +0 -582
- package/dist/es/chunk/CoGexPPD.mjs +0 -2192
- package/dist/es/chunk/CsLIbnzG.mjs +0 -64
- package/dist/es/chunk/Ct6q2FXg.mjs +0 -5
- package/dist/es/chunk/Cuq5meQh.mjs +0 -184
- package/dist/es/chunk/CvYIOfT1.mjs +0 -23
- package/dist/es/chunk/CxHJBf4l.mjs +0 -31
- package/dist/es/chunk/CzdaOBtA.mjs +0 -66
- package/dist/es/chunk/D0QTifnI.mjs +0 -54
- package/dist/es/chunk/D1QnA2iT.mjs +0 -229
- package/dist/es/chunk/D3AvJlVX.mjs +0 -188
- package/dist/es/chunk/D9Lr0Bzb.mjs +0 -1136
- package/dist/es/chunk/DCkPv0hy.mjs +0 -29
- package/dist/es/chunk/DRwwUUhy.mjs +0 -49
- package/dist/es/chunk/DX-2VRY2.mjs +0 -836
- package/dist/es/chunk/DZ2oTFad.mjs +0 -687
- package/dist/es/chunk/D_bou1py.mjs +0 -55
- package/dist/es/chunk/Da199A5L.mjs +0 -314
- package/dist/es/chunk/DbhQlaOz.mjs +0 -94
- package/dist/es/chunk/Dgu95mOy.mjs +0 -237
- package/dist/es/chunk/DhGOsWxx.mjs +0 -6
- package/dist/es/chunk/Dm_Sj5aH.mjs +0 -487
- package/dist/es/chunk/Dmi-1GRO.mjs +0 -163
- package/dist/es/chunk/DodoD9a9.mjs +0 -52
- package/dist/es/chunk/DrrVDcwm.mjs +0 -955
- package/dist/es/chunk/Du_zJ1Fz.mjs +0 -49
- package/dist/es/chunk/DxxbB5jY.mjs +0 -34
- package/dist/es/chunk/Gk1J52Yw.mjs +0 -207
- package/dist/es/chunk/NsldgdCh.mjs +0 -704
- package/dist/es/chunk/V6KjsUQN.mjs +0 -35
- package/dist/es/chunk/eEsLFV3s.mjs +0 -76
- package/dist/es/chunk/fqiLhk0V.mjs +0 -2065
- package/dist/es/chunk/nxVM7re4.mjs +0 -35
- package/dist/es/chunk/s7HLrANj.mjs +0 -215
- package/dist/es/chunk/vPhxogl3.mjs +0 -19
- package/dist/es/components/icon/icon2.mjs +0 -27
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { o as baseSet } from './Cxx_YWUC.mjs';
|
|
2
|
-
import { g as get } from './CEl4MyfJ.mjs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
|
|
6
|
-
* it's created. Arrays are created for missing index properties while objects
|
|
7
|
-
* are created for all other missing properties. Use `_.setWith` to customize
|
|
8
|
-
* `path` creation.
|
|
9
|
-
*
|
|
10
|
-
* **Note:** This method mutates `object`.
|
|
11
|
-
*
|
|
12
|
-
* @static
|
|
13
|
-
* @memberOf _
|
|
14
|
-
* @since 3.7.0
|
|
15
|
-
* @category Object
|
|
16
|
-
* @param {Object} object The object to modify.
|
|
17
|
-
* @param {Array|string} path The path of the property to set.
|
|
18
|
-
* @param {*} value The value to set.
|
|
19
|
-
* @returns {Object} Returns `object`.
|
|
20
|
-
* @example
|
|
21
|
-
*
|
|
22
|
-
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
|
|
23
|
-
*
|
|
24
|
-
* _.set(object, 'a[0].b.c', 4);
|
|
25
|
-
* console.log(object.a[0].b.c);
|
|
26
|
-
* // => 4
|
|
27
|
-
*
|
|
28
|
-
* _.set(object, ['x', '0', 'y', 'z'], 5);
|
|
29
|
-
* console.log(object.x[0].y.z);
|
|
30
|
-
* // => 5
|
|
31
|
-
*/
|
|
32
|
-
function set(object, path, value) {
|
|
33
|
-
return object == null ? object : baseSet(object, path, value);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
const keysOf = (arr) => Object.keys(arr);
|
|
37
|
-
const entriesOf = (arr) => Object.entries(arr);
|
|
38
|
-
const getProp = (obj, path, defaultValue) => {
|
|
39
|
-
return {
|
|
40
|
-
get value() {
|
|
41
|
-
return get(obj, path, defaultValue);
|
|
42
|
-
},
|
|
43
|
-
set value(val) {
|
|
44
|
-
set(obj, path, val);
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export { entriesOf as e, getProp as g, keysOf as k };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import '@vueuse/core';
|
|
2
|
-
|
|
3
|
-
const getOffsetTop = (el) => {
|
|
4
|
-
let offset = 0;
|
|
5
|
-
let parent = el;
|
|
6
|
-
while (parent) {
|
|
7
|
-
offset += parent.offsetTop;
|
|
8
|
-
parent = parent.offsetParent;
|
|
9
|
-
}
|
|
10
|
-
return offset;
|
|
11
|
-
};
|
|
12
|
-
const getOffsetTopDistance = (el, containerEl) => {
|
|
13
|
-
return Math.abs(getOffsetTop(el) - getOffsetTop(containerEl));
|
|
14
|
-
};
|
|
15
|
-
const getClientXY = (event) => {
|
|
16
|
-
let clientX;
|
|
17
|
-
let clientY;
|
|
18
|
-
if (event.type === "touchend") {
|
|
19
|
-
clientY = event.changedTouches[0].clientY;
|
|
20
|
-
clientX = event.changedTouches[0].clientX;
|
|
21
|
-
} else if (event.type.startsWith("touch")) {
|
|
22
|
-
clientY = event.touches[0].clientY;
|
|
23
|
-
clientX = event.touches[0].clientX;
|
|
24
|
-
} else {
|
|
25
|
-
clientY = event.clientY;
|
|
26
|
-
clientX = event.clientX;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
clientX,
|
|
30
|
-
clientY
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { getOffsetTopDistance as a, getClientXY as g };
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { getCurrentInstance, inject, ref, computed, unref, warn } from 'vue';
|
|
2
|
-
|
|
3
|
-
const defaultNamespace = "el";
|
|
4
|
-
const statePrefix = "is-";
|
|
5
|
-
const _bem = (namespace, block, blockSuffix, element, modifier) => {
|
|
6
|
-
let cls = `${namespace}-${block}`;
|
|
7
|
-
if (blockSuffix) {
|
|
8
|
-
cls += `-${blockSuffix}`;
|
|
9
|
-
}
|
|
10
|
-
if (element) {
|
|
11
|
-
cls += `__${element}`;
|
|
12
|
-
}
|
|
13
|
-
if (modifier) {
|
|
14
|
-
cls += `--${modifier}`;
|
|
15
|
-
}
|
|
16
|
-
return cls;
|
|
17
|
-
};
|
|
18
|
-
const namespaceContextKey = Symbol("namespaceContextKey");
|
|
19
|
-
const useGetDerivedNamespace = (namespaceOverrides) => {
|
|
20
|
-
const derivedNamespace = namespaceOverrides || (getCurrentInstance() ? inject(namespaceContextKey, ref(defaultNamespace)) : ref(defaultNamespace));
|
|
21
|
-
const namespace = computed(() => {
|
|
22
|
-
return unref(derivedNamespace) || defaultNamespace;
|
|
23
|
-
});
|
|
24
|
-
return namespace;
|
|
25
|
-
};
|
|
26
|
-
const useNamespace = (block, namespaceOverrides) => {
|
|
27
|
-
const namespace = useGetDerivedNamespace(namespaceOverrides);
|
|
28
|
-
const b = (blockSuffix = "") => _bem(namespace.value, block, blockSuffix, "", "");
|
|
29
|
-
const e = (element) => element ? _bem(namespace.value, block, "", element, "") : "";
|
|
30
|
-
const m = (modifier) => modifier ? _bem(namespace.value, block, "", "", modifier) : "";
|
|
31
|
-
const be = (blockSuffix, element) => blockSuffix && element ? _bem(namespace.value, block, blockSuffix, element, "") : "";
|
|
32
|
-
const em = (element, modifier) => element && modifier ? _bem(namespace.value, block, "", element, modifier) : "";
|
|
33
|
-
const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(namespace.value, block, blockSuffix, "", modifier) : "";
|
|
34
|
-
const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(namespace.value, block, blockSuffix, element, modifier) : "";
|
|
35
|
-
const is = (name, ...args) => {
|
|
36
|
-
const state = args.length >= 1 ? args[0] : true;
|
|
37
|
-
return name && state ? `${statePrefix}${name}` : "";
|
|
38
|
-
};
|
|
39
|
-
const cssVar = (object) => {
|
|
40
|
-
const styles = {};
|
|
41
|
-
for (const key in object) {
|
|
42
|
-
if (object[key]) {
|
|
43
|
-
styles[`--${namespace.value}-${key}`] = object[key];
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return styles;
|
|
47
|
-
};
|
|
48
|
-
const cssVarBlock = (object) => {
|
|
49
|
-
const styles = {};
|
|
50
|
-
for (const key in object) {
|
|
51
|
-
if (object[key]) {
|
|
52
|
-
styles[`--${namespace.value}-${block}-${key}`] = object[key];
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
return styles;
|
|
56
|
-
};
|
|
57
|
-
const cssVarName = (name) => `--${namespace.value}-${name}`;
|
|
58
|
-
const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
|
|
59
|
-
return {
|
|
60
|
-
namespace,
|
|
61
|
-
b,
|
|
62
|
-
e,
|
|
63
|
-
m,
|
|
64
|
-
be,
|
|
65
|
-
em,
|
|
66
|
-
bm,
|
|
67
|
-
bem,
|
|
68
|
-
is,
|
|
69
|
-
cssVar,
|
|
70
|
-
cssVarName,
|
|
71
|
-
cssVarBlock,
|
|
72
|
-
cssVarBlockName
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @vue/shared v3.5.25
|
|
78
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
79
|
-
* @license MIT
|
|
80
|
-
**/
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
84
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
85
|
-
const NOOP = () => {
|
|
86
|
-
};
|
|
87
|
-
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
88
|
-
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
89
|
-
const isArray = Array.isArray;
|
|
90
|
-
const isDate = (val) => toTypeString(val) === "[object Date]";
|
|
91
|
-
const isFunction = (val) => typeof val === "function";
|
|
92
|
-
const isString = (val) => typeof val === "string";
|
|
93
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
94
|
-
const isPromise = (val) => {
|
|
95
|
-
return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);
|
|
96
|
-
};
|
|
97
|
-
const objectToString = Object.prototype.toString;
|
|
98
|
-
const toTypeString = (value) => objectToString.call(value);
|
|
99
|
-
const isPlainObject = (val) => toTypeString(val) === "[object Object]";
|
|
100
|
-
const cacheStringFunction = (fn) => {
|
|
101
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
102
|
-
return ((str) => {
|
|
103
|
-
const hit = cache[str];
|
|
104
|
-
return hit || (cache[str] = fn(str));
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
const camelizeRE = /-\w/g;
|
|
108
|
-
const camelize = cacheStringFunction(
|
|
109
|
-
(str) => {
|
|
110
|
-
return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
|
|
111
|
-
}
|
|
112
|
-
);
|
|
113
|
-
const hyphenateRE = /\B([A-Z])/g;
|
|
114
|
-
const hyphenate = cacheStringFunction(
|
|
115
|
-
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
116
|
-
);
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* The inverse of `_.toPairs`; this method returns an object composed
|
|
120
|
-
* from key-value `pairs`.
|
|
121
|
-
*
|
|
122
|
-
* @static
|
|
123
|
-
* @memberOf _
|
|
124
|
-
* @since 4.0.0
|
|
125
|
-
* @category Array
|
|
126
|
-
* @param {Array} pairs The key-value pairs.
|
|
127
|
-
* @returns {Object} Returns the new object.
|
|
128
|
-
* @example
|
|
129
|
-
*
|
|
130
|
-
* _.fromPairs([['a', 1], ['b', 2]]);
|
|
131
|
-
* // => { 'a': 1, 'b': 2 }
|
|
132
|
-
*/
|
|
133
|
-
function fromPairs(pairs) {
|
|
134
|
-
var index = -1,
|
|
135
|
-
length = pairs == null ? 0 : pairs.length,
|
|
136
|
-
result = {};
|
|
137
|
-
|
|
138
|
-
while (++index < length) {
|
|
139
|
-
var pair = pairs[index];
|
|
140
|
-
result[pair[0]] = pair[1];
|
|
141
|
-
}
|
|
142
|
-
return result;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
class ElementPlusError extends Error {
|
|
146
|
-
constructor(m) {
|
|
147
|
-
super(m);
|
|
148
|
-
this.name = "ElementPlusError";
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
function throwError(scope, m) {
|
|
152
|
-
throw new ElementPlusError(`[${scope}] ${m}`);
|
|
153
|
-
}
|
|
154
|
-
function debugWarn(scope, message) {
|
|
155
|
-
if (process.env.NODE_ENV !== "production") {
|
|
156
|
-
const error = isString(scope) ? new ElementPlusError(`[${scope}] ${message}`) : scope;
|
|
157
|
-
console.warn(error);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
const epPropKey = "__epPropKey";
|
|
162
|
-
const definePropType = (val) => val;
|
|
163
|
-
const isEpProp = (val) => isObject(val) && !!val[epPropKey];
|
|
164
|
-
const buildProp = (prop, key) => {
|
|
165
|
-
if (!isObject(prop) || isEpProp(prop))
|
|
166
|
-
return prop;
|
|
167
|
-
const { values, required, default: defaultValue, type, validator } = prop;
|
|
168
|
-
const _validator = values || validator ? (val) => {
|
|
169
|
-
let valid = false;
|
|
170
|
-
let allowedValues = [];
|
|
171
|
-
if (values) {
|
|
172
|
-
allowedValues = Array.from(values);
|
|
173
|
-
if (hasOwn(prop, "default")) {
|
|
174
|
-
allowedValues.push(defaultValue);
|
|
175
|
-
}
|
|
176
|
-
valid || (valid = allowedValues.includes(val));
|
|
177
|
-
}
|
|
178
|
-
if (validator)
|
|
179
|
-
valid || (valid = validator(val));
|
|
180
|
-
if (!valid && allowedValues.length > 0) {
|
|
181
|
-
const allowValuesText = [...new Set(allowedValues)].map((value) => JSON.stringify(value)).join(", ");
|
|
182
|
-
warn(
|
|
183
|
-
`Invalid prop: validation failed${key ? ` for prop "${key}"` : ""}. Expected one of [${allowValuesText}], got value ${JSON.stringify(
|
|
184
|
-
val
|
|
185
|
-
)}.`
|
|
186
|
-
);
|
|
187
|
-
}
|
|
188
|
-
return valid;
|
|
189
|
-
} : void 0;
|
|
190
|
-
const epProp = {
|
|
191
|
-
type,
|
|
192
|
-
required: !!required,
|
|
193
|
-
validator: _validator,
|
|
194
|
-
[epPropKey]: true
|
|
195
|
-
};
|
|
196
|
-
if (hasOwn(prop, "default"))
|
|
197
|
-
epProp.default = defaultValue;
|
|
198
|
-
return epProp;
|
|
199
|
-
};
|
|
200
|
-
const buildProps = (props) => fromPairs(
|
|
201
|
-
Object.entries(props).map(([key, option]) => [
|
|
202
|
-
key,
|
|
203
|
-
buildProp(option, key)
|
|
204
|
-
])
|
|
205
|
-
);
|
|
206
|
-
|
|
207
|
-
export { NOOP as N, debugWarn as a, buildProps as b, isArray as c, definePropType as d, isDate as e, isFunction as f, isPlainObject as g, hasOwn as h, isString as i, isObject as j, isPromise as k, fromPairs as l, buildProp as m, useGetDerivedNamespace as n, hyphenate as o, defaultNamespace as p, camelize as q, namespaceContextKey as r, throwError as t, useNamespace as u };
|