wsemi 1.7.21 → 1.7.22

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 (396) hide show
  1. package/README.md +1 -1
  2. package/dist/wsemi.umd.js +3 -3
  3. package/dist/wsemi.umd.js.map +1 -1
  4. package/docs/-_class.mjs.html +1 -1
  5. package/docs/ab2blob.mjs.html +1 -1
  6. package/docs/ab2u8arr.mjs.html +1 -1
  7. package/docs/addExcelWorksheetFromData.mjs.html +1 -1
  8. package/docs/addMonth.mjs.html +1 -1
  9. package/docs/aes2str.mjs.html +1 -1
  10. package/docs/alive.mjs.html +1 -1
  11. package/docs/arr2dt.mjs.html +1 -1
  12. package/docs/arrAccum.mjs.html +1 -1
  13. package/docs/arrAdd.mjs.html +1 -1
  14. package/docs/arrAt.mjs.html +1 -1
  15. package/docs/arrDiff.mjs.html +1 -1
  16. package/docs/arrFilterByKeywords.mjs.html +1 -1
  17. package/docs/arrFilterByNum.mjs.html +1 -1
  18. package/docs/arrFilterByPnum.mjs.html +1 -1
  19. package/docs/arrFilterByPnumAndToLog.mjs.html +1 -1
  20. package/docs/arrFind.mjs.html +1 -1
  21. package/docs/arrGroupByMaxmin.mjs.html +1 -1
  22. package/docs/arrHas.mjs.html +1 -1
  23. package/docs/arrInsert.mjs.html +1 -1
  24. package/docs/arrLookupByMaxmin.mjs.html +1 -1
  25. package/docs/arrMax.mjs.html +1 -1
  26. package/docs/arrMin.mjs.html +1 -1
  27. package/docs/arrMulti.mjs.html +1 -1
  28. package/docs/arrNorm.mjs.html +1 -1
  29. package/docs/arrProduct.mjs.html +1 -1
  30. package/docs/arrReduce.mjs.html +1 -1
  31. package/docs/arrSep.mjs.html +1 -1
  32. package/docs/arrSort.mjs.html +1 -1
  33. package/docs/asind.mjs.html +1 -1
  34. package/docs/atan2d.mjs.html +1 -1
  35. package/docs/atand.mjs.html +1 -1
  36. package/docs/attstr.mjs.html +392 -331
  37. package/docs/b642obj.mjs.html +1 -1
  38. package/docs/b642str.mjs.html +1 -1
  39. package/docs/b642u16arr.mjs.html +1 -1
  40. package/docs/b642u8arr.mjs.html +1 -1
  41. package/docs/binstr.mjs.html +1 -1
  42. package/docs/blob2ab.mjs.html +1 -1
  43. package/docs/blob2b64.mjs.html +1 -1
  44. package/docs/blob2str.mjs.html +1 -1
  45. package/docs/blob2u8arr.mjs.html +1 -1
  46. package/docs/blobs2b64s.mjs.html +1 -1
  47. package/docs/blobs2u8arrs.mjs.html +1 -1
  48. package/docs/bodyLog.mjs.html +1 -1
  49. package/docs/browserView.mjs.html +1 -1
  50. package/docs/browserViewFromBlob.mjs.html +1 -1
  51. package/docs/browserViewFromText.mjs.html +1 -1
  52. package/docs/browserViewFromU8arr.mjs.html +1 -1
  53. package/docs/bs2u8arr.mjs.html +1 -1
  54. package/docs/bufRead.mjs.html +1 -1
  55. package/docs/bufReadDbl.mjs.html +1 -1
  56. package/docs/bufWrite.mjs.html +1 -1
  57. package/docs/bufWriteDbl.mjs.html +1 -1
  58. package/docs/cache.mjs.html +1 -1
  59. package/docs/cbol.mjs.html +1 -1
  60. package/docs/cdbl.mjs.html +1 -1
  61. package/docs/cfilesize.mjs.html +1 -1
  62. package/docs/cfinancial.mjs.html +1 -1
  63. package/docs/cint.mjs.html +1 -1
  64. package/docs/clearXSS.mjs.html +1 -1
  65. package/docs/color.mjs.html +1 -1
  66. package/docs/composeToTree.mjs.html +1 -1
  67. package/docs/convertToTree.mjs.html +1 -1
  68. package/docs/copyStrToClipboard.mjs.html +1 -1
  69. package/docs/cosd.mjs.html +1 -1
  70. package/docs/cotd.mjs.html +1 -1
  71. package/docs/createExcelWorkbook.mjs.html +1 -1
  72. package/docs/cscd.mjs.html +1 -1
  73. package/docs/cstr.mjs.html +1 -1
  74. package/docs/day2cht.mjs.html +1 -1
  75. package/docs/debounce.mjs.html +1 -1
  76. package/docs/delay.mjs.html +1 -1
  77. package/docs/dig.mjs.html +1 -1
  78. package/docs/digExp.mjs.html +1 -1
  79. package/docs/domAlert.mjs.html +1 -1
  80. package/docs/domAppend.mjs.html +1 -1
  81. package/docs/domCancelEvent.mjs.html +1 -1
  82. package/docs/domCompareText.mjs.html +1 -1
  83. package/docs/domCompareTextDyn.mjs.html +1 -1
  84. package/docs/domConvertToPic.mjs.html +1 -1
  85. package/docs/domConvertToPicDyn.mjs.html +1 -1
  86. package/docs/domDetect.mjs.html +1 -1
  87. package/docs/domDrag.mjs.html +1 -1
  88. package/docs/domDragBarAndScroll.mjs.html +1 -1
  89. package/docs/domDragPreview.mjs.html +1 -1
  90. package/docs/domDropFiles.mjs.html +1 -1
  91. package/docs/domElementsFromPoint.mjs.html +1 -1
  92. package/docs/domFadeIn.mjs.html +1 -1
  93. package/docs/domFadeOut.mjs.html +1 -1
  94. package/docs/domFind.mjs.html +1 -1
  95. package/docs/domFinds.mjs.html +1 -1
  96. package/docs/domGetAttr.mjs.html +1 -1
  97. package/docs/domGetBoudRect.mjs.html +1 -1
  98. package/docs/domGetBoudRectRefSelf.mjs.html +1 -1
  99. package/docs/domGetFileAccept.mjs.html +1 -1
  100. package/docs/domGetFiles.mjs.html +1 -1
  101. package/docs/domGetParents.mjs.html +1 -1
  102. package/docs/domGetPointFromEvent.mjs.html +1 -1
  103. package/docs/domGetScrollableParent.mjs.html +1 -1
  104. package/docs/domGetWindowSize.mjs.html +1 -1
  105. package/docs/domIsClientXYIn.mjs.html +1 -1
  106. package/docs/domIsFocused.mjs.html +1 -1
  107. package/docs/domIsVisible.mjs.html +1 -1
  108. package/docs/domPrepend.mjs.html +1 -1
  109. package/docs/domRemove.mjs.html +1 -1
  110. package/docs/domRenderMarkdownMind.mjs.html +1 -1
  111. package/docs/domRenderMarkdownMindDyn.mjs.html +1 -1
  112. package/docs/domRipple.mjs.html +1 -1
  113. package/docs/domScrollIntoView.mjs.html +1 -1
  114. package/docs/domScrollTo.mjs.html +1 -1
  115. package/docs/domShowImages.mjs.html +1 -1
  116. package/docs/domShowImagesDyn.mjs.html +1 -1
  117. package/docs/domShowInputAndGetFiles.mjs.html +1 -1
  118. package/docs/domShowInputAndGetFilesU8Arrs.mjs.html +1 -1
  119. package/docs/domTooltip.mjs.html +1 -1
  120. package/docs/domTriggerEvent.mjs.html +1 -1
  121. package/docs/domVirtualCreate.mjs.html +1 -1
  122. package/docs/domVirtualCreateQueue.mjs.html +1 -1
  123. package/docs/downloadExcelFileFromData.mjs.html +1 -1
  124. package/docs/downloadExcelFileFromDataDyn.mjs.html +1 -1
  125. package/docs/downloadFileFromB64.mjs.html +1 -1
  126. package/docs/downloadFileFromBlob.mjs.html +1 -1
  127. package/docs/downloadFileFromText.mjs.html +1 -1
  128. package/docs/downloadFileFromU8Arr.mjs.html +1 -1
  129. package/docs/dtmapping.mjs.html +1 -1
  130. package/docs/dtpick.mjs.html +1 -1
  131. package/docs/evem.mjs.html +1 -1
  132. package/docs/examples/ex-blob2b64.html +1 -1
  133. package/docs/examples/ex-clearXSS.html +1 -1
  134. package/docs/examples/ex-colorConverter.html +1 -1
  135. package/docs/examples/ex-cryptojs.html +1 -1
  136. package/docs/examples/ex-dayjs.html +1 -1
  137. package/docs/examples/ex-domCompareText.html +1 -1
  138. package/docs/examples/ex-domCompareTextDyn.html +1 -1
  139. package/docs/examples/ex-domConvertToPic.html +1 -1
  140. package/docs/examples/ex-domConvertToPicDyn.html +1 -1
  141. package/docs/examples/ex-domDrag.html +1 -1
  142. package/docs/examples/ex-domDropFiles.html +1 -1
  143. package/docs/examples/ex-domIsVisible.html +1 -1
  144. package/docs/examples/ex-domRenderMarkdownMind.html +1 -1
  145. package/docs/examples/ex-domRenderMarkdownMindDyn.html +1 -1
  146. package/docs/examples/ex-domRipple.html +1 -1
  147. package/docs/examples/ex-domScrollIntoView.html +1 -1
  148. package/docs/examples/ex-domScrollTo.html +1 -1
  149. package/docs/examples/ex-domShowImages.html +1 -1
  150. package/docs/examples/ex-domShowImagesDyn.html +1 -1
  151. package/docs/examples/ex-domShowInputAndGetFiles.html +1 -1
  152. package/docs/examples/ex-domTooltip.html +1 -1
  153. package/docs/examples/ex-getUserAgent.html +1 -1
  154. package/docs/examples/ex-getUserAgentDyn.html +1 -1
  155. package/docs/examples/ex-html2pic.html +1 -1
  156. package/docs/examples/ex-html2picDyn.html +1 -1
  157. package/docs/examples/ex-html2str.html +1 -1
  158. package/docs/examples/ex-html2strDyn.html +1 -1
  159. package/docs/examples/ex-lodash.html +1 -1
  160. package/docs/examples/ex-obj2u8arr-u8arr2obj.html +1 -1
  161. package/docs/examples/ex-ocr.html +1 -1
  162. package/docs/examples/ex-ocrDyn.html +1 -1
  163. package/docs/examples/ex-openLink.html +1 -1
  164. package/docs/examples/ex-strFindFuzz.html +1 -1
  165. package/docs/examples/ex-strFindFuzzDyn.html +1 -1
  166. package/docs/examples/ex-timeTZ2expire-timeTZ2past.html +1 -1
  167. package/docs/examples/ex-xlsx.html +1 -1
  168. package/docs/examples/ex-xlsxDyn.html +1 -1
  169. package/docs/execProcess.mjs.html +1 -1
  170. package/docs/execScript.mjs.html +1 -1
  171. package/docs/f2c.mjs.html +1 -1
  172. package/docs/filepathToTree.mjs.html +1 -1
  173. package/docs/files2data.mjs.html +1 -1
  174. package/docs/flattenToConn.mjs.html +1 -1
  175. package/docs/flattenTree.mjs.html +1 -1
  176. package/docs/fsCleanFolder.mjs.html +1 -1
  177. package/docs/fsCopyFolder.mjs.html +1 -1
  178. package/docs/fsCreateFile.mjs.html +1 -1
  179. package/docs/fsCreateFolder.mjs.html +1 -1
  180. package/docs/fsDeleteFile.mjs.html +1 -1
  181. package/docs/fsDeleteFolder.mjs.html +1 -1
  182. package/docs/fsEvem.mjs.html +1 -1
  183. package/docs/fsGetFilesInFolder.mjs.html +1 -1
  184. package/docs/fsGetFoldersInFolder.mjs.html +1 -1
  185. package/docs/fsIsFile.mjs.html +1 -1
  186. package/docs/fsIsFolder.mjs.html +1 -1
  187. package/docs/fsReadText.mjs.html +1 -1
  188. package/docs/fsRenameFile.mjs.html +1 -1
  189. package/docs/fsRenameFolder.mjs.html +1 -1
  190. package/docs/fsTreeFolder.mjs.html +1 -1
  191. package/docs/fsWatchFile.mjs.html +1 -1
  192. package/docs/fsWriteText.mjs.html +1 -1
  193. package/docs/genGradientColor.mjs.html +1 -1
  194. package/docs/genID.mjs.html +1 -1
  195. package/docs/genPm.mjs.html +1 -1
  196. package/docs/getBufferSize.mjs.html +1 -1
  197. package/docs/getClearPathName.mjs.html +1 -1
  198. package/docs/getCsvStrFromData.mjs.html +1 -1
  199. package/docs/getDataFromExcelFileU8Arr.mjs.html +1 -1
  200. package/docs/getDataFromExcelFileU8ArrDyn.mjs.html +1 -1
  201. package/docs/getDirName.mjs.html +1 -1
  202. package/docs/getEnv.mjs.html +1 -1
  203. package/docs/getExcelU8ArrFromData.mjs.html +1 -1
  204. package/docs/getExcelU8ArrFromWorkbook.mjs.html +1 -1
  205. package/docs/getExcelWorkbookFromData.mjs.html +1 -1
  206. package/docs/getExcelWorkbookFromWorksheet.mjs.html +1 -1
  207. package/docs/getExcelWorksheetFromData.mjs.html +1 -1
  208. package/docs/getFileAccept.mjs.html +1 -1
  209. package/docs/getFileName.mjs.html +1 -1
  210. package/docs/getFileTrueName.mjs.html +1 -1
  211. package/docs/getGlobal.mjs.html +1 -1
  212. package/docs/getObjSize.mjs.html +1 -1
  213. package/docs/getTimeBetween.mjs.html +1 -1
  214. package/docs/getTimeFromUnit.mjs.html +1 -1
  215. package/docs/getTimeObject.mjs.html +1 -1
  216. package/docs/getTimeRange.mjs.html +1 -1
  217. package/docs/getUserAgent.mjs.html +1 -1
  218. package/docs/getUserAgentDyn.mjs.html +1 -1
  219. package/docs/getltdtkeys.mjs.html +1 -1
  220. package/docs/haskey.mjs.html +1 -1
  221. package/docs/html2pic.mjs.html +1 -1
  222. package/docs/html2picDyn.mjs.html +1 -1
  223. package/docs/html2str.mjs.html +1 -1
  224. package/docs/html2strDyn.mjs.html +1 -1
  225. package/docs/htmlDecode.mjs.html +1 -1
  226. package/docs/htmlEncode.mjs.html +1 -1
  227. package/docs/importResources.mjs.html +1 -1
  228. package/docs/index.html +1 -1
  229. package/docs/interp1.mjs.html +1 -1
  230. package/docs/isDev.mjs.html +1 -1
  231. package/docs/isEle.mjs.html +1 -1
  232. package/docs/isEleExistByID.mjs.html +1 -1
  233. package/docs/isEmail.mjs.html +1 -1
  234. package/docs/isIE.mjs.html +1 -1
  235. package/docs/isNarrow.mjs.html +1 -1
  236. package/docs/isStrHasCapital.mjs.html +1 -1
  237. package/docs/isStrHasLowerCase.mjs.html +1 -1
  238. package/docs/isStrHasNumber.mjs.html +1 -1
  239. package/docs/isUserIdentify.mjs.html +1 -1
  240. package/docs/isUserName.mjs.html +1 -1
  241. package/docs/isUserPW.mjs.html +1 -1
  242. package/docs/isWindow.mjs.html +1 -1
  243. package/docs/isab.mjs.html +1 -1
  244. package/docs/isarr.mjs.html +1 -1
  245. package/docs/isarr0.mjs.html +1 -1
  246. package/docs/isblob.mjs.html +1 -1
  247. package/docs/isbol.mjs.html +1 -1
  248. package/docs/isday.mjs.html +1 -1
  249. package/docs/isearr.mjs.html +1 -1
  250. package/docs/iseobj.mjs.html +1 -1
  251. package/docs/iser.mjs.html +1 -1
  252. package/docs/isernot.mjs.html +1 -1
  253. package/docs/isestr.mjs.html +1 -1
  254. package/docs/isfun.mjs.html +1 -1
  255. package/docs/isint.mjs.html +1 -1
  256. package/docs/ismonth.mjs.html +1 -1
  257. package/docs/isn0int.mjs.html +1 -1
  258. package/docs/isn0num.mjs.html +1 -1
  259. package/docs/isnbr.mjs.html +1 -1
  260. package/docs/isnint.mjs.html +1 -1
  261. package/docs/isnnum.mjs.html +1 -1
  262. package/docs/isnull.mjs.html +1 -1
  263. package/docs/isnum.mjs.html +1 -1
  264. package/docs/isobj.mjs.html +1 -1
  265. package/docs/isobj0.mjs.html +1 -1
  266. package/docs/isp0int.mjs.html +1 -1
  267. package/docs/isp0num.mjs.html +1 -1
  268. package/docs/ispint.mjs.html +1 -1
  269. package/docs/ispm.mjs.html +1 -1
  270. package/docs/ispnum.mjs.html +1 -1
  271. package/docs/isstr.mjs.html +1 -1
  272. package/docs/isstr0.mjs.html +1 -1
  273. package/docs/istime.mjs.html +1 -1
  274. package/docs/istimeTZ.mjs.html +1 -1
  275. package/docs/istimems.mjs.html +1 -1
  276. package/docs/istimemsTZ.mjs.html +1 -1
  277. package/docs/isu16arr.mjs.html +1 -1
  278. package/docs/isu8arr.mjs.html +1 -1
  279. package/docs/isundefined.mjs.html +1 -1
  280. package/docs/j2o.mjs.html +1 -1
  281. package/docs/keysmat2ltdt.mjs.html +1 -1
  282. package/docs/log.mjs.html +1 -1
  283. package/docs/ltdt2vrtsable.mjs.html +1 -1
  284. package/docs/ltdtDiff.mjs.html +1 -1
  285. package/docs/ltdtDiffByKey.mjs.html +1 -1
  286. package/docs/ltdtkeys2mat.mjs.html +1 -1
  287. package/docs/ltdtkeysheads2mat.mjs.html +1 -1
  288. package/docs/ltdtmapping.mjs.html +1 -1
  289. package/docs/ltdtmerge.mjs.html +1 -1
  290. package/docs/ltdtpick.mjs.html +1 -1
  291. package/docs/ltdtpull.mjs.html +1 -1
  292. package/docs/mat2ltdt.mjs.html +1 -1
  293. package/docs/matConcat.mjs.html +1 -1
  294. package/docs/matDiff.mjs.html +1 -1
  295. package/docs/matat.mjs.html +1 -1
  296. package/docs/now2str.mjs.html +1 -1
  297. package/docs/now2strp.mjs.html +1 -1
  298. package/docs/nowDay2str.mjs.html +1 -1
  299. package/docs/nowms2str.mjs.html +1 -1
  300. package/docs/nowms2strp.mjs.html +1 -1
  301. package/docs/o2j.mjs.html +1 -1
  302. package/docs/obj2b64.mjs.html +1 -1
  303. package/docs/obj2pb64.mjs.html +1 -1
  304. package/docs/obj2str.mjs.html +1 -1
  305. package/docs/obj2stru8arr.mjs.html +1 -1
  306. package/docs/obj2u8arr.mjs.html +1 -1
  307. package/docs/objSortBy.mjs.html +1 -1
  308. package/docs/objSortByKeys.mjs.html +1 -1
  309. package/docs/ocr.mjs.html +1 -1
  310. package/docs/ocrDyn.mjs.html +1 -1
  311. package/docs/oo.mjs.html +1 -1
  312. package/docs/openLink.mjs.html +1 -1
  313. package/docs/pb642obj.mjs.html +1 -1
  314. package/docs/pmChain.mjs.html +1 -1
  315. package/docs/pmConvertResolve.mjs.html +1 -1
  316. package/docs/pmHook.mjs.html +1 -1
  317. package/docs/pmHookReject.mjs.html +1 -1
  318. package/docs/pmIni.mjs.html +1 -1
  319. package/docs/pmInvResolve.mjs.html +1 -1
  320. package/docs/pmMap.mjs.html +1 -1
  321. package/docs/pmQueue.mjs.html +1 -1
  322. package/docs/pmSeries.mjs.html +1 -1
  323. package/docs/pmThrottle.mjs.html +1 -1
  324. package/docs/pseudoRandom.mjs.html +1 -1
  325. package/docs/pseudoRandomIntRange.mjs.html +1 -1
  326. package/docs/pseudoRandomRange.mjs.html +1 -1
  327. package/docs/queue.mjs.html +1 -1
  328. package/docs/rang.mjs.html +1 -1
  329. package/docs/rep.mjs.html +1 -1
  330. package/docs/repObj.mjs.html +1 -1
  331. package/docs/replace.mjs.html +1 -1
  332. package/docs/replaceObj.mjs.html +1 -1
  333. package/docs/replacePlus.mjs.html +1 -1
  334. package/docs/round.mjs.html +1 -1
  335. package/docs/secd.mjs.html +1 -1
  336. package/docs/sep.mjs.html +1 -1
  337. package/docs/sepInt.mjs.html +1 -1
  338. package/docs/sind.mjs.html +1 -1
  339. package/docs/split.mjs.html +1 -1
  340. package/docs/str2aes.mjs.html +1 -1
  341. package/docs/str2b64.mjs.html +1 -1
  342. package/docs/str2hint.mjs.html +1 -1
  343. package/docs/str2md5.mjs.html +1 -1
  344. package/docs/str2obj.mjs.html +1 -1
  345. package/docs/str2sha512.mjs.html +1 -1
  346. package/docs/str2u8arr.mjs.html +1 -1
  347. package/docs/strCompare.mjs.html +1 -1
  348. package/docs/strDiff.mjs.html +1 -1
  349. package/docs/strFindFuzz.mjs.html +1 -1
  350. package/docs/strFindFuzzDyn.mjs.html +1 -1
  351. package/docs/strFindSimilar.mjs.html +1 -1
  352. package/docs/strdelleft.mjs.html +1 -1
  353. package/docs/strdelright.mjs.html +1 -1
  354. package/docs/strleft.mjs.html +1 -1
  355. package/docs/strmid.mjs.html +1 -1
  356. package/docs/strright.mjs.html +1 -1
  357. package/docs/stru8arr2obj.mjs.html +1 -1
  358. package/docs/tand.mjs.html +1 -1
  359. package/docs/time2day.mjs.html +1 -1
  360. package/docs/time2hour.mjs.html +1 -1
  361. package/docs/time2min.mjs.html +1 -1
  362. package/docs/timeTZ2day.mjs.html +1 -1
  363. package/docs/timeTZ2expire.mjs.html +1 -1
  364. package/docs/timeTZ2hour.mjs.html +1 -1
  365. package/docs/timeTZ2min.mjs.html +1 -1
  366. package/docs/timeTZ2past.mjs.html +1 -1
  367. package/docs/timems2day.mjs.html +1 -1
  368. package/docs/timems2hour.mjs.html +1 -1
  369. package/docs/timems2min.mjs.html +1 -1
  370. package/docs/timems2time.mjs.html +1 -1
  371. package/docs/timemsTZ2day.mjs.html +1 -1
  372. package/docs/timemsTZ2expire.mjs.html +1 -1
  373. package/docs/timemsTZ2hour.mjs.html +1 -1
  374. package/docs/timemsTZ2min.mjs.html +1 -1
  375. package/docs/timemsTZ2past.mjs.html +1 -1
  376. package/docs/timemsTZ2time.mjs.html +1 -1
  377. package/docs/treeObj.mjs.html +1 -1
  378. package/docs/treeToFilepath.mjs.html +1 -1
  379. package/docs/trim.mjs.html +1 -1
  380. package/docs/u16arr2b64.mjs.html +1 -1
  381. package/docs/u16arr2u8arr.mjs.html +1 -1
  382. package/docs/u8arr2ab.mjs.html +1 -1
  383. package/docs/u8arr2b64.mjs.html +1 -1
  384. package/docs/u8arr2blob.mjs.html +1 -1
  385. package/docs/u8arr2bs.mjs.html +1 -1
  386. package/docs/u8arr2obj.mjs.html +1 -1
  387. package/docs/u8arr2str.mjs.html +1 -1
  388. package/docs/u8arr2u16arr.mjs.html +1 -1
  389. package/docs/urlParse.mjs.html +1 -1
  390. package/docs/verifyValue.mjs.html +1 -1
  391. package/docs/waitFun.mjs.html +1 -1
  392. package/docs/wsemi.html +3 -3
  393. package/g.mjs +269 -260
  394. package/package.json +1 -1
  395. package/src/attstr.mjs +391 -330
  396. package/test/attstr.test.mjs +95 -89
