vue-business-kit 0.0.1
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/LICENSE +31 -0
- package/README.md +58 -0
- package/dist/global.d.ts +21 -0
- package/dist/index.cjs.js +83 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +8097 -0
- package/dist/index.es.js +44053 -0
- package/dist/utils-CdtqK_H3.js +20 -0
- package/dist/utils-DlXYg68d.mjs +4324 -0
- package/dist/utils.cjs.js +1 -0
- package/dist/utils.d.ts +27 -0
- package/dist/utils.es.js +325 -0
- package/package.json +73 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils-CdtqK_H3.js");exports.add=e.add;exports.after=e.after;exports.ary=e.ary;exports.assign=e.assign;exports.assignIn=e.assignIn;exports.assignInWith=e.assignInWith;exports.assignWith=e.assignWith;exports.at=e.at;exports.attempt=e.attempt;exports.before=e.before;exports.bind=e.bind;exports.bindAll=e.bindAll;exports.bindKey=e.bindKey;exports.camelCase=e.camelCase;exports.capitalize=e.capitalize;exports.castArray=e.castArray;exports.ceil=e.ceil;exports.chain=e.chain;exports.chunk=e.chunk;exports.clamp=e.clamp;exports.clone=e.clone;exports.cloneDeep=e.cloneDeep;exports.cloneDeepWith=e.cloneDeepWith;exports.cloneWith=e.cloneWith;exports.commit=e.wrapperCommit;exports.compact=e.compact;exports.concat=e.concat;exports.cond=e.cond;exports.conforms=e.conforms;exports.conformsTo=e.conformsTo;exports.constant=e.constant;exports.countBy=e.countBy;exports.create=e.create;exports.curry=e.curry;exports.curryRight=e.curryRight;exports.debounce=e.debounce;exports.deburr=e.deburr;exports.defaultTo=e.defaultTo;exports.defaults=e.defaults;exports.defaultsDeep=e.defaultsDeep;exports.defer=e.defer;exports.delay=e.delay;exports.difference=e.difference;exports.differenceBy=e.differenceBy;exports.differenceWith=e.differenceWith;exports.divide=e.divide;exports.drop=e.drop;exports.dropRight=e.dropRight;exports.dropRightWhile=e.dropRightWhile;exports.dropWhile=e.dropWhile;exports.each=e.forEach;exports.eachRight=e.forEachRight;exports.endsWith=e.endsWith;exports.entries=e.toPairs;exports.entriesIn=e.toPairsIn;exports.eq=e.eq;exports.escape=e.escape;exports.escapeRegExp=e.escapeRegExp;exports.every=e.every;exports.extend=e.assignIn;exports.extendWith=e.assignInWith;exports.fill=e.fill;exports.filter=e.filter;exports.find=e.find;exports.findIndex=e.findIndex;exports.findKey=e.findKey;exports.findLast=e.findLast;exports.findLastIndex=e.findLastIndex;exports.findLastKey=e.findLastKey;exports.first=e.head;exports.flatMap=e.flatMap;exports.flatMapDeep=e.flatMapDeep;exports.flatMapDepth=e.flatMapDepth;exports.flatten=e.flatten;exports.flattenDeep=e.flattenDeep;exports.flattenDepth=e.flattenDepth;exports.flip=e.flip;exports.floor=e.floor;exports.flow=e.flow;exports.flowRight=e.flowRight;exports.forEach=e.forEach;exports.forEachRight=e.forEachRight;exports.forIn=e.forIn;exports.forInRight=e.forInRight;exports.forOwn=e.forOwn;exports.forOwnRight=e.forOwnRight;exports.formatNumber=e.formatNumber;exports.fromPairs=e.fromPairs;exports.functions=e.functions;exports.functionsIn=e.functionsIn;exports.get=e.get;exports.groupBy=e.groupBy;exports.gt=e.gt;exports.gte=e.gte;exports.has=e.has;exports.hasIn=e.hasIn;exports.head=e.head;exports.identity=e.identity;exports.inRange=e.inRange;exports.includes=e.includes;exports.indexOf=e.indexOf;exports.initial=e.initial;exports.intersection=e.intersection;exports.intersectionBy=e.intersectionBy;exports.intersectionWith=e.intersectionWith;exports.invert=e.invert;exports.invertBy=e.invertBy;exports.invoke=e.invoke;exports.invokeMap=e.invokeMap;exports.isArguments=e.isArguments;exports.isArray=e.isArray;exports.isArrayBuffer=e.isArrayBuffer;exports.isArrayLike=e.isArrayLike;exports.isArrayLikeObject=e.isArrayLikeObject;exports.isBoolean=e.isBoolean;exports.isBuffer=e.isBuffer;exports.isDate=e.isDate;exports.isElement=e.isElement;exports.isEmpty=e.isEmpty;exports.isEqual=e.isEqual;exports.isEqualWith=e.isEqualWith;exports.isError=e.isError;exports.isFinite=e.isFinite;exports.isFunction=e.isFunction;exports.isInteger=e.isInteger;exports.isLength=e.isLength;exports.isMap=e.isMap;exports.isMatch=e.isMatch;exports.isMatchWith=e.isMatchWith;exports.isNaN=e.isNaN;exports.isNative=e.isNative;exports.isNil=e.isNil;exports.isNull=e.isNull;exports.isNumber=e.isNumber;exports.isObject=e.isObject;exports.isObjectLike=e.isObjectLike;exports.isPlainObject=e.isPlainObject;exports.isRegExp=e.isRegExp;exports.isSafeInteger=e.isSafeInteger;exports.isSet=e.isSet;exports.isString=e.isString;exports.isSymbol=e.isSymbol;exports.isTypedArray=e.isTypedArray;exports.isUndefined=e.isUndefined;exports.isWeakMap=e.isWeakMap;exports.isWeakSet=e.isWeakSet;exports.iteratee=e.iteratee;exports.join=e.join;exports.kebabCase=e.kebabCase;exports.keyBy=e.keyBy;exports.keys=e.keys;exports.keysIn=e.keysIn;exports.last=e.last;exports.lastIndexOf=e.lastIndexOf;exports.lodash=e.lodash;exports.lowerCase=e.lowerCase;exports.lowerFirst=e.lowerFirst;exports.lt=e.lt;exports.lte=e.lte;exports.map=e.map;exports.mapKeys=e.mapKeys;exports.mapValues=e.mapValues;exports.matches=e.matches;exports.matchesProperty=e.matchesProperty;exports.max=e.max;exports.maxBy=e.maxBy;exports.mean=e.mean;exports.meanBy=e.meanBy;exports.memoize=e.memoize;exports.merge=e.merge;exports.mergeWith=e.mergeWith;exports.method=e.method;exports.methodOf=e.methodOf;exports.min=e.min;exports.minBy=e.minBy;exports.mixin=e.mixin;exports.multiply=e.multiply;exports.negate=e.negate;exports.next=e.wrapperNext;exports.noop=e.noop;exports.now=e.now;exports.nth=e.nth;exports.nthArg=e.nthArg;exports.omit=e.omit;exports.omitBy=e.omitBy;exports.once=e.once;exports.orderBy=e.orderBy;exports.over=e.over;exports.overArgs=e.overArgs;exports.overEvery=e.overEvery;exports.overSome=e.overSome;exports.pad=e.pad;exports.padEnd=e.padEnd;exports.padStart=e.padStart;exports.parseInt=e.parseInt;exports.partial=e.partial;exports.partialRight=e.partialRight;exports.partition=e.partition;exports.pick=e.pick;exports.pickBy=e.pickBy;exports.plant=e.wrapperPlant;exports.property=e.property;exports.propertyOf=e.propertyOf;exports.pull=e.pull;exports.pullAll=e.pullAll;exports.pullAllBy=e.pullAllBy;exports.pullAllWith=e.pullAllWith;exports.pullAt=e.pullAt;exports.random=e.random;exports.range=e.range;exports.rangeRight=e.rangeRight;exports.rearg=e.rearg;exports.reduce=e.reduce;exports.reduceRight=e.reduceRight;exports.reject=e.reject;exports.remove=e.remove;exports.repeat=e.repeat;exports.replace=e.replace;exports.rest=e.rest;exports.result=e.result;exports.reverse=e.reverse;exports.round=e.round;exports.sample=e.sample;exports.sampleSize=e.sampleSize;exports.set=e.set;exports.setWith=e.setWith;exports.shuffle=e.shuffle;exports.size=e.size;exports.slice=e.slice;exports.snakeCase=e.snakeCase;exports.some=e.some;exports.sortBy=e.sortBy;exports.sortedIndex=e.sortedIndex;exports.sortedIndexBy=e.sortedIndexBy;exports.sortedIndexOf=e.sortedIndexOf;exports.sortedLastIndex=e.sortedLastIndex;exports.sortedLastIndexBy=e.sortedLastIndexBy;exports.sortedLastIndexOf=e.sortedLastIndexOf;exports.sortedUniq=e.sortedUniq;exports.sortedUniqBy=e.sortedUniqBy;exports.split=e.split;exports.spread=e.spread;exports.startCase=e.startCase;exports.startsWith=e.startsWith;exports.stubArray=e.stubArray;exports.stubFalse=e.stubFalse;exports.stubObject=e.stubObject;exports.stubString=e.stubString;exports.stubTrue=e.stubTrue;exports.subtract=e.subtract;exports.sum=e.sum;exports.sumBy=e.sumBy;exports.tail=e.tail;exports.take=e.take;exports.takeRight=e.takeRight;exports.takeRightWhile=e.takeRightWhile;exports.takeWhile=e.takeWhile;exports.tap=e.tap;exports.template=e.template;exports.templateSettings=e.templateSettings;exports.throttle=e.throttle;exports.thru=e.thru;exports.times=e.times;exports.toArray=e.toArray;exports.toFinite=e.toFinite;exports.toInteger=e.toInteger;exports.toIterator=e.wrapperToIterator;exports.toJSON=e.wrapperValue;exports.toLength=e.toLength;exports.toLower=e.toLower;exports.toNumber=e.toNumber;exports.toPairs=e.toPairs;exports.toPairsIn=e.toPairsIn;exports.toPath=e.toPath;exports.toPlainObject=e.toPlainObject;exports.toSafeInteger=e.toSafeInteger;exports.toString=e.toString;exports.toUpper=e.toUpper;exports.transform=e.transform;exports.trim=e.trim;exports.trimEnd=e.trimEnd;exports.trimStart=e.trimStart;exports.truncate=e.truncate;exports.unary=e.unary;exports.unescape=e.unescape;exports.union=e.union;exports.unionBy=e.unionBy;exports.unionWith=e.unionWith;exports.uniq=e.uniq;exports.uniqBy=e.uniqBy;exports.uniqWith=e.uniqWith;exports.uniqueId=e.uniqueId;exports.unset=e.unset;exports.unzip=e.unzip;exports.unzipWith=e.unzipWith;exports.update=e.update;exports.updateWith=e.updateWith;exports.upperCase=e.upperCase;exports.upperFirst=e.upperFirst;exports.value=e.wrapperValue;exports.valueOf=e.wrapperValue;exports.values=e.values;exports.valuesIn=e.valuesIn;exports.without=e.without;exports.words=e.words;exports.wrap=e.wrap;exports.wrapperAt=e.wrapperAt;exports.wrapperChain=e.wrapperChain;exports.wrapperCommit=e.wrapperCommit;exports.wrapperLodash=e.lodash;exports.wrapperNext=e.wrapperNext;exports.wrapperPlant=e.wrapperPlant;exports.wrapperReverse=e.wrapperReverse;exports.wrapperToIterator=e.wrapperToIterator;exports.wrapperValue=e.wrapperValue;exports.xor=e.xor;exports.xorBy=e.xorBy;exports.xorWith=e.xorWith;exports.zip=e.zip;exports.zipObject=e.zipObject;exports.zipObjectDeep=e.zipObjectDeep;exports.zipWith=e.zipWith;
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 数值格式化函数
|
|
3
|
+
* @param value 要格式化的数值
|
|
4
|
+
* @param options 格式化选项
|
|
5
|
+
* @returns 格式化后的字符串
|
|
6
|
+
* @example
|
|
7
|
+
* formatNumber(1234.567) // "1235" (默认不保留小数)
|
|
8
|
+
* formatNumber(1234.567, { prec: true }) // "1234.6" (保留1位小数)
|
|
9
|
+
* formatNumber(1234.567, { prec: 2 }) // "1234.57" (保留2位小数)
|
|
10
|
+
* formatNumber(0.1234, { unit: '%' }) // "12.3%" (默认不保留小数)
|
|
11
|
+
* formatNumber(0.1234, { unit: '%', prec: true }) // "12.3%" (保留1位小数)
|
|
12
|
+
* formatNumber(12345, { unit: 'k', separator: true }) // "12.3k" (默认不保留小数)
|
|
13
|
+
* formatNumber(1234567, { unit: 'M', prec: 1 }) // "1.2M" (保留1位小数)
|
|
14
|
+
*/
|
|
15
|
+
export declare function formatNumber(value: number | string, options?: FormatNumberOptions): string;
|
|
16
|
+
|
|
17
|
+
export declare interface FormatNumberOptions {
|
|
18
|
+
prec?: boolean | number;
|
|
19
|
+
unit?: "%" | "k" | "M" | "none";
|
|
20
|
+
separator?: boolean;
|
|
21
|
+
showUnit?: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
export * from "lodash-es";
|
|
26
|
+
|
|
27
|
+
export { }
|
package/dist/utils.es.js
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import { bL as e, aA as t, aB as i, c1 as r, c2 as n, c3 as c, c4 as d, c5 as o, dF as p, aC as b, aD as l, dk as u, aE as h, cT as f, cU as m, aW as y, bM as g, cH as I, c as W, b_ as B, aZ as x, a_ as w, a$ as k, b0 as v, cL as O, a as A, b as R, dl as L, dm as S, b1 as E, dn as N, a9 as j, c6 as z, aF as P, aG as q, aH as D, cV as M, dG as C, c7 as F, c8 as T, aI as K, aJ as U, d as V, e as J, f as _, bN as G, g as H, h as Q, i as X, j as Y, ar as Z, as as $, cW as aa, co as sa, cp as ea, b2 as ta, cX as ia, cY as ra, ao as na, c2 as ca, c3 as da, k as oa, aa as pa, ap as ba, Y as la, cw as ua, aq as ha, Z as fa, cx as ma, _ as ya, ab as ga, ac as Ia, ad as Wa, l as Ba, m as xa, n as wa, aK as ka, bO as va, dp as Oa, dq as Aa, ar as Ra, as as La, cy as Sa, cz as Ea, cA as Na, cB as ja, eb as za, o as Pa, c9 as qa, ca as Da, cC as Ma, ae as Ca, b3 as Fa, b4 as Ta, cD as Ka, cE as Ua, _ as Va, dY as Ja, b$ as _a, at as Ga, $ as Ha, p as Qa, q as Xa, r as Ya, s as Za, cb as $a, cc as as, cF as ss, af as es, b5 as ts, dS as is, b6 as rs, b7 as ns, b8 as cs, b9 as ds, ba as os, bb as ps, bc as bs, bd as ls, be as us, bf as hs, bg as fs, bh as ms, bi as ys, bj as gs, bk as Is, bl as Ws, bm as Bs, bn as xs, bo as ws, bp as ks, bq as vs, br as Os, bs as As, dZ as Rs, bt as Ls, bu as Ss, bv as Es, bw as Ns, bx as js, by as zs, bz as Ps, bA as qs, bB as Ds, bC as Ms, bD as Cs, dr as Fs, a0 as Ts, cZ as Ks, ag as Us, dV as Vs, cd as Js, d_ as _s, a1 as Gs, dT as Hs, c_ as Qs, c$ as Xs, bE as Ys, bF as Zs, ah as $s, ce as ae, cf as se, ds as ee, dt as te, bP as ie, bQ as re, bR as ne, bS as ce, aL as de, cg as oe, ch as pe, du as be, dv as le, bT as ue, bU as he, ea as fe, bV as me, dW as ye, cM as ge, dM as Ie, az as We, a2 as Be, dw as xe, ci as we, cj as ke, aM as ve, ai as Oe, dx as Ae, aN as Re, dy as Le, dz as Se, d0 as Ee, d1 as Ne, d2 as je, d3 as ze, aO as Pe, aP as qe, aj as De, ck as Me, cl as Ce, cN as Fe, dA as Te, dB as Ke, t as Ue, u as Ve, v as Je, w as _e, x as Ge, c0 as He, dC as Qe, dD as Xe, aQ as Ye, au as Ze, av as $e, ak as at, y as st, d4 as et, d5 as tt, aR as it, cG as rt, z as nt, bW as ct, aw as dt, al as ot, cm as pt, cn as bt, am as lt, ax as ut, A as ht, d6 as ft, ay as mt, an as yt, a3 as gt, a4 as It, a5 as Wt, a6 as Bt, a7 as xt, a8 as wt, B as kt, C as vt, cR as Ot, aS as At, d7 as Rt, d8 as Lt, dH as St, dI as Et, dJ as Nt, dK as jt, dL as zt, bX as Pt, bY as qt, bZ as Dt, D as Mt, E as Ct, F as Ft, G as Tt, H as Kt, cI as Ut, d9 as Vt, dj as Jt, aT as _t, dX as Gt, dN as Ht, aX as Qt, bG as Xt, d$ as Yt, cQ as Zt, cP as $t, bH as ai, da as si, bI as ei, co as ti, cp as ii, dE as ri, aY as ni, bJ as ci, bK as di, db as oi, cq as pi, dc as bi, dd as li, de as ui, df as hi, aU as fi, dg as mi, I as yi, J as gi, K as Ii, L as Wi, M as Bi, N as xi, dO as wi, cr as ki, O as vi, P as Oi, cs as Ai, ct as Ri, dh as Li, di as Si, cP as Ei, cP as Ni, cu as ji, cv as zi, Q as Pi, cS as qi, aV as Di, cJ as Mi, cK as Ci, cL as Fi, dT as Ti, cM as Ki, cN as Ui, cO as Vi, cQ as Ji, cP as _i, R as Gi, S as Hi, T as Qi, U as Xi, V as Yi, W as Zi, X as $i } from "./utils-DlXYg68d.mjs";
|
|
2
|
+
export {
|
|
3
|
+
e as add,
|
|
4
|
+
t as after,
|
|
5
|
+
i as ary,
|
|
6
|
+
r as assign,
|
|
7
|
+
n as assignIn,
|
|
8
|
+
c as assignInWith,
|
|
9
|
+
d as assignWith,
|
|
10
|
+
o as at,
|
|
11
|
+
p as attempt,
|
|
12
|
+
b as before,
|
|
13
|
+
l as bind,
|
|
14
|
+
u as bindAll,
|
|
15
|
+
h as bindKey,
|
|
16
|
+
f as camelCase,
|
|
17
|
+
m as capitalize,
|
|
18
|
+
y as castArray,
|
|
19
|
+
g as ceil,
|
|
20
|
+
I as chain,
|
|
21
|
+
W as chunk,
|
|
22
|
+
B as clamp,
|
|
23
|
+
x as clone,
|
|
24
|
+
w as cloneDeep,
|
|
25
|
+
k as cloneDeepWith,
|
|
26
|
+
v as cloneWith,
|
|
27
|
+
O as commit,
|
|
28
|
+
A as compact,
|
|
29
|
+
R as concat,
|
|
30
|
+
L as cond,
|
|
31
|
+
S as conforms,
|
|
32
|
+
E as conformsTo,
|
|
33
|
+
N as constant,
|
|
34
|
+
j as countBy,
|
|
35
|
+
z as create,
|
|
36
|
+
P as curry,
|
|
37
|
+
q as curryRight,
|
|
38
|
+
D as debounce,
|
|
39
|
+
M as deburr,
|
|
40
|
+
C as defaultTo,
|
|
41
|
+
F as defaults,
|
|
42
|
+
T as defaultsDeep,
|
|
43
|
+
K as defer,
|
|
44
|
+
U as delay,
|
|
45
|
+
V as difference,
|
|
46
|
+
J as differenceBy,
|
|
47
|
+
_ as differenceWith,
|
|
48
|
+
G as divide,
|
|
49
|
+
H as drop,
|
|
50
|
+
Q as dropRight,
|
|
51
|
+
X as dropRightWhile,
|
|
52
|
+
Y as dropWhile,
|
|
53
|
+
Z as each,
|
|
54
|
+
$ as eachRight,
|
|
55
|
+
aa as endsWith,
|
|
56
|
+
sa as entries,
|
|
57
|
+
ea as entriesIn,
|
|
58
|
+
ta as eq,
|
|
59
|
+
ia as escape,
|
|
60
|
+
ra as escapeRegExp,
|
|
61
|
+
na as every,
|
|
62
|
+
ca as extend,
|
|
63
|
+
da as extendWith,
|
|
64
|
+
oa as fill,
|
|
65
|
+
pa as filter,
|
|
66
|
+
ba as find,
|
|
67
|
+
la as findIndex,
|
|
68
|
+
ua as findKey,
|
|
69
|
+
ha as findLast,
|
|
70
|
+
fa as findLastIndex,
|
|
71
|
+
ma as findLastKey,
|
|
72
|
+
ya as first,
|
|
73
|
+
ga as flatMap,
|
|
74
|
+
Ia as flatMapDeep,
|
|
75
|
+
Wa as flatMapDepth,
|
|
76
|
+
Ba as flatten,
|
|
77
|
+
xa as flattenDeep,
|
|
78
|
+
wa as flattenDepth,
|
|
79
|
+
ka as flip,
|
|
80
|
+
va as floor,
|
|
81
|
+
Oa as flow,
|
|
82
|
+
Aa as flowRight,
|
|
83
|
+
Ra as forEach,
|
|
84
|
+
La as forEachRight,
|
|
85
|
+
Sa as forIn,
|
|
86
|
+
Ea as forInRight,
|
|
87
|
+
Na as forOwn,
|
|
88
|
+
ja as forOwnRight,
|
|
89
|
+
za as formatNumber,
|
|
90
|
+
Pa as fromPairs,
|
|
91
|
+
qa as functions,
|
|
92
|
+
Da as functionsIn,
|
|
93
|
+
Ma as get,
|
|
94
|
+
Ca as groupBy,
|
|
95
|
+
Fa as gt,
|
|
96
|
+
Ta as gte,
|
|
97
|
+
Ka as has,
|
|
98
|
+
Ua as hasIn,
|
|
99
|
+
Va as head,
|
|
100
|
+
Ja as identity,
|
|
101
|
+
_a as inRange,
|
|
102
|
+
Ga as includes,
|
|
103
|
+
Ha as indexOf,
|
|
104
|
+
Qa as initial,
|
|
105
|
+
Xa as intersection,
|
|
106
|
+
Ya as intersectionBy,
|
|
107
|
+
Za as intersectionWith,
|
|
108
|
+
$a as invert,
|
|
109
|
+
as as invertBy,
|
|
110
|
+
ss as invoke,
|
|
111
|
+
es as invokeMap,
|
|
112
|
+
ts as isArguments,
|
|
113
|
+
is as isArray,
|
|
114
|
+
rs as isArrayBuffer,
|
|
115
|
+
ns as isArrayLike,
|
|
116
|
+
cs as isArrayLikeObject,
|
|
117
|
+
ds as isBoolean,
|
|
118
|
+
os as isBuffer,
|
|
119
|
+
ps as isDate,
|
|
120
|
+
bs as isElement,
|
|
121
|
+
ls as isEmpty,
|
|
122
|
+
us as isEqual,
|
|
123
|
+
hs as isEqualWith,
|
|
124
|
+
fs as isError,
|
|
125
|
+
ms as isFinite,
|
|
126
|
+
ys as isFunction,
|
|
127
|
+
gs as isInteger,
|
|
128
|
+
Is as isLength,
|
|
129
|
+
Ws as isMap,
|
|
130
|
+
Bs as isMatch,
|
|
131
|
+
xs as isMatchWith,
|
|
132
|
+
ws as isNaN,
|
|
133
|
+
ks as isNative,
|
|
134
|
+
vs as isNil,
|
|
135
|
+
Os as isNull,
|
|
136
|
+
As as isNumber,
|
|
137
|
+
Rs as isObject,
|
|
138
|
+
Ls as isObjectLike,
|
|
139
|
+
Ss as isPlainObject,
|
|
140
|
+
Es as isRegExp,
|
|
141
|
+
Ns as isSafeInteger,
|
|
142
|
+
js as isSet,
|
|
143
|
+
zs as isString,
|
|
144
|
+
Ps as isSymbol,
|
|
145
|
+
qs as isTypedArray,
|
|
146
|
+
Ds as isUndefined,
|
|
147
|
+
Ms as isWeakMap,
|
|
148
|
+
Cs as isWeakSet,
|
|
149
|
+
Fs as iteratee,
|
|
150
|
+
Ts as join,
|
|
151
|
+
Ks as kebabCase,
|
|
152
|
+
Us as keyBy,
|
|
153
|
+
Vs as keys,
|
|
154
|
+
Js as keysIn,
|
|
155
|
+
_s as last,
|
|
156
|
+
Gs as lastIndexOf,
|
|
157
|
+
Hs as lodash,
|
|
158
|
+
Qs as lowerCase,
|
|
159
|
+
Xs as lowerFirst,
|
|
160
|
+
Ys as lt,
|
|
161
|
+
Zs as lte,
|
|
162
|
+
$s as map,
|
|
163
|
+
ae as mapKeys,
|
|
164
|
+
se as mapValues,
|
|
165
|
+
ee as matches,
|
|
166
|
+
te as matchesProperty,
|
|
167
|
+
ie as max,
|
|
168
|
+
re as maxBy,
|
|
169
|
+
ne as mean,
|
|
170
|
+
ce as meanBy,
|
|
171
|
+
de as memoize,
|
|
172
|
+
oe as merge,
|
|
173
|
+
pe as mergeWith,
|
|
174
|
+
be as method,
|
|
175
|
+
le as methodOf,
|
|
176
|
+
ue as min,
|
|
177
|
+
he as minBy,
|
|
178
|
+
fe as mixin,
|
|
179
|
+
me as multiply,
|
|
180
|
+
ye as negate,
|
|
181
|
+
ge as next,
|
|
182
|
+
Ie as noop,
|
|
183
|
+
We as now,
|
|
184
|
+
Be as nth,
|
|
185
|
+
xe as nthArg,
|
|
186
|
+
we as omit,
|
|
187
|
+
ke as omitBy,
|
|
188
|
+
ve as once,
|
|
189
|
+
Oe as orderBy,
|
|
190
|
+
Ae as over,
|
|
191
|
+
Re as overArgs,
|
|
192
|
+
Le as overEvery,
|
|
193
|
+
Se as overSome,
|
|
194
|
+
Ee as pad,
|
|
195
|
+
Ne as padEnd,
|
|
196
|
+
je as padStart,
|
|
197
|
+
ze as parseInt,
|
|
198
|
+
Pe as partial,
|
|
199
|
+
qe as partialRight,
|
|
200
|
+
De as partition,
|
|
201
|
+
Me as pick,
|
|
202
|
+
Ce as pickBy,
|
|
203
|
+
Fe as plant,
|
|
204
|
+
Te as property,
|
|
205
|
+
Ke as propertyOf,
|
|
206
|
+
Ue as pull,
|
|
207
|
+
Ve as pullAll,
|
|
208
|
+
Je as pullAllBy,
|
|
209
|
+
_e as pullAllWith,
|
|
210
|
+
Ge as pullAt,
|
|
211
|
+
He as random,
|
|
212
|
+
Qe as range,
|
|
213
|
+
Xe as rangeRight,
|
|
214
|
+
Ye as rearg,
|
|
215
|
+
Ze as reduce,
|
|
216
|
+
$e as reduceRight,
|
|
217
|
+
at as reject,
|
|
218
|
+
st as remove,
|
|
219
|
+
et as repeat,
|
|
220
|
+
tt as replace,
|
|
221
|
+
it as rest,
|
|
222
|
+
rt as result,
|
|
223
|
+
nt as reverse,
|
|
224
|
+
ct as round,
|
|
225
|
+
dt as sample,
|
|
226
|
+
ot as sampleSize,
|
|
227
|
+
pt as set,
|
|
228
|
+
bt as setWith,
|
|
229
|
+
lt as shuffle,
|
|
230
|
+
ut as size,
|
|
231
|
+
ht as slice,
|
|
232
|
+
ft as snakeCase,
|
|
233
|
+
mt as some,
|
|
234
|
+
yt as sortBy,
|
|
235
|
+
gt as sortedIndex,
|
|
236
|
+
It as sortedIndexBy,
|
|
237
|
+
Wt as sortedIndexOf,
|
|
238
|
+
Bt as sortedLastIndex,
|
|
239
|
+
xt as sortedLastIndexBy,
|
|
240
|
+
wt as sortedLastIndexOf,
|
|
241
|
+
kt as sortedUniq,
|
|
242
|
+
vt as sortedUniqBy,
|
|
243
|
+
Ot as split,
|
|
244
|
+
At as spread,
|
|
245
|
+
Rt as startCase,
|
|
246
|
+
Lt as startsWith,
|
|
247
|
+
St as stubArray,
|
|
248
|
+
Et as stubFalse,
|
|
249
|
+
Nt as stubObject,
|
|
250
|
+
jt as stubString,
|
|
251
|
+
zt as stubTrue,
|
|
252
|
+
Pt as subtract,
|
|
253
|
+
qt as sum,
|
|
254
|
+
Dt as sumBy,
|
|
255
|
+
Mt as tail,
|
|
256
|
+
Ct as take,
|
|
257
|
+
Ft as takeRight,
|
|
258
|
+
Tt as takeRightWhile,
|
|
259
|
+
Kt as takeWhile,
|
|
260
|
+
Ut as tap,
|
|
261
|
+
Vt as template,
|
|
262
|
+
Jt as templateSettings,
|
|
263
|
+
_t as throttle,
|
|
264
|
+
Gt as thru,
|
|
265
|
+
Ht as times,
|
|
266
|
+
Qt as toArray,
|
|
267
|
+
Xt as toFinite,
|
|
268
|
+
Yt as toInteger,
|
|
269
|
+
Zt as toIterator,
|
|
270
|
+
$t as toJSON,
|
|
271
|
+
ai as toLength,
|
|
272
|
+
si as toLower,
|
|
273
|
+
ei as toNumber,
|
|
274
|
+
ti as toPairs,
|
|
275
|
+
ii as toPairsIn,
|
|
276
|
+
ri as toPath,
|
|
277
|
+
ni as toPlainObject,
|
|
278
|
+
ci as toSafeInteger,
|
|
279
|
+
di as toString,
|
|
280
|
+
oi as toUpper,
|
|
281
|
+
pi as transform,
|
|
282
|
+
bi as trim,
|
|
283
|
+
li as trimEnd,
|
|
284
|
+
ui as trimStart,
|
|
285
|
+
hi as truncate,
|
|
286
|
+
fi as unary,
|
|
287
|
+
mi as unescape,
|
|
288
|
+
yi as union,
|
|
289
|
+
gi as unionBy,
|
|
290
|
+
Ii as unionWith,
|
|
291
|
+
Wi as uniq,
|
|
292
|
+
Bi as uniqBy,
|
|
293
|
+
xi as uniqWith,
|
|
294
|
+
wi as uniqueId,
|
|
295
|
+
ki as unset,
|
|
296
|
+
vi as unzip,
|
|
297
|
+
Oi as unzipWith,
|
|
298
|
+
Ai as update,
|
|
299
|
+
Ri as updateWith,
|
|
300
|
+
Li as upperCase,
|
|
301
|
+
Si as upperFirst,
|
|
302
|
+
Ei as value,
|
|
303
|
+
Ni as valueOf,
|
|
304
|
+
ji as values,
|
|
305
|
+
zi as valuesIn,
|
|
306
|
+
Pi as without,
|
|
307
|
+
qi as words,
|
|
308
|
+
Di as wrap,
|
|
309
|
+
Mi as wrapperAt,
|
|
310
|
+
Ci as wrapperChain,
|
|
311
|
+
Fi as wrapperCommit,
|
|
312
|
+
Ti as wrapperLodash,
|
|
313
|
+
Ki as wrapperNext,
|
|
314
|
+
Ui as wrapperPlant,
|
|
315
|
+
Vi as wrapperReverse,
|
|
316
|
+
Ji as wrapperToIterator,
|
|
317
|
+
_i as wrapperValue,
|
|
318
|
+
Gi as xor,
|
|
319
|
+
Hi as xorBy,
|
|
320
|
+
Qi as xorWith,
|
|
321
|
+
Xi as zip,
|
|
322
|
+
Yi as zipObject,
|
|
323
|
+
Zi as zipObjectDeep,
|
|
324
|
+
$i as zipWith
|
|
325
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vue-business-kit",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Ready-to-use component library based on Vue3 + TypeScript + Element Plus + Lodash",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/index.es.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.es.js",
|
|
12
|
+
"require": "./dist/index.cjs.js"
|
|
13
|
+
},
|
|
14
|
+
"./global": {
|
|
15
|
+
"types": "./types/global.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./utils": {
|
|
18
|
+
"types": "./dist/utils.d.ts",
|
|
19
|
+
"import": "./dist/utils.es.js",
|
|
20
|
+
"require": "./dist/utils.cjs.js"
|
|
21
|
+
},
|
|
22
|
+
"./dist/index.css": "./dist/index.css"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/dongchen-xie/vue-business-kit"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://dongchen-xie.github.io/vue-business-kit/en-US/",
|
|
33
|
+
"keywords": [
|
|
34
|
+
"vue",
|
|
35
|
+
"vue3",
|
|
36
|
+
"typescript",
|
|
37
|
+
"element-plus",
|
|
38
|
+
"lodash",
|
|
39
|
+
"library"
|
|
40
|
+
],
|
|
41
|
+
"author": "dongchen_xie",
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"vue": "^3.0.0"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
48
|
+
"element-plus": "^2.12.0",
|
|
49
|
+
"lodash-es": "^4.17.21"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@iconify-json/tabler": "^1.2.23",
|
|
53
|
+
"@types/lodash-es": "^4.17.12",
|
|
54
|
+
"@types/node": "*",
|
|
55
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
56
|
+
"typescript": "^5.2.2",
|
|
57
|
+
"unplugin-vue-components": "^30.0.0",
|
|
58
|
+
"vite": "^6.0.7",
|
|
59
|
+
"vite-plugin-dts": "^4.3.0",
|
|
60
|
+
"vue": "^3.5.13",
|
|
61
|
+
"vue-tsc": "^1.8.27"
|
|
62
|
+
},
|
|
63
|
+
"engines": {
|
|
64
|
+
"node": ">= 18.0.0",
|
|
65
|
+
"pnpm": ">=10.0.0"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "vite build",
|
|
69
|
+
"dev": "vite build --watch",
|
|
70
|
+
"generate:icons": "tsx scripts/generate-icons.ts",
|
|
71
|
+
"generate:types": "tsx scripts/generate-component-types.ts"
|
|
72
|
+
}
|
|
73
|
+
}
|