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.nateSvgAttributes = [
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | 'id', 'lang', 'tabindex', 'xml:base', 'xml:lang', 'xml:space',
|
24 |
|
25 |
|
26 | 'class', 'style',
|
27 |
|
28 |
|
29 | 'externalResourcesRequired',
|
30 | 'requiredExtensions',
|
31 | 'requiredFeatures',
|
32 | 'systemLanguage',
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 | 'xlink:href',
|
39 | 'xlink:type',
|
40 | 'xlink:role',
|
41 | 'xlink:arcrole',
|
42 | 'xlink:title',
|
43 | 'xlink:show',
|
44 | 'xlink:actuate',
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 | 'alignment-baselin' , 'baseline-shift' , 'clip',
|
51 | 'clip-path' , 'clip-rule' , 'color',
|
52 | 'color-interpolation' , 'color-interpolation-filters' , 'color-profile',
|
53 | 'color-rendering' , 'cursor' , 'direction',
|
54 | 'display' , 'dominant-baseline' , 'enable-background',
|
55 | 'fill' , 'fill-opacity' , 'fill-rule',
|
56 | 'filter' , 'flood-color' , 'flood-opacity',
|
57 | 'font-family' , 'font-size' , 'font-size-adjust',
|
58 | 'font-stretch' , 'font-style' , 'font-variant',
|
59 | 'font-weight' , 'glyph-orientation-horizontal' , 'glyph-orientation-vertical',
|
60 | 'image-rendering' , 'kerning' , 'letter-spacing',
|
61 | 'lighting-color' , 'marker-end' , 'marker-mid',
|
62 | 'marker-start' , 'mask' , 'opacity',
|
63 | 'overflow' , 'pointer-events' , 'shape-rendering',
|
64 | 'stop-color' , 'stop-opacity' , 'stroke',
|
65 | 'stroke-dasharray' , 'stroke-dashoffset' , 'stroke-linecap',
|
66 | 'stroke-linejoin' , 'stroke-miterlimit' , 'stroke-opacity',
|
67 | 'stroke-width' , 'text-anchor' , 'transform',
|
68 | 'text-decoration' , 'text-rendering' , 'unicode-bidi',
|
69 | 'vector-effect' , 'visibility' , 'word-spacing',
|
70 | 'writing-mode',
|
71 |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 | 'height', 'result', 'width', 'x', 'y',
|
78 |
|
79 |
|
80 | 'type',
|
81 | 'tableValues',
|
82 | 'slope',
|
83 | 'intercept',
|
84 | 'amplitude',
|
85 | 'exponent',
|
86 | 'offset',
|
87 |
|
88 |
|
89 |
|
90 |
|
91 |
|
92 |
|
93 | 'attributeType', 'attributeName',
|
94 |
|
95 |
|
96 | 'begin' , 'dur' , 'end' , 'min' , 'max',
|
97 | 'restart' , 'repeatCount' , 'repeatDur' , 'fill' ,
|
98 |
|
99 |
|
100 | 'calcMode',
|
101 | 'values',
|
102 | 'keyTimes',
|
103 | 'keySplines',
|
104 | 'from',
|
105 | 'to',
|
106 | 'by',
|
107 | 'autoReverse',
|
108 | 'accelerate',
|
109 | 'decelerate',
|
110 |
|
111 |
|
112 | 'additive', 'accumulate',
|
113 |
|
114 |
|
115 |
|
116 |
|
117 |
|
118 |
|
119 | 'onbegin', 'onend', 'onrepeat',
|
120 |
|
121 |
|
122 | 'onabort', 'onerror', 'onresize', 'onscroll', 'onunload',
|
123 |
|
124 |
|
125 | 'oncancel' , 'oncanplay' , 'oncanplaythrough' , 'onchange',
|
126 | 'onclick' , 'onclose' , 'oncuechange' , 'ondblclick',
|
127 | 'ondrag' , 'ondragend' , 'ondragenter' , 'ondragexit',
|
128 | 'ondragleave' , 'ondragover' , 'ondragstart' , 'ondrop',
|
129 | 'ondurationchange' , 'onemptied' , 'onended' , 'onerror',
|
130 | 'onfocus' , 'oninput' , 'oninvalid' , 'onkeydown',
|
131 | 'onkeypress' , 'onkeyup' , 'onload' , 'onloadeddata',
|
132 | 'onloadedmetadata' , 'onloadstart' , 'onmousedown' , 'onmouseenter',
|
133 | 'onmouseleave' , 'onmousemove' , 'onmouseout' , 'onmouseover',
|
134 | 'onmouseup' , 'onmousewheel' , 'onpause' , 'onplay',
|
135 | 'onplaying' , 'onprogress' , 'onratechange' , 'onreset',
|
136 | 'onresize' , 'onscroll' , 'onseeked' , 'onseeking',
|
137 | 'onselect' , 'onshow' , 'onstalled' , 'onsubmit',
|
138 | 'onsuspend' , 'ontimeupdate' , 'ontoggle' , 'onvolumechange',
|
139 | 'onwaiting',
|
140 |
|
141 |
|
142 | 'onactivate', 'onfocusin', 'onfocusout',
|
143 |
|
144 |
|
145 |
|
146 |
|
147 |
|
148 | 'cx', 'cy',
|
149 | 'd' , 'dx', 'dy',
|
150 | 'fr', 'fx', 'fy',
|
151 | 'g1', 'g2',
|
152 |
|
153 | 'in', 'in2' ,
|
154 | 'k' , 'k1' , 'k2' , 'k3', 'k3', 'k4',
|
155 |
|
156 | 'points',
|
157 |
|
158 | 'r', 'refX', 'refY', 'rx', 'ry',
|
159 |
|
160 | 'targetX', 'targetY',
|
161 |
|
162 | 'u1', 'u2',
|
163 | 'x' , 'x1', 'x2',
|
164 | 'y' , 'y1', 'y2',
|
165 | 'z'
|
166 | ]
|
167 |
|
168 | K.BSC.nateSvgCommonOpenCloseAtOnceTags = [
|
169 |
|
170 |
|
171 |
|
172 |
|
173 |
|
174 | 'animate',
|
175 | 'animateColor',
|
176 | 'animateTransform',
|
177 |
|
178 | 'circle',
|
179 |
|
180 | 'ellipse',
|
181 |
|
182 | 'feBlend',
|
183 | 'feColorMatrix',
|
184 | 'feComponentTransfer',
|
185 | 'feComposite',
|
186 | 'feConvolveMatrix',
|
187 | 'feDiffuseLighting',
|
188 | 'feDisplacementMap',
|
189 | 'feDistantLight',
|
190 | 'feDropShadow',
|
191 | 'feFlood',
|
192 | 'feFuncA',
|
193 | 'feFuncB',
|
194 | 'feFuncG',
|
195 | 'feFuncR',
|
196 | 'feGaussianBlur',
|
197 | 'feImage',
|
198 | 'feMerge',
|
199 | 'feMergeNode',
|
200 | 'feMorphology',
|
201 | 'feOffset',
|
202 | 'fePointLight',
|
203 | 'feSpecularLighting',
|
204 | 'feSpotLight',
|
205 | 'feTile',
|
206 | 'feTurbulence',
|
207 |
|
208 | 'hatchpath',
|
209 |
|
210 | 'image',
|
211 |
|
212 | 'line',
|
213 |
|
214 | 'path',
|
215 | 'polygon',
|
216 | 'polyline',
|
217 |
|
218 | 'rect',
|
219 |
|
220 | 'solidcolor',
|
221 | 'stop',
|
222 |
|
223 | 'use',
|
224 |
|
225 | 'view',
|
226 | ]
|
227 |
|
228 | K.BSC.nateSvgCommonTags = [
|
229 |
|
230 |
|
231 |
|
232 |
|
233 |
|
234 |
|
235 | 'a',
|
236 | 'animateMotion',
|
237 |
|
238 | 'clipPath',
|
239 | 'color-profile',
|
240 |
|
241 | 'defs',
|
242 | 'desc',
|
243 | 'discard',
|
244 |
|
245 | 'filter',
|
246 | 'foreignObject',
|
247 |
|
248 | 'g',
|
249 |
|
250 | 'hatch',
|
251 |
|
252 | 'linearGradient',
|
253 |
|
254 | 'marker',
|
255 | 'mask',
|
256 | 'mesh',
|
257 | 'meshgradient',
|
258 | 'meshpatch',
|
259 | 'meshrow',
|
260 | 'metadata',
|
261 | 'mpath',
|
262 |
|
263 | 'pattern',
|
264 |
|
265 | 'radialGradient',
|
266 |
|
267 | 'script',
|
268 | 'set',
|
269 | 'style',
|
270 | 'svg',
|
271 | 'switch',
|
272 | 'symbol',
|
273 |
|
274 | 'text',
|
275 | 'textPath',
|
276 | 'title',
|
277 | 'tspan',
|
278 | ]
|
279 |
|
280 | K.BSC.NateSvgProto =
|
281 | {
|
282 | clear() {
|
283 |
|
284 | }
|
285 | }
|