@fangzhongya/utils 0.0.34 → 0.0.35
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.cts +9 -0
- package/dist/basic/array/asyncMergeArray.d.ts +9 -0
- package/dist/basic/array/compareArray.cjs +7 -1
- package/dist/basic/array/compareArray.d.cts +11 -0
- package/dist/basic/array/compareArray.d.ts +11 -0
- package/dist/basic/array/compareArray.js +7 -1
- package/dist/basic/array/deleteArray.d.cts +6 -0
- package/dist/basic/array/deleteArray.d.ts +6 -0
- package/dist/basic/array/duplicateRemoval.d.cts +9 -0
- package/dist/basic/array/duplicateRemoval.d.ts +9 -0
- package/dist/basic/array/index.cjs +6 -3
- package/dist/basic/array/index.d.cts +8 -0
- package/dist/basic/array/index.d.ts +8 -0
- package/dist/basic/array/index.js +5 -2
- package/dist/basic/array/isArray.d.cts +8 -0
- package/dist/basic/array/isArray.d.ts +8 -0
- package/dist/basic/array/replaceAfter.d.cts +11 -0
- package/dist/basic/array/replaceAfter.d.ts +11 -0
- package/dist/basic/array/sortObj.d.cts +10 -0
- package/dist/basic/array/sortObj.d.ts +10 -0
- package/dist/basic/array/toggleArray.d.cts +10 -0
- package/dist/basic/array/toggleArray.d.ts +10 -0
- package/dist/basic/index.cjs +4 -4
- package/dist/basic/index.d.cts +38 -0
- package/dist/basic/index.d.ts +38 -0
- package/dist/basic/index.js +3 -3
- package/dist/basic/object/attrValueSort.d.cts +12 -0
- package/dist/basic/object/attrValueSort.d.ts +12 -0
- package/dist/basic/object/deepCopy.d.cts +8 -0
- package/dist/basic/object/deepCopy.d.ts +8 -0
- package/dist/basic/object/filterObject.d.cts +14 -0
- package/dist/basic/object/filterObject.d.ts +14 -0
- package/dist/basic/object/getSort.d.cts +10 -0
- package/dist/basic/object/getSort.d.ts +10 -0
- package/dist/basic/object/hasOwn.d.cts +9 -0
- package/dist/basic/object/hasOwn.d.ts +9 -0
- package/dist/basic/object/index.d.cts +12 -0
- package/dist/basic/object/index.d.ts +12 -0
- package/dist/basic/object/isObject.d.cts +8 -0
- package/dist/basic/object/isObject.d.ts +8 -0
- package/dist/basic/object/isObjectArray.d.cts +8 -0
- package/dist/basic/object/isObjectArray.d.ts +8 -0
- package/dist/basic/object/mergeObject.d.cts +11 -0
- package/dist/basic/object/mergeObject.d.ts +11 -0
- package/dist/basic/object/objValue.d.cts +7 -0
- package/dist/basic/object/objValue.d.ts +7 -0
- package/dist/basic/object/reverseObj.d.cts +9 -0
- package/dist/basic/object/reverseObj.d.ts +9 -0
- package/dist/basic/object/setSort.d.cts +7 -0
- package/dist/basic/object/setSort.d.ts +7 -0
- package/dist/basic/object/unmergeObject.d.cts +11 -0
- package/dist/basic/object/unmergeObject.d.ts +11 -0
- package/dist/basic/string/appearNum.d.cts +9 -0
- package/dist/basic/string/appearNum.d.ts +9 -0
- package/dist/basic/string/appearNumSeat.d.cts +10 -0
- package/dist/basic/string/appearNumSeat.d.ts +10 -0
- package/dist/basic/string/deComment.d.cts +7 -0
- package/dist/basic/string/deComment.d.ts +7 -0
- package/dist/basic/string/firstLower.d.cts +8 -0
- package/dist/basic/string/firstLower.d.ts +8 -0
- package/dist/basic/string/firstUpper.d.cts +8 -0
- package/dist/basic/string/firstUpper.d.ts +8 -0
- package/dist/basic/string/getImports.d.cts +22 -0
- package/dist/basic/string/getImports.d.ts +22 -0
- package/dist/basic/string/getStartSame.d.cts +9 -0
- package/dist/basic/string/getStartSame.d.ts +9 -0
- package/dist/basic/string/getStartSames.d.cts +9 -0
- package/dist/basic/string/getStartSames.d.ts +9 -0
- package/dist/basic/string/getStrNunPosit.d.cts +10 -0
- package/dist/basic/string/getStrNunPosit.d.ts +10 -0
- package/dist/basic/string/index.d.cts +15 -0
- package/dist/basic/string/index.d.ts +15 -0
- package/dist/basic/string/splitUpper.d.cts +8 -0
- package/dist/basic/string/splitUpper.d.ts +8 -0
- package/dist/basic/string/startsNum.d.cts +9 -0
- package/dist/basic/string/startsNum.d.ts +9 -0
- package/dist/basic/string/toFunction.d.cts +19 -0
- package/dist/basic/string/toFunction.d.ts +19 -0
- package/dist/basic/string/toJson.d.cts +4 -0
- package/dist/basic/string/toJson.d.ts +4 -0
- package/dist/basic/string/toJsons.d.cts +60 -0
- package/dist/basic/string/toJsons.d.ts +60 -0
- package/dist/basic/string/toStringParse.d.cts +6 -0
- package/dist/basic/string/toStringParse.d.ts +6 -0
- package/dist/{chunk-7UVIWZ2J.js → chunk-ATRR4ELS.js} +4 -0
- package/dist/{chunk-QBGA4H7C.js → chunk-AXX6AFYC.js} +1 -1
- package/dist/chunk-NDKOWDDX.cjs +17 -0
- package/dist/{chunk-F4IWIVCD.cjs → chunk-SR4YVP26.cjs} +4 -0
- package/dist/{chunk-4SFMC3WS.cjs → chunk-VT3YWR6G.cjs} +2 -2
- package/dist/chunk-WQ2PUZ2S.js +17 -0
- package/dist/css/fetchUnitValue.d.cts +10 -0
- package/dist/css/fetchUnitValue.d.ts +10 -0
- package/dist/css/getAttrObj.d.cts +11 -0
- package/dist/css/getAttrObj.d.ts +11 -0
- package/dist/css/getCss.d.cts +9 -0
- package/dist/css/getCss.d.ts +9 -0
- package/dist/css/getPositionRelative.d.cts +7 -0
- package/dist/css/getPositionRelative.d.ts +7 -0
- package/dist/css/getPrentClass.d.cts +7 -0
- package/dist/css/getPrentClass.d.ts +7 -0
- package/dist/css/getPrentCorres.d.cts +7 -0
- package/dist/css/getPrentCorres.d.ts +7 -0
- package/dist/css/getSVG.d.cts +14 -0
- package/dist/css/getSVG.d.ts +14 -0
- package/dist/css/getScssImports.d.cts +8 -0
- package/dist/css/getScssImports.d.ts +8 -0
- package/dist/css/index.d.cts +11 -0
- package/dist/css/index.d.ts +11 -0
- package/dist/css/setClassName.d.cts +6 -0
- package/dist/css/setClassName.d.ts +6 -0
- package/dist/css/setCss.d.cts +11 -0
- package/dist/css/setCss.d.ts +11 -0
- package/dist/css/setObjStyle.d.cts +12 -0
- package/dist/css/setObjStyle.d.ts +12 -0
- package/dist/date/format.d.cts +3 -0
- package/dist/date/format.d.ts +3 -0
- package/dist/date/index.d.cts +1 -0
- package/dist/date/index.d.ts +1 -0
- package/dist/dom/getLocus.d.cts +14 -0
- package/dist/dom/getLocus.d.ts +14 -0
- package/dist/dom/getShiftEvent.d.cts +25 -0
- package/dist/dom/getShiftEvent.d.ts +25 -0
- package/dist/dom/index.d.cts +2 -0
- package/dist/dom/index.d.ts +2 -0
- package/dist/html/analysisHtml.d.cts +13 -0
- package/dist/html/analysisHtml.d.ts +13 -0
- package/dist/html/generateHtml.d.cts +5 -0
- package/dist/html/generateHtml.d.ts +5 -0
- package/dist/html/getVueText.d.cts +16 -0
- package/dist/html/getVueText.d.ts +16 -0
- package/dist/html/htmlEscape.d.cts +8 -0
- package/dist/html/htmlEscape.d.ts +8 -0
- package/dist/html/index.d.cts +4 -0
- package/dist/html/index.d.ts +4 -0
- package/dist/index--yFTfMpc.d.cts +29 -0
- package/dist/index-B7gdHwF9.d.cts +40 -0
- package/dist/index-BU0xla6v.d.cts +31 -0
- package/dist/index-BYfEDFkm.d.ts +22 -0
- package/dist/index-BbrWO_KD.d.cts +16 -0
- package/dist/index-BiHaQlE9.d.cts +14 -0
- package/dist/index-Bo-c8HaW.d.cts +9 -0
- package/dist/index-BocAlCa8.d.ts +8 -0
- package/dist/index-Bq6WKjlK.d.ts +29 -0
- package/dist/index-BqhKBGyX.d.ts +14 -0
- package/dist/index-Bta_eezz.d.ts +12 -0
- package/dist/index-C0q7yBX5.d.cts +29 -0
- package/dist/index-C1rfQdS-.d.ts +8 -0
- package/dist/index-CK2c-6vv.d.cts +8 -0
- package/dist/index-CLnASTZ5.d.ts +29 -0
- package/dist/index-CPO1AFVg.d.ts +14 -0
- package/dist/index-CS54GrWo.d.ts +16 -0
- package/dist/index-CdRz4xJD.d.ts +15 -0
- package/dist/index-CmiMKPSL.d.ts +43 -0
- package/dist/index-CnrmwHvE.d.cts +15 -0
- package/dist/index-Cqj4dm5n.d.ts +8 -0
- package/dist/index-CsYVH5m1.d.cts +8 -0
- package/dist/index-D1xTdh0f.d.cts +8 -0
- package/dist/index-D8_Udh46.d.cts +22 -0
- package/dist/index-DAi9PP0w.d.cts +13 -0
- package/dist/index-DE6mtDGJ.d.ts +9 -0
- package/dist/index-DOq59RNr.d.ts +31 -0
- package/dist/index-DPrdy8Ms.d.ts +40 -0
- package/dist/index-DaryquSt.d.cts +43 -0
- package/dist/index-Dvp25i1P.d.cts +10 -0
- package/dist/index-cuR7l2XV.d.cts +14 -0
- package/dist/index-syb18q2f.d.ts +10 -0
- package/dist/index-v-06_rNI.d.cts +12 -0
- package/dist/index-vCPDFXBq.d.ts +13 -0
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +99 -0
- package/dist/index.d.ts +99 -0
- package/dist/index.js +8 -8
- package/dist/iss/index.d.cts +3 -0
- package/dist/iss/index.d.ts +3 -0
- package/dist/judge/index.d.cts +5 -0
- package/dist/judge/index.d.ts +5 -0
- package/dist/judge/judge.d.cts +155 -0
- package/dist/judge/judge.d.ts +155 -0
- package/dist/judge/matchs.d.cts +10 -0
- package/dist/judge/matchs.d.ts +10 -0
- package/dist/judge/matchsEnd.d.cts +9 -0
- package/dist/judge/matchsEnd.d.ts +9 -0
- package/dist/judge/matchsStart.d.cts +9 -0
- package/dist/judge/matchsStart.d.ts +9 -0
- package/dist/judge/matchsWhole.d.cts +9 -0
- package/dist/judge/matchsWhole.d.ts +9 -0
- package/dist/load/getSynch.d.cts +8 -0
- package/dist/load/getSynch.d.ts +8 -0
- package/dist/load/index.d.cts +2 -0
- package/dist/load/index.d.ts +2 -0
- package/dist/load/loadScript.d.cts +3 -0
- package/dist/load/loadScript.d.ts +3 -0
- package/dist/log/index.d.cts +1 -0
- package/dist/log/index.d.ts +1 -0
- package/dist/log/styleLog.d.cts +68 -0
- package/dist/log/styleLog.d.ts +68 -0
- package/dist/name/getComponentNames.d.cts +8 -0
- package/dist/name/getComponentNames.d.ts +8 -0
- package/dist/name/getNames.d.cts +8 -0
- package/dist/name/getNames.d.ts +8 -0
- package/dist/name/humpToLine.d.cts +8 -0
- package/dist/name/humpToLine.d.ts +8 -0
- package/dist/name/index.d.cts +5 -0
- package/dist/name/index.d.ts +5 -0
- package/dist/name/lineToLargeHump.d.cts +8 -0
- package/dist/name/lineToLargeHump.d.ts +8 -0
- package/dist/name/lineToSmallHump.d.cts +8 -0
- package/dist/name/lineToSmallHump.d.ts +8 -0
- package/dist/node/getPort.d.cts +13 -0
- package/dist/node/getPort.d.ts +13 -0
- package/dist/node/index.d.cts +1 -0
- package/dist/node/index.d.ts +1 -0
- package/dist/tree/getTreeObj.d.cts +26 -0
- package/dist/tree/getTreeObj.d.ts +26 -0
- package/dist/tree/index.d.cts +2 -0
- package/dist/tree/index.d.ts +2 -0
- package/dist/tree/splitGroup.d.cts +15 -0
- package/dist/tree/splitGroup.d.ts +15 -0
- package/dist/urls/getImportUrl.d.cts +9 -0
- package/dist/urls/getImportUrl.d.ts +9 -0
- package/dist/urls/getImportUrlSuffix.d.cts +9 -0
- package/dist/urls/getImportUrlSuffix.d.ts +9 -0
- package/dist/urls/getNewFileName.d.cts +8 -0
- package/dist/urls/getNewFileName.d.ts +8 -0
- package/dist/urls/getReplaceCompleteUrl.d.cts +9 -0
- package/dist/urls/getReplaceCompleteUrl.d.ts +9 -0
- package/dist/urls/getReplaceImportUrl.d.cts +9 -0
- package/dist/urls/getReplaceImportUrl.d.ts +9 -0
- package/dist/urls/getReplaceUrl.d.cts +9 -0
- package/dist/urls/getReplaceUrl.d.ts +9 -0
- package/dist/urls/getReplaceUrls.d.cts +9 -0
- package/dist/urls/getReplaceUrls.d.ts +9 -0
- package/dist/urls/getSuffix.d.cts +8 -0
- package/dist/urls/getSuffix.d.ts +8 -0
- package/dist/urls/getUrlCatalogue.d.cts +8 -0
- package/dist/urls/getUrlCatalogue.d.ts +8 -0
- package/dist/urls/getUrlCatalogueLast.d.cts +8 -0
- package/dist/urls/getUrlCatalogueLast.d.ts +8 -0
- package/dist/urls/getUrlCatalogueObj.d.cts +17 -0
- package/dist/urls/getUrlCatalogueObj.d.ts +17 -0
- package/dist/urls/index.d.cts +11 -0
- package/dist/urls/index.d.ts +11 -0
- package/dist/window/copy.d.cts +3 -0
- package/dist/window/copy.d.ts +3 -0
- package/dist/window/getParam.d.cts +9 -0
- package/dist/window/getParam.d.ts +9 -0
- package/dist/window/index.d.cts +2 -0
- package/dist/window/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/chunk-M53E7HJ2.js +0 -0
- package/dist/chunk-UC2AI4QC.cjs +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { fetchUnitValue } from './fetchUnitValue.cjs';
|
|
2
|
+
export { getAttrObj } from './getAttrObj.cjs';
|
|
3
|
+
export { getCss } from './getCss.cjs';
|
|
4
|
+
export { getPositionRelative } from './getPositionRelative.cjs';
|
|
5
|
+
export { getPrentClass } from './getPrentClass.cjs';
|
|
6
|
+
export { getPrentCorres } from './getPrentCorres.cjs';
|
|
7
|
+
export { getSVG } from './getSVG.cjs';
|
|
8
|
+
export { getScssImports } from './getScssImports.cjs';
|
|
9
|
+
export { setClassName } from './setClassName.cjs';
|
|
10
|
+
export { setCss } from './setCss.cjs';
|
|
11
|
+
export { setObjStyle, toStyleString } from './setObjStyle.cjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { fetchUnitValue } from './fetchUnitValue.js';
|
|
2
|
+
export { getAttrObj } from './getAttrObj.js';
|
|
3
|
+
export { getCss } from './getCss.js';
|
|
4
|
+
export { getPositionRelative } from './getPositionRelative.js';
|
|
5
|
+
export { getPrentClass } from './getPrentClass.js';
|
|
6
|
+
export { getPrentCorres } from './getPrentCorres.js';
|
|
7
|
+
export { getSVG } from './getSVG.js';
|
|
8
|
+
export { getScssImports } from './getScssImports.js';
|
|
9
|
+
export { setClassName } from './setClassName.js';
|
|
10
|
+
export { setCss } from './setCss.js';
|
|
11
|
+
export { setObjStyle, toStyleString } from './setObjStyle.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type ObjStrNum = {
|
|
2
|
+
[key: string]: string | number;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* 把对象Style 转字符串
|
|
6
|
+
* @param {*} obj
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
declare function toStyleString(obj: ObjStrNum): string;
|
|
10
|
+
declare function setObjStyle(style: string | ObjStrNum, objColor: ObjStrNum): string | ObjStrNum;
|
|
11
|
+
|
|
12
|
+
export { setObjStyle, toStyleString };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type ObjStrNum = {
|
|
2
|
+
[key: string]: string | number;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* 把对象Style 转字符串
|
|
6
|
+
* @param {*} obj
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
declare function toStyleString(obj: ObjStrNum): string;
|
|
10
|
+
declare function setObjStyle(style: string | ObjStrNum, objColor: ObjStrNum): string | ObjStrNum;
|
|
11
|
+
|
|
12
|
+
export { setObjStyle, toStyleString };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { format } from './format.cjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { format } from './format.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type SeatEvent = MouseEvent | Touch;
|
|
2
|
+
type Type = 'touch' | 'mouse';
|
|
3
|
+
type Callback = (e: SeatEvent, t: Type, te?: TouchEvent) => 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, t?: Type, te?: TouchEvent) => 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 { type SeatEvent, foundEvent, foundEventCallback, pressEvent, shiftEvent };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type SeatEvent = MouseEvent | Touch;
|
|
2
|
+
type Type = 'touch' | 'mouse';
|
|
3
|
+
type Callback = (e: SeatEvent, t: Type, te?: TouchEvent) => 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, t?: Type, te?: TouchEvent) => 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 { type 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,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
|
+
interface VueFileParts {
|
|
2
|
+
template: string;
|
|
3
|
+
scripts: string[];
|
|
4
|
+
styles: string[];
|
|
5
|
+
customBlocks: {
|
|
6
|
+
type: string;
|
|
7
|
+
content: string;
|
|
8
|
+
}[];
|
|
9
|
+
}
|
|
10
|
+
declare function getVueText(content: string): VueFileParts;
|
|
11
|
+
declare function getVueTexts(content: string): {
|
|
12
|
+
script: string;
|
|
13
|
+
style: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { getVueText, getVueTexts };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface VueFileParts {
|
|
2
|
+
template: string;
|
|
3
|
+
scripts: string[];
|
|
4
|
+
styles: string[];
|
|
5
|
+
customBlocks: {
|
|
6
|
+
type: string;
|
|
7
|
+
content: string;
|
|
8
|
+
}[];
|
|
9
|
+
}
|
|
10
|
+
declare function getVueText(content: string): VueFileParts;
|
|
11
|
+
declare function getVueTexts(content: string): {
|
|
12
|
+
script: string;
|
|
13
|
+
style: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { getVueText, getVueTexts };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { getImportUrl } from './urls/getImportUrl.cjs';
|
|
2
|
+
import { getImportUrlSuffix } from './urls/getImportUrlSuffix.cjs';
|
|
3
|
+
import { getNewFileName } from './urls/getNewFileName.cjs';
|
|
4
|
+
import { getReplaceCompleteUrl } from './urls/getReplaceCompleteUrl.cjs';
|
|
5
|
+
import { getReplaceImportUrl } from './urls/getReplaceImportUrl.cjs';
|
|
6
|
+
import { getReplaceUrl } from './urls/getReplaceUrl.cjs';
|
|
7
|
+
import { getReplaceUrls } from './urls/getReplaceUrls.cjs';
|
|
8
|
+
import { getSuffix } from './urls/getSuffix.cjs';
|
|
9
|
+
import { getUrlCatalogue } from './urls/getUrlCatalogue.cjs';
|
|
10
|
+
import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.cjs';
|
|
11
|
+
import { UrlCatalogue, getUrlCatalogueObj } from './urls/getUrlCatalogueObj.cjs';
|
|
12
|
+
|
|
13
|
+
declare const index_UrlCatalogue: typeof UrlCatalogue;
|
|
14
|
+
declare const index_getImportUrl: typeof getImportUrl;
|
|
15
|
+
declare const index_getImportUrlSuffix: typeof getImportUrlSuffix;
|
|
16
|
+
declare const index_getNewFileName: typeof getNewFileName;
|
|
17
|
+
declare const index_getReplaceCompleteUrl: typeof getReplaceCompleteUrl;
|
|
18
|
+
declare const index_getReplaceImportUrl: typeof getReplaceImportUrl;
|
|
19
|
+
declare const index_getReplaceUrl: typeof getReplaceUrl;
|
|
20
|
+
declare const index_getReplaceUrls: typeof getReplaceUrls;
|
|
21
|
+
declare const index_getSuffix: typeof getSuffix;
|
|
22
|
+
declare const index_getUrlCatalogue: typeof getUrlCatalogue;
|
|
23
|
+
declare const index_getUrlCatalogueLast: typeof getUrlCatalogueLast;
|
|
24
|
+
declare const index_getUrlCatalogueObj: typeof getUrlCatalogueObj;
|
|
25
|
+
declare namespace index {
|
|
26
|
+
export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getReplaceUrls as getReplaceUrls, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj };
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { index as i };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { isAlphaNumeric, isBankCode, isCardID, isCnAndEn, isCnAndEnNumeric, isDate, isDateTime, isEmail, isEmpty, isEnNumeric, isFax, isFormatNumber, isMobile, isMoney, isNotEmpty, isNumberFloat, isNumeric, isPhone, isPostalCode, isPwd, isQq, isStrongPwd, isTel, isURL, isWeChat } from './judge/judge.cjs';
|
|
2
|
+
import { matchs } from './judge/matchs.cjs';
|
|
3
|
+
import { matchsEnd } from './judge/matchsEnd.cjs';
|
|
4
|
+
import { matchsStart } from './judge/matchsStart.cjs';
|
|
5
|
+
import { matchsWhole } from './judge/matchsWhole.cjs';
|
|
6
|
+
|
|
7
|
+
declare const index_isAlphaNumeric: typeof isAlphaNumeric;
|
|
8
|
+
declare const index_isBankCode: typeof isBankCode;
|
|
9
|
+
declare const index_isCardID: typeof isCardID;
|
|
10
|
+
declare const index_isCnAndEn: typeof isCnAndEn;
|
|
11
|
+
declare const index_isCnAndEnNumeric: typeof isCnAndEnNumeric;
|
|
12
|
+
declare const index_isDate: typeof isDate;
|
|
13
|
+
declare const index_isDateTime: typeof isDateTime;
|
|
14
|
+
declare const index_isEmail: typeof isEmail;
|
|
15
|
+
declare const index_isEmpty: typeof isEmpty;
|
|
16
|
+
declare const index_isEnNumeric: typeof isEnNumeric;
|
|
17
|
+
declare const index_isFax: typeof isFax;
|
|
18
|
+
declare const index_isFormatNumber: typeof isFormatNumber;
|
|
19
|
+
declare const index_isMobile: typeof isMobile;
|
|
20
|
+
declare const index_isMoney: typeof isMoney;
|
|
21
|
+
declare const index_isNotEmpty: typeof isNotEmpty;
|
|
22
|
+
declare const index_isNumberFloat: typeof isNumberFloat;
|
|
23
|
+
declare const index_isNumeric: typeof isNumeric;
|
|
24
|
+
declare const index_isPhone: typeof isPhone;
|
|
25
|
+
declare const index_isPostalCode: typeof isPostalCode;
|
|
26
|
+
declare const index_isPwd: typeof isPwd;
|
|
27
|
+
declare const index_isQq: typeof isQq;
|
|
28
|
+
declare const index_isStrongPwd: typeof isStrongPwd;
|
|
29
|
+
declare const index_isTel: typeof isTel;
|
|
30
|
+
declare const index_isURL: typeof isURL;
|
|
31
|
+
declare const index_isWeChat: typeof isWeChat;
|
|
32
|
+
declare const index_matchs: typeof matchs;
|
|
33
|
+
declare const index_matchsEnd: typeof matchsEnd;
|
|
34
|
+
declare const index_matchsStart: typeof matchsStart;
|
|
35
|
+
declare const index_matchsWhole: typeof matchsWhole;
|
|
36
|
+
declare namespace index {
|
|
37
|
+
export { index_isAlphaNumeric as isAlphaNumeric, index_isBankCode as isBankCode, index_isCardID as isCardID, index_isCnAndEn as isCnAndEn, index_isCnAndEnNumeric as isCnAndEnNumeric, index_isDate as isDate, index_isDateTime as isDateTime, index_isEmail as isEmail, index_isEmpty as isEmpty, index_isEnNumeric as isEnNumeric, index_isFax as isFax, index_isFormatNumber as isFormatNumber, index_isMobile as isMobile, index_isMoney as isMoney, index_isNotEmpty as isNotEmpty, index_isNumberFloat as isNumberFloat, index_isNumeric as isNumeric, index_isPhone as isPhone, index_isPostalCode as isPostalCode, index_isPwd as isPwd, index_isQq as isQq, index_isStrongPwd as isStrongPwd, index_isTel as isTel, index_isURL as isURL, index_isWeChat as isWeChat, index_matchs as matchs, index_matchsEnd as matchsEnd, index_matchsStart as matchsStart, index_matchsWhole as matchsWhole };
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { index as i };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { attrValueSort } from './basic/object/attrValueSort.cjs';
|
|
2
|
+
import { deepCopy } from './basic/object/deepCopy.cjs';
|
|
3
|
+
import { filterObject } from './basic/object/filterObject.cjs';
|
|
4
|
+
import { getSort } from './basic/object/getSort.cjs';
|
|
5
|
+
import { hasOwn } from './basic/object/hasOwn.cjs';
|
|
6
|
+
import { isObject } from './basic/object/isObject.cjs';
|
|
7
|
+
import { isObjectArray } from './basic/object/isObjectArray.cjs';
|
|
8
|
+
import { mergeObject } from './basic/object/mergeObject.cjs';
|
|
9
|
+
import { getObjValue, setObjValue } from './basic/object/objValue.cjs';
|
|
10
|
+
import { reverseObj } from './basic/object/reverseObj.cjs';
|
|
11
|
+
import { setSort } from './basic/object/setSort.cjs';
|
|
12
|
+
import { unmergeObject } from './basic/object/unmergeObject.cjs';
|
|
13
|
+
|
|
14
|
+
declare const index_attrValueSort: typeof attrValueSort;
|
|
15
|
+
declare const index_deepCopy: typeof deepCopy;
|
|
16
|
+
declare const index_filterObject: typeof filterObject;
|
|
17
|
+
declare const index_getObjValue: typeof getObjValue;
|
|
18
|
+
declare const index_getSort: typeof getSort;
|
|
19
|
+
declare const index_hasOwn: typeof hasOwn;
|
|
20
|
+
declare const index_isObject: typeof isObject;
|
|
21
|
+
declare const index_isObjectArray: typeof isObjectArray;
|
|
22
|
+
declare const index_mergeObject: typeof mergeObject;
|
|
23
|
+
declare const index_reverseObj: typeof reverseObj;
|
|
24
|
+
declare const index_setObjValue: typeof setObjValue;
|
|
25
|
+
declare const index_setSort: typeof setSort;
|
|
26
|
+
declare const index_unmergeObject: typeof unmergeObject;
|
|
27
|
+
declare namespace index {
|
|
28
|
+
export { index_attrValueSort as attrValueSort, index_deepCopy as deepCopy, index_filterObject as filterObject, index_getObjValue as getObjValue, index_getSort as getSort, index_hasOwn as hasOwn, index_isObject as isObject, index_isObjectArray as isObjectArray, index_mergeObject as mergeObject, index_reverseObj as reverseObj, index_setObjValue as setObjValue, index_setSort as setSort, index_unmergeObject as unmergeObject };
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { index as i };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { asyncMergeArray } from './basic/array/asyncMergeArray.js';
|
|
2
|
+
import { compareArray } from './basic/array/compareArray.js';
|
|
3
|
+
import { deleteArray } from './basic/array/deleteArray.js';
|
|
4
|
+
import { duplicateRemoval } from './basic/array/duplicateRemoval.js';
|
|
5
|
+
import { isArray } from './basic/array/isArray.js';
|
|
6
|
+
import { replaceAfter } from './basic/array/replaceAfter.js';
|
|
7
|
+
import { sortObj } from './basic/array/sortObj.js';
|
|
8
|
+
import { toggleArray } from './basic/array/toggleArray.js';
|
|
9
|
+
|
|
10
|
+
declare const index_asyncMergeArray: typeof asyncMergeArray;
|
|
11
|
+
declare const index_compareArray: typeof compareArray;
|
|
12
|
+
declare const index_deleteArray: typeof deleteArray;
|
|
13
|
+
declare const index_duplicateRemoval: typeof duplicateRemoval;
|
|
14
|
+
declare const index_isArray: typeof isArray;
|
|
15
|
+
declare const index_replaceAfter: typeof replaceAfter;
|
|
16
|
+
declare const index_sortObj: typeof sortObj;
|
|
17
|
+
declare const index_toggleArray: typeof toggleArray;
|
|
18
|
+
declare namespace index {
|
|
19
|
+
export { index_asyncMergeArray as asyncMergeArray, index_compareArray as compareArray, index_deleteArray as deleteArray, index_duplicateRemoval as duplicateRemoval, index_isArray as isArray, index_replaceAfter as replaceAfter, index_sortObj as sortObj, index_toggleArray as toggleArray };
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { index as i };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getComponentNames } from './name/getComponentNames.cjs';
|
|
2
|
+
import { getNames } from './name/getNames.cjs';
|
|
3
|
+
import { humpToLine } from './name/humpToLine.cjs';
|
|
4
|
+
import { lineToLargeHump } from './name/lineToLargeHump.cjs';
|
|
5
|
+
import { lineToSmallHump } from './name/lineToSmallHump.cjs';
|
|
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 { index_getComponentNames as getComponentNames, index_getNames as getNames, index_humpToLine as humpToLine, index_lineToLargeHump as lineToLargeHump, index_lineToSmallHump as lineToSmallHump };
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { index as i };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getLocus } from './dom/getLocus.cjs';
|
|
2
|
+
import { SeatEvent, foundEvent, foundEventCallback, pressEvent, shiftEvent } from './dom/getShiftEvent.cjs';
|
|
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 { index_SeatEvent as SeatEvent, index_foundEvent as foundEvent, index_foundEventCallback as foundEventCallback, index_getLocus as getLocus, index_pressEvent as pressEvent, index_shiftEvent as shiftEvent };
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { index as i };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { i as index$1 } from './index-D8_Udh46.cjs';
|
|
2
|
+
import { i as index$2 } from './index-BU0xla6v.cjs';
|
|
3
|
+
import { i as index$3 } from './index-DaryquSt.cjs';
|
|
4
|
+
|
|
5
|
+
declare namespace index {
|
|
6
|
+
export { index$1 as array, index$2 as object, index$3 as string };
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { index as i };
|