package/g.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  // import fs from 'fs'
2
2
  import genPm from './src/genPm.mjs'
3
- import at from './src/attstr.mjs'
3
+ import attstr from './src/attstr.mjs'
4
4
 
5
5
 
6
6
  let c
@@ -8,265 +8,274 @@ let c1
8
8
  let c2
9
9
  let r
10
10
 
11
- //parse
12
- console.log('parse')
13
-
14
- c = 'abc123'
15
- r = at.parse(c)
16
- console.log(r)
17
- // => [ 'abc123' ]
18
-
19
- c = 'abc123;abc123'
20
- r = at.parse(c)
21
- console.log(r)
22
- // => [ 'abc123' ]
23
-
24
- c = 'abc123;def456'
25
- r = at.parse(c)
26
- console.log(r)
27
- // => [ 'abc123', 'def456' ]
28
-
29
- c = 'abc@123'
30
- r = at.parse(c)
31
- console.log(r)
32
- // => [ { item: 'abc@123', table: 'abc', id: '123' } ]
33
-
34
- c = 'abc@123;abc@123'
35
- r = at.parse(c)
36
- console.log(r)
37
- // => [ { item: 'abc@123', table: 'abc', id: '123' } ]
38
-
39
- c = 'abc@123;def@456'
40
- r = at.parse(c)
41
- console.log(r)
42
- // => [
43
- // { item: 'abc@123', table: 'abc', id: '123' },
44
- // { item: 'def@456', table: 'def', id: '456' }
45
- // ]
46
-
47
- c = ''
48
- r = at.parse(c)
49
- console.log(r)
50
- // => []
51
-
52
- //join
53
- console.log('join')
54
-
55
- c = ['abc123']
56
- r = at.join(c)
57
- console.log(r)
58
- // => 'abc123'
59
-
60
- c = ['abc123', 'def456']
61
- r = at.join(c)
62
- console.log(r)
63
- // => 'abc123;def456'
64
-
65
- c = ['abc@123']
66
- r = at.join(c)
67
- console.log(r)
68
- // => 'abc@123'
69
-
70
- c = ['abc@123', 'def@456']
71
- r = at.join(c)
72
- console.log(r)
73
- // => 'abc@123;def@456'
74
-
75
- c = [{ table: 'abc', id: '123' }, { table: 'def', id: '456' }]
76
- r = at.join(c)
77
- console.log(r)
78
- // => 'abc@123;def@456'
79
-
80
- c = []
81
- r = at.join(c)
82
- console.log(r)
83
- // => ''
84
-
85
- //add
86
- console.log('add')
87
-
88
- c1 = 'abc123'
89
- c2 = 'def456'
90
- r = at.add(c1, c2)
91
- console.log(r)
92
- // => abc123;def456
93
-
94
- c1 = 'abc123'
95
- c2 = 'def456;ghi789'
96
- r = at.add(c1, c2)
97
- console.log(r)
98
- // => abc123;def456;ghi789
99
-
100
- c1 = 'abc123'
101
- c2 = 'abc123'
102
- r = at.add(c1, c2)
103
- console.log(r)
104
- // => abc123
105
-
106
- c1 = 'abc123'
107
- c2 = 'abc123;def456'
108
- r = at.add(c1, c2)
109
- console.log(r)
110
- // => abc123;def456
111
-
112
- c1 = 'abc123;ghi789'
113
- c2 = 'abc123;def456'
114
- r = at.add(c1, c2)
115
- console.log(r)
116
- // => abc123;ghi789;def456
117
-
118
- c1 = ''
119
- c2 = 'abc123'
120
- r = at.add(c1, c2)
121
- console.log(r)
122
- // => abc123
123
-
124
- c1 = ''
125
- c2 = 'abc123;def456'
126
- r = at.add(c1, c2)
127
- console.log(r)
128
- // => abc123;def456
129
-
130
- c1 = 'abc@123'
131
- c2 = 'def@456'
132
- r = at.add(c1, c2)
133
- console.log(r)
134
- // => abc@123;def@456
135
-
136
- c1 = 'abc@123'
137
- c2 = 'def@456;ghi@789'
138
- r = at.add(c1, c2)
139
- console.log(r)
140
- // => abc@123;def@456;ghi@789
141
-
142
- c1 = 'abc@123;ghi@789'
143
- c2 = 'abc@123;def@456'
144
- r = at.add(c1, c2)
145
- console.log(r)
146
- // => abc@123;ghi@789;def@456
147
-
148
- c1 = ''
149
- c2 = 'abc@123'
150
- r = at.add(c1, c2)
151
- console.log(r)
152
- // => abc@123
153
-
154
- c1 = ''
155
- c2 = 'abc@123;def@456'
156
- r = at.add(c1, c2)
157
- console.log(r)
158
- // => abc@123;def@456
159
-
160
- //remove
161
- console.log('remove')
162
-
163
- c1 = 'abc123'
164
- c2 = 'abc123'
165
- r = at.remove(c1, c2)
166
- console.log(r)
167
- // => ''
168
-
169
- c1 = 'abc123;def456'
170
- c2 = 'abc123'
171
- r = at.remove(c1, c2)
172
- console.log(r)
173
- // => def456
174
-
175
- c1 = 'abc123'
176
- c2 = 'def456'
177
- r = at.remove(c1, c2)
178
- console.log(r)
179
- // => abc123
180
-
181
- c1 = 'abc123'
182
- c2 = 'ghi789;jkl012'
183
- r = at.remove(c1, c2)
184
- console.log(r)
185
- // => abc123
186
-
187
- c1 = 'abc123'
188
- c2 = 'abc123;jkl012'
189
- r = at.remove(c1, c2)
190
- console.log(r)
191
- // => ''
192
-
193
- c1 = 'abc123;def456'
194
- c2 = 'ghi789;jkl012'
195
- r = at.remove(c1, c2)
196
- console.log(r)
197
- // => abc123;def456
198
-
199
- c1 = 'abc123;def456'
200
- c2 = 'def456;jkl012'
201
- r = at.remove(c1, c2)
202
- console.log(r)
203
- // => abc123
204
-
205
- c1 = ''
206
- c2 = 'ghi789'
207
- r = at.remove(c1, c2)
208
- console.log(r)
209
- // => ''
210
-
211
- c1 = ''
212
- c2 = 'ghi789;jkl012'
213
- r = at.remove(c1, c2)
214
- console.log(r)
215
- // => ''
216
-
217
- c1 = 'abc@123'
218
- c2 = 'abc@123'
219
- r = at.remove(c1, c2)
220
- console.log(r)
221
- // => ''
222
-
223
- c1 = 'abc@123;def@456'
224
- c2 = 'abc@123'
225
- r = at.remove(c1, c2)
226
- console.log(r)
227
- // => def@456
228
-
229
- c1 = 'abc@123'
230
- c2 = 'def@456'
231
- r = at.remove(c1, c2)
232
- console.log(r)
233
- // => abc@123
234
-
235
- c1 = 'abc@123'
236
- c2 = 'ghi@789;jkl@012'
237
- r = at.remove(c1, c2)
238
- console.log(r)
239
- // => abc@123
240
-
241
- c1 = 'abc@123'
242
- c2 = 'abc@123;jkl@012'
243
- r = at.remove(c1, c2)
244
- console.log(r)
245
- // => ''
246
-
247
- c1 = 'abc@123;def@456'
248
- c2 = 'ghi@789;jkl@012'
249
- r = at.remove(c1, c2)
250
- console.log(r)
251
- // => abc@123;def@456
252
-
253
- c1 = 'abc@123;def@456'
254
- c2 = 'def@456;jkl@012'
255
- r = at.remove(c1, c2)
256
- console.log(r)
257
- // => abc@123
258
-
259
- c1 = ''
260
- c2 = 'ghi@789'
261
- r = at.remove(c1, c2)
262
- console.log(r)
263
- // => ''
264
-
265
- c1 = ''
266
- c2 = 'ghi@789;jkl@012'
267
- r = at.remove(c1, c2)
268
- console.log(r)
269
- // => ''
11
+ // let at = attstr()
12
+
13
+ // //parse
14
+ // console.log('parse')
15
+
16
+ // c = 'abc123'
17
+ // r = at.parse(c)
18
+ // console.log(r)
19
+ // // => [ 'abc123' ]
20
+
21
+ // c = 'abc123;abc123'
22
+ // r = at.parse(c)
23
+ // console.log(r)
24
+ // // => [ 'abc123' ]
25
+
26
+ // c = 'abc123;def456'
27
+ // r = at.parse(c)
28
+ // console.log(r)
29
+ // // => [ 'abc123', 'def456' ]
30
+
31
+ // c = 'abc@123'
32
+ // r = at.parse(c)
33
+ // console.log(r)
34
+ // // => [ { item: 'abc@123', table: 'abc', id: '123' } ]
35
+
36
+ // c = 'abc@123;abc@123'
37
+ // r = at.parse(c)
38
+ // console.log(r)
39
+ // // => [ { item: 'abc@123', table: 'abc', id: '123' } ]
40
+
41
+ // c = 'abc@123;def@456'
42
+ // r = at.parse(c)
43
+ // console.log(r)
44
+ // // => [
45
+ // // { item: 'abc@123', table: 'abc', id: '123' },
46
+ // // { item: 'def@456', table: 'def', id: '456' }
47
+ // // ]
48
+
49
+ // c = ''
50
+ // r = at.parse(c)
51
+ // console.log(r)
52
+ // // => []
53
+
54
+ // //join
55
+ // console.log('join')
56
+
57
+ // c = ['abc123']
58
+ // r = at.join(c)
59
+ // console.log(r)
60
+ // // => 'abc123'
61
+
62
+ // c = ['abc123', 'def456']
63
+ // r = at.join(c)
64
+ // console.log(r)
65
+ // // => 'abc123;def456'
66
+
67
+ // c = ['abc@123']
68
+ // r = at.join(c)
69
+ // console.log(r)
70
+ // // => 'abc@123'
71
+
72
+ // c = ['abc@123', 'def@456']
73
+ // r = at.join(c)
74
+ // console.log(r)
75
+ // // => 'abc@123;def@456'
76
+
77
+ // c = [{ table: 'abc', id: '123' }, { table: 'def', id: '456' }]
78
+ // r = at.join(c)
79
+ // console.log(r)
80
+ // // => 'abc@123;def@456'
81
+
82
+ // c = []
83
+ // r = at.join(c)
84
+ // console.log(r)
85
+ // // => ''
86
+
87
+ // //add
88
+ // console.log('add')
89
+
90
+ // c1 = 'abc123'
91
+ // c2 = 'def456'
92
+ // r = at.add(c1, c2)
93
+ // console.log(r)
94
+ // // => abc123;def456
95
+
96
+ // c1 = 'abc123'
97
+ // c2 = 'def456;ghi789'
98
+ // r = at.add(c1, c2)
99
+ // console.log(r)
100
+ // // => abc123;def456;ghi789
101
+
102
+ // c1 = 'abc123'
103
+ // c2 = 'abc123'
104
+ // r = at.add(c1, c2)
105
+ // console.log(r)
106
+ // // => abc123
107
+
108
+ // c1 = 'abc123'
109
+ // c2 = 'abc123;def456'
110
+ // r = at.add(c1, c2)
111
+ // console.log(r)
112
+ // // => abc123;def456
113
+
114
+ // c1 = 'abc123;ghi789'
115
+ // c2 = 'abc123;def456'
116
+ // r = at.add(c1, c2)
117
+ // console.log(r)
118
+ // // => abc123;ghi789;def456
119
+
120
+ // c1 = ''
121
+ // c2 = 'abc123'
122
+ // r = at.add(c1, c2)
123
+ // console.log(r)
124
+ // // => abc123
125
+
126
+ // c1 = ''
127
+ // c2 = 'abc123;def456'
128
+ // r = at.add(c1, c2)
129
+ // console.log(r)
130
+ // // => abc123;def456
131
+
132
+ // c1 = 'abc@123'
133
+ // c2 = 'def@456'
134
+ // r = at.add(c1, c2)
135
+ // console.log(r)
136
+ // // => abc@123;def@456
137
+
138
+ // c1 = 'abc@123'
139
+ // c2 = 'def@456;ghi@789'
140
+ // r = at.add(c1, c2)
141
+ // console.log(r)
142
+ // // => abc@123;def@456;ghi@789
143
+
144
+ // c1 = 'abc@123;ghi@789'
145
+ // c2 = 'abc@123;def@456'
146
+ // r = at.add(c1, c2)
147
+ // console.log(r)
148
+ // // => abc@123;ghi@789;def@456
149
+
150
+ // c1 = ''
151
+ // c2 = 'abc@123'
152
+ // r = at.add(c1, c2)
153
+ // console.log(r)
154
+ // // => abc@123
155
+
156
+ // c1 = ''
157
+ // c2 = 'abc@123;def@456'
158
+ // r = at.add(c1, c2)
159
+ // console.log(r)
160
+ // // => abc@123;def@456
161
+
162
+ // //remove
163
+ // console.log('remove')
164
+
165
+ // c1 = 'abc123'
166
+ // c2 = 'abc123'
167
+ // r = at.remove(c1, c2)
168
+ // console.log(r)
169
+ // // => ''
170
+
171
+ // c1 = 'abc123;def456'
172
+ // c2 = 'abc123'
173
+ // r = at.remove(c1, c2)
174
+ // console.log(r)
175
+ // // => def456
176
+
177
+ // c1 = 'abc123'
178
+ // c2 = 'def456'
179
+ // r = at.remove(c1, c2)
180
+ // console.log(r)
181
+ // // => abc123
182
+
183
+ // c1 = 'abc123'
184
+ // c2 = 'ghi789;jkl012'
185
+ // r = at.remove(c1, c2)
186
+ // console.log(r)
187
+ // // => abc123
188
+
189
+ // c1 = 'abc123'
190
+ // c2 = 'abc123;jkl012'
191
+ // r = at.remove(c1, c2)
192
+ // console.log(r)
193
+ // // => ''
194
+
195
+ // c1 = 'abc123;def456'
196
+ // c2 = 'ghi789;jkl012'
197
+ // r = at.remove(c1, c2)
198
+ // console.log(r)
199
+ // // => abc123;def456
200
+
201
+ // c1 = 'abc123;def456'
202
+ // c2 = 'def456;jkl012'
203
+ // r = at.remove(c1, c2)
204
+ // console.log(r)
205
+ // // => abc123
206
+
207
+ // c1 = ''
208
+ // c2 = 'ghi789'
209
+ // r = at.remove(c1, c2)
210
+ // console.log(r)
211
+ // // => ''
212
+
213
+ // c1 = ''
214
+ // c2 = 'ghi789;jkl012'
215
+ // r = at.remove(c1, c2)
216
+ // console.log(r)
217
+ // // => ''
218
+
219
+ // c1 = 'abc@123'
220
+ // c2 = 'abc@123'
221
+ // r = at.remove(c1, c2)
222
+ // console.log(r)
223
+ // // => ''
224
+
225
+ // c1 = 'abc@123;def@456'
226
+ // c2 = 'abc@123'
227
+ // r = at.remove(c1, c2)
228
+ // console.log(r)
229
+ // // => def@456
230
+
231
+ // c1 = 'abc@123'
232
+ // c2 = 'def@456'
233
+ // r = at.remove(c1, c2)
234
+ // console.log(r)
235
+ // // => abc@123
236
+
237
+ // c1 = 'abc@123'
238
+ // c2 = 'ghi@789;jkl@012'
239
+ // r = at.remove(c1, c2)
240
+ // console.log(r)
241
+ // // => abc@123
242
+
243
+ // c1 = 'abc@123'
244
+ // c2 = 'abc@123;jkl@012'
245
+ // r = at.remove(c1, c2)
246
+ // console.log(r)
247
+ // // => ''
248
+
249
+ // c1 = 'abc@123;def@456'
250
+ // c2 = 'ghi@789;jkl@012'
251
+ // r = at.remove(c1, c2)
252
+ // console.log(r)
253
+ // // => abc@123;def@456
254
+
255
+ // c1 = 'abc@123;def@456'
256
+ // c2 = 'def@456;jkl@012'
257
+ // r = at.remove(c1, c2)
258
+ // console.log(r)
259
+ // // => abc@123
260
+
261
+ // c1 = ''
262
+ // c2 = 'ghi@789'
263
+ // r = at.remove(c1, c2)
264
+ // console.log(r)
265
+ // // => ''
266
+
267
+ // c1 = ''
268
+ // c2 = 'ghi@789;jkl@012'
269
+ // r = at.remove(c1, c2)
270
+ // console.log(r)
271
+ // // => ''
272
+
273
+ let at2 = attstr({ dlmItem: ',', dlmSep: '|' })
274
+
275
+ c = 'x1|abc@123|def@456,x2|ghi@789'
276
+ r = at2.parse(c)
277
+ console.log(r)
278
+ // => [ { item: 'x2|ghi@789', table: 'x2', id: 'ghi@789' } ]
270
279
 
271
280
 
272
281
  //node --experimental-modules --es-module-specifier-resolution=node g.mjs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wsemi",
3
- "version": "1.7.21",
3
+ "version": "1.7.22",
4
4
  "main": "dist/wsemi.umd.js",
5
5
  "dependencies": {
6
6
  "crypto-js": "^4.1.1",