@web-atoms/core 2.6.24 → 2.6.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist-esm/App.js +231 -235
  2. package/dist-esm/Atom.js +93 -96
  3. package/dist-esm/MockApp.js +17 -18
  4. package/dist-esm/Pack.js +1 -3
  5. package/dist-esm/core/AtomBinder.js +189 -187
  6. package/dist-esm/core/AtomComponent.js +479 -502
  7. package/dist-esm/core/AtomDispatcher.js +46 -48
  8. package/dist-esm/core/AtomDisposableList.js +24 -25
  9. package/dist-esm/core/AtomEnumerator.js +15 -16
  10. package/dist-esm/core/AtomList.js +193 -192
  11. package/dist-esm/core/AtomLoader.js +229 -215
  12. package/dist-esm/core/AtomMap.js +7 -8
  13. package/dist-esm/core/AtomOnce.js +22 -24
  14. package/dist-esm/core/AtomSelectableList.js +240 -243
  15. package/dist-esm/core/AtomUri.js +70 -72
  16. package/dist-esm/core/AtomWatcher.js +105 -111
  17. package/dist-esm/core/Bind.js +271 -269
  18. package/dist-esm/core/BindableProperty.js +26 -27
  19. package/dist-esm/core/CancelTokenFactory.js +21 -24
  20. package/dist-esm/core/Color.js +1 -2
  21. package/dist-esm/core/Colors.js +545 -231
  22. package/dist-esm/core/Command.js +236 -223
  23. package/dist-esm/core/Defer.js +21 -22
  24. package/dist-esm/core/EventScope.js +96 -88
  25. package/dist-esm/core/ExpressionParser.js +132 -144
  26. package/dist-esm/core/ExtendControl.js +7 -8
  27. package/dist-esm/core/FormattedError.js +7 -8
  28. package/dist-esm/core/FormattedString.js +4 -5
  29. package/dist-esm/core/Hacks.js +41 -42
  30. package/dist-esm/core/IFetchEvent.js +1 -2
  31. package/dist-esm/core/IScreen.js +1 -2
  32. package/dist-esm/core/IValueConverter.js +1 -2
  33. package/dist-esm/core/InheritedProperty.js +61 -63
  34. package/dist-esm/core/InjectProperty.js +12 -13
  35. package/dist-esm/core/KeyValuePairs.js +1 -2
  36. package/dist-esm/core/Markdown.js +14 -17
  37. package/dist-esm/core/MarkdownError.js +6 -7
  38. package/dist-esm/core/PropertyBinding.js +1 -2
  39. package/dist-esm/core/PropertyMap.js +28 -27
  40. package/dist-esm/core/Route.js +149 -148
  41. package/dist-esm/core/SingleInvoker.js +32 -35
  42. package/dist-esm/core/StringHelper.js +49 -51
  43. package/dist-esm/core/TransientDisposable.js +14 -16
  44. package/dist-esm/core/WatchProperty.js +18 -17
  45. package/dist-esm/core/WebImage.js +7 -8
  46. package/dist-esm/core/XNode.js +134 -117
  47. package/dist-esm/core/sleep.js +21 -24
  48. package/dist-esm/core/types.js +102 -103
  49. package/dist-esm/di/DISingleton.js +7 -5
  50. package/dist-esm/di/DITransient.js +7 -5
  51. package/dist-esm/di/IMockOrInject.js +1 -2
  52. package/dist-esm/di/IServiceProvider.js +1 -2
  53. package/dist-esm/di/Inject.js +67 -67
  54. package/dist-esm/di/Register.js +25 -26
  55. package/dist-esm/di/RegisterScoped.js +4 -3
  56. package/dist-esm/di/RegisterSingleton.js +4 -3
  57. package/dist-esm/di/ServiceCollection.js +38 -37
  58. package/dist-esm/di/ServiceProvider.js +94 -94
  59. package/dist-esm/di/TypeKey.js +13 -12
  60. package/dist-esm/services/BusyIndicatorService.js +7 -11
  61. package/dist-esm/services/CacheService.js +54 -62
  62. package/dist-esm/services/FetchBuilder.js +327 -278
  63. package/dist-esm/services/JsonService.js +118 -116
  64. package/dist-esm/services/MockNavigationService.js +127 -126
  65. package/dist-esm/services/NavigationService.js +95 -102
  66. package/dist-esm/services/ReferenceService.js +30 -33
  67. package/dist-esm/services/http/AjaxOptions.js +1 -3
  68. package/dist-esm/services/http/JsonError.js +16 -15
  69. package/dist-esm/services/http/RestService.js +314 -323
  70. package/dist-esm/style/StyleRule.js +1 -2
  71. package/dist-esm/test.js +0 -1
  72. package/dist-esm/unit/AtomTest.js +10 -11
  73. package/dist-esm/view-model/Action.js +258 -223
  74. package/dist-esm/view-model/AtomViewModel.js +234 -232
  75. package/dist-esm/view-model/AtomWindowViewModel.js +13 -14
  76. package/dist-esm/view-model/BindableUrlParameter.js +7 -8
  77. package/dist-esm/view-model/Delay.js +21 -25
  78. package/dist-esm/view-model/Disposable.js +28 -29
  79. package/dist-esm/view-model/Load.js +72 -73
  80. package/dist-esm/view-model/Once.js +33 -35
  81. package/dist-esm/view-model/baseTypes.js +4 -5
  82. package/dist-esm/view-model/bindPromise.js +24 -27
  83. package/dist-esm/view-model/bindProperty.js +3 -4
  84. package/dist-esm/view-model/bindUrlParameter.js +39 -43
  85. package/dist-esm/web/controls/AtomComboBox.js +56 -63
  86. package/dist-esm/web/controls/AtomControl.js +485 -490
  87. package/dist-esm/web/controls/AtomGridSplitter.js +57 -50
  88. package/dist-esm/web/controls/AtomGridView.js +230 -222
  89. package/dist-esm/web/controls/AtomItemsControl.js +677 -688
  90. package/dist-esm/web/controls/AtomPage.js +6 -7
  91. package/dist-esm/web/controls/AtomTemplate.js +1 -3
  92. package/dist-esm/web/controls/AtomTemplateControl.js +28 -29
  93. package/dist-esm/web/controls/AtomViewStack.js +19 -20
  94. package/dist-esm/web/core/AtomUI.js +200 -200
  95. package/dist-esm/web/core/Encoder.js +142 -152
  96. package/dist-esm/web/core/HtmlNode.js +141 -139
  97. package/dist-esm/web/images/Busy.js +1 -2
  98. package/dist-esm/web/images/BusyDataUrl.js +2 -869
  99. package/dist-esm/web/images/Button.js +1 -2
  100. package/dist-esm/web/images/ButtonDataUrl.js +2 -30
  101. package/dist-esm/web/images/CloseButton.js +1 -2
  102. package/dist-esm/web/images/CloseButtonDataUrl.js +2 -30
  103. package/dist-esm/web/images/CloseButtonHover.js +1 -2
  104. package/dist-esm/web/images/CloseButtonHoverDataUrl.js +2 -24
  105. package/dist-esm/web/services/LastTarget.js +31 -29
  106. package/dist-esm/web/services/MarkdownService.js +19 -31
  107. package/dist-esm/web/services/NotificationPopup.js +28 -21
  108. package/dist-esm/web/services/PopupService.js +512 -478
  109. package/dist-esm/web/services/PopupWindow.js +266 -247
  110. package/dist-esm/web/styles/AtomAlertWindowStyle.js +39 -40
  111. package/dist-esm/web/styles/AtomFrameStyle.js +15 -16
  112. package/dist-esm/web/styles/AtomNotificationStyle.js +19 -20
  113. package/dist-esm/web/styles/AtomPageLinkStyle.js +11 -12
  114. package/dist-esm/web/styles/AtomPopupStyle.js +9 -10
  115. package/dist-esm/web/styles/AtomStyle.js +61 -64
  116. package/dist-esm/web/styles/AtomStyleSheet.js +50 -51
  117. package/dist-esm/web/styles/AtomWindowStyle.js +116 -117
  118. package/dist-esm/web/styles/IStyleDeclaration.js +1 -2
  119. package/dist-esm/web/styles/StyleBuilder.js +79 -80
  120. package/package.json +1 -1
