@fangzhongya/utils 0.0.8-42 → 0.0.8-43
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/basic/array/asyncMergeArray.d.ts +9 -0
- package/dist/basic/array/duplicateRemoval.d.ts +9 -0
- package/dist/basic/array/index.d.ts +5 -0
- package/dist/basic/array/isArray.d.ts +8 -0
- package/dist/basic/array/replaceAfter.d.ts +10 -0
- package/dist/basic/array/toggleArray.d.ts +10 -0
- package/dist/basic/index.cjs +4 -4
- package/dist/basic/index.d.ts +24 -0
- package/dist/basic/index.js +3 -3
- package/dist/basic/object/attrValueSort.d.ts +12 -0
- package/dist/basic/object/filterObject.d.ts +14 -0
- package/dist/basic/object/getSort.cjs +7 -1
- package/dist/basic/object/getSort.d.ts +10 -0
- package/dist/basic/object/getSort.js +7 -1
- package/dist/basic/object/hasOwn.d.ts +9 -0
- package/dist/basic/object/index.cjs +6 -3
- package/dist/basic/object/index.d.ts +9 -0
- package/dist/basic/object/index.js +5 -2
- package/dist/basic/object/isObject.d.ts +8 -0
- package/dist/basic/object/isObjectArray.d.ts +8 -0
- package/dist/basic/object/mergeObject.d.ts +11 -0
- package/dist/basic/object/setSort.d.ts +7 -0
- package/dist/basic/object/unmergeObject.d.ts +11 -0
- package/dist/basic/string/appearNum.d.ts +9 -0
- package/dist/basic/string/appearNumSeat.d.ts +10 -0
- package/dist/basic/string/firstLower.d.ts +8 -0
- package/dist/basic/string/firstUpper.d.ts +8 -0
- package/dist/basic/string/getStartSame.d.ts +9 -0
- package/dist/basic/string/getStartSames.d.ts +9 -0
- package/dist/basic/string/index.d.ts +7 -0
- package/dist/basic/string/splitUpper.d.ts +8 -0
- package/dist/{chunk-XAFUCA6P.js → chunk-2FN3EJW2.js} +4 -0
- package/dist/chunk-7AIT4XSD.cjs +13 -0
- package/dist/{chunk-52BMK4JD.cjs → chunk-E5U7NDJF.cjs} +4 -0
- package/dist/{chunk-6Q44LIV2.cjs → chunk-GB3PNLS6.cjs} +2 -2
- package/dist/{chunk-SO4HSZFH.js → chunk-JZ52UPZP.js} +1 -1
- package/dist/chunk-ZEAT23CI.js +13 -0
- package/dist/css/fetchUnitValue.d.ts +10 -0
- package/dist/css/getAttrObj.d.ts +11 -0
- package/dist/css/getCss.d.ts +9 -0
- package/dist/css/getPositionRelative.d.ts +7 -0
- package/dist/css/getSVG.d.ts +14 -0
- package/dist/css/index.cjs +8 -8
- package/dist/css/index.d.ts +6 -0
- package/dist/css/index.js +9 -9
- package/dist/css/setCss.d.ts +11 -0
- package/dist/dom/getLocus.d.ts +14 -0
- package/dist/dom/getShiftEvent.d.ts +25 -0
- package/dist/dom/index.d.ts +2 -0
- package/dist/html/analysisHtml.d.ts +13 -0
- package/dist/html/htmlEscape.d.ts +8 -0
- package/dist/html/index.d.ts +2 -0
- package/dist/index-09cd203a.d.ts +16 -0
- package/dist/index-130ae781.d.ts +10 -0
- package/dist/index-42672b09.d.ts +36 -0
- package/dist/index-445fe401.d.ts +19 -0
- package/dist/index-52c0879d.d.ts +13 -0
- package/dist/index-5aea66bb.d.ts +21 -0
- package/dist/index-7b53d3ec.d.ts +34 -0
- package/dist/index-84b0c6c3.d.ts +13 -0
- package/dist/index-a65f6120.d.ts +22 -0
- package/dist/index-ae0241ec.d.ts +13 -0
- package/dist/index-b16b81dc.d.ts +22 -0
- package/dist/index-b5d07d0c.d.ts +25 -0
- package/dist/index-bc08cd32.d.ts +14 -0
- package/dist/index-eef2a16c.d.ts +28 -0
- package/dist/index-ef15848a.d.ts +10 -0
- package/dist/index.cjs +15 -15
- package/dist/index.d.ts +69 -0
- package/dist/index.js +15 -15
- package/dist/iss/index.d.ts +3 -0
- package/dist/judge/index.d.ts +4 -0
- package/dist/judge/matchs.d.ts +10 -0
- package/dist/judge/matchsEnd.d.ts +9 -0
- package/dist/judge/matchsStart.d.ts +9 -0
- package/dist/judge/matchsWhole.d.ts +9 -0
- package/dist/load/getSynch.d.ts +8 -0
- package/dist/load/index.d.ts +2 -0
- package/dist/load/loadScript.d.ts +3 -0
- package/dist/log/index.d.ts +1 -0
- package/dist/log/styleLog.d.ts +68 -0
- package/dist/name/getComponentNames.cjs +1 -1
- package/dist/name/getComponentNames.d.ts +8 -0
- package/dist/name/getComponentNames.js +1 -1
- package/dist/name/getNames.cjs +1 -1
- package/dist/name/getNames.d.ts +8 -0
- package/dist/name/getNames.js +1 -1
- package/dist/name/humpToLine.d.ts +8 -0
- package/dist/name/index.cjs +2 -2
- package/dist/name/index.d.ts +5 -0
- package/dist/name/index.js +2 -2
- package/dist/name/lineToLargeHump.d.ts +8 -0
- package/dist/name/lineToSmallHump.d.ts +8 -0
- package/dist/node/getPort.d.ts +13 -0
- package/dist/node/index.d.ts +1 -0
- package/dist/tree/getTreeObj.d.ts +26 -0
- package/dist/tree/index.d.ts +1 -0
- package/dist/urls/getImportUrl.d.ts +9 -0
- package/dist/urls/getImportUrlSuffix.d.ts +9 -0
- package/dist/urls/getNewFileName.d.ts +8 -0
- package/dist/urls/getReplaceImportUrl.d.ts +9 -0
- package/dist/urls/getReplaceUrl.d.ts +9 -0
- package/dist/urls/getSuffix.d.ts +8 -0
- package/dist/urls/getUrlCatalogue.d.ts +8 -0
- package/dist/urls/getUrlCatalogueLast.d.ts +8 -0
- package/dist/urls/getUrlCatalogueObj.d.ts +17 -0
- package/dist/urls/index.d.ts +9 -0
- package/package.json +1 -1
- package/dist/chunk-DVOI46TA.cjs +0 -1
- package/dist/chunk-FUI4W2Y5.js +0 -0
- package/dist/{chunk-EMLSF4SW.cjs → chunk-7KMW3ZX4.cjs} +6 -6
- package/dist/{chunk-TSDCYULZ.js → chunk-APSYRNFU.js} +8 -8
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type SeatEvent = MouseEvent | Touch;
|
|
2
|
+
type Type = 'touch' | 'mouse';
|
|
3
|
+
type Callback = (e: SeatEvent, t: Type) => void;
|
|
4
|
+
type Dom = HTMLElement | Document;
|
|
5
|
+
declare const eventTypes: {
|
|
6
|
+
press: {
|
|
7
|
+
touch: string;
|
|
8
|
+
mouse: string;
|
|
9
|
+
};
|
|
10
|
+
shift: {
|
|
11
|
+
touch: string;
|
|
12
|
+
mouse: string;
|
|
13
|
+
};
|
|
14
|
+
release: {
|
|
15
|
+
touch: string;
|
|
16
|
+
mouse: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
type EventTypeKey = keyof typeof eventTypes;
|
|
20
|
+
declare function pressEvent(dom: HTMLElement, press: (e: SeatEvent) => any, shift?: Callback, release?: Callback, dom1?: Dom): void;
|
|
21
|
+
declare function shiftEvent(t: Type, dom1: Dom, shift?: Callback, release?: Callback, is?: boolean): void;
|
|
22
|
+
declare function foundEvent(eventType: EventTypeKey, c: Callback, dom?: Dom, type?: Type): void;
|
|
23
|
+
declare function foundEventCallback(eventType: EventTypeKey, c: Callback, dom?: Dom, type?: Type): (event: Event) => void;
|
|
24
|
+
|
|
25
|
+
export { SeatEvent, foundEvent, foundEventCallback, pressEvent, shiftEvent };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type HtmlObj = {
|
|
2
|
+
div: string;
|
|
3
|
+
attr: {
|
|
4
|
+
[key: string]: string | number | undefined;
|
|
5
|
+
} | undefined;
|
|
6
|
+
value: Array<HtmlObj | string>;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* 解析html字符串
|
|
10
|
+
*/
|
|
11
|
+
declare function analysisHtml(str: string): (string | HtmlObj)[];
|
|
12
|
+
|
|
13
|
+
export { analysisHtml };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { isArray } from './basic/array/isArray.js';
|
|
2
|
+
import { isObject } from './basic/object/isObject.js';
|
|
3
|
+
import { isObjectArray } from './basic/object/isObjectArray.js';
|
|
4
|
+
|
|
5
|
+
declare const index_isArray: typeof isArray;
|
|
6
|
+
declare const index_isObject: typeof isObject;
|
|
7
|
+
declare const index_isObjectArray: typeof isObjectArray;
|
|
8
|
+
declare namespace index {
|
|
9
|
+
export {
|
|
10
|
+
index_isArray as isArray,
|
|
11
|
+
index_isObject as isObject,
|
|
12
|
+
index_isObjectArray as isObjectArray,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { index as i };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { getImportUrl } from './urls/getImportUrl.js';
|
|
2
|
+
import { getImportUrlSuffix } from './urls/getImportUrlSuffix.js';
|
|
3
|
+
import { getNewFileName } from './urls/getNewFileName.js';
|
|
4
|
+
import { getReplaceImportUrl } from './urls/getReplaceImportUrl.js';
|
|
5
|
+
import { getReplaceUrl } from './urls/getReplaceUrl.js';
|
|
6
|
+
import { getSuffix } from './urls/getSuffix.js';
|
|
7
|
+
import { getUrlCatalogue } from './urls/getUrlCatalogue.js';
|
|
8
|
+
import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.js';
|
|
9
|
+
import { UrlCatalogue, getUrlCatalogueObj } from './urls/getUrlCatalogueObj.js';
|
|
10
|
+
|
|
11
|
+
declare const index_UrlCatalogue: typeof UrlCatalogue;
|
|
12
|
+
declare const index_getImportUrl: typeof getImportUrl;
|
|
13
|
+
declare const index_getImportUrlSuffix: typeof getImportUrlSuffix;
|
|
14
|
+
declare const index_getNewFileName: typeof getNewFileName;
|
|
15
|
+
declare const index_getReplaceImportUrl: typeof getReplaceImportUrl;
|
|
16
|
+
declare const index_getReplaceUrl: typeof getReplaceUrl;
|
|
17
|
+
declare const index_getSuffix: typeof getSuffix;
|
|
18
|
+
declare const index_getUrlCatalogue: typeof getUrlCatalogue;
|
|
19
|
+
declare const index_getUrlCatalogueLast: typeof getUrlCatalogueLast;
|
|
20
|
+
declare const index_getUrlCatalogueObj: typeof getUrlCatalogueObj;
|
|
21
|
+
declare namespace index {
|
|
22
|
+
export {
|
|
23
|
+
index_UrlCatalogue as UrlCatalogue,
|
|
24
|
+
index_getImportUrl as getImportUrl,
|
|
25
|
+
index_getImportUrlSuffix as getImportUrlSuffix,
|
|
26
|
+
index_getNewFileName as getNewFileName,
|
|
27
|
+
index_getReplaceImportUrl as getReplaceImportUrl,
|
|
28
|
+
index_getReplaceUrl as getReplaceUrl,
|
|
29
|
+
index_getSuffix as getSuffix,
|
|
30
|
+
index_getUrlCatalogue as getUrlCatalogue,
|
|
31
|
+
index_getUrlCatalogueLast as getUrlCatalogueLast,
|
|
32
|
+
index_getUrlCatalogueObj as getUrlCatalogueObj,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { index as i };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { matchs } from './judge/matchs.js';
|
|
2
|
+
import { matchsEnd } from './judge/matchsEnd.js';
|
|
3
|
+
import { matchsStart } from './judge/matchsStart.js';
|
|
4
|
+
import { matchsWhole } from './judge/matchsWhole.js';
|
|
5
|
+
|
|
6
|
+
declare const index_matchs: typeof matchs;
|
|
7
|
+
declare const index_matchsEnd: typeof matchsEnd;
|
|
8
|
+
declare const index_matchsStart: typeof matchsStart;
|
|
9
|
+
declare const index_matchsWhole: typeof matchsWhole;
|
|
10
|
+
declare namespace index {
|
|
11
|
+
export {
|
|
12
|
+
index_matchs as matchs,
|
|
13
|
+
index_matchsEnd as matchsEnd,
|
|
14
|
+
index_matchsStart as matchsStart,
|
|
15
|
+
index_matchsWhole as matchsWhole,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { index as i };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { i as index$1 } from './index-b16b81dc.js';
|
|
2
|
+
import { i as index$2 } from './index-7b53d3ec.js';
|
|
3
|
+
import { i as index$3 } from './index-eef2a16c.js';
|
|
4
|
+
|
|
5
|
+
declare namespace index {
|
|
6
|
+
export {
|
|
7
|
+
index$1 as array,
|
|
8
|
+
index$2 as object,
|
|
9
|
+
index$3 as string,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { index as i };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getLocus } from './dom/getLocus.js';
|
|
2
|
+
import { SeatEvent, foundEvent, foundEventCallback, pressEvent, shiftEvent } from './dom/getShiftEvent.js';
|
|
3
|
+
|
|
4
|
+
declare const index_SeatEvent: typeof SeatEvent;
|
|
5
|
+
declare const index_foundEvent: typeof foundEvent;
|
|
6
|
+
declare const index_foundEventCallback: typeof foundEventCallback;
|
|
7
|
+
declare const index_getLocus: typeof getLocus;
|
|
8
|
+
declare const index_pressEvent: typeof pressEvent;
|
|
9
|
+
declare const index_shiftEvent: typeof shiftEvent;
|
|
10
|
+
declare namespace index {
|
|
11
|
+
export {
|
|
12
|
+
index_SeatEvent as SeatEvent,
|
|
13
|
+
index_foundEvent as foundEvent,
|
|
14
|
+
index_foundEventCallback as foundEventCallback,
|
|
15
|
+
index_getLocus as getLocus,
|
|
16
|
+
index_pressEvent as pressEvent,
|
|
17
|
+
index_shiftEvent as shiftEvent,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { index as i };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { attrValueSort } from './basic/object/attrValueSort.js';
|
|
2
|
+
import { filterObject } from './basic/object/filterObject.js';
|
|
3
|
+
import { getSort } from './basic/object/getSort.js';
|
|
4
|
+
import { hasOwn } from './basic/object/hasOwn.js';
|
|
5
|
+
import { isObject } from './basic/object/isObject.js';
|
|
6
|
+
import { isObjectArray } from './basic/object/isObjectArray.js';
|
|
7
|
+
import { mergeObject } from './basic/object/mergeObject.js';
|
|
8
|
+
import { setSort } from './basic/object/setSort.js';
|
|
9
|
+
import { unmergeObject } from './basic/object/unmergeObject.js';
|
|
10
|
+
|
|
11
|
+
declare const index_attrValueSort: typeof attrValueSort;
|
|
12
|
+
declare const index_filterObject: typeof filterObject;
|
|
13
|
+
declare const index_getSort: typeof getSort;
|
|
14
|
+
declare const index_hasOwn: typeof hasOwn;
|
|
15
|
+
declare const index_isObject: typeof isObject;
|
|
16
|
+
declare const index_isObjectArray: typeof isObjectArray;
|
|
17
|
+
declare const index_mergeObject: typeof mergeObject;
|
|
18
|
+
declare const index_setSort: typeof setSort;
|
|
19
|
+
declare const index_unmergeObject: typeof unmergeObject;
|
|
20
|
+
declare namespace index {
|
|
21
|
+
export {
|
|
22
|
+
index_attrValueSort as attrValueSort,
|
|
23
|
+
index_filterObject as filterObject,
|
|
24
|
+
index_getSort as getSort,
|
|
25
|
+
index_hasOwn as hasOwn,
|
|
26
|
+
index_isObject as isObject,
|
|
27
|
+
index_isObjectArray as isObjectArray,
|
|
28
|
+
index_mergeObject as mergeObject,
|
|
29
|
+
index_setSort as setSort,
|
|
30
|
+
index_unmergeObject as unmergeObject,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { index as i };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { getSynch } from './load/getSynch.js';
|
|
2
|
+
import { loadScript } from './load/loadScript.js';
|
|
3
|
+
|
|
4
|
+
declare const index_getSynch: typeof getSynch;
|
|
5
|
+
declare const index_loadScript: typeof loadScript;
|
|
6
|
+
declare namespace index {
|
|
7
|
+
export {
|
|
8
|
+
index_getSynch as getSynch,
|
|
9
|
+
index_loadScript as loadScript,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { index as i };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getComponentNames } from './name/getComponentNames.js';
|
|
2
|
+
import { getNames } from './name/getNames.js';
|
|
3
|
+
import { humpToLine } from './name/humpToLine.js';
|
|
4
|
+
import { lineToLargeHump } from './name/lineToLargeHump.js';
|
|
5
|
+
import { lineToSmallHump } from './name/lineToSmallHump.js';
|
|
6
|
+
|
|
7
|
+
declare const index_getComponentNames: typeof getComponentNames;
|
|
8
|
+
declare const index_getNames: typeof getNames;
|
|
9
|
+
declare const index_humpToLine: typeof humpToLine;
|
|
10
|
+
declare const index_lineToLargeHump: typeof lineToLargeHump;
|
|
11
|
+
declare const index_lineToSmallHump: typeof lineToSmallHump;
|
|
12
|
+
declare namespace index {
|
|
13
|
+
export {
|
|
14
|
+
index_getComponentNames as getComponentNames,
|
|
15
|
+
index_getNames as getNames,
|
|
16
|
+
index_humpToLine as humpToLine,
|
|
17
|
+
index_lineToLargeHump as lineToLargeHump,
|
|
18
|
+
index_lineToSmallHump as lineToSmallHump,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { index as i };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { analysisHtml } from './html/analysisHtml.js';
|
|
2
|
+
import { htmlEscape } from './html/htmlEscape.js';
|
|
3
|
+
|
|
4
|
+
declare const index_analysisHtml: typeof analysisHtml;
|
|
5
|
+
declare const index_htmlEscape: typeof htmlEscape;
|
|
6
|
+
declare namespace index {
|
|
7
|
+
export {
|
|
8
|
+
index_analysisHtml as analysisHtml,
|
|
9
|
+
index_htmlEscape as htmlEscape,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { index as i };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { asyncMergeArray } from './basic/array/asyncMergeArray.js';
|
|
2
|
+
import { duplicateRemoval } from './basic/array/duplicateRemoval.js';
|
|
3
|
+
import { isArray } from './basic/array/isArray.js';
|
|
4
|
+
import { replaceAfter } from './basic/array/replaceAfter.js';
|
|
5
|
+
import { toggleArray } from './basic/array/toggleArray.js';
|
|
6
|
+
|
|
7
|
+
declare const index_asyncMergeArray: typeof asyncMergeArray;
|
|
8
|
+
declare const index_duplicateRemoval: typeof duplicateRemoval;
|
|
9
|
+
declare const index_isArray: typeof isArray;
|
|
10
|
+
declare const index_replaceAfter: typeof replaceAfter;
|
|
11
|
+
declare const index_toggleArray: typeof toggleArray;
|
|
12
|
+
declare namespace index {
|
|
13
|
+
export {
|
|
14
|
+
index_asyncMergeArray as asyncMergeArray,
|
|
15
|
+
index_duplicateRemoval as duplicateRemoval,
|
|
16
|
+
index_isArray as isArray,
|
|
17
|
+
index_replaceAfter as replaceAfter,
|
|
18
|
+
index_toggleArray as toggleArray,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { index as i };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { fetchUnitValue } from './css/fetchUnitValue.js';
|
|
2
|
+
import { getAttrObj } from './css/getAttrObj.js';
|
|
3
|
+
import { getCss } from './css/getCss.js';
|
|
4
|
+
import { getPositionRelative } from './css/getPositionRelative.js';
|
|
5
|
+
import { getSVG } from './css/getSVG.js';
|
|
6
|
+
import { setCss } from './css/setCss.js';
|
|
7
|
+
|
|
8
|
+
declare const index_fetchUnitValue: typeof fetchUnitValue;
|
|
9
|
+
declare const index_getAttrObj: typeof getAttrObj;
|
|
10
|
+
declare const index_getCss: typeof getCss;
|
|
11
|
+
declare const index_getPositionRelative: typeof getPositionRelative;
|
|
12
|
+
declare const index_getSVG: typeof getSVG;
|
|
13
|
+
declare const index_setCss: typeof setCss;
|
|
14
|
+
declare namespace index {
|
|
15
|
+
export {
|
|
16
|
+
index_fetchUnitValue as fetchUnitValue,
|
|
17
|
+
index_getAttrObj as getAttrObj,
|
|
18
|
+
index_getCss as getCss,
|
|
19
|
+
index_getPositionRelative as getPositionRelative,
|
|
20
|
+
index_getSVG as getSVG,
|
|
21
|
+
index_setCss as setCss,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { index as i };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { arrayToTree, getTreeObj, treeToArray } from './tree/getTreeObj.js';
|
|
2
|
+
|
|
3
|
+
declare const index_arrayToTree: typeof arrayToTree;
|
|
4
|
+
declare const index_getTreeObj: typeof getTreeObj;
|
|
5
|
+
declare const index_treeToArray: typeof treeToArray;
|
|
6
|
+
declare namespace index {
|
|
7
|
+
export {
|
|
8
|
+
index_arrayToTree as arrayToTree,
|
|
9
|
+
index_getTreeObj as getTreeObj,
|
|
10
|
+
index_treeToArray as treeToArray,
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { index as i };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { appearNum } from './basic/string/appearNum.js';
|
|
2
|
+
import { appearNumSeat } from './basic/string/appearNumSeat.js';
|
|
3
|
+
import { firstLower } from './basic/string/firstLower.js';
|
|
4
|
+
import { firstUpper } from './basic/string/firstUpper.js';
|
|
5
|
+
import { getStartSame } from './basic/string/getStartSame.js';
|
|
6
|
+
import { getStartSames } from './basic/string/getStartSames.js';
|
|
7
|
+
import { splitUpper } from './basic/string/splitUpper.js';
|
|
8
|
+
|
|
9
|
+
declare const index_appearNum: typeof appearNum;
|
|
10
|
+
declare const index_appearNumSeat: typeof appearNumSeat;
|
|
11
|
+
declare const index_firstLower: typeof firstLower;
|
|
12
|
+
declare const index_firstUpper: typeof firstUpper;
|
|
13
|
+
declare const index_getStartSame: typeof getStartSame;
|
|
14
|
+
declare const index_getStartSames: typeof getStartSames;
|
|
15
|
+
declare const index_splitUpper: typeof splitUpper;
|
|
16
|
+
declare namespace index {
|
|
17
|
+
export {
|
|
18
|
+
index_appearNum as appearNum,
|
|
19
|
+
index_appearNumSeat as appearNumSeat,
|
|
20
|
+
index_firstLower as firstLower,
|
|
21
|
+
index_firstUpper as firstUpper,
|
|
22
|
+
index_getStartSame as getStartSame,
|
|
23
|
+
index_getStartSames as getStartSames,
|
|
24
|
+
index_splitUpper as splitUpper,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { index as i };
|
package/dist/index.cjs
CHANGED
|
@@ -43,26 +43,24 @@ require('./chunk-HCEAYQHS.cjs');
|
|
|
43
43
|
require('./chunk-FP5ETUFZ.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var _chunkEMLSF4SWcjs = require('./chunk-EMLSF4SW.cjs');
|
|
47
|
-
require('./chunk-VY5VQ7WE.cjs');
|
|
48
|
-
require('./chunk-GFAUQTB2.cjs');
|
|
49
|
-
require('./chunk-4X7AFGTV.cjs');
|
|
50
|
-
require('./chunk-LTVXRDTD.cjs');
|
|
51
|
-
|
|
52
|
-
|
|
53
46
|
var _chunkMGX7U2CGcjs = require('./chunk-MGX7U2CG.cjs');
|
|
54
47
|
require('./chunk-LEPZYF2N.cjs');
|
|
55
48
|
require('./chunk-EWXBN4VG.cjs');
|
|
56
49
|
|
|
57
50
|
|
|
51
|
+
var _chunkSRMXMAFOcjs = require('./chunk-SRMXMAFO.cjs');
|
|
52
|
+
require('./chunk-2OR4FUOA.cjs');
|
|
53
|
+
require('./chunk-RQRBSTSX.cjs');
|
|
54
|
+
|
|
55
|
+
|
|
58
56
|
var _chunkM7CD62S3cjs = require('./chunk-M7CD62S3.cjs');
|
|
59
57
|
|
|
60
58
|
|
|
61
|
-
var
|
|
59
|
+
var _chunkGB3PNLS6cjs = require('./chunk-GB3PNLS6.cjs');
|
|
62
60
|
require('./chunk-V3FWFWP2.cjs');
|
|
63
61
|
require('./chunk-J7S3KBHL.cjs');
|
|
64
62
|
require('./chunk-L7FSHU27.cjs');
|
|
65
|
-
require('./chunk-
|
|
63
|
+
require('./chunk-E5U7NDJF.cjs');
|
|
66
64
|
require('./chunk-NRJPCN4J.cjs');
|
|
67
65
|
require('./chunk-IIKQHLKT.cjs');
|
|
68
66
|
require('./chunk-3VYRYSWK.cjs');
|
|
@@ -71,7 +69,7 @@ require('./chunk-LG7MY5KL.cjs');
|
|
|
71
69
|
require('./chunk-AXMOZZCM.cjs');
|
|
72
70
|
require('./chunk-UFYLVZNU.cjs');
|
|
73
71
|
require('./chunk-D3SX7OUV.cjs');
|
|
74
|
-
require('./chunk-
|
|
72
|
+
require('./chunk-7AIT4XSD.cjs');
|
|
75
73
|
require('./chunk-GOUC2DFA.cjs');
|
|
76
74
|
require('./chunk-3HXQ7TGV.cjs');
|
|
77
75
|
require('./chunk-JR6ZN6QD.cjs');
|
|
@@ -85,12 +83,14 @@ require('./chunk-MIC3W2VY.cjs');
|
|
|
85
83
|
require('./chunk-ISHLY7WM.cjs');
|
|
86
84
|
|
|
87
85
|
|
|
88
|
-
var
|
|
89
|
-
require('./chunk-
|
|
90
|
-
require('./chunk-
|
|
86
|
+
var _chunk7KMW3ZX4cjs = require('./chunk-7KMW3ZX4.cjs');
|
|
87
|
+
require('./chunk-4X7AFGTV.cjs');
|
|
88
|
+
require('./chunk-LTVXRDTD.cjs');
|
|
91
89
|
require('./chunk-UGFSIZ5P.cjs');
|
|
92
|
-
require('./chunk-
|
|
90
|
+
require('./chunk-VY5VQ7WE.cjs');
|
|
93
91
|
require('./chunk-UGS2F6DK.cjs');
|
|
92
|
+
require('./chunk-GFAUQTB2.cjs');
|
|
93
|
+
require('./chunk-TE3XNGF4.cjs');
|
|
94
94
|
require('./chunk-5AZGAKWR.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
@@ -105,4 +105,4 @@ require('./chunk-5AZGAKWR.cjs');
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
exports.basic =
|
|
108
|
+
exports.basic = _chunkGB3PNLS6cjs.basic_exports; exports.css = _chunk7KMW3ZX4cjs.css_exports; exports.dom = _chunkSRMXMAFOcjs.dom_exports; exports.html = _chunkMGX7U2CGcjs.html_exports; exports.iss = _chunkM7CD62S3cjs.iss_exports; exports.judge = _chunkSYXWQKOOcjs.judge_exports; exports.load = _chunkAXAVKIR3cjs.load_exports; exports.log = _chunkJ7SPTSZMcjs.log_exports; exports.name = _chunkKHGCW3A7cjs.name_exports; exports.node = _chunkQZVMLHFWcjs.node_exports; exports.tree = _chunkL6EZ5APFcjs.tree_exports; exports.urls = _chunkP3477FZWcjs.urls_exports;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export { i as basic } from './index-52c0879d.js';
|
|
2
|
+
export { i as css } from './index-b5d07d0c.js';
|
|
3
|
+
export { i as dom } from './index-5aea66bb.js';
|
|
4
|
+
export { i as html } from './index-ae0241ec.js';
|
|
5
|
+
export { i as iss } from './index-09cd203a.js';
|
|
6
|
+
export { i as judge } from './index-445fe401.js';
|
|
7
|
+
export { i as load } from './index-84b0c6c3.js';
|
|
8
|
+
export { i as log } from './index-ef15848a.js';
|
|
9
|
+
export { i as name } from './index-a65f6120.js';
|
|
10
|
+
export { i as node } from './index-130ae781.js';
|
|
11
|
+
export { i as tree } from './index-bc08cd32.js';
|
|
12
|
+
export { i as urls } from './index-42672b09.js';
|
|
13
|
+
import './index-b16b81dc.js';
|
|
14
|
+
import './basic/array/asyncMergeArray.js';
|
|
15
|
+
import './basic/array/duplicateRemoval.js';
|
|
16
|
+
import './basic/array/isArray.js';
|
|
17
|
+
import './basic/array/replaceAfter.js';
|
|
18
|
+
import './basic/array/toggleArray.js';
|
|
19
|
+
import './index-7b53d3ec.js';
|
|
20
|
+
import './basic/object/attrValueSort.js';
|
|
21
|
+
import './basic/object/filterObject.js';
|
|
22
|
+
import './basic/object/getSort.js';
|
|
23
|
+
import './basic/object/hasOwn.js';
|
|
24
|
+
import './basic/object/isObject.js';
|
|
25
|
+
import './basic/object/isObjectArray.js';
|
|
26
|
+
import './basic/object/mergeObject.js';
|
|
27
|
+
import './basic/object/setSort.js';
|
|
28
|
+
import './basic/object/unmergeObject.js';
|
|
29
|
+
import './index-eef2a16c.js';
|
|
30
|
+
import './basic/string/appearNum.js';
|
|
31
|
+
import './basic/string/appearNumSeat.js';
|
|
32
|
+
import './basic/string/firstLower.js';
|
|
33
|
+
import './basic/string/firstUpper.js';
|
|
34
|
+
import './basic/string/getStartSame.js';
|
|
35
|
+
import './basic/string/getStartSames.js';
|
|
36
|
+
import './basic/string/splitUpper.js';
|
|
37
|
+
import './css/fetchUnitValue.js';
|
|
38
|
+
import './css/getAttrObj.js';
|
|
39
|
+
import './css/getCss.js';
|
|
40
|
+
import './css/getPositionRelative.js';
|
|
41
|
+
import './css/getSVG.js';
|
|
42
|
+
import './css/setCss.js';
|
|
43
|
+
import './dom/getLocus.js';
|
|
44
|
+
import './dom/getShiftEvent.js';
|
|
45
|
+
import './html/analysisHtml.js';
|
|
46
|
+
import './html/htmlEscape.js';
|
|
47
|
+
import './judge/matchs.js';
|
|
48
|
+
import './judge/matchsEnd.js';
|
|
49
|
+
import './judge/matchsStart.js';
|
|
50
|
+
import './judge/matchsWhole.js';
|
|
51
|
+
import './load/getSynch.js';
|
|
52
|
+
import './load/loadScript.js';
|
|
53
|
+
import './log/styleLog.js';
|
|
54
|
+
import './name/getComponentNames.js';
|
|
55
|
+
import './name/getNames.js';
|
|
56
|
+
import './name/humpToLine.js';
|
|
57
|
+
import './name/lineToLargeHump.js';
|
|
58
|
+
import './name/lineToSmallHump.js';
|
|
59
|
+
import './node/getPort.js';
|
|
60
|
+
import './tree/getTreeObj.js';
|
|
61
|
+
import './urls/getImportUrl.js';
|
|
62
|
+
import './urls/getImportUrlSuffix.js';
|
|
63
|
+
import './urls/getNewFileName.js';
|
|
64
|
+
import './urls/getReplaceImportUrl.js';
|
|
65
|
+
import './urls/getReplaceUrl.js';
|
|
66
|
+
import './urls/getSuffix.js';
|
|
67
|
+
import './urls/getUrlCatalogue.js';
|
|
68
|
+
import './urls/getUrlCatalogueLast.js';
|
|
69
|
+
import './urls/getUrlCatalogueObj.js';
|
package/dist/index.js
CHANGED
|
@@ -41,28 +41,26 @@ import {
|
|
|
41
41
|
} from "./chunk-XCTPS2CO.js";
|
|
42
42
|
import "./chunk-2SOGI5PH.js";
|
|
43
43
|
import "./chunk-RU4PMJQS.js";
|
|
44
|
-
import {
|
|
45
|
-
css_exports
|
|
46
|
-
} from "./chunk-TSDCYULZ.js";
|
|
47
|
-
import "./chunk-MQHLAQQA.js";
|
|
48
|
-
import "./chunk-WIYZQNGO.js";
|
|
49
|
-
import "./chunk-XUL6LPTN.js";
|
|
50
|
-
import "./chunk-J7CICTHH.js";
|
|
51
44
|
import {
|
|
52
45
|
html_exports
|
|
53
46
|
} from "./chunk-KQR7FXBF.js";
|
|
54
47
|
import "./chunk-GIAO77MY.js";
|
|
55
48
|
import "./chunk-NCSN3MC5.js";
|
|
49
|
+
import {
|
|
50
|
+
dom_exports
|
|
51
|
+
} from "./chunk-B4CE4K4W.js";
|
|
52
|
+
import "./chunk-Q63V2U5G.js";
|
|
53
|
+
import "./chunk-E5FTKWGB.js";
|
|
56
54
|
import {
|
|
57
55
|
iss_exports
|
|
58
56
|
} from "./chunk-2MCEAUE7.js";
|
|
59
57
|
import {
|
|
60
58
|
basic_exports
|
|
61
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-JZ52UPZP.js";
|
|
62
60
|
import "./chunk-P2CYIUCC.js";
|
|
63
61
|
import "./chunk-7DTHADVK.js";
|
|
64
62
|
import "./chunk-VKE5JARB.js";
|
|
65
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-2FN3EJW2.js";
|
|
66
64
|
import "./chunk-RD4EP3M5.js";
|
|
67
65
|
import "./chunk-3LWFUVER.js";
|
|
68
66
|
import "./chunk-A6J46LQK.js";
|
|
@@ -71,7 +69,7 @@ import "./chunk-GOH6G74S.js";
|
|
|
71
69
|
import "./chunk-GOJN3OQ4.js";
|
|
72
70
|
import "./chunk-T4BAVDTH.js";
|
|
73
71
|
import "./chunk-S42NGJ5W.js";
|
|
74
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-ZEAT23CI.js";
|
|
75
73
|
import "./chunk-3IR2ABRO.js";
|
|
76
74
|
import "./chunk-SNABGVNO.js";
|
|
77
75
|
import "./chunk-DMZP4RPN.js";
|
|
@@ -84,13 +82,15 @@ import "./chunk-GYE23WAN.js";
|
|
|
84
82
|
import "./chunk-MXY4W3K5.js";
|
|
85
83
|
import "./chunk-5PX3AFSC.js";
|
|
86
84
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
85
|
+
css_exports
|
|
86
|
+
} from "./chunk-APSYRNFU.js";
|
|
87
|
+
import "./chunk-XUL6LPTN.js";
|
|
88
|
+
import "./chunk-J7CICTHH.js";
|
|
91
89
|
import "./chunk-WX3JYE47.js";
|
|
92
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-MQHLAQQA.js";
|
|
93
91
|
import "./chunk-5RZYHE3X.js";
|
|
92
|
+
import "./chunk-WIYZQNGO.js";
|
|
93
|
+
import "./chunk-N3FZ4WUI.js";
|
|
94
94
|
import "./chunk-UICA3PK6.js";
|
|
95
95
|
export {
|
|
96
96
|
basic_exports as basic,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 判断字符串是否匹配 总方法
|
|
3
|
+
* @param {string} key 当前字符串
|
|
4
|
+
* @param { Array<string | RegExp> } matchs 匹配的字符串或者正则表达式数组
|
|
5
|
+
* @param {string} type 类型 'end' 后匹配,'start' 前匹配, 其他是全匹配
|
|
6
|
+
* @returns {boolean} 空数组 true
|
|
7
|
+
*/
|
|
8
|
+
declare function matchs(key: string, matchs?: Array<string | RegExp>, type?: string): boolean;
|
|
9
|
+
|
|
10
|
+
export { matchs };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 判断字符串是否匹配 字符串采用后匹配
|
|
3
|
+
* @param {string} key 当前字符串
|
|
4
|
+
* @param { Array<string | RegExp> } matchs 匹配的字符串或者正则表达式数组
|
|
5
|
+
* @returns {boolean} 空数组 true
|
|
6
|
+
*/
|
|
7
|
+
declare function matchsEnd(key: string, matchs?: Array<string | RegExp>): boolean;
|
|
8
|
+
|
|
9
|
+
export { matchsEnd };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 判断字符串是否匹配 字符串采用前匹配
|
|
3
|
+
* @param {string} key 当前字符串
|
|
4
|
+
* @param { Array<string | RegExp> } matchs 匹配的字符串或者正则表达式数组
|
|
5
|
+
* @returns {boolean} 空数组 true
|
|
6
|
+
*/
|
|
7
|
+
declare function matchsStart(key: string, matchs?: Array<string | RegExp>): boolean;
|
|
8
|
+
|
|
9
|
+
export { matchsStart };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 判断字符串是否匹配 字符串采用全匹配
|
|
3
|
+
* @param {string} key 当前字符串
|
|
4
|
+
* @param { Array<string | RegExp> } matchs 匹配的字符串或者正则表达式数组
|
|
5
|
+
* @returns {boolean} 空数组 true
|
|
6
|
+
*/
|
|
7
|
+
declare function matchsWhole(key: string, matchs?: Array<string | RegExp>): boolean;
|
|
8
|
+
|
|
9
|
+
export { matchsWhole };
|