jmgraph 3.2.25 → 3.2.27
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/README.md +188 -0
- package/dist/jmgraph.core.min.js +1 -1
- package/dist/jmgraph.core.min.js.map +1 -1
- package/dist/jmgraph.js +769 -63
- package/dist/jmgraph.min.js +1 -1
- package/index.d.ts +142 -1
- package/package.json +1 -1
- package/src/core/jmGradient.js +595 -63
- package/src/core/jmUtils.js +38 -2
package/src/core/jmUtils.js
CHANGED
|
@@ -38,11 +38,13 @@ const colorKeywords = {
|
|
|
38
38
|
darkseagreen: "#8fbc8f",
|
|
39
39
|
darkslateblue: "#483d8b",
|
|
40
40
|
darkslategray: "#2f4f4f",
|
|
41
|
+
darkslategrey: "#2f4f4f",
|
|
41
42
|
darkturquoise: "#00ced1",
|
|
42
43
|
darkviolet: "#9400d3",
|
|
43
44
|
deeppink: "#ff1493",
|
|
44
45
|
deepskyblue: "#00bfff",
|
|
45
46
|
dimgray: "#696969",
|
|
47
|
+
dimgrey: "#696969",
|
|
46
48
|
dodgerblue: "#1e90ff",
|
|
47
49
|
firebrick: "#b22222",
|
|
48
50
|
floralwhite: "#fffaf0",
|
|
@@ -77,6 +79,7 @@ const colorKeywords = {
|
|
|
77
79
|
lightseagreen: "#20b2aa",
|
|
78
80
|
lightskyblue: "#87cefa",
|
|
79
81
|
lightslategray: "#778899",
|
|
82
|
+
lightslategrey: "#778899",
|
|
80
83
|
lightsteelblue: "#b0c4de",
|
|
81
84
|
lightyellow: "#ffffe0",
|
|
82
85
|
lime: "#00ff00",
|
|
@@ -117,6 +120,7 @@ const colorKeywords = {
|
|
|
117
120
|
powderblue: "#b0e0e6",
|
|
118
121
|
purple: "#800080",
|
|
119
122
|
red: "#ff0000",
|
|
123
|
+
rebeccapurple: "#663399",
|
|
120
124
|
rosybrown: "#bc8f8f",
|
|
121
125
|
royalblue: "#4169e1",
|
|
122
126
|
saddlebrown: "#8b4513",
|
|
@@ -129,6 +133,7 @@ const colorKeywords = {
|
|
|
129
133
|
skyblue: "#87ceeb",
|
|
130
134
|
slateblue: "#6a5acd",
|
|
131
135
|
slategray: "#708090",
|
|
136
|
+
slategrey: "#708090",
|
|
132
137
|
snow: "#fffafa",
|
|
133
138
|
springgreen: "#00ff7f",
|
|
134
139
|
steelblue: "#4682b4",
|
|
@@ -143,7 +148,37 @@ const colorKeywords = {
|
|
|
143
148
|
whitesmoke: "#f5f5f5",
|
|
144
149
|
yellow: "#ffff00",
|
|
145
150
|
yellowgreen: "#9acd32",
|
|
146
|
-
transparent: "rgba(0,0,0,0)"
|
|
151
|
+
transparent: "rgba(0,0,0,0)",
|
|
152
|
+
// grey 别名(已有 darkslategrey/lightslategrey/slategrey/dimgrey)
|
|
153
|
+
// 以下为 CSS 系统颜色
|
|
154
|
+
activeborder: "#bfcaca",
|
|
155
|
+
activecaption: "#000080",
|
|
156
|
+
appworkspace: "#ababab",
|
|
157
|
+
background: "#636363",
|
|
158
|
+
buttonface: "#c0c0c0",
|
|
159
|
+
buttonhighlight: "#dedede",
|
|
160
|
+
buttonshadow: "#808080",
|
|
161
|
+
buttontext: "#000000",
|
|
162
|
+
captiontext: "#000000",
|
|
163
|
+
graytext: "#808080",
|
|
164
|
+
highlight: "#b3d4fc",
|
|
165
|
+
highlighttext: "#000000",
|
|
166
|
+
inactiveborder: "#d4d0c8",
|
|
167
|
+
inactivecaption: "#bfbbb0",
|
|
168
|
+
inactivecaptiontext: "#545454",
|
|
169
|
+
infobackground: "#fbfcc5",
|
|
170
|
+
infotext: "#000000",
|
|
171
|
+
menu: "#c0c0c0",
|
|
172
|
+
menutext: "#000000",
|
|
173
|
+
scrollbar: "#c0c0c0",
|
|
174
|
+
threeddarkshadow: "#696969",
|
|
175
|
+
threedface: "#c0c0c0",
|
|
176
|
+
threedhighlight: "#dfdfdf",
|
|
177
|
+
threedlightshadow: "#dcdcdc",
|
|
178
|
+
threedshadow: "#808080",
|
|
179
|
+
window: "#ffffff",
|
|
180
|
+
windowframe: "#646464",
|
|
181
|
+
windowtext: "#000000"
|
|
147
182
|
};
|
|
148
183
|
|
|
149
184
|
/**
|
|
@@ -913,4 +948,5 @@ export default class jmUtils {
|
|
|
913
948
|
return fun(handler);
|
|
914
949
|
}
|
|
915
950
|
}
|
|
916
|
-
export { jmUtils };
|
|
951
|
+
export { jmUtils };
|
|
952
|
+
export { colorKeywords };
|