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.
- package/README.md +1 -1
- package/dist/wsemi.umd.js +3 -3
- package/dist/wsemi.umd.js.map +1 -1
- package/docs/-_class.mjs.html +1 -1
- package/docs/ab2blob.mjs.html +1 -1
- package/docs/ab2u8arr.mjs.html +1 -1
- package/docs/addExcelWorksheetFromData.mjs.html +1 -1
- package/docs/addMonth.mjs.html +1 -1
- package/docs/aes2str.mjs.html +1 -1
- package/docs/alive.mjs.html +1 -1
- package/docs/arr2dt.mjs.html +1 -1
- package/docs/arrAccum.mjs.html +1 -1
- package/docs/arrAdd.mjs.html +1 -1
- package/docs/arrAt.mjs.html +1 -1
- package/docs/arrDiff.mjs.html +1 -1
- package/docs/arrFilterByKeywords.mjs.html +1 -1
- package/docs/arrFilterByNum.mjs.html +1 -1
- package/docs/arrFilterByPnum.mjs.html +1 -1
- package/docs/arrFilterByPnumAndToLog.mjs.html +1 -1
- package/docs/arrFind.mjs.html +1 -1
- package/docs/arrGroupByMaxmin.mjs.html +1 -1
- package/docs/arrHas.mjs.html +1 -1
- package/docs/arrInsert.mjs.html +1 -1
- package/docs/arrLookupByMaxmin.mjs.html +1 -1
- package/docs/arrMax.mjs.html +1 -1
- package/docs/arrMin.mjs.html +1 -1
- package/docs/arrMulti.mjs.html +1 -1
- package/docs/arrNorm.mjs.html +1 -1
- package/docs/arrProduct.mjs.html +1 -1
- package/docs/arrReduce.mjs.html +1 -1
- package/docs/arrSep.mjs.html +1 -1
- package/docs/arrSort.mjs.html +1 -1
- package/docs/asind.mjs.html +1 -1
- package/docs/atan2d.mjs.html +1 -1
- package/docs/atand.mjs.html +1 -1
- package/docs/attstr.mjs.html +392 -331
- package/docs/b642obj.mjs.html +1 -1
- package/docs/b642str.mjs.html +1 -1
- package/docs/b642u16arr.mjs.html +1 -1
- package/docs/b642u8arr.mjs.html +1 -1
- package/docs/binstr.mjs.html +1 -1
- package/docs/blob2ab.mjs.html +1 -1
- package/docs/blob2b64.mjs.html +1 -1
- package/docs/blob2str.mjs.html +1 -1
- package/docs/blob2u8arr.mjs.html +1 -1
- package/docs/blobs2b64s.mjs.html +1 -1
- package/docs/blobs2u8arrs.mjs.html +1 -1
- package/docs/bodyLog.mjs.html +1 -1
- package/docs/browserView.mjs.html +1 -1
- package/docs/browserViewFromBlob.mjs.html +1 -1
- package/docs/browserViewFromText.mjs.html +1 -1
- package/docs/browserViewFromU8arr.mjs.html +1 -1
- package/docs/bs2u8arr.mjs.html +1 -1
- package/docs/bufRead.mjs.html +1 -1
- package/docs/bufReadDbl.mjs.html +1 -1
- package/docs/bufWrite.mjs.html +1 -1
- package/docs/bufWriteDbl.mjs.html +1 -1
- package/docs/cache.mjs.html +1 -1
- package/docs/cbol.mjs.html +1 -1
- package/docs/cdbl.mjs.html +1 -1
- package/docs/cfilesize.mjs.html +1 -1
- package/docs/cfinancial.mjs.html +1 -1
- package/docs/cint.mjs.html +1 -1
- package/docs/clearXSS.mjs.html +1 -1
- package/docs/color.mjs.html +1 -1
- package/docs/composeToTree.mjs.html +1 -1
- package/docs/convertToTree.mjs.html +1 -1
- package/docs/copyStrToClipboard.mjs.html +1 -1
- package/docs/cosd.mjs.html +1 -1
- package/docs/cotd.mjs.html +1 -1
- package/docs/createExcelWorkbook.mjs.html +1 -1
- package/docs/cscd.mjs.html +1 -1
- package/docs/cstr.mjs.html +1 -1
- package/docs/day2cht.mjs.html +1 -1
- package/docs/debounce.mjs.html +1 -1
- package/docs/delay.mjs.html +1 -1
- package/docs/dig.mjs.html +1 -1
- package/docs/digExp.mjs.html +1 -1
- package/docs/domAlert.mjs.html +1 -1
- package/docs/domAppend.mjs.html +1 -1
- package/docs/domCancelEvent.mjs.html +1 -1
- package/docs/domCompareText.mjs.html +1 -1
- package/docs/domCompareTextDyn.mjs.html +1 -1
- package/docs/domConvertToPic.mjs.html +1 -1
- package/docs/domConvertToPicDyn.mjs.html +1 -1
- package/docs/domDetect.mjs.html +1 -1
- package/docs/domDrag.mjs.html +1 -1
- package/docs/domDragBarAndScroll.mjs.html +1 -1
- package/docs/domDragPreview.mjs.html +1 -1
- package/docs/domDropFiles.mjs.html +1 -1
- package/docs/domElementsFromPoint.mjs.html +1 -1
- package/docs/domFadeIn.mjs.html +1 -1
- package/docs/domFadeOut.mjs.html +1 -1
- package/docs/domFind.mjs.html +1 -1
- package/docs/domFinds.mjs.html +1 -1
- package/docs/domGetAttr.mjs.html +1 -1
- package/docs/domGetBoudRect.mjs.html +1 -1
- package/docs/domGetBoudRectRefSelf.mjs.html +1 -1
- package/docs/domGetFileAccept.mjs.html +1 -1
- package/docs/domGetFiles.mjs.html +1 -1
- package/docs/domGetParents.mjs.html +1 -1
- package/docs/domGetPointFromEvent.mjs.html +1 -1
- package/docs/domGetScrollableParent.mjs.html +1 -1
- package/docs/domGetWindowSize.mjs.html +1 -1
- package/docs/domIsClientXYIn.mjs.html +1 -1
- package/docs/domIsFocused.mjs.html +1 -1
- package/docs/domIsVisible.mjs.html +1 -1
- package/docs/domPrepend.mjs.html +1 -1
- package/docs/domRemove.mjs.html +1 -1
- package/docs/domRenderMarkdownMind.mjs.html +1 -1
- package/docs/domRenderMarkdownMindDyn.mjs.html +1 -1
- package/docs/domRipple.mjs.html +1 -1
- package/docs/domScrollIntoView.mjs.html +1 -1
- package/docs/domScrollTo.mjs.html +1 -1
- package/docs/domShowImages.mjs.html +1 -1
- package/docs/domShowImagesDyn.mjs.html +1 -1
- package/docs/domShowInputAndGetFiles.mjs.html +1 -1
- package/docs/domShowInputAndGetFilesU8Arrs.mjs.html +1 -1
- package/docs/domTooltip.mjs.html +1 -1
- package/docs/domTriggerEvent.mjs.html +1 -1
- package/docs/domVirtualCreate.mjs.html +1 -1
- package/docs/domVirtualCreateQueue.mjs.html +1 -1
- package/docs/downloadExcelFileFromData.mjs.html +1 -1
- package/docs/downloadExcelFileFromDataDyn.mjs.html +1 -1
- package/docs/downloadFileFromB64.mjs.html +1 -1
- package/docs/downloadFileFromBlob.mjs.html +1 -1
- package/docs/downloadFileFromText.mjs.html +1 -1
- package/docs/downloadFileFromU8Arr.mjs.html +1 -1
- package/docs/dtmapping.mjs.html +1 -1
- package/docs/dtpick.mjs.html +1 -1
- package/docs/evem.mjs.html +1 -1
- package/docs/examples/ex-blob2b64.html +1 -1
- package/docs/examples/ex-clearXSS.html +1 -1
- package/docs/examples/ex-colorConverter.html +1 -1
- package/docs/examples/ex-cryptojs.html +1 -1
- package/docs/examples/ex-dayjs.html +1 -1
- package/docs/examples/ex-domCompareText.html +1 -1
- package/docs/examples/ex-domCompareTextDyn.html +1 -1
- package/docs/examples/ex-domConvertToPic.html +1 -1
- package/docs/examples/ex-domConvertToPicDyn.html +1 -1
- package/docs/examples/ex-domDrag.html +1 -1
- package/docs/examples/ex-domDropFiles.html +1 -1
- package/docs/examples/ex-domIsVisible.html +1 -1
- package/docs/examples/ex-domRenderMarkdownMind.html +1 -1
- package/docs/examples/ex-domRenderMarkdownMindDyn.html +1 -1
- package/docs/examples/ex-domRipple.html +1 -1
- package/docs/examples/ex-domScrollIntoView.html +1 -1
- package/docs/examples/ex-domScrollTo.html +1 -1
- package/docs/examples/ex-domShowImages.html +1 -1
- package/docs/examples/ex-domShowImagesDyn.html +1 -1
- package/docs/examples/ex-domShowInputAndGetFiles.html +1 -1
- package/docs/examples/ex-domTooltip.html +1 -1
- package/docs/examples/ex-getUserAgent.html +1 -1
- package/docs/examples/ex-getUserAgentDyn.html +1 -1
- package/docs/examples/ex-html2pic.html +1 -1
- package/docs/examples/ex-html2picDyn.html +1 -1
- package/docs/examples/ex-html2str.html +1 -1
- package/docs/examples/ex-html2strDyn.html +1 -1
- package/docs/examples/ex-lodash.html +1 -1
- package/docs/examples/ex-obj2u8arr-u8arr2obj.html +1 -1
- package/docs/examples/ex-ocr.html +1 -1
- package/docs/examples/ex-ocrDyn.html +1 -1
- package/docs/examples/ex-openLink.html +1 -1
- package/docs/examples/ex-strFindFuzz.html +1 -1
- package/docs/examples/ex-strFindFuzzDyn.html +1 -1
- package/docs/examples/ex-timeTZ2expire-timeTZ2past.html +1 -1
- package/docs/examples/ex-xlsx.html +1 -1
- package/docs/examples/ex-xlsxDyn.html +1 -1
- package/docs/execProcess.mjs.html +1 -1
- package/docs/execScript.mjs.html +1 -1
- package/docs/f2c.mjs.html +1 -1
- package/docs/filepathToTree.mjs.html +1 -1
- package/docs/files2data.mjs.html +1 -1
- package/docs/flattenToConn.mjs.html +1 -1
- package/docs/flattenTree.mjs.html +1 -1
- package/docs/fsCleanFolder.mjs.html +1 -1
- package/docs/fsCopyFolder.mjs.html +1 -1
- package/docs/fsCreateFile.mjs.html +1 -1
- package/docs/fsCreateFolder.mjs.html +1 -1
- package/docs/fsDeleteFile.mjs.html +1 -1
- package/docs/fsDeleteFolder.mjs.html +1 -1
- package/docs/fsEvem.mjs.html +1 -1
- package/docs/fsGetFilesInFolder.mjs.html +1 -1
- package/docs/fsGetFoldersInFolder.mjs.html +1 -1
- package/docs/fsIsFile.mjs.html +1 -1
- package/docs/fsIsFolder.mjs.html +1 -1
- package/docs/fsReadText.mjs.html +1 -1
- package/docs/fsRenameFile.mjs.html +1 -1
- package/docs/fsRenameFolder.mjs.html +1 -1
- package/docs/fsTreeFolder.mjs.html +1 -1
- package/docs/fsWatchFile.mjs.html +1 -1
- package/docs/fsWriteText.mjs.html +1 -1
- package/docs/genGradientColor.mjs.html +1 -1
- package/docs/genID.mjs.html +1 -1
- package/docs/genPm.mjs.html +1 -1
- package/docs/getBufferSize.mjs.html +1 -1
- package/docs/getClearPathName.mjs.html +1 -1
- package/docs/getCsvStrFromData.mjs.html +1 -1
- package/docs/getDataFromExcelFileU8Arr.mjs.html +1 -1
- package/docs/getDataFromExcelFileU8ArrDyn.mjs.html +1 -1
- package/docs/getDirName.mjs.html +1 -1
- package/docs/getEnv.mjs.html +1 -1
- package/docs/getExcelU8ArrFromData.mjs.html +1 -1
- package/docs/getExcelU8ArrFromWorkbook.mjs.html +1 -1
- package/docs/getExcelWorkbookFromData.mjs.html +1 -1
- package/docs/getExcelWorkbookFromWorksheet.mjs.html +1 -1
- package/docs/getExcelWorksheetFromData.mjs.html +1 -1
- package/docs/getFileAccept.mjs.html +1 -1
- package/docs/getFileName.mjs.html +1 -1
- package/docs/getFileTrueName.mjs.html +1 -1
- package/docs/getGlobal.mjs.html +1 -1
- package/docs/getObjSize.mjs.html +1 -1
- package/docs/getTimeBetween.mjs.html +1 -1
- package/docs/getTimeFromUnit.mjs.html +1 -1
- package/docs/getTimeObject.mjs.html +1 -1
- package/docs/getTimeRange.mjs.html +1 -1
- package/docs/getUserAgent.mjs.html +1 -1
- package/docs/getUserAgentDyn.mjs.html +1 -1
- package/docs/getltdtkeys.mjs.html +1 -1
- package/docs/haskey.mjs.html +1 -1
- package/docs/html2pic.mjs.html +1 -1
- package/docs/html2picDyn.mjs.html +1 -1
- package/docs/html2str.mjs.html +1 -1
- package/docs/html2strDyn.mjs.html +1 -1
- package/docs/htmlDecode.mjs.html +1 -1
- package/docs/htmlEncode.mjs.html +1 -1
- package/docs/importResources.mjs.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interp1.mjs.html +1 -1
- package/docs/isDev.mjs.html +1 -1
- package/docs/isEle.mjs.html +1 -1
- package/docs/isEleExistByID.mjs.html +1 -1
- package/docs/isEmail.mjs.html +1 -1
- package/docs/isIE.mjs.html +1 -1
- package/docs/isNarrow.mjs.html +1 -1
- package/docs/isStrHasCapital.mjs.html +1 -1
- package/docs/isStrHasLowerCase.mjs.html +1 -1
- package/docs/isStrHasNumber.mjs.html +1 -1
- package/docs/isUserIdentify.mjs.html +1 -1
- package/docs/isUserName.mjs.html +1 -1
- package/docs/isUserPW.mjs.html +1 -1
- package/docs/isWindow.mjs.html +1 -1
- package/docs/isab.mjs.html +1 -1
- package/docs/isarr.mjs.html +1 -1
- package/docs/isarr0.mjs.html +1 -1
- package/docs/isblob.mjs.html +1 -1
- package/docs/isbol.mjs.html +1 -1
- package/docs/isday.mjs.html +1 -1
- package/docs/isearr.mjs.html +1 -1
- package/docs/iseobj.mjs.html +1 -1
- package/docs/iser.mjs.html +1 -1
- package/docs/isernot.mjs.html +1 -1
- package/docs/isestr.mjs.html +1 -1
- package/docs/isfun.mjs.html +1 -1
- package/docs/isint.mjs.html +1 -1
- package/docs/ismonth.mjs.html +1 -1
- package/docs/isn0int.mjs.html +1 -1
- package/docs/isn0num.mjs.html +1 -1
- package/docs/isnbr.mjs.html +1 -1
- package/docs/isnint.mjs.html +1 -1
- package/docs/isnnum.mjs.html +1 -1
- package/docs/isnull.mjs.html +1 -1
- package/docs/isnum.mjs.html +1 -1
- package/docs/isobj.mjs.html +1 -1
- package/docs/isobj0.mjs.html +1 -1
- package/docs/isp0int.mjs.html +1 -1
- package/docs/isp0num.mjs.html +1 -1
- package/docs/ispint.mjs.html +1 -1
- package/docs/ispm.mjs.html +1 -1
- package/docs/ispnum.mjs.html +1 -1
- package/docs/isstr.mjs.html +1 -1
- package/docs/isstr0.mjs.html +1 -1
- package/docs/istime.mjs.html +1 -1
- package/docs/istimeTZ.mjs.html +1 -1
- package/docs/istimems.mjs.html +1 -1
- package/docs/istimemsTZ.mjs.html +1 -1
- package/docs/isu16arr.mjs.html +1 -1
- package/docs/isu8arr.mjs.html +1 -1
- package/docs/isundefined.mjs.html +1 -1
- package/docs/j2o.mjs.html +1 -1
- package/docs/keysmat2ltdt.mjs.html +1 -1
- package/docs/log.mjs.html +1 -1
- package/docs/ltdt2vrtsable.mjs.html +1 -1
- package/docs/ltdtDiff.mjs.html +1 -1
- package/docs/ltdtDiffByKey.mjs.html +1 -1
- package/docs/ltdtkeys2mat.mjs.html +1 -1
- package/docs/ltdtkeysheads2mat.mjs.html +1 -1
- package/docs/ltdtmapping.mjs.html +1 -1
- package/docs/ltdtmerge.mjs.html +1 -1
- package/docs/ltdtpick.mjs.html +1 -1
- package/docs/ltdtpull.mjs.html +1 -1
- package/docs/mat2ltdt.mjs.html +1 -1
- package/docs/matConcat.mjs.html +1 -1
- package/docs/matDiff.mjs.html +1 -1
- package/docs/matat.mjs.html +1 -1
- package/docs/now2str.mjs.html +1 -1
- package/docs/now2strp.mjs.html +1 -1
- package/docs/nowDay2str.mjs.html +1 -1
- package/docs/nowms2str.mjs.html +1 -1
- package/docs/nowms2strp.mjs.html +1 -1
- package/docs/o2j.mjs.html +1 -1
- package/docs/obj2b64.mjs.html +1 -1
- package/docs/obj2pb64.mjs.html +1 -1
- package/docs/obj2str.mjs.html +1 -1
- package/docs/obj2stru8arr.mjs.html +1 -1
- package/docs/obj2u8arr.mjs.html +1 -1
- package/docs/objSortBy.mjs.html +1 -1
- package/docs/objSortByKeys.mjs.html +1 -1
- package/docs/ocr.mjs.html +1 -1
- package/docs/ocrDyn.mjs.html +1 -1
- package/docs/oo.mjs.html +1 -1
- package/docs/openLink.mjs.html +1 -1
- package/docs/pb642obj.mjs.html +1 -1
- package/docs/pmChain.mjs.html +1 -1
- package/docs/pmConvertResolve.mjs.html +1 -1
- package/docs/pmHook.mjs.html +1 -1
- package/docs/pmHookReject.mjs.html +1 -1
- package/docs/pmIni.mjs.html +1 -1
- package/docs/pmInvResolve.mjs.html +1 -1
- package/docs/pmMap.mjs.html +1 -1
- package/docs/pmQueue.mjs.html +1 -1
- package/docs/pmSeries.mjs.html +1 -1
- package/docs/pmThrottle.mjs.html +1 -1
- package/docs/pseudoRandom.mjs.html +1 -1
- package/docs/pseudoRandomIntRange.mjs.html +1 -1
- package/docs/pseudoRandomRange.mjs.html +1 -1
- package/docs/queue.mjs.html +1 -1
- package/docs/rang.mjs.html +1 -1
- package/docs/rep.mjs.html +1 -1
- package/docs/repObj.mjs.html +1 -1
- package/docs/replace.mjs.html +1 -1
- package/docs/replaceObj.mjs.html +1 -1
- package/docs/replacePlus.mjs.html +1 -1
- package/docs/round.mjs.html +1 -1
- package/docs/secd.mjs.html +1 -1
- package/docs/sep.mjs.html +1 -1
- package/docs/sepInt.mjs.html +1 -1
- package/docs/sind.mjs.html +1 -1
- package/docs/split.mjs.html +1 -1
- package/docs/str2aes.mjs.html +1 -1
- package/docs/str2b64.mjs.html +1 -1
- package/docs/str2hint.mjs.html +1 -1
- package/docs/str2md5.mjs.html +1 -1
- package/docs/str2obj.mjs.html +1 -1
- package/docs/str2sha512.mjs.html +1 -1
- package/docs/str2u8arr.mjs.html +1 -1
- package/docs/strCompare.mjs.html +1 -1
- package/docs/strDiff.mjs.html +1 -1
- package/docs/strFindFuzz.mjs.html +1 -1
- package/docs/strFindFuzzDyn.mjs.html +1 -1
- package/docs/strFindSimilar.mjs.html +1 -1
- package/docs/strdelleft.mjs.html +1 -1
- package/docs/strdelright.mjs.html +1 -1
- package/docs/strleft.mjs.html +1 -1
- package/docs/strmid.mjs.html +1 -1
- package/docs/strright.mjs.html +1 -1
- package/docs/stru8arr2obj.mjs.html +1 -1
- package/docs/tand.mjs.html +1 -1
- package/docs/time2day.mjs.html +1 -1
- package/docs/time2hour.mjs.html +1 -1
- package/docs/time2min.mjs.html +1 -1
- package/docs/timeTZ2day.mjs.html +1 -1
- package/docs/timeTZ2expire.mjs.html +1 -1
- package/docs/timeTZ2hour.mjs.html +1 -1
- package/docs/timeTZ2min.mjs.html +1 -1
- package/docs/timeTZ2past.mjs.html +1 -1
- package/docs/timems2day.mjs.html +1 -1
- package/docs/timems2hour.mjs.html +1 -1
- package/docs/timems2min.mjs.html +1 -1
- package/docs/timems2time.mjs.html +1 -1
- package/docs/timemsTZ2day.mjs.html +1 -1
- package/docs/timemsTZ2expire.mjs.html +1 -1
- package/docs/timemsTZ2hour.mjs.html +1 -1
- package/docs/timemsTZ2min.mjs.html +1 -1
- package/docs/timemsTZ2past.mjs.html +1 -1
- package/docs/timemsTZ2time.mjs.html +1 -1
- package/docs/treeObj.mjs.html +1 -1
- package/docs/treeToFilepath.mjs.html +1 -1
- package/docs/trim.mjs.html +1 -1
- package/docs/u16arr2b64.mjs.html +1 -1
- package/docs/u16arr2u8arr.mjs.html +1 -1
- package/docs/u8arr2ab.mjs.html +1 -1
- package/docs/u8arr2b64.mjs.html +1 -1
- package/docs/u8arr2blob.mjs.html +1 -1
- package/docs/u8arr2bs.mjs.html +1 -1
- package/docs/u8arr2obj.mjs.html +1 -1
- package/docs/u8arr2str.mjs.html +1 -1
- package/docs/u8arr2u16arr.mjs.html +1 -1
- package/docs/urlParse.mjs.html +1 -1
- package/docs/verifyValue.mjs.html +1 -1
- package/docs/waitFun.mjs.html +1 -1
- package/docs/wsemi.html +3 -3
- package/g.mjs +269 -260
- package/package.json +1 -1
- package/src/attstr.mjs +391 -330
- 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
|
|
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
|
-
//
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
//
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
//
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
//
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
//
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
//
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
-
//
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
//
|
|
51
|
-
|
|
52
|
-
//
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
//
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
//
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
//
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
//
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
//
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
//
|
|
84
|
-
|
|
85
|
-
//
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
//
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
//
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
//
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
//
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
//
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
//
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
//
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
//
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
//
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
//
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
//
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
//
|
|
159
|
-
|
|
160
|
-
//
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
//
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
//
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
//
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
//
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
//
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
//
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
//
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
//
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
//
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
//
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
//
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
//
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
//
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
//
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
//
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
//
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
//
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
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
|