@fangzhongya/utils 0.0.8-4 → 0.0.8-40

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.
Files changed (213) hide show
  1. package/dist/basic/array/asyncMergeArray.cjs +2 -2
  2. package/dist/basic/array/asyncMergeArray.d.ts +6 -6
  3. package/dist/basic/array/asyncMergeArray.js +1 -1
  4. package/dist/basic/array/duplicateRemoval.d.ts +6 -6
  5. package/dist/basic/array/index.cjs +6 -6
  6. package/dist/basic/array/index.js +7 -7
  7. package/dist/basic/array/isArray.d.ts +5 -5
  8. package/dist/basic/array/replaceAfter.d.ts +7 -7
  9. package/dist/basic/array/toggleArray.d.ts +7 -7
  10. package/dist/basic/index.cjs +13 -9
  11. package/dist/basic/index.d.ts +9 -5
  12. package/dist/basic/index.js +12 -8
  13. package/dist/basic/object/attrValueSort.cjs +7 -0
  14. package/dist/basic/object/attrValueSort.d.ts +12 -0
  15. package/dist/basic/object/attrValueSort.js +7 -0
  16. package/dist/basic/object/filterObject.cjs +7 -0
  17. package/dist/basic/object/filterObject.d.ts +14 -0
  18. package/dist/basic/object/filterObject.js +7 -0
  19. package/dist/basic/object/hasOwn.cjs +7 -0
  20. package/dist/basic/object/hasOwn.d.ts +9 -0
  21. package/dist/basic/object/hasOwn.js +7 -0
  22. package/dist/basic/object/index.cjs +18 -2
  23. package/dist/basic/object/index.d.ts +4 -0
  24. package/dist/basic/object/index.js +17 -1
  25. package/dist/basic/object/isObject.d.ts +5 -5
  26. package/dist/basic/object/isObjectArray.d.ts +5 -5
  27. package/dist/basic/object/mergeObject.d.ts +8 -8
  28. package/dist/basic/object/setSort.cjs +7 -0
  29. package/dist/basic/object/setSort.d.ts +7 -0
  30. package/dist/basic/object/setSort.js +7 -0
  31. package/dist/basic/object/unmergeObject.d.ts +8 -8
  32. package/dist/basic/string/appearNum.d.ts +6 -6
  33. package/dist/basic/string/appearNumSeat.d.ts +7 -7
  34. package/dist/basic/string/firstLower.d.ts +5 -5
  35. package/dist/basic/string/firstUpper.d.ts +5 -5
  36. package/dist/basic/string/getStartSame.d.ts +6 -6
  37. package/dist/basic/string/getStartSames.d.ts +6 -6
  38. package/dist/basic/string/index.cjs +6 -6
  39. package/dist/basic/string/index.d.ts +3 -3
  40. package/dist/basic/string/index.js +5 -5
  41. package/dist/basic/string/splitUpper.cjs +2 -2
  42. package/dist/basic/string/splitUpper.d.ts +5 -5
  43. package/dist/basic/string/splitUpper.js +1 -1
  44. package/dist/chunk-2OR4FUOA.cjs +47 -0
  45. package/dist/chunk-3IR2ABRO.js +8 -0
  46. package/dist/{chunk-P3HC3D2H.cjs → chunk-4O7YOSS7.cjs} +5 -5
  47. package/dist/chunk-4X7AFGTV.cjs +21 -0
  48. package/dist/chunk-7RDB5KMY.js +79 -0
  49. package/dist/chunk-B4CE4K4W.js +26 -0
  50. package/dist/{chunk-7KXJO4NI.js → chunk-BHZN4K3L.js} +14 -2
  51. package/dist/chunk-D3SX7OUV.cjs +11 -0
  52. package/dist/chunk-E5FTKWGB.js +112 -0
  53. package/dist/{chunk-3NFJ3TZL.js → chunk-E75NHLNL.js} +6 -6
  54. package/dist/chunk-EWXBN4VG.cjs +21 -0
  55. package/dist/chunk-FGQXKLTH.cjs +67 -0
  56. package/dist/chunk-FSQY6A3H.cjs +61 -0
  57. package/dist/chunk-GFAUQTB2.cjs +33 -0
  58. package/dist/chunk-GIAO77MY.js +49 -0
  59. package/dist/chunk-GOUC2DFA.cjs +8 -0
  60. package/dist/chunk-JSWHKRQC.js +20 -0
  61. package/dist/{chunk-JLEIVV37.cjs → chunk-KHGCW3A7.cjs} +7 -7
  62. package/dist/chunk-KQR7FXBF.js +20 -0
  63. package/dist/chunk-L6EZ5APF.cjs +20 -0
  64. package/dist/{chunk-UCZBNN4I.cjs → chunk-L7FSHU27.cjs} +7 -3
  65. package/dist/chunk-LEPZYF2N.cjs +49 -0
  66. package/dist/{chunk-HQFPDOWY.js → chunk-LWHKQ4K2.js} +16 -0
  67. package/dist/chunk-MEMPZX4J.js +61 -0
  68. package/dist/chunk-MGX7U2CG.cjs +20 -0
  69. package/dist/chunk-MH4BDAI6.cjs +79 -0
  70. package/dist/chunk-MQHLAQQA.js +21 -0
  71. package/dist/chunk-N3FZ4WUI.js +16 -0
  72. package/dist/chunk-NCSN3MC5.js +21 -0
  73. package/dist/chunk-ND4NKUAN.cjs +24 -0
  74. package/dist/{chunk-JLGEGDYZ.js → chunk-P2CYIUCC.js} +4 -4
  75. package/dist/{chunk-2W7EPKCY.js → chunk-PVYBDMBK.js} +5 -5
  76. package/dist/chunk-Q63V2U5G.js +47 -0
  77. package/dist/chunk-Q6FMBSK4.js +27 -0
  78. package/dist/chunk-QJVB3JIZ.js +67 -0
  79. package/dist/chunk-QZVMLHFW.cjs +16 -0
  80. package/dist/chunk-RQRBSTSX.cjs +112 -0
  81. package/dist/chunk-S42NGJ5W.js +11 -0
  82. package/dist/chunk-SRMXMAFO.cjs +26 -0
  83. package/dist/{chunk-L6DY4GCH.cjs → chunk-SYXWQKOO.cjs} +5 -5
  84. package/dist/chunk-T4BAVDTH.js +31 -0
  85. package/dist/{chunk-VNVG4BJ4.cjs → chunk-TCMJPIRM.cjs} +16 -12
  86. package/dist/chunk-TE3XNGF4.cjs +16 -0
  87. package/dist/chunk-TOH7JZL5.cjs +36 -0
  88. package/dist/chunk-UFYLVZNU.cjs +31 -0
  89. package/dist/{chunk-O2RP4UZQ.cjs → chunk-UGFSIZ5P.cjs} +2 -23
  90. package/dist/{chunk-5CVTPMX4.js → chunk-USSMLQQB.js} +3 -3
  91. package/dist/{chunk-PB6FN2XC.cjs → chunk-UZGU2YWX.cjs} +16 -0
  92. package/dist/{chunk-FQC2SXR4.cjs → chunk-V3FWFWP2.cjs} +5 -5
  93. package/dist/{chunk-Z6NS6N32.js → chunk-VKE5JARB.js} +7 -3
  94. package/dist/chunk-VY5VQ7WE.cjs +21 -0
  95. package/dist/chunk-WIYZQNGO.js +33 -0
  96. package/dist/{chunk-QKLVFB74.js → chunk-WX3JYE47.js} +2 -23
  97. package/dist/chunk-XUL6LPTN.js +21 -0
  98. package/dist/chunk-Y5WYKSYG.js +16 -0
  99. package/dist/{chunk-NSG7ZMXT.js → chunk-ZQX2TYQB.js} +4 -4
  100. package/dist/css/fetchUnitValue.cjs +2 -2
  101. package/dist/css/fetchUnitValue.d.ts +7 -7
  102. package/dist/css/fetchUnitValue.js +1 -1
  103. package/dist/css/getAttrObj.cjs +7 -0
  104. package/dist/css/getAttrObj.d.ts +11 -0
  105. package/dist/css/getAttrObj.js +7 -0
  106. package/dist/css/getCss.d.ts +7 -1
  107. package/dist/css/getPositionRelative.cjs +8 -0
  108. package/dist/css/getPositionRelative.d.ts +7 -0
  109. package/dist/css/getPositionRelative.js +8 -0
  110. package/dist/css/getSVG.cjs +8 -0
  111. package/dist/css/getSVG.d.ts +14 -0
  112. package/dist/css/getSVG.js +8 -0
  113. package/dist/css/index.cjs +17 -4
  114. package/dist/css/index.d.ts +3 -0
  115. package/dist/css/index.js +16 -3
  116. package/dist/css/setCss.cjs +3 -2
  117. package/dist/css/setCss.d.ts +9 -1
  118. package/dist/css/setCss.js +2 -1
  119. package/dist/dom/getLocus.cjs +7 -0
  120. package/dist/dom/getLocus.d.ts +14 -0
  121. package/dist/dom/getLocus.js +7 -0
  122. package/dist/dom/getShiftEvent.cjs +13 -0
  123. package/dist/dom/getShiftEvent.d.ts +25 -0
  124. package/dist/dom/getShiftEvent.js +13 -0
  125. package/dist/dom/index.cjs +18 -0
  126. package/dist/dom/index.d.ts +2 -0
  127. package/dist/dom/index.js +18 -0
  128. package/dist/html/analysisHtml.cjs +8 -0
  129. package/dist/html/analysisHtml.d.ts +13 -0
  130. package/dist/html/analysisHtml.js +8 -0
  131. package/dist/html/htmlEscape.cjs +7 -0
  132. package/dist/html/htmlEscape.d.ts +8 -0
  133. package/dist/html/htmlEscape.js +7 -0
  134. package/dist/html/index.cjs +13 -0
  135. package/dist/html/index.d.ts +2 -0
  136. package/dist/html/index.js +13 -0
  137. package/dist/index-130ae781.d.ts +10 -0
  138. package/dist/index-5aea66bb.d.ts +21 -0
  139. package/dist/{index-fab49d44.d.ts → index-acc57c4b.d.ts} +12 -0
  140. package/dist/index-ae0241ec.d.ts +13 -0
  141. package/dist/{index-82b62caf.d.ts → index-b5d07d0c.d.ts} +9 -0
  142. package/dist/{index-1626b626.d.ts → index-bb3d187c.d.ts} +2 -2
  143. package/dist/index-bc08cd32.d.ts +14 -0
  144. package/dist/index.cjs +64 -35
  145. package/dist/index.d.ts +32 -15
  146. package/dist/index.js +66 -37
  147. package/dist/judge/index.cjs +6 -6
  148. package/dist/judge/index.js +5 -5
  149. package/dist/judge/matchs.cjs +3 -3
  150. package/dist/judge/matchs.d.ts +7 -7
  151. package/dist/judge/matchs.js +2 -2
  152. package/dist/judge/matchsEnd.d.ts +6 -6
  153. package/dist/judge/matchsStart.d.ts +6 -6
  154. package/dist/judge/matchsWhole.d.ts +6 -6
  155. package/dist/load/getSynch.d.ts +5 -5
  156. package/dist/load/index.cjs +3 -3
  157. package/dist/load/index.js +4 -4
  158. package/dist/log/styleLog.d.ts +65 -65
  159. package/dist/name/getComponentNames.cjs +3 -3
  160. package/dist/name/getComponentNames.d.ts +5 -5
  161. package/dist/name/getComponentNames.js +2 -2
  162. package/dist/name/getNames.cjs +3 -3
  163. package/dist/name/getNames.d.ts +5 -5
  164. package/dist/name/getNames.js +2 -2
  165. package/dist/name/humpToLine.d.ts +5 -5
  166. package/dist/name/index.cjs +7 -7
  167. package/dist/name/index.d.ts +1 -1
  168. package/dist/name/index.js +6 -6
  169. package/dist/name/lineToLargeHump.d.ts +5 -5
  170. package/dist/name/lineToSmallHump.d.ts +5 -5
  171. package/dist/node/getPort.cjs +7 -0
  172. package/dist/node/getPort.d.ts +13 -0
  173. package/dist/node/getPort.js +7 -0
  174. package/dist/node/index.cjs +8 -0
  175. package/dist/node/index.d.ts +1 -0
  176. package/dist/node/index.js +8 -0
  177. package/dist/tree/getTreeObj.cjs +11 -0
  178. package/dist/tree/getTreeObj.d.ts +26 -0
  179. package/dist/tree/getTreeObj.js +11 -0
  180. package/dist/tree/index.cjs +12 -0
  181. package/dist/tree/index.d.ts +1 -0
  182. package/dist/tree/index.js +12 -0
  183. package/dist/urls/getImportUrl.d.ts +6 -6
  184. package/dist/urls/getImportUrlSuffix.d.ts +6 -6
  185. package/dist/urls/getNewFileName.d.ts +5 -5
  186. package/dist/urls/getReplaceImportUrl.d.ts +6 -6
  187. package/dist/urls/getReplaceUrl.d.ts +6 -6
  188. package/dist/urls/getSuffix.d.ts +5 -5
  189. package/dist/urls/getUrlCatalogue.d.ts +5 -5
  190. package/dist/urls/getUrlCatalogueLast.d.ts +5 -5
  191. package/dist/urls/getUrlCatalogueObj.d.ts +14 -14
  192. package/dist/urls/index.cjs +9 -9
  193. package/dist/urls/index.d.ts +1 -1
  194. package/dist/urls/index.js +12 -12
  195. package/package.json +183 -100
  196. package/dist/chunk-36NQW7GX.cjs +0 -24
  197. package/dist/chunk-6WSP6FLZ.cjs +0 -8
  198. package/dist/chunk-7IXRH3MU.js +0 -8
  199. package/dist/chunk-UR7F73LZ.cjs +0 -24
  200. package/dist/chunk-XQB2HUHZ.js +0 -23
  201. package/dist/{chunk-AW3EGUGB.cjs → chunk-AXAVKIR3.cjs} +2 -2
  202. package/dist/{chunk-BWNLZJJG.js → chunk-EJWFLQF3.js} +3 -3
  203. package/dist/{chunk-Y6WJLQX4.js → chunk-HEOIRWEM.js} +11 -11
  204. package/dist/{chunk-PAJDTMC5.cjs → chunk-KRBTSMT2.cjs} +3 -3
  205. package/dist/{chunk-5UV36ZIW.cjs → chunk-O6P3QI3B.cjs} +3 -3
  206. package/dist/{chunk-RAPGCAN7.cjs → chunk-P3477FZW.cjs} +8 -8
  207. package/dist/{chunk-3YUI42XN.cjs → chunk-T22I7TJQ.cjs} +3 -3
  208. package/dist/{chunk-33X65PQS.js → chunk-T2QKEABG.js} +3 -3
  209. package/dist/{chunk-MXLYIZIX.js → chunk-VRRDYCUH.js} +3 -3
  210. package/dist/{chunk-PN4OFZGM.js → chunk-XCTPS2CO.js} +3 -3
  211. package/dist/{index-ea8a32cb.d.ts → index-42672b09.d.ts} +1 -1
  212. package/dist/{index-f9cc2ca2.d.ts → index-a65f6120.d.ts} +1 -1
  213. package/dist/{index-52d58bd9.d.ts → index-eef2a16c.d.ts} +3 -3
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  matchs
3
- } from "./chunk-33X65PQS.js";
4
- import {
5
- matchsWhole
6
- } from "./chunk-IRGCP7KH.js";
3
+ } from "./chunk-T2QKEABG.js";
7
4
  import {
8
5
  matchsEnd
9
6
  } from "./chunk-YNOFNHEK.js";
