| 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | // autogenerated - 4/29/2020
|
|---|
| 4 |
|
|---|
| 5 | /*
|
|---|
| 6 | *
|
|---|
| 7 | * https://www.w3.org/Style/CSS/all-properties.en.html
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | var external_dependency_parsers_0 = require("./parsers.js");
|
|---|
| 11 |
|
|---|
| 12 | var external_dependency_constants_1 = require("./constants.js");
|
|---|
| 13 |
|
|---|
| 14 | var azimuth_export_definition;
|
|---|
| 15 | azimuth_export_definition = {
|
|---|
| 16 | set: function (v) {
|
|---|
| 17 | var valueType = external_dependency_parsers_0.valueType(v);
|
|---|
| 18 |
|
|---|
| 19 | if (valueType === external_dependency_parsers_0.TYPES.ANGLE) {
|
|---|
| 20 | return this._setProperty('azimuth', external_dependency_parsers_0.parseAngle(v));
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | if (valueType === external_dependency_parsers_0.TYPES.KEYWORD) {
|
|---|
| 24 | var keywords = v.toLowerCase().trim().split(/\s+/);
|
|---|
| 25 | var hasBehind = false;
|
|---|
| 26 |
|
|---|
| 27 | if (keywords.length > 2) {
|
|---|
| 28 | return;
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | var behindIndex = keywords.indexOf('behind');
|
|---|
| 32 | hasBehind = behindIndex !== -1;
|
|---|
| 33 |
|
|---|
| 34 | if (keywords.length === 2) {
|
|---|
| 35 | if (!hasBehind) {
|
|---|
| 36 | return;
|
|---|
| 37 | }
|
|---|
| 38 |
|
|---|
| 39 | keywords.splice(behindIndex, 1);
|
|---|
| 40 | }
|
|---|
| 41 |
|
|---|
| 42 | if (keywords[0] === 'leftwards' || keywords[0] === 'rightwards') {
|
|---|
| 43 | if (hasBehind) {
|
|---|
| 44 | return;
|
|---|
| 45 | }
|
|---|
| 46 |
|
|---|
| 47 | return this._setProperty('azimuth', keywords[0]);
|
|---|
| 48 | }
|
|---|
| 49 |
|
|---|
| 50 | if (keywords[0] === 'behind') {
|
|---|
| 51 | return this._setProperty('azimuth', '180deg');
|
|---|
| 52 | }
|
|---|
| 53 |
|
|---|
| 54 | switch (keywords[0]) {
|
|---|
| 55 | case 'left-side':
|
|---|
| 56 | return this._setProperty('azimuth', '270deg');
|
|---|
| 57 |
|
|---|
| 58 | case 'far-left':
|
|---|
| 59 | return this._setProperty('azimuth', (hasBehind ? 240 : 300) + 'deg');
|
|---|
| 60 |
|
|---|
| 61 | case 'left':
|
|---|
| 62 | return this._setProperty('azimuth', (hasBehind ? 220 : 320) + 'deg');
|
|---|
| 63 |
|
|---|
| 64 | case 'center-left':
|
|---|
| 65 | return this._setProperty('azimuth', (hasBehind ? 200 : 340) + 'deg');
|
|---|
| 66 |
|
|---|
| 67 | case 'center':
|
|---|
| 68 | return this._setProperty('azimuth', (hasBehind ? 180 : 0) + 'deg');
|
|---|
| 69 |
|
|---|
| 70 | case 'center-right':
|
|---|
| 71 | return this._setProperty('azimuth', (hasBehind ? 160 : 20) + 'deg');
|
|---|
| 72 |
|
|---|
| 73 | case 'right':
|
|---|
| 74 | return this._setProperty('azimuth', (hasBehind ? 140 : 40) + 'deg');
|
|---|
| 75 |
|
|---|
| 76 | case 'far-right':
|
|---|
| 77 | return this._setProperty('azimuth', (hasBehind ? 120 : 60) + 'deg');
|
|---|
| 78 |
|
|---|
| 79 | case 'right-side':
|
|---|
| 80 | return this._setProperty('azimuth', '90deg');
|
|---|
| 81 |
|
|---|
| 82 | default:
|
|---|
| 83 | return;
|
|---|
| 84 | }
|
|---|
| 85 | }
|
|---|
| 86 | },
|
|---|
| 87 | get: function () {
|
|---|
| 88 | return this.getPropertyValue('azimuth');
|
|---|
| 89 | },
|
|---|
| 90 | enumerable: true,
|
|---|
| 91 | configurable: true
|
|---|
| 92 | };
|
|---|
| 93 | var backgroundColor_export_isValid, backgroundColor_export_definition;
|
|---|
| 94 |
|
|---|
| 95 | var backgroundColor_local_var_parse = function parse(v) {
|
|---|
| 96 | var parsed = external_dependency_parsers_0.parseColor(v);
|
|---|
| 97 |
|
|---|
| 98 | if (parsed !== undefined) {
|
|---|
| 99 | return parsed;
|
|---|
| 100 | }
|
|---|
| 101 |
|
|---|
| 102 | if (external_dependency_parsers_0.valueType(v) === external_dependency_parsers_0.TYPES.KEYWORD && (v.toLowerCase() === 'transparent' || v.toLowerCase() === 'inherit')) {
|
|---|
| 103 | return v;
|
|---|
| 104 | }
|
|---|
| 105 |
|
|---|
| 106 | return undefined;
|
|---|
| 107 | };
|
|---|
| 108 |
|
|---|
| 109 | backgroundColor_export_isValid = function isValid(v) {
|
|---|
| 110 | return backgroundColor_local_var_parse(v) !== undefined;
|
|---|
| 111 | };
|
|---|
| 112 |
|
|---|
| 113 | backgroundColor_export_definition = {
|
|---|
| 114 | set: function (v) {
|
|---|
| 115 | var parsed = backgroundColor_local_var_parse(v);
|
|---|
| 116 |
|
|---|
| 117 | if (parsed === undefined) {
|
|---|
| 118 | return;
|
|---|
| 119 | }
|
|---|
| 120 |
|
|---|
| 121 | this._setProperty('background-color', parsed);
|
|---|
| 122 | },
|
|---|
| 123 | get: function () {
|
|---|
| 124 | return this.getPropertyValue('background-color');
|
|---|
| 125 | },
|
|---|
| 126 | enumerable: true,
|
|---|
| 127 | configurable: true
|
|---|
| 128 | };
|
|---|
| 129 | var backgroundImage_export_isValid, backgroundImage_export_definition;
|
|---|
| 130 |
|
|---|
| 131 | var backgroundImage_local_var_parse = function parse(v) {
|
|---|
| 132 | var parsed = external_dependency_parsers_0.parseUrl(v);
|
|---|
| 133 |
|
|---|
| 134 | if (parsed !== undefined) {
|
|---|
| 135 | return parsed;
|
|---|
| 136 | }
|
|---|
| 137 |
|
|---|
| 138 | if (external_dependency_parsers_0.valueType(v) === external_dependency_parsers_0.TYPES.KEYWORD && (v.toLowerCase() === 'none' || v.toLowerCase() === 'inherit')) {
|
|---|
| 139 | return v;
|
|---|
| 140 | }
|
|---|
| 141 |
|
|---|
| 142 | return undefined;
|
|---|
| 143 | };
|
|---|
| 144 |
|
|---|
| 145 | backgroundImage_export_isValid = function isValid(v) {
|
|---|
| 146 | return backgroundImage_local_var_parse(v) !== undefined;
|
|---|
| 147 | };
|
|---|
| 148 |
|
|---|
| 149 | backgroundImage_export_definition = {
|
|---|
| 150 | set: function (v) {
|
|---|
| 151 | this._setProperty('background-image', backgroundImage_local_var_parse(v));
|
|---|
| 152 | },
|
|---|
| 153 | get: function () {
|
|---|
| 154 | return this.getPropertyValue('background-image');
|
|---|
| 155 | },
|
|---|
| 156 | enumerable: true,
|
|---|
| 157 | configurable: true
|
|---|
| 158 | };
|
|---|
| 159 | var backgroundRepeat_export_isValid, backgroundRepeat_export_definition;
|
|---|
| 160 |
|
|---|
| 161 | var backgroundRepeat_local_var_parse = function parse(v) {
|
|---|
| 162 | if (external_dependency_parsers_0.valueType(v) === external_dependency_parsers_0.TYPES.KEYWORD && (v.toLowerCase() === 'repeat' || v.toLowerCase() === 'repeat-x' || v.toLowerCase() === 'repeat-y' || v.toLowerCase() === 'no-repeat' || v.toLowerCase() === 'inherit')) {
|
|---|
| 163 | return v;
|
|---|
| 164 | }
|
|---|
| 165 |
|
|---|
| 166 | return undefined;
|
|---|
| 167 | };
|
|---|
| 168 |
|
|---|
| 169 | backgroundRepeat_export_isValid = function isValid(v) {
|
|---|
| 170 | return backgroundRepeat_local_var_parse(v) !== undefined;
|
|---|
| 171 | };
|
|---|
| 172 |
|
|---|
| 173 | backgroundRepeat_export_definition = {
|
|---|
| 174 | set: function (v) {
|
|---|
| 175 | this._setProperty('background-repeat', backgroundRepeat_local_var_parse(v));
|
|---|
| 176 | },
|
|---|
| 177 | get: function () {
|
|---|
| 178 | return this.getPropertyValue('background-repeat');
|
|---|
| 179 | },
|
|---|
| 180 | enumerable: true,
|
|---|
| 181 | configurable: true
|
|---|
| 182 | };
|
|---|
| 183 | var backgroundAttachment_export_isValid, backgroundAttachment_export_definition;
|
|---|
| 184 |
|
|---|
| 185 | var backgroundAttachment_local_var_isValid = backgroundAttachment_export_isValid = function isValid(v) {
|
|---|
| 186 | return external_dependency_parsers_0.valueType(v) === external_dependency_parsers_0.TYPES.KEYWORD && (v.toLowerCase() === 'scroll' || v.toLowerCase() === 'fixed' || v.toLowerCase() === 'inherit');
|
|---|
| 187 | };
|
|---|
| 188 |
|
|---|
| 189 | backgroundAttachment_export_definition = {
|
|---|
| 190 | set: function (v) {
|
|---|
| 191 | if (!backgroundAttachment_local_var_isValid(v)) {
|
|---|
| 192 | return;
|
|---|
| 193 | }
|
|---|
| 194 |
|
|---|
| 195 | this._setProperty('background-attachment', v);
|
|---|
| 196 | },
|
|---|
| 197 | get: function () {
|
|---|
| 198 | return this.getPropertyValue('background-attachment');
|
|---|
| 199 | },
|
|---|
| 200 | enumerable: true,
|
|---|
| 201 | configurable: true
|
|---|
| 202 | };
|
|---|
| 203 | var backgroundPosition_export_isValid, backgroundPosition_export_definition;
|
|---|
| 204 | var backgroundPosition_local_var_valid_keywords = ['top', 'center', 'bottom', 'left', 'right'];
|
|---|
| 205 |
|
|---|
| 206 | var backgroundPosition_local_var_parse = function parse(v) {
|
|---|
| 207 | if (v === '' || v === null) {
|
|---|
| 208 | return undefined;
|
|---|
| 209 | }
|
|---|
| 210 |
|
|---|
| 211 | var parts = v.split(/\s+/);
|
|---|
| 212 |
|
|---|
| 213 | if (parts.length > 2 || parts.length < 1) {
|
|---|
| 214 | return undefined;
|
|---|
| 215 | }
|
|---|
| 216 |
|
|---|
| 217 | var types = [];
|
|---|
| 218 | parts.forEach(function (part, index) {
|
|---|
| 219 | types[index] = external_dependency_parsers_0.valueType(part);
|
|---|
| 220 | });
|
|---|
| 221 |
|
|---|
| 222 | if (parts.length === 1) {
|
|---|
| 223 | if (types[0] === external_dependency_parsers_0.TYPES.LENGTH || types[0] === external_dependency_parsers_0.TYPES.PERCENT) {
|
|---|
| 224 | return v;
|
|---|
| 225 | }
|
|---|
| 226 |
|
|---|
| 227 | if (types[0] === external_dependency_parsers_0.TYPES.KEYWORD) {
|
|---|
| 228 | if (backgroundPosition_local_var_valid_keywords.indexOf(v.toLowerCase()) !== -1 || v.toLowerCase() === 'inherit') {
|
|---|
| 229 | return v;
|
|---|
| 230 | }
|
|---|
| 231 | }
|
|---|
| 232 |
|
|---|
| 233 | return undefined;
|
|---|
| 234 | }
|
|---|
| 235 |
|
|---|
| 236 | if ((types[0] === external_dependency_parsers_0.TYPES.LENGTH || types[0] === external_dependency_parsers_0.TYPES.PERCENT) && (types[1] === external_dependency_parsers_0.TYPES.LENGTH || types[1] === external_dependency_parsers_0.TYPES.PERCENT)) {
|
|---|
| 237 | return v;
|
|---|
| 238 | }
|
|---|
| 239 |
|
|---|
| 240 | if (types[0] !== external_dependency_parsers_0.TYPES.KEYWORD || types[1] !== external_dependency_parsers_0.TYPES.KEYWORD) {
|
|---|
| 241 | return undefined;
|
|---|
| 242 | }
|
|---|
| 243 |
|
|---|
| 244 | if (backgroundPosition_local_var_valid_keywords.indexOf(parts[0]) !== -1 && backgroundPosition_local_var_valid_keywords.indexOf(parts[1]) !== -1) {
|
|---|
| 245 | return v;
|
|---|
| 246 | }
|
|---|
| 247 |
|
|---|
| 248 | return undefined;
|
|---|
| 249 | };
|
|---|
| 250 |
|
|---|
| 251 | backgroundPosition_export_isValid = function isValid(v) {
|
|---|
| 252 | return backgroundPosition_local_var_parse(v) !== undefined;
|
|---|
| 253 | };
|
|---|
| 254 |
|
|---|
| 255 | backgroundPosition_export_definition = {
|
|---|
| 256 | set: function (v) {
|
|---|
| 257 | this._setProperty('background-position', backgroundPosition_local_var_parse(v));
|
|---|
| 258 | },
|
|---|
| 259 | get: function () {
|
|---|
| 260 | return this.getPropertyValue('background-position');
|
|---|
| 261 | },
|
|---|
| 262 | enumerable: true,
|
|---|
| 263 | configurable: true
|
|---|
| 264 | };
|
|---|
| 265 | var background_export_definition;
|
|---|
| 266 | var background_local_var_shorthand_for = {
|
|---|
| 267 | 'background-color': {
|
|---|
| 268 | isValid: backgroundColor_export_isValid,
|
|---|
| 269 | definition: backgroundColor_export_definition
|
|---|
| 270 | },
|
|---|
| 271 | 'background-image': {
|
|---|
| 272 | isValid: backgroundImage_export_isValid,
|
|---|
| 273 | definition: backgroundImage_export_definition
|
|---|
| 274 | },
|
|---|
| 275 | 'background-repeat': {
|
|---|
| 276 | isValid: backgroundRepeat_export_isValid,
|
|---|
| 277 | definition: backgroundRepeat_export_definition
|
|---|
| 278 | },
|
|---|
| 279 | 'background-attachment': {
|
|---|
| 280 | isValid: backgroundAttachment_export_isValid,
|
|---|
| 281 | definition: backgroundAttachment_export_definition
|
|---|
| 282 | },
|
|---|
| 283 | 'background-position': {
|
|---|
| 284 | isValid: backgroundPosition_export_isValid,
|
|---|
| 285 | definition: backgroundPosition_export_definition
|
|---|
| 286 | }
|
|---|
| 287 | };
|
|---|
| 288 | background_export_definition = {
|
|---|
| 289 | set: external_dependency_parsers_0.shorthandSetter('background', background_local_var_shorthand_for),
|
|---|
| 290 | get: external_dependency_parsers_0.shorthandGetter('background', background_local_var_shorthand_for),
|
|---|
| 291 | enumerable: true,
|
|---|
| 292 | configurable: true
|
|---|
| 293 | };
|
|---|
| 294 | var borderWidth_export_isValid, borderWidth_export_definition;
|
|---|
| 295 | // the valid border-widths:
|
|---|
| 296 | var borderWidth_local_var_widths = ['thin', 'medium', 'thick'];
|
|---|
| 297 |
|
|---|
| 298 | borderWidth_export_isValid = function parse(v) {
|
|---|
| 299 | var length = external_dependency_parsers_0.parseLength(v);
|
|---|
| 300 |
|
|---|
| 301 | if (length !== undefined) {
|
|---|
| 302 | return true;
|
|---|
| 303 | }
|
|---|
| 304 |
|
|---|
| 305 | if (typeof v !== 'string') {
|
|---|
| 306 | return false;
|
|---|
| 307 | }
|
|---|
| 308 |
|
|---|
| 309 | if (v === '') {
|
|---|
| 310 | return true;
|
|---|
| 311 | }
|
|---|
| 312 |
|
|---|
| 313 | v = v.toLowerCase();
|
|---|
| 314 |
|
|---|
| 315 | if (borderWidth_local_var_widths.indexOf(v) === -1) {
|
|---|
| 316 | return false;
|
|---|
| 317 | }
|
|---|
| 318 |
|
|---|
| 319 | return true;
|
|---|
| 320 | };
|
|---|
| 321 |
|
|---|
| 322 | var borderWidth_local_var_isValid = borderWidth_export_isValid;
|
|---|
| 323 |
|
|---|
| 324 | var borderWidth_local_var_parser = function (v) {
|
|---|
| 325 | var length = external_dependency_parsers_0.parseLength(v);
|
|---|
| 326 |
|
|---|
| 327 | if (length !== undefined) {
|
|---|
| 328 | return length;
|
|---|
| 329 | }
|
|---|
| 330 |
|
|---|
| 331 | if (borderWidth_local_var_isValid(v)) {
|
|---|
| 332 | return v.toLowerCase();
|
|---|
| 333 | }
|
|---|
| 334 |
|
|---|
| 335 | return undefined;
|
|---|
| 336 | };
|
|---|
| 337 |
|
|---|
| 338 | borderWidth_export_definition = {
|
|---|
| 339 | set: external_dependency_parsers_0.implicitSetter('border', 'width', borderWidth_local_var_isValid, borderWidth_local_var_parser),
|
|---|
| 340 | get: function () {
|
|---|
| 341 | return this.getPropertyValue('border-width');
|
|---|
| 342 | },
|
|---|
| 343 | enumerable: true,
|
|---|
| 344 | configurable: true
|
|---|
| 345 | };
|
|---|
| 346 | var borderStyle_export_isValid, borderStyle_export_definition;
|
|---|
| 347 | // the valid border-styles:
|
|---|
| 348 | var borderStyle_local_var_styles = ['none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'];
|
|---|
| 349 |
|
|---|
| 350 | borderStyle_export_isValid = function parse(v) {
|
|---|
| 351 | return typeof v === 'string' && (v === '' || borderStyle_local_var_styles.indexOf(v) !== -1);
|
|---|
| 352 | };
|
|---|
| 353 |
|
|---|
| 354 | var borderStyle_local_var_isValid = borderStyle_export_isValid;
|
|---|
| 355 |
|
|---|
| 356 | var borderStyle_local_var_parser = function (v) {
|
|---|
| 357 | if (borderStyle_local_var_isValid(v)) {
|
|---|
| 358 | return v.toLowerCase();
|
|---|
| 359 | }
|
|---|
| 360 |
|
|---|
| 361 | return undefined;
|
|---|
| 362 | };
|
|---|
| 363 |
|
|---|
| 364 | borderStyle_export_definition = {
|
|---|
| 365 | set: external_dependency_parsers_0.implicitSetter('border', 'style', borderStyle_local_var_isValid, borderStyle_local_var_parser),
|
|---|
| 366 | get: function () {
|
|---|
| 367 | return this.getPropertyValue('border-style');
|
|---|
| 368 | },
|
|---|
| 369 | enumerable: true,
|
|---|
| 370 | configurable: true
|
|---|
| 371 | };
|
|---|
| 372 | var borderColor_export_isValid, borderColor_export_definition;
|
|---|
| 373 |
|
|---|
| 374 | borderColor_export_isValid = function parse(v) {
|
|---|
| 375 | if (typeof v !== 'string') {
|
|---|
| 376 | return false;
|
|---|
| 377 | }
|
|---|
| 378 |
|
|---|
| 379 | return v === '' || v.toLowerCase() === 'transparent' || external_dependency_parsers_0.valueType(v) === external_dependency_parsers_0.TYPES.COLOR;
|
|---|
| 380 | };
|
|---|
| 381 |
|
|---|
| 382 | var borderColor_local_var_isValid = borderColor_export_isValid;
|
|---|
| 383 |
|
|---|
| 384 | var borderColor_local_var_parser = function (v) {
|
|---|
| 385 | if (borderColor_local_var_isValid(v)) {
|
|---|
| 386 | return v.toLowerCase();
|
|---|
| 387 | }
|
|---|
| 388 |
|
|---|
| 389 | return undefined;
|
|---|
| 390 | };
|
|---|
| 391 |
|
|---|
| 392 | borderColor_export_definition = {
|
|---|
| 393 | set: external_dependency_parsers_0.implicitSetter('border', 'color', borderColor_local_var_isValid, borderColor_local_var_parser),
|
|---|
| 394 | get: function () {
|
|---|
| 395 | return this.getPropertyValue('border-color');
|
|---|
| 396 | },
|
|---|
| 397 | enumerable: true,
|
|---|
| 398 | configurable: true
|
|---|
| 399 | };
|
|---|
| 400 | var border_export_definition;
|
|---|
| 401 | var border_local_var_shorthand_for = {
|
|---|
| 402 | 'border-width': {
|
|---|
| 403 | isValid: borderWidth_export_isValid,
|
|---|
| 404 | definition: borderWidth_export_definition
|
|---|
| 405 | },
|
|---|
| 406 | 'border-style': {
|
|---|
| 407 | isValid: borderStyle_export_isValid,
|
|---|
| 408 | definition: borderStyle_export_definition
|
|---|
| 409 | },
|
|---|
| 410 | 'border-color': {
|
|---|
| 411 | isValid: borderColor_export_isValid,
|
|---|
| 412 | definition: borderColor_export_definition
|
|---|
| 413 | }
|
|---|
| 414 | };
|
|---|
| 415 | var border_local_var_myShorthandSetter = external_dependency_parsers_0.shorthandSetter('border', border_local_var_shorthand_for);
|
|---|
| 416 | var border_local_var_myShorthandGetter = external_dependency_parsers_0.shorthandGetter('border', border_local_var_shorthand_for);
|
|---|
| 417 | border_export_definition = {
|
|---|
| 418 | set: function (v) {
|
|---|
| 419 | if (v.toString().toLowerCase() === 'none') {
|
|---|
| 420 | v = '';
|
|---|
| 421 | }
|
|---|
| 422 |
|
|---|
| 423 | border_local_var_myShorthandSetter.call(this, v);
|
|---|
| 424 | this.removeProperty('border-top');
|
|---|
| 425 | this.removeProperty('border-left');
|
|---|
| 426 | this.removeProperty('border-right');
|
|---|
| 427 | this.removeProperty('border-bottom');
|
|---|
| 428 | this._values['border-top'] = this._values.border;
|
|---|
| 429 | this._values['border-left'] = this._values.border;
|
|---|
| 430 | this._values['border-right'] = this._values.border;
|
|---|
| 431 | this._values['border-bottom'] = this._values.border;
|
|---|
| 432 | },
|
|---|
| 433 | get: border_local_var_myShorthandGetter,
|
|---|
| 434 | enumerable: true,
|
|---|
| 435 | configurable: true
|
|---|
| 436 | };
|
|---|
| 437 | var borderBottomWidth_export_isValid, borderBottomWidth_export_definition;
|
|---|
| 438 | var borderBottomWidth_local_var_isValid = borderBottomWidth_export_isValid = borderWidth_export_isValid;
|
|---|
| 439 | borderBottomWidth_export_definition = {
|
|---|
| 440 | set: function (v) {
|
|---|
| 441 | if (borderBottomWidth_local_var_isValid(v)) {
|
|---|
| 442 | this._setProperty('border-bottom-width', v);
|
|---|
| 443 | }
|
|---|
| 444 | },
|
|---|
| 445 | get: function () {
|
|---|
| 446 | return this.getPropertyValue('border-bottom-width');
|
|---|
| 447 | },
|
|---|
| 448 | enumerable: true,
|
|---|
| 449 | configurable: true
|
|---|
| 450 | };
|
|---|
| 451 | var borderBottomStyle_export_isValid, borderBottomStyle_export_definition;
|
|---|
| 452 | borderBottomStyle_export_isValid = borderStyle_export_isValid;
|
|---|
| 453 | borderBottomStyle_export_definition = {
|
|---|
| 454 | set: function (v) {
|
|---|
| 455 | if (borderStyle_export_isValid(v)) {
|
|---|
| 456 | if (v.toLowerCase() === 'none') {
|
|---|
| 457 | v = '';
|
|---|
| 458 | this.removeProperty('border-bottom-width');
|
|---|
| 459 | }
|
|---|
| 460 |
|
|---|
| 461 | this._setProperty('border-bottom-style', v);
|
|---|
| 462 | }
|
|---|
| 463 | },
|
|---|
| 464 | get: function () {
|
|---|
| 465 | return this.getPropertyValue('border-bottom-style');
|
|---|
| 466 | },
|
|---|
| 467 | enumerable: true,
|
|---|
| 468 | configurable: true
|
|---|
| 469 | };
|
|---|
| 470 | var borderBottomColor_export_isValid, borderBottomColor_export_definition;
|
|---|
| 471 | var borderBottomColor_local_var_isValid = borderBottomColor_export_isValid = borderColor_export_isValid;
|
|---|
| 472 | borderBottomColor_export_definition = {
|
|---|
| 473 | set: function (v) {
|
|---|
| 474 | if (borderBottomColor_local_var_isValid(v)) {
|
|---|
| 475 | this._setProperty('border-bottom-color', v);
|
|---|
| 476 | }
|
|---|
| 477 | },
|
|---|
| 478 | get: function () {
|
|---|
| 479 | return this.getPropertyValue('border-bottom-color');
|
|---|
| 480 | },
|
|---|
| 481 | enumerable: true,
|
|---|
| 482 | configurable: true
|
|---|
| 483 | };
|
|---|
| 484 | var borderBottom_export_definition;
|
|---|
| 485 | var borderBottom_local_var_shorthand_for = {
|
|---|
| 486 | 'border-bottom-width': {
|
|---|
| 487 | isValid: borderBottomWidth_export_isValid,
|
|---|
| 488 | definition: borderBottomWidth_export_definition
|
|---|
| 489 | },
|
|---|
| 490 | 'border-bottom-style': {
|
|---|
| 491 | isValid: borderBottomStyle_export_isValid,
|
|---|
| 492 | definition: borderBottomStyle_export_definition
|
|---|
| 493 | },
|
|---|
| 494 | 'border-bottom-color': {
|
|---|
| 495 | isValid: borderBottomColor_export_isValid,
|
|---|
| 496 | definition: borderBottomColor_export_definition
|
|---|
| 497 | }
|
|---|
| 498 | };
|
|---|
| 499 | borderBottom_export_definition = {
|
|---|
| 500 | set: external_dependency_parsers_0.shorthandSetter('border-bottom', borderBottom_local_var_shorthand_for),
|
|---|
| 501 | get: external_dependency_parsers_0.shorthandGetter('border-bottom', borderBottom_local_var_shorthand_for),
|
|---|
| 502 | enumerable: true,
|
|---|
| 503 | configurable: true
|
|---|
| 504 | };
|
|---|
| 505 | var borderCollapse_export_definition;
|
|---|
| 506 |
|
|---|
| 507 | var borderCollapse_local_var_parse = function parse(v) {
|
|---|
| 508 | if (external_dependency_parsers_0.valueType(v) === external_dependency_parsers_0.TYPES.KEYWORD && (v.toLowerCase() === 'collapse' || v.toLowerCase() === 'separate' || v.toLowerCase() === 'inherit')) {
|
|---|
| 509 | return v;
|
|---|
| 510 | }
|
|---|
| 511 |
|
|---|
| 512 | return undefined;
|
|---|
| 513 | };
|
|---|
| 514 |
|
|---|
| 515 | borderCollapse_export_definition = {
|
|---|
| 516 | set: function (v) {
|
|---|
| 517 | this._setProperty('border-collapse', borderCollapse_local_var_parse(v));
|
|---|
| 518 | },
|
|---|
| 519 | get: function () {
|
|---|
| 520 | return this.getPropertyValue('border-collapse');
|
|---|
| 521 | },
|
|---|
| 522 | enumerable: true,
|
|---|
| 523 | configurable: true
|
|---|
| 524 | };
|
|---|
| 525 | var borderLeftWidth_export_isValid, borderLeftWidth_export_definition;
|
|---|
| 526 | var borderLeftWidth_local_var_isValid = borderLeftWidth_export_isValid = borderWidth_export_isValid;
|
|---|
| 527 | borderLeftWidth_export_definition = {
|
|---|
| 528 | set: function (v) {
|
|---|
| 529 | if (borderLeftWidth_local_var_isValid(v)) {
|
|---|
| 530 | this._setProperty('border-left-width', v);
|
|---|
| 531 | }
|
|---|
| 532 | },
|
|---|
| 533 | get: function () {
|
|---|
| 534 | return this.getPropertyValue('border-left-width');
|
|---|
| 535 | },
|
|---|
| 536 | enumerable: true,
|
|---|
| 537 | configurable: true
|
|---|
| 538 | };
|
|---|
| 539 | var borderLeftStyle_export_isValid, borderLeftStyle_export_definition;
|
|---|
| 540 | borderLeftStyle_export_isValid = borderStyle_export_isValid;
|
|---|
| 541 | borderLeftStyle_export_definition = {
|
|---|
| 542 | set: function (v) {
|
|---|
| 543 | if (borderStyle_export_isValid(v)) {
|
|---|
| 544 | if (v.toLowerCase() === 'none') {
|
|---|
| 545 | v = '';
|
|---|
| 546 | this.removeProperty('border-left-width');
|
|---|
| 547 | }
|
|---|
| 548 |
|
|---|
| 549 | this._setProperty('border-left-style', v);
|
|---|
| 550 | }
|
|---|
| 551 | },
|
|---|
| 552 | get: function () {
|
|---|
| 553 | return this.getPropertyValue('border-left-style');
|
|---|
| 554 | },
|
|---|
| 555 | enumerable: true,
|
|---|
| 556 | configurable: true
|
|---|
| 557 | };
|
|---|
| 558 | var borderLeftColor_export_isValid, borderLeftColor_export_definition;
|
|---|
| 559 | var borderLeftColor_local_var_isValid = borderLeftColor_export_isValid = borderColor_export_isValid;
|
|---|
| 560 | borderLeftColor_export_definition = {
|
|---|
| 561 | set: function (v) {
|
|---|
| 562 | if (borderLeftColor_local_var_isValid(v)) {
|
|---|
| 563 | this._setProperty('border-left-color', v);
|
|---|
| 564 | }
|
|---|
| 565 | },
|
|---|
| 566 | get: function () {
|
|---|
| 567 | return this.getPropertyValue('border-left-color');
|
|---|
| 568 | },
|
|---|
| 569 | enumerable: true,
|
|---|
| 570 | configurable: true
|
|---|
| 571 | };
|
|---|
| 572 | var borderLeft_export_definition;
|
|---|
| 573 | var borderLeft_local_var_shorthand_for = {
|
|---|
| 574 | 'border-left-width': {
|
|---|
| 575 | isValid: borderLeftWidth_export_isValid,
|
|---|
| 576 | definition: borderLeftWidth_export_definition
|
|---|
| 577 | },
|
|---|
| 578 | 'border-left-style': {
|
|---|
| 579 | isValid: borderLeftStyle_export_isValid,
|
|---|
| 580 | definition: borderLeftStyle_export_definition
|
|---|
| 581 | },
|
|---|
| 582 | 'border-left-color': {
|
|---|
| 583 | isValid: borderLeftColor_export_isValid,
|
|---|
| 584 | definition: borderLeftColor_export_definition
|
|---|
| 585 | }
|
|---|
| 586 | };
|
|---|
| 587 | borderLeft_export_definition = {
|
|---|
| 588 | set: external_dependency_parsers_0.shorthandSetter('border-left', borderLeft_local_var_shorthand_for),
|
|---|
| 589 | get: external_dependency_parsers_0.shorthandGetter('border-left', borderLeft_local_var_shorthand_for),
|
|---|
| 590 | enumerable: true,
|
|---|
| 591 | configurable: true
|
|---|
| 592 | };
|
|---|
| 593 | var borderRightWidth_export_isValid, borderRightWidth_export_definition;
|
|---|
| 594 | var borderRightWidth_local_var_isValid = borderRightWidth_export_isValid = borderWidth_export_isValid;
|
|---|
| 595 | borderRightWidth_export_definition = {
|
|---|
| 596 | set: function (v) {
|
|---|
| 597 | if (borderRightWidth_local_var_isValid(v)) {
|
|---|
| 598 | this._setProperty('border-right-width', v);
|
|---|
| 599 | }
|
|---|
| 600 | },
|
|---|
| 601 | get: function () {
|
|---|
| 602 | return this.getPropertyValue('border-right-width');
|
|---|
| 603 | },
|
|---|
| 604 | enumerable: true,
|
|---|
| 605 | configurable: true
|
|---|
| 606 | };
|
|---|
| 607 | var borderRightStyle_export_isValid, borderRightStyle_export_definition;
|
|---|
| 608 | borderRightStyle_export_isValid = borderStyle_export_isValid;
|
|---|
| 609 | borderRightStyle_export_definition = {
|
|---|
| 610 | set: function (v) {
|
|---|
| 611 | if (borderStyle_export_isValid(v)) {
|
|---|
| 612 | if (v.toLowerCase() === 'none') {
|
|---|
| 613 | v = '';
|
|---|
| 614 | this.removeProperty('border-right-width');
|
|---|
| 615 | }
|
|---|
| 616 |
|
|---|
| 617 | this._setProperty('border-right-style', v);
|
|---|
| 618 | }
|
|---|
| 619 | },
|
|---|
| 620 | get: function () {
|
|---|
| 621 | return this.getPropertyValue('border-right-style');
|
|---|
| 622 | },
|
|---|
| 623 | enumerable: true,
|
|---|
| 624 | configurable: true
|
|---|
| 625 | };
|
|---|
| 626 | var borderRightColor_export_isValid, borderRightColor_export_definition;
|
|---|
| 627 | var borderRightColor_local_var_isValid = borderRightColor_export_isValid = borderColor_export_isValid;
|
|---|
| 628 | borderRightColor_export_definition = {
|
|---|
| 629 | set: function (v) {
|
|---|
| 630 | if (borderRightColor_local_var_isValid(v)) {
|
|---|
| 631 | this._setProperty('border-right-color', v);
|
|---|
| 632 | }
|
|---|
| 633 | },
|
|---|
| 634 | get: function () {
|
|---|
| 635 | return this.getPropertyValue('border-right-color');
|
|---|
| 636 | },
|
|---|
| 637 | enumerable: true,
|
|---|
| 638 | configurable: true
|
|---|
| 639 | };
|
|---|
| 640 | var borderRight_export_definition;
|
|---|
| 641 | var borderRight_local_var_shorthand_for = {
|
|---|
| 642 | 'border-right-width': {
|
|---|
| 643 | isValid: borderRightWidth_export_isValid,
|
|---|
| 644 | definition: borderRightWidth_export_definition
|
|---|
| 645 | },
|
|---|
| 646 | 'border-right-style': {
|
|---|
| 647 | isValid: borderRightStyle_export_isValid,
|
|---|
| 648 | definition: borderRightStyle_export_definition
|
|---|
| 649 | },
|
|---|
| 650 | 'border-right-color': {
|
|---|
| 651 | isValid: borderRightColor_export_isValid,
|
|---|
| 652 | definition: borderRightColor_export_definition
|
|---|
| 653 | }
|
|---|
| 654 | };
|
|---|
| 655 | borderRight_export_definition = {
|
|---|
| 656 | set: external_dependency_parsers_0.shorthandSetter('border-right', borderRight_local_var_shorthand_for),
|
|---|
| 657 | get: external_dependency_parsers_0.shorthandGetter('border-right', borderRight_local_var_shorthand_for),
|
|---|
| 658 | enumerable: true,
|
|---|
| 659 | configurable: true
|
|---|
| 660 | };
|
|---|
| 661 | var borderSpacing_export_definition;
|
|---|
| 662 |
|
|---|
| 663 | // <length> <length>? | inherit
|
|---|
| 664 | // if one, it applies to both horizontal and verical spacing
|
|---|
| 665 | // if two, the first applies to the horizontal and the second applies to vertical spacing
|
|---|
| 666 | var borderSpacing_local_var_parse = function parse(v) {
|
|---|
| 667 | if (v === '' || v === null) {
|
|---|
| 668 | return undefined;
|
|---|
| 669 | }
|
|---|
| 670 |
|
|---|
| 671 | if (v === 0) {
|
|---|
| 672 | return '0px';
|
|---|
| 673 | }
|
|---|
| 674 |
|
|---|
| 675 | if (v.toLowerCase() === 'inherit') {
|
|---|
| 676 | return v;
|
|---|
| 677 | }
|
|---|
| 678 |
|
|---|
| 679 | var parts = v.split(/\s+/);
|
|---|
| 680 |
|
|---|
| 681 | if (parts.length !== 1 && parts.length !== 2) {
|
|---|
| 682 | return undefined;
|
|---|
| 683 | }
|
|---|
| 684 |
|
|---|
| 685 | parts.forEach(function (part) {
|
|---|
| 686 | if (external_dependency_parsers_0.valueType(part) !== external_dependency_parsers_0.TYPES.LENGTH) {
|
|---|
| 687 | return undefined;
|
|---|
| 688 | }
|
|---|
| 689 | });
|
|---|
| 690 | return v;
|
|---|
| 691 | };
|
|---|
| 692 |
|
|---|
| 693 | borderSpacing_export_definition = {
|
|---|
| 694 | set: function (v) {
|
|---|
| 695 | this._setProperty('border-spacing', borderSpacing_local_var_parse(v));
|
|---|
| 696 | },
|
|---|
| 697 | get: function () {
|
|---|
| 698 | return this.getPropertyValue('border-spacing');
|
|---|
| 699 | },
|
|---|
| 700 | enumerable: true,
|
|---|
| 701 | configurable: true
|
|---|
| 702 | };
|
|---|
| 703 | var borderTopWidth_export_isValid, borderTopWidth_export_definition;
|
|---|
| 704 | borderTopWidth_export_isValid = borderWidth_export_isValid;
|
|---|
| 705 | borderTopWidth_export_definition = {
|
|---|
| 706 | set: function (v) {
|
|---|
| 707 | if (borderWidth_export_isValid(v)) {
|
|---|
| 708 | this._setProperty('border-top-width', v);
|
|---|
| 709 | }
|
|---|
| 710 | },
|
|---|
| 711 | get: function () {
|
|---|
| 712 | return this.getPropertyValue('border-top-width');
|
|---|
| 713 | },
|
|---|
| 714 | enumerable: true,
|
|---|
| 715 | configurable: true
|
|---|
| 716 | };
|
|---|
| 717 | var borderTopStyle_export_isValid, borderTopStyle_export_definition;
|
|---|
| 718 | borderTopStyle_export_isValid = borderStyle_export_isValid;
|
|---|
| 719 | borderTopStyle_export_definition = {
|
|---|
| 720 | set: function (v) {
|
|---|
| 721 | if (borderStyle_export_isValid(v)) {
|
|---|
| 722 | if (v.toLowerCase() === 'none') {
|
|---|
| 723 | v = '';
|
|---|
| 724 | this.removeProperty('border-top-width');
|
|---|
| 725 | }
|
|---|
| 726 |
|
|---|
| 727 | this._setProperty('border-top-style', v);
|
|---|
| 728 | }
|
|---|
| 729 | },
|
|---|
| 730 | get: function () {
|
|---|
| 731 | return this.getPropertyValue('border-top-style');
|
|---|
| 732 | },
|
|---|
| 733 | enumerable: true,
|
|---|
| 734 | configurable: true
|
|---|
| 735 | };
|
|---|
| 736 | var borderTopColor_export_isValid, borderTopColor_export_definition;
|
|---|
| 737 | var borderTopColor_local_var_isValid = borderTopColor_export_isValid = borderColor_export_isValid;
|
|---|
| 738 | borderTopColor_export_definition = {
|
|---|
| 739 | set: function (v) {
|
|---|
| 740 | if (borderTopColor_local_var_isValid(v)) {
|
|---|
| 741 | this._setProperty('border-top-color', v);
|
|---|
| 742 | }
|
|---|
| 743 | },
|
|---|
| 744 | get: function () {
|
|---|
| 745 | return this.getPropertyValue('border-top-color');
|
|---|
| 746 | },
|
|---|
| 747 | enumerable: true,
|
|---|
| 748 | configurable: true
|
|---|
| 749 | };
|
|---|
| 750 | var borderTop_export_definition;
|
|---|
| 751 | var borderTop_local_var_shorthand_for = {
|
|---|
| 752 | 'border-top-width': {
|
|---|
| 753 | isValid: borderTopWidth_export_isValid,
|
|---|
| 754 | definition: borderTopWidth_export_definition
|
|---|
| 755 | },
|
|---|
| 756 | 'border-top-style': {
|
|---|
| 757 | isValid: borderTopStyle_export_isValid,
|
|---|
| 758 | definition: borderTopStyle_export_definition
|
|---|
| 759 | },
|
|---|
| 760 | 'border-top-color': {
|
|---|
| 761 | isValid: borderTopColor_export_isValid,
|
|---|
| 762 | definition: borderTopColor_export_definition
|
|---|
| 763 | }
|
|---|
| 764 | };
|
|---|
| 765 | borderTop_export_definition = {
|
|---|
| 766 | set: external_dependency_parsers_0.shorthandSetter('border-top', borderTop_local_var_shorthand_for),
|
|---|
| 767 | get: external_dependency_parsers_0.shorthandGetter('border-top', borderTop_local_var_shorthand_for),
|
|---|
| 768 | enumerable: true,
|
|---|
| 769 | configurable: true
|
|---|
| 770 | };
|
|---|
| 771 | var bottom_export_definition;
|
|---|
| 772 | bottom_export_definition = {
|
|---|
| 773 | set: function (v) {
|
|---|
| 774 | this._setProperty('bottom', external_dependency_parsers_0.parseMeasurement(v));
|
|---|
| 775 | },
|
|---|
| 776 | get: function () {
|
|---|
| 777 | return this.getPropertyValue('bottom');
|
|---|
| 778 | },
|
|---|
| 779 | enumerable: true,
|
|---|
| 780 | configurable: true
|
|---|
| 781 | };
|
|---|
| 782 | var clear_export_definition;
|
|---|
| 783 | var clear_local_var_clear_keywords = ['none', 'left', 'right', 'both', 'inherit'];
|
|---|
| 784 | clear_export_definition = {
|
|---|
| 785 | set: function (v) {
|
|---|
| 786 | this._setProperty('clear', external_dependency_parsers_0.parseKeyword(v, clear_local_var_clear_keywords));
|
|---|
| 787 | },
|
|---|
| 788 | get: function () {
|
|---|
| 789 | return this.getPropertyValue('clear');
|
|---|
| 790 | },
|
|---|
| 791 | enumerable: true,
|
|---|
| 792 | configurable: true
|
|---|
| 793 | };
|
|---|
| 794 | var clip_export_definition;
|
|---|
| 795 | var clip_local_var_shape_regex = /^rect\((.*)\)$/i;
|
|---|
| 796 |
|
|---|
| 797 | var clip_local_var_parse = function (val) {
|
|---|
| 798 | if (val === '' || val === null) {
|
|---|
| 799 | return val;
|
|---|
| 800 | }
|
|---|
| 801 |
|
|---|
| 802 | if (typeof val !== 'string') {
|
|---|
| 803 | return undefined;
|
|---|
| 804 | }
|
|---|
| 805 |
|
|---|
| 806 | val = val.toLowerCase();
|
|---|
| 807 |
|
|---|
| 808 | if (val === 'auto' || val === 'inherit') {
|
|---|
| 809 | return val;
|
|---|
| 810 | }
|
|---|
| 811 |
|
|---|
| 812 | var matches = val.match(clip_local_var_shape_regex);
|
|---|
| 813 |
|
|---|
| 814 | if (!matches) {
|
|---|
| 815 | return undefined;
|
|---|
| 816 | }
|
|---|
| 817 |
|
|---|
| 818 | var parts = matches[1].split(/\s*,\s*/);
|
|---|
| 819 |
|
|---|
| 820 | if (parts.length !== 4) {
|
|---|
| 821 | return undefined;
|
|---|
| 822 | }
|
|---|
| 823 |
|
|---|
| 824 | var valid = parts.every(function (part, index) {
|
|---|
| 825 | var measurement = external_dependency_parsers_0.parseMeasurement(part);
|
|---|
| 826 | parts[index] = measurement;
|
|---|
| 827 | return measurement !== undefined;
|
|---|
| 828 | });
|
|---|
| 829 |
|
|---|
| 830 | if (!valid) {
|
|---|
| 831 | return undefined;
|
|---|
| 832 | }
|
|---|
| 833 |
|
|---|
| 834 | parts = parts.join(', ');
|
|---|
| 835 | return val.replace(matches[1], parts);
|
|---|
| 836 | };
|
|---|
| 837 |
|
|---|
| 838 | clip_export_definition = {
|
|---|
| 839 | set: function (v) {
|
|---|
| 840 | this._setProperty('clip', clip_local_var_parse(v));
|
|---|
| 841 | },
|
|---|
| 842 | get: function () {
|
|---|
| 843 | return this.getPropertyValue('clip');
|
|---|
| 844 | },
|
|---|
| 845 | enumerable: true,
|
|---|
| 846 | configurable: true
|
|---|
| 847 | };
|
|---|
| 848 | var color_export_definition;
|
|---|
| 849 | color_export_definition = {
|
|---|
| 850 | set: function (v) {
|
|---|
| 851 | this._setProperty('color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 852 | },
|
|---|
| 853 | get: function () {
|
|---|
| 854 | return this.getPropertyValue('color');
|
|---|
| 855 | },
|
|---|
| 856 | enumerable: true,
|
|---|
| 857 | configurable: true
|
|---|
| 858 | };
|
|---|
| 859 | var cssFloat_export_definition;
|
|---|
| 860 | cssFloat_export_definition = {
|
|---|
| 861 | set: function (v) {
|
|---|
| 862 | this._setProperty('float', v);
|
|---|
| 863 | },
|
|---|
| 864 | get: function () {
|
|---|
| 865 | return this.getPropertyValue('float');
|
|---|
| 866 | },
|
|---|
| 867 | enumerable: true,
|
|---|
| 868 | configurable: true
|
|---|
| 869 | };
|
|---|
| 870 | var flexGrow_export_isValid, flexGrow_export_definition;
|
|---|
| 871 |
|
|---|
| 872 | flexGrow_export_isValid = function isValid(v, positionAtFlexShorthand) {
|
|---|
| 873 | return external_dependency_parsers_0.parseNumber(v) !== undefined && positionAtFlexShorthand === external_dependency_constants_1.POSITION_AT_SHORTHAND.first;
|
|---|
| 874 | };
|
|---|
| 875 |
|
|---|
| 876 | flexGrow_export_definition = {
|
|---|
| 877 | set: function (v) {
|
|---|
| 878 | this._setProperty('flex-grow', external_dependency_parsers_0.parseNumber(v));
|
|---|
| 879 | },
|
|---|
| 880 | get: function () {
|
|---|
| 881 | return this.getPropertyValue('flex-grow');
|
|---|
| 882 | },
|
|---|
| 883 | enumerable: true,
|
|---|
| 884 | configurable: true
|
|---|
| 885 | };
|
|---|
| 886 | var flexShrink_export_isValid, flexShrink_export_definition;
|
|---|
| 887 |
|
|---|
| 888 | flexShrink_export_isValid = function isValid(v, positionAtFlexShorthand) {
|
|---|
| 889 | return external_dependency_parsers_0.parseNumber(v) !== undefined && positionAtFlexShorthand === external_dependency_constants_1.POSITION_AT_SHORTHAND.second;
|
|---|
| 890 | };
|
|---|
| 891 |
|
|---|
| 892 | flexShrink_export_definition = {
|
|---|
| 893 | set: function (v) {
|
|---|
| 894 | this._setProperty('flex-shrink', external_dependency_parsers_0.parseNumber(v));
|
|---|
| 895 | },
|
|---|
| 896 | get: function () {
|
|---|
| 897 | return this.getPropertyValue('flex-shrink');
|
|---|
| 898 | },
|
|---|
| 899 | enumerable: true,
|
|---|
| 900 | configurable: true
|
|---|
| 901 | };
|
|---|
| 902 | var flexBasis_export_isValid, flexBasis_export_definition;
|
|---|
| 903 |
|
|---|
| 904 | function flexBasis_local_fn_parse(v) {
|
|---|
| 905 | if (String(v).toLowerCase() === 'auto') {
|
|---|
| 906 | return 'auto';
|
|---|
| 907 | }
|
|---|
| 908 |
|
|---|
| 909 | if (String(v).toLowerCase() === 'inherit') {
|
|---|
| 910 | return 'inherit';
|
|---|
| 911 | }
|
|---|
| 912 |
|
|---|
| 913 | return external_dependency_parsers_0.parseMeasurement(v);
|
|---|
| 914 | }
|
|---|
| 915 |
|
|---|
| 916 | flexBasis_export_isValid = function isValid(v) {
|
|---|
| 917 | return flexBasis_local_fn_parse(v) !== undefined;
|
|---|
| 918 | };
|
|---|
| 919 |
|
|---|
| 920 | flexBasis_export_definition = {
|
|---|
| 921 | set: function (v) {
|
|---|
| 922 | this._setProperty('flex-basis', flexBasis_local_fn_parse(v));
|
|---|
| 923 | },
|
|---|
| 924 | get: function () {
|
|---|
| 925 | return this.getPropertyValue('flex-basis');
|
|---|
| 926 | },
|
|---|
| 927 | enumerable: true,
|
|---|
| 928 | configurable: true
|
|---|
| 929 | };
|
|---|
| 930 | var flex_export_isValid, flex_export_definition;
|
|---|
| 931 | var flex_local_var_shorthand_for = {
|
|---|
| 932 | 'flex-grow': {
|
|---|
| 933 | isValid: flexGrow_export_isValid,
|
|---|
| 934 | definition: flexGrow_export_definition
|
|---|
| 935 | },
|
|---|
| 936 | 'flex-shrink': {
|
|---|
| 937 | isValid: flexShrink_export_isValid,
|
|---|
| 938 | definition: flexShrink_export_definition
|
|---|
| 939 | },
|
|---|
| 940 | 'flex-basis': {
|
|---|
| 941 | isValid: flexBasis_export_isValid,
|
|---|
| 942 | definition: flexBasis_export_definition
|
|---|
| 943 | }
|
|---|
| 944 | };
|
|---|
| 945 | var flex_local_var_myShorthandSetter = external_dependency_parsers_0.shorthandSetter('flex', flex_local_var_shorthand_for);
|
|---|
| 946 |
|
|---|
| 947 | flex_export_isValid = function isValid(v) {
|
|---|
| 948 | return external_dependency_parsers_0.shorthandParser(v, flex_local_var_shorthand_for) !== undefined;
|
|---|
| 949 | };
|
|---|
| 950 |
|
|---|
| 951 | flex_export_definition = {
|
|---|
| 952 | set: function (v) {
|
|---|
| 953 | var normalizedValue = String(v).trim().toLowerCase();
|
|---|
| 954 |
|
|---|
| 955 | if (normalizedValue === 'none') {
|
|---|
| 956 | flex_local_var_myShorthandSetter.call(this, '0 0 auto');
|
|---|
| 957 | return;
|
|---|
| 958 | }
|
|---|
| 959 |
|
|---|
| 960 | if (normalizedValue === 'initial') {
|
|---|
| 961 | flex_local_var_myShorthandSetter.call(this, '0 1 auto');
|
|---|
| 962 | return;
|
|---|
| 963 | }
|
|---|
| 964 |
|
|---|
| 965 | if (normalizedValue === 'auto') {
|
|---|
| 966 | this.removeProperty('flex-grow');
|
|---|
| 967 | this.removeProperty('flex-shrink');
|
|---|
| 968 | this.setProperty('flex-basis', normalizedValue);
|
|---|
| 969 | return;
|
|---|
| 970 | }
|
|---|
| 971 |
|
|---|
| 972 | flex_local_var_myShorthandSetter.call(this, v);
|
|---|
| 973 | },
|
|---|
| 974 | get: external_dependency_parsers_0.shorthandGetter('flex', flex_local_var_shorthand_for),
|
|---|
| 975 | enumerable: true,
|
|---|
| 976 | configurable: true
|
|---|
| 977 | };
|
|---|
| 978 | var float_export_definition;
|
|---|
| 979 | float_export_definition = {
|
|---|
| 980 | set: function (v) {
|
|---|
| 981 | this._setProperty('float', v);
|
|---|
| 982 | },
|
|---|
| 983 | get: function () {
|
|---|
| 984 | return this.getPropertyValue('float');
|
|---|
| 985 | },
|
|---|
| 986 | enumerable: true,
|
|---|
| 987 | configurable: true
|
|---|
| 988 | };
|
|---|
| 989 | var floodColor_export_definition;
|
|---|
| 990 | floodColor_export_definition = {
|
|---|
| 991 | set: function (v) {
|
|---|
| 992 | this._setProperty('flood-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 993 | },
|
|---|
| 994 | get: function () {
|
|---|
| 995 | return this.getPropertyValue('flood-color');
|
|---|
| 996 | },
|
|---|
| 997 | enumerable: true,
|
|---|
| 998 | configurable: true
|
|---|
| 999 | };
|
|---|
| 1000 | var fontFamily_export_isValid, fontFamily_export_definition;
|
|---|
| 1001 | var fontFamily_local_var_partsRegEx = /\s*,\s*/;
|
|---|
| 1002 |
|
|---|
| 1003 | fontFamily_export_isValid = function isValid(v) {
|
|---|
| 1004 | if (v === '' || v === null) {
|
|---|
| 1005 | return true;
|
|---|
| 1006 | }
|
|---|
| 1007 |
|
|---|
| 1008 | var parts = v.split(fontFamily_local_var_partsRegEx);
|
|---|
| 1009 | var len = parts.length;
|
|---|
| 1010 | var i;
|
|---|
| 1011 | var type;
|
|---|
| 1012 |
|
|---|
| 1013 | for (i = 0; i < len; i++) {
|
|---|
| 1014 | type = external_dependency_parsers_0.valueType(parts[i]);
|
|---|
| 1015 |
|
|---|
| 1016 | if (type === external_dependency_parsers_0.TYPES.STRING || type === external_dependency_parsers_0.TYPES.KEYWORD) {
|
|---|
| 1017 | return true;
|
|---|
| 1018 | }
|
|---|
| 1019 | }
|
|---|
| 1020 |
|
|---|
| 1021 | return false;
|
|---|
| 1022 | };
|
|---|
| 1023 |
|
|---|
| 1024 | fontFamily_export_definition = {
|
|---|
| 1025 | set: function (v) {
|
|---|
| 1026 | this._setProperty('font-family', v);
|
|---|
| 1027 | },
|
|---|
| 1028 | get: function () {
|
|---|
| 1029 | return this.getPropertyValue('font-family');
|
|---|
| 1030 | },
|
|---|
| 1031 | enumerable: true,
|
|---|
| 1032 | configurable: true
|
|---|
| 1033 | };
|
|---|
| 1034 | var fontSize_export_isValid, fontSize_export_definition;
|
|---|
| 1035 | var fontSize_local_var_absoluteSizes = ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'];
|
|---|
| 1036 | var fontSize_local_var_relativeSizes = ['larger', 'smaller'];
|
|---|
| 1037 |
|
|---|
| 1038 | fontSize_export_isValid = function (v) {
|
|---|
| 1039 | var type = external_dependency_parsers_0.valueType(v.toLowerCase());
|
|---|
| 1040 | return type === external_dependency_parsers_0.TYPES.LENGTH || type === external_dependency_parsers_0.TYPES.PERCENT || type === external_dependency_parsers_0.TYPES.KEYWORD && fontSize_local_var_absoluteSizes.indexOf(v.toLowerCase()) !== -1 || type === external_dependency_parsers_0.TYPES.KEYWORD && fontSize_local_var_relativeSizes.indexOf(v.toLowerCase()) !== -1;
|
|---|
| 1041 | };
|
|---|
| 1042 |
|
|---|
| 1043 | function fontSize_local_fn_parse(v) {
|
|---|
| 1044 | const valueAsString = String(v).toLowerCase();
|
|---|
| 1045 | const optionalArguments = fontSize_local_var_absoluteSizes.concat(fontSize_local_var_relativeSizes);
|
|---|
| 1046 | const isOptionalArgument = optionalArguments.some(stringValue => stringValue.toLowerCase() === valueAsString);
|
|---|
| 1047 | return isOptionalArgument ? valueAsString : external_dependency_parsers_0.parseMeasurement(v);
|
|---|
| 1048 | }
|
|---|
| 1049 |
|
|---|
| 1050 | fontSize_export_definition = {
|
|---|
| 1051 | set: function (v) {
|
|---|
| 1052 | this._setProperty('font-size', fontSize_local_fn_parse(v));
|
|---|
| 1053 | },
|
|---|
| 1054 | get: function () {
|
|---|
| 1055 | return this.getPropertyValue('font-size');
|
|---|
| 1056 | },
|
|---|
| 1057 | enumerable: true,
|
|---|
| 1058 | configurable: true
|
|---|
| 1059 | };
|
|---|
| 1060 | var fontStyle_export_isValid, fontStyle_export_definition;
|
|---|
| 1061 | var fontStyle_local_var_valid_styles = ['normal', 'italic', 'oblique', 'inherit'];
|
|---|
| 1062 |
|
|---|
| 1063 | fontStyle_export_isValid = function (v) {
|
|---|
| 1064 | return fontStyle_local_var_valid_styles.indexOf(v.toLowerCase()) !== -1;
|
|---|
| 1065 | };
|
|---|
| 1066 |
|
|---|
| 1067 | fontStyle_export_definition = {
|
|---|
| 1068 | set: function (v) {
|
|---|
| 1069 | this._setProperty('font-style', v);
|
|---|
| 1070 | },
|
|---|
| 1071 | get: function () {
|
|---|
| 1072 | return this.getPropertyValue('font-style');
|
|---|
| 1073 | },
|
|---|
| 1074 | enumerable: true,
|
|---|
| 1075 | configurable: true
|
|---|
| 1076 | };
|
|---|
| 1077 | var fontVariant_export_isValid, fontVariant_export_definition;
|
|---|
| 1078 | var fontVariant_local_var_valid_variants = ['normal', 'small-caps', 'inherit'];
|
|---|
| 1079 |
|
|---|
| 1080 | fontVariant_export_isValid = function isValid(v) {
|
|---|
| 1081 | return fontVariant_local_var_valid_variants.indexOf(v.toLowerCase()) !== -1;
|
|---|
| 1082 | };
|
|---|
| 1083 |
|
|---|
| 1084 | fontVariant_export_definition = {
|
|---|
| 1085 | set: function (v) {
|
|---|
| 1086 | this._setProperty('font-variant', v);
|
|---|
| 1087 | },
|
|---|
| 1088 | get: function () {
|
|---|
| 1089 | return this.getPropertyValue('font-variant');
|
|---|
| 1090 | },
|
|---|
| 1091 | enumerable: true,
|
|---|
| 1092 | configurable: true
|
|---|
| 1093 | };
|
|---|
| 1094 | var fontWeight_export_isValid, fontWeight_export_definition;
|
|---|
| 1095 | var fontWeight_local_var_valid_weights = ['normal', 'bold', 'bolder', 'lighter', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'inherit'];
|
|---|
| 1096 |
|
|---|
| 1097 | fontWeight_export_isValid = function isValid(v) {
|
|---|
| 1098 | return fontWeight_local_var_valid_weights.indexOf(v.toLowerCase()) !== -1;
|
|---|
| 1099 | };
|
|---|
| 1100 |
|
|---|
| 1101 | fontWeight_export_definition = {
|
|---|
| 1102 | set: function (v) {
|
|---|
| 1103 | this._setProperty('font-weight', v);
|
|---|
| 1104 | },
|
|---|
| 1105 | get: function () {
|
|---|
| 1106 | return this.getPropertyValue('font-weight');
|
|---|
| 1107 | },
|
|---|
| 1108 | enumerable: true,
|
|---|
| 1109 | configurable: true
|
|---|
| 1110 | };
|
|---|
| 1111 | var lineHeight_export_isValid, lineHeight_export_definition;
|
|---|
| 1112 |
|
|---|
| 1113 | lineHeight_export_isValid = function isValid(v) {
|
|---|
| 1114 | var type = external_dependency_parsers_0.valueType(v);
|
|---|
| 1115 | return type === external_dependency_parsers_0.TYPES.KEYWORD && v.toLowerCase() === 'normal' || v.toLowerCase() === 'inherit' || type === external_dependency_parsers_0.TYPES.NUMBER || type === external_dependency_parsers_0.TYPES.LENGTH || type === external_dependency_parsers_0.TYPES.PERCENT;
|
|---|
| 1116 | };
|
|---|
| 1117 |
|
|---|
| 1118 | lineHeight_export_definition = {
|
|---|
| 1119 | set: function (v) {
|
|---|
| 1120 | this._setProperty('line-height', v);
|
|---|
| 1121 | },
|
|---|
| 1122 | get: function () {
|
|---|
| 1123 | return this.getPropertyValue('line-height');
|
|---|
| 1124 | },
|
|---|
| 1125 | enumerable: true,
|
|---|
| 1126 | configurable: true
|
|---|
| 1127 | };
|
|---|
| 1128 | var font_export_definition;
|
|---|
| 1129 | var font_local_var_shorthand_for = {
|
|---|
| 1130 | 'font-family': {
|
|---|
| 1131 | isValid: fontFamily_export_isValid,
|
|---|
| 1132 | definition: fontFamily_export_definition
|
|---|
| 1133 | },
|
|---|
| 1134 | 'font-size': {
|
|---|
| 1135 | isValid: fontSize_export_isValid,
|
|---|
| 1136 | definition: fontSize_export_definition
|
|---|
| 1137 | },
|
|---|
| 1138 | 'font-style': {
|
|---|
| 1139 | isValid: fontStyle_export_isValid,
|
|---|
| 1140 | definition: fontStyle_export_definition
|
|---|
| 1141 | },
|
|---|
| 1142 | 'font-variant': {
|
|---|
| 1143 | isValid: fontVariant_export_isValid,
|
|---|
| 1144 | definition: fontVariant_export_definition
|
|---|
| 1145 | },
|
|---|
| 1146 | 'font-weight': {
|
|---|
| 1147 | isValid: fontWeight_export_isValid,
|
|---|
| 1148 | definition: fontWeight_export_definition
|
|---|
| 1149 | },
|
|---|
| 1150 | 'line-height': {
|
|---|
| 1151 | isValid: lineHeight_export_isValid,
|
|---|
| 1152 | definition: lineHeight_export_definition
|
|---|
| 1153 | }
|
|---|
| 1154 | };
|
|---|
| 1155 | var font_local_var_static_fonts = ['caption', 'icon', 'menu', 'message-box', 'small-caption', 'status-bar', 'inherit'];
|
|---|
| 1156 | var font_local_var_setter = external_dependency_parsers_0.shorthandSetter('font', font_local_var_shorthand_for);
|
|---|
| 1157 | font_export_definition = {
|
|---|
| 1158 | set: function (v) {
|
|---|
| 1159 | var short = external_dependency_parsers_0.shorthandParser(v, font_local_var_shorthand_for);
|
|---|
| 1160 |
|
|---|
| 1161 | if (short !== undefined) {
|
|---|
| 1162 | return font_local_var_setter.call(this, v);
|
|---|
| 1163 | }
|
|---|
| 1164 |
|
|---|
| 1165 | if (external_dependency_parsers_0.valueType(v) === external_dependency_parsers_0.TYPES.KEYWORD && font_local_var_static_fonts.indexOf(v.toLowerCase()) !== -1) {
|
|---|
| 1166 | this._setProperty('font', v);
|
|---|
| 1167 | }
|
|---|
| 1168 | },
|
|---|
| 1169 | get: external_dependency_parsers_0.shorthandGetter('font', font_local_var_shorthand_for),
|
|---|
| 1170 | enumerable: true,
|
|---|
| 1171 | configurable: true
|
|---|
| 1172 | };
|
|---|
| 1173 | var height_export_definition;
|
|---|
| 1174 |
|
|---|
| 1175 | function height_local_fn_parse(v) {
|
|---|
| 1176 | if (String(v).toLowerCase() === 'auto') {
|
|---|
| 1177 | return 'auto';
|
|---|
| 1178 | }
|
|---|
| 1179 |
|
|---|
| 1180 | if (String(v).toLowerCase() === 'inherit') {
|
|---|
| 1181 | return 'inherit';
|
|---|
| 1182 | }
|
|---|
| 1183 |
|
|---|
| 1184 | return external_dependency_parsers_0.parseMeasurement(v);
|
|---|
| 1185 | }
|
|---|
| 1186 |
|
|---|
| 1187 | height_export_definition = {
|
|---|
| 1188 | set: function (v) {
|
|---|
| 1189 | this._setProperty('height', height_local_fn_parse(v));
|
|---|
| 1190 | },
|
|---|
| 1191 | get: function () {
|
|---|
| 1192 | return this.getPropertyValue('height');
|
|---|
| 1193 | },
|
|---|
| 1194 | enumerable: true,
|
|---|
| 1195 | configurable: true
|
|---|
| 1196 | };
|
|---|
| 1197 | var left_export_definition;
|
|---|
| 1198 | left_export_definition = {
|
|---|
| 1199 | set: function (v) {
|
|---|
| 1200 | this._setProperty('left', external_dependency_parsers_0.parseMeasurement(v));
|
|---|
| 1201 | },
|
|---|
| 1202 | get: function () {
|
|---|
| 1203 | return this.getPropertyValue('left');
|
|---|
| 1204 | },
|
|---|
| 1205 | enumerable: true,
|
|---|
| 1206 | configurable: true
|
|---|
| 1207 | };
|
|---|
| 1208 | var lightingColor_export_definition;
|
|---|
| 1209 | lightingColor_export_definition = {
|
|---|
| 1210 | set: function (v) {
|
|---|
| 1211 | this._setProperty('lighting-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1212 | },
|
|---|
| 1213 | get: function () {
|
|---|
| 1214 | return this.getPropertyValue('lighting-color');
|
|---|
| 1215 | },
|
|---|
| 1216 | enumerable: true,
|
|---|
| 1217 | configurable: true
|
|---|
| 1218 | };
|
|---|
| 1219 | var margin_export_definition, margin_export_isValid, margin_export_parser;
|
|---|
| 1220 | var margin_local_var_TYPES = external_dependency_parsers_0.TYPES;
|
|---|
| 1221 |
|
|---|
| 1222 | var margin_local_var_isValid = function (v) {
|
|---|
| 1223 | if (v.toLowerCase() === 'auto') {
|
|---|
| 1224 | return true;
|
|---|
| 1225 | }
|
|---|
| 1226 |
|
|---|
| 1227 | var type = external_dependency_parsers_0.valueType(v);
|
|---|
| 1228 | return type === margin_local_var_TYPES.LENGTH || type === margin_local_var_TYPES.PERCENT || type === margin_local_var_TYPES.INTEGER && (v === '0' || v === 0);
|
|---|
| 1229 | };
|
|---|
| 1230 |
|
|---|
| 1231 | var margin_local_var_parser = function (v) {
|
|---|
| 1232 | var V = v.toLowerCase();
|
|---|
| 1233 |
|
|---|
| 1234 | if (V === 'auto') {
|
|---|
| 1235 | return V;
|
|---|
| 1236 | }
|
|---|
| 1237 |
|
|---|
| 1238 | return external_dependency_parsers_0.parseMeasurement(v);
|
|---|
| 1239 | };
|
|---|
| 1240 |
|
|---|
| 1241 | var margin_local_var_mySetter = external_dependency_parsers_0.implicitSetter('margin', '', margin_local_var_isValid, margin_local_var_parser);
|
|---|
| 1242 | var margin_local_var_myGlobal = external_dependency_parsers_0.implicitSetter('margin', '', function () {
|
|---|
| 1243 | return true;
|
|---|
| 1244 | }, function (v) {
|
|---|
| 1245 | return v;
|
|---|
| 1246 | });
|
|---|
| 1247 | margin_export_definition = {
|
|---|
| 1248 | set: function (v) {
|
|---|
| 1249 | if (typeof v === 'number') {
|
|---|
| 1250 | v = String(v);
|
|---|
| 1251 | }
|
|---|
| 1252 |
|
|---|
| 1253 | if (typeof v !== 'string') {
|
|---|
| 1254 | return;
|
|---|
| 1255 | }
|
|---|
| 1256 |
|
|---|
| 1257 | var V = v.toLowerCase();
|
|---|
| 1258 |
|
|---|
| 1259 | switch (V) {
|
|---|
| 1260 | case 'inherit':
|
|---|
| 1261 | case 'initial':
|
|---|
| 1262 | case 'unset':
|
|---|
| 1263 | case '':
|
|---|
| 1264 | margin_local_var_myGlobal.call(this, V);
|
|---|
| 1265 | break;
|
|---|
| 1266 |
|
|---|
| 1267 | default:
|
|---|
| 1268 | margin_local_var_mySetter.call(this, v);
|
|---|
| 1269 | break;
|
|---|
| 1270 | }
|
|---|
| 1271 | },
|
|---|
| 1272 | get: function () {
|
|---|
| 1273 | return this.getPropertyValue('margin');
|
|---|
| 1274 | },
|
|---|
| 1275 | enumerable: true,
|
|---|
| 1276 | configurable: true
|
|---|
| 1277 | };
|
|---|
| 1278 | margin_export_isValid = margin_local_var_isValid;
|
|---|
| 1279 | margin_export_parser = margin_local_var_parser;
|
|---|
| 1280 | var marginBottom_export_definition;
|
|---|
| 1281 | marginBottom_export_definition = {
|
|---|
| 1282 | set: external_dependency_parsers_0.subImplicitSetter('margin', 'bottom', {
|
|---|
| 1283 | definition: margin_export_definition,
|
|---|
| 1284 | isValid: margin_export_isValid,
|
|---|
| 1285 | parser: margin_export_parser
|
|---|
| 1286 | }.isValid, {
|
|---|
| 1287 | definition: margin_export_definition,
|
|---|
| 1288 | isValid: margin_export_isValid,
|
|---|
| 1289 | parser: margin_export_parser
|
|---|
| 1290 | }.parser),
|
|---|
| 1291 | get: function () {
|
|---|
| 1292 | return this.getPropertyValue('margin-bottom');
|
|---|
| 1293 | },
|
|---|
| 1294 | enumerable: true,
|
|---|
| 1295 | configurable: true
|
|---|
| 1296 | };
|
|---|
| 1297 | var marginLeft_export_definition;
|
|---|
| 1298 | marginLeft_export_definition = {
|
|---|
| 1299 | set: external_dependency_parsers_0.subImplicitSetter('margin', 'left', {
|
|---|
| 1300 | definition: margin_export_definition,
|
|---|
| 1301 | isValid: margin_export_isValid,
|
|---|
| 1302 | parser: margin_export_parser
|
|---|
| 1303 | }.isValid, {
|
|---|
| 1304 | definition: margin_export_definition,
|
|---|
| 1305 | isValid: margin_export_isValid,
|
|---|
| 1306 | parser: margin_export_parser
|
|---|
| 1307 | }.parser),
|
|---|
| 1308 | get: function () {
|
|---|
| 1309 | return this.getPropertyValue('margin-left');
|
|---|
| 1310 | },
|
|---|
| 1311 | enumerable: true,
|
|---|
| 1312 | configurable: true
|
|---|
| 1313 | };
|
|---|
| 1314 | var marginRight_export_definition;
|
|---|
| 1315 | marginRight_export_definition = {
|
|---|
| 1316 | set: external_dependency_parsers_0.subImplicitSetter('margin', 'right', {
|
|---|
| 1317 | definition: margin_export_definition,
|
|---|
| 1318 | isValid: margin_export_isValid,
|
|---|
| 1319 | parser: margin_export_parser
|
|---|
| 1320 | }.isValid, {
|
|---|
| 1321 | definition: margin_export_definition,
|
|---|
| 1322 | isValid: margin_export_isValid,
|
|---|
| 1323 | parser: margin_export_parser
|
|---|
| 1324 | }.parser),
|
|---|
| 1325 | get: function () {
|
|---|
| 1326 | return this.getPropertyValue('margin-right');
|
|---|
| 1327 | },
|
|---|
| 1328 | enumerable: true,
|
|---|
| 1329 | configurable: true
|
|---|
| 1330 | };
|
|---|
| 1331 | var marginTop_export_definition;
|
|---|
| 1332 | marginTop_export_definition = {
|
|---|
| 1333 | set: external_dependency_parsers_0.subImplicitSetter('margin', 'top', {
|
|---|
| 1334 | definition: margin_export_definition,
|
|---|
| 1335 | isValid: margin_export_isValid,
|
|---|
| 1336 | parser: margin_export_parser
|
|---|
| 1337 | }.isValid, {
|
|---|
| 1338 | definition: margin_export_definition,
|
|---|
| 1339 | isValid: margin_export_isValid,
|
|---|
| 1340 | parser: margin_export_parser
|
|---|
| 1341 | }.parser),
|
|---|
| 1342 | get: function () {
|
|---|
| 1343 | return this.getPropertyValue('margin-top');
|
|---|
| 1344 | },
|
|---|
| 1345 | enumerable: true,
|
|---|
| 1346 | configurable: true
|
|---|
| 1347 | };
|
|---|
| 1348 | var opacity_export_definition;
|
|---|
| 1349 | opacity_export_definition = {
|
|---|
| 1350 | set: function (v) {
|
|---|
| 1351 | this._setProperty('opacity', external_dependency_parsers_0.parseNumber(v));
|
|---|
| 1352 | },
|
|---|
| 1353 | get: function () {
|
|---|
| 1354 | return this.getPropertyValue('opacity');
|
|---|
| 1355 | },
|
|---|
| 1356 | enumerable: true,
|
|---|
| 1357 | configurable: true
|
|---|
| 1358 | };
|
|---|
| 1359 | var outlineColor_export_definition;
|
|---|
| 1360 | outlineColor_export_definition = {
|
|---|
| 1361 | set: function (v) {
|
|---|
| 1362 | this._setProperty('outline-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1363 | },
|
|---|
| 1364 | get: function () {
|
|---|
| 1365 | return this.getPropertyValue('outline-color');
|
|---|
| 1366 | },
|
|---|
| 1367 | enumerable: true,
|
|---|
| 1368 | configurable: true
|
|---|
| 1369 | };
|
|---|
| 1370 | var padding_export_definition, padding_export_isValid, padding_export_parser;
|
|---|
| 1371 | var padding_local_var_TYPES = external_dependency_parsers_0.TYPES;
|
|---|
| 1372 |
|
|---|
| 1373 | var padding_local_var_isValid = function (v) {
|
|---|
| 1374 | var type = external_dependency_parsers_0.valueType(v);
|
|---|
| 1375 | return type === padding_local_var_TYPES.LENGTH || type === padding_local_var_TYPES.PERCENT || type === padding_local_var_TYPES.INTEGER && (v === '0' || v === 0);
|
|---|
| 1376 | };
|
|---|
| 1377 |
|
|---|
| 1378 | var padding_local_var_parser = function (v) {
|
|---|
| 1379 | return external_dependency_parsers_0.parseMeasurement(v);
|
|---|
| 1380 | };
|
|---|
| 1381 |
|
|---|
| 1382 | var padding_local_var_mySetter = external_dependency_parsers_0.implicitSetter('padding', '', padding_local_var_isValid, padding_local_var_parser);
|
|---|
| 1383 | var padding_local_var_myGlobal = external_dependency_parsers_0.implicitSetter('padding', '', function () {
|
|---|
| 1384 | return true;
|
|---|
| 1385 | }, function (v) {
|
|---|
| 1386 | return v;
|
|---|
| 1387 | });
|
|---|
| 1388 | padding_export_definition = {
|
|---|
| 1389 | set: function (v) {
|
|---|
| 1390 | if (typeof v === 'number') {
|
|---|
| 1391 | v = String(v);
|
|---|
| 1392 | }
|
|---|
| 1393 |
|
|---|
| 1394 | if (typeof v !== 'string') {
|
|---|
| 1395 | return;
|
|---|
| 1396 | }
|
|---|
| 1397 |
|
|---|
| 1398 | var V = v.toLowerCase();
|
|---|
| 1399 |
|
|---|
| 1400 | switch (V) {
|
|---|
| 1401 | case 'inherit':
|
|---|
| 1402 | case 'initial':
|
|---|
| 1403 | case 'unset':
|
|---|
| 1404 | case '':
|
|---|
| 1405 | padding_local_var_myGlobal.call(this, V);
|
|---|
| 1406 | break;
|
|---|
| 1407 |
|
|---|
| 1408 | default:
|
|---|
| 1409 | padding_local_var_mySetter.call(this, v);
|
|---|
| 1410 | break;
|
|---|
| 1411 | }
|
|---|
| 1412 | },
|
|---|
| 1413 | get: function () {
|
|---|
| 1414 | return this.getPropertyValue('padding');
|
|---|
| 1415 | },
|
|---|
| 1416 | enumerable: true,
|
|---|
| 1417 | configurable: true
|
|---|
| 1418 | };
|
|---|
| 1419 | padding_export_isValid = padding_local_var_isValid;
|
|---|
| 1420 | padding_export_parser = padding_local_var_parser;
|
|---|
| 1421 | var paddingBottom_export_definition;
|
|---|
| 1422 | paddingBottom_export_definition = {
|
|---|
| 1423 | set: external_dependency_parsers_0.subImplicitSetter('padding', 'bottom', {
|
|---|
| 1424 | definition: padding_export_definition,
|
|---|
| 1425 | isValid: padding_export_isValid,
|
|---|
| 1426 | parser: padding_export_parser
|
|---|
| 1427 | }.isValid, {
|
|---|
| 1428 | definition: padding_export_definition,
|
|---|
| 1429 | isValid: padding_export_isValid,
|
|---|
| 1430 | parser: padding_export_parser
|
|---|
| 1431 | }.parser),
|
|---|
| 1432 | get: function () {
|
|---|
| 1433 | return this.getPropertyValue('padding-bottom');
|
|---|
| 1434 | },
|
|---|
| 1435 | enumerable: true,
|
|---|
| 1436 | configurable: true
|
|---|
| 1437 | };
|
|---|
| 1438 | var paddingLeft_export_definition;
|
|---|
| 1439 | paddingLeft_export_definition = {
|
|---|
| 1440 | set: external_dependency_parsers_0.subImplicitSetter('padding', 'left', {
|
|---|
| 1441 | definition: padding_export_definition,
|
|---|
| 1442 | isValid: padding_export_isValid,
|
|---|
| 1443 | parser: padding_export_parser
|
|---|
| 1444 | }.isValid, {
|
|---|
| 1445 | definition: padding_export_definition,
|
|---|
| 1446 | isValid: padding_export_isValid,
|
|---|
| 1447 | parser: padding_export_parser
|
|---|
| 1448 | }.parser),
|
|---|
| 1449 | get: function () {
|
|---|
| 1450 | return this.getPropertyValue('padding-left');
|
|---|
| 1451 | },
|
|---|
| 1452 | enumerable: true,
|
|---|
| 1453 | configurable: true
|
|---|
| 1454 | };
|
|---|
| 1455 | var paddingRight_export_definition;
|
|---|
| 1456 | paddingRight_export_definition = {
|
|---|
| 1457 | set: external_dependency_parsers_0.subImplicitSetter('padding', 'right', {
|
|---|
| 1458 | definition: padding_export_definition,
|
|---|
| 1459 | isValid: padding_export_isValid,
|
|---|
| 1460 | parser: padding_export_parser
|
|---|
| 1461 | }.isValid, {
|
|---|
| 1462 | definition: padding_export_definition,
|
|---|
| 1463 | isValid: padding_export_isValid,
|
|---|
| 1464 | parser: padding_export_parser
|
|---|
| 1465 | }.parser),
|
|---|
| 1466 | get: function () {
|
|---|
| 1467 | return this.getPropertyValue('padding-right');
|
|---|
| 1468 | },
|
|---|
| 1469 | enumerable: true,
|
|---|
| 1470 | configurable: true
|
|---|
| 1471 | };
|
|---|
| 1472 | var paddingTop_export_definition;
|
|---|
| 1473 | paddingTop_export_definition = {
|
|---|
| 1474 | set: external_dependency_parsers_0.subImplicitSetter('padding', 'top', {
|
|---|
| 1475 | definition: padding_export_definition,
|
|---|
| 1476 | isValid: padding_export_isValid,
|
|---|
| 1477 | parser: padding_export_parser
|
|---|
| 1478 | }.isValid, {
|
|---|
| 1479 | definition: padding_export_definition,
|
|---|
| 1480 | isValid: padding_export_isValid,
|
|---|
| 1481 | parser: padding_export_parser
|
|---|
| 1482 | }.parser),
|
|---|
| 1483 | get: function () {
|
|---|
| 1484 | return this.getPropertyValue('padding-top');
|
|---|
| 1485 | },
|
|---|
| 1486 | enumerable: true,
|
|---|
| 1487 | configurable: true
|
|---|
| 1488 | };
|
|---|
| 1489 | var right_export_definition;
|
|---|
| 1490 | right_export_definition = {
|
|---|
| 1491 | set: function (v) {
|
|---|
| 1492 | this._setProperty('right', external_dependency_parsers_0.parseMeasurement(v));
|
|---|
| 1493 | },
|
|---|
| 1494 | get: function () {
|
|---|
| 1495 | return this.getPropertyValue('right');
|
|---|
| 1496 | },
|
|---|
| 1497 | enumerable: true,
|
|---|
| 1498 | configurable: true
|
|---|
| 1499 | };
|
|---|
| 1500 | var stopColor_export_definition;
|
|---|
| 1501 | stopColor_export_definition = {
|
|---|
| 1502 | set: function (v) {
|
|---|
| 1503 | this._setProperty('stop-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1504 | },
|
|---|
| 1505 | get: function () {
|
|---|
| 1506 | return this.getPropertyValue('stop-color');
|
|---|
| 1507 | },
|
|---|
| 1508 | enumerable: true,
|
|---|
| 1509 | configurable: true
|
|---|
| 1510 | };
|
|---|
| 1511 | var textLineThroughColor_export_definition;
|
|---|
| 1512 | textLineThroughColor_export_definition = {
|
|---|
| 1513 | set: function (v) {
|
|---|
| 1514 | this._setProperty('text-line-through-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1515 | },
|
|---|
| 1516 | get: function () {
|
|---|
| 1517 | return this.getPropertyValue('text-line-through-color');
|
|---|
| 1518 | },
|
|---|
| 1519 | enumerable: true,
|
|---|
| 1520 | configurable: true
|
|---|
| 1521 | };
|
|---|
| 1522 | var textOverlineColor_export_definition;
|
|---|
| 1523 | textOverlineColor_export_definition = {
|
|---|
| 1524 | set: function (v) {
|
|---|
| 1525 | this._setProperty('text-overline-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1526 | },
|
|---|
| 1527 | get: function () {
|
|---|
| 1528 | return this.getPropertyValue('text-overline-color');
|
|---|
| 1529 | },
|
|---|
| 1530 | enumerable: true,
|
|---|
| 1531 | configurable: true
|
|---|
| 1532 | };
|
|---|
| 1533 | var textUnderlineColor_export_definition;
|
|---|
| 1534 | textUnderlineColor_export_definition = {
|
|---|
| 1535 | set: function (v) {
|
|---|
| 1536 | this._setProperty('text-underline-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1537 | },
|
|---|
| 1538 | get: function () {
|
|---|
| 1539 | return this.getPropertyValue('text-underline-color');
|
|---|
| 1540 | },
|
|---|
| 1541 | enumerable: true,
|
|---|
| 1542 | configurable: true
|
|---|
| 1543 | };
|
|---|
| 1544 | var top_export_definition;
|
|---|
| 1545 | top_export_definition = {
|
|---|
| 1546 | set: function (v) {
|
|---|
| 1547 | this._setProperty('top', external_dependency_parsers_0.parseMeasurement(v));
|
|---|
| 1548 | },
|
|---|
| 1549 | get: function () {
|
|---|
| 1550 | return this.getPropertyValue('top');
|
|---|
| 1551 | },
|
|---|
| 1552 | enumerable: true,
|
|---|
| 1553 | configurable: true
|
|---|
| 1554 | };
|
|---|
| 1555 | var webkitBorderAfterColor_export_definition;
|
|---|
| 1556 | webkitBorderAfterColor_export_definition = {
|
|---|
| 1557 | set: function (v) {
|
|---|
| 1558 | this._setProperty('-webkit-border-after-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1559 | },
|
|---|
| 1560 | get: function () {
|
|---|
| 1561 | return this.getPropertyValue('-webkit-border-after-color');
|
|---|
| 1562 | },
|
|---|
| 1563 | enumerable: true,
|
|---|
| 1564 | configurable: true
|
|---|
| 1565 | };
|
|---|
| 1566 | var webkitBorderBeforeColor_export_definition;
|
|---|
| 1567 | webkitBorderBeforeColor_export_definition = {
|
|---|
| 1568 | set: function (v) {
|
|---|
| 1569 | this._setProperty('-webkit-border-before-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1570 | },
|
|---|
| 1571 | get: function () {
|
|---|
| 1572 | return this.getPropertyValue('-webkit-border-before-color');
|
|---|
| 1573 | },
|
|---|
| 1574 | enumerable: true,
|
|---|
| 1575 | configurable: true
|
|---|
| 1576 | };
|
|---|
| 1577 | var webkitBorderEndColor_export_definition;
|
|---|
| 1578 | webkitBorderEndColor_export_definition = {
|
|---|
| 1579 | set: function (v) {
|
|---|
| 1580 | this._setProperty('-webkit-border-end-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1581 | },
|
|---|
| 1582 | get: function () {
|
|---|
| 1583 | return this.getPropertyValue('-webkit-border-end-color');
|
|---|
| 1584 | },
|
|---|
| 1585 | enumerable: true,
|
|---|
| 1586 | configurable: true
|
|---|
| 1587 | };
|
|---|
| 1588 | var webkitBorderStartColor_export_definition;
|
|---|
| 1589 | webkitBorderStartColor_export_definition = {
|
|---|
| 1590 | set: function (v) {
|
|---|
| 1591 | this._setProperty('-webkit-border-start-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1592 | },
|
|---|
| 1593 | get: function () {
|
|---|
| 1594 | return this.getPropertyValue('-webkit-border-start-color');
|
|---|
| 1595 | },
|
|---|
| 1596 | enumerable: true,
|
|---|
| 1597 | configurable: true
|
|---|
| 1598 | };
|
|---|
| 1599 | var webkitColumnRuleColor_export_definition;
|
|---|
| 1600 | webkitColumnRuleColor_export_definition = {
|
|---|
| 1601 | set: function (v) {
|
|---|
| 1602 | this._setProperty('-webkit-column-rule-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1603 | },
|
|---|
| 1604 | get: function () {
|
|---|
| 1605 | return this.getPropertyValue('-webkit-column-rule-color');
|
|---|
| 1606 | },
|
|---|
| 1607 | enumerable: true,
|
|---|
| 1608 | configurable: true
|
|---|
| 1609 | };
|
|---|
| 1610 | var webkitMatchNearestMailBlockquoteColor_export_definition;
|
|---|
| 1611 | webkitMatchNearestMailBlockquoteColor_export_definition = {
|
|---|
| 1612 | set: function (v) {
|
|---|
| 1613 | this._setProperty('-webkit-match-nearest-mail-blockquote-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1614 | },
|
|---|
| 1615 | get: function () {
|
|---|
| 1616 | return this.getPropertyValue('-webkit-match-nearest-mail-blockquote-color');
|
|---|
| 1617 | },
|
|---|
| 1618 | enumerable: true,
|
|---|
| 1619 | configurable: true
|
|---|
| 1620 | };
|
|---|
| 1621 | var webkitTapHighlightColor_export_definition;
|
|---|
| 1622 | webkitTapHighlightColor_export_definition = {
|
|---|
| 1623 | set: function (v) {
|
|---|
| 1624 | this._setProperty('-webkit-tap-highlight-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1625 | },
|
|---|
| 1626 | get: function () {
|
|---|
| 1627 | return this.getPropertyValue('-webkit-tap-highlight-color');
|
|---|
| 1628 | },
|
|---|
| 1629 | enumerable: true,
|
|---|
| 1630 | configurable: true
|
|---|
| 1631 | };
|
|---|
| 1632 | var webkitTextEmphasisColor_export_definition;
|
|---|
| 1633 | webkitTextEmphasisColor_export_definition = {
|
|---|
| 1634 | set: function (v) {
|
|---|
| 1635 | this._setProperty('-webkit-text-emphasis-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1636 | },
|
|---|
| 1637 | get: function () {
|
|---|
| 1638 | return this.getPropertyValue('-webkit-text-emphasis-color');
|
|---|
| 1639 | },
|
|---|
| 1640 | enumerable: true,
|
|---|
| 1641 | configurable: true
|
|---|
| 1642 | };
|
|---|
| 1643 | var webkitTextFillColor_export_definition;
|
|---|
| 1644 | webkitTextFillColor_export_definition = {
|
|---|
| 1645 | set: function (v) {
|
|---|
| 1646 | this._setProperty('-webkit-text-fill-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1647 | },
|
|---|
| 1648 | get: function () {
|
|---|
| 1649 | return this.getPropertyValue('-webkit-text-fill-color');
|
|---|
| 1650 | },
|
|---|
| 1651 | enumerable: true,
|
|---|
| 1652 | configurable: true
|
|---|
| 1653 | };
|
|---|
| 1654 | var webkitTextStrokeColor_export_definition;
|
|---|
| 1655 | webkitTextStrokeColor_export_definition = {
|
|---|
| 1656 | set: function (v) {
|
|---|
| 1657 | this._setProperty('-webkit-text-stroke-color', external_dependency_parsers_0.parseColor(v));
|
|---|
| 1658 | },
|
|---|
| 1659 | get: function () {
|
|---|
| 1660 | return this.getPropertyValue('-webkit-text-stroke-color');
|
|---|
| 1661 | },
|
|---|
| 1662 | enumerable: true,
|
|---|
| 1663 | configurable: true
|
|---|
| 1664 | };
|
|---|
| 1665 | var width_export_definition;
|
|---|
| 1666 |
|
|---|
| 1667 | function width_local_fn_parse(v) {
|
|---|
| 1668 | if (String(v).toLowerCase() === 'auto') {
|
|---|
| 1669 | return 'auto';
|
|---|
| 1670 | }
|
|---|
| 1671 |
|
|---|
| 1672 | if (String(v).toLowerCase() === 'inherit') {
|
|---|
| 1673 | return 'inherit';
|
|---|
| 1674 | }
|
|---|
| 1675 |
|
|---|
| 1676 | return external_dependency_parsers_0.parseMeasurement(v);
|
|---|
| 1677 | }
|
|---|
| 1678 |
|
|---|
| 1679 | width_export_definition = {
|
|---|
| 1680 | set: function (v) {
|
|---|
| 1681 | this._setProperty('width', width_local_fn_parse(v));
|
|---|
| 1682 | },
|
|---|
| 1683 | get: function () {
|
|---|
| 1684 | return this.getPropertyValue('width');
|
|---|
| 1685 | },
|
|---|
| 1686 | enumerable: true,
|
|---|
| 1687 | configurable: true
|
|---|
| 1688 | };
|
|---|
| 1689 |
|
|---|
| 1690 | module.exports = function (prototype) {
|
|---|
| 1691 | Object.defineProperties(prototype, {
|
|---|
| 1692 | azimuth: azimuth_export_definition,
|
|---|
| 1693 | backgroundColor: backgroundColor_export_definition,
|
|---|
| 1694 | "background-color": backgroundColor_export_definition,
|
|---|
| 1695 | backgroundImage: backgroundImage_export_definition,
|
|---|
| 1696 | "background-image": backgroundImage_export_definition,
|
|---|
| 1697 | backgroundRepeat: backgroundRepeat_export_definition,
|
|---|
| 1698 | "background-repeat": backgroundRepeat_export_definition,
|
|---|
| 1699 | backgroundAttachment: backgroundAttachment_export_definition,
|
|---|
| 1700 | "background-attachment": backgroundAttachment_export_definition,
|
|---|
| 1701 | backgroundPosition: backgroundPosition_export_definition,
|
|---|
| 1702 | "background-position": backgroundPosition_export_definition,
|
|---|
| 1703 | background: background_export_definition,
|
|---|
| 1704 | borderWidth: borderWidth_export_definition,
|
|---|
| 1705 | "border-width": borderWidth_export_definition,
|
|---|
| 1706 | borderStyle: borderStyle_export_definition,
|
|---|
| 1707 | "border-style": borderStyle_export_definition,
|
|---|
| 1708 | borderColor: borderColor_export_definition,
|
|---|
| 1709 | "border-color": borderColor_export_definition,
|
|---|
| 1710 | border: border_export_definition,
|
|---|
| 1711 | borderBottomWidth: borderBottomWidth_export_definition,
|
|---|
| 1712 | "border-bottom-width": borderBottomWidth_export_definition,
|
|---|
| 1713 | borderBottomStyle: borderBottomStyle_export_definition,
|
|---|
| 1714 | "border-bottom-style": borderBottomStyle_export_definition,
|
|---|
| 1715 | borderBottomColor: borderBottomColor_export_definition,
|
|---|
| 1716 | "border-bottom-color": borderBottomColor_export_definition,
|
|---|
| 1717 | borderBottom: borderBottom_export_definition,
|
|---|
| 1718 | "border-bottom": borderBottom_export_definition,
|
|---|
| 1719 | borderCollapse: borderCollapse_export_definition,
|
|---|
| 1720 | "border-collapse": borderCollapse_export_definition,
|
|---|
| 1721 | borderLeftWidth: borderLeftWidth_export_definition,
|
|---|
| 1722 | "border-left-width": borderLeftWidth_export_definition,
|
|---|
| 1723 | borderLeftStyle: borderLeftStyle_export_definition,
|
|---|
| 1724 | "border-left-style": borderLeftStyle_export_definition,
|
|---|
| 1725 | borderLeftColor: borderLeftColor_export_definition,
|
|---|
| 1726 | "border-left-color": borderLeftColor_export_definition,
|
|---|
| 1727 | borderLeft: borderLeft_export_definition,
|
|---|
| 1728 | "border-left": borderLeft_export_definition,
|
|---|
| 1729 | borderRightWidth: borderRightWidth_export_definition,
|
|---|
| 1730 | "border-right-width": borderRightWidth_export_definition,
|
|---|
| 1731 | borderRightStyle: borderRightStyle_export_definition,
|
|---|
| 1732 | "border-right-style": borderRightStyle_export_definition,
|
|---|
| 1733 | borderRightColor: borderRightColor_export_definition,
|
|---|
| 1734 | "border-right-color": borderRightColor_export_definition,
|
|---|
| 1735 | borderRight: borderRight_export_definition,
|
|---|
| 1736 | "border-right": borderRight_export_definition,
|
|---|
| 1737 | borderSpacing: borderSpacing_export_definition,
|
|---|
| 1738 | "border-spacing": borderSpacing_export_definition,
|
|---|
| 1739 | borderTopWidth: borderTopWidth_export_definition,
|
|---|
| 1740 | "border-top-width": borderTopWidth_export_definition,
|
|---|
| 1741 | borderTopStyle: borderTopStyle_export_definition,
|
|---|
| 1742 | "border-top-style": borderTopStyle_export_definition,
|
|---|
| 1743 | borderTopColor: borderTopColor_export_definition,
|
|---|
| 1744 | "border-top-color": borderTopColor_export_definition,
|
|---|
| 1745 | borderTop: borderTop_export_definition,
|
|---|
| 1746 | "border-top": borderTop_export_definition,
|
|---|
| 1747 | bottom: bottom_export_definition,
|
|---|
| 1748 | clear: clear_export_definition,
|
|---|
| 1749 | clip: clip_export_definition,
|
|---|
| 1750 | color: color_export_definition,
|
|---|
| 1751 | cssFloat: cssFloat_export_definition,
|
|---|
| 1752 | "css-float": cssFloat_export_definition,
|
|---|
| 1753 | flexGrow: flexGrow_export_definition,
|
|---|
| 1754 | "flex-grow": flexGrow_export_definition,
|
|---|
| 1755 | flexShrink: flexShrink_export_definition,
|
|---|
| 1756 | "flex-shrink": flexShrink_export_definition,
|
|---|
| 1757 | flexBasis: flexBasis_export_definition,
|
|---|
| 1758 | "flex-basis": flexBasis_export_definition,
|
|---|
| 1759 | flex: flex_export_definition,
|
|---|
| 1760 | float: float_export_definition,
|
|---|
| 1761 | floodColor: floodColor_export_definition,
|
|---|
| 1762 | "flood-color": floodColor_export_definition,
|
|---|
| 1763 | fontFamily: fontFamily_export_definition,
|
|---|
| 1764 | "font-family": fontFamily_export_definition,
|
|---|
| 1765 | fontSize: fontSize_export_definition,
|
|---|
| 1766 | "font-size": fontSize_export_definition,
|
|---|
| 1767 | fontStyle: fontStyle_export_definition,
|
|---|
| 1768 | "font-style": fontStyle_export_definition,
|
|---|
| 1769 | fontVariant: fontVariant_export_definition,
|
|---|
| 1770 | "font-variant": fontVariant_export_definition,
|
|---|
| 1771 | fontWeight: fontWeight_export_definition,
|
|---|
| 1772 | "font-weight": fontWeight_export_definition,
|
|---|
| 1773 | lineHeight: lineHeight_export_definition,
|
|---|
| 1774 | "line-height": lineHeight_export_definition,
|
|---|
| 1775 | font: font_export_definition,
|
|---|
| 1776 | height: height_export_definition,
|
|---|
| 1777 | left: left_export_definition,
|
|---|
| 1778 | lightingColor: lightingColor_export_definition,
|
|---|
| 1779 | "lighting-color": lightingColor_export_definition,
|
|---|
| 1780 | margin: margin_export_definition,
|
|---|
| 1781 | marginBottom: marginBottom_export_definition,
|
|---|
| 1782 | "margin-bottom": marginBottom_export_definition,
|
|---|
| 1783 | marginLeft: marginLeft_export_definition,
|
|---|
| 1784 | "margin-left": marginLeft_export_definition,
|
|---|
| 1785 | marginRight: marginRight_export_definition,
|
|---|
| 1786 | "margin-right": marginRight_export_definition,
|
|---|
| 1787 | marginTop: marginTop_export_definition,
|
|---|
| 1788 | "margin-top": marginTop_export_definition,
|
|---|
| 1789 | opacity: opacity_export_definition,
|
|---|
| 1790 | outlineColor: outlineColor_export_definition,
|
|---|
| 1791 | "outline-color": outlineColor_export_definition,
|
|---|
| 1792 | padding: padding_export_definition,
|
|---|
| 1793 | paddingBottom: paddingBottom_export_definition,
|
|---|
| 1794 | "padding-bottom": paddingBottom_export_definition,
|
|---|
| 1795 | paddingLeft: paddingLeft_export_definition,
|
|---|
| 1796 | "padding-left": paddingLeft_export_definition,
|
|---|
| 1797 | paddingRight: paddingRight_export_definition,
|
|---|
| 1798 | "padding-right": paddingRight_export_definition,
|
|---|
| 1799 | paddingTop: paddingTop_export_definition,
|
|---|
| 1800 | "padding-top": paddingTop_export_definition,
|
|---|
| 1801 | right: right_export_definition,
|
|---|
| 1802 | stopColor: stopColor_export_definition,
|
|---|
| 1803 | "stop-color": stopColor_export_definition,
|
|---|
| 1804 | textLineThroughColor: textLineThroughColor_export_definition,
|
|---|
| 1805 | "text-line-through-color": textLineThroughColor_export_definition,
|
|---|
| 1806 | textOverlineColor: textOverlineColor_export_definition,
|
|---|
| 1807 | "text-overline-color": textOverlineColor_export_definition,
|
|---|
| 1808 | textUnderlineColor: textUnderlineColor_export_definition,
|
|---|
| 1809 | "text-underline-color": textUnderlineColor_export_definition,
|
|---|
| 1810 | top: top_export_definition,
|
|---|
| 1811 | webkitBorderAfterColor: webkitBorderAfterColor_export_definition,
|
|---|
| 1812 | "webkit-border-after-color": webkitBorderAfterColor_export_definition,
|
|---|
| 1813 | webkitBorderBeforeColor: webkitBorderBeforeColor_export_definition,
|
|---|
| 1814 | "webkit-border-before-color": webkitBorderBeforeColor_export_definition,
|
|---|
| 1815 | webkitBorderEndColor: webkitBorderEndColor_export_definition,
|
|---|
| 1816 | "webkit-border-end-color": webkitBorderEndColor_export_definition,
|
|---|
| 1817 | webkitBorderStartColor: webkitBorderStartColor_export_definition,
|
|---|
| 1818 | "webkit-border-start-color": webkitBorderStartColor_export_definition,
|
|---|
| 1819 | webkitColumnRuleColor: webkitColumnRuleColor_export_definition,
|
|---|
| 1820 | "webkit-column-rule-color": webkitColumnRuleColor_export_definition,
|
|---|
| 1821 | webkitMatchNearestMailBlockquoteColor: webkitMatchNearestMailBlockquoteColor_export_definition,
|
|---|
| 1822 | "webkit-match-nearest-mail-blockquote-color": webkitMatchNearestMailBlockquoteColor_export_definition,
|
|---|
| 1823 | webkitTapHighlightColor: webkitTapHighlightColor_export_definition,
|
|---|
| 1824 | "webkit-tap-highlight-color": webkitTapHighlightColor_export_definition,
|
|---|
| 1825 | webkitTextEmphasisColor: webkitTextEmphasisColor_export_definition,
|
|---|
| 1826 | "webkit-text-emphasis-color": webkitTextEmphasisColor_export_definition,
|
|---|
| 1827 | webkitTextFillColor: webkitTextFillColor_export_definition,
|
|---|
| 1828 | "webkit-text-fill-color": webkitTextFillColor_export_definition,
|
|---|
| 1829 | webkitTextStrokeColor: webkitTextStrokeColor_export_definition,
|
|---|
| 1830 | "webkit-text-stroke-color": webkitTextStrokeColor_export_definition,
|
|---|
| 1831 | width: width_export_definition
|
|---|
| 1832 | });
|
|---|
| 1833 | };
|
|---|