@bbn/bbn 1.0.117 → 1.0.118
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-webpack.js +13609 -0
- package/dist/bundle-webpack.js.map +1 -0
- package/dist/bundle.js +13374 -9875
- package/dist/bundle.js.map +1 -0
- 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 +6 -6
- package/dist/fn/datetime/chrono.js +1 -1
- package/dist/fn/datetime/date.js +3 -3
- package/dist/fn/datetime/dateSQL.js +2 -2
- 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.d.ts +1 -1
- package/dist/fn/object/filter.js +4 -4
- 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.d.ts +1 -1
- package/dist/fn/object/search.js +6 -6
- 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 +227 -227
- package/dist/index.js +786 -783
- package/package.json +5 -3
package/dist/db.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ } from
|
|
2
|
-
import { each } from
|
|
3
|
-
import { iterate } from
|
|
4
|
-
import { log } from
|
|
1
|
+
import { _ } from './_';
|
|
2
|
+
import { each } from './fn/loop/each';
|
|
3
|
+
import { iterate } from './fn/loop/iterate';
|
|
4
|
+
import { log } from './fn/browser/log';
|
|
5
5
|
const idb = window['indexedDB'] || window['webkitIndexedDB'] || window['mozIndexedDB'] || window['OIndexedDB'] || window['msIndexedDB'];
|
|
6
6
|
const dbObject = function (dbName) {
|
|
7
7
|
const conn = db._connections[dbName];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { search } from
|
|
2
|
-
import { getRow } from
|
|
3
|
-
import { isObject } from
|
|
1
|
+
import { search } from '../object/search';
|
|
2
|
+
import { getRow } from '../object/getRow';
|
|
3
|
+
import { isObject } from '../type/isObject';
|
|
4
4
|
/**
|
|
5
5
|
* Deletes a loader and changes its history state after the promise is fullfilled.
|
|
6
6
|
*
|
package/dist/fn/ajax/abort.js
CHANGED
package/dist/fn/ajax/abortURL.js
CHANGED
package/dist/fn/ajax/ajax.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { isObject } from
|
|
2
|
-
import { replaceAll } from
|
|
3
|
-
import { getRequestId } from
|
|
4
|
-
import { getLoader } from
|
|
5
|
-
import { extend } from
|
|
6
|
-
import { numProperties } from
|
|
7
|
-
import { _deleteLoader } from
|
|
8
|
-
import { isFunction } from
|
|
9
|
-
import { _addLoader } from
|
|
1
|
+
import { isObject } from '../type/isObject';
|
|
2
|
+
import { replaceAll } from '../string/replaceAll';
|
|
3
|
+
import { getRequestId } from './getRequestId';
|
|
4
|
+
import { getLoader } from './getLoader';
|
|
5
|
+
import { extend } from '../object/extend';
|
|
6
|
+
import { numProperties } from '../object/numProperties';
|
|
7
|
+
import { _deleteLoader } from './_deleteLoader';
|
|
8
|
+
import { isFunction } from '../type/isFunction';
|
|
9
|
+
import { _addLoader } from './_addLoader';
|
|
10
10
|
/**
|
|
11
11
|
* Creates an XHR object and returns the Promise.
|
|
12
12
|
*
|
package/dist/fn/ajax/callback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { error } from
|
|
2
|
-
import { isFunction } from
|
|
3
|
-
import { log } from
|
|
1
|
+
import { error } from '../browser/error';
|
|
2
|
+
import { isFunction } from '../type/isFunction';
|
|
3
|
+
import { log } from '../browser/log';
|
|
4
4
|
/**
|
|
5
5
|
* Executes a serie of predefined actions once an Ajax request has been done.
|
|
6
6
|
*
|
package/dist/fn/ajax/download.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ajax } from
|
|
2
|
-
import { substr } from
|
|
3
|
-
import { baseName } from
|
|
4
|
-
import { isBlob } from
|
|
5
|
-
import { fileExt } from
|
|
6
|
-
import { downloadContent } from
|
|
1
|
+
import { ajax } from './ajax';
|
|
2
|
+
import { substr } from '../string/substr';
|
|
3
|
+
import { baseName } from '../string/baseName';
|
|
4
|
+
import { isBlob } from '../type/isBlob';
|
|
5
|
+
import { fileExt } from '../string/fileExt';
|
|
6
|
+
import { downloadContent } from './downloadContent';
|
|
7
7
|
/**
|
|
8
8
|
* Downloads a file with given filename from a URL.
|
|
9
9
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isCanvas } from
|
|
2
|
-
import { isObject } from
|
|
3
|
-
import { isString } from
|
|
4
|
-
import { log } from
|
|
1
|
+
import { isCanvas } from '../type/isCanvas';
|
|
2
|
+
import { isObject } from '../type/isObject';
|
|
3
|
+
import { isString } from '../type/isString';
|
|
4
|
+
import { log } from '../browser/log';
|
|
5
5
|
/**
|
|
6
6
|
* Downloads a file with given filename from the given content.
|
|
7
7
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { iterate } from
|
|
2
|
-
import { md5 } from
|
|
1
|
+
import { iterate } from '../loop/iterate';
|
|
2
|
+
import { md5 } from '../string/md5';
|
|
3
3
|
/**
|
|
4
4
|
* Returns a unique ID for a "loader" based on the URL, the data keys and the datatype.
|
|
5
5
|
*
|
package/dist/fn/ajax/link.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { treatAjaxArguments } from
|
|
2
|
-
import { getLoader } from
|
|
3
|
-
import { ajax } from
|
|
4
|
-
import { log } from
|
|
5
|
-
import { extend } from
|
|
6
|
-
import { isObject } from
|
|
7
|
-
import { callback } from
|
|
8
|
-
import { setNavigationVars } from
|
|
1
|
+
import { treatAjaxArguments } from './treatAjaxArguments';
|
|
2
|
+
import { getLoader } from './getLoader';
|
|
3
|
+
import { ajax } from './ajax';
|
|
4
|
+
import { log } from '../browser/log';
|
|
5
|
+
import { extend } from '../object/extend';
|
|
6
|
+
import { isObject } from '../type/isObject';
|
|
7
|
+
import { callback } from './callback';
|
|
8
|
+
import { setNavigationVars } from './setNavigationVars';
|
|
9
9
|
/**
|
|
10
10
|
* Follows a link and if needed by sending the corresponding Ajax request and executing bbn.fn.defaultPreLinkFunction.
|
|
11
11
|
*
|
package/dist/fn/ajax/post.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { treatAjaxArguments } from
|
|
2
|
-
import { ajax } from
|
|
3
|
-
import { callback } from
|
|
1
|
+
import { treatAjaxArguments } from './treatAjaxArguments';
|
|
2
|
+
import { ajax } from './ajax';
|
|
3
|
+
import { callback } from './callback';
|
|
4
4
|
/**
|
|
5
5
|
* Creates a POST XHR through bbn.fn.ajax then launches bbn.fn.callback with the result.
|
|
6
6
|
*
|
package/dist/fn/ajax/postOut.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createObject } from
|
|
2
|
-
import { addInputs } from
|
|
3
|
-
import { setProperty } from
|
|
1
|
+
import { createObject } from '../object/createObject';
|
|
2
|
+
import { addInputs } from '../form/addInputs';
|
|
3
|
+
import { setProperty } from '../object/setProperty';
|
|
4
4
|
/**
|
|
5
5
|
* Posts a request in a new window.
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { substr } from
|
|
2
|
-
import { filter } from
|
|
3
|
-
import { extend } from
|
|
4
|
-
import { html2text } from
|
|
1
|
+
import { substr } from '../string/substr';
|
|
2
|
+
import { filter } from '../object/filter';
|
|
3
|
+
import { extend } from '../object/extend';
|
|
4
|
+
import { html2text } from '../html/html2text';
|
|
5
5
|
/**
|
|
6
6
|
* Changes the URL and the associated variables and updates the history.
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isObject } from
|
|
2
|
-
import { isFunction } from
|
|
3
|
-
import { substr } from
|
|
4
|
-
import { numProperties } from
|
|
1
|
+
import { isObject } from '../type/isObject';
|
|
2
|
+
import { isFunction } from '../type/isFunction';
|
|
3
|
+
import { substr } from '../string/substr';
|
|
4
|
+
import { numProperties } from '../object/numProperties';
|
|
5
5
|
/**
|
|
6
6
|
* Transforms unordered arguments into a configuratiuon object for Ajax shortcut functions.
|
|
7
7
|
*
|
package/dist/fn/ajax/upload.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { objectToFormData } from
|
|
2
|
-
import { log } from
|
|
1
|
+
import { objectToFormData } from '../form/objectToFormData';
|
|
2
|
+
import { log } from '../browser/log';
|
|
3
3
|
/**
|
|
4
4
|
* Uploads a file synchronously through an XHR indicating progress.
|
|
5
5
|
*
|
package/dist/fn/browser/copy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isObject } from
|
|
2
|
-
import { isFunction } from
|
|
1
|
+
import { isObject } from '../type/isObject';
|
|
2
|
+
import { isFunction } from '../type/isFunction';
|
|
3
3
|
/**
|
|
4
4
|
* Copies to the clipboard the value of the given string.
|
|
5
5
|
* @method copy
|
package/dist/fn/browser/error.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getHTMLOfSelection } from
|
|
2
|
-
import { each } from
|
|
1
|
+
import { getHTMLOfSelection } from '../html/getHTMLOfSelection';
|
|
2
|
+
import { each } from '../loop/each';
|
|
3
3
|
/**
|
|
4
4
|
* Returns a promise having the event's data as argument.
|
|
5
5
|
* @method getEventData
|
package/dist/fn/browser/happy.js
CHANGED
package/dist/fn/browser/info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isMobileDevice } from
|
|
2
|
-
import { isTabletDevice } from
|
|
1
|
+
import { isMobileDevice } from './isMobileDevice';
|
|
2
|
+
import { isTabletDevice } from './isTabletDevice';
|
|
3
3
|
/**
|
|
4
4
|
* Returns true if the current browser is on a mobile device (smartphone or tablet).
|
|
5
5
|
* @method isMobile
|
package/dist/fn/browser/log.js
CHANGED
package/dist/fn/convert/toCSV.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { each } from
|
|
2
|
-
import { isArray } from
|
|
3
|
-
import { replaceAll } from
|
|
1
|
+
import { each } from '../loop/each';
|
|
2
|
+
import { isArray } from '../type/isArray';
|
|
3
|
+
import { replaceAll } from '../string/replaceAll';
|
|
4
4
|
/**
|
|
5
5
|
* Returns a CSV string from the given array of arrays or objects.
|
|
6
6
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { fdate } from
|
|
4
|
-
import { date } from
|
|
5
|
-
import { isDate } from
|
|
6
|
-
import { isString } from
|
|
1
|
+
const dayjs = require('dayjs');
|
|
2
|
+
const dayjs_plugin_calendar = require('dayjs/plugin/calendar');
|
|
3
|
+
import { fdate } from './fdate';
|
|
4
|
+
import { date } from './date';
|
|
5
|
+
import { isDate } from '../type/isDate';
|
|
6
|
+
import { isString } from '../type/isString';
|
|
7
7
|
const bbn = {
|
|
8
8
|
_: st => st
|
|
9
9
|
};
|
package/dist/fn/datetime/date.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isNumber } from
|
|
2
|
-
import { substr } from
|
|
3
|
-
import { isDate } from
|
|
1
|
+
import { isNumber } from '../type/isNumber';
|
|
2
|
+
import { substr } from '../string/substr';
|
|
3
|
+
import { isDate } from '../type/isDate';
|
|
4
4
|
/**
|
|
5
5
|
* Returns a date object from the given argument.
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { fdatetime } from
|
|
2
|
-
import { date } from
|
|
3
|
-
import { isDate } from
|
|
4
|
-
import { isString } from
|
|
1
|
+
import { fdatetime } from './fdatetime';
|
|
2
|
+
import { date } from './date';
|
|
3
|
+
import { isDate } from '../type/isDate';
|
|
4
|
+
import { isString } from '../type/isString';
|
|
5
5
|
/**
|
|
6
6
|
* @method fdate
|
|
7
7
|
* @todo Add method description for fdate
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { date } from
|
|
2
|
-
import { isDate } from
|
|
3
|
-
import { isString } from
|
|
1
|
+
import { date } from './date';
|
|
2
|
+
import { isDate } from '../type/isDate';
|
|
3
|
+
import { isString } from '../type/isString';
|
|
4
4
|
/**
|
|
5
5
|
* @method fdatetime
|
|
6
6
|
* @todo Add method description for fdatetime
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { date } from
|
|
2
|
-
import { isDate } from
|
|
3
|
-
import { isString } from
|
|
1
|
+
import { date } from './date';
|
|
2
|
+
import { isDate } from '../type/isDate';
|
|
3
|
+
import { isString } from '../type/isString';
|
|
4
4
|
/**
|
|
5
5
|
* @method ftime
|
|
6
6
|
* @todo Add method description for ftime
|
package/dist/fn/form/formdata.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { each } from
|
|
2
|
-
import { fieldValue } from
|
|
3
|
-
import { replaceAll } from
|
|
4
|
-
import { substr } from
|
|
1
|
+
import { each } from '../loop/each';
|
|
2
|
+
import { fieldValue } from './fieldValue';
|
|
3
|
+
import { replaceAll } from '../string/replaceAll';
|
|
4
|
+
import { substr } from '../string/substr';
|
|
5
5
|
/**
|
|
6
6
|
* Returns all the data contained in a form as a single object.
|
|
7
7
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { isArray } from
|
|
2
|
-
import { each } from
|
|
3
|
-
import { isObject } from
|
|
4
|
-
import { iterate } from
|
|
5
|
-
import { isNull } from
|
|
1
|
+
import { isArray } from '../type/isArray';
|
|
2
|
+
import { each } from '../loop/each';
|
|
3
|
+
import { isObject } from '../type/isObject';
|
|
4
|
+
import { iterate } from '../loop/iterate';
|
|
5
|
+
import { isNull } from '../type/isNull';
|
|
6
6
|
/**
|
|
7
7
|
* @method objectToFormData
|
|
8
8
|
* @todo Add method description for objectToFormData
|
package/dist/fn/form/submit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isIterable } from
|
|
2
|
-
import { adjustSize } from
|
|
1
|
+
import { isIterable } from '../type/isIterable';
|
|
2
|
+
import { adjustSize } from './adjustSize';
|
|
3
3
|
const adjustHeight = function () {
|
|
4
4
|
let args = arguments;
|
|
5
5
|
if (args.length === 1 && isIterable(args[0])) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isIterable } from
|
|
2
|
-
import { adjustSize } from
|
|
1
|
+
import { isIterable } from '../type/isIterable';
|
|
2
|
+
import { adjustSize } from './adjustSize';
|
|
3
3
|
const adjustWidth = function () {
|
|
4
4
|
let args = arguments;
|
|
5
5
|
if (args.length === 1 && isIterable(args[0])) {
|
package/dist/fn/html/getHtml.js
CHANGED
package/dist/fn/html/getPath.js
CHANGED
package/dist/fn/html/isInside.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getAncestors } from
|
|
2
|
-
import { isString } from
|
|
3
|
-
import { each } from
|
|
1
|
+
import { getAncestors } from './getAncestors';
|
|
2
|
+
import { isString } from '../type/isString';
|
|
3
|
+
import { each } from '../loop/each';
|
|
4
4
|
const isInside = function (ele, ancestor) {
|
|
5
5
|
let ancestors = getAncestors(ele);
|
|
6
6
|
if (ancestors.length) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { log } from
|
|
2
|
-
import { createObject } from
|
|
3
|
-
import { isSymbol } from
|
|
4
|
-
import { isNumber } from
|
|
5
|
-
import { isArray } from
|
|
6
|
-
import { warning } from
|
|
7
|
-
import { isFunction } from
|
|
8
|
-
import { isSame } from
|
|
1
|
+
import { log } from '../browser/log';
|
|
2
|
+
import { createObject } from '../object/createObject';
|
|
3
|
+
import { isSymbol } from '../type/isSymbol';
|
|
4
|
+
import { isNumber } from '../type/isNumber';
|
|
5
|
+
import { isArray } from '../type/isArray';
|
|
6
|
+
import { warning } from '../browser/warning';
|
|
7
|
+
import { isFunction } from '../type/isFunction';
|
|
8
|
+
import { isSame } from '../type/isSame';
|
|
9
9
|
const makeReactive = function (obj, onSet, parent, parentProp) {
|
|
10
10
|
const parentString = (parent === null || parent === void 0 ? void 0 : parent.$cid) || '';
|
|
11
11
|
const prefix = '__bbn_' + (parentString ? parentString + '_' : '');
|