10
7
  import {
11
8
  matchsStart
12
9
  } from "./chunk-S6JRKYPY.js";
10
+ import {
11
+ matchsWhole
12
+ } from "./chunk-IRGCP7KH.js";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-UICA3PK6.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkO2RP4UZQcjs = require('../chunk-O2RP4UZQ.cjs');
3
+ var _chunkUGFSIZ5Pcjs = require('../chunk-UGFSIZ5P.cjs');
4
4
  require('../chunk-5AZGAKWR.cjs');
5
5
 
6
6
 
7
- exports.fetchUnitValue = _chunkO2RP4UZQcjs.fetchUnitValue;
7
+ exports.fetchUnitValue = _chunkUGFSIZ5Pcjs.fetchUnitValue;
@@ -1,10 +1,10 @@
1
- /**
2
- * 提取单位值
3
- * @param text
4
- * @param str
5
- * @param callback
6
- * @returns
7
- */
1
+ /**
2
+ * 提取单位值
3
+ * @param text
4
+ * @param str
5
+ * @param callback
6
+ * @returns
7
+ */
8
8
  declare function fetchUnitValue(text: string, str: string, callback?: (n: number, dw: string, yss: string, i: number) => string): string;
9
9
 
10
10
  export { fetchUnitValue };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  fetchUnitValue
