@web-atoms/core 2.6.24 → 2.6.26

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 (130) hide show
  1. package/dist/core/XNode.d.ts +1 -13
  2. package/dist/core/XNode.d.ts.map +1 -1
  3. package/dist/core/XNode.js +2 -24
  4. package/dist/core/XNode.js.map +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/dist-esm/App.js +231 -235
  7. package/dist-esm/Atom.js +93 -96
  8. package/dist-esm/MockApp.js +17 -18
  9. package/dist-esm/Pack.js +1 -3
  10. package/dist-esm/core/AtomBinder.js +189 -187
  11. package/dist-esm/core/AtomComponent.js +479 -502
  12. package/dist-esm/core/AtomDispatcher.js +46 -48
  13. package/dist-esm/core/AtomDisposableList.js +24 -25
  14. package/dist-esm/core/AtomEnumerator.js +15 -16
  15. package/dist-esm/core/AtomList.js +193 -192
  16. package/dist-esm/core/AtomLoader.js +229 -215
  17. package/dist-esm/core/AtomMap.js +7 -8
  18. package/dist-esm/core/AtomOnce.js +22 -24
  19. package/dist-esm/core/AtomSelectableList.js +240 -243
  20. package/dist-esm/core/AtomUri.js +70 -72
  21. package/dist-esm/core/AtomWatcher.js +105 -111
  22. package/dist-esm/core/Bind.js +271 -269
  23. package/dist-esm/core/BindableProperty.js +26 -27
  24. package/dist-esm/core/CancelTokenFactory.js +21 -24
  25. package/dist-esm/core/Color.js +1 -2
  26. package/dist-esm/core/Colors.js +545 -231
  27. package/dist-esm/core/Command.js +236 -223
  28. package/dist-esm/core/Defer.js +21 -22
  29. package/dist-esm/core/EventScope.js +96 -88
  30. package/dist-esm/core/ExpressionParser.js +132 -144
  31. package/dist-esm/core/ExtendControl.js +7 -8
  32. package/dist-esm/core/FormattedError.js +7 -8
  33. package/dist-esm/core/FormattedString.js +4 -5
  34. package/dist-esm/core/Hacks.js +41 -42
  35. package/dist-esm/core/IFetchEvent.js +1 -2
  36. package/dist-esm/core/IScreen.js +1 -2
  37. package/dist-esm/core/IValueConverter.js +1 -2
  38. package/dist-esm/core/InheritedProperty.js +61 -63
  39. package/dist-esm/core/InjectProperty.js +12 -13
  40. package/dist-esm/core/KeyValuePairs.js +1 -2
  41. package/dist-esm/core/Markdown.js +14 -17
  42. package/dist-esm/core/MarkdownError.js +6 -7
  43. package/dist-esm/core/PropertyBinding.js +1 -2
  44. package/dist-esm/core/PropertyMap.js +28 -27
  45. package/dist-esm/core/Route.js +149 -148
  46. package/dist-esm/core/SingleInvoker.js +32 -35
  47. package/dist-esm/core/StringHelper.js +49 -51
  48. package/dist-esm/core/TransientDisposable.js +14 -16
  49. package/dist-esm/core/WatchProperty.js +18 -17
  50. package/dist-esm/core/WebImage.js +7 -8
  51. package/dist-esm/core/XNode.d.ts +1 -13
  52. package/dist-esm/core/XNode.d.ts.map +1 -1
  53. package/dist-esm/core/XNode.js +116 -120
  54. package/dist-esm/core/XNode.js.map +1 -1
  55. package/dist-esm/core/sleep.js +21 -24
  56. package/dist-esm/core/types.js +102 -103
  57. package/dist-esm/di/DISingleton.js +7 -5
  58. package/dist-esm/di/DITransient.js +7 -5
  59. package/dist-esm/di/IMockOrInject.js +1 -2
  60. package/dist-esm/di/IServiceProvider.js +1 -2
  61. package/dist-esm/di/Inject.js +67 -67
  62. package/dist-esm/di/Register.js +25 -26
  63. package/dist-esm/di/RegisterScoped.js +4 -3
  64. package/dist-esm/di/RegisterSingleton.js +4 -3
  65. package/dist-esm/di/ServiceCollection.js +38 -37
  66. package/dist-esm/di/ServiceProvider.js +94 -94
  67. package/dist-esm/di/TypeKey.js +13 -12
  68. package/dist-esm/services/BusyIndicatorService.js +7 -11
  69. package/dist-esm/services/CacheService.js +54 -62
  70. package/dist-esm/services/FetchBuilder.js +327 -278
  71. package/dist-esm/services/JsonService.js +118 -116
  72. package/dist-esm/services/MockNavigationService.js +127 -126
  73. package/dist-esm/services/NavigationService.js +95 -102
  74. package/dist-esm/services/ReferenceService.js +30 -33
  75. package/dist-esm/services/http/AjaxOptions.js +1 -3
  76. package/dist-esm/services/http/JsonError.js +16 -15
  77. package/dist-esm/services/http/RestService.js +314 -323
  78. package/dist-esm/style/StyleRule.js +1 -2
  79. package/dist-esm/test.js +0 -1
  80. package/dist-esm/tsconfig.esm.tsbuildinfo +1 -1
  81. package/dist-esm/unit/AtomTest.js +10 -11
  82. package/dist-esm/view-model/Action.js +258 -223
  83. package/dist-esm/view-model/AtomViewModel.js +234 -232
  84. package/dist-esm/view-model/AtomWindowViewModel.js +13 -14
  85. package/dist-esm/view-model/BindableUrlParameter.js +7 -8
  86. package/dist-esm/view-model/Delay.js +21 -25
  87. package/dist-esm/view-model/Disposable.js +28 -29
  88. package/dist-esm/view-model/Load.js +72 -73
  89. package/dist-esm/view-model/Once.js +33 -35
  90. package/dist-esm/view-model/baseTypes.js +4 -5
  91. package/dist-esm/view-model/bindPromise.js +24 -27
  92. package/dist-esm/view-model/bindProperty.js +3 -4
  93. package/dist-esm/view-model/bindUrlParameter.js +39 -43
  94. package/dist-esm/web/controls/AtomComboBox.js +56 -63
  95. package/dist-esm/web/controls/AtomControl.js +485 -490
  96. package/dist-esm/web/controls/AtomGridSplitter.js +57 -50
  97. package/dist-esm/web/controls/AtomGridView.js +230 -222
  98. package/dist-esm/web/controls/AtomItemsControl.js +677 -688
  99. package/dist-esm/web/controls/AtomPage.js +6 -7
  100. package/dist-esm/web/controls/AtomTemplate.js +1 -3
  101. package/dist-esm/web/controls/AtomTemplateControl.js +28 -29
  102. package/dist-esm/web/controls/AtomViewStack.js +19 -20
  103. package/dist-esm/web/core/AtomUI.js +200 -200
  104. package/dist-esm/web/core/Encoder.js +142 -152
  105. package/dist-esm/web/core/HtmlNode.js +141 -139
  106. package/dist-esm/web/images/Busy.js +1 -2
  107. package/dist-esm/web/images/BusyDataUrl.js +2 -869
  108. package/dist-esm/web/images/Button.js +1 -2
  109. package/dist-esm/web/images/ButtonDataUrl.js +2 -30
  110. package/dist-esm/web/images/CloseButton.js +1 -2
  111. package/dist-esm/web/images/CloseButtonDataUrl.js +2 -30
  112. package/dist-esm/web/images/CloseButtonHover.js +1 -2
  113. package/dist-esm/web/images/CloseButtonHoverDataUrl.js +2 -24
  114. package/dist-esm/web/services/LastTarget.js +31 -29
  115. package/dist-esm/web/services/MarkdownService.js +19 -31
  116. package/dist-esm/web/services/NotificationPopup.js +28 -21
  117. package/dist-esm/web/services/PopupService.js +512 -478
  118. package/dist-esm/web/services/PopupWindow.js +266 -247
  119. package/dist-esm/web/styles/AtomAlertWindowStyle.js +39 -40
  120. package/dist-esm/web/styles/AtomFrameStyle.js +15 -16
  121. package/dist-esm/web/styles/AtomNotificationStyle.js +19 -20
  122. package/dist-esm/web/styles/AtomPageLinkStyle.js +11 -12
  123. package/dist-esm/web/styles/AtomPopupStyle.js +9 -10
  124. package/dist-esm/web/styles/AtomStyle.js +61 -64
  125. package/dist-esm/web/styles/AtomStyleSheet.js +50 -51
  126. package/dist-esm/web/styles/AtomWindowStyle.js +116 -117
  127. package/dist-esm/web/styles/IStyleDeclaration.js +1 -2
  128. package/dist-esm/web/styles/StyleBuilder.js +79 -80
  129. package/package.json +1 -1
  130. package/src/core/XNode.ts +12 -38
@@ -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 {};