@bbn/bbn 1.0.31 → 1.0.33
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/bundle.d.ts +3 -34
- package/dist/bundle.js +2 -1
- package/dist/fn/getLoader.d.ts +1 -1
- package/dist/index.d.ts +2 -33
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/bundle.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ declare module "fn/_deleteLoader" {
|
|
|
145
145
|
export { _deleteLoader };
|
|
146
146
|
}
|
|
147
147
|
declare module "fn/getLoader" {
|
|
148
|
-
const getLoader: (requestId: string) =>
|
|
148
|
+
const getLoader: (requestId: string) => BbnLoader | false;
|
|
149
149
|
export { getLoader };
|
|
150
150
|
}
|
|
151
151
|
declare module "fn/abort" {
|
|
@@ -1030,38 +1030,7 @@ declare module "index" {
|
|
|
1030
1030
|
hostname: RegExp;
|
|
1031
1031
|
};
|
|
1032
1032
|
};
|
|
1033
|
-
const env:
|
|
1034
|
-
siteTitle: string;
|
|
1035
|
-
logging: boolean;
|
|
1036
|
-
cdn: string;
|
|
1037
|
-
lang: string;
|
|
1038
|
-
host: string;
|
|
1039
|
-
url: string;
|
|
1040
|
-
old_path: any;
|
|
1041
|
-
loading: boolean;
|
|
1042
|
-
width: number;
|
|
1043
|
-
height: number;
|
|
1044
|
-
focused: boolean;
|
|
1045
|
-
last_focus: number;
|
|
1046
|
-
sleep: boolean;
|
|
1047
|
-
/**
|
|
1048
|
-
* @var bbn.env.loaders Object where the props are MD5 of data and url while the values are the requests,
|
|
1049
|
-
* for preventing the same call to be made at the same time
|
|
1050
|
-
**/
|
|
1051
|
-
loaders: any[];
|
|
1052
|
-
loadersHistory: any[];
|
|
1053
|
-
maxLoadersHistory: number;
|
|
1054
|
-
resizeTimer: boolean;
|
|
1055
|
-
hashChanged: number;
|
|
1056
|
-
params: any[];
|
|
1057
|
-
isInit: boolean;
|
|
1058
|
-
isFocused: boolean;
|
|
1059
|
-
timeoff: number;
|
|
1060
|
-
loggingLevel: number;
|
|
1061
|
-
ignoreUnload: boolean;
|
|
1062
|
-
historyDisabled: boolean;
|
|
1063
|
-
nav: string;
|
|
1064
|
-
};
|
|
1033
|
+
const env: BbnEnv;
|
|
1065
1034
|
const fn: {
|
|
1066
1035
|
_addLoader: (requestId: any, prom: any, source: any) => number;
|
|
1067
1036
|
_compareValues: (a: any, b: any, prop: any, dir?: string) => 0 | 1 | -1;
|
|
@@ -1173,7 +1142,7 @@ declare module "index" {
|
|
|
1173
1142
|
getFieldValues: (arr: object[], field: string, prop: any, val: any, operator: any) => any[];
|
|
1174
1143
|
getHtml: (ele: any, stripComments?: boolean) => any;
|
|
1175
1144
|
getHTMLOfSelection: () => string;
|
|
1176
|
-
getLoader: (requestId: string) => false |
|
|
1145
|
+
getLoader: (requestId: string) => false | BbnLoader;
|
|
1177
1146
|
getPath: (element: any) => string;
|
|
1178
1147
|
getProp: (obj: any, prop: any) => any;
|
|
1179
1148
|
getProperty: (obj: any, prop: any) => any;
|
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
(() => {
|
|
2
2
|
const defines = {};
|
|
3
3
|
const entry = [null];
|
|
4
4
|
function define(name, dependencies, factory) {
|
|
@@ -6229,6 +6229,7 @@ var bbn = (() => {
|
|
|
6229
6229
|
warning: warning_2.warning,
|
|
6230
6230
|
};
|
|
6231
6231
|
exports.fn = fn;
|
|
6232
|
+
window.bbn = { version, opt, _, $, _popups, lng, app, vars, env, fn };
|
|
6232
6233
|
});
|
|
6233
6234
|
|
|
6234
6235
|
'marker:resolver';
|
package/dist/fn/getLoader.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getLoader: (requestId: string) =>
|
|
1
|
+
declare const getLoader: (requestId: string) => BbnLoader | false;
|
|
2
2
|
export { getLoader };
|
package/dist/index.d.ts
CHANGED
|
@@ -93,38 +93,7 @@ declare const vars: {
|
|
|
93
93
|
hostname: RegExp;
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
-
declare const env:
|
|
97
|
-
siteTitle: string;
|
|
98
|
-
logging: boolean;
|
|
99
|
-
cdn: string;
|
|
100
|
-
lang: string;
|
|
101
|
-
host: string;
|
|
102
|
-
url: string;
|
|
103
|
-
old_path: any;
|
|
104
|
-
loading: boolean;
|
|
105
|
-
width: number;
|
|
106
|
-
height: number;
|
|
107
|
-
focused: boolean;
|
|
108
|
-
last_focus: number;
|
|
109
|
-
sleep: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* @var bbn.env.loaders Object where the props are MD5 of data and url while the values are the requests,
|
|
112
|
-
* for preventing the same call to be made at the same time
|
|
113
|
-
**/
|
|
114
|
-
loaders: any[];
|
|
115
|
-
loadersHistory: any[];
|
|
116
|
-
maxLoadersHistory: number;
|
|
117
|
-
resizeTimer: boolean;
|
|
118
|
-
hashChanged: number;
|
|
119
|
-
params: any[];
|
|
120
|
-
isInit: boolean;
|
|
121
|
-
isFocused: boolean;
|
|
122
|
-
timeoff: number;
|
|
123
|
-
loggingLevel: number;
|
|
124
|
-
ignoreUnload: boolean;
|
|
125
|
-
historyDisabled: boolean;
|
|
126
|
-
nav: string;
|
|
127
|
-
};
|
|
96
|
+
declare const env: BbnEnv;
|
|
128
97
|
declare const fn: {
|
|
129
98
|
_addLoader: (requestId: any, prom: any, source: any) => number;
|
|
130
99
|
_compareValues: (a: any, b: any, prop: any, dir?: string) => 0 | 1 | -1;
|
|
@@ -236,7 +205,7 @@ declare const fn: {
|
|
|
236
205
|
getFieldValues: (arr: object[], field: string, prop: any, val: any, operator: any) => any[];
|
|
237
206
|
getHtml: (ele: any, stripComments?: boolean) => any;
|
|
238
207
|
getHTMLOfSelection: () => string;
|
|
239
|
-
getLoader: (requestId: string) => false |
|
|
208
|
+
getLoader: (requestId: string) => false | BbnLoader;
|
|
240
209
|
getPath: (element: any) => string;
|
|
241
210
|
getProp: (obj: any, prop: any) => any;
|
|
242
211
|
getProperty: (obj: any, prop: any) => any;
|
package/dist/index.js
CHANGED