3
- } from "../chunk-QKLVFB74.js";
3
+ } from "../chunk-WX3JYE47.js";
4
4
  import "../chunk-UICA3PK6.js";
5
5
  export {
6
6
  fetchUnitValue
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkTE3XNGF4cjs = require('../chunk-TE3XNGF4.cjs');
4
+ require('../chunk-5AZGAKWR.cjs');
5
+
6
+
7
+ exports.getAttrObj = _chunkTE3XNGF4cjs.getAttrObj;
@@ -0,0 +1,11 @@
1
+ type ObjStr = {
2
+ [key: string]: string;
3
+ };
4
+ /**
5
+ * 获取属性对象
6
+ * @param str
7
+ * @returns
8
+ */
9
+ declare function getAttrObj(str: string): ObjStr;
10
+
11
+ export { getAttrObj };
@@ -0,0 +1,7 @@
1
+ import {
2
+ getAttrObj
3
+ } from "../chunk-N3FZ4WUI.js";
4
+ import "../chunk-UICA3PK6.js";
5
+ export {
6
+ getAttrObj
7
+ };
@@ -1,3 +1,9 @@
1
- declare function getCss(elem: HTMLDivElement, style: string): any;
1
+ /**
2
+ * 获取对应的属性值
3
+ * @param elem
4
+ * @param style
5
+ * @returns
6
+ */
7
+ declare function getCss(elem: Element, style: string): any;
2
8
 
3
9
  export { getCss };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkVY5VQ7WEcjs = require('../chunk-VY5VQ7WE.cjs');
4
+ require('../chunk-UGS2F6DK.cjs');
5
+ require('../chunk-5AZGAKWR.cjs');
6
+
7
+
8
+ exports.getPositionRelative = _chunkVY5VQ7WEcjs.getPositionRelative;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 获取当前元素上父元素的relative的位置
3
+ * @param el
4
+ */
5
+ declare function getPositionRelative(el: HTMLElement, str?: string): HTMLElement;
6
+
7
+ export { getPositionRelative };
@@ -0,0 +1,8 @@
1
+ import {
2
+ getPositionRelative
3
+ } from "../chunk-MQHLAQQA.js";
4
+ import "../chunk-5RZYHE3X.js";
5
+ import "../chunk-UICA3PK6.js";
6
+ export {
7
+ getPositionRelative
8
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkGFAUQTB2cjs = require('../chunk-GFAUQTB2.cjs');
4
+ require('../chunk-TE3XNGF4.cjs');
5
+ require('../chunk-5AZGAKWR.cjs');
6
+
7
+
8
+ exports.getSVG = _chunkGFAUQTB2cjs.getSVG;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * 通过svg 字符串获取对应数据
3
+ * @param{string} str
4
+ */
5
+ declare function getSVG(str: string): {
6
+ body: string;
7
+ viewBox: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ } | undefined;
13
+
14
+ export { getSVG };
@@ -0,0 +1,8 @@
1
+ import {
2
+ getSVG
3
+ } from "../chunk-WIYZQNGO.js";
4
+ import "../chunk-N3FZ4WUI.js";
5
+ import "../chunk-UICA3PK6.js";
6
+ export {
7
+ getSVG
8
+ };
@@ -1,16 +1,29 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-36NQW7GX.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-TOH7JZL5.cjs');
2
2
 
3
3
 
4
- var _chunkO2RP4UZQcjs = require('../chunk-O2RP4UZQ.cjs');
4
+ var _chunkUGFSIZ5Pcjs = require('../chunk-UGFSIZ5P.cjs');
5
+
6
+
7
+ var _chunkVY5VQ7WEcjs = require('../chunk-VY5VQ7WE.cjs');
5
8
 
6
9
 
7
10
  var _chunkUGS2F6DKcjs = require('../chunk-UGS2F6DK.cjs');
8
11
 
9
12
 
10
- var _chunk6WSP6FLZcjs = require('../chunk-6WSP6FLZ.cjs');
13
+ var _chunkGFAUQTB2cjs = require('../chunk-GFAUQTB2.cjs');
14
+
15
+
16
+ var _chunk4X7AFGTVcjs = require('../chunk-4X7AFGTV.cjs');
17
+ require('../chunk-LTVXRDTD.cjs');
18
+
19
+
20
+ var _chunkTE3XNGF4cjs = require('../chunk-TE3XNGF4.cjs');
11
21
  require('../chunk-5AZGAKWR.cjs');
12
22
 
13
23
 
14
24
 
15
25
 
16
- exports.fetchUnitValue = _chunkO2RP4UZQcjs.fetchUnitValue; exports.getCss = _chunkUGS2F6DKcjs.getCss; exports.setCss = _chunk6WSP6FLZcjs.setCss;
26
+
27
+
28
+
29
+ exports.fetchUnitValue = _chunkUGFSIZ5Pcjs.fetchUnitValue; exports.getAttrObj = _chunkTE3XNGF4cjs.getAttrObj; exports.getCss = _chunkUGS2F6DKcjs.getCss; exports.getPositionRelative = _chunkVY5VQ7WEcjs.getPositionRelative; exports.getSVG = _chunkGFAUQTB2cjs.getSVG; exports.setCss = _chunk4X7AFGTVcjs.setCss;
@@ -1,3 +1,6 @@
1
1
  export { fetchUnitValue } from './fetchUnitValue.js';
2
+ export { getAttrObj } from './getAttrObj.js';
2
3
  export { getCss } from './getCss.js';
4
+ export { getPositionRelative } from './getPositionRelative.js';
5
+ export { getSVG } from './getSVG.js';
3
6
  export { setCss } from './setCss.js';
package/dist/css/index.js CHANGED
@@ -1,16 +1,29 @@
1
- import "../chunk-7KXJO4NI.js";
1
+ import "../chunk-BHZN4K3L.js";
2
2
  import {
3
3
  fetchUnitValue
4
- } from "../chunk-QKLVFB74.js";
4
+ } from "../chunk-WX3JYE47.js";
5
+ import {
6
+ getPositionRelative
7
+ } from "../chunk-MQHLAQQA.js";
5
8
  import {
6
9
  getCss
7
10
  } from "../chunk-5RZYHE3X.js";
11
+ import {
12
+ getSVG
13
+ } from "../chunk-WIYZQNGO.js";
8
14
  import {
9
15
  setCss
10
- } from "../chunk-7IXRH3MU.js";
16
+ } from "../chunk-XUL6LPTN.js";
17
+ import "../chunk-J7CICTHH.js";
18
+ import {
19
+ getAttrObj
20
+ } from "../chunk-N3FZ4WUI.js";
11
21
  import "../chunk-UICA3PK6.js";
