1 | let K = null
|
2 |
|
3 |
|
4 | if (typeof exports !== 'undefined' && exports !== null)
|
5 | {
|
6 | K = require('kcore')
|
7 | }
|
8 | else
|
9 | {
|
10 | K = window.K
|
11 | }
|
12 |
|
13 | K.BSC.nateCommonStyleAttributes = [
|
14 |
|
15 | 'backgroundColor',
|
16 | 'border',
|
17 | 'borderCollapse',
|
18 | 'bottom',
|
19 | 'color',
|
20 | 'cssText',
|
21 | 'cursor',
|
22 | 'display',
|
23 | 'float',
|
24 | 'font',
|
25 | 'fontFamily',
|
26 | 'fontSize',
|
27 | 'fontStyle',
|
28 | 'fontWeight',
|
29 | 'height',
|
30 | 'left',
|
31 | 'margin',
|
32 | 'overflow',
|
33 | 'overflowX',
|
34 | 'overflowY',
|
35 | 'padding',
|
36 | 'position',
|
37 | 'right',
|
38 | 'textAlign',
|
39 | 'top',
|
40 | 'verticalAlign',
|
41 | 'visibility',
|
42 | 'width',
|
43 | 'zIndex'
|
44 | ];
|
45 |
|
46 | K.BSC.nateCommonHtmlAttributes = [
|
47 |
|
48 | 'alt',
|
49 | 'class',
|
50 | 'cols',
|
51 | 'content',
|
52 | 'for',
|
53 | 'itemprop',
|
54 | 'itemscope',
|
55 | 'itemtype',
|
56 | 'name',
|
57 | 'rows',
|
58 | 'tabindex',
|
59 | 'wrap'
|
60 | ];
|
61 |
|
62 | K.BSC.nateCommonHtmlProperties = [
|
63 |
|
64 | 'checked',
|
65 | 'colSpan',
|
66 | 'href',
|
67 | 'id',
|
68 | 'innerHTML',
|
69 | 'innerJSON',
|
70 | 'label',
|
71 | 'onclick',
|
72 | 'onscroll',
|
73 | 'readOnly',
|
74 | 'rowSpan',
|
75 | 'selected',
|
76 | 'src',
|
77 | 'target',
|
78 | 'value'
|
79 | ];
|
80 |
|
81 | K.BSC.nateCommonHtmlOpenCloseTags = [
|
82 |
|
83 | 'a',
|
84 | 'article',
|
85 | 'b',
|
86 | 'button',
|
87 | 'canvas',
|
88 | 'div',
|
89 | 'h1',
|
90 | 'h2',
|
91 | 'h3',
|
92 | 'header',
|
93 | 'label',
|
94 | 'li',
|
95 | 'main',
|
96 | 'nav',
|
97 | 'optGroup',
|
98 | 'option',
|
99 | 'p',
|
100 | 'pre',
|
101 | 'script',
|
102 | 'section',
|
103 | 'select',
|
104 | 'span',
|
105 | 'tBody',
|
106 | 'table',
|
107 | 'td',
|
108 | 'textArea',
|
109 | 'th',
|
110 | 'tr',
|
111 | 'ul'
|
112 | ];
|
113 |
|
114 | K.BSC.nateCommonHtmlOpenCloseAtOnceTags = [
|
115 |
|
116 | 'br',
|
117 | 'img',
|
118 | 'meta'
|
119 | ];
|
120 |
|
121 | K.BSC.nateCommonHtmlInputTypes = [
|
122 |
|
123 | 'checkbox',
|
124 | 'password',
|
125 | 'radio',
|
126 | 'text',
|
127 | ];
|