@itwin/core-common 3.2.0-dev.1 → 3.2.0-dev.14
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/CHANGELOG.md +6 -1
- package/lib/cjs/BackgroundMapProvider.d.ts +4 -0
- package/lib/cjs/BackgroundMapProvider.d.ts.map +1 -1
- package/lib/cjs/BackgroundMapProvider.js +9 -0
- package/lib/cjs/BackgroundMapProvider.js.map +1 -1
- package/lib/cjs/ColorByName.d.ts +152 -152
- package/lib/cjs/ColorByName.d.ts.map +1 -1
- package/lib/cjs/ColorByName.js +152 -153
- package/lib/cjs/ColorByName.js.map +1 -1
- package/lib/cjs/ColorDef.d.ts +53 -46
- package/lib/cjs/ColorDef.d.ts.map +1 -1
- package/lib/cjs/ColorDef.js +48 -31
- package/lib/cjs/ColorDef.js.map +1 -1
- package/lib/cjs/rpc/core/RpcInvocation.d.ts.map +1 -1
- package/lib/cjs/rpc/core/RpcInvocation.js +1 -6
- package/lib/cjs/rpc/core/RpcInvocation.js.map +1 -1
- package/lib/cjs/rpc/core/RpcMarshaling.d.ts.map +1 -1
- package/lib/cjs/rpc/core/RpcMarshaling.js +2 -1
- package/lib/cjs/rpc/core/RpcMarshaling.js.map +1 -1
- package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.d.ts.map +1 -1
- package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js +1 -2
- package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcLogging.js +14 -10
- package/lib/cjs/rpc/web/WebAppRpcLogging.js.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts +0 -1
- package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcRequest.js +0 -1
- package/lib/cjs/rpc/web/WebAppRpcRequest.js.map +1 -1
- package/lib/esm/BackgroundMapProvider.d.ts +4 -0
- package/lib/esm/BackgroundMapProvider.d.ts.map +1 -1
- package/lib/esm/BackgroundMapProvider.js +9 -0
- package/lib/esm/BackgroundMapProvider.js.map +1 -1
- package/lib/esm/ColorByName.d.ts +152 -152
- package/lib/esm/ColorByName.d.ts.map +1 -1
- package/lib/esm/ColorByName.js +152 -153
- package/lib/esm/ColorByName.js.map +1 -1
- package/lib/esm/ColorDef.d.ts +53 -46
- package/lib/esm/ColorDef.d.ts.map +1 -1
- package/lib/esm/ColorDef.js +48 -31
- package/lib/esm/ColorDef.js.map +1 -1
- package/lib/esm/rpc/core/RpcInvocation.d.ts.map +1 -1
- package/lib/esm/rpc/core/RpcInvocation.js +1 -6
- package/lib/esm/rpc/core/RpcInvocation.js.map +1 -1
- package/lib/esm/rpc/core/RpcMarshaling.d.ts.map +1 -1
- package/lib/esm/rpc/core/RpcMarshaling.js +1 -0
- package/lib/esm/rpc/core/RpcMarshaling.js.map +1 -1
- package/lib/esm/rpc/web/BentleyCloudRpcProtocol.d.ts.map +1 -1
- package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js +0 -1
- package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcLogging.js +14 -10
- package/lib/esm/rpc/web/WebAppRpcLogging.js.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcRequest.d.ts +0 -1
- package/lib/esm/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcRequest.js +0 -1
- package/lib/esm/rpc/web/WebAppRpcRequest.js.map +1 -1
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Change Log - @itwin/core-common
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu,
|
|
3
|
+
This log was last generated on Thu, 10 Mar 2022 21:18:13 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 3.0.2
|
|
6
|
+
Thu, 10 Mar 2022 21:18:13 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
4
9
|
|
|
5
10
|
## 3.0.1
|
|
6
11
|
Thu, 24 Feb 2022 15:26:55 GMT
|
|
@@ -42,5 +42,9 @@ export declare class BackgroundMapProvider {
|
|
|
42
42
|
static fromBackgroundMapProps(props: DeprecatedBackgroundMapProps): BackgroundMapProvider;
|
|
43
43
|
/** Return true if this provider is equivalent to `other`. */
|
|
44
44
|
equals(other: BackgroundMapProvider): boolean;
|
|
45
|
+
/** Produce a copy of this provider with identical properties except for those explicitly specified by `changedProps`.
|
|
46
|
+
* Any properties explicitly set to `undefined` in `changedProps` will be reset to their default values.
|
|
47
|
+
*/
|
|
48
|
+
clone(changedProps: BackgroundMapProviderProps): BackgroundMapProvider;
|
|
45
49
|
}
|
|
46
50
|
//# sourceMappingURL=BackgroundMapProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackgroundMapProvider.d.ts","sourceRoot":"","sources":["../../src/BackgroundMapProvider.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAEvE;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,MAAM,IAAI;IACV,MAAM,IAAI;IACV,MAAM,IAAI;CACX;AAED;;;GAGG;AACH,oBAAY,yBAAyB,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAE1E;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,wDAAwD;IACxD,IAAI,CAAC,EAAE,yBAAyB,CAAC;IACjC,uDAAuD;IACvD,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,qBAAqB;IAChC,gCAAgC;IAChC,SAAgB,IAAI,EAAE,yBAAyB,CAAC;IAChD,wCAAwC;IACxC,SAAgB,IAAI,EA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|
@@ -54,6 +54,15 @@ class BackgroundMapProvider {
|
|
|
54
54
|
equals(other) {
|
|
55
55
|
return this.name === other.name && this.type === other.type;
|
|
56
56
|
}
|
|
57
|
+
/** Produce a copy of this provider with identical properties except for those explicitly specified by `changedProps`.
|
|
58
|
+
* Any properties explicitly set to `undefined` in `changedProps` will be reset to their default values.
|
|
59
|
+
*/
|
|
60
|
+
clone(changedProps) {
|
|
61
|
+
return BackgroundMapProvider.fromJSON({
|
|
62
|
+
...this.toJSON(),
|
|
63
|
+
...changedProps,
|
|
64
|
+
});
|
|
65
|
+
}
|
|
57
66
|
}
|
|
58
67
|
exports.BackgroundMapProvider = BackgroundMapProvider;
|
|
59
68
|
//# sourceMappingURL=BackgroundMapProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackgroundMapProvider.js","sourceRoot":"","sources":["../../src/BackgroundMapProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH;;GAEG;AACH,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,6DAAU,CAAA;IACV,6DAAU,CAAA;IACV,6DAAU,CAAA;AACZ,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAmBD;;GAEG;AACH,MAAa,qBAAqB;IAMhC,YAAoB,IAA+B,EAAE,IAAuB;QAC1E,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,sDAAsD;IAC/C,MAAM,CAAC,QAAQ,CAAC,KAAiC;QACtD,MAAM,IAAI,GAA8B,KAAK,CAAC,IAAI,KAAK,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC;QACtG,IAAI,IAAI,CAAC;QACT,QAAQ,KAAK,CAAC,IAAI,EAAE;YAClB,KAAK,iBAAiB,CAAC,MAAM,CAAC;YAC9B,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AC/C,MAAM,CAAC,QAAQ,CAAC,KAAiC;QACtD,MAAM,IAAI,GAA8B,KAAK,CAAC,IAAI,KAAK,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC;QACtG,IAAI,IAAI,CAAC;QACT,QAAQ,KAAK,CAAC,IAAI,EAAE;YAClB,KAAK,iBAAiB,CAAC,MAAM,CAAC;YAC9B,KAAK,iBAAiB,CAAC,MAAM;gBAC3B,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;gBAClB,MAAM;YACR;gBACE,IAAI,GAAG,iBAAiB,CAAC,MAAM,CAAC;gBAChC,MAAM;SACT;QAED,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;IAED,wDAAwD;IACjD,MAAM;QACX,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IAC9C,CAAC;IAED,gBAAgB;IACT,MAAM,CAAC,sBAAsB,CAAC,KAAmC;;QACtE,mDAAmD;QACnD,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,YAAyC,EAAE,IAAI,EAAE,MAAA,KAAK,CAAC,YAAY,0CAAE,OAAO,EAAE,CAAC,CAAC;IACrH,CAAC;IAED,6DAA6D;IACtD,MAAM,CAAC,KAA4B;QACxC,OAAO,IAAI,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,CAAC;IAC9D,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,YAAwC;QACnD,OAAO,qBAAqB,CAAC,QAAQ,CAAC;YACpC,GAAG,IAAI,CAAC,MAAM,EAAE;YAChB,GAAG,YAAY;SAChB,CAAC,CAAC;IACL,CAAC;CACF;AArDD,sDAqDC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module DisplayStyles\r\n */\r\n\r\nimport { DeprecatedBackgroundMapProps } from \"./BackgroundMapSettings\";\r\n\r\n/** Enumerates the types of map imagery that can be supplied by a [[BackgroundMapProvider]].\r\n * @public\r\n */\r\nexport enum BackgroundMapType {\r\n Street = 1,\r\n Aerial = 2,\r\n Hybrid = 3,\r\n}\r\n\r\n/** Enumerates a set of supported [[BackgroundMapProvider]]s that can provide map imagery.\r\n * @note To access imagery from such a provider, an API key must be supplied via [IModelAppOptions.mapLayerOptions]($frontend).\r\n * @public\r\n */\r\nexport type BackgroundMapProviderName = \"BingProvider\" | \"MapBoxProvider\";\r\n\r\n/** JSON representation of a [[BackgroundMapProvider]].\r\n * @see [[BaseMapLayerProps.provider]].\r\n * @beta\r\n */\r\nexport interface BackgroundMapProviderProps {\r\n /** The name of the provider. Default: \"BingProvider\" */\r\n name?: BackgroundMapProviderName;\r\n /** The type of imagery to display. Default: Hybrid. */\r\n type?: BackgroundMapType;\r\n}\r\n\r\n/** Describes one of a small set of standard, known suppliers of background map imagery as part of a [[BaseMapLayerSettings]].\r\n * @beta\r\n */\r\nexport class BackgroundMapProvider {\r\n /** The name of the provider. */\r\n public readonly name: BackgroundMapProviderName;\r\n /** The type of map imagery provided. */\r\n public readonly type: BackgroundMapType;\r\n\r\n private constructor(name: BackgroundMapProviderName, type: BackgroundMapType) {\r\n this.name = name;\r\n this.type = type;\r\n }\r\n\r\n /** Create a provider from its JSON representation. */\r\n public static fromJSON(props: BackgroundMapProviderProps): BackgroundMapProvider {\r\n const name: BackgroundMapProviderName = props.name === \"MapBoxProvider\" ? props.name : \"BingProvider\";\r\n let type;\r\n switch (props.type) {\r\n case BackgroundMapType.Street:\r\n case BackgroundMapType.Aerial:\r\n type = props.type;\r\n break;\r\n default:\r\n type = BackgroundMapType.Hybrid;\r\n break;\r\n }\r\n\r\n return new BackgroundMapProvider(name, type);\r\n }\r\n\r\n /** Convert this provider to its JSON representation. */\r\n public toJSON(): BackgroundMapProviderProps {\r\n return { name: this.name, type: this.type };\r\n }\r\n\r\n /** @internal */\r\n public static fromBackgroundMapProps(props: DeprecatedBackgroundMapProps): BackgroundMapProvider {\r\n // eslint-disable-next-line deprecation/deprecation\r\n return this.fromJSON({ name: props.providerName as BackgroundMapProviderName, type: props.providerData?.mapType });\r\n }\r\n\r\n /** Return true if this provider is equivalent to `other`. */\r\n public equals(other: BackgroundMapProvider): boolean {\r\n return this.name === other.name && this.type === other.type;\r\n }\r\n\r\n /** Produce a copy of this provider with identical properties except for those explicitly specified by `changedProps`.\r\n * Any properties explicitly set to `undefined` in `changedProps` will be reset to their default values.\r\n */\r\n public clone(changedProps: BackgroundMapProviderProps): BackgroundMapProvider {\r\n return BackgroundMapProvider.fromJSON({\r\n ...this.toJSON(),\r\n ...changedProps,\r\n });\r\n }\r\n}\r\n"]}
|
package/lib/cjs/ColorByName.d.ts
CHANGED
|
@@ -6,156 +6,156 @@
|
|
|
6
6
|
* @note If your colors don't look right, likely you're using 0xRRGGBB where ColorDef expects 0xBBGGRR.
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
export declare
|
|
10
|
-
aliceBlue
|
|
11
|
-
amber
|
|
12
|
-
antiqueWhite
|
|
13
|
-
aqua
|
|
14
|
-
aquamarine
|
|
15
|
-
azure
|
|
16
|
-
beige
|
|
17
|
-
bisque
|
|
18
|
-
black
|
|
19
|
-
blanchedAlmond
|
|
20
|
-
blue
|
|
21
|
-
blueViolet
|
|
22
|
-
brown
|
|
23
|
-
burlyWood
|
|
24
|
-
cadetBlue
|
|
25
|
-
chartreuse
|
|
26
|
-
chocolate
|
|
27
|
-
coral
|
|
28
|
-
cornflowerBlue
|
|
29
|
-
cornSilk
|
|
30
|
-
crimson
|
|
31
|
-
cyan
|
|
32
|
-
darkBlue
|
|
33
|
-
darkBrown
|
|
34
|
-
darkCyan
|
|
35
|
-
darkGoldenrod
|
|
36
|
-
darkGray
|
|
37
|
-
darkGreen
|
|
38
|
-
darkGrey
|
|
39
|
-
darkKhaki
|
|
40
|
-
darkMagenta
|
|
41
|
-
darkOliveGreen
|
|
42
|
-
darkOrange
|
|
43
|
-
darkOrchid
|
|
44
|
-
darkRed
|
|
45
|
-
darkSalmon
|
|
46
|
-
darkSeagreen
|
|
47
|
-
darkSlateBlue
|
|
48
|
-
darkSlateGray
|
|
49
|
-
darkSlateGrey
|
|
50
|
-
darkTurquoise
|
|
51
|
-
darkViolet
|
|
52
|
-
deepPink
|
|
53
|
-
deepSkyBlue
|
|
54
|
-
dimGray
|
|
55
|
-
dimGrey
|
|
56
|
-
dodgerBlue
|
|
57
|
-
fireBrick
|
|
58
|
-
floralWhite
|
|
59
|
-
forestGreen
|
|
60
|
-
fuchsia
|
|
61
|
-
gainsboro
|
|
62
|
-
ghostWhite
|
|
63
|
-
gold
|
|
64
|
-
goldenrod
|
|
65
|
-
gray
|
|
66
|
-
green
|
|
67
|
-
greenYellow
|
|
68
|
-
grey
|
|
69
|
-
honeydew
|
|
70
|
-
hotPink
|
|
71
|
-
indianRed
|
|
72
|
-
indigo
|
|
73
|
-
ivory
|
|
74
|
-
khaki
|
|
75
|
-
lavender
|
|
76
|
-
lavenderBlush
|
|
77
|
-
lawnGreen
|
|
78
|
-
lemonChiffon
|
|
79
|
-
lightBlue
|
|
80
|
-
lightCoral
|
|
81
|
-
lightCyan
|
|
82
|
-
lightGoldenrodYellow
|
|
83
|
-
lightGray
|
|
84
|
-
lightGreen
|
|
85
|
-
lightGrey
|
|
86
|
-
lightPink
|
|
87
|
-
lightSalmon
|
|
88
|
-
lightSeagreen
|
|
89
|
-
lightSkyBlue
|
|
90
|
-
lightSlateGray
|
|
91
|
-
lightSlateGrey
|
|
92
|
-
lightSteelBlue
|
|
93
|
-
lightyellow
|
|
94
|
-
lime
|
|
95
|
-
limeGreen
|
|
96
|
-
linen
|
|
97
|
-
magenta
|
|
98
|
-
maroon
|
|
99
|
-
mediumAquamarine
|
|
100
|
-
mediumBlue
|
|
101
|
-
mediumOrchid
|
|
102
|
-
mediumPurple
|
|
103
|
-
mediumSeaGreen
|
|
104
|
-
mediumSlateBlue
|
|
105
|
-
mediumSpringGreen
|
|
106
|
-
mediumTurquoise
|
|
107
|
-
mediumVioletRed
|
|
108
|
-
midnightBlue
|
|
109
|
-
mintCream
|
|
110
|
-
mistyRose
|
|
111
|
-
moccasin
|
|
112
|
-
navajoWhite
|
|
113
|
-
navy
|
|
114
|
-
oldLace
|
|
115
|
-
olive
|
|
116
|
-
oliveDrab
|
|
117
|
-
orange
|
|
118
|
-
orangeRed
|
|
119
|
-
orchid
|
|
120
|
-
paleGoldenrod
|
|
121
|
-
paleGreen
|
|
122
|
-
paleTurquoise
|
|
123
|
-
paleVioletRed
|
|
124
|
-
papayaWhip
|
|
125
|
-
peachPuff
|
|
126
|
-
peru
|
|
127
|
-
pink
|
|
128
|
-
plum
|
|
129
|
-
powderBlue
|
|
130
|
-
purple
|
|
131
|
-
rebeccaPurple
|
|
132
|
-
red
|
|
133
|
-
rosyBrown
|
|
134
|
-
royalBlue
|
|
135
|
-
saddleBrown
|
|
136
|
-
salmon
|
|
137
|
-
sandyBrown
|
|
138
|
-
seaGreen
|
|
139
|
-
seaShell
|
|
140
|
-
sienna
|
|
141
|
-
silver
|
|
142
|
-
skyBlue
|
|
143
|
-
slateBlue
|
|
144
|
-
slateGray
|
|
145
|
-
slateGrey
|
|
146
|
-
snow
|
|
147
|
-
springGreen
|
|
148
|
-
steelBlue
|
|
149
|
-
tan
|
|
150
|
-
teal
|
|
151
|
-
thistle
|
|
152
|
-
tomato
|
|
153
|
-
turquoise
|
|
154
|
-
violet
|
|
155
|
-
wheat
|
|
156
|
-
white
|
|
157
|
-
whiteSmoke
|
|
158
|
-
yellow
|
|
159
|
-
yellowGreen
|
|
160
|
-
}
|
|
9
|
+
export declare const ColorByName: {
|
|
10
|
+
aliceBlue: number;
|
|
11
|
+
amber: number;
|
|
12
|
+
antiqueWhite: number;
|
|
13
|
+
aqua: number;
|
|
14
|
+
aquamarine: number;
|
|
15
|
+
azure: number;
|
|
16
|
+
beige: number;
|
|
17
|
+
bisque: number;
|
|
18
|
+
black: number;
|
|
19
|
+
blanchedAlmond: number;
|
|
20
|
+
blue: number;
|
|
21
|
+
blueViolet: number;
|
|
22
|
+
brown: number;
|
|
23
|
+
burlyWood: number;
|
|
24
|
+
cadetBlue: number;
|
|
25
|
+
chartreuse: number;
|
|
26
|
+
chocolate: number;
|
|
27
|
+
coral: number;
|
|
28
|
+
cornflowerBlue: number;
|
|
29
|
+
cornSilk: number;
|
|
30
|
+
crimson: number;
|
|
31
|
+
cyan: number;
|
|
32
|
+
darkBlue: number;
|
|
33
|
+
darkBrown: number;
|
|
34
|
+
darkCyan: number;
|
|
35
|
+
darkGoldenrod: number;
|
|
36
|
+
darkGray: number;
|
|
37
|
+
darkGreen: number;
|
|
38
|
+
darkGrey: number;
|
|
39
|
+
darkKhaki: number;
|
|
40
|
+
darkMagenta: number;
|
|
41
|
+
darkOliveGreen: number;
|
|
42
|
+
darkOrange: number;
|
|
43
|
+
darkOrchid: number;
|
|
44
|
+
darkRed: number;
|
|
45
|
+
darkSalmon: number;
|
|
46
|
+
darkSeagreen: number;
|
|
47
|
+
darkSlateBlue: number;
|
|
48
|
+
darkSlateGray: number;
|
|
49
|
+
darkSlateGrey: number;
|
|
50
|
+
darkTurquoise: number;
|
|
51
|
+
darkViolet: number;
|
|
52
|
+
deepPink: number;
|
|
53
|
+
deepSkyBlue: number;
|
|
54
|
+
dimGray: number;
|
|
55
|
+
dimGrey: number;
|
|
56
|
+
dodgerBlue: number;
|
|
57
|
+
fireBrick: number;
|
|
58
|
+
floralWhite: number;
|
|
59
|
+
forestGreen: number;
|
|
60
|
+
fuchsia: number;
|
|
61
|
+
gainsboro: number;
|
|
62
|
+
ghostWhite: number;
|
|
63
|
+
gold: number;
|
|
64
|
+
goldenrod: number;
|
|
65
|
+
gray: number;
|
|
66
|
+
green: number;
|
|
67
|
+
greenYellow: number;
|
|
68
|
+
grey: number;
|
|
69
|
+
honeydew: number;
|
|
70
|
+
hotPink: number;
|
|
71
|
+
indianRed: number;
|
|
72
|
+
indigo: number;
|
|
73
|
+
ivory: number;
|
|
74
|
+
khaki: number;
|
|
75
|
+
lavender: number;
|
|
76
|
+
lavenderBlush: number;
|
|
77
|
+
lawnGreen: number;
|
|
78
|
+
lemonChiffon: number;
|
|
79
|
+
lightBlue: number;
|
|
80
|
+
lightCoral: number;
|
|
81
|
+
lightCyan: number;
|
|
82
|
+
lightGoldenrodYellow: number;
|
|
83
|
+
lightGray: number;
|
|
84
|
+
lightGreen: number;
|
|
85
|
+
lightGrey: number;
|
|
86
|
+
lightPink: number;
|
|
87
|
+
lightSalmon: number;
|
|
88
|
+
lightSeagreen: number;
|
|
89
|
+
lightSkyBlue: number;
|
|
90
|
+
lightSlateGray: number;
|
|
91
|
+
lightSlateGrey: number;
|
|
92
|
+
lightSteelBlue: number;
|
|
93
|
+
lightyellow: number;
|
|
94
|
+
lime: number;
|
|
95
|
+
limeGreen: number;
|
|
96
|
+
linen: number;
|
|
97
|
+
magenta: number;
|
|
98
|
+
maroon: number;
|
|
99
|
+
mediumAquamarine: number;
|
|
100
|
+
mediumBlue: number;
|
|
101
|
+
mediumOrchid: number;
|
|
102
|
+
mediumPurple: number;
|
|
103
|
+
mediumSeaGreen: number;
|
|
104
|
+
mediumSlateBlue: number;
|
|
105
|
+
mediumSpringGreen: number;
|
|
106
|
+
mediumTurquoise: number;
|
|
107
|
+
mediumVioletRed: number;
|
|
108
|
+
midnightBlue: number;
|
|
109
|
+
mintCream: number;
|
|
110
|
+
mistyRose: number;
|
|
111
|
+
moccasin: number;
|
|
112
|
+
navajoWhite: number;
|
|
113
|
+
navy: number;
|
|
114
|
+
oldLace: number;
|
|
115
|
+
olive: number;
|
|
116
|
+
oliveDrab: number;
|
|
117
|
+
orange: number;
|
|
118
|
+
orangeRed: number;
|
|
119
|
+
orchid: number;
|
|
120
|
+
paleGoldenrod: number;
|
|
121
|
+
paleGreen: number;
|
|
122
|
+
paleTurquoise: number;
|
|
123
|
+
paleVioletRed: number;
|
|
124
|
+
papayaWhip: number;
|
|
125
|
+
peachPuff: number;
|
|
126
|
+
peru: number;
|
|
127
|
+
pink: number;
|
|
128
|
+
plum: number;
|
|
129
|
+
powderBlue: number;
|
|
130
|
+
purple: number;
|
|
131
|
+
rebeccaPurple: number;
|
|
132
|
+
red: number;
|
|
133
|
+
rosyBrown: number;
|
|
134
|
+
royalBlue: number;
|
|
135
|
+
saddleBrown: number;
|
|
136
|
+
salmon: number;
|
|
137
|
+
sandyBrown: number;
|
|
138
|
+
seaGreen: number;
|
|
139
|
+
seaShell: number;
|
|
140
|
+
sienna: number;
|
|
141
|
+
silver: number;
|
|
142
|
+
skyBlue: number;
|
|
143
|
+
slateBlue: number;
|
|
144
|
+
slateGray: number;
|
|
145
|
+
slateGrey: number;
|
|
146
|
+
snow: number;
|
|
147
|
+
springGreen: number;
|
|
148
|
+
steelBlue: number;
|
|
149
|
+
tan: number;
|
|
150
|
+
teal: number;
|
|
151
|
+
thistle: number;
|
|
152
|
+
tomato: number;
|
|
153
|
+
turquoise: number;
|
|
154
|
+
violet: number;
|
|
155
|
+
wheat: number;
|
|
156
|
+
white: number;
|
|
157
|
+
whiteSmoke: number;
|
|
158
|
+
yellow: number;
|
|
159
|
+
yellowGreen: number;
|
|
160
|
+
};
|
|
161
161
|
//# sourceMappingURL=ColorByName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorByName.d.ts","sourceRoot":"","sources":["../../src/ColorByName.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"ColorByName.d.ts","sourceRoot":"","sources":["../../src/ColorByName.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuJvB,CAAC"}
|