12
22
  export {
13
23
  fetchUnitValue,
24
+ getAttrObj,
14
25
  getCss,
26
+ getPositionRelative,
27
+ getSVG,
15
28
  setCss
16
29
  };
@@ -1,7 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk6WSP6FLZcjs = require('../chunk-6WSP6FLZ.cjs');
3
+ var _chunk4X7AFGTVcjs = require('../chunk-4X7AFGTV.cjs');
4
+ require('../chunk-LTVXRDTD.cjs');
4
5
  require('../chunk-5AZGAKWR.cjs');
5
6
 
6
7
 
7
- exports.setCss = _chunk6WSP6FLZcjs.setCss;
8
+ exports.setCss = _chunk4X7AFGTVcjs.setCss;
@@ -1,3 +1,11 @@
1
- declare function setCss(elem: HTMLDivElement, style: string, value: string): void;
1
+ /**
2
+ * 设置样式
3
+ * @param elem
4
+ * @param style
5
+ * @param value
6
+ */
7
+ declare function setCss(elem: HTMLElement, style: string | {
8
+ [key: string]: string;
9
+ }, value?: string): void;
2
10
 
3
11
  export { setCss };
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  setCss
3
- } from "../chunk-7IXRH3MU.js";
3
+ } from "../chunk-XUL6LPTN.js";
4
+ import "../chunk-J7CICTHH.js";
4
5
  import "../chunk-UICA3PK6.js";
