@web-atoms/core 2.1.478 → 2.2.0

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.
Files changed (298) hide show
  1. package/dist/App.js +189 -242
  2. package/dist/App.js.map +1 -1
  3. package/dist/Atom.js +123 -138
  4. package/dist/Atom.js.map +1 -1
  5. package/dist/MockApp.js +32 -32
  6. package/dist/MockApp.js.map +1 -1
  7. package/dist/Pack.js +11 -17
  8. package/dist/Pack.js.map +1 -1
  9. package/dist/core/AtomBinder.js +187 -199
  10. package/dist/core/AtomBinder.js.map +1 -1
  11. package/dist/core/AtomBridge.js +251 -274
  12. package/dist/core/AtomBridge.js.map +1 -1
  13. package/dist/core/AtomComponent.js +509 -592
  14. package/dist/core/AtomComponent.js.map +1 -1
  15. package/dist/core/AtomDispatcher.js +50 -54
  16. package/dist/core/AtomDispatcher.js.map +1 -1
  17. package/dist/core/AtomDisposableList.js +31 -36
  18. package/dist/core/AtomDisposableList.js.map +1 -1
  19. package/dist/core/AtomEnumerator.js +19 -21
  20. package/dist/core/AtomEnumerator.js.map +1 -1
  21. package/dist/core/AtomList.js +168 -232
  22. package/dist/core/AtomList.js.map +1 -1
  23. package/dist/core/AtomLoader.js +274 -257
  24. package/dist/core/AtomLoader.js.map +1 -1
  25. package/dist/core/AtomMap.js +15 -20
  26. package/dist/core/AtomMap.js.map +1 -1
  27. package/dist/core/AtomOnce.js +31 -71
  28. package/dist/core/AtomOnce.js.map +1 -1
  29. package/dist/core/AtomSelectableList.js +210 -223
  30. package/dist/core/AtomSelectableList.js.map +1 -1
  31. package/dist/core/AtomUri.js +78 -85
  32. package/dist/core/AtomUri.js.map +1 -1
  33. package/dist/core/AtomWatcher.js +112 -186
  34. package/dist/core/AtomWatcher.js.map +1 -1
  35. package/dist/core/Bind.js +288 -380
  36. package/dist/core/Bind.js.map +1 -1
  37. package/dist/core/BindableProperty.js +40 -59
  38. package/dist/core/BindableProperty.js.map +1 -1
  39. package/dist/core/CancelTokenFactory.js +42 -49
  40. package/dist/core/CancelTokenFactory.js.map +1 -1
  41. package/dist/core/Color.js +9 -13
  42. package/dist/core/Color.js.map +1 -1
  43. package/dist/core/Colors.js +254 -254
  44. package/dist/core/Colors.js.map +1 -1
  45. package/dist/core/Defer.js +37 -47
  46. package/dist/core/Defer.js.map +1 -1
  47. package/dist/core/EventScope.js +52 -49
  48. package/dist/core/EventScope.js.map +1 -1
  49. package/dist/core/ExpressionParser.js +152 -216
  50. package/dist/core/ExpressionParser.js.map +1 -1
  51. package/dist/core/FormattedError.js +17 -19
  52. package/dist/core/FormattedError.js.map +1 -1
  53. package/dist/core/FormattedString.js +14 -16
  54. package/dist/core/FormattedString.js.map +1 -1
  55. package/dist/core/IFetchEvent.js +9 -13
  56. package/dist/core/IFetchEvent.js.map +1 -1
  57. package/dist/core/IScreen.js +9 -13
  58. package/dist/core/IScreen.js.map +1 -1
  59. package/dist/core/IValueConverter.js +9 -13
  60. package/dist/core/IValueConverter.js.map +1 -1
  61. package/dist/core/InheritedProperty.js +83 -99
  62. package/dist/core/InheritedProperty.js.map +1 -1
  63. package/dist/core/InjectProperty.js +22 -29
  64. package/dist/core/InjectProperty.js.map +1 -1
  65. package/dist/core/KeyValuePairs.js +9 -13
  66. package/dist/core/KeyValuePairs.js.map +1 -1
  67. package/dist/core/Markdown.js +22 -24
  68. package/dist/core/Markdown.js.map +1 -1
  69. package/dist/core/MarkdownError.js +20 -20
  70. package/dist/core/MarkdownError.js.map +1 -1
  71. package/dist/core/PropertyBinding.js +11 -16
  72. package/dist/core/PropertyBinding.js.map +1 -1
  73. package/dist/core/PropertyMap.js +37 -44
  74. package/dist/core/PropertyMap.js.map +1 -1
  75. package/dist/core/SingleInvoker.js +51 -54
  76. package/dist/core/SingleInvoker.js.map +1 -1
  77. package/dist/core/StringHelper.js +36 -39
  78. package/dist/core/StringHelper.js.map +1 -1
  79. package/dist/core/TransientDisposable.js +23 -26
  80. package/dist/core/TransientDisposable.js.map +1 -1
  81. package/dist/core/WatchProperty.js +34 -34
  82. package/dist/core/WatchProperty.js.map +1 -1
  83. package/dist/core/WebImage.js +15 -17
  84. package/dist/core/WebImage.js.map +1 -1
  85. package/dist/core/XNode.js +129 -157
  86. package/dist/core/XNode.js.map +1 -1
  87. package/dist/core/sleep.js +34 -40
  88. package/dist/core/sleep.js.map +1 -1
  89. package/dist/core/types.js +80 -88
  90. package/dist/core/types.js.map +1 -1
  91. package/dist/di/DISingleton.js +23 -21
  92. package/dist/di/DISingleton.js.map +1 -1
  93. package/dist/di/DITransient.js +23 -21
  94. package/dist/di/DITransient.js.map +1 -1
  95. package/dist/di/IMockOrInject.js +9 -13
  96. package/dist/di/IMockOrInject.js.map +1 -1
  97. package/dist/di/IServiceProvider.js +9 -13
  98. package/dist/di/IServiceProvider.js.map +1 -1
  99. package/dist/di/Inject.js +79 -88
  100. package/dist/di/Inject.js.map +1 -1
  101. package/dist/di/Register.js +49 -51
  102. package/dist/di/Register.js.map +1 -1
  103. package/dist/di/RegisterScoped.js +20 -20
  104. package/dist/di/RegisterScoped.js.map +1 -1
  105. package/dist/di/RegisterSingleton.js +20 -20
  106. package/dist/di/RegisterSingleton.js.map +1 -1
  107. package/dist/di/ServiceCollection.js +46 -45
  108. package/dist/di/ServiceCollection.js.map +1 -1
  109. package/dist/di/ServiceProvider.js +111 -109
  110. package/dist/di/ServiceProvider.js.map +1 -1
  111. package/dist/di/TypeKey.js +20 -43
  112. package/dist/di/TypeKey.js.map +1 -1
  113. package/dist/services/BusyIndicatorService.js +26 -32
  114. package/dist/services/BusyIndicatorService.js.map +1 -1
  115. package/dist/services/CacheService.js +112 -98
  116. package/dist/services/CacheService.js.map +1 -1
  117. package/dist/services/JsonService.js +131 -133
  118. package/dist/services/JsonService.js.map +1 -1
  119. package/dist/services/MockNavigationService.js +152 -221
  120. package/dist/services/MockNavigationService.js.map +1 -1
  121. package/dist/services/NavigationService.js +140 -154
  122. package/dist/services/NavigationService.js.map +1 -1
  123. package/dist/services/ReferenceService.js +47 -50
  124. package/dist/services/ReferenceService.js.map +1 -1
  125. package/dist/services/http/AjaxOptions.js +12 -16
  126. package/dist/services/http/AjaxOptions.js.map +1 -1
  127. package/dist/services/http/JsonError.js +17 -19
  128. package/dist/services/http/JsonError.js.map +1 -1
  129. package/dist/services/http/RestService.js +395 -583
  130. package/dist/services/http/RestService.js.map +1 -1
  131. package/dist/style/StyleRule.js +1830 -1844
  132. package/dist/style/StyleRule.js.map +1 -1
  133. package/dist/test.js +9 -66
  134. package/dist/test.js.map +1 -1
  135. package/dist/tsconfig.tsbuildinfo +1 -1
  136. package/dist/unit/AtomTest.js +54 -36
  137. package/dist/unit/AtomTest.js.map +1 -1
  138. package/dist/unit/AtomWebTest.js +64 -43
  139. package/dist/unit/AtomWebTest.js.map +1 -1
  140. package/dist/view-model/Action.js +152 -134
  141. package/dist/view-model/Action.js.map +1 -1
  142. package/dist/view-model/AtomViewModel.js +318 -416
  143. package/dist/view-model/AtomViewModel.js.map +1 -1
  144. package/dist/view-model/AtomWindowViewModel.js +55 -90
  145. package/dist/view-model/AtomWindowViewModel.js.map +1 -1
  146. package/dist/view-model/BindableUrlParameter.js +25 -25
  147. package/dist/view-model/BindableUrlParameter.js.map +1 -1
  148. package/dist/view-model/Delay.js +34 -46
  149. package/dist/view-model/Delay.js.map +1 -1
  150. package/dist/view-model/Disposable.js +31 -39
  151. package/dist/view-model/Disposable.js.map +1 -1
  152. package/dist/view-model/Load.js +119 -123
  153. package/dist/view-model/Load.js.map +1 -1
  154. package/dist/view-model/Once.js +48 -53
  155. package/dist/view-model/Once.js.map +1 -1
  156. package/dist/view-model/baseTypes.js +15 -20
  157. package/dist/view-model/baseTypes.js.map +1 -1
  158. package/dist/view-model/bindPromise.js +42 -48
  159. package/dist/view-model/bindPromise.js.map +1 -1
  160. package/dist/view-model/bindProperty.js +17 -27
  161. package/dist/view-model/bindProperty.js.map +1 -1
  162. package/dist/view-model/bindUrlParameter.js +55 -66
  163. package/dist/view-model/bindUrlParameter.js.map +1 -1
  164. package/dist/web/WebApp.js +136 -135
  165. package/dist/web/WebApp.js.map +1 -1
  166. package/dist/web/controls/AtomAlertWindow.js +61 -90
  167. package/dist/web/controls/AtomAlertWindow.js.map +1 -1
  168. package/dist/web/controls/AtomComboBox.js +82 -86
  169. package/dist/web/controls/AtomComboBox.js.map +1 -1
  170. package/dist/web/controls/AtomContentControl.js +52 -50
  171. package/dist/web/controls/AtomContentControl.js.map +1 -1
  172. package/dist/web/controls/AtomControl.js +435 -476
  173. package/dist/web/controls/AtomControl.js.map +1 -1
  174. package/dist/web/controls/AtomFrame.js +224 -226
  175. package/dist/web/controls/AtomFrame.js.map +1 -1
  176. package/dist/web/controls/AtomGridSplitter.js +67 -65
  177. package/dist/web/controls/AtomGridSplitter.js.map +1 -1
  178. package/dist/web/controls/AtomGridView.js +228 -254
  179. package/dist/web/controls/AtomGridView.js.map +1 -1
  180. package/dist/web/controls/AtomItemsControl.js +622 -761
  181. package/dist/web/controls/AtomItemsControl.js.map +1 -1
  182. package/dist/web/controls/AtomListBox.js +56 -64
  183. package/dist/web/controls/AtomListBox.js.map +1 -1
  184. package/dist/web/controls/AtomNotification.js +59 -54
  185. package/dist/web/controls/AtomNotification.js.map +1 -1
  186. package/dist/web/controls/AtomPage.js +18 -20
  187. package/dist/web/controls/AtomPage.js.map +1 -1
  188. package/dist/web/controls/AtomPageLink.js +131 -107
  189. package/dist/web/controls/AtomPageLink.js.map +1 -1
  190. package/dist/web/controls/AtomTabbedPage.js +269 -246
  191. package/dist/web/controls/AtomTabbedPage.js.map +1 -1
  192. package/dist/web/controls/AtomTemplate.js +14 -17
  193. package/dist/web/controls/AtomTemplate.js.map +1 -1
  194. package/dist/web/controls/AtomTemplateControl.js +38 -40
  195. package/dist/web/controls/AtomTemplateControl.js.map +1 -1
  196. package/dist/web/controls/AtomToggleButtonBar.js +37 -37
  197. package/dist/web/controls/AtomToggleButtonBar.js.map +1 -1
  198. package/dist/web/controls/AtomViewPager.js +87 -67
  199. package/dist/web/controls/AtomViewPager.js.map +1 -1
  200. package/dist/web/controls/AtomViewStack.js +30 -32
  201. package/dist/web/controls/AtomViewStack.js.map +1 -1
  202. package/dist/web/controls/AtomWindow.js +218 -233
  203. package/dist/web/controls/AtomWindow.js.map +1 -1
  204. package/dist/web/core/AtomUI.d.ts.map +1 -1
  205. package/dist/web/core/AtomUI.js +160 -172
  206. package/dist/web/core/AtomUI.js.map +1 -1
  207. package/dist/web/core/Encoder.js +152 -199
  208. package/dist/web/core/Encoder.js.map +1 -1
  209. package/dist/web/core/HtmlNode.js +165 -161
  210. package/dist/web/core/HtmlNode.js.map +1 -1
  211. package/dist/web/images/Busy.js +13 -14
  212. package/dist/web/images/Busy.js.map +1 -1
  213. package/dist/web/images/BusyDataUrl.js +14 -882
  214. package/dist/web/images/BusyDataUrl.js.map +1 -1
  215. package/dist/web/images/Button.js +13 -15
  216. package/dist/web/images/Button.js.map +1 -1
  217. package/dist/web/images/ButtonDataUrl.js +14 -43
  218. package/dist/web/images/ButtonDataUrl.js.map +1 -1
  219. package/dist/web/images/CloseButton.js +13 -14
  220. package/dist/web/images/CloseButton.js.map +1 -1
  221. package/dist/web/images/CloseButtonDataUrl.js +14 -43
  222. package/dist/web/images/CloseButtonDataUrl.js.map +1 -1
  223. package/dist/web/images/CloseButtonHover.js +13 -14
  224. package/dist/web/images/CloseButtonHover.js.map +1 -1
  225. package/dist/web/images/CloseButtonHoverDataUrl.js +14 -37
  226. package/dist/web/images/CloseButtonHoverDataUrl.js.map +1 -1
  227. package/dist/web/samples/MovieService.js +60 -49
  228. package/dist/web/samples/MovieService.js.map +1 -1
  229. package/dist/web/samples/demo/app.js +23 -23
  230. package/dist/web/samples/demo/app.js.map +1 -1
  231. package/dist/web/samples/demo/views/MovieList.js +64 -67
  232. package/dist/web/samples/demo/views/MovieList.js.map +1 -1
  233. package/dist/web/samples/demo/views/MovieListViewModel.js +102 -82
  234. package/dist/web/samples/demo/views/MovieListViewModel.js.map +1 -1
  235. package/dist/web/samples/tabs/app.js +57 -39
  236. package/dist/web/samples/tabs/app.js.map +1 -1
  237. package/dist/web/samples/tabs/views/List.js +13 -14
  238. package/dist/web/samples/tabs/views/List.js.map +1 -1
  239. package/dist/web/samples/tabs/views/ListDataUrl.js +14 -18
  240. package/dist/web/samples/tabs/views/ListDataUrl.js.map +1 -1
  241. package/dist/web/samples/tabs/views/Page1.js +94 -74
  242. package/dist/web/samples/tabs/views/Page1.js.map +1 -1
  243. package/dist/web/samples/tabs/views/TabHost.js +82 -63
  244. package/dist/web/samples/tabs/views/TabHost.js.map +1 -1
  245. package/dist/web/samples/window/WindowSample.js +27 -23
  246. package/dist/web/samples/window/WindowSample.js.map +1 -1
  247. package/dist/web/services/MarkdownService.js +35 -51
  248. package/dist/web/services/MarkdownService.js.map +1 -1
  249. package/dist/web/services/NotificationPopup.js +48 -44
  250. package/dist/web/services/NotificationPopup.js.map +1 -1
  251. package/dist/web/services/PopupService.js +770 -940
  252. package/dist/web/services/PopupService.js.map +1 -1
  253. package/dist/web/services/WebBusyIndicatorService.js +80 -86
  254. package/dist/web/services/WebBusyIndicatorService.js.map +1 -1
  255. package/dist/web/services/WindowService.js +332 -418
  256. package/dist/web/services/WindowService.js.map +1 -1
  257. package/dist/web/styles/AtomAlertWindowStyle.js +44 -34
  258. package/dist/web/styles/AtomAlertWindowStyle.js.map +1 -1
  259. package/dist/web/styles/AtomFrameStyle.js +27 -20
  260. package/dist/web/styles/AtomFrameStyle.js.map +1 -1
  261. package/dist/web/styles/AtomListBoxStyle.js +34 -32
  262. package/dist/web/styles/AtomListBoxStyle.js.map +1 -1
  263. package/dist/web/styles/AtomNotificationStyle.js +33 -33
  264. package/dist/web/styles/AtomNotificationStyle.js.map +1 -1
  265. package/dist/web/styles/AtomPageLinkStyle.js +21 -22
  266. package/dist/web/styles/AtomPageLinkStyle.js.map +1 -1
  267. package/dist/web/styles/AtomPopupStyle.js +21 -23
  268. package/dist/web/styles/AtomPopupStyle.js.map +1 -1
  269. package/dist/web/styles/AtomStyle.js +69 -73
  270. package/dist/web/styles/AtomStyle.js.map +1 -1
  271. package/dist/web/styles/AtomStyleSheet.js +54 -57
  272. package/dist/web/styles/AtomStyleSheet.js.map +1 -1
  273. package/dist/web/styles/AtomTabbedPageStyle.js +110 -105
  274. package/dist/web/styles/AtomTabbedPageStyle.js.map +1 -1
  275. package/dist/web/styles/AtomTheme.js +62 -65
  276. package/dist/web/styles/AtomTheme.js.map +1 -1
  277. package/dist/web/styles/AtomToggleButtonBarStyle.js +68 -49
  278. package/dist/web/styles/AtomToggleButtonBarStyle.js.map +1 -1
  279. package/dist/web/styles/AtomWindowStyle.js +108 -117
  280. package/dist/web/styles/AtomWindowStyle.js.map +1 -1
  281. package/dist/web/styles/CSS.js +71 -81
  282. package/dist/web/styles/CSS.js.map +1 -1
  283. package/dist/web/styles/CommonStyles.js +60 -66
  284. package/dist/web/styles/CommonStyles.js.map +1 -1
  285. package/dist/web/styles/IStyleDeclaration.js +9 -13
  286. package/dist/web/styles/IStyleDeclaration.js.map +1 -1
  287. package/dist/web/styles/StyleBuilder.js +74 -75
  288. package/dist/web/styles/StyleBuilder.js.map +1 -1
  289. package/dist/xf/XFApp.js +54 -50
  290. package/dist/xf/XFApp.js.map +1 -1
  291. package/dist/xf/controls/AtomXFControl.js +233 -229
  292. package/dist/xf/controls/AtomXFControl.js.map +1 -1
  293. package/dist/xf/services/XFBusyIndicatorService.js +34 -34
  294. package/dist/xf/services/XFBusyIndicatorService.js.map +1 -1
  295. package/dist/xf/services/XFNavigationService.js +150 -133
  296. package/dist/xf/services/XFNavigationService.js.map +1 -1
  297. package/package.json +2 -1
  298. package/src/web/core/AtomUI.ts +8 -6
