@bbn/bbn 1.0.89 → 1.0.91
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/_.js +1 -1
- package/dist/bundle.js +775 -775
- package/dist/db.js +4 -4
- package/dist/fn/ajax/_addLoader.js +1 -1
- package/dist/fn/ajax/_deleteLoader.js +3 -3
- package/dist/fn/ajax/abort.js +1 -1
- package/dist/fn/ajax/abortURL.js +2 -2
- package/dist/fn/ajax/ajax.js +9 -9
- package/dist/fn/ajax/callback.js +3 -3
- package/dist/fn/ajax/download.js +6 -6
- package/dist/fn/ajax/downloadContent.js +4 -4
- package/dist/fn/ajax/getLoader.js +1 -1
- package/dist/fn/ajax/getRequestId.js +2 -2
- package/dist/fn/ajax/link.js +8 -8
- package/dist/fn/ajax/post.js +3 -3
- package/dist/fn/ajax/postOut.js +3 -3
- package/dist/fn/ajax/setNavigationVars.js +4 -4
- package/dist/fn/ajax/treatAjaxArguments.js +4 -4
- package/dist/fn/ajax/upload.js +2 -2
- package/dist/fn/browser/copy.js +2 -2
- package/dist/fn/browser/error.js +1 -1
- package/dist/fn/browser/getEventData.js +2 -2
- package/dist/fn/browser/happy.js +1 -1
- package/dist/fn/browser/info.js +1 -1
- package/dist/fn/browser/isDesktopDevice.js +1 -1
- package/dist/fn/browser/isMobile.js +2 -2
- package/dist/fn/browser/isMobileDevice.js +1 -1
- package/dist/fn/browser/isTabletDevice.js +1 -1
- package/dist/fn/browser/log.js +1 -1
- package/dist/fn/browser/toggleFullScreen.js +1 -1
- package/dist/fn/browser/warning.js +1 -1
- package/dist/fn/convert/imgToBase64.js +1 -1
- package/dist/fn/convert/toCSV.js +3 -3
- package/dist/fn/datetime/calendar.js +4 -4
- package/dist/fn/datetime/chrono.js +1 -1
- package/dist/fn/datetime/date.js +3 -3
- package/dist/fn/datetime/dateSQL.js +1 -1
- package/dist/fn/datetime/daysInMonth.js +1 -1
- package/dist/fn/datetime/fdate.js +4 -4
- package/dist/fn/datetime/fdatetime.js +3 -3
- package/dist/fn/datetime/ftime.js +3 -3
- package/dist/fn/datetime/getDay.js +1 -1
- package/dist/fn/default/defaultAjaxAbortFunction.js +1 -1
- package/dist/fn/default/defaultAjaxErrorFunction.js +1 -1
- package/dist/fn/default/defaultConfirmFunction.js +1 -1
- package/dist/fn/default/defaultErrorFunction.js +1 -1
- package/dist/fn/default/defaultPreLinkFunction.js +1 -1
- package/dist/fn/form/addInputs.js +1 -1
- package/dist/fn/form/formdata.js +4 -4
- package/dist/fn/form/objectToFormData.js +5 -5
- package/dist/fn/form/submit.js +2 -2
- package/dist/fn/html/adjustHeight.js +2 -2
- package/dist/fn/html/adjustSize.js +1 -1
- package/dist/fn/html/adjustWidth.js +2 -2
- package/dist/fn/html/getAllTags.js +1 -1
- package/dist/fn/html/getAttributes.js +1 -1
- package/dist/fn/html/getHTMLOfSelection.js +1 -1
- package/dist/fn/html/getHtml.js +1 -1
- package/dist/fn/html/getPath.js +1 -1
- package/dist/fn/html/isInside.js +3 -3
- package/dist/fn/html/makeReactive.js +8 -8
- package/dist/fn/init.js +11 -11
- package/dist/fn/loop/each.js +3 -3
- package/dist/fn/loop/fori.js +2 -2
- package/dist/fn/loop/forir.js +2 -2
- package/dist/fn/loop/iterate.js +1 -1
- package/dist/fn/loop/riterate.js +1 -1
- package/dist/fn/misc/analyzeFunction.js +1 -1
- package/dist/fn/misc/money.js +1 -1
- package/dist/fn/misc/translate.js +1 -1
- package/dist/fn/object/_compareValues.js +4 -4
- package/dist/fn/object/arrayFromProp.js +2 -2
- package/dist/fn/object/autoExtend.js +1 -1
- package/dist/fn/object/checkProps.js +1 -1
- package/dist/fn/object/checkPropsDetails.js +4 -4
- package/dist/fn/object/checkPropsOrDie.js +1 -1
- package/dist/fn/object/circularReplacer.js +3 -3
- package/dist/fn/object/clone.js +3 -3
- package/dist/fn/object/compare.js +5 -5
- package/dist/fn/object/compareConditions.js +4 -4
- package/dist/fn/object/count.js +1 -1
- package/dist/fn/object/createObject.js +1 -1
- package/dist/fn/object/deepPath.js +3 -3
- package/dist/fn/object/deleteProp.js +1 -1
- package/dist/fn/object/diffObj.js +6 -6
- package/dist/fn/object/extend.js +4 -4
- package/dist/fn/object/extendOut.js +1 -1
- package/dist/fn/object/filter.js +3 -3
- package/dist/fn/object/filterToConditions.js +3 -3
- package/dist/fn/object/findAll.js +3 -3
- package/dist/fn/object/getField.js +1 -1
- package/dist/fn/object/getFieldValues.js +3 -3
- package/dist/fn/object/getProp.js +1 -1
- package/dist/fn/object/getRow.js +1 -1
- package/dist/fn/object/map.js +1 -1
- package/dist/fn/object/multiorder.js +1 -1
- package/dist/fn/object/order.js +1 -1
- package/dist/fn/object/removeEmpty.js +3 -3
- package/dist/fn/object/removePrivateProp.js +1 -1
- package/dist/fn/object/search.js +5 -5
- package/dist/fn/object/setProperty.js +1 -1
- package/dist/fn/object/shortenObj.js +4 -4
- package/dist/fn/object/sum.js +2 -2
- package/dist/fn/string/baseName.js +2 -2
- package/dist/fn/string/br2nl.js +1 -1
- package/dist/fn/string/dirName.js +2 -2
- package/dist/fn/string/escapeDquotes.js +1 -1
- package/dist/fn/string/escapeSquotes.js +1 -1
- package/dist/fn/string/escapeTicks.js +1 -1
- package/dist/fn/string/escapeUrl.js +4 -4
- package/dist/fn/string/fileExt.js +1 -1
- package/dist/fn/string/format.js +1 -1
- package/dist/fn/string/formatSize.js +2 -2
- package/dist/fn/string/hash.js +5 -5
- package/dist/fn/string/nl2br.js +1 -1
- package/dist/fn/string/quotes2html.js +1 -1
- package/dist/fn/string/randomString.js +1 -1
- package/dist/fn/string/removeAccents.js +2 -2
- package/dist/fn/string/removeHtmlComments.js +1 -1
- package/dist/fn/string/removeTrailingChars.js +1 -1
- package/dist/fn/string/replaceAll.js +2 -2
- package/dist/fn/string/sanitize.js +2 -2
- package/dist/fn/string/shorten.js +2 -2
- package/dist/fn/string/simpleHash.js +2 -2
- package/dist/fn/string/substr.js +3 -3
- package/dist/fn/string/trim.js +1 -1
- package/dist/fn/string/uniqString.js +3 -3
- package/dist/fn/style/addColors.js +2 -2
- package/dist/fn/style/addStyle.js +2 -2
- package/dist/fn/style/cssExists.js +2 -2
- package/dist/fn/style/outerHeight.js +1 -1
- package/dist/fn/style/outerWidth.js +1 -1
- package/dist/fn/style/resize.js +2 -2
- package/dist/fn/type/checkType.js +7 -7
- package/dist/fn/type/isColor.js +1 -1
- package/dist/fn/type/isCp.js +1 -1
- package/dist/fn/type/isDimension.js +1 -1
- package/dist/fn/type/isEmail.js +1 -1
- package/dist/fn/type/isEmpty.js +2 -2
- package/dist/fn/type/isHostname.js +2 -2
- package/dist/fn/type/isIP.js +1 -1
- package/dist/fn/type/isPropSize.js +1 -1
- package/dist/fn/type/isSame.js +2 -2
- package/dist/fn/type/isValidDimension.js +2 -2
- package/dist/fn/type/isValidName.js +1 -1
- package/dist/fn/type/isValue.js +1 -1
- package/dist/fn.d.ts +3 -3
- package/dist/fn.js +226 -226
- package/dist/index.js +7 -7
- package/package.json +3 -2
- package/dist/fn/_addLoader.d.ts +0 -2
- package/dist/fn/_addLoader.js +0 -37
- package/dist/fn/_compareValues.d.ts +0 -2
- package/dist/fn/_compareValues.js +0 -40
- package/dist/fn/_deleteLoader.d.ts +0 -2
- package/dist/fn/_deleteLoader.js +0 -25
- package/dist/fn/abort.d.ts +0 -2
- package/dist/fn/abort.js +0 -14
- package/dist/fn/abortURL.d.ts +0 -2
- package/dist/fn/abortURL.js +0 -13
- package/dist/fn/addColors.d.ts +0 -2
- package/dist/fn/addColors.js +0 -41
- package/dist/fn/addInputs.d.ts +0 -2
- package/dist/fn/addInputs.js +0 -40
- package/dist/fn/addStyle.d.ts +0 -2
- package/dist/fn/addStyle.js +0 -10
- package/dist/fn/adjustHeight.d.ts +0 -2
- package/dist/fn/adjustHeight.js +0 -10
- package/dist/fn/adjustSize.d.ts +0 -2
- package/dist/fn/adjustSize.js +0 -21
- package/dist/fn/adjustWidth.d.ts +0 -2
- package/dist/fn/adjustWidth.js +0 -10
- package/dist/fn/ajax.d.ts +0 -2
- package/dist/fn/ajax.js +0 -114
- package/dist/fn/analyzeFunction.d.ts +0 -11
- package/dist/fn/analyzeFunction.js +0 -141
- package/dist/fn/animateCss.d.ts +0 -2
- package/dist/fn/animateCss.js +0 -20
- package/dist/fn/arrayBuffer2String.d.ts +0 -2
- package/dist/fn/arrayBuffer2String.js +0 -4
- package/dist/fn/arrayFromProp.d.ts +0 -2
- package/dist/fn/arrayFromProp.js +0 -10
- package/dist/fn/autoExtend.d.ts +0 -2
- package/dist/fn/autoExtend.js +0 -13
- package/dist/fn/baseName.d.ts +0 -2
- package/dist/fn/baseName.js +0 -17
- package/dist/fn/br2nl.d.ts +0 -2
- package/dist/fn/br2nl.js +0 -5
- package/dist/fn/calendar.d.ts +0 -2
- package/dist/fn/calendar.js +0 -23
- package/dist/fn/callback.d.ts +0 -2
- package/dist/fn/callback.js +0 -82
- package/dist/fn/camelToCss.d.ts +0 -2
- package/dist/fn/camelToCss.js +0 -10
- package/dist/fn/camelize.d.ts +0 -2
- package/dist/fn/camelize.js +0 -9
- package/dist/fn/canvasToImage.d.ts +0 -2
- package/dist/fn/canvasToImage.js +0 -6
- package/dist/fn/center.d.ts +0 -2
- package/dist/fn/center.js +0 -24
- package/dist/fn/checkProps.d.ts +0 -2
- package/dist/fn/checkProps.js +0 -5
- package/dist/fn/checkPropsDetails.d.ts +0 -2
- package/dist/fn/checkPropsDetails.js +0 -50
- package/dist/fn/checkPropsOrDie.d.ts +0 -2
- package/dist/fn/checkPropsOrDie.js +0 -9
- package/dist/fn/checkType.d.ts +0 -2
- package/dist/fn/checkType.js +0 -59
- package/dist/fn/chrono.d.ts +0 -3
- package/dist/fn/chrono.js +0 -23
- package/dist/fn/circularReplacer.d.ts +0 -2
- package/dist/fn/circularReplacer.js +0 -33
- package/dist/fn/clone.d.ts +0 -2
- package/dist/fn/clone.js +0 -16
- package/dist/fn/colorToHex.d.ts +0 -2
- package/dist/fn/colorToHex.js +0 -6
- package/dist/fn/compare.d.ts +0 -2
- package/dist/fn/compare.js +0 -99
- package/dist/fn/compareConditions.d.ts +0 -2
- package/dist/fn/compareConditions.js +0 -42
- package/dist/fn/copy.d.ts +0 -2
- package/dist/fn/copy.js +0 -37
- package/dist/fn/correctCase.d.ts +0 -2
- package/dist/fn/correctCase.js +0 -4
- package/dist/fn/count.d.ts +0 -2
- package/dist/fn/count.js +0 -5
- package/dist/fn/crc32.d.ts +0 -2
- package/dist/fn/crc32.js +0 -18
- package/dist/fn/createObject.d.ts +0 -2
- package/dist/fn/createObject.js +0 -9
- package/dist/fn/cssExists.d.ts +0 -2
- package/dist/fn/cssExists.js +0 -30
- package/dist/fn/date.d.ts +0 -2
- package/dist/fn/date.js +0 -28
- package/dist/fn/dateSQL.d.ts +0 -2
- package/dist/fn/dateSQL.js +0 -8
- package/dist/fn/daysInMonth.d.ts +0 -2
- package/dist/fn/daysInMonth.js +0 -9
- package/dist/fn/deepPath.d.ts +0 -2
- package/dist/fn/deepPath.js +0 -23
- package/dist/fn/defaultAjaxAbortFunction.d.ts +0 -2
- package/dist/fn/defaultAjaxAbortFunction.js +0 -5
- package/dist/fn/defaultAjaxErrorFunction.d.ts +0 -2
- package/dist/fn/defaultAjaxErrorFunction.js +0 -4
- package/dist/fn/defaultAlertFunction.d.ts +0 -2
- package/dist/fn/defaultAlertFunction.js +0 -5
- package/dist/fn/defaultConfirmFunction.d.ts +0 -2
- package/dist/fn/defaultConfirmFunction.js +0 -14
- package/dist/fn/defaultEndLoadingFunction.d.ts +0 -2
- package/dist/fn/defaultEndLoadingFunction.js +0 -4
- package/dist/fn/defaultErrorFunction.d.ts +0 -2
- package/dist/fn/defaultErrorFunction.js +0 -5
- package/dist/fn/defaultHistoryFunction.d.ts +0 -2
- package/dist/fn/defaultHistoryFunction.js +0 -4
- package/dist/fn/defaultLinkFunction.d.ts +0 -2
- package/dist/fn/defaultLinkFunction.js +0 -4
- package/dist/fn/defaultPostLinkFunction.d.ts +0 -2
- package/dist/fn/defaultPostLinkFunction.js +0 -4
- package/dist/fn/defaultPreLinkFunction.d.ts +0 -2
- package/dist/fn/defaultPreLinkFunction.js +0 -4
- package/dist/fn/defaultResizeFunction.d.ts +0 -2
- package/dist/fn/defaultResizeFunction.js +0 -4
- package/dist/fn/defaultStartLoadingFunction.d.ts +0 -2
- package/dist/fn/defaultStartLoadingFunction.js +0 -4
- package/dist/fn/deleteProp.d.ts +0 -2
- package/dist/fn/deleteProp.js +0 -7
- package/dist/fn/diffObj.d.ts +0 -2
- package/dist/fn/diffObj.js +0 -91
- package/dist/fn/dirName.d.ts +0 -2
- package/dist/fn/dirName.js +0 -18
- package/dist/fn/download.d.ts +0 -2
- package/dist/fn/download.js +0 -36
- package/dist/fn/downloadContent.d.ts +0 -2
- package/dist/fn/downloadContent.js +0 -48
- package/dist/fn/each.d.ts +0 -2
- package/dist/fn/each.js +0 -23
- package/dist/fn/eraseCookie.d.ts +0 -2
- package/dist/fn/eraseCookie.js +0 -4
- package/dist/fn/error.d.ts +0 -2
- package/dist/fn/error.js +0 -17
- package/dist/fn/escapeDquotes.d.ts +0 -2
- package/dist/fn/escapeDquotes.js +0 -8
- package/dist/fn/escapeRegExp.d.ts +0 -2
- package/dist/fn/escapeRegExp.js +0 -4
- package/dist/fn/escapeSquotes.d.ts +0 -2
- package/dist/fn/escapeSquotes.js +0 -8
- package/dist/fn/escapeTicks.d.ts +0 -2
- package/dist/fn/escapeTicks.js +0 -8
- package/dist/fn/escapeUrl.d.ts +0 -2
- package/dist/fn/escapeUrl.js +0 -40
- package/dist/fn/extend.d.ts +0 -2
- package/dist/fn/extend.js +0 -71
- package/dist/fn/extendOut.d.ts +0 -2
- package/dist/fn/extendOut.js +0 -24
- package/dist/fn/fdate.d.ts +0 -2
- package/dist/fn/fdate.js +0 -19
- package/dist/fn/fdatetime.d.ts +0 -2
- package/dist/fn/fdatetime.js +0 -23
- package/dist/fn/fieldValue.d.ts +0 -2
- package/dist/fn/fieldValue.js +0 -24
- package/dist/fn/fileExt.d.ts +0 -2
- package/dist/fn/fileExt.js +0 -11
- package/dist/fn/filter.d.ts +0 -3
- package/dist/fn/filter.js +0 -47
- package/dist/fn/filterToConditions.d.ts +0 -11
- package/dist/fn/filterToConditions.js +0 -31
- package/dist/fn/findAll.d.ts +0 -2
- package/dist/fn/findAll.js +0 -18
- package/dist/fn/fori.d.ts +0 -2
- package/dist/fn/fori.js +0 -19
- package/dist/fn/forir.d.ts +0 -2
- package/dist/fn/forir.js +0 -19
- package/dist/fn/format.d.ts +0 -2
- package/dist/fn/format.js +0 -14
- package/dist/fn/formatBytes.d.ts +0 -2
- package/dist/fn/formatBytes.js +0 -8
- package/dist/fn/formatDate.d.ts +0 -2
- package/dist/fn/formatDate.js +0 -4
- package/dist/fn/formatSize.d.ts +0 -2
- package/dist/fn/formatSize.js +0 -12
- package/dist/fn/formdata.d.ts +0 -2
- package/dist/fn/formdata.js +0 -52
- package/dist/fn/fromXml.d.ts +0 -2
- package/dist/fn/fromXml.js +0 -44
- package/dist/fn/ftime.d.ts +0 -2
- package/dist/fn/ftime.js +0 -15
- package/dist/fn/getAllTags.d.ts +0 -2
- package/dist/fn/getAllTags.js +0 -5
- package/dist/fn/getAncestors.d.ts +0 -2
- package/dist/fn/getAncestors.js +0 -25
- package/dist/fn/getAttributes.d.ts +0 -2
- package/dist/fn/getAttributes.js +0 -12
- package/dist/fn/getBrowserName.d.ts +0 -2
- package/dist/fn/getBrowserName.js +0 -21
- package/dist/fn/getBrowserVersion.d.ts +0 -2
- package/dist/fn/getBrowserVersion.js +0 -22
- package/dist/fn/getCookie.d.ts +0 -2
- package/dist/fn/getCookie.js +0 -18
- package/dist/fn/getCssVar.d.ts +0 -2
- package/dist/fn/getCssVar.js +0 -7
- package/dist/fn/getDay.d.ts +0 -2
- package/dist/fn/getDay.js +0 -17
- package/dist/fn/getDeviceType.d.ts +0 -2
- package/dist/fn/getDeviceType.js +0 -11
- package/dist/fn/getEventData.d.ts +0 -2
- package/dist/fn/getEventData.js +0 -102
- package/dist/fn/getField.d.ts +0 -2
- package/dist/fn/getField.js +0 -9
- package/dist/fn/getFieldValues.d.ts +0 -2
- package/dist/fn/getFieldValues.js +0 -13
- package/dist/fn/getHTMLOfSelection.d.ts +0 -2
- package/dist/fn/getHTMLOfSelection.js +0 -18
- package/dist/fn/getHtml.d.ts +0 -2
- package/dist/fn/getHtml.js +0 -9
- package/dist/fn/getLoader.d.ts +0 -2
- package/dist/fn/getLoader.js +0 -9
- package/dist/fn/getPath.d.ts +0 -2
- package/dist/fn/getPath.js +0 -42
- package/dist/fn/getProp.d.ts +0 -2
- package/dist/fn/getProp.js +0 -7
- package/dist/fn/getProperty.d.ts +0 -2
- package/dist/fn/getProperty.js +0 -11
- package/dist/fn/getRequestId.d.ts +0 -2
- package/dist/fn/getRequestId.js +0 -14
- package/dist/fn/getRow.d.ts +0 -2
- package/dist/fn/getRow.js +0 -9
- package/dist/fn/getScrollBarSize.d.ts +0 -2
- package/dist/fn/getScrollBarSize.js +0 -25
- package/dist/fn/getText.d.ts +0 -2
- package/dist/fn/getText.js +0 -4
- package/dist/fn/getTimeoff.d.ts +0 -2
- package/dist/fn/getTimeoff.js +0 -7
- package/dist/fn/happy.d.ts +0 -2
- package/dist/fn/happy.js +0 -10
- package/dist/fn/hash.d.ts +0 -2
- package/dist/fn/hash.js +0 -36
- package/dist/fn/hex2rgb.d.ts +0 -6
- package/dist/fn/hex2rgb.js +0 -11
- package/dist/fn/history.d.ts +0 -2
- package/dist/fn/history.js +0 -4
- package/dist/fn/html2text.d.ts +0 -2
- package/dist/fn/html2text.js +0 -7
- package/dist/fn/imageToCanvas.d.ts +0 -2
- package/dist/fn/imageToCanvas.js +0 -8
- package/dist/fn/imgToBase64.d.ts +0 -2
- package/dist/fn/imgToBase64.js +0 -7
- package/dist/fn/info.d.ts +0 -2
- package/dist/fn/info.js +0 -11
- package/dist/fn/isActiveInterface.d.ts +0 -2
- package/dist/fn/isActiveInterface.js +0 -8
- package/dist/fn/isArray.d.ts +0 -2
- package/dist/fn/isArray.js +0 -11
- package/dist/fn/isBlob.d.ts +0 -2
- package/dist/fn/isBlob.js +0 -11
- package/dist/fn/isBoolean.d.ts +0 -2
- package/dist/fn/isBoolean.js +0 -11
- package/dist/fn/isCanvas.d.ts +0 -2
- package/dist/fn/isCanvas.js +0 -11
- package/dist/fn/isColor.d.ts +0 -2
- package/dist/fn/isColor.js +0 -16
- package/dist/fn/isComment.d.ts +0 -2
- package/dist/fn/isComment.js +0 -11
- package/dist/fn/isCp.d.ts +0 -2
- package/dist/fn/isCp.js +0 -17
- package/dist/fn/isDate.d.ts +0 -2
- package/dist/fn/isDate.js +0 -11
- package/dist/fn/isDesktopDevice.d.ts +0 -2
- package/dist/fn/isDesktopDevice.js +0 -5
- package/dist/fn/isDimension.d.ts +0 -2
- package/dist/fn/isDimension.js +0 -15
- package/dist/fn/isDom.d.ts +0 -2
- package/dist/fn/isDom.js +0 -11
- package/dist/fn/isEmail.d.ts +0 -2
- package/dist/fn/isEmail.js +0 -16
- package/dist/fn/isEmpty.d.ts +0 -2
- package/dist/fn/isEmpty.js +0 -18
- package/dist/fn/isEvent.d.ts +0 -2
- package/dist/fn/isEvent.js +0 -11
- package/dist/fn/isFocused.d.ts +0 -2
- package/dist/fn/isFocused.js +0 -4
- package/dist/fn/isFunction.d.ts +0 -2
- package/dist/fn/isFunction.js +0 -11
- package/dist/fn/isHostname.d.ts +0 -2
- package/dist/fn/isHostname.js +0 -16
- package/dist/fn/isIP.d.ts +0 -2
- package/dist/fn/isIP.js +0 -12
- package/dist/fn/isInside.d.ts +0 -2
- package/dist/fn/isInside.js +0 -23
- package/dist/fn/isInt.d.ts +0 -2
- package/dist/fn/isInt.js +0 -11
- package/dist/fn/isIterable.d.ts +0 -2
- package/dist/fn/isIterable.js +0 -4
- package/dist/fn/isMobile.d.ts +0 -2
- package/dist/fn/isMobile.js +0 -6
- package/dist/fn/isMobileDevice.d.ts +0 -2
- package/dist/fn/isMobileDevice.js +0 -5
- package/dist/fn/isNull.d.ts +0 -2
- package/dist/fn/isNull.js +0 -11
- package/dist/fn/isNumber.d.ts +0 -2
- package/dist/fn/isNumber.js +0 -11
- package/dist/fn/isObject.d.ts +0 -2
- package/dist/fn/isObject.js +0 -11
- package/dist/fn/isPercent.d.ts +0 -2
- package/dist/fn/isPercent.js +0 -11
- package/dist/fn/isPrimitive.d.ts +0 -2
- package/dist/fn/isPrimitive.js +0 -11
- package/dist/fn/isPromise.d.ts +0 -2
- package/dist/fn/isPromise.js +0 -11
- package/dist/fn/isPropSize.d.ts +0 -2
- package/dist/fn/isPropSize.js +0 -12
- package/dist/fn/isSQLDate.d.ts +0 -2
- package/dist/fn/isSQLDate.js +0 -12
- package/dist/fn/isSame.d.ts +0 -2
- package/dist/fn/isSame.js +0 -33
- package/dist/fn/isString.d.ts +0 -2
- package/dist/fn/isString.js +0 -11
- package/dist/fn/isSymbol.d.ts +0 -2
- package/dist/fn/isSymbol.js +0 -11
- package/dist/fn/isTabletDevice.d.ts +0 -2
- package/dist/fn/isTabletDevice.js +0 -5
- package/dist/fn/isURL.d.ts +0 -2
- package/dist/fn/isURL.js +0 -11
- package/dist/fn/isValidDimension.d.ts +0 -2
- package/dist/fn/isValidDimension.js +0 -13
- package/dist/fn/isValidName.d.ts +0 -2
- package/dist/fn/isValidName.js +0 -13
- package/dist/fn/isValue.d.ts +0 -2
- package/dist/fn/isValue.js +0 -12
- package/dist/fn/isVue.d.ts +0 -2
- package/dist/fn/isVue.js +0 -26
- package/dist/fn/iterate.d.ts +0 -2
- package/dist/fn/iterate.js +0 -16
- package/dist/fn/lightenDarkenHex.d.ts +0 -2
- package/dist/fn/lightenDarkenHex.js +0 -27
- package/dist/fn/link.d.ts +0 -2
- package/dist/fn/link.js +0 -105
- package/dist/fn/log.d.ts +0 -2
- package/dist/fn/log.js +0 -33
- package/dist/fn/makeReactive.d.ts +0 -2
- package/dist/fn/makeReactive.js +0 -185
- package/dist/fn/map.d.ts +0 -2
- package/dist/fn/map.js +0 -11
- package/dist/fn/md5.d.ts +0 -2
- package/dist/fn/md5.js +0 -121
- package/dist/fn/money.d.ts +0 -2
- package/dist/fn/money.js +0 -101
- package/dist/fn/move.d.ts +0 -2
- package/dist/fn/move.js +0 -11
- package/dist/fn/multiorder.d.ts +0 -2
- package/dist/fn/multiorder.js +0 -22
- package/dist/fn/nl2br.d.ts +0 -2
- package/dist/fn/nl2br.js +0 -5
- package/dist/fn/numProperties.d.ts +0 -2
- package/dist/fn/numProperties.js +0 -7
- package/dist/fn/objectToFormData.d.ts +0 -2
- package/dist/fn/objectToFormData.js +0 -35
- package/dist/fn/order.d.ts +0 -2
- package/dist/fn/order.js +0 -10
- package/dist/fn/outerHeight.d.ts +0 -2
- package/dist/fn/outerHeight.js +0 -10
- package/dist/fn/outerWidth.d.ts +0 -2
- package/dist/fn/outerWidth.js +0 -8
- package/dist/fn/percent.d.ts +0 -2
- package/dist/fn/percent.js +0 -4
- package/dist/fn/pickValue.d.ts +0 -2
- package/dist/fn/pickValue.js +0 -6
- package/dist/fn/post.d.ts +0 -2
- package/dist/fn/post.js +0 -12
- package/dist/fn/postOut.d.ts +0 -2
- package/dist/fn/postOut.js +0 -30
- package/dist/fn/printf.d.ts +0 -2
- package/dist/fn/printf.js +0 -7
- package/dist/fn/quotes2html.d.ts +0 -2
- package/dist/fn/quotes2html.js +0 -11
- package/dist/fn/randomInt.d.ts +0 -2
- package/dist/fn/randomInt.js +0 -4
- package/dist/fn/randomString.d.ts +0 -2
- package/dist/fn/randomString.js +0 -46
- package/dist/fn/removeAccents.d.ts +0 -2
- package/dist/fn/removeAccents.js +0 -15
- package/dist/fn/removeEmpty.d.ts +0 -2
- package/dist/fn/removeEmpty.js +0 -31
- package/dist/fn/removeExtraSpaces.d.ts +0 -2
- package/dist/fn/removeExtraSpaces.js +0 -4
- package/dist/fn/removeHtmlComments.d.ts +0 -2
- package/dist/fn/removeHtmlComments.js +0 -8
- package/dist/fn/removePrivateProp.d.ts +0 -2
- package/dist/fn/removePrivateProp.js +0 -19
- package/dist/fn/removeTrailingChars.d.ts +0 -2
- package/dist/fn/removeTrailingChars.js +0 -16
- package/dist/fn/repeat.d.ts +0 -2
- package/dist/fn/repeat.js +0 -4
- package/dist/fn/replaceAll.d.ts +0 -2
- package/dist/fn/replaceAll.js +0 -6
- package/dist/fn/replaceSelection.d.ts +0 -2
- package/dist/fn/replaceSelection.js +0 -42
- package/dist/fn/resize.d.ts +0 -2
- package/dist/fn/resize.js +0 -39
- package/dist/fn/rgb2hex.d.ts +0 -2
- package/dist/fn/rgb2hex.js +0 -10
- package/dist/fn/riterate.d.ts +0 -2
- package/dist/fn/riterate.js +0 -5
- package/dist/fn/roundDecimal.d.ts +0 -2
- package/dist/fn/roundDecimal.js +0 -4
- package/dist/fn/sanitize.d.ts +0 -2
- package/dist/fn/sanitize.js +0 -19
- package/dist/fn/search.d.ts +0 -3
- package/dist/fn/search.js +0 -79
- package/dist/fn/selectElementText.d.ts +0 -2
- package/dist/fn/selectElementText.js +0 -23
- package/dist/fn/selector.d.ts +0 -2
- package/dist/fn/selector.js +0 -4
- package/dist/fn/setCookie.d.ts +0 -2
- package/dist/fn/setCookie.js +0 -11
- package/dist/fn/setCssVar.d.ts +0 -2
- package/dist/fn/setCssVar.js +0 -8
- package/dist/fn/setNavigationVars.d.ts +0 -2
- package/dist/fn/setNavigationVars.js +0 -57
- package/dist/fn/setProp.d.ts +0 -2
- package/dist/fn/setProp.js +0 -8
- package/dist/fn/setProperty.d.ts +0 -2
- package/dist/fn/setProperty.js +0 -22
- package/dist/fn/shorten.d.ts +0 -2
- package/dist/fn/shorten.js +0 -17
- package/dist/fn/shortenObj.d.ts +0 -2
- package/dist/fn/shortenObj.js +0 -17
- package/dist/fn/shuffle.d.ts +0 -2
- package/dist/fn/shuffle.js +0 -13
- package/dist/fn/simpleHash.d.ts +0 -2
- package/dist/fn/simpleHash.js +0 -8
- package/dist/fn/simpleHash1.d.ts +0 -2
- package/dist/fn/simpleHash1.js +0 -10
- package/dist/fn/simpleHash2.d.ts +0 -2
- package/dist/fn/simpleHash2.js +0 -10
- package/dist/fn/stat.d.ts +0 -2
- package/dist/fn/stat.js +0 -49
- package/dist/fn/string2ArrayBuffer.d.ts +0 -2
- package/dist/fn/string2ArrayBuffer.js +0 -9
- package/dist/fn/submit.d.ts +0 -2
- package/dist/fn/submit.js +0 -33
- package/dist/fn/substr.d.ts +0 -2
- package/dist/fn/substr.js +0 -17
- package/dist/fn/sum.d.ts +0 -2
- package/dist/fn/sum.js +0 -13
- package/dist/fn/timestamp.d.ts +0 -2
- package/dist/fn/timestamp.js +0 -5
- package/dist/fn/toCSV.d.ts +0 -2
- package/dist/fn/toCSV.js +0 -40
- package/dist/fn/toggleFullScreen.d.ts +0 -2
- package/dist/fn/toggleFullScreen.js +0 -39
- package/dist/fn/translate.d.ts +0 -2
- package/dist/fn/translate.js +0 -8
- package/dist/fn/treatAjaxArguments.d.ts +0 -2
- package/dist/fn/treatAjaxArguments.js +0 -76
- package/dist/fn/trim.d.ts +0 -2
- package/dist/fn/trim.js +0 -20
- package/dist/fn/uniqString.d.ts +0 -2
- package/dist/fn/uniqString.js +0 -33
- package/dist/fn/unique.d.ts +0 -2
- package/dist/fn/unique.js +0 -6
- package/dist/fn/upload.d.ts +0 -2
- package/dist/fn/upload.js +0 -36
- package/dist/fn/warning.d.ts +0 -2
- package/dist/fn/warning.js +0 -12
package/dist/fn/init.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { substr } from "./string/substr";
|
|
2
|
-
import { each } from "./loop/each";
|
|
3
|
-
import { extend } from "./object/extend";
|
|
4
|
-
import { addColors } from "./style/addColors";
|
|
5
|
-
import { link } from "./ajax/link";
|
|
6
|
-
import { submit } from "./form/submit";
|
|
7
|
-
import { resize } from "./style/resize";
|
|
8
|
-
import { isMobile } from "./browser/isMobile";
|
|
9
|
-
import { isTabletDevice } from "./browser/isTabletDevice";
|
|
10
|
-
import { isFunction } from "./type/isFunction";
|
|
11
|
-
import { log } from "./browser/log";
|
|
1
|
+
import { substr } from "./string/substr.js";
|
|
2
|
+
import { each } from "./loop/each.js";
|
|
3
|
+
import { extend } from "./object/extend.js";
|
|
4
|
+
import { addColors } from "./style/addColors.js";
|
|
5
|
+
import { link } from "./ajax/link.js";
|
|
6
|
+
import { submit } from "./form/submit.js";
|
|
7
|
+
import { resize } from "./style/resize.js";
|
|
8
|
+
import { isMobile } from "./browser/isMobile.js";
|
|
9
|
+
import { isTabletDevice } from "./browser/isTabletDevice.js";
|
|
10
|
+
import { isFunction } from "./type/isFunction.js";
|
|
11
|
+
import { log } from "./browser/log.js";
|
|
12
12
|
/**
|
|
13
13
|
* Initializes the library bbn basing on the given configuration object.
|
|
14
14
|
* - Gives to the environment the dimension of the window.innerWidth and window.innerHeight
|
package/dist/fn/loop/each.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isNumber } from "../type/isNumber";
|
|
2
|
-
import { isIterable } from "../type/isIterable";
|
|
3
|
-
import { iterate } from "./iterate";
|
|
1
|
+
import { isNumber } from "../type/isNumber.js";
|
|
2
|
+
import { isIterable } from "../type/isIterable.js";
|
|
3
|
+
import { iterate } from "./iterate.js";
|
|
4
4
|
/**
|
|
5
5
|
* Executes the provided function on each element of the given array.
|
|
6
6
|
*
|
package/dist/fn/loop/fori.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isArray } from "../type/isArray";
|
|
2
|
-
import { isNumber } from "../type/isNumber";
|
|
1
|
+
import { isArray } from "../type/isArray.js";
|
|
2
|
+
import { isNumber } from "../type/isNumber.js";
|
|
3
3
|
/**
|
|
4
4
|
* Executes the provided function on each element of the given array.
|
|
5
5
|
*
|
package/dist/fn/loop/forir.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isArray } from "../type/isArray";
|
|
2
|
-
import { isNumber } from "../type/isNumber";
|
|
1
|
+
import { isArray } from "../type/isArray.js";
|
|
2
|
+
import { isNumber } from "../type/isNumber.js";
|
|
3
3
|
/**
|
|
4
4
|
* Executes the provided function on each element of the given array, going backward.
|
|
5
5
|
*
|
package/dist/fn/loop/iterate.js
CHANGED
package/dist/fn/loop/riterate.js
CHANGED
package/dist/fn/misc/money.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getProperty } from "./getProperty";
|
|
2
|
-
import { isString } from "../type/isString";
|
|
3
|
-
import { removeAccents } from "../string/removeAccents";
|
|
4
|
-
import { isDate } from "../type/isDate";
|
|
1
|
+
import { getProperty } from "./getProperty.js";
|
|
2
|
+
import { isString } from "../type/isString.js";
|
|
3
|
+
import { removeAccents } from "../string/removeAccents.js";
|
|
4
|
+
import { isDate } from "../type/isDate.js";
|
|
5
5
|
/**
|
|
6
6
|
* Compares the given property in the given objects and returns -1, 1, or 0 depending on their difference.
|
|
7
7
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { each } from "../loop/each";
|
|
2
|
-
import { getProperty } from "./getProperty";
|
|
1
|
+
import { each } from "../loop/each.js";
|
|
2
|
+
import { getProperty } from "./getProperty.js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates and returns a new array made of the given property's values from the given array of objects.
|
|
5
5
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isArray } from "../type/isArray";
|
|
2
|
-
import { isObject } from "../type/isObject";
|
|
3
|
-
import { each } from "../loop/each";
|
|
4
|
-
import { substr } from "../string/substr";
|
|
1
|
+
import { isArray } from "../type/isArray.js";
|
|
2
|
+
import { isObject } from "../type/isObject.js";
|
|
3
|
+
import { each } from "../loop/each.js";
|
|
4
|
+
import { substr } from "../string/substr.js";
|
|
5
5
|
const checkPropsDetails = function (obj, props, checkEmpty = false) {
|
|
6
6
|
let res = {
|
|
7
7
|
error: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isDom } from "../type/isDom";
|
|
2
|
-
import { isCp } from "../type/isCp";
|
|
3
|
-
import { log } from "../browser/log";
|
|
1
|
+
import { isDom } from "../type/isDom.js";
|
|
2
|
+
import { isCp } from "../type/isCp.js";
|
|
3
|
+
import { log } from "../browser/log.js";
|
|
4
4
|
/**
|
|
5
5
|
* Returns a function to give to JSON.stringify in order to avoid circular values.
|
|
6
6
|
*
|
package/dist/fn/object/clone.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isArray } from "../type/isArray";
|
|
2
|
-
import { isObject } from "../type/isObject";
|
|
3
|
-
import { extend } from "./extend";
|
|
1
|
+
import { isArray } from "../type/isArray.js";
|
|
2
|
+
import { isObject } from "../type/isObject.js";
|
|
3
|
+
import { extend } from "./extend.js";
|
|
4
4
|
/**
|
|
5
5
|
* Creates and returns a perfect clone - but different - from the given object.
|
|
6
6
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { isEmpty } from
|
|
2
|
-
import { removeAccents } from
|
|
3
|
-
import { isNull } from
|
|
4
|
-
import { isObject } from
|
|
5
|
-
import { isSame } from
|
|
1
|
+
import { isEmpty } from "../type/isEmpty.js";
|
|
2
|
+
import { removeAccents } from "../string/removeAccents.js";
|
|
3
|
+
import { isNull } from "../type/isNull.js";
|
|
4
|
+
import { isObject } from "../type/isObject.js";
|
|
5
|
+
import { isSame } from "../type/isSame.js";
|
|
6
6
|
/**
|
|
7
7
|
* Performs a comparison between two values based on the given operator and returns a boolean.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isArray } from "../type/isArray";
|
|
2
|
-
import { each } from "../loop/each";
|
|
3
|
-
import { compare } from "./compare";
|
|
4
|
-
import { getProperty } from "./getProperty";
|
|
1
|
+
import { isArray } from "../type/isArray.js";
|
|
2
|
+
import { each } from "../loop/each.js";
|
|
3
|
+
import { compare } from "./compare.js";
|
|
4
|
+
import { getProperty } from "./getProperty.js";
|
|
5
5
|
/**
|
|
6
6
|
* Checks whether the given data object complies or not with the given filter.
|
|
7
7
|
*
|
package/dist/fn/object/count.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { search } from
|
|
2
|
-
import { each } from
|
|
3
|
-
import { isArray } from
|
|
1
|
+
import { search } from "./search.js";
|
|
2
|
+
import { each } from "../loop/each.js";
|
|
3
|
+
import { isArray } from "../type/isArray.js";
|
|
4
4
|
/**
|
|
5
5
|
* Retrieves all elements of a hierarchical array corresponding to the filter.
|
|
6
6
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { isDate } from
|
|
2
|
-
import { createObject } from
|
|
3
|
-
import { isFunction } from
|
|
4
|
-
import { isValue } from
|
|
5
|
-
import { isDom } from
|
|
6
|
-
import { numProperties } from
|
|
1
|
+
import { isDate } from "../type/isDate.js";
|
|
2
|
+
import { createObject } from "./createObject.js";
|
|
3
|
+
import { isFunction } from "../type/isFunction.js";
|
|
4
|
+
import { isValue } from "../type/isValue.js";
|
|
5
|
+
import { isDom } from "../type/isDom.js";
|
|
6
|
+
import { numProperties } from "./numProperties.js";
|
|
7
7
|
let diffObjProcessed = [];
|
|
8
8
|
/**
|
|
9
9
|
* Returns an object describing the differences for transforming the first given object into the second.
|
package/dist/fn/object/extend.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { iterate } from "../loop/iterate";
|
|
2
|
-
import { isArray } from "../type/isArray";
|
|
3
|
-
import { each } from "../loop/each";
|
|
4
|
-
import { isObject } from "../type/isObject";
|
|
1
|
+
import { iterate } from "../loop/iterate.js";
|
|
2
|
+
import { isArray } from "../type/isArray.js";
|
|
3
|
+
import { each } from "../loop/each.js";
|
|
4
|
+
import { isObject } from "../type/isObject.js";
|
|
5
5
|
/**
|
|
6
6
|
* Merges the contents of two or more objects together into the first object.
|
|
7
7
|
*
|
package/dist/fn/object/filter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isArray } from
|
|
2
|
-
import { each } from
|
|
1
|
+
import { isArray } from "../type/isArray.js";
|
|
2
|
+
import { each } from "../loop/each.js";
|
|
3
3
|
import { filterToConditions } from './filterToConditions';
|
|
4
|
-
import { compareConditions } from
|
|
4
|
+
import { compareConditions } from "./compareConditions.js";
|
|
5
5
|
/**
|
|
6
6
|
* Returns a new array with only the data matching the given filter.
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isObject } from "../type/isObject";
|
|
2
|
-
import { isArray } from "../type/isArray";
|
|
3
|
-
import { iterate } from "../loop/iterate";
|
|
1
|
+
import { isObject } from "../type/isObject.js";
|
|
2
|
+
import { isArray } from "../type/isArray.js";
|
|
3
|
+
import { iterate } from "../loop/iterate.js";
|
|
4
4
|
/**
|
|
5
5
|
* Converts the given object 'filter' to a valid format of condition.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { search } from
|
|
2
|
-
import { each } from
|
|
3
|
-
import { isArray } from
|
|
1
|
+
import { search } from "./search.js";
|
|
2
|
+
import { each } from "../loop/each.js";
|
|
3
|
+
import { isArray } from "../type/isArray.js";
|
|
4
4
|
/**
|
|
5
5
|
* Retrieves all elements of a hierarchical array corresponding to the filter.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { checkType } from
|
|
2
|
-
import { filter } from
|
|
3
|
-
import { each } from
|
|
1
|
+
import { checkType } from "../type/checkType.js";
|
|
2
|
+
import { filter } from "./filter.js";
|
|
3
|
+
import { each } from "../loop/each.js";
|
|
4
4
|
/**
|
|
5
5
|
* Returns all the unique values of the given field (property) from the first object matching the given filter in an array.
|
|
6
6
|
*
|
package/dist/fn/object/getRow.js
CHANGED
package/dist/fn/object/map.js
CHANGED
package/dist/fn/object/order.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isArray } from "../type/isArray";
|
|
2
|
-
import { isObject } from "../type/isObject";
|
|
3
|
-
import { numProperties } from "./numProperties";
|
|
1
|
+
import { isArray } from "../type/isArray.js";
|
|
2
|
+
import { isObject } from "../type/isObject.js";
|
|
3
|
+
import { numProperties } from "./numProperties.js";
|
|
4
4
|
/**
|
|
5
5
|
* Returns a new array, having removed all elements deemed empty from the given array.
|
|
6
6
|
*
|
package/dist/fn/object/search.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { isIterable } from
|
|
2
|
-
import { compareConditions } from
|
|
1
|
+
import { isIterable } from "../type/isIterable.js";
|
|
2
|
+
import { compareConditions } from "./compareConditions.js";
|
|
3
3
|
import { filterToConditions } from './filterToConditions';
|
|
4
|
-
import { isObject } from
|
|
5
|
-
import { numProperties } from
|
|
6
|
-
import { isNumber } from
|
|
4
|
+
import { isObject } from "../type/isObject.js";
|
|
5
|
+
import { numProperties } from "./numProperties.js";
|
|
6
|
+
import { isNumber } from "../type/isNumber.js";
|
|
7
7
|
/**
|
|
8
8
|
* Retrieves the index of the array's first element corresponding to the given filter.
|
|
9
9
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { clone } from "./clone";
|
|
2
|
-
import { each } from "../loop/each";
|
|
3
|
-
import { isString } from "../type/isString";
|
|
4
|
-
import { shorten } from "../string/shorten";
|
|
1
|
+
import { clone } from "./clone.js";
|
|
2
|
+
import { each } from "../loop/each.js";
|
|
3
|
+
import { isString } from "../type/isString.js";
|
|
4
|
+
import { shorten } from "../string/shorten.js";
|
|
5
5
|
/**
|
|
6
6
|
* Shortens all the strings contained in the object properties or element in a array.
|
|
7
7
|
*
|
package/dist/fn/object/sum.js
CHANGED
package/dist/fn/string/br2nl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isString } from "../type/isString";
|
|
2
|
-
import { substr } from "./substr";
|
|
1
|
+
import { isString } from "../type/isString.js";
|
|
2
|
+
import { substr } from "./substr.js";
|
|
3
3
|
/**
|
|
4
4
|
* Returns the path of the folder containing the last hierarchical element of the path.
|
|
5
5
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { each } from "../loop/each";
|
|
2
|
-
import { dirName } from "./dirName";
|
|
3
|
-
import { baseName } from "./baseName";
|
|
4
|
-
import { isString } from "../type/isString";
|
|
1
|
+
import { each } from "../loop/each.js";
|
|
2
|
+
import { dirName } from "./dirName.js";
|
|
3
|
+
import { baseName } from "./baseName.js";
|
|
4
|
+
import { isString } from "../type/isString.js";
|
|
5
5
|
/**
|
|
6
6
|
* Escapes a URL or a file path, optionally adding parameters (get type, to append to the URL without the first separator).
|
|
7
7
|
*
|
package/dist/fn/string/format.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isNumber } from
|
|
2
|
-
import { isString } from
|
|
1
|
+
import { isNumber } from "../type/isNumber.js";
|
|
2
|
+
import { isString } from "../type/isString.js";
|
|
3
3
|
const formatSize = function (st, noValid) {
|
|
4
4
|
if (isNumber(st)) {
|
|
5
5
|
return st + 'px';
|
package/dist/fn/string/hash.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { log } from "../browser/log";
|
|
2
|
-
import { isDom } from "../type/isDom";
|
|
3
|
-
import { isCp } from "../type/isCp";
|
|
4
|
-
import { circularReplacer } from "../object/circularReplacer";
|
|
5
|
-
import { simpleHash } from "./simpleHash";
|
|
1
|
+
import { log } from "../browser/log.js";
|
|
2
|
+
import { isDom } from "../type/isDom.js";
|
|
3
|
+
import { isCp } from "../type/isCp.js";
|
|
4
|
+
import { circularReplacer } from "../object/circularReplacer.js";
|
|
5
|
+
import { simpleHash } from "./simpleHash.js";
|
|
6
6
|
/**
|
|
7
7
|
* Makes a hash out of anything
|
|
8
8
|
* @param {Object|Array} obj
|
package/dist/fn/string/nl2br.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { simpleHash1 } from
|
|
2
|
-
import { simpleHash2 } from
|
|
1
|
+
import { simpleHash1 } from "./simpleHash1.js";
|
|
2
|
+
import { simpleHash2 } from "./simpleHash2.js";
|
|
3
3
|
const simpleHash = function (str) {
|
|
4
4
|
const part1 = simpleHash1(str).toString(16).padStart(8, '0');
|
|
5
5
|
const part2 = simpleHash2(str).toString(16).padStart(8, '0');
|