@@ -1,23 +1,22 @@
1
1
  import Colors from "../../core/Colors.js";
2
2
  import { AtomStyle } from "./AtomStyle.js";
3
3
  export default class AtomNotificationStyle extends AtomStyle {
4
- get root() {
5
- return {
6
- padding: "5px",
7
- borderRadius: "5px",
8
- border: "solid 1px lightgray",
9
- fontFamily: "Verdana, Geneva, sans-serif",
10
- fontSize: "16px",
11
- subclasses: {
12
- ".error": {
13
- borderColor: Colors.red,
14
- color: Colors.red,
15
- },
16
- ".warning": {
17
- backgroundColor: Colors.lightYellow
18
- }
19
- }
20
- };
21
- }
22
- }
23
- //# sourceMappingURL=AtomNotificationStyle.js.map
4
+ get root() {
5
+ return {
6
+ padding: "5px",
7
+ borderRadius: "5px",
8
+ border: "solid 1px lightgray",
9
+ fontFamily: "Verdana, Geneva, sans-serif",
10
+ fontSize: "16px",
11
+ subclasses: {
12
+ ".error": {
13
+ borderColor: Colors.red,
14
+ color: Colors.red
15
+ },
16
+ ".warning": {
17
+ backgroundColor: Colors.lightYellow
18
+ }
19
+ }
20
+ };
21
+ }
22
+ }
@@ -1,14 +1,13 @@
1
1
  import { AtomStyle } from "./AtomStyle.js";