@@ -1,2682 +1,2668 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
1
+ System.register([], function (_export, _context) {
2
+ "use strict";
3
+
4
+ var AtomStyleRules, styleId;
5
+ function toUnit(n, unit) {
6
+ if (!unit) {
7
+ unit = "";
5
8
  }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
9
+ return typeof n === "number" ? n + unit : n;
10
+ }
11
+ function StyleRule(selector) {
12
+ return new AtomStyleRules(selector);
13
+ }
14
+ function fromCamelToHyphen(input) {
15
+ return input.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
16
+ }
17
+ function createStyleText(name, pairs, styles) {
18
+ const styleList = [];
19
+ for (const key in styles) {
20
+ if (styles.hasOwnProperty(key)) {
21
+ if (/^(\_\$\_|className$|toString$)/i.test(key)) {
22
+ continue;
23
+ }
24
+ const element = styles[key];
25
+ if (element === undefined || element === null) {
26
+ continue;
27
+ }
28
+ const keyName = fromCamelToHyphen(key);
29
+ if (key === "subclasses") {
30
+ const n = name;
31
+ for (const subclassKey in element) {
32
+ if (element.hasOwnProperty(subclassKey)) {
33
+ const ve = element[subclassKey];
34
+ pairs = createStyleText(`${n}${subclassKey}`, pairs, ve);
35
+ }
36
+ }
37
+ } else {
38
+ if (element.url) {
39
+ styleList.push(`${keyName}: url(${element})`);
40
+ } else {
41
+ styleList.push(`${keyName}: ${element}`);
42
+ }
43
+ }
44
+ }
8
45
  }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AtomStyleRules = exports.toUnit = void 0;
13
- function toUnit(n, unit) {
14
- if (!unit) {
15
- unit = "";
16
- }
17
- return typeof n === "number" ? n + unit : n;
46
+ if (!name) {
47
+ return [styleList.join(";")];
18
48
  }
19
- exports.toUnit = toUnit;
20
- class AtomStyleRules {
49
+ const cname = fromCamelToHyphen(name);
50
+ const styleClassName = `${cname}`;
51
+ if (styleList.length) {
52
+ pairs.push(`.${styleClassName} { ${styleList.join(";\r\n")}; }`);
53
+ }
54
+ return pairs;
55
+ }
56
+ _export({
57
+ toUnit: toUnit,
58
+ AtomStyleRules: void 0
59
+ });
60
+ return {
61
+ setters: [],
62
+ execute: function () {
63
+ _export("AtomStyleRules", AtomStyleRules = class AtomStyleRules {
21
64
  constructor(name) {
22
- this.style = {};
23
- if (typeof name === "string") {
24
- this.name = name;
25
- }
26
- else {
27
- this.style = name !== null && name !== void 0 ? name : {};
28
- }
65
+ this.style = {};
66
+ if (typeof name === "string") {
67
+ this.name = name;
68
+ } else {
69
+ this.style = name !== null && name !== void 0 ? name : {};
70
+ }
29
71
  }
30
72
  alignContent(value) {
31
- if (value !== undefined && value !== null) {
32
- this.style.alignContent = value;
33
- }
34
- return this;
73
+ if (value !== undefined && value !== null) {
74
+ this.style.alignContent = value;
75
+ }
76
+ return this;
35
77
  }
36
78
  alignItems(value) {
37
- if (value !== undefined && value !== null) {
38
- this.style.alignItems = value;
39
- }
40
- return this;
79
+ if (value !== undefined && value !== null) {
80
+ this.style.alignItems = value;
81
+ }
82
+ return this;
41
83
  }
42
84
  alignSelf(value) {
43
- if (value !== undefined && value !== null) {
44
- this.style.alignSelf = value;
45
- }
46
- return this;
85
+ if (value !== undefined && value !== null) {
86
+ this.style.alignSelf = value;
87
+ }
88
+ return this;
47
89
  }
48
90
  alignmentBaseline(value) {
49
- if (value !== undefined && value !== null) {
50
- this.style.alignmentBaseline = value;
51
- }
52
- return this;
91
+ if (value !== undefined && value !== null) {
92
+ this.style.alignmentBaseline = value;
93
+ }
94
+ return this;
53
95
  }
54
96
  animation(value) {
55
- if (value !== undefined && value !== null) {
56
- this.style.animation = value;
57
- }
58
- return this;
97
+ if (value !== undefined && value !== null) {
98
+ this.style.animation = value;
99
+ }
100
+ return this;
59
101
  }
60
102
  animationDelay(value) {
61
- if (value !== undefined && value !== null) {
62
- this.style.animationDelay = value;
63
- }
64
- return this;
103
+ if (value !== undefined && value !== null) {
104
+ this.style.animationDelay = value;
105
+ }
106
+ return this;
65
107
  }
66
108
  animationDirection(value) {
67
- if (value !== undefined && value !== null) {
68
- this.style.animationDirection = value;
69
- }
70
- return this;
109
+ if (value !== undefined && value !== null) {
110
+ this.style.animationDirection = value;
111
+ }
112
+ return this;
71
113
  }
72
114
  animationDuration(value) {
73
- if (value !== undefined && value !== null) {
74
- this.style.animationDuration = value;
75
- }
76
- return this;
115
+ if (value !== undefined && value !== null) {
116
+ this.style.animationDuration = value;
117
+ }
118
+ return this;
77
119
  }
78
120
  animationFillMode(value) {
79
- if (value !== undefined && value !== null) {
80
- this.style.animationFillMode = value;
81
- }
82
- return this;
121
+ if (value !== undefined && value !== null) {
122
+ this.style.animationFillMode = value;
123
+ }
124
+ return this;
83
125
  }
84
126
  animationIterationCount(value) {
85
- if (value !== undefined && value !== null) {
86
- this.style.animationIterationCount = value;
87
- }
88
- return this;
127
+ if (value !== undefined && value !== null) {
128
+ this.style.animationIterationCount = value;
129
+ }
130
+ return this;
89
131
  }
90
132
  animationName(value) {
91
- if (value !== undefined && value !== null) {
92
- this.style.animationName = value;
93
- }
94
- return this;
133
+ if (value !== undefined && value !== null) {
134
+ this.style.animationName = value;
135
+ }
136
+ return this;
95
137
  }
96
138
  animationPlayState(value) {
97
- if (value !== undefined && value !== null) {
98
- this.style.animationPlayState = value;
99
- }
100
- return this;
139
+ if (value !== undefined && value !== null) {
140
+ this.style.animationPlayState = value;
141
+ }
142
+ return this;
101
143
  }
102
144
  animationTimingFunction(value) {
103
- if (value !== undefined && value !== null) {
104
- this.style.animationTimingFunction = value;
105
- }
106
- return this;
145
+ if (value !== undefined && value !== null) {
146
+ this.style.animationTimingFunction = value;
147
+ }
148
+ return this;
107
149
  }
108
150
  backfaceVisibility(value) {
109
- if (value !== undefined && value !== null) {
110
- this.style.backfaceVisibility = value;
111
- }
112
- return this;
151
+ if (value !== undefined && value !== null) {
152
+ this.style.backfaceVisibility = value;
153
+ }
154
+ return this;
113
155
  }
114
156
  background(value) {
115
- if (value !== undefined && value !== null) {
116
- this.style.background = value;
117
- }
118
- return this;
157
+ if (value !== undefined && value !== null) {
158
+ this.style.background = value;
159
+ }
160
+ return this;
119
161
  }
120
162
  backgroundAttachment(value) {
121
- if (value !== undefined && value !== null) {
122
- this.style.backgroundAttachment = value;
123
- }
124
- return this;
163
+ if (value !== undefined && value !== null) {
164
+ this.style.backgroundAttachment = value;
165
+ }
166
+ return this;
125
167
  }
126
168
  backgroundBlendMode(value) {
127
- if (value !== undefined && value !== null) {
128
- this.style.backgroundBlendMode = value;
129
- }
130
- return this;
169
+ if (value !== undefined && value !== null) {
170
+ this.style.backgroundBlendMode = value;
171
+ }
172
+ return this;
131
173
  }
132
174
  backgroundClip(value) {
133
- if (value !== undefined && value !== null) {
134
- this.style.backgroundClip = value;
135
- }
136
- return this;
175
+ if (value !== undefined && value !== null) {
176
+ this.style.backgroundClip = value;
177
+ }
178
+ return this;
137
179
  }
138
180
  backgroundColor(value) {
139
- if (value !== undefined && value !== null) {
140
- this.style.backgroundColor = value;
141
- }
142
- return this;
181
+ if (value !== undefined && value !== null) {
182
+ this.style.backgroundColor = value;
183
+ }
184
+ return this;
143
185
  }
144
186
  backgroundImage(value) {
145
- if (value !== undefined && value !== null) {
146
- this.style.backgroundImage = value;
147
- }
148
- return this;
187
+ if (value !== undefined && value !== null) {
188
+ this.style.backgroundImage = value;
189
+ }
190
+ return this;
149
191
  }
150
192
  backgroundOrigin(value) {
151
- if (value !== undefined && value !== null) {
152
- this.style.backgroundOrigin = value;
153
- }
154
- return this;
193
+ if (value !== undefined && value !== null) {
194
+ this.style.backgroundOrigin = value;
195
+ }
196
+ return this;
155
197
  }
156
198
  backgroundPosition(value) {
157
- if (value !== undefined && value !== null) {
158
- this.style.backgroundPosition = value;
159
- }
160
- return this;
199
+ if (value !== undefined && value !== null) {
200
+ this.style.backgroundPosition = value;
201
+ }
202
+ return this;
161
203
  }
162
204
  backgroundPositionX(value, unit = "px") {
163
- if (value !== undefined && value !== null) {
164
- this.style.backgroundPositionX = toUnit(value, unit);
165
- }
166
- return this;
205
+ if (value !== undefined && value !== null) {
206
+ this.style.backgroundPositionX = toUnit(value, unit);
207
+ }
208
+ return this;
167
209
  }
168
210
  backgroundPositionY(value, unit = "px") {
169
- if (value !== undefined && value !== null) {
170
- this.style.backgroundPositionY = toUnit(value, unit);
171
- }
172
- return this;
211
+ if (value !== undefined && value !== null) {
212
+ this.style.backgroundPositionY = toUnit(value, unit);
213
+ }
214
+ return this;
173
215
  }
174
216
  backgroundRepeat(value) {
175
- if (value !== undefined && value !== null) {
176
- this.style.backgroundRepeat = value;
177
- }
178
- return this;
217
+ if (value !== undefined && value !== null) {
218
+ this.style.backgroundRepeat = value;
219
+ }
220
+ return this;
179
221
  }
180
222
  backgroundSize(value) {
181
- if (value !== undefined && value !== null) {
182
- this.style.backgroundSize = value;
183
- }
184
- return this;
223
+ if (value !== undefined && value !== null) {
224
+ this.style.backgroundSize = value;
225
+ }
226
+ return this;
185
227
  }
186
228
  baselineShift(value) {
187
- if (value !== undefined && value !== null) {
188
- this.style.baselineShift = value;
189
- }
190
- return this;
229
+ if (value !== undefined && value !== null) {
230
+ this.style.baselineShift = value;
231
+ }
232
+ return this;
191
233
  }
192
234
  border(value) {
193
- if (value !== undefined && value !== null) {
194
- this.style.border = value;
195
- }
196
- return this;
235
+ if (value !== undefined && value !== null) {
236
+ this.style.border = value;
237
+ }
238
+ return this;
197
239
  }
198
240
  borderBottom(value) {
199
- if (value !== undefined && value !== null) {
200
- this.style.borderBottom = value;
201
- }
202
- return this;
241
+ if (value !== undefined && value !== null) {
242
+ this.style.borderBottom = value;
243
+ }
244
+ return this;
203
245
  }
204
246
  borderBottomColor(value) {
205
- if (value !== undefined && value !== null) {
206
- this.style.borderBottomColor = value;
207
- }
208
- return this;
247
+ if (value !== undefined && value !== null) {
248
+ this.style.borderBottomColor = value;
249
+ }
250
+ return this;
209
251
  }
210
252
  borderBottomLeftRadius(value, unit = "px") {
211
- if (value !== undefined && value !== null) {
212
- this.style.borderBottomLeftRadius = toUnit(value, unit);
213
- }
214
- return this;
253
+ if (value !== undefined && value !== null) {
254
+ this.style.borderBottomLeftRadius = toUnit(value, unit);
255
+ }
256
+ return this;
215
257
  }
216
258
  borderBottomRightRadius(value, unit = "px") {
217
- if (value !== undefined && value !== null) {
218
- this.style.borderBottomRightRadius = toUnit(value, unit);
219
- }
220
- return this;
259
+ if (value !== undefined && value !== null) {
260
+ this.style.borderBottomRightRadius = toUnit(value, unit);
261
+ }
262
+ return this;
221
263
  }
222
264
  borderBottomStyle(value) {
223
- if (value !== undefined && value !== null) {
224
- this.style.borderBottomStyle = value;
225
- }
226
- return this;
265
+ if (value !== undefined && value !== null) {
266
+ this.style.borderBottomStyle = value;
267
+ }
268
+ return this;
227
269
  }
228
270
  borderBottomWidth(value, unit = "px") {
229
- if (value !== undefined && value !== null) {
230
- this.style.borderBottomWidth = toUnit(value, unit);
231
- }
232
- return this;
271
+ if (value !== undefined && value !== null) {
272
+ this.style.borderBottomWidth = toUnit(value, unit);
273
+ }
274
+ return this;
233
275
  }
234
276
  borderCollapse(value) {
235
- if (value !== undefined && value !== null) {
236
- this.style.borderCollapse = value;
237
- }
238
- return this;
277
+ if (value !== undefined && value !== null) {
278
+ this.style.borderCollapse = value;
279
+ }
280
+ return this;
239
281
  }
240
282
  borderColor(value) {
241
- if (value !== undefined && value !== null) {
242
- this.style.borderColor = value;
243
- }
244
- return this;
283
+ if (value !== undefined && value !== null) {
284
+ this.style.borderColor = value;
285
+ }
286
+ return this;
245
287
  }
246
288
  borderImage(value) {
247
- if (value !== undefined && value !== null) {
248
- this.style.borderImage = value;
249
- }
250
- return this;
289
+ if (value !== undefined && value !== null) {
290
+ this.style.borderImage = value;
291
+ }
292
+ return this;
251
293
  }
252
294
  borderImageOutset(value) {
253
- if (value !== undefined && value !== null) {
254
- this.style.borderImageOutset = value;
255
- }
256
- return this;
295
+ if (value !== undefined && value !== null) {
296
+ this.style.borderImageOutset = value;
297
+ }
298
+ return this;
257
299
  }
258
300
  borderImageRepeat(value) {
259
- if (value !== undefined && value !== null) {
260
- this.style.borderImageRepeat = value;
261
- }
262
- return this;
301
+ if (value !== undefined && value !== null) {
302
+ this.style.borderImageRepeat = value;
303
+ }
304
+ return this;
263
305
  }
264
306
  borderImageSlice(value) {
265
- if (value !== undefined && value !== null) {
266
- this.style.borderImageSlice = value;
267
- }
268
- return this;
307
+ if (value !== undefined && value !== null) {
308
+ this.style.borderImageSlice = value;
309
+ }
310
+ return this;
269
311
  }
270
312
  borderImageSource(value) {
271
- if (value !== undefined && value !== null) {
272
- this.style.borderImageSource = value;
273
- }
274
- return this;
313
+ if (value !== undefined && value !== null) {
314
+ this.style.borderImageSource = value;
315
+ }
316
+ return this;
275
317
  }
276
318
  borderImageWidth(value) {
277
- if (value !== undefined && value !== null) {
278
- this.style.borderImageWidth = value;
279
- }
280
- return this;
319
+ if (value !== undefined && value !== null) {
320
+ this.style.borderImageWidth = value;
321
+ }
322
+ return this;
281
323
  }
282
324
  borderLeft(value) {
283
- if (value !== undefined && value !== null) {
284
- this.style.borderLeft = value;
285
- }
286
- return this;
325
+ if (value !== undefined && value !== null) {
326
+ this.style.borderLeft = value;
327
+ }
328
+ return this;
287
329
  }
288
330
  borderLeftColor(value) {
289
- if (value !== undefined && value !== null) {
290
- this.style.borderLeftColor = value;
291
- }
292
- return this;
331
+ if (value !== undefined && value !== null) {
332
+ this.style.borderLeftColor = value;
333
+ }
334
+ return this;
293
335
  }
294
336
  borderLeftStyle(value) {
295
- if (value !== undefined && value !== null) {
296
- this.style.borderLeftStyle = value;
297
- }
298
- return this;
337
+ if (value !== undefined && value !== null) {
338
+ this.style.borderLeftStyle = value;
339
+ }
340
+ return this;
299
341
  }
300
342
  borderLeftWidth(value, unit = "px") {
301
- if (value !== undefined && value !== null) {
302
- this.style.borderLeftWidth = toUnit(value, unit);
303
- }
304
- return this;
343
+ if (value !== undefined && value !== null) {
344
+ this.style.borderLeftWidth = toUnit(value, unit);
345
+ }
346
+ return this;
305
347
  }
306
348
  borderRadius(value, unit = "px") {
307
- if (value !== undefined && value !== null) {
308
- this.style.borderRadius = toUnit(value, unit);
309
- }
310
- return this;
349
+ if (value !== undefined && value !== null) {
350
+ this.style.borderRadius = toUnit(value, unit);
351
+ }
352
+ return this;
311
353
  }
312
354
  borderRight(value) {
313
- if (value !== undefined && value !== null) {
314
- this.style.borderRight = value;
315
- }
316
- return this;
355
+ if (value !== undefined && value !== null) {
356
+ this.style.borderRight = value;
357
+ }
358
+ return this;
317
359
  }
318
360
  borderRightColor(value) {
319
- if (value !== undefined && value !== null) {
320
- this.style.borderRightColor = value;
321
- }
322
- return this;
361
+ if (value !== undefined && value !== null) {
362
+ this.style.borderRightColor = value;
363
+ }
364
+ return this;
323
365
  }
324
366
  borderRightStyle(value) {
325
- if (value !== undefined && value !== null) {
326
- this.style.borderRightStyle = value;
327
- }
328
- return this;
367
+ if (value !== undefined && value !== null) {
368
+ this.style.borderRightStyle = value;
369
+ }
370
+ return this;
329
371
  }
330
372
  borderRightWidth(value, unit = "px") {
331
- if (value !== undefined && value !== null) {
332
- this.style.borderRightWidth = toUnit(value, unit);
333
- }
334
- return this;
373
+ if (value !== undefined && value !== null) {
374
+ this.style.borderRightWidth = toUnit(value, unit);
375
+ }
376
+ return this;
335
377
  }
336
378
  borderSpacing(value) {
337
- if (value !== undefined && value !== null) {
338
- this.style.borderSpacing = value;
339
- }
340
- return this;
379
+ if (value !== undefined && value !== null) {
380
+ this.style.borderSpacing = value;
381
+ }
382
+ return this;
341
383
  }
342
384
  borderStyle(value) {
343
- if (value !== undefined && value !== null) {
344
- this.style.borderStyle = value;
345
- }
346
- return this;
385
+ if (value !== undefined && value !== null) {
386
+ this.style.borderStyle = value;
387
+ }
388
+ return this;
347
389
  }
348
390
  borderTop(value) {
349
- if (value !== undefined && value !== null) {
350
- this.style.borderTop = value;
351
- }
352
- return this;
391
+ if (value !== undefined && value !== null) {
392
+ this.style.borderTop = value;
393
+ }
394
+ return this;
353
395
  }
354
396
  borderTopColor(value) {
355
- if (value !== undefined && value !== null) {
356
- this.style.borderTopColor = value;
357
- }
358
- return this;
397
+ if (value !== undefined && value !== null) {
398
+ this.style.borderTopColor = value;
399
+ }
400
+ return this;
359
401
  }
360
402
  borderTopLeftRadius(value, unit = "px") {
361
- if (value !== undefined && value !== null) {
362
- this.style.borderTopLeftRadius = toUnit(value, unit);
363
- }
364
- return this;
403
+ if (value !== undefined && value !== null) {
404
+ this.style.borderTopLeftRadius = toUnit(value, unit);
405
+ }
406
+ return this;
365
407
  }
366
408
  borderTopRightRadius(value, unit = "px") {
367
- if (value !== undefined && value !== null) {
368
- this.style.borderTopRightRadius = toUnit(value, unit);
369
- }
370
- return this;
409
+ if (value !== undefined && value !== null) {
410
+ this.style.borderTopRightRadius = toUnit(value, unit);
411
+ }
412
+ return this;
371
413
  }
372
414
  borderTopStyle(value) {
373
- if (value !== undefined && value !== null) {
374
- this.style.borderTopStyle = value;
375
- }
376
- return this;
415
+ if (value !== undefined && value !== null) {
416
+ this.style.borderTopStyle = value;
417
+ }
418
+ return this;
377
419
  }
378
420
  borderTopWidth(value, unit = "px") {
379
- if (value !== undefined && value !== null) {
380
- this.style.borderTopWidth = toUnit(value, unit);
381
- }
382
- return this;
421
+ if (value !== undefined && value !== null) {
422
+ this.style.borderTopWidth = toUnit(value, unit);
423
+ }
424
+ return this;
383
425
  }
384
426
  borderWidth(value, unit = "px") {
385
- if (value !== undefined && value !== null) {
386
- this.style.borderWidth = toUnit(value, unit);
387
- }
388
- return this;
427
+ if (value !== undefined && value !== null) {
428
+ this.style.borderWidth = toUnit(value, unit);
429
+ }
430
+ return this;
389
431
  }
390
432
  bottom(value, unit = "px") {
391
- if (value !== undefined && value !== null) {
392
- this.style.bottom = toUnit(value, unit);
393
- }
394
- return this;
433
+ if (value !== undefined && value !== null) {
434
+ this.style.bottom = toUnit(value, unit);
435
+ }
436
+ return this;
395
437
  }
396
438
  boxShadow(value) {
397
- if (value !== undefined && value !== null) {
398
- this.style.boxShadow = value;
399
- }
400
- return this;
439
+ if (value !== undefined && value !== null) {
440
+ this.style.boxShadow = value;
441
+ }
442
+ return this;
401
443
  }
402
444
  boxSizing(value) {
403
- if (value !== undefined && value !== null) {
404
- this.style.boxSizing = value;
405
- }
406
- return this;
445
+ if (value !== undefined && value !== null) {
446
+ this.style.boxSizing = value;
447
+ }
448
+ return this;
407
449
  }
408
450
  breakAfter(value) {
409
- if (value !== undefined && value !== null) {
410
- this.style.breakAfter = value;
411
- }
412
- return this;
451
+ if (value !== undefined && value !== null) {
452
+ this.style.breakAfter = value;
453
+ }
454
+ return this;
413
455
  }
414
456
  breakBefore(value) {
415
- if (value !== undefined && value !== null) {
416
- this.style.breakBefore = value;
417
- }
418
- return this;
457
+ if (value !== undefined && value !== null) {
458
+ this.style.breakBefore = value;
459
+ }
460
+ return this;
419
461
  }
420
462
  breakInside(value) {
421
- if (value !== undefined && value !== null) {
422
- this.style.breakInside = value;
423
- }
424
- return this;
463
+ if (value !== undefined && value !== null) {
464
+ this.style.breakInside = value;
465
+ }
466
+ return this;
425
467
  }
426
468
  captionSide(value) {
427
- if (value !== undefined && value !== null) {
428
- this.style.captionSide = value;
429
- }
430
- return this;
469
+ if (value !== undefined && value !== null) {
470
+ this.style.captionSide = value;
471
+ }
472
+ return this;
431
473
  }
432
474
  caretColor(value) {
433
- this.style.caretColor = value;
434
- return this;
475
+ this.style.caretColor = value;
476
+ return this;
435
477
  }
436
478
  clear(value) {
437
- if (value !== undefined && value !== null) {
438
- this.style.clear = value;
439
- }
440
- return this;
479
+ if (value !== undefined && value !== null) {
480
+ this.style.clear = value;
481
+ }
482
+ return this;
441
483
  }
442
484
  clip(value) {
443
- if (value !== undefined && value !== null) {
444
- this.style.clip = value;
445
- }
446
- return this;
485
+ if (value !== undefined && value !== null) {
486
+ this.style.clip = value;
487
+ }
488
+ return this;
447
489
  }
448
490
  clipPath(value) {
449
- if (value !== undefined && value !== null) {
450
- this.style.clipPath = value;
451
- }
452
- return this;
491
+ if (value !== undefined && value !== null) {
492
+ this.style.clipPath = value;
493
+ }
494
+ return this;
453
495
  }
454
496
  clipRule(value) {
455
- if (value !== undefined && value !== null) {
456
- this.style.clipRule = value;
457
- }
458
- return this;
497
+ if (value !== undefined && value !== null) {
498
+ this.style.clipRule = value;
499
+ }
500
+ return this;
459
501
  }
460
502
  color(value) {
461
- if (value !== undefined && value !== null) {
462
- this.style.color = value;
463
- }
464
- return this;
503
+ if (value !== undefined && value !== null) {
504
+ this.style.color = value;
505
+ }
506
+ return this;
465
507
  }
466
508
  colorInterpolationFilters(value) {
467
- if (value !== undefined && value !== null) {
468
- this.style.colorInterpolationFilters = value;
469
- }
470
- return this;
509
+ if (value !== undefined && value !== null) {
510
+ this.style.colorInterpolationFilters = value;
511
+ }
512
+ return this;
471
513
  }
472
514
  columnCount(value) {
473
- if (value !== undefined && value !== null) {
474
- this.style.columnCount = value;
475
- }
476
- return this;
515
+ if (value !== undefined && value !== null) {
516
+ this.style.columnCount = value;
517
+ }
518
+ return this;
477
519
  }
478
520
  columnFill(value) {
479
- if (value !== undefined && value !== null) {
480
- this.style.columnFill = value;
481
- }
482
- return this;
521
+ if (value !== undefined && value !== null) {
522
+ this.style.columnFill = value;
523
+ }
524
+ return this;
483
525
  }
484
526
  columnGap(value, unit = "px") {
485
- if (value !== undefined && value !== null) {
486
- this.style.columnGap = toUnit(value, unit);
487
- }
488
- return this;
527
+ if (value !== undefined && value !== null) {
528
+ this.style.columnGap = toUnit(value, unit);
529
+ }
530
+ return this;
489
531
  }
490
532
  columnRule(value) {
491
- if (value !== undefined && value !== null) {
492
- this.style.columnRule = value;
493
- }
494
- return this;
533
+ if (value !== undefined && value !== null) {
534
+ this.style.columnRule = value;
535
+ }
536
+ return this;
495
537
  }
496
538
  columnRuleColor(value) {
497
- if (value !== undefined && value !== null) {
498
- this.style.columnRuleColor = value;
499
- }
500
- return this;
539
+ if (value !== undefined && value !== null) {
540
+ this.style.columnRuleColor = value;
541
+ }
542
+ return this;
501
543
  }
502
544
  columnRuleStyle(value) {
503
- if (value !== undefined && value !== null) {
504
- this.style.columnRuleStyle = value;
505
- }
506
- return this;
545
+ if (value !== undefined && value !== null) {
546
+ this.style.columnRuleStyle = value;
547
+ }
548
+ return this;
507
549
  }
508
550
  columnRuleWidth(value) {
509
- if (value !== undefined && value !== null) {
510
- this.style.columnRuleWidth = value;
511
- }
512
- return this;
551
+ if (value !== undefined && value !== null) {
552
+ this.style.columnRuleWidth = value;
553
+ }
554
+ return this;
513
555
  }
514
556
  columnSpan(value) {
515
- if (value !== undefined && value !== null) {
516
- this.style.columnSpan = value;
517
- }
518
- return this;
557
+ if (value !== undefined && value !== null) {
558
+ this.style.columnSpan = value;
559
+ }
560
+ return this;
519
561
  }
520
562
  columnWidth(value) {
521
- if (value !== undefined && value !== null) {
522
- this.style.columnWidth = value;
523
- }
524
- return this;
563
+ if (value !== undefined && value !== null) {
564
+ this.style.columnWidth = value;
565
+ }
566
+ return this;
525
567
  }
526
568
  columns(value) {
527
- if (value !== undefined && value !== null) {
528
- this.style.columns = value;
529
- }
530
- return this;
569
+ if (value !== undefined && value !== null) {
570
+ this.style.columns = value;
571
+ }
572
+ return this;
531
573
  }
532
574
  content(value) {
533
- if (value !== undefined && value !== null) {
534
- this.style.content = value;
535
- }
536
- return this;
575
+ if (value !== undefined && value !== null) {
576
+ this.style.content = value;
577
+ }
578
+ return this;
537
579
  }
538
580
  counterIncrement(value) {
539
- if (value !== undefined && value !== null) {
540
- this.style.counterIncrement = value;
541
- }
542
- return this;
581
+ if (value !== undefined && value !== null) {
582
+ this.style.counterIncrement = value;
583
+ }
584
+ return this;
543
585
  }
544
586
  counterReset(value) {
545
- if (value !== undefined && value !== null) {
546
- this.style.counterReset = value;
547
- }
548
- return this;
587
+ if (value !== undefined && value !== null) {
588
+ this.style.counterReset = value;
589
+ }
590
+ return this;
549
591
  }
550
592
  cssFloat(value) {
551
- if (value !== undefined && value !== null) {
552
- this.style.cssFloat = value;
553
- }
554
- return this;
593
+ if (value !== undefined && value !== null) {
594
+ this.style.cssFloat = value;
595
+ }
596
+ return this;
555
597
  }
556
598
  cssText(value) {
557
- if (value !== undefined && value !== null) {
558
- this.style.cssText = value;
559
- }
560
- return this;
599
+ if (value !== undefined && value !== null) {
600
+ this.style.cssText = value;
601
+ }
602
+ return this;
561
603
  }
562
604
  cursor(value) {
563
- if (value !== undefined && value !== null) {
564
- this.style.cursor = value;
565
- }
566
- return this;
605
+ if (value !== undefined && value !== null) {
606
+ this.style.cursor = value;
607
+ }
608
+ return this;
567
609
  }
568
610
  direction(value) {
569
- if (value !== undefined && value !== null) {
570
- this.style.direction = value;
571
- }
572
- return this;
611
+ if (value !== undefined && value !== null) {
612
+ this.style.direction = value;
613
+ }
614
+ return this;
573
615
  }
574
616
  display(value) {
575
- if (value !== undefined && value !== null) {
576
- this.style.display = value;
577
- }
578
- return this;
617
+ if (value !== undefined && value !== null) {
618
+ this.style.display = value;
619
+ }
620
+ return this;
579
621
  }
580
622
  dominantBaseline(value) {
581
- if (value !== undefined && value !== null) {
582
- this.style.dominantBaseline = value;
583
- }
584
- return this;
623
+ if (value !== undefined && value !== null) {
624
+ this.style.dominantBaseline = value;
625
+ }
626
+ return this;
585
627
  }
586
628
  emptyCells(value) {
587
- if (value !== undefined && value !== null) {
588
- this.style.emptyCells = value;
589
- }
590
- return this;
629
+ if (value !== undefined && value !== null) {
630
+ this.style.emptyCells = value;
631
+ }
632
+ return this;
591
633
  }
592
634
  enableBackground(value) {
593
- if (value !== undefined && value !== null) {
594
- this.style.enableBackground = value;
595
- }
596
- return this;
635
+ if (value !== undefined && value !== null) {
636
+ this.style.enableBackground = value;
637
+ }
638
+ return this;
597
639
  }
598
640
  fill(value) {
599
- if (value !== undefined && value !== null) {
600
- this.style.fill = value;
601
- }
602
- return this;
641
+ if (value !== undefined && value !== null) {
642
+ this.style.fill = value;
643
+ }
644
+ return this;
603
645
  }
604
646
  fillOpacity(value) {
605
- if (value !== undefined && value !== null) {
606
- this.style.fillOpacity = value;
607
- }
608
- return this;
647
+ if (value !== undefined && value !== null) {
648
+ this.style.fillOpacity = value;
649
+ }
650
+ return this;
609
651
  }
610
652
  fillRule(value) {
611
- if (value !== undefined && value !== null) {
612
- this.style.fillRule = value;
613
- }
614
- return this;
653
+ if (value !== undefined && value !== null) {
654
+ this.style.fillRule = value;
655
+ }
656
+ return this;
615
657
  }
616
658
  filter(value) {
617
- if (value !== undefined && value !== null) {
618
- this.style.filter = value;
619
- }
620
- return this;
659
+ if (value !== undefined && value !== null) {
660
+ this.style.filter = value;
661
+ }
662
+ return this;
621
663
  }
622
664
  flex(value) {
623
- if (value !== undefined && value !== null) {
624
- this.style.flex = value;
625
- }
626
- return this;
665
+ if (value !== undefined && value !== null) {
666
+ this.style.flex = value;
667
+ }
668
+ return this;
627
669
  }
628
670
  flexBasis(value) {
629
- if (value !== undefined && value !== null) {
630
- this.style.flexBasis = value;
631
- }
632
- return this;
671
+ if (value !== undefined && value !== null) {
672
+ this.style.flexBasis = value;
673
+ }
674
+ return this;
633
675
  }
634
676
  flexDirection(value) {
635
- if (value !== undefined && value !== null) {
636
- this.style.flexDirection = value;
637
- }
638
- return this;
677
+ if (value !== undefined && value !== null) {
678
+ this.style.flexDirection = value;
679
+ }
680
+ return this;
639
681
  }
640
682
  flexFlow(value) {
641
- if (value !== undefined && value !== null) {
642
- this.style.flexFlow = value;
643
- }
644
- return this;
683
+ if (value !== undefined && value !== null) {
684
+ this.style.flexFlow = value;
685
+ }
686
+ return this;
645
687
  }
646
688
  flexGrow(value) {
647
- if (value !== undefined && value !== null) {
648
- this.style.flexGrow = value;
649
- }
650
- return this;
689
+ if (value !== undefined && value !== null) {
690
+ this.style.flexGrow = value;
691
+ }
692
+ return this;
651
693
  }
652
694
  flexShrink(value) {
653
- if (value !== undefined && value !== null) {
654
- this.style.flexShrink = value;
655
- }
656
- return this;
695
+ if (value !== undefined && value !== null) {
696
+ this.style.flexShrink = value;
697
+ }
698
+ return this;
657
699
  }
658
700
  flexWrap(value) {
659
- if (value !== undefined && value !== null) {
660
- this.style.flexWrap = value;
661
- }
662
- return this;
701
+ if (value !== undefined && value !== null) {
702
+ this.style.flexWrap = value;
703
+ }
704
+ return this;
663
705
  }
664
706
  float(value) {
665
- if (value !== undefined && value !== null) {
666
- this.style.float = value;
667
- }
668
- return this;
707
+ if (value !== undefined && value !== null) {
708
+ this.style.float = value;
709
+ }
710
+ return this;
669
711
  }
670
712
  floodColor(value) {
671
- if (value !== undefined && value !== null) {
672
- this.style.floodColor = value;
673
- }
674
- return this;
713
+ if (value !== undefined && value !== null) {
714
+ this.style.floodColor = value;
715
+ }
716
+ return this;
675
717
  }
676
718
  floodOpacity(value) {
677
- if (value !== undefined && value !== null) {
678
- this.style.floodOpacity = value;
679
- }
680
- return this;
719
+ if (value !== undefined && value !== null) {
720
+ this.style.floodOpacity = value;
721
+ }
722
+ return this;
681
723
  }
682
724
  font(value) {
683
- if (value !== undefined && value !== null) {
684
- this.style.font = value;
685
- }
686
- return this;
725
+ if (value !== undefined && value !== null) {
726
+ this.style.font = value;
727
+ }
728
+ return this;
687
729
  }
688
730
  fontFamily(value) {
689
- if (value !== undefined && value !== null) {
690
- this.style.fontFamily = value;
691
- }
692
- return this;
731
+ if (value !== undefined && value !== null) {
732
+ this.style.fontFamily = value;
733
+ }
734
+ return this;
693
735
  }
694
736
  fontFeatureSettings(value) {
695
- if (value !== undefined && value !== null) {
696
- this.style.fontFeatureSettings = value;
697
- }
698
- return this;
737
+ if (value !== undefined && value !== null) {
738
+ this.style.fontFeatureSettings = value;
739
+ }
740
+ return this;
699
741
  }
700
742
  fontSize(value, unit = "px") {
701
- if (value !== undefined && value !== null) {
702
- this.style.fontSize = toUnit(value, unit);
703
- }
704
- return this;
743
+ if (value !== undefined && value !== null) {
744
+ this.style.fontSize = toUnit(value, unit);
745
+ }
746
+ return this;
705
747
  }
706
748
  fontSizeAdjust(value) {
707
- if (value !== undefined && value !== null) {
708
- this.style.fontSizeAdjust = value;
709
- }
710
- return this;
749
+ if (value !== undefined && value !== null) {
750
+ this.style.fontSizeAdjust = value;
751
+ }
752
+ return this;
711
753
  }
712
754
  fontStretch(value) {
713
- if (value !== undefined && value !== null) {
714
- this.style.fontStretch = value;
715
- }
716
- return this;
755
+ if (value !== undefined && value !== null) {
756
+ this.style.fontStretch = value;
757
+ }
758
+ return this;
717
759
  }
718
760
  fontStyle(value) {
719
- if (value !== undefined && value !== null) {
720
- this.style.fontStyle = value;
721
- }
722
- return this;
761
+ if (value !== undefined && value !== null) {
762
+ this.style.fontStyle = value;
763
+ }
764
+ return this;
723
765
  }
724
766
  fontVariant(value) {
725
- if (value !== undefined && value !== null) {
726
- this.style.fontVariant = value;
727
- }
728
- return this;
767
+ if (value !== undefined && value !== null) {
768
+ this.style.fontVariant = value;
769
+ }
770
+ return this;
729
771
  }
730
772
  fontWeight(value) {
731
- if (value !== undefined && value !== null) {
732
- this.style.fontWeight = value;
733
- }
734
- return this;
773
+ if (value !== undefined && value !== null) {
774
+ this.style.fontWeight = value;
775
+ }
776
+ return this;
735
777
  }
736
778
  gap(value, unit = "px") {
737
- if (value !== undefined && value !== null) {
738
- this.style.gap = toUnit(value, unit);
739
- }
740
- return this;
779
+ if (value !== undefined && value !== null) {
780
+ this.style.gap = toUnit(value, unit);
781
+ }
782
+ return this;
741
783
  }
742
784
  glyphOrientationHorizontal(value) {
743
- if (value !== undefined && value !== null) {
744
- this.style.glyphOrientationHorizontal = value;
745
- }
746
- return this;
785
+ if (value !== undefined && value !== null) {
786
+ this.style.glyphOrientationHorizontal = value;
787
+ }
788
+ return this;
747
789
  }
748
790
  glyphOrientationVertical(value) {
749
- if (value !== undefined && value !== null) {
750
- this.style.glyphOrientationVertical = value;
751
- }
752
- return this;
791
+ if (value !== undefined && value !== null) {
792
+ this.style.glyphOrientationVertical = value;
793
+ }
794
+ return this;
753
795
  }
754
796
  grid(value) {
755
- if (value !== undefined && value !== null) {
756
- this.style.grid = value;
757
- }
758
- return this;
797
+ if (value !== undefined && value !== null) {
798
+ this.style.grid = value;
799
+ }
800
+ return this;
759
801
  }
760
802
  gridArea(value) {
761
- if (value !== undefined && value !== null) {
762
- this.style.gridArea = value;
763
- }
764
- return this;
803
+ if (value !== undefined && value !== null) {
804
+ this.style.gridArea = value;
805
+ }
806
+ return this;
765
807
  }
766
808
  gridAutoColumns(value) {
767
- if (value !== undefined && value !== null) {
768
- this.style.gridAutoColumns = value;
769
- }
770
- return this;
809
+ if (value !== undefined && value !== null) {
810
+ this.style.gridAutoColumns = value;
811
+ }
812
+ return this;
771
813
  }
772
814
  gridAutoFlow(value) {
773
- if (value !== undefined && value !== null) {
774
- this.style.gridAutoFlow = value;
775
- }
776
- return this;
815
+ if (value !== undefined && value !== null) {
816
+ this.style.gridAutoFlow = value;
817
+ }
818
+ return this;
777
819
  }
778
820
  gridAutoRows(value) {
779
- if (value !== undefined && value !== null) {
780
- this.style.gridAutoRows = value;
781
- }
782
- return this;
821
+ if (value !== undefined && value !== null) {
822
+ this.style.gridAutoRows = value;
823
+ }
824
+ return this;
783
825
  }
784
826
  gridColumn(value) {
785
- if (value !== undefined && value !== null) {
786
- this.style.gridColumn = value;
787
- }
788
- return this;
827
+ if (value !== undefined && value !== null) {
828
+ this.style.gridColumn = value;
829
+ }
830
+ return this;
789
831
  }
790
832
  gridColumnEnd(value) {
791
- if (value !== undefined && value !== null) {
792
- this.style.gridColumnEnd = value;
793
- }
794
- return this;
833
+ if (value !== undefined && value !== null) {
834
+ this.style.gridColumnEnd = value;
835
+ }
836
+ return this;
795
837
  }
796
838
  gridColumnGap(value) {
797
- if (value !== undefined && value !== null) {
798
- this.style.gridColumnGap = value;
799
- }
800
- return this;
839
+ if (value !== undefined && value !== null) {
840
+ this.style.gridColumnGap = value;
841
+ }
842
+ return this;
801
843
  }
802
844
  gridColumnStart(value) {
803
- if (value !== undefined && value !== null) {
804
- this.style.gridColumnStart = value;
805
- }
806
- return this;
845
+ if (value !== undefined && value !== null) {
846
+ this.style.gridColumnStart = value;
847
+ }
848
+ return this;
807
849
  }
808
850
  gridGap(value) {
809
- if (value !== undefined && value !== null) {
810
- this.style.gridGap = value;
811
- }
812
- return this;
851
+ if (value !== undefined && value !== null) {
852
+ this.style.gridGap = value;
853
+ }
854
+ return this;
813
855
  }
814
856
  gridRow(value) {
815
- if (value !== undefined && value !== null) {
816
- this.style.gridRow = value;
817
- }
818
- return this;
857
+ if (value !== undefined && value !== null) {
858
+ this.style.gridRow = value;
859
+ }
860
+ return this;
819
861
  }
820
862
  gridRowEnd(value) {
821
- if (value !== undefined && value !== null) {
822
- this.style.gridRowEnd = value;
823
- }
824
- return this;
863
+ if (value !== undefined && value !== null) {
864
+ this.style.gridRowEnd = value;
865
+ }
866
+ return this;
825
867
  }
826
868
  gridRowGap(value) {
827
- if (value !== undefined && value !== null) {
828
- this.style.gridRowGap = value;
829
- }
830
- return this;
869
+ if (value !== undefined && value !== null) {
870
+ this.style.gridRowGap = value;
871
+ }
872
+ return this;
831
873
  }
832
874
  gridRowStart(value) {
833
- if (value !== undefined && value !== null) {
834
- this.style.gridRowStart = value;
835
- }
836
- return this;
875
+ if (value !== undefined && value !== null) {
876
+ this.style.gridRowStart = value;
877
+ }
878
+ return this;
837
879
  }
838
880
  gridTemplate(value) {
839
- if (value !== undefined && value !== null) {
840
- this.style.gridTemplate = value;
841
- }
842
- return this;
881
+ if (value !== undefined && value !== null) {
882
+ this.style.gridTemplate = value;
883
+ }
884
+ return this;
843
885
  }
844
886
  gridTemplateAreas(value) {
845
- if (value !== undefined && value !== null) {
846
- this.style.gridTemplateAreas = value;
847
- }
848
- return this;
887
+ if (value !== undefined && value !== null) {
888
+ this.style.gridTemplateAreas = value;
889
+ }
890
+ return this;
849
891
  }
850
892
  gridTemplateColumns(value) {
851
- if (value !== undefined && value !== null) {
852
- this.style.gridTemplateColumns = value;
853
- }
854
- return this;
893
+ if (value !== undefined && value !== null) {
894
+ this.style.gridTemplateColumns = value;
895
+ }
896
+ return this;
855
897
  }
856
898
  gridTemplateRows(value) {
857
- if (value !== undefined && value !== null) {
858
- this.style.gridTemplateRows = value;
859
- }
860
- return this;
899
+ if (value !== undefined && value !== null) {
900
+ this.style.gridTemplateRows = value;
901
+ }
902
+ return this;
861
903
  }
862
904
  height(value, unit = "px") {
863
- if (value !== undefined && value !== null) {
864
- this.style.height = toUnit(value, unit);
865
- }
866
- return this;
905
+ if (value !== undefined && value !== null) {
906
+ this.style.height = toUnit(value, unit);
907
+ }
908
+ return this;
867
909
  }
868
910
  imeMode(value) {
869
- if (value !== undefined && value !== null) {
870
- this.style.imeMode = value;
871
- }
872
- return this;
911
+ if (value !== undefined && value !== null) {
912
+ this.style.imeMode = value;
913
+ }
914
+ return this;
873
915
  }
874
916
  justifyContent(value) {
875
- if (value !== undefined && value !== null) {
876
- this.style.justifyContent = value;
877
- }
878
- return this;
917
+ if (value !== undefined && value !== null) {
918
+ this.style.justifyContent = value;
919
+ }
920
+ return this;
879
921
  }
880
922
  justifyItems(value) {
881
- if (value !== undefined && value !== null) {
882
- this.style.justifyItems = value;
883
- }
884
- return this;
923
+ if (value !== undefined && value !== null) {
924
+ this.style.justifyItems = value;
925
+ }
926
+ return this;
885
927
  }
886
928
  justifySelf(value) {
887
- if (value !== undefined && value !== null) {
888
- this.style.justifySelf = value;
889
- }
890
- return this;
929
+ if (value !== undefined && value !== null) {
930
+ this.style.justifySelf = value;
931
+ }
932
+ return this;
891
933
  }
892
934
  kerning(value) {
893
- if (value !== undefined && value !== null) {
894
- this.style.kerning = value;
895
- }
896
- return this;
935
+ if (value !== undefined && value !== null) {
936
+ this.style.kerning = value;
937
+ }
938
+ return this;
897
939
  }
898
940
  layoutGrid(value) {
899
- if (value !== undefined && value !== null) {
900
- this.style.layoutGrid = value;
901
- }
902
- return this;
941
+ if (value !== undefined && value !== null) {
942
+ this.style.layoutGrid = value;
943
+ }
944
+ return this;
903
945
  }
904
946
  layoutGridChar(value) {
905
- if (value !== undefined && value !== null) {
906
- this.style.layoutGridChar = value;
907
- }
908
- return this;
947
+ if (value !== undefined && value !== null) {
948
+ this.style.layoutGridChar = value;
949
+ }
950
+ return this;
909
951
  }
910
952
  layoutGridLine(value) {
911
- if (value !== undefined && value !== null) {
912
- this.style.layoutGridLine = value;
913
- }
914
- return this;
953
+ if (value !== undefined && value !== null) {
954
+ this.style.layoutGridLine = value;
955
+ }
956
+ return this;
915
957
  }
916
958
  layoutGridMode(value) {
917
- if (value !== undefined && value !== null) {
918
- this.style.layoutGridMode = value;
919
- }
920
- return this;
959
+ if (value !== undefined && value !== null) {
960
+ this.style.layoutGridMode = value;
961
+ }
962
+ return this;
921
963
  }
922
964
  layoutGridType(value) {
923
- if (value !== undefined && value !== null) {
924
- this.style.layoutGridType = value;
925
- }
926
- return this;
965
+ if (value !== undefined && value !== null) {
966
+ this.style.layoutGridType = value;
967
+ }
968
+ return this;
927
969
  }
928
970
  left(value, unit = "px") {
929
- if (value !== undefined && value !== null) {
930
- this.style.left = toUnit(value, unit);
931
- }
932
- return this;
971
+ if (value !== undefined && value !== null) {
972
+ this.style.left = toUnit(value, unit);
973
+ }
974
+ return this;
933
975
  }
934
976
  letterSpacing(value) {
935
- if (value !== undefined && value !== null) {
936
- this.style.letterSpacing = value;
937
- }
938
- return this;
977
+ if (value !== undefined && value !== null) {
978
+ this.style.letterSpacing = value;
979
+ }
980
+ return this;
939
981
  }
940
982
  lightingColor(value) {
941
- if (value !== undefined && value !== null) {
942
- this.style.lightingColor = value;
943
- }
944
- return this;
983
+ if (value !== undefined && value !== null) {
984
+ this.style.lightingColor = value;
985
+ }
986
+ return this;
945
987
  }
946
988
  lineBreak(value) {
947
- if (value !== undefined && value !== null) {
948
- this.style.lineBreak = value;
949
- }
950
- return this;
989
+ if (value !== undefined && value !== null) {
990
+ this.style.lineBreak = value;
991
+ }
992
+ return this;
951
993
  }
952
994
  lineHeight(value) {
953
- if (value !== undefined && value !== null) {
954
- this.style.lineHeight = value;
955
- }
956
- return this;
995
+ if (value !== undefined && value !== null) {
996
+ this.style.lineHeight = value;
997
+ }
998
+ return this;
957
999
  }
958
1000
  listStyle(value) {
959
- if (value !== undefined && value !== null) {
960
- this.style.listStyle = value;
961
- }
962
- return this;
1001
+ if (value !== undefined && value !== null) {
1002
+ this.style.listStyle = value;
1003
+ }
1004
+ return this;
963
1005
  }
964
1006
  listStyleImage(value) {
965
- if (value !== undefined && value !== null) {
966
- this.style.listStyleImage = value;
967
- }
968
- return this;
1007
+ if (value !== undefined && value !== null) {
1008
+ this.style.listStyleImage = value;
1009
+ }
1010
+ return this;
969
1011
  }
970
1012
  listStylePosition(value) {
971
- if (value !== undefined && value !== null) {
972
- this.style.listStylePosition = value;
973
- }
974
- return this;
1013
+ if (value !== undefined && value !== null) {
1014
+ this.style.listStylePosition = value;
1015
+ }
1016
+ return this;
975
1017
  }
976
1018
  listStyleType(value) {
977
- if (value !== undefined && value !== null) {
978
- this.style.listStyleType = value;
979
- }
980
- return this;
1019
+ if (value !== undefined && value !== null) {
1020
+ this.style.listStyleType = value;
1021
+ }
1022
+ return this;
981
1023
  }
982
1024
  margin(value, unit = "px") {
983
- if (value !== undefined && value !== null) {
984
- this.style.margin = toUnit(value, unit);
985
- }
986
- return this;
1025
+ if (value !== undefined && value !== null) {
1026
+ this.style.margin = toUnit(value, unit);
1027
+ }
1028
+ return this;
987
1029
  }
988
1030
  marginBottom(value, unit = "px") {
989
- if (value !== undefined && value !== null) {
990
- this.style.marginBottom = toUnit(value, unit);
991
- }
992
- return this;
1031
+ if (value !== undefined && value !== null) {
1032
+ this.style.marginBottom = toUnit(value, unit);
1033
+ }
1034
+ return this;
993
1035
  }
994
1036
  marginLeft(value, unit = "px") {
995
- if (value !== undefined && value !== null) {
996
- this.style.marginLeft = toUnit(value, unit);
997
- }
998
- return this;
1037
+ if (value !== undefined && value !== null) {
1038
+ this.style.marginLeft = toUnit(value, unit);
1039
+ }
1040
+ return this;
999
1041
  }
1000
1042
  marginRight(value, unit = "px") {
1001
- if (value !== undefined && value !== null) {
1002
- this.style.marginRight = toUnit(value, unit);
1003
- }
1004
- return this;
1043
+ if (value !== undefined && value !== null) {
1044
+ this.style.marginRight = toUnit(value, unit);
1045
+ }
1046
+ return this;
1005
1047
  }
1006
1048
  marginTop(value, unit = "px") {
1007
- if (value !== undefined && value !== null) {
1008
- this.style.marginTop = toUnit(value, unit);
1009
- }
1010
- return this;
1049
+ if (value !== undefined && value !== null) {
1050
+ this.style.marginTop = toUnit(value, unit);
1051
+ }
1052
+ return this;
1011
1053
  }
1012
1054
  marginInlineStart(value, unit = "px") {
1013
- if (value !== undefined && value !== null) {
1014
- this.style.marginInlineStart = toUnit(value, unit);
1015
- }
1016
- return this;
1055
+ if (value !== undefined && value !== null) {
1056
+ this.style.marginInlineStart = toUnit(value, unit);
1057
+ }
1058
+ return this;
1017
1059
  }
1018
1060
  marginInlineEnd(value, unit = "px") {
1019
- if (value !== undefined && value !== null) {
1020
- this.style.marginInlineEnd = toUnit(value, unit);
1021
- }
1022
- return this;
1061
+ if (value !== undefined && value !== null) {
1062
+ this.style.marginInlineEnd = toUnit(value, unit);
1063
+ }
1064
+ return this;
1023
1065
  }
1024
1066
  marginBlockStart(value, unit = "px") {
1025
- if (value !== undefined && value !== null) {
1026
- this.style.marginBlockStart = toUnit(value, unit);
1027
- }
1028
- return this;
1067
+ if (value !== undefined && value !== null) {
1068
+ this.style.marginBlockStart = toUnit(value, unit);
1069
+ }
1070
+ return this;
1029
1071
  }
1030
1072
  marginBlockEnd(value, unit = "px") {
1031
- if (value !== undefined && value !== null) {
1032
- this.style.marginBlockEnd = toUnit(value, unit);
1033
- }
1034
- return this;
1073
+ if (value !== undefined && value !== null) {
1074
+ this.style.marginBlockEnd = toUnit(value, unit);
1075
+ }
1076
+ return this;
1035
1077
  }
1036
1078
  marker(value) {
1037
- if (value !== undefined && value !== null) {
1038
- this.style.marker = value;
1039
- }
1040
- return this;
1079
+ if (value !== undefined && value !== null) {
1080
+ this.style.marker = value;
1081
+ }
1082
+ return this;
1041
1083
  }
1042
1084
  markerEnd(value) {
1043
- if (value !== undefined && value !== null) {
1044
- this.style.markerEnd = value;
1045
- }
1046
- return this;
1085
+ if (value !== undefined && value !== null) {
1086
+ this.style.markerEnd = value;
1087
+ }
1088
+ return this;
1047
1089
  }
1048
1090
  markerMid(value) {
1049
- if (value !== undefined && value !== null) {
1050
- this.style.markerMid = value;
1051
- }
1052
- return this;
1091
+ if (value !== undefined && value !== null) {
1092
+ this.style.markerMid = value;
1093
+ }
1094
+ return this;
1053
1095
  }
1054
1096
  markerStart(value) {
1055
- if (value !== undefined && value !== null) {
1056
- this.style.markerStart = value;
1057
- }
1058
- return this;
1097
+ if (value !== undefined && value !== null) {
1098
+ this.style.markerStart = value;
1099
+ }
1100
+ return this;
1059
1101
  }
1060
1102
  mask(value) {
1061
- if (value !== undefined && value !== null) {
1062
- this.style.mask = value;
1063
- }
1064
- return this;
1103
+ if (value !== undefined && value !== null) {
1104
+ this.style.mask = value;
1105
+ }
1106
+ return this;
1065
1107
  }
1066
1108
  maskImage(value) {
1067
- if (value !== undefined && value !== null) {
1068
- this.style.maskImage = value;
1069
- }
1070
- return this;
1109
+ if (value !== undefined && value !== null) {
1110
+ this.style.maskImage = value;
1111
+ }
1112
+ return this;
1071
1113
  }
1072
1114
  maxHeight(value, unit = "px") {
1073
- if (value !== undefined && value !== null) {
1074
- this.style.maxHeight = toUnit(value, unit);
1075
- }
1076
- return this;
1115
+ if (value !== undefined && value !== null) {
1116
+ this.style.maxHeight = toUnit(value, unit);
1117
+ }
1118
+ return this;
1077
1119
  }
1078
1120
  maxWidth(value, unit = "px") {
1079
- if (value !== undefined && value !== null) {
1080
- this.style.maxWidth = toUnit(value, unit);
1081
- }
1082
- return this;
1121
+ if (value !== undefined && value !== null) {
1122
+ this.style.maxWidth = toUnit(value, unit);
1123
+ }
1124
+ return this;
1083
1125
  }
1084
1126
  minHeight(value, unit = "px") {
1085
- if (value !== undefined && value !== null) {
1086
- this.style.minHeight = toUnit(value, unit);
1087
- }
1088
- return this;
1127
+ if (value !== undefined && value !== null) {
1128
+ this.style.minHeight = toUnit(value, unit);
1129
+ }
1130
+ return this;
1089
1131
  }
1090
1132
  minWidth(value, unit = "px") {
1091
- if (value !== undefined && value !== null) {
1092
- this.style.minWidth = toUnit(value, unit);
1093
- }
1094
- return this;
1133
+ if (value !== undefined && value !== null) {
1134
+ this.style.minWidth = toUnit(value, unit);
1135
+ }
1136
+ return this;
1095
1137
  }
1096
1138
  msContentZoomChaining(value) {
1097
- if (value !== undefined && value !== null) {
1098
- this.style.msContentZoomChaining = value;
1099
- }
1100
- return this;
1139
+ if (value !== undefined && value !== null) {
1140
+ this.style.msContentZoomChaining = value;
1141
+ }
1142
+ return this;
1101
1143
  }
1102
1144
  msContentZoomLimit(value) {
1103
- if (value !== undefined && value !== null) {
1104
- this.style.msContentZoomLimit = value;
1105
- }
1106
- return this;
1145
+ if (value !== undefined && value !== null) {
1146
+ this.style.msContentZoomLimit = value;
1147
+ }
1148
+ return this;
1107
1149
  }
1108
1150
  msContentZoomLimitMax(value) {
1109
- if (value !== undefined && value !== null) {
1110
- this.style.msContentZoomLimitMax = value;
1111
- }
1112
- return this;
1151
+ if (value !== undefined && value !== null) {
1152
+ this.style.msContentZoomLimitMax = value;
1153
+ }
1154
+ return this;
1113
1155
  }
1114
1156
  msContentZoomLimitMin(value) {
1115
- if (value !== undefined && value !== null) {
1116
- this.style.msContentZoomLimitMin = value;
1117
- }
1118
- return this;
1157
+ if (value !== undefined && value !== null) {
1158
+ this.style.msContentZoomLimitMin = value;
1159
+ }
1160
+ return this;
1119
1161
  }
1120
1162
  msContentZoomSnap(value) {
1121
- if (value !== undefined && value !== null) {
1122
- this.style.msContentZoomSnap = value;
1123
- }
1124
- return this;
1163
+ if (value !== undefined && value !== null) {
1164
+ this.style.msContentZoomSnap = value;
1165
+ }
1166
+ return this;
1125
1167
  }
1126
1168
  msContentZoomSnapPoints(value) {
1127
- if (value !== undefined && value !== null) {
1128
- this.style.msContentZoomSnapPoints = value;
1129
- }
1130
- return this;
1169
+ if (value !== undefined && value !== null) {
1170
+ this.style.msContentZoomSnapPoints = value;
1171
+ }
1172
+ return this;
1131
1173
  }
1132
1174
  msContentZoomSnapType(value) {
1133
- if (value !== undefined && value !== null) {
1134
- this.style.msContentZoomSnapType = value;
1135
- }
1136
- return this;
1175
+ if (value !== undefined && value !== null) {
1176
+ this.style.msContentZoomSnapType = value;
1177
+ }
1178
+ return this;
1137
1179
  }
1138
1180
  msContentZooming(value) {
1139
- if (value !== undefined && value !== null) {
1140
- this.style.msContentZooming = value;
1141
- }
1142
- return this;
1181
+ if (value !== undefined && value !== null) {
1182
+ this.style.msContentZooming = value;
1183
+ }
1184
+ return this;
1143
1185
  }
1144
1186
  msFlowFrom(value) {
1145
- if (value !== undefined && value !== null) {
1146
- this.style.msFlowFrom = value;
1147
- }
1148
- return this;
1187
+ if (value !== undefined && value !== null) {
1188
+ this.style.msFlowFrom = value;
1189
+ }
1190
+ return this;
1149
1191
  }
1150
1192
  msFlowInto(value) {
1151
- if (value !== undefined && value !== null) {
1152
- this.style.msFlowInto = value;
1153
- }
1154
- return this;
1193
+ if (value !== undefined && value !== null) {
1194
+ this.style.msFlowInto = value;
1195
+ }
1196
+ return this;
1155
1197
  }
1156
1198
  msFontFeatureSettings(value) {
1157
- if (value !== undefined && value !== null) {
1158
- this.style.msFontFeatureSettings = value;
1159
- }
1160
- return this;
1199
+ if (value !== undefined && value !== null) {
1200
+ this.style.msFontFeatureSettings = value;
1201
+ }
1202
+ return this;
1161
1203
  }
1162
1204
  msGridColumn(value) {
1163
- if (value !== undefined && value !== null) {
1164
- this.style.msGridColumn = value;
1165
- }
1166
- return this;
1205
+ if (value !== undefined && value !== null) {
1206
+ this.style.msGridColumn = value;
1207
+ }
1208
+ return this;
1167
1209
  }
1168
1210
  msGridColumnAlign(value) {
1169
- if (value !== undefined && value !== null) {
1170
- this.style.msGridColumnAlign = value;
1171
- }
1172
- return this;
1211
+ if (value !== undefined && value !== null) {
1212
+ this.style.msGridColumnAlign = value;
1213
+ }
1214
+ return this;
1173
1215
  }
1174
1216
  msGridColumnSpan(value) {
1175
- if (value !== undefined && value !== null) {
1176
- this.style.msGridColumnSpan = value;
1177
- }
1178
- return this;
1217
+ if (value !== undefined && value !== null) {
1218
+ this.style.msGridColumnSpan = value;
1219
+ }
1220
+ return this;
1179
1221
  }
1180
1222
  msGridColumns(value) {
1181
- if (value !== undefined && value !== null) {
1182
- this.style.msGridColumns = value;
1183
- }
1184
- return this;
1223
+ if (value !== undefined && value !== null) {
1224
+ this.style.msGridColumns = value;
1225
+ }
1226
+ return this;
1185
1227
  }
1186
1228
  msGridRow(value) {
1187
- if (value !== undefined && value !== null) {
1188
- this.style.msGridRow = value;
1189
- }
1190
- return this;
1229
+ if (value !== undefined && value !== null) {
1230
+ this.style.msGridRow = value;
1231
+ }
1232
+ return this;
1191
1233
  }
1192
1234
  msGridRowAlign(value) {
1193
- if (value !== undefined && value !== null) {
1194
- this.style.msGridRowAlign = value;
1195
- }
1196
- return this;
1235
+ if (value !== undefined && value !== null) {
1236
+ this.style.msGridRowAlign = value;
1237
+ }
1238
+ return this;
1197
1239
  }
1198
1240
  msGridRowSpan(value) {
1199
- if (value !== undefined && value !== null) {
1200
- this.style.msGridRowSpan = value;
1201
- }
1202
- return this;
1241
+ if (value !== undefined && value !== null) {
1242
+ this.style.msGridRowSpan = value;
1243
+ }
1244
+ return this;
1203
1245
  }
1204
1246
  msGridRows(value) {
1205
- if (value !== undefined && value !== null) {
1206
- this.style.msGridRows = value;
1207
- }
1208
- return this;
1247
+ if (value !== undefined && value !== null) {
1248
+ this.style.msGridRows = value;
1249
+ }
1250
+ return this;
1209
1251
  }
1210
1252
  msHighContrastAdjust(value) {
1211
- if (value !== undefined && value !== null) {
1212
- this.style.msHighContrastAdjust = value;
1213
- }
1214
- return this;
1253
+ if (value !== undefined && value !== null) {
1254
+ this.style.msHighContrastAdjust = value;
1255
+ }
1256
+ return this;
1215
1257
  }
1216
1258
  msHyphenateLimitChars(value) {
1217
- if (value !== undefined && value !== null) {
1218
- this.style.msHyphenateLimitChars = value;
1219
- }
1220
- return this;
1259
+ if (value !== undefined && value !== null) {
1260
+ this.style.msHyphenateLimitChars = value;
1261
+ }
1262
+ return this;
1221
1263
  }
1222
1264
  msHyphenateLimitLines(value) {
1223
- if (value !== undefined && value !== null) {
1224
- this.style.msHyphenateLimitLines = value;
1225
- }
1226
- return this;
1265
+ if (value !== undefined && value !== null) {
1266
+ this.style.msHyphenateLimitLines = value;
1267
+ }
1268
+ return this;
1227
1269
  }
1228
1270
  msHyphenateLimitZone(value) {
1229
- if (value !== undefined && value !== null) {
1230
- this.style.msHyphenateLimitZone = value;
1231
- }
1232
- return this;
1271
+ if (value !== undefined && value !== null) {
1272
+ this.style.msHyphenateLimitZone = value;
1273
+ }
1274
+ return this;
1233
1275
  }
1234
1276
  msHyphens(value) {
1235
- if (value !== undefined && value !== null) {
1236
- this.style.msHyphens = value;
1237
- }
1238
- return this;
1277
+ if (value !== undefined && value !== null) {
1278
+ this.style.msHyphens = value;
1279
+ }
1280
+ return this;
1239
1281
  }
1240
1282
  msImeAlign(value) {
1241
- if (value !== undefined && value !== null) {
1242
- this.style.msImeAlign = value;
1243
- }
1244
- return this;
1283
+ if (value !== undefined && value !== null) {
1284
+ this.style.msImeAlign = value;
1285
+ }
1286
+ return this;
1245
1287
  }
1246
1288
  msOverflowStyle(value) {
1247
- if (value !== undefined && value !== null) {
1248
- this.style.msOverflowStyle = value;
1249
- }
1250
- return this;
1289
+ if (value !== undefined && value !== null) {
1290
+ this.style.msOverflowStyle = value;
1291
+ }
1292
+ return this;
1251
1293
  }
1252
1294
  msScrollChaining(value) {
1253
- if (value !== undefined && value !== null) {
1254
- this.style.msScrollChaining = value;
1255
- }
1256
- return this;
1295
+ if (value !== undefined && value !== null) {
1296
+ this.style.msScrollChaining = value;
1297
+ }
1298
+ return this;
1257
1299
  }
1258
1300
  msScrollLimit(value) {
1259
- if (value !== undefined && value !== null) {
1260
- this.style.msScrollLimit = value;
1261
- }
1262
- return this;
1301
+ if (value !== undefined && value !== null) {
1302
+ this.style.msScrollLimit = value;
1303
+ }
1304
+ return this;
1263
1305
  }
1264
1306
  msScrollLimitXMax(value) {
1265
- if (value !== undefined && value !== null) {
1266
- this.style.msScrollLimitXMax = value;
1267
- }
1268
- return this;
1307
+ if (value !== undefined && value !== null) {
1308
+ this.style.msScrollLimitXMax = value;
1309
+ }
1310
+ return this;
1269
1311
  }
1270
1312
  msScrollLimitXMin(value) {
1271
- if (value !== undefined && value !== null) {
1272
- this.style.msScrollLimitXMin = value;
1273
- }
1274
- return this;
1313
+ if (value !== undefined && value !== null) {
1314
+ this.style.msScrollLimitXMin = value;
1315
+ }
1316
+ return this;
1275
1317
  }
1276
1318
  msScrollLimitYMax(value) {
1277
- if (value !== undefined && value !== null) {
1278
- this.style.msScrollLimitYMax = value;
1279
- }
1280
- return this;
1319
+ if (value !== undefined && value !== null) {
1320
+ this.style.msScrollLimitYMax = value;
1321
+ }
1322
+ return this;
1281
1323
  }
1282
1324
  msScrollLimitYMin(value) {
1283
- if (value !== undefined && value !== null) {
1284
- this.style.msScrollLimitYMin = value;
1285
- }
1286
- return this;
1325
+ if (value !== undefined && value !== null) {
1326
+ this.style.msScrollLimitYMin = value;
1327
+ }
1328
+ return this;
1287
1329
  }
1288
1330
  msScrollRails(value) {
1289
- if (value !== undefined && value !== null) {
1290
- this.style.msScrollRails = value;
1291
- }
1292
- return this;
1331
+ if (value !== undefined && value !== null) {
1332
+ this.style.msScrollRails = value;
1333
+ }
1334
+ return this;
1293
1335
  }
1294
1336
  msScrollSnapPointsX(value) {
1295
- if (value !== undefined && value !== null) {
1296
- this.style.msScrollSnapPointsX = value;
1297
- }
1298
- return this;
1337
+ if (value !== undefined && value !== null) {
1338
+ this.style.msScrollSnapPointsX = value;
1339
+ }
1340
+ return this;
1299
1341
  }
1300
1342
  msScrollSnapPointsY(value) {
1301
- if (value !== undefined && value !== null) {
1302
- this.style.msScrollSnapPointsY = value;
1303
- }
1304
- return this;
1343
+ if (value !== undefined && value !== null) {
1344
+ this.style.msScrollSnapPointsY = value;
1345
+ }
1346
+ return this;
1305
1347
  }
1306
1348
  msScrollSnapType(value) {
1307
- if (value !== undefined && value !== null) {
1308
- this.style.msScrollSnapType = value;
1309
- }
1310
- return this;
1349
+ if (value !== undefined && value !== null) {
1350
+ this.style.msScrollSnapType = value;
1351
+ }
1352
+ return this;
1311
1353
  }
1312
1354
  msScrollSnapX(value) {
1313
- if (value !== undefined && value !== null) {
1314
- this.style.msScrollSnapX = value;
1315
- }
1316
- return this;
1355
+ if (value !== undefined && value !== null) {
1356
+ this.style.msScrollSnapX = value;
1357
+ }
1358
+ return this;
1317
1359
  }
1318
1360
  msScrollSnapY(value) {
1319
- if (value !== undefined && value !== null) {
1320
- this.style.msScrollSnapY = value;
1321
- }
1322
- return this;
1361
+ if (value !== undefined && value !== null) {
1362
+ this.style.msScrollSnapY = value;
1363
+ }
1364
+ return this;
1323
1365
  }
1324
1366
  msScrollTranslation(value) {
1325
- if (value !== undefined && value !== null) {
1326
- this.style.msScrollTranslation = value;
1327
- }
1328
- return this;
1367
+ if (value !== undefined && value !== null) {
1368
+ this.style.msScrollTranslation = value;
1369
+ }
1370
+ return this;
1329
1371
  }
1330
1372
  msTextCombineHorizontal(value) {
1331
- if (value !== undefined && value !== null) {
1332
- this.style.msTextCombineHorizontal = value;
1333
- }
1334
- return this;
1373
+ if (value !== undefined && value !== null) {
1374
+ this.style.msTextCombineHorizontal = value;
1375
+ }
1376
+ return this;
1335
1377
  }
1336
1378
  msTextSizeAdjust(value) {
1337
- if (value !== undefined && value !== null) {
1338
- this.style.msTextSizeAdjust = value;
1339
- }
1340
- return this;
1379
+ if (value !== undefined && value !== null) {
1380
+ this.style.msTextSizeAdjust = value;
1381
+ }
1382
+ return this;
1341
1383
  }
1342
1384
  msTouchAction(value) {
1343
- if (value !== undefined && value !== null) {
1344
- this.style.msTouchAction = value;
1345
- }
1346
- return this;
1385
+ if (value !== undefined && value !== null) {
1386
+ this.style.msTouchAction = value;
1387
+ }
1388
+ return this;
1347
1389
  }
1348
1390
  msTouchSelect(value) {
1349
- if (value !== undefined && value !== null) {
1350
- this.style.msTouchSelect = value;
1351
- }
1352
- return this;
1391
+ if (value !== undefined && value !== null) {
1392
+ this.style.msTouchSelect = value;
1393
+ }
1394
+ return this;
1353
1395
  }
1354
1396
  msUserSelect(value) {
1355
- if (value !== undefined && value !== null) {
1356
- this.style.msUserSelect = value;
1357
- }
1358
- return this;
1397
+ if (value !== undefined && value !== null) {
1398
+ this.style.msUserSelect = value;
1399
+ }
1400
+ return this;
1359
1401
  }
1360
1402
  msWrapFlow(value) {
1361
- if (value !== undefined && value !== null) {
1362
- this.style.msWrapFlow = value;
1363
- }
1364
- return this;
1403
+ if (value !== undefined && value !== null) {
1404
+ this.style.msWrapFlow = value;
1405
+ }
1406
+ return this;
1365
1407
  }
1366
1408
  msWrapMargin(value) {
1367
- if (value !== undefined && value !== null) {
1368
- this.style.msWrapMargin = value;
1369
- }
1370
- return this;
1409
+ if (value !== undefined && value !== null) {
1410
+ this.style.msWrapMargin = value;
1411
+ }
1412
+ return this;
1371
1413
  }
1372
1414
  msWrapThrough(value) {
1373
- if (value !== undefined && value !== null) {
1374
- this.style.msWrapThrough = value;
1375
- }
1376
- return this;
1415
+ if (value !== undefined && value !== null) {
1416
+ this.style.msWrapThrough = value;
1417
+ }
1418
+ return this;
1377
1419
  }
1378
1420
  objectFit(value) {
1379
- if (value !== undefined && value !== null) {
1380
- this.style.objectFit = value;
1381
- }
1382
- return this;
1421
+ if (value !== undefined && value !== null) {
1422
+ this.style.objectFit = value;
1423
+ }
1424
+ return this;
1383
1425
  }
1384
1426
  objectPosition(value) {
1385
- if (value !== undefined && value !== null) {
1386
- this.style.objectPosition = value;
1387
- }
1388
- return this;
1427
+ if (value !== undefined && value !== null) {
1428
+ this.style.objectPosition = value;
1429
+ }
1430
+ return this;
1389
1431
  }
1390
1432
  opacity(value) {
1391
- if (value !== undefined && value !== null) {
1392
- this.style.opacity = value;
1393
- }
1394
- return this;
1433
+ if (value !== undefined && value !== null) {
1434
+ this.style.opacity = value;
1435
+ }
1436
+ return this;
1395
1437
  }
1396
1438
  order(value) {
1397
- if (value !== undefined && value !== null) {
1398
- this.style.order = value;
1399
- }
1400
- return this;
1439
+ if (value !== undefined && value !== null) {
1440
+ this.style.order = value;
1441
+ }
1442
+ return this;
1401
1443
  }
1402
1444
  orphans(value) {
1403
- if (value !== undefined && value !== null) {
1404
- this.style.orphans = value;
1405
- }
1406
- return this;
1445
+ if (value !== undefined && value !== null) {
1446
+ this.style.orphans = value;
1447
+ }
1448
+ return this;
1407
1449
  }
1408
1450
  outline(value) {
1409
- if (value !== undefined && value !== null) {
1410
- this.style.outline = value;
1411
- }
1412
- return this;
1451
+ if (value !== undefined && value !== null) {
1452
+ this.style.outline = value;
1453
+ }
1454
+ return this;
1413
1455
  }
1414
1456
  outlineColor(value) {
1415
- if (value !== undefined && value !== null) {
1416
- this.style.outlineColor = value;
1417
- }
1418
- return this;
1457
+ if (value !== undefined && value !== null) {
1458
+ this.style.outlineColor = value;
1459
+ }
1460
+ return this;
1419
1461
  }
1420
1462
  outlineOffset(value) {
1421
- if (value !== undefined && value !== null) {
1422
- this.style.outlineOffset = value;
1423
- }
1424
- return this;
1463
+ if (value !== undefined && value !== null) {
1464
+ this.style.outlineOffset = value;
1465
+ }
1466
+ return this;
1425
1467
  }
1426
1468
  outlineStyle(value) {
1427
- if (value !== undefined && value !== null) {
1428
- this.style.outlineStyle = value;
1429
- }
1430
- return this;
1469
+ if (value !== undefined && value !== null) {
1470
+ this.style.outlineStyle = value;
1471
+ }
1472
+ return this;
1431
1473
  }
1432
1474
  outlineWidth(value) {
1433
- if (value !== undefined && value !== null) {
1434
- this.style.outlineWidth = value;
1435
- }
1436
- return this;
1475
+ if (value !== undefined && value !== null) {
1476
+ this.style.outlineWidth = value;
1477
+ }
1478
+ return this;
1437
1479
  }
1438
1480
  overflow(value) {
1439
- if (value !== undefined && value !== null) {
1440
- this.style.overflow = value;
1441
- }
1442
- return this;
1481
+ if (value !== undefined && value !== null) {
1482
+ this.style.overflow = value;
1483
+ }
1484
+ return this;
1443
1485
  }
1444
1486
  overflowX(value) {
1445
- if (value !== undefined && value !== null) {
1446
- this.style.overflowX = value;
1447
- }
1448
- return this;
1487
+ if (value !== undefined && value !== null) {
1488
+ this.style.overflowX = value;
1489
+ }
1490
+ return this;
1449
1491
  }
1450
1492
  overflowY(value) {
1451
- if (value !== undefined && value !== null) {
1452
- this.style.overflowY = value;
1453
- }
1454
- return this;
1493
+ if (value !== undefined && value !== null) {
1494
+ this.style.overflowY = value;
1495
+ }
1496
+ return this;
1455
1497
  }
1456
1498
  padding(value, unit = "px") {
1457
- if (value !== undefined && value !== null) {
1458
- this.style.padding = toUnit(value, unit);
1459
- }
1460
- return this;
1499
+ if (value !== undefined && value !== null) {
1500
+ this.style.padding = toUnit(value, unit);
1501
+ }
1502
+ return this;
1461
1503
  }
1462
1504
  paddingBottom(value, unit = "px") {
1463
- if (value !== undefined && value !== null) {
1464
- this.style.paddingBottom = toUnit(value, unit);
1465
- }
1466
- return this;
1505
+ if (value !== undefined && value !== null) {
1506
+ this.style.paddingBottom = toUnit(value, unit);
1507
+ }
1508
+ return this;
1467
1509
  }
1468
1510
  paddingLeft(value, unit = "px") {
1469
- if (value !== undefined && value !== null) {
1470
- this.style.paddingLeft = toUnit(value, unit);
1471
- }
1472
- return this;
1511
+ if (value !== undefined && value !== null) {
1512
+ this.style.paddingLeft = toUnit(value, unit);
1513
+ }
1514
+ return this;
1473
1515
  }
1474
1516
  paddingRight(value, unit = "px") {
1475
- if (value !== undefined && value !== null) {
1476
- this.style.paddingRight = toUnit(value, unit);
1477
- }
1478
- return this;
1517
+ if (value !== undefined && value !== null) {
1518
+ this.style.paddingRight = toUnit(value, unit);
1519
+ }
1520
+ return this;
1479
1521
  }
1480
1522
  paddingTop(value, unit = "px") {
1481
- if (value !== undefined && value !== null) {
1482
- this.style.paddingTop = toUnit(value, unit);
1483
- }
1484
- return this;
1523
+ if (value !== undefined && value !== null) {
1524
+ this.style.paddingTop = toUnit(value, unit);
1525
+ }
1526
+ return this;
1485
1527
  }
1486
1528
  paddingInlineStart(value, unit = "px") {
1487
- if (value !== undefined && value !== null) {
1488
- this.style.paddingInlineStart = toUnit(value, unit);
1489
- }
1490
- return this;
1529
+ if (value !== undefined && value !== null) {
1530
+ this.style.paddingInlineStart = toUnit(value, unit);
1531
+ }
1532
+ return this;
1491
1533
  }
1492
1534
  paddingInlineEnd(value, unit = "px") {
1493
- if (value !== undefined && value !== null) {
1494
- this.style.paddingInlineEnd = toUnit(value, unit);
1495
- }
1496
- return this;
1535
+ if (value !== undefined && value !== null) {
1536
+ this.style.paddingInlineEnd = toUnit(value, unit);
1537
+ }
1538
+ return this;
1497
1539
  }
1498
1540
  pageBreakAfter(value) {
1499
- if (value !== undefined && value !== null) {
1500
- this.style.pageBreakAfter = value;
1501
- }
1502
- return this;
1541
+ if (value !== undefined && value !== null) {
1542
+ this.style.pageBreakAfter = value;
1543
+ }
1544
+ return this;
1503
1545
  }
1504
1546
  pageBreakBefore(value) {
1505
- if (value !== undefined && value !== null) {
1506
- this.style.pageBreakBefore = value;
1507
- }
1508
- return this;
1547
+ if (value !== undefined && value !== null) {
1548
+ this.style.pageBreakBefore = value;
1549
+ }
1550
+ return this;
1509
1551
  }
1510
1552
  pageBreakInside(value) {
1511
- if (value !== undefined && value !== null) {
1512
- this.style.pageBreakInside = value;
1513
- }
1514
- return this;
1553
+ if (value !== undefined && value !== null) {
1554
+ this.style.pageBreakInside = value;
1555
+ }
1556
+ return this;
1515
1557
  }
1516
1558
  penAction(value) {
1517
- if (value !== undefined && value !== null) {
1518
- this.style.penAction = value;
1519
- }
1520
- return this;
1559
+ if (value !== undefined && value !== null) {
1560
+ this.style.penAction = value;
1561
+ }
1562
+ return this;
1521
1563
  }
1522
1564
  perspective(value) {
1523
- if (value !== undefined && value !== null) {
1524
- this.style.perspective = value;
1525
- }
1526
- return this;
1565
+ if (value !== undefined && value !== null) {
1566
+ this.style.perspective = value;
1567
+ }
1568
+ return this;
1527
1569
  }
1528
1570
  perspectiveOrigin(value) {
1529
- if (value !== undefined && value !== null) {
1530
- this.style.perspectiveOrigin = value;
1531
- }
1532
- return this;
1571
+ if (value !== undefined && value !== null) {
1572
+ this.style.perspectiveOrigin = value;
1573
+ }
1574
+ return this;
1533
1575
  }
1534
1576
  pointerEvents(value) {
1535
- if (value !== undefined && value !== null) {
1536
- this.style.pointerEvents = value;
1537
- }
1538
- return this;
1577
+ if (value !== undefined && value !== null) {
1578
+ this.style.pointerEvents = value;
1579
+ }
1580
+ return this;
1539
1581
  }
1540
1582
  position(value) {
1541
- if (value !== undefined && value !== null) {
1542
- this.style.position = value;
1543
- }
1544
- return this;
1583
+ if (value !== undefined && value !== null) {
1584
+ this.style.position = value;
1585
+ }
1586
+ return this;
1545
1587
  }
1546
1588
  quotes(value) {
1547
- if (value !== undefined && value !== null) {
1548
- this.style.quotes = value;
1549
- }
1550
- return this;
1589
+ if (value !== undefined && value !== null) {
1590
+ this.style.quotes = value;
1591
+ }
1592
+ return this;
1551
1593
  }
1552
1594
  resize(value) {
1553
- if (value !== undefined && value !== null) {
1554
- this.style.resize = value;
1555
- }
1556
- return this;
1595
+ if (value !== undefined && value !== null) {
1596
+ this.style.resize = value;
1597
+ }
1598
+ return this;
1557
1599
  }
1558
1600
  right(value, unit = "px") {
1559
- if (value !== undefined && value !== null) {
1560
- this.style.right = toUnit(value, unit);
1561
- }
1562
- return this;
1601
+ if (value !== undefined && value !== null) {
1602
+ this.style.right = toUnit(value, unit);
1603
+ }
1604
+ return this;
1563
1605
  }
1564
1606
  rotate(value) {
1565
- if (value !== undefined && value !== null) {
1566
- this.style.rotate = value;
1567
- }
1568
- return this;
1607
+ if (value !== undefined && value !== null) {
1608
+ this.style.rotate = value;
1609
+ }
1610
+ return this;
1569
1611
  }
1570
1612
  rowGap(value) {
1571
- if (value !== undefined && value !== null) {
1572
- this.style.rowGap = value;
1573
- }
1574
- return this;
1613
+ if (value !== undefined && value !== null) {
1614
+ this.style.rowGap = value;
1615
+ }
1616
+ return this;
1575
1617
  }
1576
1618
  rubyAlign(value) {
1577
- if (value !== undefined && value !== null) {
1578
- this.style.rubyAlign = value;
1579
- }
1580
- return this;
1619
+ if (value !== undefined && value !== null) {
1620
+ this.style.rubyAlign = value;
1621
+ }
1622
+ return this;
1581
1623
  }
1582
1624
  rubyOverhang(value) {
1583
- if (value !== undefined && value !== null) {
1584
- this.style.rubyOverhang = value;
1585
- }
1586
- return this;
1625
+ if (value !== undefined && value !== null) {
1626
+ this.style.rubyOverhang = value;
1627
+ }
1628
+ return this;
1587
1629
  }
1588
1630
  rubyPosition(value) {
1589
- if (value !== undefined && value !== null) {
1590
- this.style.rubyPosition = value;
1591
- }
1592
- return this;
1631
+ if (value !== undefined && value !== null) {
1632
+ this.style.rubyPosition = value;
1633
+ }
1634
+ return this;
1593
1635
  }
1594
1636
  scale(value) {
1595
- if (value !== undefined && value !== null) {
1596
- this.style.scale = value;
1597
- }
1598
- return this;
1637
+ if (value !== undefined && value !== null) {
1638
+ this.style.scale = value;
1639
+ }
1640
+ return this;
1599
1641
  }
1600
1642
  custom(name, value) {
1601
- this.style[name] = value;
1602
- return this;
1643
+ this.style[name] = value;
1644
+ return this;
1603
1645
  }
1604
1646
  scrollBarWidth(value, unit) {
1605
- var _a, _b;
1606
- var _c, _d;
1607
- this.style["scrollbar-width"] = toUnit(value, unit);
1608
- (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : (_c.subclasses = {});
1609
- const ws = (_b = (_d = this.style.subclasses)["::-webkit-scrollbar"]) !== null && _b !== void 0 ? _b : (_d["::-webkit-scrollbar"] = {});
1610
- ws.width = toUnit(value, unit);
1611
- return this;
1647
+ var _a, _b;
1648
+ var _c, _d;
1649
+ this.style["scrollbar-width"] = toUnit(value, unit);
1650
+ (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
1651
+ const ws = (_b = (_d = this.style.subclasses)["::-webkit-scrollbar"]) !== null && _b !== void 0 ? _b : _d["::-webkit-scrollbar"] = {};
1652
+ ws.width = toUnit(value, unit);
1653
+ return this;
1612
1654
  }
1613
1655
  scrollBarColor(thumb, bg) {
1614
- var _a, _b;
1615
- var _c, _d;
1616
- this.style["scrollbar-color"] = `${thumb} ${bg}`;
1617
- (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : (_c.subclasses = {});
1618
- const ws = (_b = (_d = this.style.subclasses)["::-webkit-scrollbar-thumb"]) !== null && _b !== void 0 ? _b : (_d["::-webkit-scrollbar-thumb"] = {});
1619
- ws.backgroundColor = bg;
1620
- ws.borderRadius = "20px";
1621
- ws.border = `3px solid ${thumb}`;
1622
- return this;
1656
+ var _a, _b;
1657
+ var _c, _d;
1658
+ this.style["scrollbar-color"] = `${thumb} ${bg}`;
1659
+ (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
1660
+ const ws = (_b = (_d = this.style.subclasses)["::-webkit-scrollbar-thumb"]) !== null && _b !== void 0 ? _b : _d["::-webkit-scrollbar-thumb"] = {};
1661
+ ws.backgroundColor = bg;
1662
+ ws.borderRadius = "20px";
1663
+ ws.border = `3px solid ${thumb}`;
1664
+ return this;
1623
1665
  }
1624
1666
  stopColor(value) {
1625
- if (value !== undefined && value !== null) {
1626
- this.style.stopColor = value;
1627
- }
1628
- return this;
1667
+ if (value !== undefined && value !== null) {
1668
+ this.style.stopColor = value;
1669
+ }
1670
+ return this;
1629
1671
  }
1630
1672
  stopOpacity(value) {
1631
- if (value !== undefined && value !== null) {
1632
- this.style.stopOpacity = value;
1633
- }
1634
- return this;
1673
+ if (value !== undefined && value !== null) {
1674
+ this.style.stopOpacity = value;
1675
+ }
1676
+ return this;
1635
1677
  }
1636
1678
  stroke(value) {
1637
- if (value !== undefined && value !== null) {
1638
- this.style.stroke = value;
1639
- }
1640
- return this;
1679
+ if (value !== undefined && value !== null) {
1680
+ this.style.stroke = value;
1681
+ }
1682
+ return this;
1641
1683
  }
1642
1684
  strokeDasharray(value) {
1643
- if (value !== undefined && value !== null) {
1644
- this.style.strokeDasharray = value;
1645
- }
1646
- return this;
1685
+ if (value !== undefined && value !== null) {
1686
+ this.style.strokeDasharray = value;
1687
+ }
1688
+ return this;
1647
1689
  }
1648
1690
  strokeDashoffset(value) {
1649
- if (value !== undefined && value !== null) {
1650
- this.style.strokeDashoffset = value;
1651
- }
1652
- return this;
1691
+ if (value !== undefined && value !== null) {
1692
+ this.style.strokeDashoffset = value;
1693
+ }
1694
+ return this;
1653
1695
  }
1654
1696
  strokeLinecap(value) {
1655
- if (value !== undefined && value !== null) {
1656
- this.style.strokeLinecap = value;
1657
- }
1658
- return this;
1697
+ if (value !== undefined && value !== null) {
1698
+ this.style.strokeLinecap = value;
1699
+ }
1700
+ return this;
1659
1701
  }
1660
1702
  strokeLinejoin(value) {
1661
- if (value !== undefined && value !== null) {
1662
- this.style.strokeLinejoin = value;
1663
- }
1664
- return this;
1703
+ if (value !== undefined && value !== null) {
1704
+ this.style.strokeLinejoin = value;
1705
+ }
1706
+ return this;
1665
1707
  }
1666
1708
  strokeMiterlimit(value) {
1667
- if (value !== undefined && value !== null) {
1668
- this.style.strokeMiterlimit = value;
1669
- }
1670
- return this;
1709
+ if (value !== undefined && value !== null) {
1710
+ this.style.strokeMiterlimit = value;
1711
+ }
1712
+ return this;
1671
1713
  }
1672
1714
  strokeOpacity(value) {
1673
- if (value !== undefined && value !== null) {
1674
- this.style.strokeOpacity = value;
1675
- }
1676
- return this;
1715
+ if (value !== undefined && value !== null) {
1716
+ this.style.strokeOpacity = value;
1717
+ }
1718
+ return this;
1677
1719
  }
1678
1720
  strokeWidth(value) {
1679
- if (value !== undefined && value !== null) {
1680
- this.style.strokeWidth = value;
1681
- }
1682
- return this;
1721
+ if (value !== undefined && value !== null) {
1722
+ this.style.strokeWidth = value;
1723
+ }
1724
+ return this;
1683
1725
  }
1684
1726
  tableLayout(value) {
1685
- if (value !== undefined && value !== null) {
1686
- this.style.tableLayout = value;
1687
- }
1688
- return this;
1727
+ if (value !== undefined && value !== null) {
1728
+ this.style.tableLayout = value;
1729
+ }
1730
+ return this;
1689
1731
  }
1690
1732
  textAlign(value) {
1691
- if (value !== undefined && value !== null) {
1692
- this.style.textAlign = value;
1693
- }
1694
- return this;
1733
+ if (value !== undefined && value !== null) {
1734
+ this.style.textAlign = value;
1735
+ }
1736
+ return this;
1695
1737
  }
1696
1738
  textAlignLast(value) {
1697
- if (value !== undefined && value !== null) {
1698
- this.style.textAlignLast = value;
1699
- }
1700
- return this;
1739
+ if (value !== undefined && value !== null) {
1740
+ this.style.textAlignLast = value;
1741
+ }
1742
+ return this;
1701
1743
  }
1702
1744
  textAnchor(value) {
1703
- if (value !== undefined && value !== null) {
1704
- this.style.textAnchor = value;
1705
- }
1706
- return this;
1745
+ if (value !== undefined && value !== null) {
1746
+ this.style.textAnchor = value;
1747
+ }
1748
+ return this;
1707
1749
  }
1708
1750
  textCombineUpright(value) {
1709
- if (value !== undefined && value !== null) {
1710
- this.style.textCombineUpright = value;
1711
- }
1712
- return this;
1751
+ if (value !== undefined && value !== null) {
1752
+ this.style.textCombineUpright = value;
1753
+ }
1754
+ return this;
1713
1755
  }
1714
1756
  textDecoration(value) {
1715
- if (value !== undefined && value !== null) {
1716
- this.style.textDecoration = value;
1717
- }
1718
- return this;
1757
+ if (value !== undefined && value !== null) {
1758
+ this.style.textDecoration = value;
1759
+ }
1760
+ return this;
1719
1761
  }
1720
1762
  textIndent(value) {
1721
- if (value !== undefined && value !== null) {
1722
- this.style.textIndent = value;
1723
- }
1724
- return this;
1763
+ if (value !== undefined && value !== null) {
1764
+ this.style.textIndent = value;
1765
+ }
1766
+ return this;
1725
1767
  }
1726
1768
  textJustify(value) {
1727
- if (value !== undefined && value !== null) {
1728
- this.style.textJustify = value;
1729
- }
1730
- return this;
1769
+ if (value !== undefined && value !== null) {
1770
+ this.style.textJustify = value;
1771
+ }
1772
+ return this;
1731
1773
  }
1732
1774
  textKashida(value) {
1733
- if (value !== undefined && value !== null) {
1734
- this.style.textKashida = value;
1735
- }
1736
- return this;
1775
+ if (value !== undefined && value !== null) {
1776
+ this.style.textKashida = value;
1777
+ }
1778
+ return this;
1737
1779
  }
1738
1780
  textKashidaSpace(value) {
1739
- if (value !== undefined && value !== null) {
1740
- this.style.textKashidaSpace = value;
1741
- }
1742
- return this;
1781
+ if (value !== undefined && value !== null) {
1782
+ this.style.textKashidaSpace = value;
1783
+ }
1784
+ return this;
1743
1785
  }
1744
1786
  textOverflow(value) {
1745
- if (value !== undefined && value !== null) {
1746
- this.style.textOverflow = value;
1747
- }
1748
- return this;
1787
+ if (value !== undefined && value !== null) {
1788
+ this.style.textOverflow = value;
1789
+ }
1790
+ return this;
1749
1791
  }
1750
1792
  textShadow(value) {
1751
- if (value !== undefined && value !== null) {
1752
- this.style.textShadow = value;
1753
- }
1754
- return this;
1793
+ if (value !== undefined && value !== null) {
1794
+ this.style.textShadow = value;
1795
+ }
1796
+ return this;
1755
1797
  }
1756
1798
  textTransform(value) {
1757
- if (value !== undefined && value !== null) {
1758
- this.style.textTransform = value;
1759
- }
1760
- return this;
1799
+ if (value !== undefined && value !== null) {
1800
+ this.style.textTransform = value;
1801
+ }
1802
+ return this;
1761
1803
  }
1762
1804
  textUnderlinePosition(value) {
1763
- if (value !== undefined && value !== null) {
1764
- this.style.textUnderlinePosition = value;
1765
- }
1766
- return this;
1805
+ if (value !== undefined && value !== null) {
1806
+ this.style.textUnderlinePosition = value;
1807
+ }
1808
+ return this;
1767
1809
  }
1768
1810
  top(value, unit = "px") {
1769
- if (value !== undefined && value !== null) {
1770
- this.style.top = toUnit(value, unit);
1771
- }
1772
- return this;
1811
+ if (value !== undefined && value !== null) {
1812
+ this.style.top = toUnit(value, unit);
1813
+ }
1814
+ return this;
1773
1815
  }
1774
1816
  touchAction(value) {
1775
- if (value !== undefined && value !== null) {
1776
- this.style.touchAction = value;
1777
- }
1778
- return this;
1817
+ if (value !== undefined && value !== null) {
1818
+ this.style.touchAction = value;
1819
+ }
1820
+ return this;
1779
1821
  }
1780
1822
  transform(value) {
1781
- if (value !== undefined && value !== null) {
1782
- this.style.transform = value;
1783
- }
1784
- return this;
1823
+ if (value !== undefined && value !== null) {
1824
+ this.style.transform = value;
1825
+ }
1826
+ return this;
1785
1827
  }
1786
1828
  transformOrigin(value) {
1787
- if (value !== undefined && value !== null) {
1788
- this.style.transformOrigin = value;
1789
- }
1790
- return this;
1829
+ if (value !== undefined && value !== null) {
1830
+ this.style.transformOrigin = value;
1831
+ }
1832
+ return this;
1791
1833
  }
1792
1834
  transformStyle(value) {
1793
- if (value !== undefined && value !== null) {
1794
- this.style.transformStyle = value;
1795
- }
1796
- return this;
1835
+ if (value !== undefined && value !== null) {
1836
+ this.style.transformStyle = value;
1837
+ }
1838
+ return this;
1797
1839
  }
1798
1840
  transition(value) {
1799
- if (value !== undefined && value !== null) {
1800
- this.style.transition = value;
1801
- }
1802
- return this;
1841
+ if (value !== undefined && value !== null) {
1842
+ this.style.transition = value;
1843
+ }
1844
+ return this;
1803
1845
  }
1804
1846
  transitionDelay(value) {
1805
- if (value !== undefined && value !== null) {
1806
- this.style.transitionDelay = value;
1807
- }
1808
- return this;
1847
+ if (value !== undefined && value !== null) {
1848
+ this.style.transitionDelay = value;
1849
+ }
1850
+ return this;
1809
1851
  }
1810
1852
  transitionDuration(value) {
1811
- if (value !== undefined && value !== null) {
1812
- this.style.transitionDuration = value;
1813
- }
1814
- return this;
1853
+ if (value !== undefined && value !== null) {
1854
+ this.style.transitionDuration = value;
1855
+ }
1856
+ return this;
1815
1857
  }
1816
1858
  transitionProperty(value) {
1817
- if (value !== undefined && value !== null) {
1818
- this.style.transitionProperty = value;
1819
- }
1820
- return this;
1859
+ if (value !== undefined && value !== null) {
1860
+ this.style.transitionProperty = value;
1861
+ }
1862
+ return this;
1821
1863
  }
1822
1864
  transitionTimingFunction(value) {
1823
- if (value !== undefined && value !== null) {
1824
- this.style.transitionTimingFunction = value;
1825
- }
1826
- return this;
1865
+ if (value !== undefined && value !== null) {
1866
+ this.style.transitionTimingFunction = value;
1867
+ }
1868
+ return this;
1827
1869
  }
1828
1870
  translate(value) {
1829
- if (value !== undefined && value !== null) {
1830
- this.style.translate = value;
1831
- }
1832
- return this;
1871
+ if (value !== undefined && value !== null) {
1872
+ this.style.translate = value;
1873
+ }
1874
+ return this;
1833
1875
  }
1834
1876
  unicodeBidi(value) {
1835
- if (value !== undefined && value !== null) {
1836
- this.style.unicodeBidi = value;
1837
- }
1838
- return this;
1877
+ if (value !== undefined && value !== null) {
1878
+ this.style.unicodeBidi = value;
1879
+ }
1880
+ return this;
1839
1881
  }
1840
1882
  userSelect(value) {
1841
- if (value !== undefined && value !== null) {
1842
- this.style.userSelect = value;
1843
- }
1844
- return this;
1883
+ if (value !== undefined && value !== null) {
1884
+ this.style.userSelect = value;
1885
+ }
1886
+ return this;
1845
1887
  }
1846
1888
  userDrag(value) {
1847
- if (value !== undefined && value !== null) {
1848
- this.style.userDrag = value;
1849
- }
1850
- return this;
1889
+ if (value !== undefined && value !== null) {
1890
+ this.style.userDrag = value;
1891
+ }
1892
+ return this;
1851
1893
  }
1852
1894
  verticalAlign(value) {
1853
- if (value !== undefined && value !== null) {
1854
- this.style.verticalAlign = value;
1855
- }
1856
- return this;
1895
+ if (value !== undefined && value !== null) {
1896
+ this.style.verticalAlign = value;
1897
+ }
1898
+ return this;
1857
1899
  }
1858
1900
  visibility(value) {
1859
- if (value !== undefined && value !== null) {
1860
- this.style.visibility = value;
1861
- }
1862
- return this;
1901
+ if (value !== undefined && value !== null) {
1902
+ this.style.visibility = value;
1903
+ }
1904
+ return this;
1863
1905
  }
1864
1906
  webkitAlignContent(value) {
1865
- if (value !== undefined && value !== null) {
1866
- this.style.webkitAlignContent = value;
1867
- }
1868
- return this;
1907
+ if (value !== undefined && value !== null) {
1908
+ this.style.webkitAlignContent = value;
1909
+ }
1910
+ return this;
1869
1911
  }
1870
1912
  webkitAlignItems(value) {
1871
- if (value !== undefined && value !== null) {
1872
- this.style.webkitAlignItems = value;
1873
- }
1874
- return this;
1913
+ if (value !== undefined && value !== null) {
1914
+ this.style.webkitAlignItems = value;
1915
+ }
1916
+ return this;
1875
1917
  }
1876
1918
  webkitAlignSelf(value) {
1877
- if (value !== undefined && value !== null) {
1878
- this.style.webkitAlignSelf = value;
1879
- }
1880
- return this;
1919
+ if (value !== undefined && value !== null) {
1920
+ this.style.webkitAlignSelf = value;
1921
+ }
1922
+ return this;
1881
1923
  }
1882
1924
  webkitAnimation(value) {
1883
- if (value !== undefined && value !== null) {
1884
- this.style.webkitAnimation = value;
1885
- }
1886
- return this;
1925
+ if (value !== undefined && value !== null) {
1926
+ this.style.webkitAnimation = value;
1927
+ }
1928
+ return this;
1887
1929
  }
1888
1930
  webkitAnimationDelay(value) {
1889
- if (value !== undefined && value !== null) {
1890
- this.style.webkitAnimationDelay = value;
1891
- }
1892
- return this;
1931
+ if (value !== undefined && value !== null) {
1932
+ this.style.webkitAnimationDelay = value;
1933
+ }
1934
+ return this;
1893
1935
  }
1894
1936
  webkitAnimationDirection(value) {
1895
- if (value !== undefined && value !== null) {
1896
- this.style.webkitAnimationDirection = value;
1897
- }
1898
- return this;
1937
+ if (value !== undefined && value !== null) {
1938
+ this.style.webkitAnimationDirection = value;
1939
+ }
1940
+ return this;
1899
1941
  }
1900
1942
  webkitAnimationDuration(value) {
1901
- if (value !== undefined && value !== null) {
1902
- this.style.webkitAnimationDuration = value;
1903
- }
1904
- return this;
1943
+ if (value !== undefined && value !== null) {
1944
+ this.style.webkitAnimationDuration = value;
1945
+ }
1946
+ return this;
1905
1947
  }
1906
1948
  webkitAnimationFillMode(value) {
1907
- if (value !== undefined && value !== null) {
1908
- this.style.webkitAnimationFillMode = value;
1909
- }
1910
- return this;
1949
+ if (value !== undefined && value !== null) {
1950
+ this.style.webkitAnimationFillMode = value;
1951
+ }
1952
+ return this;
1911
1953
  }
1912
1954
  webkitAnimationIterationCount(value) {
1913
- if (value !== undefined && value !== null) {
1914
- this.style.webkitAnimationIterationCount = value;
1915
- }
1916
- return this;
1955
+ if (value !== undefined && value !== null) {
1956
+ this.style.webkitAnimationIterationCount = value;
1957
+ }
1958
+ return this;
1917
1959
  }
1918
1960
  webkitAnimationName(value) {
1919
- if (value !== undefined && value !== null) {
1920
- this.style.webkitAnimationName = value;
1921
- }
1922
- return this;
1961
+ if (value !== undefined && value !== null) {
1962
+ this.style.webkitAnimationName = value;
1963
+ }
1964
+ return this;
1923
1965
  }
1924
1966
  webkitAnimationPlayState(value) {
1925
- if (value !== undefined && value !== null) {
1926
- this.style.webkitAnimationPlayState = value;
1927
- }
1928
- return this;
1967
+ if (value !== undefined && value !== null) {
1968
+ this.style.webkitAnimationPlayState = value;
1969
+ }
1970
+ return this;
1929
1971
  }
1930
1972
  webkitAnimationTimingFunction(value) {
1931
- if (value !== undefined && value !== null) {
1932
- this.style.webkitAnimationTimingFunction = value;
1933
- }
1934
- return this;
1973
+ if (value !== undefined && value !== null) {
1974
+ this.style.webkitAnimationTimingFunction = value;
1975
+ }
1976
+ return this;
1935
1977
  }
1936
1978
  webkitAppearance(value) {
1937
- if (value !== undefined && value !== null) {
1938
- this.style.webkitAppearance = value;
1939
- }
1940
- return this;
1979
+ if (value !== undefined && value !== null) {
1980
+ this.style.webkitAppearance = value;
1981
+ }
1982
+ return this;
1941
1983
  }
1942
1984
  webkitBackfaceVisibility(value) {
1943
- if (value !== undefined && value !== null) {
1944
- this.style.webkitBackfaceVisibility = value;
1945
- }
1946
- return this;
1985
+ if (value !== undefined && value !== null) {
1986
+ this.style.webkitBackfaceVisibility = value;
1987
+ }
1988
+ return this;
1947
1989
  }
1948
1990
  webkitBackgroundClip(value) {
1949
- if (value !== undefined && value !== null) {
1950
- this.style.webkitBackgroundClip = value;
1951
- }
1952
- return this;
1991
+ if (value !== undefined && value !== null) {
1992
+ this.style.webkitBackgroundClip = value;
1993
+ }
1994
+ return this;
1953
1995
  }
1954
1996
  webkitBackgroundOrigin(value) {
1955
- if (value !== undefined && value !== null) {
1956
- this.style.webkitBackgroundOrigin = value;
1957
- }
1958
- return this;
1997
+ if (value !== undefined && value !== null) {
1998
+ this.style.webkitBackgroundOrigin = value;
1999
+ }
2000
+ return this;
1959
2001
  }
1960
2002
  webkitBackgroundSize(value) {
1961
- if (value !== undefined && value !== null) {
1962
- this.style.webkitBackgroundSize = value;
1963
- }
1964
- return this;
2003
+ if (value !== undefined && value !== null) {
2004
+ this.style.webkitBackgroundSize = value;
2005
+ }
2006
+ return this;
1965
2007
  }
1966
2008
  webkitBorderBottomLeftRadius(value) {
1967
- if (value !== undefined && value !== null) {
1968
- this.style.webkitBorderBottomLeftRadius = value;
1969
- }
1970
- return this;
2009
+ if (value !== undefined && value !== null) {
2010
+ this.style.webkitBorderBottomLeftRadius = value;
2011
+ }
2012
+ return this;
1971
2013
  }
1972
2014
  webkitBorderBottomRightRadius(value) {
1973
- if (value !== undefined && value !== null) {
1974
- this.style.webkitBorderBottomRightRadius = value;
1975
- }
1976
- return this;
2015
+ if (value !== undefined && value !== null) {
2016
+ this.style.webkitBorderBottomRightRadius = value;
2017
+ }
2018
+ return this;
1977
2019
  }
1978
2020
  webkitBorderImage(value) {
1979
- if (value !== undefined && value !== null) {
1980
- this.style.webkitBorderImage = value;
1981
- }
1982
- return this;
2021
+ if (value !== undefined && value !== null) {
2022
+ this.style.webkitBorderImage = value;
2023
+ }
2024
+ return this;
1983
2025
  }
1984
2026
  webkitBorderRadius(value) {
1985
- if (value !== undefined && value !== null) {
1986
- this.style.webkitBorderRadius = value;
1987
- }
1988
- return this;
2027
+ if (value !== undefined && value !== null) {
2028
+ this.style.webkitBorderRadius = value;
2029
+ }
2030
+ return this;
1989
2031
  }
1990
2032
  webkitBorderTopLeftRadius(value) {
1991
- if (value !== undefined && value !== null) {
1992
- this.style.webkitBorderTopLeftRadius = value;
1993
- }
1994
- return this;
2033
+ if (value !== undefined && value !== null) {
2034
+ this.style.webkitBorderTopLeftRadius = value;
2035
+ }
2036
+ return this;
1995
2037
  }
1996
2038
  webkitBorderTopRightRadius(value) {
1997
- if (value !== undefined && value !== null) {
1998
- this.style.webkitBorderTopRightRadius = value;
1999
- }
2000
- return this;
2039
+ if (value !== undefined && value !== null) {
2040
+ this.style.webkitBorderTopRightRadius = value;
2041
+ }
2042
+ return this;
2001
2043
  }
2002
2044
  webkitBoxAlign(value) {
2003
- if (value !== undefined && value !== null) {
2004
- this.style.webkitBoxAlign = value;
2005
- }
2006
- return this;
2045
+ if (value !== undefined && value !== null) {
2046
+ this.style.webkitBoxAlign = value;
2047
+ }
2048
+ return this;
2007
2049
  }
2008
2050
  webkitBoxDirection(value) {
2009
- if (value !== undefined && value !== null) {
2010
- this.style.webkitBoxDirection = value;
2011
- }
2012
- return this;
2051
+ if (value !== undefined && value !== null) {
2052
+ this.style.webkitBoxDirection = value;
2053
+ }
2054
+ return this;
2013
2055
  }
2014
2056
  webkitBoxFlex(value) {
2015
- if (value !== undefined && value !== null) {
2016
- this.style.webkitBoxFlex = value;
2017
- }
2018
- return this;
2057
+ if (value !== undefined && value !== null) {
2058
+ this.style.webkitBoxFlex = value;
2059
+ }
2060
+ return this;
2019
2061
  }
2020
2062
  webkitBoxOrdinalGroup(value) {
2021
- if (value !== undefined && value !== null) {
2022
- this.style.webkitBoxOrdinalGroup = value;
2023
- }
2024
- return this;
2063
+ if (value !== undefined && value !== null) {
2064
+ this.style.webkitBoxOrdinalGroup = value;
2065
+ }
2066
+ return this;
2025
2067
  }
2026
2068
  webkitBoxOrient(value) {
2027
- if (value !== undefined && value !== null) {
2028
- this.style.webkitBoxOrient = value;
2029
- }
2030
- return this;
2069
+ if (value !== undefined && value !== null) {
2070
+ this.style.webkitBoxOrient = value;
2071
+ }
2072
+ return this;
2031
2073
  }
2032
2074
  webkitBoxPack(value) {
2033
- if (value !== undefined && value !== null) {
2034
- this.style.webkitBoxPack = value;
2035
- }
2036
- return this;
2075
+ if (value !== undefined && value !== null) {
2076
+ this.style.webkitBoxPack = value;
2077
+ }
2078
+ return this;
2037
2079
  }
2038
2080
  webkitBoxSizing(value) {
2039
- if (value !== undefined && value !== null) {
2040
- this.style.webkitBoxSizing = value;
2041
- }
2042
- return this;
2081
+ if (value !== undefined && value !== null) {
2082
+ this.style.webkitBoxSizing = value;
2083
+ }
2084
+ return this;
2043
2085
  }
2044
2086
  webkitColumnBreakAfter(value) {
2045
- if (value !== undefined && value !== null) {
2046
- this.style.webkitColumnBreakAfter = value;
2047
- }
2048
- return this;
2087
+ if (value !== undefined && value !== null) {
2088
+ this.style.webkitColumnBreakAfter = value;
2089
+ }
2090
+ return this;
2049
2091
  }
2050
2092
  webkitColumnBreakBefore(value) {
2051
- if (value !== undefined && value !== null) {
2052
- this.style.webkitColumnBreakBefore = value;
2053
- }
2054
- return this;
2093
+ if (value !== undefined && value !== null) {
2094
+ this.style.webkitColumnBreakBefore = value;
2095
+ }
2096
+ return this;
2055
2097
  }
2056
2098
  webkitColumnBreakInside(value) {
2057
- if (value !== undefined && value !== null) {
2058
- this.style.webkitColumnBreakInside = value;
2059
- }
2060
- return this;
2099
+ if (value !== undefined && value !== null) {
2100
+ this.style.webkitColumnBreakInside = value;
2101
+ }
2102
+ return this;
2061
2103
  }
2062
2104
  webkitColumnCount(value) {
2063
- if (value !== undefined && value !== null) {
2064
- this.style.webkitColumnCount = value;
2065
- }
2066
- return this;
2105
+ if (value !== undefined && value !== null) {
2106
+ this.style.webkitColumnCount = value;
2107
+ }
2108
+ return this;
2067
2109
  }
2068
2110
  webkitColumnGap(value) {
2069
- if (value !== undefined && value !== null) {
2070
- this.style.webkitColumnGap = value;
2071
- }
2072
- return this;
2111
+ if (value !== undefined && value !== null) {
2112
+ this.style.webkitColumnGap = value;
2113
+ }
2114
+ return this;
2073
2115
  }
2074
2116
  webkitColumnRule(value) {
2075
- if (value !== undefined && value !== null) {
2076
- this.style.webkitColumnRule = value;
2077
- }
2078
- return this;
2117
+ if (value !== undefined && value !== null) {
2118
+ this.style.webkitColumnRule = value;
2119
+ }
2120
+ return this;
2079
2121
  }
2080
2122
  webkitColumnRuleColor(value) {
2081
- if (value !== undefined && value !== null) {
2082
- this.style.webkitColumnRuleColor = value;
2083
- }
2084
- return this;
2123
+ if (value !== undefined && value !== null) {
2124
+ this.style.webkitColumnRuleColor = value;
2125
+ }
2126
+ return this;
2085
2127
  }
2086
2128
  webkitColumnRuleStyle(value) {
2087
- if (value !== undefined && value !== null) {
2088
- this.style.webkitColumnRuleStyle = value;
2089
- }
2090
- return this;
2129
+ if (value !== undefined && value !== null) {
2130
+ this.style.webkitColumnRuleStyle = value;
2131
+ }
2132
+ return this;
2091
2133
  }
2092
2134
  webkitColumnRuleWidth(value) {
2093
- if (value !== undefined && value !== null) {
2094
- this.style.webkitColumnRuleWidth = value;
2095
- }
2096
- return this;
2135
+ if (value !== undefined && value !== null) {
2136
+ this.style.webkitColumnRuleWidth = value;
2137
+ }
2138
+ return this;
2097
2139
  }
2098
2140
  webkitColumnSpan(value) {
2099
- if (value !== undefined && value !== null) {
2100
- this.style.webkitColumnSpan = value;
2101
- }
2102
- return this;
2141
+ if (value !== undefined && value !== null) {
2142
+ this.style.webkitColumnSpan = value;
2143
+ }
2144
+ return this;
2103
2145
  }
2104
2146
  webkitColumnWidth(value) {
2105
- if (value !== undefined && value !== null) {
2106
- this.style.webkitColumnWidth = value;
2107
- }
2108
- return this;
2147
+ if (value !== undefined && value !== null) {
2148
+ this.style.webkitColumnWidth = value;
2149
+ }
2150
+ return this;
2109
2151
  }
2110
2152
  webkitColumns(value) {
2111
- if (value !== undefined && value !== null) {
2112
- this.style.webkitColumns = value;
2113
- }
2114
- return this;
2153
+ if (value !== undefined && value !== null) {
2154
+ this.style.webkitColumns = value;
2155
+ }
2156
+ return this;
2115
2157
  }
2116
2158
  webkitFilter(value) {
2117
- if (value !== undefined && value !== null) {
2118
- this.style.webkitFilter = value;
2119
- }
2120
- return this;
2159
+ if (value !== undefined && value !== null) {
2160
+ this.style.webkitFilter = value;
2161
+ }
2162
+ return this;
2121
2163
  }
2122
2164
  webkitFlex(value) {
2123
- if (value !== undefined && value !== null) {
2124
- this.style.webkitFlex = value;
2125
- }
2126
- return this;
2165
+ if (value !== undefined && value !== null) {
2166
+ this.style.webkitFlex = value;
2167
+ }
2168
+ return this;
2127
2169
  }
2128
2170
  webkitFlexBasis(value) {
2129
- if (value !== undefined && value !== null) {
2130
- this.style.webkitFlexBasis = value;
2131
- }
2132
- return this;
2171
+ if (value !== undefined && value !== null) {
2172
+ this.style.webkitFlexBasis = value;
2173
+ }
2174
+ return this;
2133
2175
  }
2134
2176
  webkitFlexDirection(value) {
2135
- if (value !== undefined && value !== null) {
2136
- this.style.webkitFlexDirection = value;
2137
- }
2138
- return this;
2177
+ if (value !== undefined && value !== null) {
2178
+ this.style.webkitFlexDirection = value;
2179
+ }
2180
+ return this;
2139
2181
  }
2140
2182
  webkitFlexFlow(value) {
2141
- if (value !== undefined && value !== null) {
2142
- this.style.webkitFlexFlow = value;
2143
- }
2144
- return this;
2183
+ if (value !== undefined && value !== null) {
2184
+ this.style.webkitFlexFlow = value;
2185
+ }
2186
+ return this;
2145
2187
  }
2146
2188
  webkitFlexGrow(value) {
2147
- if (value !== undefined && value !== null) {
2148
- this.style.webkitFlexGrow = value;
2149
- }
2150
- return this;
2189
+ if (value !== undefined && value !== null) {
2190
+ this.style.webkitFlexGrow = value;
2191
+ }
2192
+ return this;
2151
2193
  }
2152
2194
  webkitFlexShrink(value) {
2153
- if (value !== undefined && value !== null) {
2154
- this.style.webkitFlexShrink = value;
2155
- }
2156
- return this;
2195
+ if (value !== undefined && value !== null) {
2196
+ this.style.webkitFlexShrink = value;
2197
+ }
2198
+ return this;
2157
2199
  }
2158
2200
  webkitFlexWrap(value) {
2159
- if (value !== undefined && value !== null) {
2160
- this.style.webkitFlexWrap = value;
2161
- }
2162
- return this;
2201
+ if (value !== undefined && value !== null) {
2202
+ this.style.webkitFlexWrap = value;
2203
+ }
2204
+ return this;
2163
2205
  }
2164
2206
  webkitJustifyContent(value) {
2165
- if (value !== undefined && value !== null) {
2166
- this.style.webkitJustifyContent = value;
2167
- }
2168
- return this;
2207
+ if (value !== undefined && value !== null) {
2208
+ this.style.webkitJustifyContent = value;
2209
+ }
2210
+ return this;
2169
2211
  }
2170
2212
  webkitOrder(value) {
2171
- if (value !== undefined && value !== null) {
2172
- this.style.webkitOrder = value;
2173
- }
2174
- return this;
2213
+ if (value !== undefined && value !== null) {
2214
+ this.style.webkitOrder = value;
2215
+ }
2216
+ return this;
2175
2217
  }
2176
2218
  webkitPerspective(value) {
2177
- if (value !== undefined && value !== null) {
2178
- this.style.webkitPerspective = value;
2179
- }
2180
- return this;
2219
+ if (value !== undefined && value !== null) {
2220
+ this.style.webkitPerspective = value;
2221
+ }
2222
+ return this;
2181
2223
  }
2182
2224
  webkitPerspectiveOrigin(value) {
2183
- if (value !== undefined && value !== null) {
2184
- this.style.webkitPerspectiveOrigin = value;
2185
- }
2186
- return this;
2225
+ if (value !== undefined && value !== null) {
2226
+ this.style.webkitPerspectiveOrigin = value;
2227
+ }
2228
+ return this;
2187
2229
  }
2188
2230
  webkitTapHighlightColor(value) {
2189
- if (value !== undefined && value !== null) {
2190
- this.style.webkitTapHighlightColor = value;
2191
- }
2192
- return this;
2231
+ if (value !== undefined && value !== null) {
2232
+ this.style.webkitTapHighlightColor = value;
2233
+ }
2234
+ return this;
2193
2235
  }
2194
2236
  webkitTextFillColor(value) {
2195
- if (value !== undefined && value !== null) {
2196
- this.style.webkitTextFillColor = value;
2197
- }
2198
- return this;
2237
+ if (value !== undefined && value !== null) {
2238
+ this.style.webkitTextFillColor = value;
2239
+ }
2240
+ return this;
2199
2241
  }
2200
2242
  webkitTextSizeAdjust(value) {
2201
- if (value !== undefined && value !== null) {
2202
- this.style.webkitTextSizeAdjust = value;
2203
- }
2204
- return this;
2243
+ if (value !== undefined && value !== null) {
2244
+ this.style.webkitTextSizeAdjust = value;
2245
+ }
2246
+ return this;
2205
2247
  }
2206
2248
  webkitTextStroke(value) {
2207
- if (value !== undefined && value !== null) {
2208
- this.style.webkitTextStroke = value;
2209
- }
2210
- return this;
2249
+ if (value !== undefined && value !== null) {
2250
+ this.style.webkitTextStroke = value;
2251
+ }
2252
+ return this;
2211
2253
  }
2212
2254
  webkitTextStrokeColor(value) {
2213
- if (value !== undefined && value !== null) {
2214
- this.style.webkitTextStrokeColor = value;
2215
- }
2216
- return this;
2255
+ if (value !== undefined && value !== null) {
2256
+ this.style.webkitTextStrokeColor = value;
2257
+ }
2258
+ return this;
2217
2259
  }
2218
2260
  webkitTextStrokeWidth(value) {
2219
- if (value !== undefined && value !== null) {
2220
- this.style.webkitTextStrokeWidth = value;
2221
- }
2222
- return this;
2261
+ if (value !== undefined && value !== null) {
2262
+ this.style.webkitTextStrokeWidth = value;
2263
+ }
2264
+ return this;
2223
2265
  }
2224
2266
  webkitTransform(value) {
2225
- if (value !== undefined && value !== null) {
2226
- this.style.webkitTransform = value;
2227
- }
2228
- return this;
2267
+ if (value !== undefined && value !== null) {
2268
+ this.style.webkitTransform = value;
2269
+ }
2270
+ return this;
2229
2271
  }
2230
2272
  webkitTransformOrigin(value) {
2231
- if (value !== undefined && value !== null) {
2232
- this.style.webkitTransformOrigin = value;
2233
- }
2234
- return this;
2273
+ if (value !== undefined && value !== null) {
2274
+ this.style.webkitTransformOrigin = value;
2275
+ }
2276
+ return this;
2235
2277
  }
2236
2278
  webkitTransformStyle(value) {
2237
- if (value !== undefined && value !== null) {
2238
- this.style.webkitTransformStyle = value;
2239
- }
2240
- return this;
2279
+ if (value !== undefined && value !== null) {
2280
+ this.style.webkitTransformStyle = value;
2281
+ }
2282
+ return this;
2241
2283
  }
2242
2284
  webkitTransition(value) {
2243
- if (value !== undefined && value !== null) {
2244
- this.style.webkitTransition = value;
2245
- }
2246
- return this;
2285
+ if (value !== undefined && value !== null) {
2286
+ this.style.webkitTransition = value;
2287
+ }
2288
+ return this;
2247
2289
  }
2248
2290
  webkitTransitionDelay(value) {
2249
- if (value !== undefined && value !== null) {
2250
- this.style.webkitTransitionDelay = value;
2251
- }
2252
- return this;
2291
+ if (value !== undefined && value !== null) {
2292
+ this.style.webkitTransitionDelay = value;
2293
+ }
2294
+ return this;
2253
2295
  }
2254
2296
  webkitTransitionDuration(value) {
2255
- if (value !== undefined && value !== null) {
2256
- this.style.webkitTransitionDuration = value;
2257
- }
2258
- return this;
2297
+ if (value !== undefined && value !== null) {
2298
+ this.style.webkitTransitionDuration = value;
2299
+ }
2300
+ return this;
2259
2301
  }
2260
2302
  webkitTransitionProperty(value) {
2261
- if (value !== undefined && value !== null) {
2262
- this.style.webkitTransitionProperty = value;
2263
- }
2264
- return this;
2303
+ if (value !== undefined && value !== null) {
2304
+ this.style.webkitTransitionProperty = value;
2305
+ }
2306
+ return this;
2265
2307
  }
2266
2308
  webkitTransitionTimingFunction(value) {
2267
- if (value !== undefined && value !== null) {
2268
- this.style.webkitTransitionTimingFunction = value;
2269
- }
2270
- return this;
2309
+ if (value !== undefined && value !== null) {
2310
+ this.style.webkitTransitionTimingFunction = value;
2311
+ }
2312
+ return this;
2271
2313
  }
2272
2314
  webkitUserModify(value) {
2273
- if (value !== undefined && value !== null) {
2274
- this.style.webkitUserModify = value;
2275
- }
2276
- return this;
2315
+ if (value !== undefined && value !== null) {
2316
+ this.style.webkitUserModify = value;
2317
+ }
2318
+ return this;
2277
2319
  }
2278
2320
  webkitUserSelect(value) {
2279
- if (value !== undefined && value !== null) {
2280
- this.style.webkitUserSelect = value;
2281
- }
2282
- return this;
2321
+ if (value !== undefined && value !== null) {
2322
+ this.style.webkitUserSelect = value;
2323
+ }
2324
+ return this;
2283
2325
  }
2284
2326
  webkitUserDrag(value) {
2285
- if (value !== undefined && value !== null) {
2286
- this.style.webkitUserDrag = value;
2287
- }
2288
- return this;
2327
+ if (value !== undefined && value !== null) {
2328
+ this.style.webkitUserDrag = value;
2329
+ }
2330
+ return this;
2289
2331
  }
2290
2332
  webkitWritingMode(value) {
2291
- if (value !== undefined && value !== null) {
2292
- this.style.webkitWritingMode = value;
2293
- }
2294
- return this;
2333
+ if (value !== undefined && value !== null) {
2334
+ this.style.webkitWritingMode = value;
2335
+ }
2336
+ return this;
2295
2337
  }
2296
2338
  whiteSpace(value) {
2297
- if (value !== undefined && value !== null) {
2298
- this.style.whiteSpace = value;
2299
- }
2300
- return this;
2339
+ if (value !== undefined && value !== null) {
2340
+ this.style.whiteSpace = value;
2341
+ }
2342
+ return this;
2301
2343
  }
2302
2344
  widows(value) {
2303
- if (value !== undefined && value !== null) {
2304
- this.style.widows = value;
2305
- }
2306
- return this;
2345
+ if (value !== undefined && value !== null) {
2346
+ this.style.widows = value;
2347
+ }
2348
+ return this;
2307
2349
  }
2308
2350
  width(value, unit = "px") {
2309
- if (value !== undefined && value !== null) {
2310
- this.style.width = toUnit(value, unit);
2311
- }
2312
- return this;
2351
+ if (value !== undefined && value !== null) {
2352
+ this.style.width = toUnit(value, unit);
2353
+ }
2354
+ return this;
2313
2355
  }
2314
2356
  wordBreak(value) {
2315
- if (value !== undefined && value !== null) {
2316
- this.style.wordBreak = value;
2317
- }
2318
- return this;
2357
+ if (value !== undefined && value !== null) {
2358
+ this.style.wordBreak = value;
2359
+ }
2360
+ return this;
2319
2361
  }
2320
2362
  wordSpacing(value) {
2321
- if (value !== undefined && value !== null) {
2322
- this.style.wordSpacing = value;
2323
- }
2324
- return this;
2363
+ if (value !== undefined && value !== null) {
2364
+ this.style.wordSpacing = value;
2365
+ }
2366
+ return this;
2325
2367
  }
2326
2368
  wordWrap(value) {
2327
- if (value !== undefined && value !== null) {
2328
- this.style.wordWrap = value;
2329
- }
2330
- return this;
2369
+ if (value !== undefined && value !== null) {
2370
+ this.style.wordWrap = value;
2371
+ }
2372
+ return this;
2331
2373
  }
2332
2374
  writingMode(value) {
2333
- if (value !== undefined && value !== null) {
2334
- this.style.writingMode = value;
2335
- }
2336
- return this;
2375
+ if (value !== undefined && value !== null) {
2376
+ this.style.writingMode = value;
2377
+ }
2378
+ return this;
2337
2379
  }
2338
2380
  zIndex(value) {
2339
- if (value !== undefined && value !== null) {
2340
- this.style.zIndex = value;
2341
- }
2342
- return this;
2381
+ if (value !== undefined && value !== null) {
2382
+ this.style.zIndex = value;
2383
+ }
2384
+ return this;
2343
2385
  }
2344
2386
  zoom(value) {
2345
- if (value !== undefined && value !== null) {
2346
- this.style.zoom = value;
2347
- }
2348
- return this;
2387
+ if (value !== undefined && value !== null) {
2388
+ this.style.zoom = value;
2389
+ }
2390
+ return this;
2349
2391
  }
2350
2392
  displayFlex() {
2351
- this.style.display = "flex";
2352
- return this;
2393
+ this.style.display = "flex";
2394
+ return this;
2353
2395
  }
2354
2396
  flexStretch() {
2355
- return this.flex("1 1 100%");
2397
+ return this.flex("1 1 100%");
2356
2398
  }
2357
2399
  roundBorderFull() {
2358
- this.style.borderRadius = "9999px";
2359
- return this;
2400
+ this.style.borderRadius = "9999px";
2401
+ return this;
2360
2402
  }
2361
2403
  subclass(name, style) {
2362
- var _a;
2363
- var _b;
2364
- if (style instanceof AtomStyleRules) {
2365
- style = style.style;
2366
- }
2367
- const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : (_b.subclasses = {});
2368
- sc[name] = style;
2369
- return this;
2404
+ var _a;
2405
+ var _b;
2406
+ if (style instanceof AtomStyleRules) {
2407
+ style = style.style;
2408
+ }
2409
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
2410
+ sc[name] = style;
2411
+ return this;
2370
2412
  }
2371
2413
  childSubclass(name, style) {
2372
- return this.subclass(" > " + name, style);
2414
+ return this.subclass(" > " + name, style);
2373
2415
  }
2374
2416
  subclasses(...styles) {
2375
- var _a;
2376
- var _b;
2377
- const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : (_b.subclasses = {});
2378
- for (const iterator of styles) {
2379
- sc[iterator.name] = iterator.style;
2380
- }
2381
- return this;
2417
+ var _a;
2418
+ var _b;
2419
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
2420
+ for (const iterator of styles) {
2421
+ sc[iterator.name] = iterator.style;
2422
+ }
2423
+ return this;
2382
2424
  }
2383
- /**
2384
- * Creates rule for immediate child like `this > child`
2385
- * @param styles children
2386
- * @returns this
2387
- */
2388
2425
  childSubclasses(...styles) {
2389
- var _a;
2390
- var _b;
2391
- const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : (_b.subclasses = {});
2392
- for (const iterator of styles) {
2393
- sc[" > " + iterator.name] = iterator.style;
2394
- }
2395
- return this;
2426
+ var _a;
2427
+ var _b;
2428
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
2429
+ for (const iterator of styles) {
2430
+ sc[" > " + iterator.name] = iterator.style;
2431
+ }
2432
+ return this;
2396
2433
  }
2397
2434
  roundBox(bgColor, padding = 5, radius = 5, unit = "px") {
2398
- this.style.padding = toUnit(padding, unit);
2399
- this.style.borderRadius = toUnit(radius, unit);
2400
- this.style.borderColor = bgColor;
2401
- this.style.backgroundColor = bgColor;
2402
- return this;
2435
+ this.style.padding = toUnit(padding, unit);
2436
+ this.style.borderRadius = toUnit(radius, unit);
2437
+ this.style.borderColor = bgColor;
2438
+ this.style.backgroundColor = bgColor;
2439
+ return this;
2403
2440
  }
2404
2441
  maximizeAbsolute() {
2405
- this.style.position = "absolute";
2406
- this.style.left = 0;
2407
- this.style.top = 0;
2408
- this.style.bottom = 0;
2409
- this.style.right = 0;
2410
- return this;
2411
- }
2412
- setRect(position, { top, left, right, bottom, width, height } = {}, unit = "px") {
2413
- this.style.position = position;
2414
- if (typeof top !== "undefined") {
2415
- this.style.top = toUnit(top, unit);
2416
- }
2417
- if (typeof left !== "undefined") {
2418
- this.style.left = toUnit(left, unit);
2419
- }
2420
- if (typeof width !== "undefined") {
2421
- this.style.width = toUnit(width, unit);
2422
- }
2423
- if (typeof height !== "undefined") {
2424
- this.style.height = toUnit(height, unit);
2425
- }
2426
- if (typeof right !== "undefined") {
2427
- this.style.right = toUnit(right, unit);
2428
- }
2429
- if (typeof bottom !== "undefined") {
2430
- this.style.bottom = toUnit(bottom, unit);
2431
- }
2432
- return this;
2442
+ this.style.position = "absolute";
2443
+ this.style.left = 0;
2444
+ this.style.top = 0;
2445
+ this.style.bottom = 0;
2446
+ this.style.right = 0;
2447
+ return this;
2448
+ }
2449
+ setRect(position, {
2450
+ top,
2451
+ left,
2452
+ right,
2453
+ bottom,
2454
+ width,
2455
+ height
2456
+ } = {}, unit = "px") {
2457
+ this.style.position = position;
2458
+ if (typeof top !== "undefined") {
2459
+ this.style.top = toUnit(top, unit);
2460
+ }
2461
+ if (typeof left !== "undefined") {
2462
+ this.style.left = toUnit(left, unit);
2463
+ }
2464
+ if (typeof width !== "undefined") {
2465
+ this.style.width = toUnit(width, unit);
2466
+ }
2467
+ if (typeof height !== "undefined") {
2468
+ this.style.height = toUnit(height, unit);
2469
+ }
2470
+ if (typeof right !== "undefined") {
2471
+ this.style.right = toUnit(right, unit);
2472
+ }
2473
+ if (typeof bottom !== "undefined") {
2474
+ this.style.bottom = toUnit(bottom, unit);
2475
+ }
2476
+ return this;
2433
2477
  }
2434
2478
  absolutePosition(rect = {}, unit = "px") {
2435
- return this.setRect("absolute", rect, unit);
2479
+ return this.setRect("absolute", rect, unit);
2436
2480
  }
2437
2481
  relativePosition(rect = {}, unit = "px") {
2438
- return this.setRect("relative", rect, unit);
2482
+ return this.setRect("relative", rect, unit);
2439
2483
  }
2440
2484
  absoluteDockTop(height, unit = "px") {
2441
- this.style.position = "absolute";
2442
- this.style.left = 0;
2443
- this.style.top = 0;
2444
- this.style.right = 0;
2445
- this.style.height = toUnit(height, unit);
2446
- return this;
2485
+ this.style.position = "absolute";
2486
+ this.style.left = 0;
2487
+ this.style.top = 0;
2488
+ this.style.right = 0;
2489
+ this.style.height = toUnit(height, unit);
2490
+ return this;
2447
2491
  }
2448
2492
  absoluteDockBottom(top, unit = "px") {
2449
- this.style.position = "absolute";
2450
- this.style.left = 0;
2451
- this.style.bottom = 0;
2452
- this.style.right = 0;
2453
- this.style.top = toUnit(top, unit);
2454
- return this;
2493
+ this.style.position = "absolute";
2494
+ this.style.left = 0;
2495
+ this.style.bottom = 0;
2496
+ this.style.right = 0;
2497
+ this.style.top = toUnit(top, unit);
2498
+ return this;
2455
2499
  }
2456
2500
  defaultBoxShadow() {
2457
- this.style.boxShadow = "rgba(50, 50, 105, 0.07) 0px 2px 5px 0px, rgba(0, 0, 0, 0.03) 0px 1px 1px 0px;";
2458
- this.style.border = "solid 1px rgba(0, 0, 0, 0.05)";
2459
- return this;
2501
+ this.style.boxShadow = "rgba(50, 50, 105, 0.07) 0px 2px 5px 0px, rgba(0, 0, 0, 0.03) 0px 1px 1px 0px;";
2502
+ this.style.border = "solid 1px rgba(0, 0, 0, 0.05)";
2503
+ return this;
2460
2504
  }
2461
2505
  textEllipsis() {
2462
- this.style.overflow = "hidden";
2463
- this.style.whiteSpace = "nowrap";
2464
- this.style.textOverflow = "ellipsis";
2465
- return this;
2506
+ this.style.overflow = "hidden";
2507
+ this.style.whiteSpace = "nowrap";
2508
+ this.style.textOverflow = "ellipsis";
2509
+ return this;
2466
2510
  }
2467
2511
  hover(style) {
2468
- var _a;
2469
- var _b;
2470
- const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : (_b.subclasses = {});
2471
- sc[":hover"] = Object.assign(Object.assign({}, sc[":hover"]), style.style);
2472
- return this;
2512
+ var _a;
2513
+ var _b;
2514
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
2515
+ sc[":hover"] = Object.assign(Object.assign({}, sc[":hover"]), style.style);
2516
+ return this;
2473
2517
  }
2474
2518
  focus(style) {
2475
- var _a;
2476
- var _b;
2477
- const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : (_b.subclasses = {});
2478
- sc[":focus"] = Object.assign(Object.assign({}, sc[":focus"]), style.style);
2479
- return this;
2519
+ var _a;
2520
+ var _b;
2521
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
2522
+ sc[":focus"] = Object.assign(Object.assign({}, sc[":focus"]), style.style);
2523
+ return this;
2480
2524
  }
2481
2525
  hoverBackgroundColor(color) {
2482
- var _a, _b;
2483
- var _c;
2484
- const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : (_c.subclasses = {});
2485
- const hover = (_b = sc[":hover"]) !== null && _b !== void 0 ? _b : (sc[":hover"] = {});
2486
- hover.backgroundColor = color;
2487
- return this;
2526
+ var _a, _b;
2527
+ var _c;
2528
+ const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
2529
+ const hover = (_b = sc[":hover"]) !== null && _b !== void 0 ? _b : sc[":hover"] = {};
2530
+ hover.backgroundColor = color;
2531
+ return this;
2488
2532
  }
2489
2533
  hoverColor(color) {
2490
- var _a, _b;
2491
- var _c;
2492
- const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : (_c.subclasses = {});
2493
- const hover = (_b = sc[":hover"]) !== null && _b !== void 0 ? _b : (sc[":hover"] = {});
2494
- hover.color = color;
2495
- return this;
2534
+ var _a, _b;
2535
+ var _c;
2536
+ const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
2537
+ const hover = (_b = sc[":hover"]) !== null && _b !== void 0 ? _b : sc[":hover"] = {};
2538
+ hover.color = color;
2539
+ return this;
2496
2540
  }
2497
2541
  and(...styles) {
2498
- var _a;
2499
- var _b;
2500
- const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : (_b.subclasses = {});
2501
- for (const style of styles) {
2502
- sc[style.name] = style.style;
2503
- }
2504
- return this;
2542
+ var _a;
2543
+ var _b;
2544
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
2545
+ for (const style of styles) {
2546
+ sc[style.name] = style.style;
2547
+ }
2548
+ return this;
2505
2549
  }
2506
2550
  nested(...styles) {
2507
- var _a;
2508
- var _b;
2509
- const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : (_b.subclasses = {});
2510
- for (const style of styles) {
2511
- sc[" " + style.name] = style.style;
2512
- }
2513
- return this;
2551
+ var _a;
2552
+ var _b;
2553
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
2554
+ for (const style of styles) {
2555
+ sc[" " + style.name] = style.style;
2556
+ }
2557
+ return this;
2514
2558
  }
2515
2559
  child(...styles) {
2516
- var _a;
2517
- var _b;
2518
- const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : (_b.subclasses = {});
2519
- for (const style of styles) {
2520
- sc[" > " + style.name] = style.style;
2521
- }
2522
- return this;
2560
+ var _a;
2561
+ var _b;
2562
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
2563
+ for (const style of styles) {
2564
+ sc[" > " + style.name] = style.style;
2565
+ }
2566
+ return this;
2523
2567
  }
2524
2568
  merge(...styles) {
2525
- for (const { style } of styles) {
2526
- for (const key in style) {
2527
- if (Object.prototype.hasOwnProperty.call(style, key)) {
2528
- const element = style[key];
2529
- this.style[key] = element;
2530
- }
2531
- }
2532
- }
2533
- return this;
2569
+ for (const {
2570
+ style
2571
+ } of styles) {
2572
+ for (const key in style) {
2573
+ if (Object.prototype.hasOwnProperty.call(style, key)) {
2574
+ const element = style[key];
2575
+ this.style[key] = element;
2576
+ }
2577
+ }
2578
+ }
2579
+ return this;
2534
2580
  }
2535
2581
  toStyleSheet() {
2536
- const list = createStyleText(this.name, [], this.style);
2537
- return list.join("\n");
2538
- }
2539
- /**
2540
- * @deprecated Please use `displayNone(":not(XX) > A.XX")` format
2541
- * @param showSelector showSelector
2542
- * @param hideSelector hideSelector
2543
- * @returns AtomStyleRule
2544
- */
2582
+ const list = createStyleText(this.name, [], this.style);
2583
+ return list.join("\n");
2584
+ }
2545
2585
  toggle(showSelector, hideSelector) {
2546
- var _a, _b, _c;
2547
- var _d;
2548
- const sc = (_a = (_d = this.style).subclasses) !== null && _a !== void 0 ? _a : (_d.subclasses = {});
2549
- const h = (_b = sc[hideSelector]) !== null && _b !== void 0 ? _b : (sc[hideSelector] = {});
2550
- const d = (_c = sc[showSelector]) !== null && _c !== void 0 ? _c : (sc[showSelector] = {});
2551
- d.display = "inherit";
2552
- h.display = "none";
2553
- return this;
2586
+ var _a, _b, _c;
2587
+ var _d;
2588
+ const sc = (_a = (_d = this.style).subclasses) !== null && _a !== void 0 ? _a : _d.subclasses = {};
2589
+ const h = (_b = sc[hideSelector]) !== null && _b !== void 0 ? _b : sc[hideSelector] = {};
2590
+ const d = (_c = sc[showSelector]) !== null && _c !== void 0 ? _c : sc[showSelector] = {};
2591
+ d.display = "inherit";
2592
+ h.display = "none";
2593
+ return this;
2554
2594
  }
2555
2595
  displayNone(...selectors) {
2556
- var _a, _b;
2557
- var _c;
2558
- const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : (_c.subclasses = {});
2559
- for (const iterator of selectors) {
2560
- const d = (_b = sc[iterator]) !== null && _b !== void 0 ? _b : (sc[iterator] = {});
2561
- d.display = "none";
2562
- }
2563
- return this;
2596
+ var _a, _b;
2597
+ var _c;
2598
+ const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
2599
+ for (const iterator of selectors) {
2600
+ const d = (_b = sc[iterator]) !== null && _b !== void 0 ? _b : sc[iterator] = {};
2601
+ d.display = "none";
2602
+ }
2603
+ return this;
2564
2604
  }
2565
- /**
2566
- * Creates vertical flex layout with 5px gap
2567
- * @param p defaults { direction: "column", alignItems: "center", justifyContent: "space-around" }
2568
- * @param units px
2569
- */
2570
2605
  verticalFlexLayout(a = {}, units = "px") {
2571
- var _a;
2572
- (_a = a.direction) !== null && _a !== void 0 ? _a : (a.direction = "column");
2573
- return this.flexLayout(a, units);
2574
- }
2575
- /**
2576
- * Creates flex layout with 5px gap
2577
- * @param p defaults { direction: "row", alignItems: "center", justifyContent: "space-around" }
2578
- * @param units px
2579
- */
2580
- flexLayout({ direction = "row", alignItems = "center", justifyContent = "space-around", stretch, inline, gap = 4 } = {}, units = "px") {
2581
- if (direction !== void 0) {
2582
- this.style.flexDirection = direction;
2583
- }
2584
- if (alignItems !== void 0) {
2585
- this.style.alignItems = alignItems;
2586
- }
2587
- if (justifyContent !== void 0) {
2588
- this.style.justifyContent = justifyContent;
2589
- }
2590
- if (stretch) {
2591
- this.style.flex = "1 1 100%";
2592
- }
2593
- if (gap) {
2594
- this.style.gap = toUnit(gap, units);
2595
- }
2596
- this.style.display = inline ? "inline-flex" : "flex";
2597
- return this;
2606
+ var _a;
2607
+ (_a = a.direction) !== null && _a !== void 0 ? _a : a.direction = "column";
2608
+ return this.flexLayout(a, units);
2609
+ }
2610
+ flexLayout({
2611
+ direction = "row",
2612
+ alignItems = "center",
2613
+ justifyContent = "space-around",
2614
+ stretch,
2615
+ inline,
2616
+ gap = 4
2617
+ } = {}, units = "px") {
2618
+ if (direction !== void 0) {
2619
+ this.style.flexDirection = direction;
2620
+ }
2621
+ if (alignItems !== void 0) {
2622
+ this.style.alignItems = alignItems;
2623
+ }
2624
+ if (justifyContent !== void 0) {
2625
+ this.style.justifyContent = justifyContent;
2626
+ }
2627
+ if (stretch) {
2628
+ this.style.flex = "1 1 100%";
2629
+ }
2630
+ if (gap) {
2631
+ this.style.gap = toUnit(gap, units);
2632
+ }
2633
+ this.style.display = inline ? "inline-flex" : "flex";
2634
+ return this;
2598
2635
  }
2599
2636
  toString() {
2600
- const list = [];
2601
- if (this.style) {
2602
- for (const key in this.style) {
2603
- if (Object.prototype.hasOwnProperty.call(this.style, key)) {
2604
- const element = this.style[key];
2605
- if (key === "subclasses") {
2606
- throw new Error("Single AtomStyleRule cannot contain subclasses");
2607
- }
2608
- if (key === "toString") {
2609
- continue;
2610
- }
2611
- if (!element) {
2612
- continue;
2613
- }
2614
- const name = fromCamelToHyphen(key);
2615
- if (element.url) {
2616
- list.push(`${name}: url(${element.url})`);
2617
- continue;
2618
- }
2619
- list.push(`${name}: ${element}`);
2620
- }
2621
- }
2622
- }
2623
- return list.join(";");
2624
- }
2625
- }
2626
- exports.AtomStyleRules = AtomStyleRules;
2627
- /**
2628
- * Creates new style rule
2629
- * @param selector [optional] name of child subclass
2630
- * @returns StyleRuleClass
2631
- */
2632
- function StyleRule(selector) {
2633
- return new AtomStyleRules(selector);
2634
- }
2635
- exports.default = StyleRule;
2636
- const styleId = 1;
2637
- function fromCamelToHyphen(input) {
2638
- return input.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
2639
- }
2640
- function createStyleText(name, pairs, styles) {
2641
- const styleList = [];
2642
- for (const key in styles) {
2643
- if (styles.hasOwnProperty(key)) {
2644
- if (/^(\_\$\_|className$|toString$)/i.test(key)) {
2645
- continue;
2637
+ const list = [];
2638
+ if (this.style) {
2639
+ for (const key in this.style) {
2640
+ if (Object.prototype.hasOwnProperty.call(this.style, key)) {
2641
+ const element = this.style[key];
2642
+ if (key === "subclasses") {
2643
+ throw new Error("Single AtomStyleRule cannot contain subclasses");
2646
2644
  }
2647
- const element = styles[key];
2648
- if (element === undefined || element === null) {
2649
- continue;
2645
+ if (key === "toString") {
2646
+ continue;
2650
2647
  }
2651
- const keyName = fromCamelToHyphen(key);
2652
- if (key === "subclasses") {
2653
- const n = name;
2654
- for (const subclassKey in element) {
2655
- if (element.hasOwnProperty(subclassKey)) {
2656
- const ve = element[subclassKey];
2657
- pairs = createStyleText(`${n}${subclassKey}`, pairs, ve);
2658
- }
2659
- }
2648
+ if (!element) {
2649
+ continue;
2660
2650
  }
2661
- else {
2662
- if (element.url) {
2663
- styleList.push(`${keyName}: url(${element})`);
2664
- }
2665
- else {
2666
- styleList.push(`${keyName}: ${element}`);
2667
- }
2651
+ const name = fromCamelToHyphen(key);
2652
+ if (element.url) {
2653
+ list.push(`${name}: url(${element.url})`);
2654
+ continue;
2668
2655
  }
2656
+ list.push(`${name}: ${element}`);
2657
+ }
2669
2658
  }
2659
+ }
2660
+ return list.join(";");
2670
2661
  }
2671
- if (!name) {
2672
- return [styleList.join(";")];
2673
- }
2674
- const cname = fromCamelToHyphen(name);
2675
- const styleClassName = `${cname}`;
2676
- if (styleList.length) {
2677
- pairs.push(`.${styleClassName} { ${styleList.join(";\r\n")}; }`);
2678
- }
2679
- return pairs;
2662
+ });
2663
+ _export("default", StyleRule);
2664
+ styleId = 1;
2680
2665
  }
2681
- });
2682
- //# sourceMappingURL=StyleRule.js.map
2666
+ };
2667
+ });
2668
+ //# sourceMappingURL=/home/runner/work/core/core/dist/style/StyleRule.js.map