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