@bbn/bbn 1.0.56 → 1.0.57
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/$.d.ts +2 -0
- package/dist/$.js +7 -0
- package/dist/_.d.ts +8 -0
- package/dist/_.js +24 -0
- package/dist/bundle.d.ts +417 -36
- package/dist/bundle.js +701 -662
- package/dist/env.d.ts +33 -0
- package/dist/env.js +43 -0
- package/dist/fn.d.ts +245 -0
- package/dist/fn.js +460 -0
- package/dist/index.js +13 -621
- package/dist/lng.d.ts +26 -0
- package/dist/lng.js +27 -0
- package/dist/vars.d.ts +55 -0
- package/dist/vars.js +63 -0
- package/package.json +1 -1
package/dist/lng.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const lng = {
|
|
2
|
+
/* User-defined languages elements */
|
|
3
|
+
select_unselect_all: "Select/Clear all",
|
|
4
|
+
select_all: "Select all",
|
|
5
|
+
search: 'Search',
|
|
6
|
+
loading: 'Loading...',
|
|
7
|
+
choose: 'Choose',
|
|
8
|
+
error: 'Error',
|
|
9
|
+
server_response: 'Server response',
|
|
10
|
+
reload: 'Reload',
|
|
11
|
+
errorText: 'Something went wrong',
|
|
12
|
+
closeAll: "Close all",
|
|
13
|
+
closeOthers: "Close others",
|
|
14
|
+
pin: "Pin",
|
|
15
|
+
arrange: "Arrange",
|
|
16
|
+
cancel: "Cancel",
|
|
17
|
+
unpin: "Unpin",
|
|
18
|
+
yes: "Yes",
|
|
19
|
+
no: "No",
|
|
20
|
+
unknown: "Unknown",
|
|
21
|
+
untitled: "Untitled",
|
|
22
|
+
confirmation: "Confirmation",
|
|
23
|
+
Today: "Today",
|
|
24
|
+
Tomorrow: "Tomorrow",
|
|
25
|
+
Yesterday: "Yesterday"
|
|
26
|
+
};
|
|
27
|
+
export { lng };
|
package/dist/vars.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
declare const vars: {
|
|
2
|
+
loggers: {
|
|
3
|
+
_num: number;
|
|
4
|
+
};
|
|
5
|
+
datatypes: string[];
|
|
6
|
+
shortenLen: number;
|
|
7
|
+
keys: {
|
|
8
|
+
upDown: number[];
|
|
9
|
+
leftRight: number[];
|
|
10
|
+
dels: number[];
|
|
11
|
+
confirm: number[];
|
|
12
|
+
alt: number[];
|
|
13
|
+
numbers: number[];
|
|
14
|
+
numsigns: number[];
|
|
15
|
+
};
|
|
16
|
+
comparators: string[];
|
|
17
|
+
operators: string[];
|
|
18
|
+
tags: string[];
|
|
19
|
+
colors: {
|
|
20
|
+
darkgrey: string;
|
|
21
|
+
black: string;
|
|
22
|
+
anthracite: string;
|
|
23
|
+
grey: string;
|
|
24
|
+
white: string;
|
|
25
|
+
beige: string;
|
|
26
|
+
lightgrey: string;
|
|
27
|
+
pastelblue: string;
|
|
28
|
+
cyan: string;
|
|
29
|
+
blue: string;
|
|
30
|
+
indigo: string;
|
|
31
|
+
navy: string;
|
|
32
|
+
webblue: string;
|
|
33
|
+
teal: string;
|
|
34
|
+
turquoise: string;
|
|
35
|
+
pastelgreen: string;
|
|
36
|
+
palegreen: string;
|
|
37
|
+
green: string;
|
|
38
|
+
olive: string;
|
|
39
|
+
pastelorange: string;
|
|
40
|
+
yellow: string;
|
|
41
|
+
orange: string;
|
|
42
|
+
pink: string;
|
|
43
|
+
purple: string;
|
|
44
|
+
red: string;
|
|
45
|
+
brown: string;
|
|
46
|
+
};
|
|
47
|
+
reserved: string[];
|
|
48
|
+
mockText: string;
|
|
49
|
+
regexp: {
|
|
50
|
+
url: RegExp;
|
|
51
|
+
ip: RegExp;
|
|
52
|
+
hostname: RegExp;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export { vars };
|
package/dist/vars.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const vars = {
|
|
2
|
+
loggers: {
|
|
3
|
+
_num: 0
|
|
4
|
+
},
|
|
5
|
+
/* Usable datatypes through Ajax function */
|
|
6
|
+
datatypes: ['xml', 'html', 'script', 'json', 'jsonp', 'text', 'blob'],
|
|
7
|
+
/* The default value used by the function shorten */
|
|
8
|
+
shortenLen: 30,
|
|
9
|
+
/* Categorizing keyboard map */
|
|
10
|
+
keys: {
|
|
11
|
+
upDown: [33, 34, 35, 36, 38, 40],
|
|
12
|
+
leftRight: [36, 35, 37, 39],
|
|
13
|
+
dels: [8, 46, 45],
|
|
14
|
+
confirm: [13, 9],
|
|
15
|
+
alt: [20, 16, 17, 18, 144],
|
|
16
|
+
numbers: [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105],
|
|
17
|
+
numsigns: [109, 110, 189, 190]
|
|
18
|
+
},
|
|
19
|
+
comparators: [">=", "<=", ">", "<", "="],
|
|
20
|
+
operators: ["+", "-", "/", "*"],
|
|
21
|
+
tags: ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'menu', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'slot', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr'],
|
|
22
|
+
colors: {
|
|
23
|
+
darkgrey: '#5a6a62',
|
|
24
|
+
black: '#000000',
|
|
25
|
+
anthracite: '#454545',
|
|
26
|
+
grey: '#d3d3d3',
|
|
27
|
+
white: '#ffffff',
|
|
28
|
+
beige: '#fdfdfd',
|
|
29
|
+
lightgrey: '#dcdcdc',
|
|
30
|
+
pastelblue: '#ddebf6',
|
|
31
|
+
cyan: '#00c8f8',
|
|
32
|
+
blue: '#6e9ecf',
|
|
33
|
+
indigo: '#3f51b5',
|
|
34
|
+
navy: '#354458',
|
|
35
|
+
webblue: '#2196f3',
|
|
36
|
+
teal: '#009688',
|
|
37
|
+
turquoise: '#1fda9a',
|
|
38
|
+
pastelgreen: '#e2efda',
|
|
39
|
+
palegreen: '#ccffcc',
|
|
40
|
+
green: '#00a03e',
|
|
41
|
+
olive: '#92b06a',
|
|
42
|
+
pastelorange: '#fff2cc',
|
|
43
|
+
yellow: '#fdf200',
|
|
44
|
+
orange: '#ff9900',
|
|
45
|
+
pink: '#eb65a0',
|
|
46
|
+
purple: '#a333c8',
|
|
47
|
+
red: '#db3340',
|
|
48
|
+
brown: '#8c6954'
|
|
49
|
+
},
|
|
50
|
+
reserved: ['abstract', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'continue', 'const', 'debugger', 'default', 'delete', 'do', 'double', 'else', 'enum', 'export', 'extends', 'false', 'final', 'finally', 'float', 'for', 'function', 'goto', 'if', 'implements', 'import', 'in', 'instanceof', 'int', 'interface', 'long', 'native', 'new', 'null', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'true', 'try', 'typeof', 'var', 'void', 'while', 'with'],
|
|
51
|
+
mockText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
|
|
52
|
+
regexp: {
|
|
53
|
+
url: new RegExp('^(https?:\\/\\/)?' + // protocol
|
|
54
|
+
'((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|' + // domain name
|
|
55
|
+
'((\\d{1,3}\\.){3}\\d{1,3}))' + // OR ip (v4) address
|
|
56
|
+
'(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*' + // port and path
|
|
57
|
+
'(\\?[;&a-z\\d%_.~+=-]*)?' + // query string
|
|
58
|
+
'(\\#[-a-z\\d_]*)?$', 'i'),
|
|
59
|
+
ip: /^((\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$/,
|
|
60
|
+
hostname: /^[a-z\d]([a-z\d-]{0,61}[a-z\d])?(\.[a-z\d]([a-z\d-]{0,61}[a-z\d])?)*$/i,
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
export { vars };
|