@web-atoms/core 2.1.357 → 2.1.369

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 (294) hide show
  1. package/dist/App.sys.js +220 -0
  2. package/dist/App.sys.js.map +1 -0
  3. package/dist/Atom.sys.js +177 -0
  4. package/dist/Atom.sys.js.map +1 -0
  5. package/dist/MockApp.sys.js +45 -0
  6. package/dist/MockApp.sys.js.map +1 -0
  7. package/dist/Pack.sys.js +13 -0
  8. package/dist/Pack.sys.js.map +1 -0
  9. package/dist/core/AtomBinder.sys.js +274 -0
  10. package/dist/core/AtomBinder.sys.js.map +1 -0
  11. package/dist/core/AtomBridge.sys.js +390 -0
  12. package/dist/core/AtomBridge.sys.js.map +1 -0
  13. package/dist/core/AtomComponent.sys.js +703 -0
  14. package/dist/core/AtomComponent.sys.js.map +1 -0
  15. package/dist/core/AtomDispatcher.sys.js +77 -0
  16. package/dist/core/AtomDispatcher.sys.js.map +1 -0
  17. package/dist/core/AtomDisposableList.sys.js +46 -0
  18. package/dist/core/AtomDisposableList.sys.js.map +1 -0
  19. package/dist/core/AtomEnumerator.sys.js +34 -0
  20. package/dist/core/AtomEnumerator.sys.js.map +1 -0
  21. package/dist/core/AtomList.sys.js +238 -0
  22. package/dist/core/AtomList.sys.js.map +1 -0
  23. package/dist/core/AtomLoader.sys.js +178 -0
  24. package/dist/core/AtomLoader.sys.js.map +1 -0
  25. package/dist/core/AtomMap.sys.js +83 -0
  26. package/dist/core/AtomMap.sys.js.map +1 -0
  27. package/dist/core/AtomOnce.sys.js +42 -0
  28. package/dist/core/AtomOnce.sys.js.map +1 -0
  29. package/dist/core/AtomSelectableList.sys.js +336 -0
  30. package/dist/core/AtomSelectableList.sys.js.map +1 -0
  31. package/dist/core/AtomUri.sys.js +110 -0
  32. package/dist/core/AtomUri.sys.js.map +1 -0
  33. package/dist/core/AtomWatcher.sys.js +167 -0
  34. package/dist/core/AtomWatcher.sys.js.map +1 -0
  35. package/dist/core/Bind.sys.js +394 -0
  36. package/dist/core/Bind.sys.js.map +1 -0
  37. package/dist/core/BindableProperty.sys.js +51 -0
  38. package/dist/core/BindableProperty.sys.js.map +1 -0
  39. package/dist/core/CancelTokenFactory.sys.js +57 -0
  40. package/dist/core/CancelTokenFactory.sys.js.map +1 -0
  41. package/dist/core/Color.sys.js +9 -0
  42. package/dist/core/Color.sys.js.map +1 -0
  43. package/dist/core/Colors.sys.js +305 -0
  44. package/dist/core/Colors.sys.js.map +1 -0
  45. package/dist/core/Defer.sys.js +45 -0
  46. package/dist/core/Defer.sys.js.map +1 -0
  47. package/dist/core/ExpressionParser.sys.js +201 -0
  48. package/dist/core/ExpressionParser.sys.js.map +1 -0
  49. package/dist/core/FormattedError.sys.js +23 -0
  50. package/dist/core/FormattedError.sys.js.map +1 -0
  51. package/dist/core/FormattedString.sys.js +20 -0
  52. package/dist/core/FormattedString.sys.js.map +1 -0
  53. package/dist/core/IFetchEvent.sys.js +9 -0
  54. package/dist/core/IFetchEvent.sys.js.map +1 -0
  55. package/dist/core/IScreen.sys.js +9 -0
  56. package/dist/core/IScreen.sys.js.map +1 -0
  57. package/dist/core/IValueConverter.sys.js +9 -0
  58. package/dist/core/IValueConverter.sys.js.map +1 -0
  59. package/dist/core/InheritedProperty.sys.js +61 -0
  60. package/dist/core/InheritedProperty.sys.js.map +1 -0
  61. package/dist/core/InjectProperty.sys.js +25 -0
  62. package/dist/core/InjectProperty.sys.js.map +1 -0
  63. package/dist/core/KeyValuePairs.sys.js +9 -0
  64. package/dist/core/KeyValuePairs.sys.js.map +1 -0
  65. package/dist/core/Markdown.sys.js +37 -0
  66. package/dist/core/Markdown.sys.js.map +1 -0
  67. package/dist/core/MarkdownError.sys.js +26 -0
  68. package/dist/core/MarkdownError.sys.js.map +1 -0
  69. package/dist/core/PropertyBinding.sys.js +11 -0
  70. package/dist/core/PropertyBinding.sys.js.map +1 -0
  71. package/dist/core/PropertyMap.sys.js +53 -0
  72. package/dist/core/PropertyMap.sys.js.map +1 -0
  73. package/dist/core/SingleInvoker.sys.js +71 -0
  74. package/dist/core/SingleInvoker.sys.js.map +1 -0
  75. package/dist/core/StringHelper.sys.js +76 -0
  76. package/dist/core/StringHelper.sys.js.map +1 -0
  77. package/dist/core/TransientDisposable.sys.js +34 -0
  78. package/dist/core/TransientDisposable.sys.js.map +1 -0
  79. package/dist/core/WatchProperty.sys.js +37 -0
  80. package/dist/core/WatchProperty.sys.js.map +1 -0
  81. package/dist/core/WebImage.sys.js +24 -0
  82. package/dist/core/WebImage.sys.js.map +1 -0
  83. package/dist/core/XNode.sys.js +205 -0
  84. package/dist/core/XNode.sys.js.map +1 -0
  85. package/dist/core/sleep.sys.js +30 -0
  86. package/dist/core/sleep.sys.js.map +1 -0
  87. package/dist/core/types.sys.js +130 -0
  88. package/dist/core/types.sys.js.map +1 -0
  89. package/dist/di/DISingleton.sys.js +26 -0
  90. package/dist/di/DISingleton.sys.js.map +1 -0
  91. package/dist/di/DITransient.sys.js +26 -0
  92. package/dist/di/DITransient.sys.js.map +1 -0
  93. package/dist/di/IMockOrInject.sys.js +9 -0
  94. package/dist/di/IMockOrInject.sys.js.map +1 -0
  95. package/dist/di/IServiceProvider.sys.js +9 -0
  96. package/dist/di/IServiceProvider.sys.js.map +1 -0
  97. package/dist/di/Inject.sys.js +111 -0
  98. package/dist/di/Inject.sys.js.map +1 -0
  99. package/dist/di/Register.sys.js +64 -0
  100. package/dist/di/Register.sys.js.map +1 -0
  101. package/dist/di/RegisterScoped.sys.js +23 -0
  102. package/dist/di/RegisterScoped.sys.js.map +1 -0
  103. package/dist/di/RegisterSingleton.sys.js +23 -0
  104. package/dist/di/RegisterSingleton.sys.js.map +1 -0
  105. package/dist/di/ServiceCollection.sys.js +76 -0
  106. package/dist/di/ServiceCollection.sys.js.map +1 -0
  107. package/dist/di/ServiceProvider.sys.js +173 -0
  108. package/dist/di/ServiceProvider.sys.js.map +1 -0
  109. package/dist/di/TypeKey.sys.js +27 -0
  110. package/dist/di/TypeKey.sys.js.map +1 -0
  111. package/dist/services/BusyIndicatorService.sys.js +33 -0
  112. package/dist/services/BusyIndicatorService.sys.js.map +1 -0
  113. package/dist/services/CacheService.sys.js +145 -0
  114. package/dist/services/CacheService.sys.js.map +1 -0
  115. package/dist/services/JsonService.sys.js +181 -0
  116. package/dist/services/JsonService.sys.js.map +1 -0
  117. package/dist/services/MockNavigationService.sys.js +236 -0
  118. package/dist/services/MockNavigationService.sys.js.map +1 -0
  119. package/dist/services/NavigationService.sys.js +175 -0
  120. package/dist/services/NavigationService.sys.js.map +1 -0
  121. package/dist/services/ReferenceService.sys.js +68 -0
  122. package/dist/services/ReferenceService.sys.js.map +1 -0
  123. package/dist/services/http/AjaxOptions.sys.js +15 -0
  124. package/dist/services/http/AjaxOptions.sys.js.map +1 -0
  125. package/dist/services/http/JsonError.sys.js +27 -0
  126. package/dist/services/http/JsonError.sys.js.map +1 -0
  127. package/dist/services/http/RestService.sys.js +524 -0
  128. package/dist/services/http/RestService.sys.js.map +1 -0
  129. package/dist/style/StyleRule.sys.js +3550 -0
  130. package/dist/style/StyleRule.sys.js.map +1 -0
  131. package/dist/test.sys.js +9 -0
  132. package/dist/test.sys.js.map +1 -0
  133. package/dist/tsconfig.tsbuildinfo +1 -1
  134. package/dist/unit/AtomTest.sys.js +67 -0
  135. package/dist/unit/AtomTest.sys.js.map +1 -0
  136. package/dist/unit/AtomWebTest.sys.js +83 -0
  137. package/dist/unit/AtomWebTest.sys.js.map +1 -0
  138. package/dist/view-model/Action.sys.js +147 -0
  139. package/dist/view-model/Action.sys.js.map +1 -0
  140. package/dist/view-model/AtomViewModel.sys.js +435 -0
  141. package/dist/view-model/AtomViewModel.sys.js.map +1 -0
  142. package/dist/view-model/AtomWindowViewModel.sys.js +71 -0
  143. package/dist/view-model/AtomWindowViewModel.sys.js.map +1 -0
  144. package/dist/view-model/BindableUrlParameter.sys.js +28 -0
  145. package/dist/view-model/BindableUrlParameter.sys.js.map +1 -0
  146. package/dist/view-model/Delay.sys.js +41 -0
  147. package/dist/view-model/Delay.sys.js.map +1 -0
  148. package/dist/view-model/Disposable.sys.js +52 -0
  149. package/dist/view-model/Disposable.sys.js.map +1 -0
  150. package/dist/view-model/Load.sys.js +142 -0
  151. package/dist/view-model/Load.sys.js.map +1 -0
  152. package/dist/view-model/Once.sys.js +59 -0
  153. package/dist/view-model/Once.sys.js.map +1 -0
  154. package/dist/view-model/baseTypes.sys.js +17 -0
  155. package/dist/view-model/baseTypes.sys.js.map +1 -0
  156. package/dist/view-model/bindPromise.sys.js +45 -0
  157. package/dist/view-model/bindPromise.sys.js.map +1 -0
  158. package/dist/view-model/bindProperty.sys.js +20 -0
  159. package/dist/view-model/bindProperty.sys.js.map +1 -0
  160. package/dist/view-model/bindUrlParameter.sys.js +70 -0
  161. package/dist/view-model/bindUrlParameter.sys.js.map +1 -0
  162. package/dist/web/WebApp.sys.js +269 -0
  163. package/dist/web/WebApp.sys.js.map +1 -0
  164. package/dist/web/controls/AtomAlertWindow.sys.js +80 -0
  165. package/dist/web/controls/AtomAlertWindow.sys.js.map +1 -0
  166. package/dist/web/controls/AtomComboBox.sys.js +115 -0
  167. package/dist/web/controls/AtomComboBox.sys.js.map +1 -0
  168. package/dist/web/controls/AtomContentControl.sys.js +72 -0
  169. package/dist/web/controls/AtomContentControl.sys.js.map +1 -0
  170. package/dist/web/controls/AtomControl.sys.js +667 -0
  171. package/dist/web/controls/AtomControl.sys.js.map +1 -0
  172. package/dist/web/controls/AtomFrame.sys.js +305 -0
  173. package/dist/web/controls/AtomFrame.sys.js.map +1 -0
  174. package/dist/web/controls/AtomGridSplitter.sys.js +83 -0
  175. package/dist/web/controls/AtomGridSplitter.sys.js.map +1 -0
  176. package/dist/web/controls/AtomGridView.sys.js +301 -0
  177. package/dist/web/controls/AtomGridView.sys.js.map +1 -0
  178. package/dist/web/controls/AtomItemsControl.sys.js +869 -0
  179. package/dist/web/controls/AtomItemsControl.sys.js.map +1 -0
  180. package/dist/web/controls/AtomListBox.sys.js +72 -0
  181. package/dist/web/controls/AtomListBox.sys.js.map +1 -0
  182. package/dist/web/controls/AtomNotification.sys.js +79 -0
  183. package/dist/web/controls/AtomNotification.sys.js.map +1 -0
  184. package/dist/web/controls/AtomPage.sys.js +24 -0
  185. package/dist/web/controls/AtomPage.sys.js.map +1 -0
  186. package/dist/web/controls/AtomPageLink.sys.js +158 -0
  187. package/dist/web/controls/AtomPageLink.sys.js.map +1 -0
  188. package/dist/web/controls/AtomTabbedPage.sys.js +354 -0
  189. package/dist/web/controls/AtomTabbedPage.sys.js.map +1 -0
  190. package/dist/web/controls/AtomTemplate.sys.js +17 -0
  191. package/dist/web/controls/AtomTemplate.sys.js.map +1 -0
  192. package/dist/web/controls/AtomTemplateControl.sys.js +59 -0
  193. package/dist/web/controls/AtomTemplateControl.sys.js.map +1 -0
  194. package/dist/web/controls/AtomToggleButtonBar.sys.js +53 -0
  195. package/dist/web/controls/AtomToggleButtonBar.sys.js.map +1 -0
  196. package/dist/web/controls/AtomViewPager.sys.js +107 -0
  197. package/dist/web/controls/AtomViewPager.sys.js.map +1 -0
  198. package/dist/web/controls/AtomViewStack.sys.js +41 -0
  199. package/dist/web/controls/AtomViewStack.sys.js.map +1 -0
  200. package/dist/web/controls/AtomWindow.sys.js +285 -0
  201. package/dist/web/controls/AtomWindow.sys.js.map +1 -0
  202. package/dist/web/core/AtomUI.sys.js +189 -0
  203. package/dist/web/core/AtomUI.sys.js.map +1 -0
  204. package/dist/web/core/Encoder.sys.js +178 -0
  205. package/dist/web/core/Encoder.sys.js.map +1 -0
  206. package/dist/web/core/HtmlNode.sys.js +206 -0
  207. package/dist/web/core/HtmlNode.sys.js.map +1 -0
  208. package/dist/web/images/Busy.sys.js +14 -0
  209. package/dist/web/images/Busy.sys.js.map +1 -0
  210. package/dist/web/images/BusyDataUrl.sys.js +16 -0
  211. package/dist/web/images/BusyDataUrl.sys.js.map +1 -0
  212. package/dist/web/images/Button.sys.js +14 -0
  213. package/dist/web/images/Button.sys.js.map +1 -0
  214. package/dist/web/images/ButtonDataUrl.sys.js +16 -0
  215. package/dist/web/images/ButtonDataUrl.sys.js.map +1 -0
  216. package/dist/web/images/CloseButton.sys.js +14 -0
  217. package/dist/web/images/CloseButton.sys.js.map +1 -0
  218. package/dist/web/images/CloseButtonDataUrl.sys.js +16 -0
  219. package/dist/web/images/CloseButtonDataUrl.sys.js.map +1 -0
  220. package/dist/web/images/CloseButtonHover.sys.js +14 -0
  221. package/dist/web/images/CloseButtonHover.sys.js.map +1 -0
  222. package/dist/web/images/CloseButtonHoverDataUrl.sys.js +16 -0
  223. package/dist/web/images/CloseButtonHoverDataUrl.sys.js.map +1 -0
  224. package/dist/web/samples/MovieService.sys.js +73 -0
  225. package/dist/web/samples/MovieService.sys.js.map +1 -0
  226. package/dist/web/samples/demo/app.sys.js +30 -0
  227. package/dist/web/samples/demo/app.sys.js.map +1 -0
  228. package/dist/web/samples/demo/views/MovieList.sys.js +77 -0
  229. package/dist/web/samples/demo/views/MovieList.sys.js.map +1 -0
  230. package/dist/web/samples/demo/views/MovieListViewModel.sys.js +128 -0
  231. package/dist/web/samples/demo/views/MovieListViewModel.sys.js.map +1 -0
  232. package/dist/web/samples/tabs/app.sys.js +68 -0
  233. package/dist/web/samples/tabs/app.sys.js.map +1 -0
  234. package/dist/web/samples/tabs/views/List.sys.js +14 -0
  235. package/dist/web/samples/tabs/views/List.sys.js.map +1 -0
  236. package/dist/web/samples/tabs/views/ListDataUrl.sys.js +16 -0
  237. package/dist/web/samples/tabs/views/ListDataUrl.sys.js.map +1 -0
  238. package/dist/web/samples/tabs/views/Page1.sys.js +117 -0
  239. package/dist/web/samples/tabs/views/Page1.sys.js.map +1 -0
  240. package/dist/web/samples/tabs/views/TabHost.sys.js +103 -0
  241. package/dist/web/samples/tabs/views/TabHost.sys.js.map +1 -0
  242. package/dist/web/samples/window/WindowSample.sys.js +33 -0
  243. package/dist/web/samples/window/WindowSample.sys.js.map +1 -0
  244. package/dist/web/services/MarkdownService.sys.js +45 -0
  245. package/dist/web/services/MarkdownService.sys.js.map +1 -0
  246. package/dist/web/services/NotificationPopup.sys.js +44 -0
  247. package/dist/web/services/NotificationPopup.sys.js.map +1 -0
  248. package/dist/web/services/PopupService.sys.js +876 -0
  249. package/dist/web/services/PopupService.sys.js.map +1 -0
  250. package/dist/web/services/WebBusyIndicatorService.sys.js +95 -0
  251. package/dist/web/services/WebBusyIndicatorService.sys.js.map +1 -0
  252. package/dist/web/services/WindowService.sys.js +445 -0
  253. package/dist/web/services/WindowService.sys.js.map +1 -0
  254. package/dist/web/styles/AtomAlertWindowStyle.sys.js +59 -0
  255. package/dist/web/styles/AtomAlertWindowStyle.sys.js.map +1 -0
  256. package/dist/web/styles/AtomFrameStyle.sys.js +33 -0
  257. package/dist/web/styles/AtomFrameStyle.sys.js.map +1 -0
  258. package/dist/web/styles/AtomListBoxStyle.sys.js +49 -0
  259. package/dist/web/styles/AtomListBoxStyle.sys.js.map +1 -0
  260. package/dist/web/styles/AtomNotificationStyle.sys.js +39 -0
  261. package/dist/web/styles/AtomNotificationStyle.sys.js.map +1 -0
  262. package/dist/web/styles/AtomPageLinkStyle.sys.js +30 -0
  263. package/dist/web/styles/AtomPageLinkStyle.sys.js.map +1 -0
  264. package/dist/web/styles/AtomPopupStyle.sys.js +27 -0
  265. package/dist/web/styles/AtomPopupStyle.sys.js.map +1 -0
  266. package/dist/web/styles/AtomStyle.sys.js +105 -0
  267. package/dist/web/styles/AtomStyle.sys.js.map +1 -0
  268. package/dist/web/styles/AtomStyleSheet.sys.js +84 -0
  269. package/dist/web/styles/AtomStyleSheet.sys.js.map +1 -0
  270. package/dist/web/styles/AtomTabbedPageStyle.sys.js +135 -0
  271. package/dist/web/styles/AtomTabbedPageStyle.sys.js.map +1 -0
  272. package/dist/web/styles/AtomTheme.sys.js +70 -0
  273. package/dist/web/styles/AtomTheme.sys.js.map +1 -0
  274. package/dist/web/styles/AtomToggleButtonBarStyle.sys.js +83 -0
  275. package/dist/web/styles/AtomToggleButtonBarStyle.sys.js.map +1 -0
  276. package/dist/web/styles/AtomWindowStyle.sys.js +144 -0
  277. package/dist/web/styles/AtomWindowStyle.sys.js.map +1 -0
  278. package/dist/web/styles/CSS.sys.js +96 -0
  279. package/dist/web/styles/CSS.sys.js.map +1 -0
  280. package/dist/web/styles/CommonStyles.sys.js +79 -0
  281. package/dist/web/styles/CommonStyles.sys.js.map +1 -0
  282. package/dist/web/styles/IStyleDeclaration.sys.js +9 -0
  283. package/dist/web/styles/IStyleDeclaration.sys.js.map +1 -0
  284. package/dist/web/styles/StyleBuilder.sys.js +112 -0
  285. package/dist/web/styles/StyleBuilder.sys.js.map +1 -0
  286. package/dist/xf/XFApp.sys.js +75 -0
  287. package/dist/xf/XFApp.sys.js.map +1 -0
  288. package/dist/xf/controls/AtomXFControl.sys.js +334 -0
  289. package/dist/xf/controls/AtomXFControl.sys.js.map +1 -0
  290. package/dist/xf/services/XFBusyIndicatorService.sys.js +40 -0
  291. package/dist/xf/services/XFBusyIndicatorService.sys.js.map +1 -0
  292. package/dist/xf/services/XFNavigationService.sys.js +204 -0
  293. package/dist/xf/services/XFNavigationService.sys.js.map +1 -0
  294. package/package.json +3 -2