2
2
  export default class AtomPageLinkStyle extends AtomStyle {
3
- get root() {
4
- return {
5
- subclasses: {
6
- ".page": this.page
7
- }
8
- };
9
- }
10
- get page() {
11
- return {};
12
- }
13
- }
14
- //# sourceMappingURL=AtomPageLinkStyle.js.map
3
+ get root() {
4
+ return {
5
+ subclasses: {
6
+ ".page": this.page
7
+ }
8
+ };
9
+ }
10
+ get page() {
11
+ return {};
12
+ }
13
+ }
@@ -1,12 +1,11 @@
1
1
  import { AtomStyle } from "../styles/AtomStyle.js";
2
2
  export class AtomPopupStyle extends AtomStyle {
3
- get root() {
4
- return {
5
- backgroundColor: "white",
6
- border: "solid 1px lightgray",
7
- padding: "5px",
8
- borderRadius: "5px"
9
- };
10
- }
11
- }
12
- //# sourceMappingURL=AtomPopupStyle.js.map
3
+ get root() {
4
+ return {
5
+ backgroundColor: "white",
6
+ border: "solid 1px lightgray",
7
+ padding: "5px",
8
+ borderRadius: "5px"
9
+ };
10
+ }
11
+ }
@@ -1,72 +1,69 @@
1
1
  import { StringHelper } from "../../core/StringHelper.js";
2
2
  const emptyPrototype = Object.getPrototypeOf({});
