@bbn/bbn 1.0.90 → 1.0.92

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 (150) hide show
  1. package/dist/_.js +1 -1
  2. package/dist/bundle.js +772 -772
  3. package/dist/db.js +4 -4
  4. package/dist/fn/ajax/_addLoader.js +1 -1
  5. package/dist/fn/ajax/_deleteLoader.js +3 -3
  6. package/dist/fn/ajax/abort.js +1 -1
  7. package/dist/fn/ajax/abortURL.js +2 -2
  8. package/dist/fn/ajax/ajax.js +9 -9
  9. package/dist/fn/ajax/callback.js +3 -3
  10. package/dist/fn/ajax/download.js +6 -6
  11. package/dist/fn/ajax/downloadContent.js +4 -4
  12. package/dist/fn/ajax/getLoader.js +1 -1
  13. package/dist/fn/ajax/getRequestId.js +2 -2
  14. package/dist/fn/ajax/link.js +8 -8
  15. package/dist/fn/ajax/post.js +3 -3
  16. package/dist/fn/ajax/postOut.js +3 -3
  17. package/dist/fn/ajax/setNavigationVars.js +4 -4
  18. package/dist/fn/ajax/treatAjaxArguments.js +4 -4
  19. package/dist/fn/ajax/upload.js +2 -2
  20. package/dist/fn/browser/copy.js +2 -2
  21. package/dist/fn/browser/error.js +1 -1
  22. package/dist/fn/browser/getEventData.js +2 -2
  23. package/dist/fn/browser/happy.js +1 -1
  24. package/dist/fn/browser/info.js +1 -1
  25. package/dist/fn/browser/isDesktopDevice.js +1 -1
  26. package/dist/fn/browser/isMobile.js +2 -2
  27. package/dist/fn/browser/isMobileDevice.js +1 -1
  28. package/dist/fn/browser/isTabletDevice.js +1 -1
  29. package/dist/fn/browser/log.js +1 -1
  30. package/dist/fn/browser/toggleFullScreen.js +1 -1
  31. package/dist/fn/browser/warning.js +1 -1
  32. package/dist/fn/convert/imgToBase64.js +1 -1
  33. package/dist/fn/convert/toCSV.js +3 -3
  34. package/dist/fn/datetime/calendar.js +4 -4
  35. package/dist/fn/datetime/chrono.js +1 -1
  36. package/dist/fn/datetime/date.js +3 -3
  37. package/dist/fn/datetime/dateSQL.js +1 -1
  38. package/dist/fn/datetime/daysInMonth.js +1 -1
  39. package/dist/fn/datetime/fdate.js +4 -4
  40. package/dist/fn/datetime/fdatetime.js +3 -3
  41. package/dist/fn/datetime/ftime.js +3 -3
  42. package/dist/fn/datetime/getDay.js +1 -1
  43. package/dist/fn/default/defaultAjaxAbortFunction.js +1 -1
  44. package/dist/fn/default/defaultAjaxErrorFunction.js +1 -1
  45. package/dist/fn/default/defaultConfirmFunction.js +1 -1
  46. package/dist/fn/default/defaultErrorFunction.js +1 -1
  47. package/dist/fn/default/defaultPreLinkFunction.js +1 -1
  48. package/dist/fn/form/addInputs.js +1 -1
  49. package/dist/fn/form/formdata.js +4 -4
  50. package/dist/fn/form/objectToFormData.js +5 -5
  51. package/dist/fn/form/submit.js +2 -2
  52. package/dist/fn/html/adjustHeight.js +2 -2
  53. package/dist/fn/html/adjustSize.js +1 -1
  54. package/dist/fn/html/adjustWidth.js +2 -2
  55. package/dist/fn/html/getAllTags.js +1 -1
  56. package/dist/fn/html/getAttributes.js +1 -1
  57. package/dist/fn/html/getHTMLOfSelection.js +1 -1
  58. package/dist/fn/html/getHtml.js +1 -1
  59. package/dist/fn/html/getPath.js +1 -1
  60. package/dist/fn/html/isInside.js +3 -3
  61. package/dist/fn/html/makeReactive.js +8 -8
  62. package/dist/fn/init.js +11 -11
  63. package/dist/fn/loop/each.js +3 -3
  64. package/dist/fn/loop/fori.js +2 -2
  65. package/dist/fn/loop/forir.js +2 -2
  66. package/dist/fn/loop/iterate.js +1 -1
  67. package/dist/fn/loop/riterate.js +1 -1
  68. package/dist/fn/misc/analyzeFunction.js +1 -1
  69. package/dist/fn/misc/money.js +1 -1
  70. package/dist/fn/misc/translate.js +1 -1
  71. package/dist/fn/object/_compareValues.js +4 -4
  72. package/dist/fn/object/arrayFromProp.js +2 -2
  73. package/dist/fn/object/autoExtend.js +1 -1
  74. package/dist/fn/object/checkProps.js +1 -1
  75. package/dist/fn/object/checkPropsDetails.js +4 -4
  76. package/dist/fn/object/checkPropsOrDie.js +1 -1
  77. package/dist/fn/object/circularReplacer.js +3 -3
  78. package/dist/fn/object/clone.js +3 -3
  79. package/dist/fn/object/compare.js +5 -5
  80. package/dist/fn/object/compareConditions.js +4 -4
  81. package/dist/fn/object/count.js +1 -1
  82. package/dist/fn/object/createObject.js +1 -1
  83. package/dist/fn/object/deepPath.js +3 -3
  84. package/dist/fn/object/deleteProp.js +1 -1
  85. package/dist/fn/object/diffObj.js +6 -6
  86. package/dist/fn/object/extend.js +4 -4
  87. package/dist/fn/object/extendOut.js +1 -1
  88. package/dist/fn/object/filter.js +3 -3
  89. package/dist/fn/object/filterToConditions.js +3 -3
  90. package/dist/fn/object/findAll.js +3 -3
  91. package/dist/fn/object/getField.js +1 -1
  92. package/dist/fn/object/getFieldValues.js +3 -3
  93. package/dist/fn/object/getProp.js +1 -1
  94. package/dist/fn/object/getRow.js +1 -1
  95. package/dist/fn/object/map.js +1 -1
  96. package/dist/fn/object/multiorder.js +1 -1
  97. package/dist/fn/object/order.js +1 -1
  98. package/dist/fn/object/removeEmpty.js +3 -3
  99. package/dist/fn/object/removePrivateProp.js +1 -1
  100. package/dist/fn/object/search.js +5 -5
  101. package/dist/fn/object/setProperty.js +1 -1
  102. package/dist/fn/object/shortenObj.js +4 -4
  103. package/dist/fn/object/sum.js +2 -2
  104. package/dist/fn/string/baseName.js +2 -2
  105. package/dist/fn/string/br2nl.js +1 -1
  106. package/dist/fn/string/dirName.js +2 -2
  107. package/dist/fn/string/escapeDquotes.js +1 -1
  108. package/dist/fn/string/escapeSquotes.js +1 -1
  109. package/dist/fn/string/escapeTicks.js +1 -1
  110. package/dist/fn/string/escapeUrl.js +4 -4
  111. package/dist/fn/string/fileExt.js +1 -1
  112. package/dist/fn/string/format.js +1 -1
  113. package/dist/fn/string/formatSize.js +2 -2
  114. package/dist/fn/string/hash.js +5 -5
  115. package/dist/fn/string/nl2br.js +1 -1
  116. package/dist/fn/string/quotes2html.js +1 -1
  117. package/dist/fn/string/randomString.js +1 -1
  118. package/dist/fn/string/removeAccents.js +2 -2
  119. package/dist/fn/string/removeHtmlComments.js +1 -1
  120. package/dist/fn/string/removeTrailingChars.js +1 -1
  121. package/dist/fn/string/replaceAll.js +2 -2
  122. package/dist/fn/string/sanitize.js +2 -2
  123. package/dist/fn/string/shorten.js +2 -2
  124. package/dist/fn/string/simpleHash.js +2 -2
  125. package/dist/fn/string/substr.js +3 -3
  126. package/dist/fn/string/trim.js +1 -1
  127. package/dist/fn/string/uniqString.js +3 -3
  128. package/dist/fn/style/addColors.js +2 -2
  129. package/dist/fn/style/addStyle.js +2 -2
  130. package/dist/fn/style/cssExists.js +2 -2
  131. package/dist/fn/style/outerHeight.js +1 -1
  132. package/dist/fn/style/outerWidth.js +1 -1
  133. package/dist/fn/style/resize.js +2 -2
  134. package/dist/fn/type/checkType.js +7 -7
  135. package/dist/fn/type/isColor.js +1 -1
  136. package/dist/fn/type/isCp.js +1 -1
  137. package/dist/fn/type/isDimension.js +1 -1
  138. package/dist/fn/type/isEmail.js +1 -1
  139. package/dist/fn/type/isEmpty.js +2 -2
  140. package/dist/fn/type/isHostname.js +2 -2
  141. package/dist/fn/type/isIP.js +1 -1
  142. package/dist/fn/type/isPropSize.js +1 -1
  143. package/dist/fn/type/isSame.js +2 -2
  144. package/dist/fn/type/isValidDimension.js +2 -2
  145. package/dist/fn/type/isValidName.js +1 -1
  146. package/dist/fn/type/isValue.js +1 -1
  147. package/dist/fn.d.ts +3 -3
  148. package/dist/fn.js +227 -227
  149. package/dist/index.js +6 -6
  150. package/package.json +1 -1