@@ -0,0 +1,3550 @@
1
+ System.register([], function (_export, _context) {
2
+ "use strict";
3
+
4
+ var AtomStyleRules, styleId;
5
+
6
+ function toUnit(n, unit) {
7
+ if (!unit) {
8
+ unit = "";
9
+ }
10
+
11
+ return typeof n === "number" ? n + unit : n;
12
+ }
13
+
14
+ function StyleRule(selector) {
15
+ return new AtomStyleRules(selector);
16
+ }
17
+
18
+ function fromCamelToHyphen(input) {
19
+ return input.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
20
+ }
21
+
22
+ function createStyleText(name, pairs, styles) {
23
+ const styleList = [];
24
+
25
+ for (const key in styles) {
26
+ if (styles.hasOwnProperty(key)) {
27
+ if (/^(\_\$\_|className$|toString$)/i.test(key)) {
28
+ continue;
29
+ }
30
+
31
+ const element = styles[key];
32
+
33
+ if (element === undefined || element === null) {
34
+ continue;
35
+ }
36
+
37
+ const keyName = fromCamelToHyphen(key);
38
+
39
+ if (key === "subclasses") {
40
+ const n = name;
41
+
42
+ for (const subclassKey in element) {
43
+ if (element.hasOwnProperty(subclassKey)) {
44
+ const ve = element[subclassKey];
45
+ pairs = createStyleText(`${n}${subclassKey}`, pairs, ve);
46
+ }
47
+ }
48
+ } else {
49
+ if (element.url) {
50
+ styleList.push(`${keyName}: url(${element})`);
51
+ } else {
52
+ styleList.push(`${keyName}: ${element}`);
53
+ }
54
+ }
55
+ }
56
+ }
57
+
58
+ if (!name) {
59
+ return [styleList.join(";")];
60
+ }
61
+
62
+ const cname = fromCamelToHyphen(name);
63
+ const styleClassName = `${cname}`;
64
+
65
+ if (styleList.length) {
66
+ pairs.push(`.${styleClassName} { ${styleList.join(";\r\n")}; }`);
67
+ }
68
+
69
+ return pairs;
70
+ }
71
+
72
+ _export({
73
+ toUnit: toUnit,
74
+ AtomStyleRules: void 0
75
+ });
76
+
77
+ return {
78
+ setters: [],
79
+ execute: function () {
80
+ _export("AtomStyleRules", AtomStyleRules = class AtomStyleRules {
81
+ constructor(name) {
82
+ this.style = {};
83
+
84
+ if (typeof name === "string") {
85
+ this.name = name;
86
+ } else {
87
+ this.style = name !== null && name !== void 0 ? name : {};
88
+ }
89
+ }
90
+
91
+ alignContent(value) {
92
+ if (value !== undefined && value !== null) {
93
+ this.style.alignContent = value;
94
+ }
95
+
96
+ return this;
97
+ }
98
+
99
+ alignItems(value) {
100
+ if (value !== undefined && value !== null) {
101
+ this.style.alignItems = value;
102
+ }
103
+
104
+ return this;
105
+ }
106
+
107
+ alignSelf(value) {
108
+ if (value !== undefined && value !== null) {
109
+ this.style.alignSelf = value;
110
+ }
111
+
112
+ return this;
113
+ }
114
+
115
+ alignmentBaseline(value) {
116
+ if (value !== undefined && value !== null) {
117
+ this.style.alignmentBaseline = value;
118
+ }
119
+
120
+ return this;
121
+ }
122
+
123
+ animation(value) {
124
+ if (value !== undefined && value !== null) {
125
+ this.style.animation = value;
126
+ }
127
+
128
+ return this;
129
+ }
130
+
131
+ animationDelay(value) {
132
+ if (value !== undefined && value !== null) {
133
+ this.style.animationDelay = value;
134
+ }
135
+
136
+ return this;
137
+ }
138
+
139
+ animationDirection(value) {
140
+ if (value !== undefined && value !== null) {
141
+ this.style.animationDirection = value;
142
+ }
143
+
144
+ return this;
145
+ }
146
+
147
+ animationDuration(value) {
148
+ if (value !== undefined && value !== null) {
149
+ this.style.animationDuration = value;
150
+ }
151
+
152
+ return this;
153
+ }
154
+
155
+ animationFillMode(value) {
156
+ if (value !== undefined && value !== null) {
157
+ this.style.animationFillMode = value;
158
+ }
159
+
160
+ return this;
161
+ }
162
+
163
+ animationIterationCount(value) {
164
+ if (value !== undefined && value !== null) {
165
+ this.style.animationIterationCount = value;
166
+ }
167
+
168
+ return this;
169
+ }
170
+
171
+ animationName(value) {
172
+ if (value !== undefined && value !== null) {
173
+ this.style.animationName = value;
174
+ }
175
+
176
+ return this;
177
+ }
178
+
179
+ animationPlayState(value) {
180
+ if (value !== undefined && value !== null) {
181
+ this.style.animationPlayState = value;
182
+ }
183
+
184
+ return this;
185
+ }
186
+
187
+ animationTimingFunction(value) {
188
+ if (value !== undefined && value !== null) {
189
+ this.style.animationTimingFunction = value;
190
+ }
191
+
192
+ return this;
193
+ }
194
+
195
+ backfaceVisibility(value) {
196
+ if (value !== undefined && value !== null) {
197
+ this.style.backfaceVisibility = value;
198
+ }
199
+
200
+ return this;
201
+ }
202
+
203
+ background(value) {
204
+ if (value !== undefined && value !== null) {
205
+ this.style.background = value;
206
+ }
207
+
208
+ return this;
209
+ }
210
+
211
+ backgroundAttachment(value) {
212
+ if (value !== undefined && value !== null) {
213
+ this.style.backgroundAttachment = value;
214
+ }
215
+
216
+ return this;
217
+ }
218
+
219
+ backgroundBlendMode(value) {
220
+ if (value !== undefined && value !== null) {
221
+ this.style.backgroundBlendMode = value;
222
+ }
223
+
224
+ return this;
225
+ }
226
+
227
+ backgroundClip(value) {
228
+ if (value !== undefined && value !== null) {
229
+ this.style.backgroundClip = value;
230
+ }
231
+
232
+ return this;
233
+ }
234
+
235
+ backgroundColor(value) {
236
+ if (value !== undefined && value !== null) {
237
+ this.style.backgroundColor = value;
238
+ }
239
+
240
+ return this;
241
+ }
242
+
243
+ backgroundImage(value) {
244
+ if (value !== undefined && value !== null) {
245
+ this.style.backgroundImage = value;
246
+ }
247
+
248
+ return this;
249
+ }
250
+
251
+ backgroundOrigin(value) {
252
+ if (value !== undefined && value !== null) {
253
+ this.style.backgroundOrigin = value;
254
+ }
255
+
256
+ return this;
257
+ }
258
+
259
+ backgroundPosition(value) {
260
+ if (value !== undefined && value !== null) {
261
+ this.style.backgroundPosition = value;
262
+ }
263
+
264
+ return this;
265
+ }
266
+
267
+ backgroundPositionX(value, unit = "px") {
268
+ if (value !== undefined && value !== null) {
269
+ this.style.backgroundPositionX = toUnit(value, unit);
270
+ }
271
+
272
+ return this;
273
+ }
274
+
275
+ backgroundPositionY(value, unit = "px") {
276
+ if (value !== undefined && value !== null) {
277
+ this.style.backgroundPositionY = toUnit(value, unit);
278
+ }
279
+
280
+ return this;
281
+ }
282
+
283
+ backgroundRepeat(value) {
284
+ if (value !== undefined && value !== null) {
285
+ this.style.backgroundRepeat = value;
286
+ }
287
+
288
+ return this;
289
+ }
290
+
291
+ backgroundSize(value) {
292
+ if (value !== undefined && value !== null) {
293
+ this.style.backgroundSize = value;
294
+ }
295
+
296
+ return this;
297
+ }
298
+
299
+ baselineShift(value) {
300
+ if (value !== undefined && value !== null) {
301
+ this.style.baselineShift = value;
302
+ }
303
+
304
+ return this;
305
+ }
306
+
307
+ border(value) {
308
+ if (value !== undefined && value !== null) {
309
+ this.style.border = value;
310
+ }
311
+
312
+ return this;
313
+ }
314
+
315
+ borderBottom(value) {
316
+ if (value !== undefined && value !== null) {
317
+ this.style.borderBottom = value;
318
+ }
319
+
320
+ return this;
321
+ }
322
+
323
+ borderBottomColor(value) {
324
+ if (value !== undefined && value !== null) {
325
+ this.style.borderBottomColor = value;
326
+ }
327
+
328
+ return this;
329
+ }
330
+
331
+ borderBottomLeftRadius(value, unit = "px") {
332
+ if (value !== undefined && value !== null) {
333
+ this.style.borderBottomLeftRadius = toUnit(value, unit);
334
+ }
335
+
336
+ return this;
337
+ }
338
+
339
+ borderBottomRightRadius(value, unit = "px") {
340
+ if (value !== undefined && value !== null) {
341
+ this.style.borderBottomRightRadius = toUnit(value, unit);
342
+ }
343
+
344
+ return this;
345
+ }
346
+
347
+ borderBottomStyle(value) {
348
+ if (value !== undefined && value !== null) {
349
+ this.style.borderBottomStyle = value;
350
+ }
351
+
352
+ return this;
353
+ }
354
+
355
+ borderBottomWidth(value, unit = "px") {
356
+ if (value !== undefined && value !== null) {
357
+ this.style.borderBottomWidth = toUnit(value, unit);
358
+ }
359
+
360
+ return this;
361
+ }
362
+
363
+ borderCollapse(value) {
364
+ if (value !== undefined && value !== null) {
365
+ this.style.borderCollapse = value;
366
+ }
367
+
368
+ return this;
369
+ }
370
+
371
+ borderColor(value) {
372
+ if (value !== undefined && value !== null) {
373
+ this.style.borderColor = value;
374
+ }
375
+
376
+ return this;
377
+ }
378
+
379
+ borderImage(value) {
380
+ if (value !== undefined && value !== null) {
381
+ this.style.borderImage = value;
382
+ }
383
+
384
+ return this;
385
+ }
386
+
387
+ borderImageOutset(value) {
388
+ if (value !== undefined && value !== null) {
389
+ this.style.borderImageOutset = value;
390
+ }
391
+
392
+ return this;
393
+ }
394
+
395
+ borderImageRepeat(value) {
396
+ if (value !== undefined && value !== null) {
397
+ this.style.borderImageRepeat = value;
398
+ }
399
+
400
+ return this;
401
+ }
402
+
403
+ borderImageSlice(value) {
404
+ if (value !== undefined && value !== null) {
405
+ this.style.borderImageSlice = value;
406
+ }
407
+
408
+ return this;
409
+ }
410
+
411
+ borderImageSource(value) {
412
+ if (value !== undefined && value !== null) {
413
+ this.style.borderImageSource = value;
414
+ }
415
+
416
+ return this;
417
+ }
418
+
419
+ borderImageWidth(value) {
420
+ if (value !== undefined && value !== null) {
421
+ this.style.borderImageWidth = value;
422
+ }
423
+
424
+ return this;
425
+ }
426
+
427
+ borderLeft(value) {
428
+ if (value !== undefined && value !== null) {
429
+ this.style.borderLeft = value;
430
+ }
431
+
432
+ return this;
433
+ }
434
+
435
+ borderLeftColor(value) {
436
+ if (value !== undefined && value !== null) {
437
+ this.style.borderLeftColor = value;
438
+ }
439
+
440
+ return this;
441
+ }
442
+
443
+ borderLeftStyle(value) {
444
+ if (value !== undefined && value !== null) {
445
+ this.style.borderLeftStyle = value;
446
+ }
447
+
448
+ return this;
449
+ }
450
+
451
+ borderLeftWidth(value, unit = "px") {
452
+ if (value !== undefined && value !== null) {
453
+ this.style.borderLeftWidth = toUnit(value, unit);
454
+ }
455
+
456
+ return this;
457
+ }
458
+
459
+ borderRadius(value, unit = "px") {
460
+ if (value !== undefined && value !== null) {
461
+ this.style.borderRadius = toUnit(value, unit);
462
+ }
463
+
464
+ return this;
465
+ }
466
+
467
+ borderRight(value) {
468
+ if (value !== undefined && value !== null) {
469
+ this.style.borderRight = value;
470
+ }
471
+
472
+ return this;
473
+ }
474
+
475
+ borderRightColor(value) {
476
+ if (value !== undefined && value !== null) {
477
+ this.style.borderRightColor = value;
478
+ }
479
+
480
+ return this;
481
+ }
482
+
483
+ borderRightStyle(value) {
484
+ if (value !== undefined && value !== null) {
485
+ this.style.borderRightStyle = value;
486
+ }
487
+
488
+ return this;
489
+ }
490
+
491
+ borderRightWidth(value, unit = "px") {
492
+ if (value !== undefined && value !== null) {
493
+ this.style.borderRightWidth = toUnit(value, unit);
494
+ }
495
+
496
+ return this;
497
+ }
498
+
499
+ borderSpacing(value) {
500
+ if (value !== undefined && value !== null) {
501
+ this.style.borderSpacing = value;
502
+ }
503
+
504
+ return this;
505
+ }
506
+
507
+ borderStyle(value) {
508
+ if (value !== undefined && value !== null) {
509
+ this.style.borderStyle = value;
510
+ }
511
+
512
+ return this;
513
+ }
514
+
515
+ borderTop(value) {
516
+ if (value !== undefined && value !== null) {
517
+ this.style.borderTop = value;
518
+ }
519
+
520
+ return this;
521
+ }
522
+
523
+ borderTopColor(value) {
524
+ if (value !== undefined && value !== null) {
525
+ this.style.borderTopColor = value;
526
+ }
527
+
528
+ return this;
529
+ }
530
+
531
+ borderTopLeftRadius(value, unit = "px") {
532
+ if (value !== undefined && value !== null) {
533
+ this.style.borderTopLeftRadius = toUnit(value, unit);
534
+ }
535
+
536
+ return this;
537
+ }
538
+
539
+ borderTopRightRadius(value, unit = "px") {
540
+ if (value !== undefined && value !== null) {
541
+ this.style.borderTopRightRadius = toUnit(value, unit);
542
+ }
543
+
544
+ return this;
545
+ }
546
+
547
+ borderTopStyle(value) {
548
+ if (value !== undefined && value !== null) {
549
+ this.style.borderTopStyle = value;
550
+ }
551
+
552
+ return this;
553
+ }
554
+
555
+ borderTopWidth(value, unit = "px") {
556
+ if (value !== undefined && value !== null) {
557
+ this.style.borderTopWidth = toUnit(value, unit);
558
+ }
559
+
560
+ return this;
561
+ }
562
+
563
+ borderWidth(value, unit = "px") {
564
+ if (value !== undefined && value !== null) {
565
+ this.style.borderWidth = toUnit(value, unit);
566
+ }
567
+
568
+ return this;
569
+ }
570
+
571
+ bottom(value, unit = "px") {
572
+ if (value !== undefined && value !== null) {
573
+ this.style.bottom = toUnit(value, unit);
574
+ }
575
+
576
+ return this;
577
+ }
578
+
579
+ boxShadow(value) {
580
+ if (value !== undefined && value !== null) {
581
+ this.style.boxShadow = value;
582
+ }
583
+
584
+ return this;
585
+ }
586
+
587
+ boxSizing(value) {
588
+ if (value !== undefined && value !== null) {
589
+ this.style.boxSizing = value;
590
+ }
591
+
592
+ return this;
593
+ }
594
+
595
+ breakAfter(value) {
596
+ if (value !== undefined && value !== null) {
597
+ this.style.breakAfter = value;
598
+ }
599
+
600
+ return this;
601
+ }
602
+
603
+ breakBefore(value) {
604
+ if (value !== undefined && value !== null) {
605
+ this.style.breakBefore = value;
606
+ }
607
+
608
+ return this;
609
+ }
610
+
611
+ breakInside(value) {
612
+ if (value !== undefined && value !== null) {
613
+ this.style.breakInside = value;
614
+ }
615
+
616
+ return this;
617
+ }
618
+
619
+ captionSide(value) {
620
+ if (value !== undefined && value !== null) {
621
+ this.style.captionSide = value;
622
+ }
623
+
624
+ return this;
625
+ }
626
+
627
+ caretColor(value) {
628
+ this.style.caretColor = value;
629
+ return this;
630
+ }
631
+
632
+ clear(value) {
633
+ if (value !== undefined && value !== null) {
634
+ this.style.clear = value;
635
+ }
636
+
637
+ return this;
638
+ }
639
+
640
+ clip(value) {
641
+ if (value !== undefined && value !== null) {
642
+ this.style.clip = value;
643
+ }
644
+
645
+ return this;
646
+ }
647
+
648
+ clipPath(value) {
649
+ if (value !== undefined && value !== null) {
650
+ this.style.clipPath = value;
651
+ }
652
+
653
+ return this;
654
+ }
655
+
656
+ clipRule(value) {
657
+ if (value !== undefined && value !== null) {
658
+ this.style.clipRule = value;
659
+ }
660
+
661
+ return this;
662
+ }
663
+
664
+ color(value) {
665
+ if (value !== undefined && value !== null) {
666
+ this.style.color = value;
667
+ }
668
+
669
+ return this;
670
+ }
671
+
672
+ colorInterpolationFilters(value) {
673
+ if (value !== undefined && value !== null) {
674
+ this.style.colorInterpolationFilters = value;
675
+ }
676
+
677
+ return this;
678
+ }
679
+
680
+ columnCount(value) {
681
+ if (value !== undefined && value !== null) {
682
+ this.style.columnCount = value;
683
+ }
684
+
685
+ return this;
686
+ }
687
+
688
+ columnFill(value) {
689
+ if (value !== undefined && value !== null) {
690
+ this.style.columnFill = value;
691
+ }
692
+
693
+ return this;
694
+ }
695
+
696
+ columnGap(value) {
697
+ if (value !== undefined && value !== null) {
698
+ this.style.columnGap = value;
699
+ }
700
+
701
+ return this;
702
+ }
703
+
704
+ columnRule(value) {
705
+ if (value !== undefined && value !== null) {
706
+ this.style.columnRule = value;
707
+ }
708
+
709
+ return this;
710
+ }
711
+
712
+ columnRuleColor(value) {
713
+ if (value !== undefined && value !== null) {
714
+ this.style.columnRuleColor = value;
715
+ }
716
+
717
+ return this;
718
+ }
719
+
720
+ columnRuleStyle(value) {
721
+ if (value !== undefined && value !== null) {
722
+ this.style.columnRuleStyle = value;
723
+ }
724
+
725
+ return this;
726
+ }
727
+
728
+ columnRuleWidth(value) {
729
+ if (value !== undefined && value !== null) {
730
+ this.style.columnRuleWidth = value;
731
+ }
732
+
733
+ return this;
734
+ }
735
+
736
+ columnSpan(value) {
737
+ if (value !== undefined && value !== null) {
738
+ this.style.columnSpan = value;
739
+ }
740
+
741
+ return this;
742
+ }
743
+
744
+ columnWidth(value) {
745
+ if (value !== undefined && value !== null) {
746
+ this.style.columnWidth = value;
747
+ }
748
+
749
+ return this;
750
+ }
751
+
752
+ columns(value) {
753
+ if (value !== undefined && value !== null) {
754
+ this.style.columns = value;
755
+ }
756
+
757
+ return this;
758
+ }
759
+
760
+ content(value) {
761
+ if (value !== undefined && value !== null) {
762
+ this.style.content = value;
763
+ }
764
+
765
+ return this;
766
+ }
767
+
768
+ counterIncrement(value) {
769
+ if (value !== undefined && value !== null) {
770
+ this.style.counterIncrement = value;
771
+ }
772
+
773
+ return this;
774
+ }
775
+
776
+ counterReset(value) {
777
+ if (value !== undefined && value !== null) {
778
+ this.style.counterReset = value;
779
+ }
780
+
781
+ return this;
782
+ }
783
+
784
+ cssFloat(value) {
785
+ if (value !== undefined && value !== null) {
786
+ this.style.cssFloat = value;
787
+ }
788
+
789
+ return this;
790
+ }
791
+
792
+ cssText(value) {
793
+ if (value !== undefined && value !== null) {
794
+ this.style.cssText = value;
795
+ }
796
+
797
+ return this;
798
+ }
799
+
800
+ cursor(value) {
801
+ if (value !== undefined && value !== null) {
802
+ this.style.cursor = value;
803
+ }
804
+
805
+ return this;
806
+ }
807
+
808
+ direction(value) {
809
+ if (value !== undefined && value !== null) {
810
+ this.style.direction = value;
811
+ }
812
+
813
+ return this;
814
+ }
815
+
816
+ display(value) {
817
+ if (value !== undefined && value !== null) {
818
+ this.style.display = value;
819
+ }
820
+
821
+ return this;
822
+ }
823
+
824
+ dominantBaseline(value) {
825
+ if (value !== undefined && value !== null) {
826
+ this.style.dominantBaseline = value;
827
+ }
828
+
829
+ return this;
830
+ }
831
+
832
+ emptyCells(value) {
833
+ if (value !== undefined && value !== null) {
834
+ this.style.emptyCells = value;
835
+ }
836
+
837
+ return this;
838
+ }
839
+
840
+ enableBackground(value) {
841
+ if (value !== undefined && value !== null) {
842
+ this.style.enableBackground = value;
843
+ }
844
+
845
+ return this;
846
+ }
847
+
848
+ fill(value) {
849
+ if (value !== undefined && value !== null) {
850
+ this.style.fill = value;
851
+ }
852
+
853
+ return this;
854
+ }
855
+
856
+ fillOpacity(value) {
857
+ if (value !== undefined && value !== null) {
858
+ this.style.fillOpacity = value;
859
+ }
860
+
861
+ return this;
862
+ }
863
+
864
+ fillRule(value) {
865
+ if (value !== undefined && value !== null) {
866
+ this.style.fillRule = value;
867
+ }
868
+
869
+ return this;
870
+ }
871
+
872
+ filter(value) {
873
+ if (value !== undefined && value !== null) {
874
+ this.style.filter = value;
875
+ }
876
+
877
+ return this;
878
+ }
879
+
880
+ flex(value) {
881
+ if (value !== undefined && value !== null) {
882
+ this.style.flex = value;
883
+ }
884
+
885
+ return this;
886
+ }
887
+
888
+ flexBasis(value) {
889
+ if (value !== undefined && value !== null) {
890
+ this.style.flexBasis = value;
891
+ }
892
+
893
+ return this;
894
+ }
895
+
896
+ flexDirection(value) {
897
+ if (value !== undefined && value !== null) {
898
+ this.style.flexDirection = value;
899
+ }
900
+
901
+ return this;
902
+ }
903
+
904
+ flexFlow(value) {
905
+ if (value !== undefined && value !== null) {
906
+ this.style.flexFlow = value;
907
+ }
908
+
909
+ return this;
910
+ }
911
+
912
+ flexGrow(value) {
913
+ if (value !== undefined && value !== null) {
914
+ this.style.flexGrow = value;
915
+ }
916
+
917
+ return this;
918
+ }
919
+
920
+ flexShrink(value) {
921
+ if (value !== undefined && value !== null) {
922
+ this.style.flexShrink = value;
923
+ }
924
+
925
+ return this;
926
+ }
927
+
928
+ flexWrap(value) {
929
+ if (value !== undefined && value !== null) {
930
+ this.style.flexWrap = value;
931
+ }
932
+
933
+ return this;
934
+ }
935
+
936
+ float(value) {
937
+ if (value !== undefined && value !== null) {
938
+ this.style.float = value;
939
+ }
940
+
941
+ return this;
942
+ }
943
+
944
+ floodColor(value) {
945
+ if (value !== undefined && value !== null) {
946
+ this.style.floodColor = value;
947
+ }
948
+
949
+ return this;
950
+ }
951
+
952
+ floodOpacity(value) {
953
+ if (value !== undefined && value !== null) {
954
+ this.style.floodOpacity = value;
955
+ }
956
+
957
+ return this;
958
+ }
959
+
960
+ font(value) {
961
+ if (value !== undefined && value !== null) {
962
+ this.style.font = value;
963
+ }
964
+
965
+ return this;
966
+ }
967
+
968
+ fontFamily(value) {
969
+ if (value !== undefined && value !== null) {
970
+ this.style.fontFamily = value;
971
+ }
972
+
973
+ return this;
974
+ }
975
+
976
+ fontFeatureSettings(value) {
977
+ if (value !== undefined && value !== null) {
978
+ this.style.fontFeatureSettings = value;
979
+ }
980
+
981
+ return this;
982
+ }
983
+
984
+ fontSize(value, unit = "px") {
985
+ if (value !== undefined && value !== null) {
986
+ this.style.fontSize = toUnit(value, unit);
987
+ }
988
+
989
+ return this;
990
+ }
991
+
992
+ fontSizeAdjust(value) {
993
+ if (value !== undefined && value !== null) {
994
+ this.style.fontSizeAdjust = value;
995
+ }
996
+
997
+ return this;
998
+ }
999
+
1000
+ fontStretch(value) {
1001
+ if (value !== undefined && value !== null) {
1002
+ this.style.fontStretch = value;
1003
+ }
1004
+
1005
+ return this;
1006
+ }
1007
+
1008
+ fontStyle(value) {
1009
+ if (value !== undefined && value !== null) {
1010
+ this.style.fontStyle = value;
1011
+ }
1012
+
1013
+ return this;
1014
+ }
1015
+
1016
+ fontVariant(value) {
1017
+ if (value !== undefined && value !== null) {
1018
+ this.style.fontVariant = value;
1019
+ }
1020
+
1021
+ return this;
1022
+ }
1023
+
1024
+ fontWeight(value) {
1025
+ if (value !== undefined && value !== null) {
1026
+ this.style.fontWeight = value;
1027
+ }
1028
+
1029
+ return this;
1030
+ }
1031
+
1032
+ gap(value, unit = "px") {
1033
+ if (value !== undefined && value !== null) {
1034
+ this.style.gap = toUnit(value, unit);
1035
+ }
1036
+
1037
+ return this;
1038
+ }
1039
+
1040
+ glyphOrientationHorizontal(value) {
1041
+ if (value !== undefined && value !== null) {
1042
+ this.style.glyphOrientationHorizontal = value;
1043
+ }
1044
+
1045
+ return this;
1046
+ }
1047
+
1048
+ glyphOrientationVertical(value) {
1049
+ if (value !== undefined && value !== null) {
1050
+ this.style.glyphOrientationVertical = value;
1051
+ }
1052
+
1053
+ return this;
1054
+ }
1055
+
1056
+ grid(value) {
1057
+ if (value !== undefined && value !== null) {
1058
+ this.style.grid = value;
1059
+ }
1060
+
1061
+ return this;
1062
+ }
1063
+
1064
+ gridArea(value) {
1065
+ if (value !== undefined && value !== null) {
1066
+ this.style.gridArea = value;
1067
+ }
1068
+
1069
+ return this;
1070
+ }
1071
+
1072
+ gridAutoColumns(value) {
1073
+ if (value !== undefined && value !== null) {
1074
+ this.style.gridAutoColumns = value;
1075
+ }
1076
+
1077
+ return this;
1078
+ }
1079
+
1080
+ gridAutoFlow(value) {
1081
+ if (value !== undefined && value !== null) {
1082
+ this.style.gridAutoFlow = value;
1083
+ }
1084
+
1085
+ return this;
1086
+ }
1087
+
1088
+ gridAutoRows(value) {
1089
+ if (value !== undefined && value !== null) {
1090
+ this.style.gridAutoRows = value;
1091
+ }
1092
+
1093
+ return this;
1094
+ }
1095
+
1096
+ gridColumn(value) {
1097
+ if (value !== undefined && value !== null) {
1098
+ this.style.gridColumn = value;
1099
+ }
1100
+
1101
+ return this;
1102
+ }
1103
+
1104
+ gridColumnEnd(value) {
1105
+ if (value !== undefined && value !== null) {
1106
+ this.style.gridColumnEnd = value;
1107
+ }
1108
+
1109
+ return this;
1110
+ }
1111
+
1112
+ gridColumnGap(value) {
1113
+ if (value !== undefined && value !== null) {
1114
+ this.style.gridColumnGap = value;
1115
+ }
1116
+
1117
+ return this;
1118
+ }
1119
+
1120
+ gridColumnStart(value) {
1121
+ if (value !== undefined && value !== null) {
1122
+ this.style.gridColumnStart = value;
1123
+ }
1124
+
1125
+ return this;
1126
+ }
1127
+
1128
+ gridGap(value) {
1129
+ if (value !== undefined && value !== null) {
1130
+ this.style.gridGap = value;
1131
+ }
1132
+
1133
+ return this;
1134
+ }
1135
+
1136
+ gridRow(value) {
1137
+ if (value !== undefined && value !== null) {
1138
+ this.style.gridRow = value;
1139
+ }
1140
+
1141
+ return this;
1142
+ }
1143
+
1144
+ gridRowEnd(value) {
1145
+ if (value !== undefined && value !== null) {
1146
+ this.style.gridRowEnd = value;
1147
+ }
1148
+
1149
+ return this;
1150
+ }
1151
+
1152
+ gridRowGap(value) {
1153
+ if (value !== undefined && value !== null) {
1154
+ this.style.gridRowGap = value;
1155
+ }
1156
+
1157
+ return this;
1158
+ }
1159
+
1160
+ gridRowStart(value) {
1161
+ if (value !== undefined && value !== null) {
1162
+ this.style.gridRowStart = value;
1163
+ }
1164
+
1165
+ return this;
1166
+ }
1167
+
1168
+ gridTemplate(value) {
1169
+ if (value !== undefined && value !== null) {
1170
+ this.style.gridTemplate = value;
1171
+ }
1172
+
1173
+ return this;
1174
+ }
1175
+
1176
+ gridTemplateAreas(value) {
1177
+ if (value !== undefined && value !== null) {
1178
+ this.style.gridTemplateAreas = value;
1179
+ }
1180
+
1181
+ return this;
1182
+ }
1183
+
1184
+ gridTemplateColumns(value) {
1185
+ if (value !== undefined && value !== null) {
1186
+ this.style.gridTemplateColumns = value;
1187
+ }
1188
+
1189
+ return this;
1190
+ }
1191
+
1192
+ gridTemplateRows(value) {
1193
+ if (value !== undefined && value !== null) {
1194
+ this.style.gridTemplateRows = value;
1195
+ }
1196
+
1197
+ return this;
1198
+ }
1199
+
1200
+ height(value, unit = "px") {
1201
+ if (value !== undefined && value !== null) {
1202
+ this.style.height = toUnit(value, unit);
1203
+ }
1204
+
1205
+ return this;
1206
+ }
1207
+
1208
+ imeMode(value) {
1209
+ if (value !== undefined && value !== null) {
1210
+ this.style.imeMode = value;
1211
+ }
1212
+
1213
+ return this;
1214
+ }
1215
+
1216
+ justifyContent(value) {
1217
+ if (value !== undefined && value !== null) {
1218
+ this.style.justifyContent = value;
1219
+ }
1220
+
1221
+ return this;
1222
+ }
1223
+
1224
+ justifyItems(value) {
1225
+ if (value !== undefined && value !== null) {
1226
+ this.style.justifyItems = value;
1227
+ }
1228
+
1229
+ return this;
1230
+ }
1231
+
1232
+ justifySelf(value) {
1233
+ if (value !== undefined && value !== null) {
1234
+ this.style.justifySelf = value;
1235
+ }
1236
+
1237
+ return this;
1238
+ }
1239
+
1240
+ kerning(value) {
1241
+ if (value !== undefined && value !== null) {
1242
+ this.style.kerning = value;
1243
+ }
1244
+
1245
+ return this;
1246
+ }
1247
+
1248
+ layoutGrid(value) {
1249
+ if (value !== undefined && value !== null) {
1250
+ this.style.layoutGrid = value;
1251
+ }
1252
+
1253
+ return this;
1254
+ }
1255
+
1256
+ layoutGridChar(value) {
1257
+ if (value !== undefined && value !== null) {
1258
+ this.style.layoutGridChar = value;
1259
+ }
1260
+
1261
+ return this;
1262
+ }
1263
+
1264
+ layoutGridLine(value) {
1265
+ if (value !== undefined && value !== null) {
1266
+ this.style.layoutGridLine = value;
1267
+ }
1268
+
1269
+ return this;
1270
+ }
1271
+
1272
+ layoutGridMode(value) {
1273
+ if (value !== undefined && value !== null) {
1274
+ this.style.layoutGridMode = value;
1275
+ }
1276
+
1277
+ return this;
1278
+ }
1279
+
1280
+ layoutGridType(value) {
1281
+ if (value !== undefined && value !== null) {
1282
+ this.style.layoutGridType = value;
1283
+ }
1284
+
1285
+ return this;
1286
+ }
1287
+
1288
+ left(value, unit = "px") {
1289
+ if (value !== undefined && value !== null) {
1290
+ this.style.left = toUnit(value, unit);
1291
+ }
1292
+
1293
+ return this;
1294
+ }
1295
+
1296
+ letterSpacing(value) {
1297
+ if (value !== undefined && value !== null) {
1298
+ this.style.letterSpacing = value;
1299
+ }
1300
+
1301
+ return this;
1302
+ }
1303
+
1304
+ lightingColor(value) {
1305
+ if (value !== undefined && value !== null) {
1306
+ this.style.lightingColor = value;
1307
+ }
1308
+
1309
+ return this;
1310
+ }
1311
+
1312
+ lineBreak(value) {
1313
+ if (value !== undefined && value !== null) {
1314
+ this.style.lineBreak = value;
1315
+ }
1316
+
1317
+ return this;
1318
+ }
1319
+
1320
+ lineHeight(value) {
1321
+ if (value !== undefined && value !== null) {
1322
+ this.style.lineHeight = value;
1323
+ }
1324
+
1325
+ return this;
1326
+ }
1327
+
1328
+ listStyle(value) {
1329
+ if (value !== undefined && value !== null) {
1330
+ this.style.listStyle = value;
1331
+ }
1332
+
1333
+ return this;
1334
+ }
1335
+
1336
+ listStyleImage(value) {
1337
+ if (value !== undefined && value !== null) {
1338
+ this.style.listStyleImage = value;
1339
+ }
1340
+
1341
+ return this;
1342
+ }
1343
+
1344
+ listStylePosition(value) {
1345
+ if (value !== undefined && value !== null) {
1346
+ this.style.listStylePosition = value;
1347
+ }
1348
+
1349
+ return this;
1350
+ }
1351
+
1352
+ listStyleType(value) {
1353
+ if (value !== undefined && value !== null) {
1354
+ this.style.listStyleType = value;
1355
+ }
1356
+
1357
+ return this;
1358
+ }
1359
+
1360
+ margin(value, unit = "px") {
1361
+ if (value !== undefined && value !== null) {
1362
+ this.style.margin = toUnit(value, unit);
1363
+ }
1364
+
1365
+ return this;
1366
+ }
1367
+
1368
+ marginBottom(value, unit = "px") {
1369
+ if (value !== undefined && value !== null) {
1370
+ this.style.marginBottom = toUnit(value, unit);
1371
+ }
1372
+
1373
+ return this;
1374
+ }
1375
+
1376
+ marginLeft(value, unit = "px") {
1377
+ if (value !== undefined && value !== null) {
1378
+ this.style.marginLeft = toUnit(value, unit);
1379
+ }
1380
+
1381
+ return this;
1382
+ }
1383
+
1384
+ marginRight(value, unit = "px") {
1385
+ if (value !== undefined && value !== null) {
1386
+ this.style.marginRight = toUnit(value, unit);
1387
+ }
1388
+
1389
+ return this;
1390
+ }
1391
+
1392
+ marginTop(value, unit = "px") {
1393
+ if (value !== undefined && value !== null) {
1394
+ this.style.marginTop = toUnit(value, unit);
1395
+ }
1396
+
1397
+ return this;
1398
+ }
1399
+
1400
+ marginInlineStart(value, unit = "px") {
1401
+ if (value !== undefined && value !== null) {
1402
+ this.style.marginInlineStart = toUnit(value, unit);
1403
+ }
1404
+
1405
+ return this;
1406
+ }
1407
+
1408
+ marginInlineEnd(value, unit = "px") {
1409
+ if (value !== undefined && value !== null) {
1410
+ this.style.marginInlineEnd = toUnit(value, unit);
1411
+ }
1412
+
1413
+ return this;
1414
+ }
1415
+
1416
+ marginBlockStart(value, unit = "px") {
1417
+ if (value !== undefined && value !== null) {
1418
+ this.style.marginBlockStart = toUnit(value, unit);
1419
+ }
1420
+
1421
+ return this;
1422
+ }
1423
+
1424
+ marginBlockEnd(value, unit = "px") {
1425
+ if (value !== undefined && value !== null) {
1426
+ this.style.marginBlockEnd = toUnit(value, unit);
1427
+ }
1428
+
1429
+ return this;
1430
+ }
1431
+
1432
+ marker(value) {
1433
+ if (value !== undefined && value !== null) {
1434
+ this.style.marker = value;
1435
+ }
1436
+
1437
+ return this;
1438
+ }
1439
+
1440
+ markerEnd(value) {
1441
+ if (value !== undefined && value !== null) {
1442
+ this.style.markerEnd = value;
1443
+ }
1444
+
1445
+ return this;
1446
+ }
1447
+
1448
+ markerMid(value) {
1449
+ if (value !== undefined && value !== null) {
1450
+ this.style.markerMid = value;
1451
+ }
1452
+
1453
+ return this;
1454
+ }
1455
+
1456
+ markerStart(value) {
1457
+ if (value !== undefined && value !== null) {
1458
+ this.style.markerStart = value;
1459
+ }
1460
+
1461
+ return this;
1462
+ }
1463
+
1464
+ mask(value) {
1465
+ if (value !== undefined && value !== null) {
1466
+ this.style.mask = value;
1467
+ }
1468
+
1469
+ return this;
1470
+ }
1471
+
1472
+ maskImage(value) {
1473
+ if (value !== undefined && value !== null) {
1474
+ this.style.maskImage = value;
1475
+ }
1476
+
1477
+ return this;
1478
+ }
1479
+
1480
+ maxHeight(value, unit = "px") {
1481
+ if (value !== undefined && value !== null) {
1482
+ this.style.maxHeight = toUnit(value, unit);
1483
+ }
1484
+
1485
+ return this;
1486
+ }
1487
+
1488
+ maxWidth(value, unit = "px") {
1489
+ if (value !== undefined && value !== null) {
1490
+ this.style.maxWidth = toUnit(value, unit);
1491
+ }
1492
+
1493
+ return this;
1494
+ }
1495
+
1496
+ minHeight(value, unit = "px") {
1497
+ if (value !== undefined && value !== null) {
1498
+ this.style.minHeight = toUnit(value, unit);
1499
+ }
1500
+
1501
+ return this;
1502
+ }
1503
+
1504
+ minWidth(value, unit = "px") {
1505
+ if (value !== undefined && value !== null) {
1506
+ this.style.minWidth = toUnit(value, unit);
1507
+ }
1508
+
1509
+ return this;
1510
+ }
1511
+
1512
+ msContentZoomChaining(value) {
1513
+ if (value !== undefined && value !== null) {
1514
+ this.style.msContentZoomChaining = value;
1515
+ }
1516
+
1517
+ return this;
1518
+ }
1519
+
1520
+ msContentZoomLimit(value) {
1521
+ if (value !== undefined && value !== null) {
1522
+ this.style.msContentZoomLimit = value;
1523
+ }
1524
+
1525
+ return this;
1526
+ }
1527
+
1528
+ msContentZoomLimitMax(value) {
1529
+ if (value !== undefined && value !== null) {
1530
+ this.style.msContentZoomLimitMax = value;
1531
+ }
1532
+
1533
+ return this;
1534
+ }
1535
+
1536
+ msContentZoomLimitMin(value) {
1537
+ if (value !== undefined && value !== null) {
1538
+ this.style.msContentZoomLimitMin = value;
1539
+ }
1540
+
1541
+ return this;
1542
+ }
1543
+
1544
+ msContentZoomSnap(value) {
1545
+ if (value !== undefined && value !== null) {
1546
+ this.style.msContentZoomSnap = value;
1547
+ }
1548
+
1549
+ return this;
1550
+ }
1551
+
1552
+ msContentZoomSnapPoints(value) {
1553
+ if (value !== undefined && value !== null) {
1554
+ this.style.msContentZoomSnapPoints = value;
1555
+ }
1556
+
1557
+ return this;
1558
+ }
1559
+
1560
+ msContentZoomSnapType(value) {
1561
+ if (value !== undefined && value !== null) {
1562
+ this.style.msContentZoomSnapType = value;
1563
+ }
1564
+
1565
+ return this;
1566
+ }
1567
+
1568
+ msContentZooming(value) {
1569
+ if (value !== undefined && value !== null) {
1570
+ this.style.msContentZooming = value;
1571
+ }
1572
+
1573
+ return this;
1574
+ }
1575
+
1576
+ msFlowFrom(value) {
1577
+ if (value !== undefined && value !== null) {
1578
+ this.style.msFlowFrom = value;
1579
+ }
1580
+
1581
+ return this;
1582
+ }
1583
+
1584
+ msFlowInto(value) {
1585
+ if (value !== undefined && value !== null) {
1586
+ this.style.msFlowInto = value;
1587
+ }
1588
+
1589
+ return this;
1590
+ }
1591
+
1592
+ msFontFeatureSettings(value) {
1593
+ if (value !== undefined && value !== null) {
1594
+ this.style.msFontFeatureSettings = value;
1595
+ }
1596
+
1597
+ return this;
1598
+ }
1599
+
1600
+ msGridColumn(value) {
1601
+ if (value !== undefined && value !== null) {
1602
+ this.style.msGridColumn = value;
1603
+ }
1604
+
1605
+ return this;
1606
+ }
1607
+
1608
+ msGridColumnAlign(value) {
1609
+ if (value !== undefined && value !== null) {
1610
+ this.style.msGridColumnAlign = value;
1611
+ }
1612
+
1613
+ return this;
1614
+ }
1615
+
1616
+ msGridColumnSpan(value) {
1617
+ if (value !== undefined && value !== null) {
1618
+ this.style.msGridColumnSpan = value;
1619
+ }
1620
+
1621
+ return this;
1622
+ }
1623
+
1624
+ msGridColumns(value) {
1625
+ if (value !== undefined && value !== null) {
1626
+ this.style.msGridColumns = value;
1627
+ }
1628
+
1629
+ return this;
1630
+ }
1631
+
1632
+ msGridRow(value) {
1633
+ if (value !== undefined && value !== null) {
1634
+ this.style.msGridRow = value;
1635
+ }
1636
+
1637
+ return this;
1638
+ }
1639
+
1640
+ msGridRowAlign(value) {
1641
+ if (value !== undefined && value !== null) {
1642
+ this.style.msGridRowAlign = value;
1643
+ }
1644
+
1645
+ return this;
1646
+ }
1647
+
1648
+ msGridRowSpan(value) {
1649
+ if (value !== undefined && value !== null) {
1650
+ this.style.msGridRowSpan = value;
1651
+ }
1652
+
1653
+ return this;
1654
+ }
1655
+
1656
+ msGridRows(value) {
1657
+ if (value !== undefined && value !== null) {
1658
+ this.style.msGridRows = value;
1659
+ }
1660
+
1661
+ return this;
1662
+ }
1663
+
1664
+ msHighContrastAdjust(value) {
1665
+ if (value !== undefined && value !== null) {
1666
+ this.style.msHighContrastAdjust = value;
1667
+ }
1668
+
1669
+ return this;
1670
+ }
1671
+
1672
+ msHyphenateLimitChars(value) {
1673
+ if (value !== undefined && value !== null) {
1674
+ this.style.msHyphenateLimitChars = value;
1675
+ }
1676
+
1677
+ return this;
1678
+ }
1679
+
1680
+ msHyphenateLimitLines(value) {
1681
+ if (value !== undefined && value !== null) {
1682
+ this.style.msHyphenateLimitLines = value;
1683
+ }
1684
+
1685
+ return this;
1686
+ }
1687
+
1688
+ msHyphenateLimitZone(value) {
1689
+ if (value !== undefined && value !== null) {
1690
+ this.style.msHyphenateLimitZone = value;
1691
+ }
1692
+
1693
+ return this;
1694
+ }
1695
+
1696
+ msHyphens(value) {
1697
+ if (value !== undefined && value !== null) {
1698
+ this.style.msHyphens = value;
1699
+ }
1700
+
1701
+ return this;
1702
+ }
1703
+
1704
+ msImeAlign(value) {
1705
+ if (value !== undefined && value !== null) {
1706
+ this.style.msImeAlign = value;
1707
+ }
1708
+
1709
+ return this;
1710
+ }
1711
+
1712
+ msOverflowStyle(value) {
1713
+ if (value !== undefined && value !== null) {
1714
+ this.style.msOverflowStyle = value;
1715
+ }
1716
+
1717
+ return this;
1718
+ }
1719
+
1720
+ msScrollChaining(value) {
1721
+ if (value !== undefined && value !== null) {
1722
+ this.style.msScrollChaining = value;
1723
+ }
1724
+
1725
+ return this;
1726
+ }
1727
+
1728
+ msScrollLimit(value) {
1729
+ if (value !== undefined && value !== null) {
1730
+ this.style.msScrollLimit = value;
1731
+ }
1732
+
1733
+ return this;
1734
+ }
1735
+
1736
+ msScrollLimitXMax(value) {
1737
+ if (value !== undefined && value !== null) {
1738
+ this.style.msScrollLimitXMax = value;
1739
+ }
1740
+
1741
+ return this;
1742
+ }
1743
+
1744
+ msScrollLimitXMin(value) {
1745
+ if (value !== undefined && value !== null) {
1746
+ this.style.msScrollLimitXMin = value;
1747
+ }
1748
+
1749
+ return this;
1750
+ }
1751
+
1752
+ msScrollLimitYMax(value) {
1753
+ if (value !== undefined && value !== null) {
1754
+ this.style.msScrollLimitYMax = value;
1755
+ }
1756
+
1757
+ return this;
1758
+ }
1759
+
1760
+ msScrollLimitYMin(value) {
1761
+ if (value !== undefined && value !== null) {
1762
+ this.style.msScrollLimitYMin = value;
1763
+ }
1764
+
1765
+ return this;
1766
+ }
1767
+
1768
+ msScrollRails(value) {
1769
+ if (value !== undefined && value !== null) {
1770
+ this.style.msScrollRails = value;
1771
+ }
1772
+
1773
+ return this;
1774
+ }
1775
+
1776
+ msScrollSnapPointsX(value) {
1777
+ if (value !== undefined && value !== null) {
1778
+ this.style.msScrollSnapPointsX = value;
1779
+ }
1780
+
1781
+ return this;
1782
+ }
1783
+
1784
+ msScrollSnapPointsY(value) {
1785
+ if (value !== undefined && value !== null) {
1786
+ this.style.msScrollSnapPointsY = value;
1787
+ }
1788
+
1789
+ return this;
1790
+ }
1791
+
1792
+ msScrollSnapType(value) {
1793
+ if (value !== undefined && value !== null) {
1794
+ this.style.msScrollSnapType = value;
1795
+ }
1796
+
1797
+ return this;
1798
+ }
1799
+
1800
+ msScrollSnapX(value) {
1801
+ if (value !== undefined && value !== null) {
1802
+ this.style.msScrollSnapX = value;
1803
+ }
1804
+
1805
+ return this;
1806
+ }
1807
+
1808
+ msScrollSnapY(value) {
1809
+ if (value !== undefined && value !== null) {
1810
+ this.style.msScrollSnapY = value;
1811
+ }
1812
+
1813
+ return this;
1814
+ }
1815
+
1816
+ msScrollTranslation(value) {
1817
+ if (value !== undefined && value !== null) {
1818
+ this.style.msScrollTranslation = value;
1819
+ }
1820
+
1821
+ return this;
1822
+ }
1823
+
1824
+ msTextCombineHorizontal(value) {
1825
+ if (value !== undefined && value !== null) {
1826
+ this.style.msTextCombineHorizontal = value;
1827
+ }
1828
+
1829
+ return this;
1830
+ }
1831
+
1832
+ msTextSizeAdjust(value) {
1833
+ if (value !== undefined && value !== null) {
1834
+ this.style.msTextSizeAdjust = value;
1835
+ }
1836
+
1837
+ return this;
1838
+ }
1839
+
1840
+ msTouchAction(value) {
1841
+ if (value !== undefined && value !== null) {
1842
+ this.style.msTouchAction = value;
1843
+ }
1844
+
1845
+ return this;
1846
+ }
1847
+
1848
+ msTouchSelect(value) {
1849
+ if (value !== undefined && value !== null) {
1850
+ this.style.msTouchSelect = value;
1851
+ }
1852
+
1853
+ return this;
1854
+ }
1855
+
1856
+ msUserSelect(value) {
1857
+ if (value !== undefined && value !== null) {
1858
+ this.style.msUserSelect = value;
1859
+ }
1860
+
1861
+ return this;
1862
+ }
1863
+
1864
+ msWrapFlow(value) {
1865
+ if (value !== undefined && value !== null) {
1866
+ this.style.msWrapFlow = value;
1867
+ }
1868
+
1869
+ return this;
1870
+ }
1871
+
1872
+ msWrapMargin(value) {
1873
+ if (value !== undefined && value !== null) {
1874
+ this.style.msWrapMargin = value;
1875
+ }
1876
+
1877
+ return this;
1878
+ }
1879
+
1880
+ msWrapThrough(value) {
1881
+ if (value !== undefined && value !== null) {
1882
+ this.style.msWrapThrough = value;
1883
+ }
1884
+
1885
+ return this;
1886
+ }
1887
+
1888
+ objectFit(value) {
1889
+ if (value !== undefined && value !== null) {
1890
+ this.style.objectFit = value;
1891
+ }
1892
+
1893
+ return this;
1894
+ }
1895
+
1896
+ objectPosition(value) {
1897
+ if (value !== undefined && value !== null) {
1898
+ this.style.objectPosition = value;
1899
+ }
1900
+
1901
+ return this;
1902
+ }
1903
+
1904
+ opacity(value) {
1905
+ if (value !== undefined && value !== null) {
1906
+ this.style.opacity = value;
1907
+ }
1908
+
1909
+ return this;
1910
+ }
1911
+
1912
+ order(value) {
1913
+ if (value !== undefined && value !== null) {
1914
+ this.style.order = value;
1915
+ }
1916
+
1917
+ return this;
1918
+ }
1919
+
1920
+ orphans(value) {
1921
+ if (value !== undefined && value !== null) {
1922
+ this.style.orphans = value;
1923
+ }
1924
+
1925
+ return this;
1926
+ }
1927
+
1928
+ outline(value) {
1929
+ if (value !== undefined && value !== null) {
1930
+ this.style.outline = value;
1931
+ }
1932
+
1933
+ return this;
1934
+ }
1935
+
1936
+ outlineColor(value) {
1937
+ if (value !== undefined && value !== null) {
1938
+ this.style.outlineColor = value;
1939
+ }
1940
+
1941
+ return this;
1942
+ }
1943
+
1944
+ outlineOffset(value) {
1945
+ if (value !== undefined && value !== null) {
1946
+ this.style.outlineOffset = value;
1947
+ }
1948
+
1949
+ return this;
1950
+ }
1951
+
1952
+ outlineStyle(value) {
1953
+ if (value !== undefined && value !== null) {
1954
+ this.style.outlineStyle = value;
1955
+ }
1956
+
1957
+ return this;
1958
+ }
1959
+
1960
+ outlineWidth(value) {
1961
+ if (value !== undefined && value !== null) {
1962
+ this.style.outlineWidth = value;
1963
+ }
1964
+
1965
+ return this;
1966
+ }
1967
+
1968
+ overflow(value) {
1969
+ if (value !== undefined && value !== null) {
1970
+ this.style.overflow = value;
1971
+ }
1972
+
1973
+ return this;
1974
+ }
1975
+
1976
+ overflowX(value) {
1977
+ if (value !== undefined && value !== null) {
1978
+ this.style.overflowX = value;
1979
+ }
1980
+
1981
+ return this;
1982
+ }
1983
+
1984
+ overflowY(value) {
1985
+ if (value !== undefined && value !== null) {
1986
+ this.style.overflowY = value;
1987
+ }
1988
+
1989
+ return this;
1990
+ }
1991
+
1992
+ padding(value, unit = "px") {
1993
+ if (value !== undefined && value !== null) {
1994
+ this.style.padding = toUnit(value, unit);
1995
+ }
1996
+
1997
+ return this;
1998
+ }
1999
+
2000
+ paddingBottom(value, unit = "px") {
2001
+ if (value !== undefined && value !== null) {
2002
+ this.style.paddingBottom = toUnit(value, unit);
2003
+ }
2004
+
2005
+ return this;
2006
+ }
2007
+
2008
+ paddingLeft(value, unit = "px") {
2009
+ if (value !== undefined && value !== null) {
2010
+ this.style.paddingLeft = toUnit(value, unit);
2011
+ }
2012
+
2013
+ return this;
2014
+ }
2015
+
2016
+ paddingRight(value, unit = "px") {
2017
+ if (value !== undefined && value !== null) {
2018
+ this.style.paddingRight = toUnit(value, unit);
2019
+ }
2020
+
2021
+ return this;
2022
+ }
2023
+
2024
+ paddingTop(value, unit = "px") {
2025
+ if (value !== undefined && value !== null) {
2026
+ this.style.paddingTop = toUnit(value, unit);
2027
+ }
2028
+
2029
+ return this;
2030
+ }
2031
+
2032
+ paddingInlineStart(value, unit = "px") {
2033
+ if (value !== undefined && value !== null) {
2034
+ this.style.paddingInlineStart = toUnit(value, unit);
2035
+ }
2036
+
2037
+ return this;
2038
+ }
2039
+
2040
+ paddingInlineEnd(value, unit = "px") {
2041
+ if (value !== undefined && value !== null) {
2042
+ this.style.paddingInlineEnd = toUnit(value, unit);
2043
+ }
2044
+
2045
+ return this;
2046
+ }
2047
+
2048
+ pageBreakAfter(value) {
2049
+ if (value !== undefined && value !== null) {
2050
+ this.style.pageBreakAfter = value;
2051
+ }
2052
+
2053
+ return this;
2054
+ }
2055
+
2056
+ pageBreakBefore(value) {
2057
+ if (value !== undefined && value !== null) {
2058
+ this.style.pageBreakBefore = value;
2059
+ }
2060
+
2061
+ return this;
2062
+ }
2063
+
2064
+ pageBreakInside(value) {
2065
+ if (value !== undefined && value !== null) {
2066
+ this.style.pageBreakInside = value;
2067
+ }
2068
+
2069
+ return this;
2070
+ }
2071
+
2072
+ penAction(value) {
2073
+ if (value !== undefined && value !== null) {
2074
+ this.style.penAction = value;
2075
+ }
2076
+
2077
+ return this;
2078
+ }
2079
+
2080
+ perspective(value) {
2081
+ if (value !== undefined && value !== null) {
2082
+ this.style.perspective = value;
2083
+ }
2084
+
2085
+ return this;
2086
+ }
2087
+
2088
+ perspectiveOrigin(value) {
2089
+ if (value !== undefined && value !== null) {
2090
+ this.style.perspectiveOrigin = value;
2091
+ }
2092
+
2093
+ return this;
2094
+ }
2095
+
2096
+ pointerEvents(value) {
2097
+ if (value !== undefined && value !== null) {
2098
+ this.style.pointerEvents = value;
2099
+ }
2100
+
2101
+ return this;
2102
+ }
2103
+
2104
+ position(value) {
2105
+ if (value !== undefined && value !== null) {
2106
+ this.style.position = value;
2107
+ }
2108
+
2109
+ return this;
2110
+ }
2111
+
2112
+ quotes(value) {
2113
+ if (value !== undefined && value !== null) {
2114
+ this.style.quotes = value;
2115
+ }
2116
+
2117
+ return this;
2118
+ }
2119
+
2120
+ resize(value) {
2121
+ if (value !== undefined && value !== null) {
2122
+ this.style.resize = value;
2123
+ }
2124
+
2125
+ return this;
2126
+ }
2127
+
2128
+ right(value, unit = "px") {
2129
+ if (value !== undefined && value !== null) {
2130
+ this.style.right = toUnit(value, unit);
2131
+ }
2132
+
2133
+ return this;
2134
+ }
2135
+
2136
+ rotate(value) {
2137
+ if (value !== undefined && value !== null) {
2138
+ this.style.rotate = value;
2139
+ }
2140
+
2141
+ return this;
2142
+ }
2143
+
2144
+ rowGap(value) {
2145
+ if (value !== undefined && value !== null) {
2146
+ this.style.rowGap = value;
2147
+ }
2148
+
2149
+ return this;
2150
+ }
2151
+
2152
+ rubyAlign(value) {
2153
+ if (value !== undefined && value !== null) {
2154
+ this.style.rubyAlign = value;
2155
+ }
2156
+
2157
+ return this;
2158
+ }
2159
+
2160
+ rubyOverhang(value) {
2161
+ if (value !== undefined && value !== null) {
2162
+ this.style.rubyOverhang = value;
2163
+ }
2164
+
2165
+ return this;
2166
+ }
2167
+
2168
+ rubyPosition(value) {
2169
+ if (value !== undefined && value !== null) {
2170
+ this.style.rubyPosition = value;
2171
+ }
2172
+
2173
+ return this;
2174
+ }
2175
+
2176
+ scale(value) {
2177
+ if (value !== undefined && value !== null) {
2178
+ this.style.scale = value;
2179
+ }
2180
+
2181
+ return this;
2182
+ }
2183
+
2184
+ custom(name, value) {
2185
+ this.style[name] = value;
2186
+ return this;
2187
+ }
2188
+
2189
+ scrollBarWidth(value, unit) {
2190
+ var _a, _b;
2191
+
2192
+ var _c, _d;
2193
+
2194
+ this.style["scrollbar-width"] = toUnit(value, unit);
2195
+ (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
2196
+ const ws = (_b = (_d = this.style.subclasses)["::-webkit-scrollbar"]) !== null && _b !== void 0 ? _b : _d["::-webkit-scrollbar"] = {};
2197
+ ws.width = toUnit(value, unit);
2198
+ return this;
2199
+ }
2200
+
2201
+ scrollBarColor(thumb, bg) {
2202
+ var _a, _b;
2203
+
2204
+ var _c, _d;
2205
+
2206
+ this.style["scrollbar-color"] = `${thumb} ${bg}`;
2207
+ (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
2208
+ const ws = (_b = (_d = this.style.subclasses)["::-webkit-scrollbar-thumb"]) !== null && _b !== void 0 ? _b : _d["::-webkit-scrollbar-thumb"] = {};
2209
+ ws.backgroundColor = bg;
2210
+ ws.borderRadius = "20px";
2211
+ ws.border = `3px solid ${thumb}`;
2212
+ return this;
2213
+ }
2214
+
2215
+ stopColor(value) {
2216
+ if (value !== undefined && value !== null) {
2217
+ this.style.stopColor = value;
2218
+ }
2219
+
2220
+ return this;
2221
+ }
2222
+
2223
+ stopOpacity(value) {
2224
+ if (value !== undefined && value !== null) {
2225
+ this.style.stopOpacity = value;
2226
+ }
2227
+
2228
+ return this;
2229
+ }
2230
+
2231
+ stroke(value) {
2232
+ if (value !== undefined && value !== null) {
2233
+ this.style.stroke = value;
2234
+ }
2235
+
2236
+ return this;
2237
+ }
2238
+
2239
+ strokeDasharray(value) {
2240
+ if (value !== undefined && value !== null) {
2241
+ this.style.strokeDasharray = value;
2242
+ }
2243
+
2244
+ return this;
2245
+ }
2246
+
2247
+ strokeDashoffset(value) {
2248
+ if (value !== undefined && value !== null) {
2249
+ this.style.strokeDashoffset = value;
2250
+ }
2251
+
2252
+ return this;
2253
+ }
2254
+
2255
+ strokeLinecap(value) {
2256
+ if (value !== undefined && value !== null) {
2257
+ this.style.strokeLinecap = value;
2258
+ }
2259
+
2260
+ return this;
2261
+ }
2262
+
2263
+ strokeLinejoin(value) {
2264
+ if (value !== undefined && value !== null) {
2265
+ this.style.strokeLinejoin = value;
2266
+ }
2267
+
2268
+ return this;
2269
+ }
2270
+
2271
+ strokeMiterlimit(value) {
2272
+ if (value !== undefined && value !== null) {
2273
+ this.style.strokeMiterlimit = value;
2274
+ }
2275
+
2276
+ return this;
2277
+ }
2278
+
2279
+ strokeOpacity(value) {
2280
+ if (value !== undefined && value !== null) {
2281
+ this.style.strokeOpacity = value;
2282
+ }
2283
+
2284
+ return this;
2285
+ }
2286
+
2287
+ strokeWidth(value) {
2288
+ if (value !== undefined && value !== null) {
2289
+ this.style.strokeWidth = value;
2290
+ }
2291
+
2292
+ return this;
2293
+ }
2294
+
2295
+ tableLayout(value) {
2296
+ if (value !== undefined && value !== null) {
2297
+ this.style.tableLayout = value;
2298
+ }
2299
+
2300
+ return this;
2301
+ }
2302
+
2303
+ textAlign(value) {
2304
+ if (value !== undefined && value !== null) {
2305
+ this.style.textAlign = value;
2306
+ }
2307
+
2308
+ return this;
2309
+ }
2310
+
2311
+ textAlignLast(value) {
2312
+ if (value !== undefined && value !== null) {
2313
+ this.style.textAlignLast = value;
2314
+ }
2315
+
2316
+ return this;
2317
+ }
2318
+
2319
+ textAnchor(value) {
2320
+ if (value !== undefined && value !== null) {
2321
+ this.style.textAnchor = value;
2322
+ }
2323
+
2324
+ return this;
2325
+ }
2326
+
2327
+ textCombineUpright(value) {
2328
+ if (value !== undefined && value !== null) {
2329
+ this.style.textCombineUpright = value;
2330
+ }
2331
+
2332
+ return this;
2333
+ }
2334
+
2335
+ textDecoration(value) {
2336
+ if (value !== undefined && value !== null) {
2337
+ this.style.textDecoration = value;
2338
+ }
2339
+
2340
+ return this;
2341
+ }
2342
+
2343
+ textIndent(value) {
2344
+ if (value !== undefined && value !== null) {
2345
+ this.style.textIndent = value;
2346
+ }
2347
+
2348
+ return this;
2349
+ }
2350
+
2351
+ textJustify(value) {
2352
+ if (value !== undefined && value !== null) {
2353
+ this.style.textJustify = value;
2354
+ }
2355
+
2356
+ return this;
2357
+ }
2358
+
2359
+ textKashida(value) {
2360
+ if (value !== undefined && value !== null) {
2361
+ this.style.textKashida = value;
2362
+ }
2363
+
2364
+ return this;
2365
+ }
2366
+
2367
+ textKashidaSpace(value) {
2368
+ if (value !== undefined && value !== null) {
2369
+ this.style.textKashidaSpace = value;
2370
+ }
2371
+
2372
+ return this;
2373
+ }
2374
+
2375
+ textOverflow(value) {
2376
+ if (value !== undefined && value !== null) {
2377
+ this.style.textOverflow = value;
2378
+ }
2379
+
2380
+ return this;
2381
+ }
2382
+
2383
+ textShadow(value) {
2384
+ if (value !== undefined && value !== null) {
2385
+ this.style.textShadow = value;
2386
+ }
2387
+
2388
+ return this;
2389
+ }
2390
+
2391
+ textTransform(value) {
2392
+ if (value !== undefined && value !== null) {
2393
+ this.style.textTransform = value;
2394
+ }
2395
+
2396
+ return this;
2397
+ }
2398
+
2399
+ textUnderlinePosition(value) {
2400
+ if (value !== undefined && value !== null) {
2401
+ this.style.textUnderlinePosition = value;
2402
+ }
2403
+
2404
+ return this;
2405
+ }
2406
+
2407
+ top(value, unit = "px") {
2408
+ if (value !== undefined && value !== null) {
2409
+ this.style.top = toUnit(value, unit);
2410
+ }
2411
+
2412
+ return this;
2413
+ }
2414
+
2415
+ touchAction(value) {
2416
+ if (value !== undefined && value !== null) {
2417
+ this.style.touchAction = value;
2418
+ }
2419
+
2420
+ return this;
2421
+ }
2422
+
2423
+ transform(value) {
2424
+ if (value !== undefined && value !== null) {
2425
+ this.style.transform = value;
2426
+ }
2427
+
2428
+ return this;
2429
+ }
2430
+
2431
+ transformOrigin(value) {
2432
+ if (value !== undefined && value !== null) {
2433
+ this.style.transformOrigin = value;
2434
+ }
2435
+
2436
+ return this;
2437
+ }
2438
+
2439
+ transformStyle(value) {
2440
+ if (value !== undefined && value !== null) {
2441
+ this.style.transformStyle = value;
2442
+ }
2443
+
2444
+ return this;
2445
+ }
2446
+
2447
+ transition(value) {
2448
+ if (value !== undefined && value !== null) {
2449
+ this.style.transition = value;
2450
+ }
2451
+
2452
+ return this;
2453
+ }
2454
+
2455
+ transitionDelay(value) {
2456
+ if (value !== undefined && value !== null) {
2457
+ this.style.transitionDelay = value;
2458
+ }
2459
+
2460
+ return this;
2461
+ }
2462
+
2463
+ transitionDuration(value) {
2464
+ if (value !== undefined && value !== null) {
2465
+ this.style.transitionDuration = value;
2466
+ }
2467
+
2468
+ return this;
2469
+ }
2470
+
2471
+ transitionProperty(value) {
2472
+ if (value !== undefined && value !== null) {
2473
+ this.style.transitionProperty = value;
2474
+ }
2475
+
2476
+ return this;
2477
+ }
2478
+
2479
+ transitionTimingFunction(value) {
2480
+ if (value !== undefined && value !== null) {
2481
+ this.style.transitionTimingFunction = value;
2482
+ }
2483
+
2484
+ return this;
2485
+ }
2486
+
2487
+ translate(value) {
2488
+ if (value !== undefined && value !== null) {
2489
+ this.style.translate = value;
2490
+ }
2491
+
2492
+ return this;
2493
+ }
2494
+
2495
+ unicodeBidi(value) {
2496
+ if (value !== undefined && value !== null) {
2497
+ this.style.unicodeBidi = value;
2498
+ }
2499
+
2500
+ return this;
2501
+ }
2502
+
2503
+ userSelect(value) {
2504
+ if (value !== undefined && value !== null) {
2505
+ this.style.userSelect = value;
2506
+ }
2507
+
2508
+ return this;
2509
+ }
2510
+
2511
+ userDrag(value) {
2512
+ if (value !== undefined && value !== null) {
2513
+ this.style.userDrag = value;
2514
+ }
2515
+
2516
+ return this;
2517
+ }
2518
+
2519
+ verticalAlign(value) {
2520
+ if (value !== undefined && value !== null) {
2521
+ this.style.verticalAlign = value;
2522
+ }
2523
+
2524
+ return this;
2525
+ }
2526
+
2527
+ visibility(value) {
2528
+ if (value !== undefined && value !== null) {
2529
+ this.style.visibility = value;
2530
+ }
2531
+
2532
+ return this;
2533
+ }
2534
+
2535
+ webkitAlignContent(value) {
2536
+ if (value !== undefined && value !== null) {
2537
+ this.style.webkitAlignContent = value;
2538
+ }
2539
+
2540
+ return this;
2541
+ }
2542
+
2543
+ webkitAlignItems(value) {
2544
+ if (value !== undefined && value !== null) {
2545
+ this.style.webkitAlignItems = value;
2546
+ }
2547
+
2548
+ return this;
2549
+ }
2550
+
2551
+ webkitAlignSelf(value) {
2552
+ if (value !== undefined && value !== null) {
2553
+ this.style.webkitAlignSelf = value;
2554
+ }
2555
+
2556
+ return this;
2557
+ }
2558
+
2559
+ webkitAnimation(value) {
2560
+ if (value !== undefined && value !== null) {
2561
+ this.style.webkitAnimation = value;
2562
+ }
2563
+
2564
+ return this;
2565
+ }
2566
+
2567
+ webkitAnimationDelay(value) {
2568
+ if (value !== undefined && value !== null) {
2569
+ this.style.webkitAnimationDelay = value;
2570
+ }
2571
+
2572
+ return this;
2573
+ }
2574
+
2575
+ webkitAnimationDirection(value) {
2576
+ if (value !== undefined && value !== null) {
2577
+ this.style.webkitAnimationDirection = value;
2578
+ }
2579
+
2580
+ return this;
2581
+ }
2582
+
2583
+ webkitAnimationDuration(value) {
2584
+ if (value !== undefined && value !== null) {
2585
+ this.style.webkitAnimationDuration = value;
2586
+ }
2587
+
2588
+ return this;
2589
+ }
2590
+
2591
+ webkitAnimationFillMode(value) {
2592
+ if (value !== undefined && value !== null) {
2593
+ this.style.webkitAnimationFillMode = value;
2594
+ }
2595
+
2596
+ return this;
2597
+ }
2598
+
2599
+ webkitAnimationIterationCount(value) {
2600
+ if (value !== undefined && value !== null) {
2601
+ this.style.webkitAnimationIterationCount = value;
2602
+ }
2603
+
2604
+ return this;
2605
+ }
2606
+
2607
+ webkitAnimationName(value) {
2608
+ if (value !== undefined && value !== null) {
2609
+ this.style.webkitAnimationName = value;
2610
+ }
2611
+
2612
+ return this;
2613
+ }
2614
+
2615
+ webkitAnimationPlayState(value) {
2616
+ if (value !== undefined && value !== null) {
2617
+ this.style.webkitAnimationPlayState = value;
2618
+ }
2619
+
2620
+ return this;
2621
+ }
2622
+
2623
+ webkitAnimationTimingFunction(value) {
2624
+ if (value !== undefined && value !== null) {
2625
+ this.style.webkitAnimationTimingFunction = value;
2626
+ }
2627
+
2628
+ return this;
2629
+ }
2630
+
2631
+ webkitAppearance(value) {
2632
+ if (value !== undefined && value !== null) {
2633
+ this.style.webkitAppearance = value;
2634
+ }
2635
+
2636
+ return this;
2637
+ }
2638
+
2639
+ webkitBackfaceVisibility(value) {
2640
+ if (value !== undefined && value !== null) {
2641
+ this.style.webkitBackfaceVisibility = value;
2642
+ }
2643
+
2644
+ return this;
2645
+ }
2646
+
2647
+ webkitBackgroundClip(value) {
2648
+ if (value !== undefined && value !== null) {
2649
+ this.style.webkitBackgroundClip = value;
2650
+ }
2651
+
2652
+ return this;
2653
+ }
2654
+
2655
+ webkitBackgroundOrigin(value) {
2656
+ if (value !== undefined && value !== null) {
2657
+ this.style.webkitBackgroundOrigin = value;
2658
+ }
2659
+
2660
+ return this;
2661
+ }
2662
+
2663
+ webkitBackgroundSize(value) {
2664
+ if (value !== undefined && value !== null) {
2665
+ this.style.webkitBackgroundSize = value;
2666
+ }
2667
+
2668
+ return this;
2669
+ }
2670
+
2671
+ webkitBorderBottomLeftRadius(value) {
2672
+ if (value !== undefined && value !== null) {
2673
+ this.style.webkitBorderBottomLeftRadius = value;
2674
+ }
2675
+
2676
+ return this;
2677
+ }
2678
+
2679
+ webkitBorderBottomRightRadius(value) {
2680
+ if (value !== undefined && value !== null) {
2681
+ this.style.webkitBorderBottomRightRadius = value;
2682
+ }
2683
+
2684
+ return this;
2685
+ }
2686
+
2687
+ webkitBorderImage(value) {
2688
+ if (value !== undefined && value !== null) {
2689
+ this.style.webkitBorderImage = value;
2690
+ }
2691
+
2692
+ return this;
2693
+ }
2694
+
2695
+ webkitBorderRadius(value) {
2696
+ if (value !== undefined && value !== null) {
2697
+ this.style.webkitBorderRadius = value;
2698
+ }
2699
+
2700
+ return this;
2701
+ }
2702
+
2703
+ webkitBorderTopLeftRadius(value) {
2704
+ if (value !== undefined && value !== null) {
2705
+ this.style.webkitBorderTopLeftRadius = value;
2706
+ }
2707
+
2708
+ return this;
2709
+ }
2710
+
2711
+ webkitBorderTopRightRadius(value) {
2712
+ if (value !== undefined && value !== null) {
2713
+ this.style.webkitBorderTopRightRadius = value;
2714
+ }
2715
+
2716
+ return this;
2717
+ }
2718
+
2719
+ webkitBoxAlign(value) {
2720
+ if (value !== undefined && value !== null) {
2721
+ this.style.webkitBoxAlign = value;
2722
+ }
2723
+
2724
+ return this;
2725
+ }
2726
+
2727
+ webkitBoxDirection(value) {
2728
+ if (value !== undefined && value !== null) {
2729
+ this.style.webkitBoxDirection = value;
2730
+ }
2731
+
2732
+ return this;
2733
+ }
2734
+
2735
+ webkitBoxFlex(value) {
2736
+ if (value !== undefined && value !== null) {
2737
+ this.style.webkitBoxFlex = value;
2738
+ }
2739
+
2740
+ return this;
2741
+ }
2742
+
2743
+ webkitBoxOrdinalGroup(value) {
2744
+ if (value !== undefined && value !== null) {
2745
+ this.style.webkitBoxOrdinalGroup = value;
2746
+ }
2747
+
2748
+ return this;
2749
+ }
2750
+
2751
+ webkitBoxOrient(value) {
2752
+ if (value !== undefined && value !== null) {
2753
+ this.style.webkitBoxOrient = value;
2754
+ }
2755
+
2756
+ return this;
2757
+ }
2758
+
2759
+ webkitBoxPack(value) {
2760
+ if (value !== undefined && value !== null) {
2761
+ this.style.webkitBoxPack = value;
2762
+ }
2763
+
2764
+ return this;
2765
+ }
2766
+
2767
+ webkitBoxSizing(value) {
2768
+ if (value !== undefined && value !== null) {
2769
+ this.style.webkitBoxSizing = value;
2770
+ }
2771
+
2772
+ return this;
2773
+ }
2774
+
2775
+ webkitColumnBreakAfter(value) {
2776
+ if (value !== undefined && value !== null) {
2777
+ this.style.webkitColumnBreakAfter = value;
2778
+ }
2779
+
2780
+ return this;
2781
+ }
2782
+
2783
+ webkitColumnBreakBefore(value) {
2784
+ if (value !== undefined && value !== null) {
2785
+ this.style.webkitColumnBreakBefore = value;
2786
+ }
2787
+
2788
+ return this;
2789
+ }
2790
+
2791
+ webkitColumnBreakInside(value) {
2792
+ if (value !== undefined && value !== null) {
2793
+ this.style.webkitColumnBreakInside = value;
2794
+ }
2795
+
2796
+ return this;
2797
+ }
2798
+
2799
+ webkitColumnCount(value) {
2800
+ if (value !== undefined && value !== null) {
2801
+ this.style.webkitColumnCount = value;
2802
+ }
2803
+
2804
+ return this;
2805
+ }
2806
+
2807
+ webkitColumnGap(value) {
2808
+ if (value !== undefined && value !== null) {
2809
+ this.style.webkitColumnGap = value;
2810
+ }
2811
+
2812
+ return this;
2813
+ }
2814
+
2815
+ webkitColumnRule(value) {
2816
+ if (value !== undefined && value !== null) {
2817
+ this.style.webkitColumnRule = value;
2818
+ }
2819
+
2820
+ return this;
2821
+ }
2822
+
2823
+ webkitColumnRuleColor(value) {
2824
+ if (value !== undefined && value !== null) {
2825
+ this.style.webkitColumnRuleColor = value;
2826
+ }
2827
+
2828
+ return this;
2829
+ }
2830
+
2831
+ webkitColumnRuleStyle(value) {
2832
+ if (value !== undefined && value !== null) {
2833
+ this.style.webkitColumnRuleStyle = value;
2834
+ }
2835
+
2836
+ return this;
2837
+ }
2838
+
2839
+ webkitColumnRuleWidth(value) {
2840
+ if (value !== undefined && value !== null) {
2841
+ this.style.webkitColumnRuleWidth = value;
2842
+ }
2843
+
2844
+ return this;
2845
+ }
2846
+
2847
+ webkitColumnSpan(value) {
2848
+ if (value !== undefined && value !== null) {
2849
+ this.style.webkitColumnSpan = value;
2850
+ }
2851
+
2852
+ return this;
2853
+ }
2854
+
2855
+ webkitColumnWidth(value) {
2856
+ if (value !== undefined && value !== null) {
2857
+ this.style.webkitColumnWidth = value;
2858
+ }
2859
+
2860
+ return this;
2861
+ }
2862
+
2863
+ webkitColumns(value) {
2864
+ if (value !== undefined && value !== null) {
2865
+ this.style.webkitColumns = value;
2866
+ }
2867
+
2868
+ return this;
2869
+ }
2870
+
2871
+ webkitFilter(value) {
2872
+ if (value !== undefined && value !== null) {
2873
+ this.style.webkitFilter = value;
2874
+ }
2875
+
2876
+ return this;
2877
+ }
2878
+
2879
+ webkitFlex(value) {
2880
+ if (value !== undefined && value !== null) {
2881
+ this.style.webkitFlex = value;
2882
+ }
2883
+
2884
+ return this;
2885
+ }
2886
+
2887
+ webkitFlexBasis(value) {
2888
+ if (value !== undefined && value !== null) {
2889
+ this.style.webkitFlexBasis = value;
2890
+ }
2891
+
2892
+ return this;
2893
+ }
2894
+
2895
+ webkitFlexDirection(value) {
2896
+ if (value !== undefined && value !== null) {
2897
+ this.style.webkitFlexDirection = value;
2898
+ }
2899
+
2900
+ return this;
2901
+ }
2902
+
2903
+ webkitFlexFlow(value) {
2904
+ if (value !== undefined && value !== null) {
2905
+ this.style.webkitFlexFlow = value;
2906
+ }
2907
+
2908
+ return this;
2909
+ }
2910
+
2911
+ webkitFlexGrow(value) {
2912
+ if (value !== undefined && value !== null) {
2913
+ this.style.webkitFlexGrow = value;
2914
+ }
2915
+
2916
+ return this;
2917
+ }
2918
+
2919
+ webkitFlexShrink(value) {
2920
+ if (value !== undefined && value !== null) {
2921
+ this.style.webkitFlexShrink = value;
2922
+ }
2923
+
2924
+ return this;
2925
+ }
2926
+
2927
+ webkitFlexWrap(value) {
2928
+ if (value !== undefined && value !== null) {
2929
+ this.style.webkitFlexWrap = value;
2930
+ }
2931
+
2932
+ return this;
2933
+ }
2934
+
2935
+ webkitJustifyContent(value) {
2936
+ if (value !== undefined && value !== null) {
2937
+ this.style.webkitJustifyContent = value;
2938
+ }
2939
+
2940
+ return this;
2941
+ }
2942
+
2943
+ webkitOrder(value) {
2944
+ if (value !== undefined && value !== null) {
2945
+ this.style.webkitOrder = value;
2946
+ }
2947
+
2948
+ return this;
2949
+ }
2950
+
2951
+ webkitPerspective(value) {
2952
+ if (value !== undefined && value !== null) {
2953
+ this.style.webkitPerspective = value;
2954
+ }
2955
+
2956
+ return this;
2957
+ }
2958
+
2959
+ webkitPerspectiveOrigin(value) {
2960
+ if (value !== undefined && value !== null) {
2961
+ this.style.webkitPerspectiveOrigin = value;
2962
+ }
2963
+
2964
+ return this;
2965
+ }
2966
+
2967
+ webkitTapHighlightColor(value) {
2968
+ if (value !== undefined && value !== null) {
2969
+ this.style.webkitTapHighlightColor = value;
2970
+ }
2971
+
2972
+ return this;
2973
+ }
2974
+
2975
+ webkitTextFillColor(value) {
2976
+ if (value !== undefined && value !== null) {
2977
+ this.style.webkitTextFillColor = value;
2978
+ }
2979
+
2980
+ return this;
2981
+ }
2982
+
2983
+ webkitTextSizeAdjust(value) {
2984
+ if (value !== undefined && value !== null) {
2985
+ this.style.webkitTextSizeAdjust = value;
2986
+ }
2987
+
2988
+ return this;
2989
+ }
2990
+
2991
+ webkitTextStroke(value) {
2992
+ if (value !== undefined && value !== null) {
2993
+ this.style.webkitTextStroke = value;
2994
+ }
2995
+
2996
+ return this;
2997
+ }
2998
+
2999
+ webkitTextStrokeColor(value) {
3000
+ if (value !== undefined && value !== null) {
3001
+ this.style.webkitTextStrokeColor = value;
3002
+ }
3003
+
3004
+ return this;
3005
+ }
3006
+
3007
+ webkitTextStrokeWidth(value) {
3008
+ if (value !== undefined && value !== null) {
3009
+ this.style.webkitTextStrokeWidth = value;
3010
+ }
3011
+
3012
+ return this;
3013
+ }
3014
+
3015
+ webkitTransform(value) {
3016
+ if (value !== undefined && value !== null) {
3017
+ this.style.webkitTransform = value;
3018
+ }
3019
+
3020
+ return this;
3021
+ }
3022
+
3023
+ webkitTransformOrigin(value) {
3024
+ if (value !== undefined && value !== null) {
3025
+ this.style.webkitTransformOrigin = value;
3026
+ }
3027
+
3028
+ return this;
3029
+ }
3030
+
3031
+ webkitTransformStyle(value) {
3032
+ if (value !== undefined && value !== null) {
3033
+ this.style.webkitTransformStyle = value;
3034
+ }
3035
+
3036
+ return this;
3037
+ }
3038
+
3039
+ webkitTransition(value) {
3040
+ if (value !== undefined && value !== null) {
3041
+ this.style.webkitTransition = value;
3042
+ }
3043
+
3044
+ return this;
3045
+ }
3046
+
3047
+ webkitTransitionDelay(value) {
3048
+ if (value !== undefined && value !== null) {
3049
+ this.style.webkitTransitionDelay = value;
3050
+ }
3051
+
3052
+ return this;
3053
+ }
3054
+
3055
+ webkitTransitionDuration(value) {
3056
+ if (value !== undefined && value !== null) {
3057
+ this.style.webkitTransitionDuration = value;
3058
+ }
3059
+
3060
+ return this;
3061
+ }
3062
+
3063
+ webkitTransitionProperty(value) {
3064
+ if (value !== undefined && value !== null) {
3065
+ this.style.webkitTransitionProperty = value;
3066
+ }
3067
+
3068
+ return this;
3069
+ }
3070
+
3071
+ webkitTransitionTimingFunction(value) {
3072
+ if (value !== undefined && value !== null) {
3073
+ this.style.webkitTransitionTimingFunction = value;
3074
+ }
3075
+
3076
+ return this;
3077
+ }
3078
+
3079
+ webkitUserModify(value) {
3080
+ if (value !== undefined && value !== null) {
3081
+ this.style.webkitUserModify = value;
3082
+ }
3083
+
3084
+ return this;
3085
+ }
3086
+
3087
+ webkitUserSelect(value) {
3088
+ if (value !== undefined && value !== null) {
3089
+ this.style.webkitUserSelect = value;
3090
+ }
3091
+
3092
+ return this;
3093
+ }
3094
+
3095
+ webkitUserDrag(value) {
3096
+ if (value !== undefined && value !== null) {
3097
+ this.style.webkitUserDrag = value;
3098
+ }
3099
+
3100
+ return this;
3101
+ }
3102
+
3103
+ webkitWritingMode(value) {
3104
+ if (value !== undefined && value !== null) {
3105
+ this.style.webkitWritingMode = value;
3106
+ }
3107
+
3108
+ return this;
3109
+ }
3110
+
3111
+ whiteSpace(value) {
3112
+ if (value !== undefined && value !== null) {
3113
+ this.style.whiteSpace = value;
3114
+ }
3115
+
3116
+ return this;
3117
+ }
3118
+
3119
+ widows(value) {
3120
+ if (value !== undefined && value !== null) {
3121
+ this.style.widows = value;
3122
+ }
3123
+
3124
+ return this;
3125
+ }
3126
+
3127
+ width(value, unit = "px") {
3128
+ if (value !== undefined && value !== null) {
3129
+ this.style.width = toUnit(value, unit);
3130
+ }
3131
+
3132
+ return this;
3133
+ }
3134
+
3135
+ wordBreak(value) {
3136
+ if (value !== undefined && value !== null) {
3137
+ this.style.wordBreak = value;
3138
+ }
3139
+
3140
+ return this;
3141
+ }
3142
+
3143
+ wordSpacing(value) {
3144
+ if (value !== undefined && value !== null) {
3145
+ this.style.wordSpacing = value;
3146
+ }
3147
+
3148
+ return this;
3149
+ }
3150
+
3151
+ wordWrap(value) {
3152
+ if (value !== undefined && value !== null) {
3153
+ this.style.wordWrap = value;
3154
+ }
3155
+
3156
+ return this;
3157
+ }
3158
+
3159
+ writingMode(value) {
3160
+ if (value !== undefined && value !== null) {
3161
+ this.style.writingMode = value;
3162
+ }
3163
+
3164
+ return this;
3165
+ }
3166
+
3167
+ zIndex(value) {
3168
+ if (value !== undefined && value !== null) {
3169
+ this.style.zIndex = value;
3170
+ }
3171
+
3172
+ return this;
3173
+ }
3174
+
3175
+ zoom(value) {
3176
+ if (value !== undefined && value !== null) {
3177
+ this.style.zoom = value;
3178
+ }
3179
+
3180
+ return this;
3181
+ }
3182
+
3183
+ displayFlex() {
3184
+ this.style.display = "flex";
3185
+ return this;
3186
+ }
3187
+
3188
+ flexStretch() {
3189
+ return this.flex("1 1 100%");
3190
+ }
3191
+
3192
+ roundBorderFull() {
3193
+ this.style.borderRadius = "9999px";
3194
+ return this;
3195
+ }
3196
+
3197
+ subclass(name, style) {
3198
+ var _a;
3199
+
3200
+ var _b;
3201
+
3202
+ if (style instanceof AtomStyleRules) {
3203
+ style = style.style;
3204
+ }
3205
+
3206
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
3207
+ sc[name] = style;
3208
+ return this;
3209
+ }
3210
+
3211
+ childSubclass(name, style) {
3212
+ return this.subclass(" > " + name, style);
3213
+ }
3214
+
3215
+ subclasses(...styles) {
3216
+ var _a;
3217
+
3218
+ var _b;
3219
+
3220
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
3221
+
3222
+ for (const iterator of styles) {
3223
+ sc[iterator.name] = iterator.style;
3224
+ }
3225
+
3226
+ return this;
3227
+ }
3228
+
3229
+ childSubclasses(...styles) {
3230
+ var _a;
3231
+
3232
+ var _b;
3233
+
3234
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
3235
+
3236
+ for (const iterator of styles) {
3237
+ sc[" > " + iterator.name] = iterator.style;
3238
+ }
3239
+
3240
+ return this;
3241
+ }
3242
+
3243
+ roundBox(bgColor, padding = 5, radius = 5, unit = "px") {
3244
+ this.style.padding = toUnit(padding, unit);
3245
+ this.style.borderRadius = toUnit(radius, unit);
3246
+ this.style.borderColor = bgColor;
3247
+ this.style.backgroundColor = bgColor;
3248
+ return this;
3249
+ }
3250
+
3251
+ maximizeAbsolute() {
3252
+ this.style.position = "absolute";
3253
+ this.style.left = 0;
3254
+ this.style.top = 0;
3255
+ this.style.bottom = 0;
3256
+ this.style.right = 0;
3257
+ return this;
3258
+ }
3259
+
3260
+ setRect(position, {
3261
+ top,
3262
+ left,
3263
+ right,
3264
+ bottom,
3265
+ width,
3266
+ height
3267
+ } = {}, unit = "px") {
3268
+ this.style.position = position;
3269
+
3270
+ if (typeof top !== "undefined") {
3271
+ this.style.top = toUnit(top, unit);
3272
+ }
3273
+
3274
+ if (typeof left !== "undefined") {
3275
+ this.style.left = toUnit(left, unit);
3276
+ }
3277
+
3278
+ if (typeof width !== "undefined") {
3279
+ this.style.width = toUnit(width, unit);
3280
+ }
3281
+
3282
+ if (typeof height !== "undefined") {
3283
+ this.style.height = toUnit(height, unit);
3284
+ }
3285
+
3286
+ if (typeof right !== "undefined") {
3287
+ this.style.right = toUnit(right, unit);
3288
+ }
3289
+
3290
+ if (typeof bottom !== "undefined") {
3291
+ this.style.bottom = toUnit(bottom, unit);
3292
+ }
3293
+
3294
+ return this;
3295
+ }
3296
+
3297
+ absolutePosition(rect = {}, unit = "px") {
3298
+ return this.setRect("absolute", rect, unit);
3299
+ }
3300
+
3301
+ relativePosition(rect = {}, unit = "px") {
3302
+ return this.setRect("relative", rect, unit);
3303
+ }
3304
+
3305
+ absoluteDockTop(height, unit = "px") {
3306
+ this.style.position = "absolute";
3307
+ this.style.left = 0;
3308
+ this.style.top = 0;
3309
+ this.style.right = 0;
3310
+ this.style.height = toUnit(height, unit);
3311
+ return this;
3312
+ }
3313
+
3314
+ absoluteDockBottom(top, unit = "px") {
3315
+ this.style.position = "absolute";
3316
+ this.style.left = 0;
3317
+ this.style.bottom = 0;
3318
+ this.style.right = 0;
3319
+ this.style.top = toUnit(top, unit);
3320
+ return this;
3321
+ }
3322
+
3323
+ defaultBoxShadow() {
3324
+ this.style.boxShadow = "rgba(50, 50, 105, 0.07) 0px 2px 5px 0px, rgba(0, 0, 0, 0.03) 0px 1px 1px 0px;";
3325
+ this.style.border = "solid 1px rgba(0, 0, 0, 0.05)";
3326
+ return this;
3327
+ }
3328
+
3329
+ textEllipsis() {
3330
+ this.style.overflow = "hidden";
3331
+ this.style.whiteSpace = "nowrap";
3332
+ this.style.textOverflow = "ellipsis";
3333
+ return this;
3334
+ }
3335
+
3336
+ hover(style) {
3337
+ var _a;
3338
+
3339
+ var _b;
3340
+
3341
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
3342
+ sc[":hover"] = Object.assign(Object.assign({}, sc[":hover"]), style.style);
3343
+ return this;
3344
+ }
3345
+
3346
+ focus(style) {
3347
+ var _a;
3348
+
3349
+ var _b;
3350
+
3351
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
3352
+ sc[":focus"] = Object.assign(Object.assign({}, sc[":focus"]), style.style);
3353
+ return this;
3354
+ }
3355
+
3356
+ hoverBackgroundColor(color) {
3357
+ var _a, _b;
3358
+
3359
+ var _c;
3360
+
3361
+ const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
3362
+ const hover = (_b = sc[":hover"]) !== null && _b !== void 0 ? _b : sc[":hover"] = {};
3363
+ hover.backgroundColor = color;
3364
+ return this;
3365
+ }
3366
+
3367
+ hoverColor(color) {
3368
+ var _a, _b;
3369
+
3370
+ var _c;
3371
+
3372
+ const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
3373
+ const hover = (_b = sc[":hover"]) !== null && _b !== void 0 ? _b : sc[":hover"] = {};
3374
+ hover.color = color;
3375
+ return this;
3376
+ }
3377
+
3378
+ and(...styles) {
3379
+ var _a;
3380
+
3381
+ var _b;
3382
+
3383
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
3384
+
3385
+ for (const style of styles) {
3386
+ sc[style.name] = style.style;
3387
+ }
3388
+
3389
+ return this;
3390
+ }
3391
+
3392
+ nested(...styles) {
3393
+ var _a;
3394
+
3395
+ var _b;
3396
+
3397
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
3398
+
3399
+ for (const style of styles) {
3400
+ sc[" " + style.name] = style.style;
3401
+ }
3402
+
3403
+ return this;
3404
+ }
3405
+
3406
+ child(...styles) {
3407
+ var _a;
3408
+
3409
+ var _b;
3410
+
3411
+ const sc = (_a = (_b = this.style).subclasses) !== null && _a !== void 0 ? _a : _b.subclasses = {};
3412
+
3413
+ for (const style of styles) {
3414
+ sc[" > " + style.name] = style.style;
3415
+ }
3416
+
3417
+ return this;
3418
+ }
3419
+
3420
+ merge(...styles) {
3421
+ for (const {
3422
+ style
3423
+ } of styles) {
3424
+ for (const key in style) {
3425
+ if (Object.prototype.hasOwnProperty.call(style, key)) {
3426
+ const element = style[key];
3427
+ this.style[key] = element;
3428
+ }
3429
+ }
3430
+ }
3431
+
3432
+ return this;
3433
+ }
3434
+
3435
+ toStyleSheet() {
3436
+ const list = createStyleText(this.name, [], this.style);
3437
+ return list.join("\n");
3438
+ }
3439
+
3440
+ toggle(showSelector, hideSelector) {
3441
+ var _a, _b, _c;
3442
+
3443
+ var _d;
3444
+
3445
+ const sc = (_a = (_d = this.style).subclasses) !== null && _a !== void 0 ? _a : _d.subclasses = {};
3446
+ const h = (_b = sc[hideSelector]) !== null && _b !== void 0 ? _b : sc[hideSelector] = {};
3447
+ const d = (_c = sc[showSelector]) !== null && _c !== void 0 ? _c : sc[showSelector] = {};
3448
+ d.display = "inherit";
3449
+ h.display = "none";
3450
+ return this;
3451
+ }
3452
+
3453
+ displayNone(...selectors) {
3454
+ var _a, _b;
3455
+
3456
+ var _c;
3457
+
3458
+ const sc = (_a = (_c = this.style).subclasses) !== null && _a !== void 0 ? _a : _c.subclasses = {};
3459
+
3460
+ for (const iterator of selectors) {
3461
+ const d = (_b = sc[iterator]) !== null && _b !== void 0 ? _b : sc[iterator] = {};
3462
+ d.display = "none";
3463
+ }
3464
+
3465
+ return this;
3466
+ }
3467
+
3468
+ verticalFlexLayout(a = {}, units = "px") {
3469
+ var _a;
3470
+
3471
+ (_a = a.direction) !== null && _a !== void 0 ? _a : a.direction = "column";
3472
+ return this.flexLayout(a, units);
3473
+ }
3474
+
3475
+ flexLayout({
3476
+ direction = "row",
3477
+ alignItems = "center",
3478
+ justifyContent = "space-around",
3479
+ stretch,
3480
+ inline,
3481
+ gap = 4
3482
+ } = {}, units = "px") {
3483
+ if (direction !== void 0) {
3484
+ this.style.flexDirection = direction;
3485
+ }
3486
+
3487
+ if (alignItems !== void 0) {
3488
+ this.style.alignItems = alignItems;
3489
+ }
3490
+
3491
+ if (justifyContent !== void 0) {
3492
+ this.style.justifyContent = justifyContent;
3493
+ }
3494
+
3495
+ if (stretch) {
3496
+ this.style.flex = "1 1 100%";
3497
+ }
3498
+
3499
+ if (gap) {
3500
+ this.style.gap = toUnit(gap, units);
3501
+ }
3502
+
3503
+ this.style.display = inline ? "inline-flex" : "flex";
3504
+ return this;
3505
+ }
3506
+
3507
+ toString() {
3508
+ const list = [];
3509
+
3510
+ if (this.style) {
3511
+ for (const key in this.style) {
3512
+ if (Object.prototype.hasOwnProperty.call(this.style, key)) {
3513
+ const element = this.style[key];
3514
+
3515
+ if (key === "subclasses") {
3516
+ throw new Error("Single AtomStyleRule cannot contain subclasses");
3517
+ }
3518
+
3519
+ if (key === "toString") {
3520
+ continue;
3521
+ }
3522
+
3523
+ if (!element) {
3524
+ continue;
3525
+ }
3526
+
3527
+ const name = fromCamelToHyphen(key);
3528
+
3529
+ if (element.url) {
3530
+ list.push(`${name}: url(${element.url})`);
3531
+ continue;
3532
+ }
3533
+
3534
+ list.push(`${name}: ${element}`);
3535
+ }
3536
+ }
3537
+ }
3538
+
3539
+ return list.join(";");
3540
+ }
3541
+
3542
+ });
3543
+
3544
+ _export("default", StyleRule);
3545
+
3546
+ styleId = 1;
3547
+ }
3548
+ };
3549
+ });
3550
+ //# sourceMappingURL=StyleRule.sys.js.map