5
6
  export {
6
7
  setCss
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk2OR4FUOAcjs = require('../chunk-2OR4FUOA.cjs');
4
+ require('../chunk-5AZGAKWR.cjs');
5
+
6
+
7
+ exports.getLocus = _chunk2OR4FUOAcjs.getLocus;
@@ -0,0 +1,14 @@
1
+ type SeatEvent = MouseEvent | Touch;
2
+ /**
3
+ * 计算方向
4
+ * @param ks
5
+ * @param js
6
+ * @returns
7
+ */
8
+ declare function getLocus(ks: SeatEvent, js: SeatEvent): {
9
+ x: number;
10
+ y: number;
11
+ t: number;
12
+ };
13
+
14
+ export { getLocus };
@@ -0,0 +1,7 @@
1
+ import {
2
+ getLocus
3
+ } from "../chunk-Q63V2U5G.js";
4
+ import "../chunk-UICA3PK6.js";
5
+ export {
6
+ getLocus
7
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkRQRBSTSXcjs = require('../chunk-RQRBSTSX.cjs');
7
+ require('../chunk-5AZGAKWR.cjs');
8
+
9
+
10
+
11
+
12
+
13
+ exports.foundEvent = _chunkRQRBSTSXcjs.foundEvent; exports.foundEventCallback = _chunkRQRBSTSXcjs.foundEventCallback; exports.pressEvent = _chunkRQRBSTSXcjs.pressEvent; exports.shiftEvent = _chunkRQRBSTSXcjs.shiftEvent;
@@ -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
+ import {
2
+ foundEvent,
3
+ foundEventCallback,
4
+ pressEvent,
5
+ shiftEvent
6
+ } from "../chunk-E5FTKWGB.js";
7
+ import "../chunk-UICA3PK6.js";
8
+ export {
9
+ foundEvent,
10
+ foundEventCallback,
11
+ pressEvent,
12
+ shiftEvent
13
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-SRMXMAFO.cjs');
2
+
3
+
4
+ var _chunk2OR4FUOAcjs = require('../chunk-2OR4FUOA.cjs');
5
+
6
+
7
+
8
+
9
+
10
+ var _chunkRQRBSTSXcjs = require('../chunk-RQRBSTSX.cjs');
11
+ require('../chunk-5AZGAKWR.cjs');
12
+
13
+
14
+
15
+
16
+
17
+
18
+ exports.foundEvent = _chunkRQRBSTSXcjs.foundEvent; exports.foundEventCallback = _chunkRQRBSTSXcjs.foundEventCallback; exports.getLocus = _chunk2OR4FUOAcjs.getLocus; exports.pressEvent = _chunkRQRBSTSXcjs.pressEvent; exports.shiftEvent = _chunkRQRBSTSXcjs.shiftEvent;
@@ -0,0 +1,2 @@
1
+ export { getLocus } from './getLocus.js';
2
+ export { SeatEvent, foundEvent, foundEventCallback, pressEvent, shiftEvent } from './getShiftEvent.js';
@@ -0,0 +1,18 @@
1
+ import "../chunk-B4CE4K4W.js";
2
+ import {
3
+ getLocus
4
+ } from "../chunk-Q63V2U5G.js";
5
+ import {
6
+ foundEvent,
7
+ foundEventCallback,
8
+ pressEvent,
9
+ shiftEvent
10
+ } from "../chunk-E5FTKWGB.js";
11
+ import "../chunk-UICA3PK6.js";
12
+ export {
13
+ foundEvent,
14
+ foundEventCallback,
15
+ getLocus,
16
+ pressEvent,
17
+ shiftEvent
18
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkLEPZYF2Ncjs = require('../chunk-LEPZYF2N.cjs');
4
+ require('../chunk-TE3XNGF4.cjs');
5
+ require('../chunk-5AZGAKWR.cjs');
6
+
7
+
8
+ exports.analysisHtml = _chunkLEPZYF2Ncjs.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,8 @@
1
+ import {
2
+ analysisHtml
3
+ } from "../chunk-GIAO77MY.js";
4
+ import "../chunk-N3FZ4WUI.js";
5
+ import "../chunk-UICA3PK6.js";
6
+ export {
7
+ analysisHtml
8
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkEWXBN4VGcjs = require('../chunk-EWXBN4VG.cjs');
4
+ require('../chunk-5AZGAKWR.cjs');
5
+
6
+
7
+ exports.htmlEscape = _chunkEWXBN4VGcjs.htmlEscape;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 格式html字符串
3
+ * @param str
4
+ * @returns
5
+ */
6
+ declare function htmlEscape(str: string): string;
7
+
8
+ export { htmlEscape };
@@ -0,0 +1,7 @@
1
+ import {
2
+ htmlEscape
3
+ } from "../chunk-NCSN3MC5.js";
4
+ import "../chunk-UICA3PK6.js";
5
+ export {
6
+ htmlEscape
7
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-MGX7U2CG.cjs');
2
+
3
+
4
+ var _chunkLEPZYF2Ncjs = require('../chunk-LEPZYF2N.cjs');
5
+ require('../chunk-TE3XNGF4.cjs');
6
+
7
+
8
+ var _chunkEWXBN4VGcjs = require('../chunk-EWXBN4VG.cjs');
9
+ require('../chunk-5AZGAKWR.cjs');
10
+
11
+
12
+
13
+ exports.analysisHtml = _chunkLEPZYF2Ncjs.analysisHtml; exports.htmlEscape = _chunkEWXBN4VGcjs.htmlEscape;
@@ -0,0 +1,2 @@
1
+ export { analysisHtml } from './analysisHtml.js';
2
+ export { htmlEscape } from './htmlEscape.js';
@@ -0,0 +1,13 @@
1
+ import "../chunk-KQR7FXBF.js";
2
+ import {
3
+ analysisHtml
4
+ } from "../chunk-GIAO77MY.js";
5
+ import "../chunk-N3FZ4WUI.js";
6
+ import {
7
+ htmlEscape
8
+ } from "../chunk-NCSN3MC5.js";
9
+ import "../chunk-UICA3PK6.js";
10
+ export {
11
+ analysisHtml,
12
+ htmlEscape
13
+ };
@@ -0,0 +1,10 @@
1
+ import { getPort } from './node/getPort.js';
2
+
3
+ declare const index_getPort: typeof getPort;
4
+ declare namespace index {
5
+ export {
6
+ index_getPort as getPort,
7
+ };
8
+ }
9
+
10
+ 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 };
@@ -1,17 +1,29 @@
1
+ import { attrValueSort } from './basic/object/attrValueSort.js';
2
+ import { filterObject } from './basic/object/filterObject.js';
3
+ import { hasOwn } from './basic/object/hasOwn.js';
1
4
  import { isObject } from './basic/object/isObject.js';
2
5
  import { isObjectArray } from './basic/object/isObjectArray.js';
3
6
  import { mergeObject } from './basic/object/mergeObject.js';
7
+ import { setSort } from './basic/object/setSort.js';
4
8
  import { unmergeObject } from './basic/object/unmergeObject.js';
5
9
 
10
+ declare const index_attrValueSort: typeof attrValueSort;
11
+ declare const index_filterObject: typeof filterObject;
12
+ declare const index_hasOwn: typeof hasOwn;
6
13
  declare const index_isObject: typeof isObject;
7
14
  declare const index_isObjectArray: typeof isObjectArray;
8
15
  declare const index_mergeObject: typeof mergeObject;
16
+ declare const index_setSort: typeof setSort;
9
17
  declare const index_unmergeObject: typeof unmergeObject;
10
18
  declare namespace index {
11
19
  export {
20
+ index_attrValueSort as attrValueSort,
21
+ index_filterObject as filterObject,
22
+ index_hasOwn as hasOwn,
12
23
  index_isObject as isObject,
13
24
  index_isObjectArray as isObjectArray,
14
25
  index_mergeObject as mergeObject,
26
+ index_setSort as setSort,
15
27
  index_unmergeObject as unmergeObject,
16
28
  };
17
29
  }
@@ -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 };
@@ -1,14 +1,23 @@
1
1
  import { fetchUnitValue } from './css/fetchUnitValue.js';
2
+ import { getAttrObj } from './css/getAttrObj.js';
2
3
  import { getCss } from './css/getCss.js';
4
+ import { getPositionRelative } from './css/getPositionRelative.js';
5
+ import { getSVG } from './css/getSVG.js';
3
6
  import { setCss } from './css/setCss.js';
4
7
 
5
8
  declare const index_fetchUnitValue: typeof fetchUnitValue;
9
+ declare const index_getAttrObj: typeof getAttrObj;
6
10
  declare const index_getCss: typeof getCss;
11
+ declare const index_getPositionRelative: typeof getPositionRelative;
12
+ declare const index_getSVG: typeof getSVG;
7
13
  declare const index_setCss: typeof setCss;
8
14
  declare namespace index {
9
15
  export {
10
16
  index_fetchUnitValue as fetchUnitValue,
17
+ index_getAttrObj as getAttrObj,
11
18
  index_getCss as getCss,
19
+ index_getPositionRelative as getPositionRelative,
20
+ index_getSVG as getSVG,
12
21
  index_setCss as setCss,
13
22
  };
14
23
  }
@@ -1,6 +1,6 @@
1
1
  import { i as index$1 } from './index-b16b81dc.js';
2
- import { i as index$2 } from './index-fab49d44.js';
3
- import { i as index$3 } from './index-52d58bd9.js';
2
+ import { i as index$2 } from './index-acc57c4b.js';
3
+ import { i as index$3 } from './index-eef2a16c.js';
4
4
 
5
5
  declare namespace index {
6
6
  export {
@@ -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 };