@complex-suite/utils
Advanced tools
+38
-15
| // class加载 | ||
| import _Data from './src/class/_Data' | ||
| import _Data, { type formatConfigType } from './src/class/_Data' | ||
| import Life, { type DataWithLife, type LifeInitOption } from './src/class/Life' | ||
| import { LifeData, LifeList, LifeMap, type LifeValueInitOptionWithExtra, type LifeValueInitOption } from './src/class/LifeData' | ||
| import Limit from './src/class/Limit' | ||
| import Wait from './src/class/Wait' | ||
| import { LifeData, LifeList, LifeMap, LifeValue, type LifeValueInitOptionWithExtra, type LifeValueInitOption } from './src/class/LifeData' | ||
| import Limit, { type LimitType, type LimitInitOption } from './src/class/Limit' | ||
| import Wait, { type WaitInitOption, type waitFunction } from './src/class/Wait' | ||
@@ -16,3 +16,3 @@ // storage加载 | ||
| import triggerFunction from './src/function/triggerFunction' | ||
| import triggerPromise from './src/function/triggerPromise' | ||
| import triggerPromise, { type optionType as TriggerPromiseOptionType } from './src/function/triggerPromise' | ||
| import debounce from './src/function/debounce' | ||
@@ -26,3 +26,3 @@ import throttle from './src/function/throttle' | ||
| import getInteger from './src/number/getInteger' | ||
| import getNum from './src/number/getNum' | ||
| import getNum, { type mathType } from './src/number/getNum' | ||
| import getPreciseNum from './src/number/getPreciseNum' | ||
@@ -40,3 +40,3 @@ import getRandomNum from './src/number/getRandomNum' | ||
| import formatDataByType from './src/object/formatDataByType' | ||
| import formatTree from './src/object/formatTree' | ||
| import formatTree, { type optionType as FormatTreeOptionType, MapData } from './src/object/formatTree' | ||
| import getDefaultValue from './src/object/getDefaultValue' | ||
@@ -54,10 +54,12 @@ import getComplexProp from './src/object/getComplexProp' | ||
| import showArrayProp from './src/object/showArrayProp' | ||
| import updateData from './src/object/updateData' | ||
| import updateData, { type updateDataValueType } from './src/object/updateData' | ||
| // observe加载 | ||
| import observe from './src/observe/observe' | ||
| import Watcher from './src/observe/Watcher' | ||
| import Watcher, { type optionType as WatcherOptionType } from './src/observe/Watcher' | ||
| import Observer, { observeProp, type observeObject } from './src/observe/data/Observer' | ||
| import Dep from './src/observe/data/Dep' | ||
| // reactive加载 | ||
| import defineReactive from './src/reactive/defineReactive' | ||
| import defineReactive, { type defineReactiveOptionType } from './src/reactive/defineReactive' | ||
@@ -70,3 +72,3 @@ // string加载 | ||
| import getRandomInList from './src/string/getRandomInList' | ||
| import getRandomLetter from './src/string/getRandomLetter' | ||
| import getRandomLetter, { type letterType } from './src/string/getRandomLetter' | ||
| import linetoCamel from './src/string/linetoCamel' | ||
@@ -81,3 +83,3 @@ import upperCaseFirstChar from './src/string/upperCaseFirstChar' | ||
| import isBlob from './src/type/isBlob' | ||
| import isComplex from './src/type/isComplex' | ||
| import isComplex, { _isComplex } from './src/type/isComplex' | ||
| import isDate from './src/type/isDate' | ||
@@ -110,3 +112,3 @@ import isEmpty from './src/type/isEmpty' | ||
| import $exportMsg from './src/utils/$exportMsg' | ||
| import exportMsg from './src/utils/exportMsg' | ||
| import exportMsg, { type consoleType } from './src/utils/exportMsg' | ||
| import parseUrl from './src/utils/parseUrl' | ||
@@ -122,3 +124,3 @@ import showJson from './src/utils/showJson' | ||
| // worker加载 | ||
| import startWorker from './src/worker/startWorker' | ||
| import startWorker, { type funcType as StartWorkerFuncType, type optionType as StartWorkerOptionType } from './src/worker/startWorker' | ||
@@ -128,2 +130,3 @@ export { | ||
| _Data, | ||
| type formatConfigType, | ||
| Life, | ||
@@ -133,2 +136,3 @@ LifeData, | ||
| LifeMap, | ||
| LifeValue, | ||
| type DataWithLife, | ||
@@ -139,3 +143,7 @@ type LifeInitOption, | ||
| Limit, | ||
| type LimitType, | ||
| type LimitInitOption, | ||
| Wait, | ||
| type WaitInitOption, | ||
| type waitFunction, | ||
@@ -154,6 +162,6 @@ // storage | ||
| triggerPromise, | ||
| type TriggerPromiseOptionType, | ||
| debounce, | ||
| throttle, | ||
| // number | ||
@@ -164,2 +172,3 @@ formatNum, | ||
| getNum, | ||
| type mathType, | ||
| getPreciseNum, | ||
@@ -178,2 +187,4 @@ getRandomNum, | ||
| formatTree, | ||
| type FormatTreeOptionType, | ||
| MapData, | ||
| getDefaultValue, | ||
@@ -192,2 +203,3 @@ getComplexProp, | ||
| updateData, | ||
| type updateDataValueType, | ||
@@ -197,5 +209,11 @@ // observe | ||
| Watcher, | ||
| type WatcherOptionType, | ||
| Observer, | ||
| observeProp, | ||
| type observeObject, | ||
| Dep, | ||
| // reactive | ||
| defineReactive, | ||
| type defineReactiveOptionType, | ||
@@ -209,2 +227,3 @@ // string | ||
| getRandomLetter, | ||
| type letterType, | ||
| linetoCamel, | ||
@@ -222,2 +241,3 @@ upperCaseFirstChar, | ||
| isComplex, | ||
| _isComplex, | ||
| isDate, | ||
@@ -252,2 +272,3 @@ isEmpty, | ||
| exportMsg, | ||
| type consoleType, | ||
| parseUrl, | ||
@@ -264,2 +285,4 @@ showJson, | ||
| startWorker, | ||
| type StartWorkerFuncType, | ||
| type StartWorkerOptionType, | ||
| } |
+1
-1
| { | ||
| "name": "@complex-suite/utils", | ||
| "version": "3.0.4", | ||
| "version": "3.0.5", | ||
| "description": "a complex utils", | ||
@@ -5,0 +5,0 @@ "type": "module", |
112141
1%3168
0.76%