package/dist/fn.js CHANGED
@@ -1,230 +1,230 @@
1
- import { _addLoader } from './fn/ajax/_addLoader';
2
- import { _compareValues } from './fn/object/_compareValues';
3
- import { _deleteLoader } from './fn/ajax/_deleteLoader';
4
- import { abort } from './fn/ajax/abort';
5
- import { abortURL } from './fn/ajax/abortURL';
6
- import { addColors } from './fn/style/addColors';
7
- import { addInputs } from './fn/form/addInputs';
8
- import { addStyle } from './fn/style/addStyle';
9
- import { adjustHeight } from './fn/html/adjustHeight';
10
- import { adjustSize } from './fn/html/adjustSize';
11
- import { adjustWidth } from './fn/html/adjustWidth';
12
- import { ajax } from './fn/ajax/ajax';
13
- import { analyzeFunction } from './fn/misc/analyzeFunction';
14
- import { animateCss } from './fn/style/animateCss';
15
- import { arrayBuffer2String } from './fn/convert/arrayBuffer2String';
16
- import { arrayFromProp } from './fn/object/arrayFromProp';
17
- import { autoExtend } from './fn/object/autoExtend';
18
- import { baseName } from './fn/string/baseName';
19
- import { br2nl } from './fn/string/br2nl';
20
- import { calendar } from './fn/datetime/calendar';
21
- import { callback } from './fn/ajax/callback';
22
- import { camelize } from './fn/string/camelize';
23
- import { camelToCss } from './fn/string/camelToCss';
24
- import { canvasToImage } from './fn/convert/canvasToImage';
25
- import { center } from './fn/style/center';
26
- import { checkProps } from './fn/object/checkProps';
27
- import { checkPropsDetails } from './fn/object/checkPropsDetails';
28
- import { checkPropsOrDie } from './fn/object/checkPropsOrDie';
29
- import { checkType } from './fn/type/checkType';
30
- import { circularReplacer } from './fn/object/circularReplacer';
31
- import { clone } from './fn/object/clone';
32
- import { colorToHex } from './fn/convert/colorToHex';
33
- import { compare } from './fn/object/compare';
34
- import { compareConditions } from './fn/object/compareConditions';
35
- import { copy } from './fn/browser/copy';
36
- import { correctCase } from './fn/string/correctCase';
37
- import { count } from './fn/object/count';
38
- import { crc32 } from './fn/string/crc32';
39
- import { createObject } from './fn/object/createObject';
40
- import { cssExists } from './fn/style/cssExists';
41
- import { date } from './fn/datetime/date';
42
- import { dateSQL } from './fn/datetime/dateSQL';
43
- import { daysInMonth } from './fn/datetime/daysInMonth';
44
- import { deepPath } from './fn/object/deepPath';
45
- import { defaultAjaxAbortFunction } from './fn/default/defaultAjaxAbortFunction';
46
- import { defaultAjaxErrorFunction } from './fn/default/defaultAjaxErrorFunction';
47
- import { defaultAlertFunction } from './fn/default/defaultAlertFunction';
48
- import { defaultConfirmFunction } from './fn/default/defaultConfirmFunction';
49
- import { defaultEndLoadingFunction } from './fn/default/defaultEndLoadingFunction';
50
- import { defaultErrorFunction } from './fn/default/defaultErrorFunction';
51
- import { defaultHistoryFunction } from './fn/default/defaultHistoryFunction';
52
- import { defaultLinkFunction } from './fn/default/defaultLinkFunction';
53
- import { defaultPostLinkFunction } from './fn/default/defaultPostLinkFunction';
54
- import { defaultPreLinkFunction } from './fn/default/defaultPreLinkFunction';
55
- import { defaultResizeFunction } from './fn/default/defaultResizeFunction';
56
- import { defaultStartLoadingFunction } from './fn/default/defaultStartLoadingFunction';
57
- import { deleteProp } from './fn/object/deleteProp';
58
- import { diffObj } from './fn/object/diffObj';
59
- import { dirName } from './fn/string/dirName';
60
- import { download } from './fn/ajax/download';
61
- import { downloadContent } from './fn/ajax/downloadContent';
62
- import { each } from './fn/loop/each';
63
- import { eraseCookie } from './fn/browser/eraseCookie';
64
- import { error } from './fn/browser/error';
65
- import { escapeDquotes } from './fn/string/escapeDquotes';
66
- import { escapeRegExp } from './fn/string/escapeRegExp';
67
- import { escapeSquotes } from './fn/string/escapeSquotes';
68
- import { escapeTicks } from './fn/string/escapeTicks';
69
- import { escapeUrl } from './fn/string/escapeUrl';
70
- import { extend } from './fn/object/extend';
71
- import { extendOut } from './fn/object/extendOut';
72
- import { fdate } from './fn/datetime/fdate';
73
- import { fdatetime } from './fn/datetime/fdatetime';
74
- import { fieldValue } from './fn/form/fieldValue';
75
- import { fileExt } from './fn/string/fileExt';
76
- import { filter } from './fn/object/filter';
77
- import { filterToConditions } from './fn/object/filterToConditions';
78
- import { findAll } from './fn/object/findAll';
79
- import { fori } from './fn/loop/fori';
80
- import { forir } from './fn/loop/forir';
81
- import { format } from './fn/string/format';
82
- import { formatBytes } from './fn/string/formatBytes';
83
- import { formatDate } from './fn/datetime/formatDate';
84
- import { formatSize } from './fn/string/formatSize';
85
- import { formdata } from './fn/form/formdata';
86
- import { fromXml } from './fn/convert/fromXml';
87
- import { ftime } from './fn/datetime/ftime';
88
- import { getAllTags } from './fn/html/getAllTags';
89
- import { getAncestors } from './fn/html/getAncestors';
90
- import { getAttributes } from './fn/html/getAttributes';
91
- import { getBrowserName } from './fn/browser/getBrowserName';
92
- import { getBrowserVersion } from './fn/browser/getBrowserVersion';
93
- import { getCookie } from './fn/browser/getCookie';
94
- import { getCssVar } from './fn/style/getCssVar';
95
- import { getDay } from './fn/datetime/getDay';
96
- import { getDeviceType } from './fn/browser/getDeviceType';
97
- import { getEventData } from './fn/browser/getEventData';
98
- import { getField } from './fn/object/getField';
99
- import { getFieldValues } from './fn/object/getFieldValues';
100
- import { getHtml } from './fn/html/getHtml';
101
- import { getHTMLOfSelection } from './fn/html/getHTMLOfSelection';
102
- import { getLoader } from './fn/ajax/getLoader';
103
- import { getPath } from './fn/html/getPath';
104
- import { getProp } from './fn/object/getProp';
105
- import { getProperty } from './fn/object/getProperty';
106
- import { getRequestId } from './fn/ajax/getRequestId';
107
- import { getRow } from './fn/object/getRow';
108
- import { getScrollBarSize } from './fn/style/getScrollBarSize';
109
- import { getText } from './fn/html/getText';
110
- import { getTimeoff } from './fn/misc/getTimeoff';
111
- import { happy } from './fn/browser/happy';
112
- import { hash } from './fn/string/hash';
113
- import { hex2rgb } from './fn/convert/hex2rgb';
114
- import { history } from './fn/browser/history';
115
- import { html2text } from './fn/html/html2text';
116
- import { imageToCanvas } from './fn/convert/imageToCanvas';
117
- import { imgToBase64 } from './fn/convert/imgToBase64';
118
- import { info } from './fn/browser/info';
119
- import { init } from './fn/init';
120
- import { isActiveInterface } from './fn/browser/isActiveInterface';
121
- import { isArray } from './fn/type/isArray';
122
- import { isBlob } from './fn/type/isBlob';
123
- import { isBoolean } from './fn/type/isBoolean';
124
- import { isCanvas } from './fn/type/isCanvas';
125
- import { isColor } from './fn/type/isColor';
126
- import { isComment } from './fn/type/isComment';
127
- import { isCp } from './fn/type/isCp';
128
- import { isDate } from './fn/type/isDate';
129
- import { isDesktopDevice } from './fn/browser/isDesktopDevice';
130
- import { isDimension } from './fn/type/isDimension';
131
- import { isDom } from './fn/type/isDom';
132
- import { isEmail } from './fn/type/isEmail';
133
- import { isEmpty } from './fn/type/isEmpty';
134
- import { isEvent } from './fn/type/isEvent';
135
- import { isFocused } from './fn/browser/isFocused';
136
- import { isFunction } from './fn/type/isFunction';
137
- import { isHostname } from './fn/type/isHostname';
138
- import { isInside } from './fn/html/isInside';
139
- import { isInt } from './fn/type/isInt';
140
- import { isIP } from './fn/type/isIP';
141
- import { isIterable } from './fn/type/isIterable';
142
- import { isMobile } from './fn/browser/isMobile';
143
- import { isMobileDevice } from './fn/browser/isMobileDevice';
144
- import { isNull } from './fn/type/isNull';
145
- import { isNumber } from './fn/type/isNumber';
146
- import { isObject } from './fn/type/isObject';
147
- import { isPercent } from './fn/type/isPercent';
148
- import { isPrimitive } from './fn/type/isPrimitive';
149
- import { isPromise } from './fn/type/isPromise';
150
- import { isPropSize } from './fn/type/isPropSize';
151
- import { isSame } from './fn/type/isSame';
152
- import { isSQLDate } from './fn/type/isSQLDate';
153
- import { isString } from './fn/type/isString';
154
- import { isSymbol } from './fn/type/isSymbol';
155
- import { isTabletDevice } from './fn/browser/isTabletDevice';
156
- import { isURL } from './fn/type/isURL';
157
- import { isValidDimension } from './fn/type/isValidDimension';
158
- import { isValidName } from './fn/type/isValidName';
159
- import { isValue } from './fn/type/isValue';
160
- import { isVue } from './fn/type/isVue';
161
- import { iterate } from './fn/loop/iterate';
162
- import { lightenDarkenHex } from './fn/style/lightenDarkenHex';
163
- import { link } from './fn/ajax/link';
164
- import { log } from './fn/browser/log';
165
- import { makeReactive } from './fn/html/makeReactive';
166
- import { map } from './fn/object/map';
167
- import { md5 } from './fn/string/md5';
168
- import { money } from './fn/misc/money';
169
- import { move } from './fn/object/move';
170
- import { multiorder } from './fn/object/multiorder';
171
- import { nl2br } from './fn/string/nl2br';
172
- import { numProperties } from './fn/object/numProperties';
173
- import { objectToFormData } from './fn/form/objectToFormData';
174
- import { order } from './fn/object/order';
175
- import { outerHeight } from './fn/style/outerHeight';
176
- import { outerWidth } from './fn/style/outerWidth';
177
- import { percent } from './fn/misc/percent';
178
- import { pickValue } from './fn/object/pickValue';
179
- import { post } from './fn/ajax/post';
180
- import { postOut } from './fn/ajax/postOut';
181
- import { printf } from './fn/string/printf';
182
- import { quotes2html } from './fn/string/quotes2html';
183
- import { randomInt } from './fn/misc/randomInt';
184
- import { randomString } from './fn/string/randomString';
185
- import { removeAccents } from './fn/string/removeAccents';
186
- import { removeEmpty } from './fn/object/removeEmpty';
187
- import { removeExtraSpaces } from './fn/string/removeExtraSpaces';
188
- import { removeHtmlComments } from './fn/string/removeHtmlComments';
189
- import { removePrivateProp } from './fn/object/removePrivateProp';
190
- import { removeTrailingChars } from './fn/string/removeTrailingChars';
191
- import { repeat } from './fn/string/repeat';
192
- import { replaceAll } from './fn/string/replaceAll';
193
- import { replaceSelection } from './fn/browser/replaceSelection';
194
- import { resize } from './fn/style/resize';
195
- import { rgb2hex } from './fn/convert/rgb2hex';
196
- import { riterate } from './fn/loop/riterate';
197
- import { roundDecimal } from './fn/misc/roundDecimal';
198
- import { sanitize } from './fn/string/sanitize';
199
- import { search } from './fn/object/search';
200
- import { selectElementText } from './fn/browser/selectElementText';
201
- import { selector } from './fn/html/selector';
202
- import { setCookie } from './fn/browser/setCookie';
203
- import { setCssVar } from './fn/style/setCssVar';
204
- import { setNavigationVars } from './fn/ajax/setNavigationVars';
205
- import { setProp } from './fn/object/setProp';
206
- import { setProperty } from './fn/object/setProperty';
207
- import { shorten } from './fn/string/shorten';
208
- import { shortenObj } from './fn/object/shortenObj';
209
- import { shuffle } from './fn/object/shuffle';
210
- import { simpleHash } from './fn/string/simpleHash';
211
- import { simpleHash1 } from './fn/string/simpleHash1';
212
- import { simpleHash2 } from './fn/string/simpleHash2';
213
- import { startChrono, stopChrono } from './fn/datetime/chrono';
214
- import { string2ArrayBuffer } from './fn/convert/string2ArrayBuffer';
215
- import { submit } from './fn/form/submit';
216
- import { substr } from './fn/string/substr';
217
- import { sum } from './fn/object/sum';
218
- import { timestamp } from './fn/datetime/timestamp';
219
- import { toCSV } from './fn/convert/toCSV';
220
- import { toggleFullScreen } from './fn/browser/toggleFullScreen';
221
- import { translate } from './fn/misc/translate';
222
- import { treatAjaxArguments } from './fn/ajax/treatAjaxArguments';
223
- import { trim } from './fn/string/trim';
224
- import { uniqString } from './fn/string/uniqString';
225
- import { unique } from './fn/object/unique';
226
- import { upload } from './fn/ajax/upload';
227
- import { warning } from './fn/browser/warning';
1
+ import { _addLoader } from "./fn/ajax/_addLoader.js";
2
+ import { _compareValues } from "./fn/object/_compareValues.js";
3
+ import { _deleteLoader } from "./fn/ajax/_deleteLoader.js";
4
+ import { abort } from "./fn/ajax/abort.js";
5
+ import { abortURL } from "./fn/ajax/abortURL.js";
6
+ import { addColors } from "./fn/style/addColors.js";
7
+ import { addInputs } from "./fn/form/addInputs.js";
8
+ import { addStyle } from "./fn/style/addStyle.js";
9
+ import { adjustHeight } from "./fn/html/adjustHeight.js";
10
+ import { adjustSize } from "./fn/html/adjustSize.js";
11
+ import { adjustWidth } from "./fn/html/adjustWidth.js";
12
+ import { ajax } from "./fn/ajax/ajax.js";
13
+ import { analyzeFunction } from "./fn/misc/analyzeFunction.js";
14
+ import { animateCss } from "./fn/style/animateCss.js";
15
+ import { arrayBuffer2String } from "./fn/convert/arrayBuffer2String.js";
16
+ import { arrayFromProp } from "./fn/object/arrayFromProp.js";
17
+ import { autoExtend } from "./fn/object/autoExtend.js";
18
+ import { baseName } from "./fn/string/baseName.js";
19
+ import { br2nl } from "./fn/string/br2nl.js";
20
+ import { calendar } from "./fn/datetime/calendar.js";
21
+ import { callback } from "./fn/ajax/callback.js";
22
+ import { camelize } from "./fn/string/camelize.js";
23
+ import { camelToCss } from "./fn/string/camelToCss.js";
24
+ import { canvasToImage } from "./fn/convert/canvasToImage.js";
25
+ import { center } from "./fn/style/center.js";
26
+ import { checkProps } from "./fn/object/checkProps.js";
27
+ import { checkPropsDetails } from "./fn/object/checkPropsDetails.js";
28
+ import { checkPropsOrDie } from "./fn/object/checkPropsOrDie.js";
29
+ import { checkType } from "./fn/type/checkType.js";
30
+ import { circularReplacer } from "./fn/object/circularReplacer.js";
31
+ import { clone } from "./fn/object/clone.js";
32
+ import { colorToHex } from "./fn/convert/colorToHex.js";
33
+ import { compare } from "./fn/object/compare.js";
34
+ import { compareConditions } from "./fn/object/compareConditions.js";
35
+ import { copy } from "./fn/browser/copy.js";
36
+ import { correctCase } from "./fn/string/correctCase.js";
37
+ import { count } from "./fn/object/count.js";
38
+ import { crc32 } from "./fn/string/crc32.js";
39
+ import { createObject } from "./fn/object/createObject.js";
40
+ import { cssExists } from "./fn/style/cssExists.js";
41
+ import { date } from "./fn/datetime/date.js";
42
+ import { dateSQL } from "./fn/datetime/dateSQL.js";
43
+ import { daysInMonth } from "./fn/datetime/daysInMonth.js";
44
+ import { deepPath } from "./fn/object/deepPath.js";
45
+ import { defaultAjaxAbortFunction } from "./fn/default/defaultAjaxAbortFunction.js";
46
+ import { defaultAjaxErrorFunction } from "./fn/default/defaultAjaxErrorFunction.js";
47
+ import { defaultAlertFunction } from "./fn/default/defaultAlertFunction.js";
48
+ import { defaultConfirmFunction } from "./fn/default/defaultConfirmFunction.js";
49
+ import { defaultEndLoadingFunction } from "./fn/default/defaultEndLoadingFunction.js";
50
+ import { defaultErrorFunction } from "./fn/default/defaultErrorFunction.js";
51
+ import { defaultHistoryFunction } from "./fn/default/defaultHistoryFunction.js";
52
+ import { defaultLinkFunction } from "./fn/default/defaultLinkFunction.js";
53
+ import { defaultPostLinkFunction } from "./fn/default/defaultPostLinkFunction.js";
54
+ import { defaultPreLinkFunction } from "./fn/default/defaultPreLinkFunction.js";
55
+ import { defaultResizeFunction } from "./fn/default/defaultResizeFunction.js";
56
+ import { defaultStartLoadingFunction } from "./fn/default/defaultStartLoadingFunction.js";
57
+ import { deleteProp } from "./fn/object/deleteProp.js";
58
+ import { diffObj } from "./fn/object/diffObj.js";
59
+ import { dirName } from "./fn/string/dirName.js";
60
+ import { download } from "./fn/ajax/download.js";
61
+ import { downloadContent } from "./fn/ajax/downloadContent.js";
62
+ import { each } from "./fn/loop/each.js";
63
+ import { eraseCookie } from "./fn/browser/eraseCookie.js";
64
+ import { error } from "./fn/browser/error.js";
65
+ import { escapeDquotes } from "./fn/string/escapeDquotes.js";
66
+ import { escapeRegExp } from "./fn/string/escapeRegExp.js";
67
+ import { escapeSquotes } from "./fn/string/escapeSquotes.js";
68
+ import { escapeTicks } from "./fn/string/escapeTicks.js";
69
+ import { escapeUrl } from "./fn/string/escapeUrl.js";
70
+ import { extend } from "./fn/object/extend.js";
71
+ import { extendOut } from "./fn/object/extendOut.js";
72
+ import { fdate } from "./fn/datetime/fdate.js";
73
+ import { fdatetime } from "./fn/datetime/fdatetime.js";
74
+ import { fieldValue } from "./fn/form/fieldValue.js";
75
+ import { fileExt } from "./fn/string/fileExt.js";
76
+ import { filter } from "./fn/object/filter.js";
77
+ import { filterToConditions } from "./fn/object/filterToConditions.js";
78
+ import { findAll } from "./fn/object/findAll.js";
79
+ import { fori } from "./fn/loop/fori.js";
80
+ import { forir } from "./fn/loop/forir.js";
81
+ import { format } from "./fn/string/format.js";
82
+ import { formatBytes } from "./fn/string/formatBytes.js";
83
+ import { formatDate } from "./fn/datetime/formatDate.js";
84
+ import { formatSize } from "./fn/string/formatSize.js";
85
+ import { formdata } from "./fn/form/formdata.js";
86
+ import { fromXml } from "./fn/convert/fromXml.js";
87
+ import { ftime } from "./fn/datetime/ftime.js";
88
+ import { getAllTags } from "./fn/html/getAllTags.js";
89
+ import { getAncestors } from "./fn/html/getAncestors.js";
90
+ import { getAttributes } from "./fn/html/getAttributes.js";
91
+ import { getBrowserName } from "./fn/browser/getBrowserName.js";
92
+ import { getBrowserVersion } from "./fn/browser/getBrowserVersion.js";
93
+ import { getCookie } from "./fn/browser/getCookie.js";
94
+ import { getCssVar } from "./fn/style/getCssVar.js";
95
+ import { getDay } from "./fn/datetime/getDay.js";
96
+ import { getDeviceType } from "./fn/browser/getDeviceType.js";
97
+ import { getEventData } from "./fn/browser/getEventData.js";
98
+ import { getField } from "./fn/object/getField.js";
99
+ import { getFieldValues } from "./fn/object/getFieldValues.js";
100
+ import { getHtml } from "./fn/html/getHtml.js";
101
+ import { getHTMLOfSelection } from "./fn/html/getHTMLOfSelection.js";
102
+ import { getLoader } from "./fn/ajax/getLoader.js";
103
+ import { getPath } from "./fn/html/getPath.js";
104
+ import { getProp } from "./fn/object/getProp.js";
105
+ import { getProperty } from "./fn/object/getProperty.js";
106
+ import { getRequestId } from "./fn/ajax/getRequestId.js";
107
+ import { getRow } from "./fn/object/getRow.js";
108
+ import { getScrollBarSize } from "./fn/style/getScrollBarSize.js";
109
+ import { getText } from "./fn/html/getText.js";
110
+ import { getTimeoff } from "./fn/misc/getTimeoff.js";
111
+ import { happy } from "./fn/browser/happy.js";
112
+ import { hash } from "./fn/string/hash.js";
113
+ import { hex2rgb } from "./fn/convert/hex2rgb.js";
114
+ import { history } from "./fn/browser/history.js";
115
+ import { html2text } from "./fn/html/html2text.js";
116
+ import { imageToCanvas } from "./fn/convert/imageToCanvas.js";
117
+ import { imgToBase64 } from "./fn/convert/imgToBase64.js";
118
+ import { info } from "./fn/browser/info.js";
119
+ import { init } from "./fn/init.js";
120
+ import { isActiveInterface } from "./fn/browser/isActiveInterface.js";
121
+ import { isArray } from "./fn/type/isArray.js";
122
+ import { isBlob } from "./fn/type/isBlob.js";
123
+ import { isBoolean } from "./fn/type/isBoolean.js";
124
+ import { isCanvas } from "./fn/type/isCanvas.js";
125
+ import { isColor } from "./fn/type/isColor.js";
126
+ import { isComment } from "./fn/type/isComment.js";
127
+ import { isCp } from "./fn/type/isCp.js";
128
+ import { isDate } from "./fn/type/isDate.js";
129
+ import { isDesktopDevice } from "./fn/browser/isDesktopDevice.js";
130
+ import { isDimension } from "./fn/type/isDimension.js";
131
+ import { isDom } from "./fn/type/isDom.js";
132
+ import { isEmail } from "./fn/type/isEmail.js";
133
+ import { isEmpty } from "./fn/type/isEmpty.js";
134
+ import { isEvent } from "./fn/type/isEvent.js";
135
+ import { isFocused } from "./fn/browser/isFocused.js";
136
+ import { isFunction } from "./fn/type/isFunction.js";
137
+ import { isHostname } from "./fn/type/isHostname.js";
138
+ import { isInside } from "./fn/html/isInside.js";
139
+ import { isInt } from "./fn/type/isInt.js";
140
+ import { isIP } from "./fn/type/isIP.js";
141
+ import { isIterable } from "./fn/type/isIterable.js";
142
+ import { isMobile } from "./fn/browser/isMobile.js";
143
+ import { isMobileDevice } from "./fn/browser/isMobileDevice.js";
144
+ import { isNull } from "./fn/type/isNull.js";
145
+ import { isNumber } from "./fn/type/isNumber.js";
146
+ import { isObject } from "./fn/type/isObject.js";
147
+ import { isPercent } from "./fn/type/isPercent.js";
148
+ import { isPrimitive } from "./fn/type/isPrimitive.js";
149
+ import { isPromise } from "./fn/type/isPromise.js";
150
+ import { isPropSize } from "./fn/type/isPropSize.js";
151
+ import { isSame } from "./fn/type/isSame.js";
152
+ import { isSQLDate } from "./fn/type/isSQLDate.js";
153
+ import { isString } from "./fn/type/isString.js";
154
+ import { isSymbol } from "./fn/type/isSymbol.js";
155
+ import { isTabletDevice } from "./fn/browser/isTabletDevice.js";
156
+ import { isURL } from "./fn/type/isURL.js";
157
+ import { isValidDimension } from "./fn/type/isValidDimension.js";
158
+ import { isValidName } from "./fn/type/isValidName.js";
159
+ import { isValue } from "./fn/type/isValue.js";
160
+ import { isVue } from "./fn/type/isVue.js";
161
+ import { iterate } from "./fn/loop/iterate.js";
162
+ import { lightenDarkenHex } from "./fn/style/lightenDarkenHex.js";
163
+ import { link } from "./fn/ajax/link.js";
164
+ import { log } from "./fn/browser/log.js";
165
+ import { makeReactive } from "./fn/html/makeReactive.js";
166
+ import { map } from "./fn/object/map.js";
167
+ import { md5 } from "./fn/string/md5.js";
168
+ import { money } from "./fn/misc/money.js";
169
+ import { move } from "./fn/object/move.js";
170
+ import { multiorder } from "./fn/object/multiorder.js";
171
+ import { nl2br } from "./fn/string/nl2br.js";
172
+ import { numProperties } from "./fn/object/numProperties.js";
173
+ import { objectToFormData } from "./fn/form/objectToFormData.js";
174
+ import { order } from "./fn/object/order.js";
175
+ import { outerHeight } from "./fn/style/outerHeight.js";
176
+ import { outerWidth } from "./fn/style/outerWidth.js";
177
+ import { percent } from "./fn/misc/percent.js";
178
+ import { pickValue } from "./fn/object/pickValue.js";
179
+ import { post } from "./fn/ajax/post.js";
180
+ import { postOut } from "./fn/ajax/postOut.js";
181
+ import { printf } from "./fn/string/printf.js";
182
+ import { quotes2html } from "./fn/string/quotes2html.js";
183
+ import { randomInt } from "./fn/misc/randomInt.js";
184
+ import { randomString } from "./fn/string/randomString.js";
185
+ import { removeAccents } from "./fn/string/removeAccents.js";
186
+ import { removeEmpty } from "./fn/object/removeEmpty.js";
187
+ import { removeExtraSpaces } from "./fn/string/removeExtraSpaces.js";
188
+ import { removeHtmlComments } from "./fn/string/removeHtmlComments.js";
189
+ import { removePrivateProp } from "./fn/object/removePrivateProp.js";
190
+ import { removeTrailingChars } from "./fn/string/removeTrailingChars.js";
191
+ import { repeat } from "./fn/string/repeat.js";
192
+ import { replaceAll } from "./fn/string/replaceAll.js";
193
+ import { replaceSelection } from "./fn/browser/replaceSelection.js";
194
+ import { resize } from "./fn/style/resize.js";
195
+ import { rgb2hex } from "./fn/convert/rgb2hex.js";
196
+ import { riterate } from "./fn/loop/riterate.js";
197
+ import { roundDecimal } from "./fn/misc/roundDecimal.js";
198
+ import { sanitize } from "./fn/string/sanitize.js";
199
+ import { search } from "./fn/object/search.js";
200
+ import { selectElementText } from "./fn/browser/selectElementText.js";
201
+ import { selector } from "./fn/html/selector.js";
202
+ import { setCookie } from "./fn/browser/setCookie.js";
203
+ import { setCssVar } from "./fn/style/setCssVar.js";
204
+ import { setNavigationVars } from "./fn/ajax/setNavigationVars.js";
205
+ import { setProp } from "./fn/object/setProp.js";
206
+ import { setProperty } from "./fn/object/setProperty.js";
207
+ import { shorten } from "./fn/string/shorten.js";
208
+ import { shortenObj } from "./fn/object/shortenObj.js";
209
+ import { shuffle } from "./fn/object/shuffle.js";
210
+ import { simpleHash } from "./fn/string/simpleHash.js";
211
+ import { simpleHash1 } from "./fn/string/simpleHash1.js";
212
+ import { simpleHash2 } from "./fn/string/simpleHash2.js";
213
+ import { startChrono, stopChrono } from './fn/datetime/chrono.js';
214
+ import { string2ArrayBuffer } from "./fn/convert/string2ArrayBuffer.js";
215
+ import { submit } from "./fn/form/submit.js";
216
+ import { substr } from "./fn/string/substr.js";
217
+ import { sum } from "./fn/object/sum.js";
218
+ import { timestamp } from "./fn/datetime/timestamp.js";
219
+ import { toCSV } from "./fn/convert/toCSV.js";
220
+ import { toggleFullScreen } from "./fn/browser/toggleFullScreen.js";
221
+ import { translate } from "./fn/misc/translate.js";
222
+ import { treatAjaxArguments } from "./fn/ajax/treatAjaxArguments.js";
223
+ import { trim } from "./fn/string/trim.js";
224
+ import { uniqString } from "./fn/string/uniqString.js";
225
+ import { unique } from "./fn/object/unique.js";
226
+ import { upload } from "./fn/ajax/upload.js";
227
+ import { warning } from "./fn/browser/warning.js";
228
228
  const fn = {
229
229
  _addLoader,
230
230
  _compareValues,
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { _ } from './_.js';
1
+ import { _ } from "./_.js";
2
2
  import { $ } from './$.js';
3
- import { lng } from './lng.js';
4
- import { vars } from './vars.js';
5
- import { env } from './env.js';
6
- import { db } from './db.js';
7
- import { fn } from './fn.js';
3
+ import { lng } from "./lng.js";
4
+ import { vars } from "./vars.js";
5
+ import { env } from "./env.js";
6
+ import { db } from "./db.js";
7
+ import { fn } from "./fn.js";
8
8
  const bbn = {
9
9
  version: "1.0.1",
10
10
  opt: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.90",
3
+ "version": "1.0.92",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",