3
3
  export class AtomStyle {
4
- constructor(styleSheet, name) {
5
- this.styleSheet = styleSheet;
6
- this.name = name;
7
- this.styleText = null;
8
- this.name = this.name + "-root";
4
+ constructor(styleSheet, name) {
5
+ this.styleSheet = styleSheet;
6
+ this.name = name;
7
+ this.styleText = null;
8
+ this.name = this.name + "-root";
9
+ }
10
+ getBaseProperty(tc, name) {
11
+ let c = tc;
12
+ do {
13
+ c = Object.getPrototypeOf(c);
14
+ if (!c) {
15
+ throw new Error("No property descriptor found for " + name);
16
+ }
17
+ const pd = Object.getOwnPropertyDescriptor(c.prototype, name);
18
+ if (!pd) {
19
+ continue;
20
+ }
21
+ return pd.get.apply(this);
22
+ } while (true);
23
+ }
24
+ build() {
25
+ if (this.styleText) {
26
+ return;
9
27
  }
10
- getBaseProperty(tc, name) {
11
- let c = tc;
12
- do {
13
- c = Object.getPrototypeOf(c);
14
- if (!c) {
15
- throw new Error("No property descriptor found for " + name);
16
- }
17
- const pd = Object.getOwnPropertyDescriptor(c.prototype, name);
18
- if (!pd) {
19
- continue;
20
- }
21
- return pd.get.apply(this);
22
- } while (true);
23
- }
24
- build() {
25
- if (this.styleText) {
26
- return;
28
+ this.styleText = this.createStyleText("", [], this.root).join("\n");
29
+ }
30
+ toString() {
31
+ return this.styleText;
32
+ }
33
+ createStyleText(name, pairs, styles) {
34
+ const styleList = [];
35
+ for (const key in styles) {
36
+ if (styles.hasOwnProperty(key)) {
37
+ if (/^(\_\$\_|className$|toString$)/i.test(key)) {
38
+ continue;
27
39
  }
28
- this.styleText = this.createStyleText("", [], this.root).join("\n");
29
- }
30
- toString() {
31
- return this.styleText;
32
- }
33
- createStyleText(name, pairs, styles) {
34
- const styleList = [];
35
- for (const key in styles) {
36
- if (styles.hasOwnProperty(key)) {
37
- if (/^(\_\$\_|className$|toString$)/i.test(key)) {
38
- continue;
39
- }
40
- const element = styles[key];
41
- if (element === undefined || element === null) {
42
- continue;
43
- }
44
- const keyName = StringHelper.fromCamelToHyphen(key);
45
- if (key === "subclasses") {
46
- const n = name;
47
- for (const subclassKey in element) {
48
- if (element.hasOwnProperty(subclassKey)) {
49
- const ve = element[subclassKey];
50
- pairs = this.createStyleText(`${n}${subclassKey}`, pairs, ve);
51
- }
52
- }
53
- }
54
- else {
55
- if (element.url) {
56
- styleList.push(`${keyName}: url(${element})`);
57
- }
58
- else {
59
- styleList.push(`${keyName}: ${element}`);
60
- }
61
- }
62
- }
40
+ const element = styles[key];
41
+ if (element === undefined || element === null) {
42
+ continue;
63
43
  }
64
- const cname = StringHelper.fromCamelToHyphen(name);
65
- const styleClassName = `${this.name}${cname}`;
66
- if (styleList.length) {
67
- pairs.push(`.${styleClassName} { ${styleList.join(";\r\n")}; }`);
44
+ const keyName = StringHelper.fromCamelToHyphen(key);
45
+ if (key === "subclasses") {
46
+ const n = name;
47
+ for (const subclassKey in element) {
48
+ if (element.hasOwnProperty(subclassKey)) {
49
+ const ve = element[subclassKey];
50
+ pairs = this.createStyleText(`${n}${subclassKey}`, pairs, ve);
51
+ }
52
+ }
53
+ } else {
54
+ if (element.url) {
55
+ styleList.push(`${keyName}: url(${element})`);
56
+ } else {
57
+ styleList.push(`${keyName}: ${element}`);
58
+ }
68
59
  }
69
- return pairs;
60
+ }
61
+ }
62
+ const cname = StringHelper.fromCamelToHyphen(name);
63
+ const styleClassName = `${this.name}${cname}`;
64
+ if (styleList.length) {
65
+ pairs.push(`.${styleClassName} { ${styleList.join(";\r\n")}; }`);
70
66
  }
71
- }
72
- //# sourceMappingURL=AtomStyle.js.map
67
+ return pairs;
68
+ }
69
+ }
@@ -1,58 +1,57 @@
1
1
  import { TypeKey } from "../../di/TypeKey.js";
2
2
  export class AtomStyleSheet {
3
- constructor(app, name) {
4
- this.app = app;
5
- this.name = name;
6
- this.styles = {};
7
- this.lastUpdateId = 0;
8
- this.isAttaching = false;
9
- this.pushUpdate(0);
3
+ constructor(app, name) {
4
+ this.app = app;
5
+ this.name = name;
6
+ this.styles = {};
7
+ this.lastUpdateId = 0;
8
+ this.isAttaching = false;
9
+ this.pushUpdate(0);
10
+ }
11
+ getNamedStyle(c) {
12
+ const name = TypeKey.getName(c);
13
+ return this.createNamedStyle(c, name);
14
+ }
15
+ createNamedStyle(c, name, updateTimeout) {
16
+ const style = this.styles[name] = new c(this, `${this.name}-${name}`);
17
+ style.build();
18
+ this.pushUpdate(updateTimeout);
19
+ return style;
20
+ }
21
+ onPropertyChanging(name, newValue, oldValue) {
22
+ this.pushUpdate();
23
+ }
24
+ pushUpdate(delay = 1) {
25
+ if (this.isAttaching) {
26
+ return;
10
27
  }
11
- getNamedStyle(c) {
12
- const name = TypeKey.getName(c);
13
- return this.createNamedStyle(c, name);
28
+ if (delay === 0) {
29
+ this.attach();
30
+ return;
14
31
  }
15
- createNamedStyle(c, name, updateTimeout) {
16
- const style = this.styles[name] = new (c)(this, `${this.name}-${name}`);
17
- style.build();
18
- this.pushUpdate(updateTimeout);
19
- return style;
32
+ if (this.lastUpdateId) {
33
+ clearTimeout(this.lastUpdateId);
20
34
  }
21
- onPropertyChanging(name, newValue, oldValue) {
22
- this.pushUpdate();
35
+ this.lastUpdateId = setTimeout(() => {
36
+ this.attach();
37
+ }, delay);
38
+ }
39
+ dispose() {
40
+ if (this.styleElement) {
41
+ this.styleElement.remove();
23
42
  }
24
- pushUpdate(delay = 1) {
25
- if (this.isAttaching) {
26
- return;
27
- }
28
- if (delay === 0) {
29
- this.attach();
30
- return;
31
- }
32
- if (this.lastUpdateId) {
33
- clearTimeout(this.lastUpdateId);
34
- }
35
- this.lastUpdateId = setTimeout(() => {
36
- this.attach();
37
- }, delay);
43
+ }
44
+ attach() {
45
+ this.isAttaching = true;
46
+ const text = [];
47
+ for (const key in this.styles) {
48
+ if (this.styles.hasOwnProperty(key)) {
49
+ const element = this.styles[key];
50
+ text.push(element.toString());
51
+ }
38
52
  }
39
- dispose() {
40
- if (this.styleElement) {
41
- this.styleElement.remove();
42
- }
43
- }
44
- attach() {
45
- this.isAttaching = true;
46
- const text = [];
47
- for (const key in this.styles) {
48
- if (this.styles.hasOwnProperty(key)) {
49
- const element = this.styles[key];
50
- text.push(element.toString());
51
- }
52
- }
53
- const textContent = text.join("\n");
54
- this.app.updateDefaultStyle(textContent);
55
- this.isAttaching = false;
56
- }
57
- }
58
- //# sourceMappingURL=AtomStyleSheet.js.map
53
+ const textContent = text.join("\n");
54
+ this.app.updateDefaultStyle(textContent);
55
+ this.isAttaching = false;
56
+ }
57
+ }
@@ -1,119 +1,118 @@
1
- import closeButtonHover from "@web-atoms/core/src/web/images/close-button-hover.svg";
1
+ const closeButtonHover = import.meta.resolve("@web-atoms/core/src/web/images/close-button-hover.svg");
2
2
  import { AtomStyle } from "../styles/AtomStyle.js";
3
3
  export class AtomWindowStyle extends AtomStyle {
4
- get root() {
5
- return {
6
- ...this.frameHost,
7
- subclasses: {
8
- " .close-button": this.closeButton,
9
- " .command-bar-presenter": this.commandBarPresenter,
10
- " .command-bar": this.commandBar,
11
- " .content-presenter": this.contentPresenter,
12
- " .content": this.content,
13
- " .frame": this.frame,
14
- " .title": this.title,
15
- " .title-host": this.titleHost,
16
- " .title-presenter": this.titlePresenter,
17
- }
18
- };
19
- }
20
- get frameHost() {
21
- return {
22
- position: "absolute",
23
- left: 0,
24
- right: 0,
25
- top: 0,
26
- bottom: 0,
27
- backgroundColor: "#50505080"
28
- };
29
- }
30
- get frame() {
31
- return {
32
- position: "absolute",
33
- minHeight: "100px",
34
- minWidth: "300px",
35
- margin: "auto",
36
- border: "solid 1px #808080",
37
- borderRadius: "5px",
38
- backgroundColor: "white"
39
- };
40
- }
41
- get titlePresenter() {
42
- return {
43
- position: "relative",
44
- left: 0,
45
- right: 0,
46
- top: 0,
47
- height: "37px"
48
- };
49
- }
50
- get titleHost() {
51
- return {
52
- position: "absolute",
53
- left: 0,
54
- right: 0,
55
- padding: "7px",
56
- minHeight: "32px",
57
- backgroundColor: "#404040",
58
- color: "white",
59
- top: 0,
60
- borderTopRightRadius: "4px",
61
- borderTopLeftRadius: "4px"
62
- };
63
- }
64
- get title() {
65
- return {
66
- margin: "auto"
67
- };
68
- }
69
- get closeButton() {
70
- return {
71
- position: "absolute",
72
- right: "6px",
73
- top: "7px",
74
- width: "0",
75
- height: "0",
76
- padding: "9px",
77
- border: "none",
78
- backgroundColor: "transparent",
79
- backgroundImage: closeButtonHover
80
- };
81
- }
82
- get content() {
83
- return {};
84
- }
85
- get contentPresenter() {
86
- return {
87
- position: "relative",
88
- padding: "10px",
89
- background: "white"
90
- };
91
- }
92
- get commandBarPresenter() {
93
- return {
94
- left: 0,
95
- right: 0,
96
- bottom: 0,
97
- padding: "5px",
98
- backgroundColor: "#d4d4d4",
99
- textAlign: "right",
100
- borderBottomRightRadius: "4px",
101
- borderBottomLeftRadius: "4px",
102
- };
103
- }
104
- get commandBar() {
105
- return {
106
- subclasses: {
107
- " button": {
108
- borderRadius: "3px",
109
- marginLeft: "5px",
110
- marginRight: "5px",
111
- padding: "4px 16px",
112
- backgroundColor: "whitesmoke",
113
- border: "1px solid gray"
114
- }
115
- },
116
- };
117
- }
118
- }
119
- //# sourceMappingURL=AtomWindowStyle.js.map
4
+ get root() {
5
+ return {
6
+ ...this.frameHost,
7
+ subclasses: {
8
+ " .close-button": this.closeButton,
9
+ " .command-bar-presenter": this.commandBarPresenter,
10
+ " .command-bar": this.commandBar,
11
+ " .content-presenter": this.contentPresenter,
12
+ " .content": this.content,
13
+ " .frame": this.frame,
14
+ " .title": this.title,
15
+ " .title-host": this.titleHost,
16
+ " .title-presenter": this.titlePresenter
17
+ }
18
+ };
19
+ }
20
+ get frameHost() {
21
+ return {
22
+ position: "absolute",
23
+ left: 0,
24
+ right: 0,
25
+ top: 0,
26
+ bottom: 0,
27
+ backgroundColor: "#50505080"
28
+ };
29
+ }
30
+ get frame() {
31
+ return {
32
+ position: "absolute",
33
+ minHeight: "100px",
34
+ minWidth: "300px",
35
+ margin: "auto",
36
+ border: "solid 1px #808080",
37
+ borderRadius: "5px",
38
+ backgroundColor: "white"
39
+ };
40
+ }
41
+ get titlePresenter() {
42
+ return {
43
+ position: "relative",
44
+ left: 0,
45
+ right: 0,
46
+ top: 0,
47
+ height: "37px"
48
+ };
49
+ }
50
+ get titleHost() {
51
+ return {
52
+ position: "absolute",
53
+ left: 0,
54
+ right: 0,
55
+ padding: "7px",
56
+ minHeight: "32px",
57
+ backgroundColor: "#404040",
58
+ color: "white",
59
+ top: 0,
60
+ borderTopRightRadius: "4px",
61
+ borderTopLeftRadius: "4px"
62
+ };
63
+ }
64
+ get title() {
65
+ return {
66
+ margin: "auto"
67
+ };
68
+ }
69
+ get closeButton() {
70
+ return {
71
+ position: "absolute",
72
+ right: "6px",
73
+ top: "7px",
74
+ width: "0",
75
+ height: "0",
76
+ padding: "9px",
77
+ border: "none",
78
+ backgroundColor: "transparent",
79
+ backgroundImage: closeButtonHover
80
+ };
81
+ }
82
+ get content() {
83
+ return {};
84
+ }
85
+ get contentPresenter() {
86
+ return {
87
+ position: "relative",
88
+ padding: "10px",
89
+ background: "white"
90
+ };
91
+ }
92
+ get commandBarPresenter() {
93
+ return {
94
+ left: 0,
95
+ right: 0,
96
+ bottom: 0,
97
+ padding: "5px",
98
+ backgroundColor: "#d4d4d4",
99
+ textAlign: "right",
100
+ borderBottomRightRadius: "4px",
101
+ borderBottomLeftRadius: "4px"
102
+ };
103
+ }
104
+ get commandBar() {
105
+ return {
106
+ subclasses: {
107
+ " button": {
108
+ borderRadius: "3px",
109
+ marginLeft: "5px",
110
+ marginRight: "5px",
111
+ padding: "4px 16px",
112
+ backgroundColor: "whitesmoke",
113
+ border: "1px solid gray"
114
+ }
115
+ }
116
+ };
117
+ }
118
+ }
@@ -1,2 +1 @@
1
- export {};
2
- //# sourceMappingURL=IStyleDeclaration.js.map
1
+ export {};