@umijs/utils 4.0.0-beta.8 → 4.0.0-canary-20240513.3
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/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +70 -0
- package/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
- package/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/types.d.ts +35 -0
- package/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
- package/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +74 -0
- package/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/types.d.ts +92 -0
- package/compiled/@ampproject/remapping/LICENSE +202 -0
- package/compiled/@ampproject/remapping/dist/types/remapping.d.ts +19 -0
- package/compiled/@ampproject/remapping/dist/types/source-map.d.ts +17 -0
- package/compiled/@ampproject/remapping/dist/types/types.d.ts +14 -0
- package/compiled/@ampproject/remapping/index.js +1 -0
- package/compiled/@ampproject/remapping/package.json +1 -0
- package/compiled/@clack/prompts/LICENSE +23 -0
- package/compiled/@clack/prompts/dist/index.d.ts +38 -0
- package/compiled/@clack/prompts/index.js +1 -0
- package/compiled/@clack/prompts/package.json +1 -0
- package/compiled/@hapi/joi/index.d.ts +2218 -0
- package/compiled/@hapi/joi/index.js +1 -0
- package/compiled/@hapi/joi/package.json +1 -0
- package/compiled/axios/index.d.ts +29 -14
- package/compiled/axios/index.js +1 -1
- package/compiled/chalk/LICENSE +1 -1
- package/compiled/chalk/index.js +1 -1
- package/compiled/chalk/package.json +1 -1
- package/compiled/chalk/source/index.d.ts +318 -0
- package/compiled/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/compiled/color/color-convert/conversions.d.ts +87 -87
- package/compiled/color/color-convert/index.d.ts +75 -60
- package/compiled/color/color-convert/route.d.ts +271 -271
- package/compiled/color/index.d.ts +118 -121
- package/compiled/color/index.js +1 -1
- package/compiled/color/package.json +1 -4
- package/compiled/debug/LICENSE +10 -9
- package/compiled/debug/index.js +1 -1
- package/compiled/debug/package.json +1 -1
- package/compiled/execa/index.d.ts +467 -445
- package/compiled/execa/index.js +1 -1
- package/compiled/fastest-levenshtein/index.js +1 -0
- package/compiled/fastest-levenshtein/mod.d.ts +3 -0
- package/compiled/fastest-levenshtein/package.json +1 -0
- package/compiled/filesize/LICENSE +28 -0
- package/compiled/filesize/filesize.d.ts +131 -0
- package/compiled/filesize/index.js +8 -0
- package/compiled/filesize/package.json +1 -0
- package/compiled/filesize/types/filesize.d.ts +46 -0
- package/compiled/fs-extra/index.d.ts +930 -253
- package/compiled/fs-extra/index.js +1 -1
- package/compiled/fs-extra/jsonfile/index.d.ts +78 -0
- package/compiled/fs-extra/package.json +1 -1
- package/compiled/glob/LICENSE +1 -7
- package/compiled/glob/index.d.ts +3 -1
- package/compiled/glob/index.js +1 -1
- package/compiled/glob/package.json +1 -1
- package/compiled/gzip-size/LICENSE +9 -0
- package/compiled/gzip-size/index.d.ts +103 -0
- package/compiled/gzip-size/index.js +1 -0
- package/compiled/gzip-size/package.json +1 -0
- package/compiled/lodash/common/array.d.ts +0 -0
- package/compiled/lodash/common/collection.d.ts +0 -0
- package/compiled/lodash/common/common.d.ts +0 -0
- package/compiled/lodash/common/date.d.ts +0 -0
- package/compiled/lodash/common/function.d.ts +0 -0
- package/compiled/lodash/common/lang.d.ts +0 -0
- package/compiled/lodash/common/math.d.ts +0 -0
- package/compiled/lodash/common/number.d.ts +0 -0
- package/compiled/lodash/common/object.d.ts +0 -0
- package/compiled/lodash/common/seq.d.ts +0 -0
- package/compiled/lodash/common/string.d.ts +0 -0
- package/compiled/lodash/common/util.d.ts +0 -0
- package/compiled/magic-string/LICENSE +7 -0
- package/compiled/magic-string/index.d.ts +250 -0
- package/compiled/magic-string/index.js +1 -0
- package/compiled/magic-string/package.json +1 -0
- package/compiled/pirates/LICENSE +21 -0
- package/compiled/pirates/index.d.ts +82 -0
- package/compiled/pirates/index.js +1 -0
- package/compiled/pirates/package.json +1 -0
- package/compiled/pkg-up/LICENSE +1 -1
- package/compiled/pkg-up/index.d.ts +55 -44
- package/compiled/pkg-up/index.js +1 -1
- package/compiled/pkg-up/package.json +1 -1
- package/compiled/portfinder/index.js +1 -1
- package/compiled/portfinder/lib/portfinder.d.ts +16 -1
- package/compiled/portfinder/package.json +1 -1
- package/compiled/prettier/index.d.ts +568 -679
- package/compiled/prettier/index.js +62 -274
- package/compiled/prettier/package.json +1 -5
- package/compiled/resolve/index.js +1 -1
- package/compiled/semver/classes/range.d.ts +1 -1
- package/compiled/semver/classes/semver.d.ts +1 -1
- package/compiled/semver/functions/compare-build.d.ts +6 -1
- package/compiled/semver/functions/diff.d.ts +1 -5
- package/compiled/semver/functions/satisfies.d.ts +1 -1
- package/compiled/semver/index.d.ts +3 -0
- package/compiled/semver/index.js +1 -1
- package/compiled/semver/package.json +1 -1
- package/compiled/semver/ranges/gtr.d.ts +1 -1
- package/compiled/semver/ranges/intersects.d.ts +1 -1
- package/compiled/semver/ranges/ltr.d.ts +1 -1
- package/compiled/semver/ranges/max-satisfying.d.ts +1 -1
- package/compiled/semver/ranges/min-satisfying.d.ts +1 -1
- package/compiled/semver/ranges/outside.d.ts +1 -1
- package/compiled/semver/ranges/subset.d.ts +1 -5
- package/compiled/semver/ranges/valid.d.ts +1 -1
- package/compiled/strip-ansi/LICENSE +1 -1
- package/compiled/strip-ansi/index.d.ts +2 -4
- package/compiled/strip-ansi/index.js +1 -1
- package/compiled/strip-ansi/package.json +1 -1
- package/compiled/tar/LICENSE +15 -0
- package/compiled/tar/index.d.ts +943 -0
- package/compiled/tar/index.js +1 -0
- package/compiled/tar/minipass/index.d.ts +150 -0
- package/compiled/tar/package.json +1 -0
- package/compiled/tsconfig-paths/LICENSE +21 -0
- package/compiled/tsconfig-paths/index.js +1 -0
- package/compiled/tsconfig-paths/lib/index.d.ts +5 -0
- package/compiled/tsconfig-paths/package.json +1 -0
- package/compiled/yargs-parser/index.js +1 -1
- package/compiled/yargs-parser/package.json +1 -1
- package/compiled/zod/LICENSE +21 -0
- package/compiled/zod/index.d.ts +2 -0
- package/compiled/zod/index.js +1 -0
- package/compiled/zod/lib/ZodError.d.ts +159 -0
- package/compiled/zod/lib/__tests__/Mocker.d.ts +17 -0
- package/compiled/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/index.d.ts +1 -0
- package/compiled/zod/lib/benchmarks/object.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/primitives.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/realworld.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/string.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/union.d.ts +5 -0
- package/compiled/zod/lib/errors.d.ts +5 -0
- package/compiled/zod/lib/external.d.ts +6 -0
- package/compiled/zod/lib/helpers/enumUtil.d.ts +8 -0
- package/compiled/zod/lib/helpers/errorUtil.d.ts +9 -0
- package/compiled/zod/lib/helpers/parseUtil.d.ts +78 -0
- package/compiled/zod/lib/helpers/partialUtil.d.ts +8 -0
- package/compiled/zod/lib/helpers/typeAliases.d.ts +2 -0
- package/compiled/zod/lib/helpers/util.d.ts +47 -0
- package/compiled/zod/lib/index.d.ts +4 -0
- package/compiled/zod/lib/locales/en.d.ts +3 -0
- package/compiled/zod/lib/types.d.ts +975 -0
- package/compiled/zod/package.json +1 -0
- package/dist/BaseGenerator/BaseGenerator.d.ts +3 -3
- package/dist/BaseGenerator/BaseGenerator.js +78 -54
- package/dist/BaseGenerator/generateFile.d.ts +2 -1
- package/dist/BaseGenerator/generateFile.js +49 -22
- package/dist/Generator/Generator.d.ts +18 -14
- package/dist/Generator/Generator.js +97 -70
- package/dist/aliasUtils/getAliasValue.d.ts +4 -0
- package/dist/aliasUtils/getAliasValue.js +66 -0
- package/dist/aliasUtils/index.d.ts +2 -0
- package/dist/aliasUtils/index.js +32 -0
- package/dist/aliasUtils/parseCircleAlias.d.ts +4 -0
- package/dist/aliasUtils/parseCircleAlias.js +66 -0
- package/dist/getCorejsVersion.d.ts +1 -0
- package/dist/getCorejsVersion.js +35 -0
- package/dist/getDevBanner.d.ts +5 -0
- package/dist/getDevBanner.js +81 -0
- package/dist/getFileGitIno.d.ts +47 -0
- package/dist/getFileGitIno.js +130 -0
- package/dist/getGitInfo.d.ts +6 -0
- package/dist/getGitInfo.js +50 -0
- package/dist/importLazy.js +42 -14
- package/dist/index.d.ts +26 -3
- package/dist/index.js +185 -86
- package/dist/installDeps.js +69 -37
- package/dist/isJavaScriptFile.d.ts +1 -0
- package/dist/isJavaScriptFile.js +32 -0
- package/dist/isLocalDev.d.ts +4 -0
- package/dist/isLocalDev.js +36 -0
- package/dist/isMonorepo.d.ts +5 -0
- package/dist/isMonorepo.js +44 -0
- package/dist/isStyleFile.d.ts +5 -0
- package/dist/isStyleFile.js +44 -0
- package/dist/logger.d.ts +13 -6
- package/dist/logger.js +166 -25
- package/dist/node.d.ts +4 -0
- package/dist/node.js +61 -0
- package/dist/npmClient.d.ts +3 -2
- package/dist/npmClient.js +86 -40
- package/dist/printHelp.d.ts +2 -0
- package/dist/printHelp.js +64 -0
- package/dist/randomColor/randomColor.js +47 -16
- package/dist/readDirFiles.d.ts +9 -0
- package/dist/readDirFiles.js +62 -0
- package/dist/register.d.ts +1 -0
- package/dist/register.js +75 -37
- package/dist/setNoDeprecation.d.ts +1 -0
- package/dist/setNoDeprecation.js +31 -0
- package/dist/tryPaths.d.ts +1 -0
- package/dist/tryPaths.js +35 -0
- package/dist/updatePackageJSON.js +50 -19
- package/dist/winPath.js +33 -9
- package/dist/zod/isZodSchema.d.ts +2 -0
- package/dist/zod/isZodSchema.js +31 -0
- package/package.json +70 -44
|
@@ -17,133 +17,133 @@ export type APPLE = [number, number, number];
|
|
|
17
17
|
export type GRAY = [number];
|
|
18
18
|
|
|
19
19
|
export namespace rgb {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
20
|
+
const channels: 3;
|
|
21
|
+
const labels: 'rgb';
|
|
22
|
+
function hsl(rgb: RGB): HSL;
|
|
23
|
+
function hsl(...rgb: RGB): HSL;
|
|
24
|
+
function hsv(rgb: RGB): HSV;
|
|
25
|
+
function hsv(...rgb: RGB): HSV;
|
|
26
|
+
function hwb(rgb: RGB): HWB;
|
|
27
|
+
function hwb(...rgb: RGB): HWB;
|
|
28
|
+
function cmyk(rgb: RGB): CMYK;
|
|
29
|
+
function cmyk(...rgb: RGB): CMYK;
|
|
30
|
+
function keyword(rgb: RGB): KEYWORD;
|
|
31
|
+
function keyword(...rgb: RGB): KEYWORD;
|
|
32
|
+
function xyz(rgb: RGB): XYZ;
|
|
33
|
+
function xyz(...rgb: RGB): XYZ;
|
|
34
|
+
function lab(rgb: RGB): LAB;
|
|
35
|
+
function lab(...rgb: RGB): LAB;
|
|
36
|
+
function ansi16(rgb: RGB): ANSI16;
|
|
37
|
+
function ansi16(...rgb: RGB): ANSI16;
|
|
38
|
+
function ansi256(rgb: RGB): ANSI256;
|
|
39
|
+
function ansi256(...rgb: RGB): ANSI256;
|
|
40
|
+
function hex(rgb: RGB): HEX;
|
|
41
|
+
function hex(...rgb: RGB): HEX;
|
|
42
|
+
function hcg(rgb: RGB): HCG;
|
|
43
|
+
function hcg(...rgb: RGB): HCG;
|
|
44
|
+
function apple(rgb: RGB): APPLE;
|
|
45
|
+
function apple(...rgb: RGB): APPLE;
|
|
46
|
+
function gray(rgb: RGB): GRAY;
|
|
47
|
+
function gray(...rgb: RGB): GRAY;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export namespace hsl {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
const channels: 3;
|
|
52
|
+
const labels: 'hsl';
|
|
53
|
+
function rgb(hsl: HSL): RGB;
|
|
54
|
+
function hsv(hsl: HSL): HSV;
|
|
55
|
+
function hcg(hsl: HSL): HCG;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
export namespace hsv {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
const channels: 3;
|
|
60
|
+
const labels: 'hsv';
|
|
61
|
+
function rgb(hsv: HSV): RGB;
|
|
62
|
+
function hsl(hsv: HSV): HSL;
|
|
63
|
+
function ansi16(hsv: HSV): ANSI16;
|
|
64
|
+
function hcg(hsv: HSV): HCG;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export namespace hwb {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
const channels: 3;
|
|
69
|
+
const labels: 'hwb';
|
|
70
|
+
function rgb(hwb: HWB): RGB;
|
|
71
|
+
function hcg(hwb: HWB): HCG;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
export namespace cmyk {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
const channels: 4;
|
|
76
|
+
const labels: 'cmyk';
|
|
77
|
+
function rgb(cmyk: CMYK): RGB;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export namespace xyz {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
const channels: 3;
|
|
82
|
+
const labels: 'xyz';
|
|
83
|
+
function rgb(xyz: XYZ): RGB;
|
|
84
|
+
function lab(xyz: XYZ): LAB;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export namespace lab {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
const channels: 3;
|
|
89
|
+
const labels: 'lab';
|
|
90
|
+
function xyz(lab: LAB): XYZ;
|
|
91
|
+
function lch(lab: LAB): LCH;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export namespace lch {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
const channels: 3;
|
|
96
|
+
const labels: 'lch';
|
|
97
|
+
function lab(lch: LCH): LAB;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
export namespace hex {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
const channels: 1;
|
|
102
|
+
const labels: ['hex'];
|
|
103
|
+
function rgb(hex: HEX): RGB;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
export namespace keyword {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
const channels: 1;
|
|
108
|
+
const labels: ['keyword'];
|
|
109
|
+
function rgb(keyword: KEYWORD): RGB;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
export namespace ansi16 {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
const channels: 1;
|
|
114
|
+
const labels: ['ansi16'];
|
|
115
|
+
function rgb(ansi16: ANSI16): RGB;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
export namespace ansi256 {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
const channels: 1;
|
|
120
|
+
const labels: ['ansi256'];
|
|
121
|
+
function rgb(ansi256: ANSI256): RGB;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
export namespace hcg {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
const channels: 3;
|
|
126
|
+
const labels: ['h', 'c', 'g'];
|
|
127
|
+
function rgb(hcg: HCG): RGB;
|
|
128
|
+
function hsv(hcg: HCG): HSV;
|
|
129
|
+
function hsl(hcg: HCG): HSL;
|
|
130
|
+
function hwb(hcg: HCG): HWB;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
export namespace apple {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
const channels: 3;
|
|
135
|
+
const labels: ['r16', 'g16', 'b16'];
|
|
136
|
+
function rgb(apple: APPLE): RGB;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
export namespace gray {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
140
|
+
const channels: 1;
|
|
141
|
+
const labels: ['gray'];
|
|
142
|
+
function rgb(gray: GRAY): RGB;
|
|
143
|
+
function hsl(gray: GRAY): HSL;
|
|
144
|
+
function hsv(gray: GRAY): HSV;
|
|
145
|
+
function hwb(gray: GRAY): HWB;
|
|
146
|
+
function cmyk(gray: GRAY): CMYK;
|
|
147
|
+
function lab(gray: GRAY): LAB;
|
|
148
|
+
function hex(gray: GRAY): HEX;
|
|
149
149
|
}
|
|
@@ -8,106 +8,121 @@ import conversions = require('./conversions');
|
|
|
8
8
|
import route = require('./route');
|
|
9
9
|
|
|
10
10
|
export const rgb: typeof conversions.rgb &
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
route.rgb &
|
|
12
|
+
{
|
|
13
|
+
[F in keyof route.rgb]: {
|
|
14
|
+
raw: route.rgb[F];
|
|
15
|
+
};
|
|
14
16
|
};
|
|
15
|
-
};
|
|
16
17
|
|
|
17
18
|
export const hsl: typeof conversions.hsl &
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
route.hsl &
|
|
20
|
+
{
|
|
21
|
+
[F in keyof route.hsl]: {
|
|
22
|
+
raw: route.hsl[F];
|
|
23
|
+
};
|
|
21
24
|
};
|
|
22
|
-
};
|
|
23
25
|
|
|
24
26
|
export const hsv: typeof conversions.hsv &
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
route.hsv &
|
|
28
|
+
{
|
|
29
|
+
[F in keyof route.hsv]: {
|
|
30
|
+
raw: route.hsv[F];
|
|
31
|
+
};
|
|
28
32
|
};
|
|
29
|
-
};
|
|
30
33
|
|
|
31
34
|
export const hwb: typeof conversions.hwb &
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
route.hwb &
|
|
36
|
+
{
|
|
37
|
+
[F in keyof route.hwb]: {
|
|
38
|
+
raw: route.hwb[F];
|
|
39
|
+
};
|
|
35
40
|
};
|
|
36
|
-
};
|
|
37
41
|
|
|
38
42
|
export const cmyk: typeof conversions.cmyk &
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
route.cmyk &
|
|
44
|
+
{
|
|
45
|
+
[F in keyof route.cmyk]: {
|
|
46
|
+
raw: route.cmyk[F];
|
|
47
|
+
};
|
|
42
48
|
};
|
|
43
|
-
};
|
|
44
49
|
|
|
45
50
|
export const xyz: typeof conversions.xyz &
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
route.xyz &
|
|
52
|
+
{
|
|
53
|
+
[F in keyof route.xyz]: {
|
|
54
|
+
raw: route.xyz[F];
|
|
55
|
+
};
|
|
49
56
|
};
|
|
50
|
-
};
|
|
51
57
|
|
|
52
58
|
export const lab: typeof conversions.lab &
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
route.lab &
|
|
60
|
+
{
|
|
61
|
+
[F in keyof route.lab]: {
|
|
62
|
+
raw: route.lab[F];
|
|
63
|
+
};
|
|
56
64
|
};
|
|
57
|
-
};
|
|
58
65
|
|
|
59
66
|
export const lch: typeof conversions.lch &
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
route.lch &
|
|
68
|
+
{
|
|
69
|
+
[F in keyof route.lch]: {
|
|
70
|
+
raw: route.lch[F];
|
|
71
|
+
};
|
|
63
72
|
};
|
|
64
|
-
};
|
|
65
73
|
|
|
66
74
|
export const hex: typeof conversions.hex &
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
75
|
+
route.hex &
|
|
76
|
+
{
|
|
77
|
+
[F in keyof route.hex]: {
|
|
78
|
+
raw: route.hex[F];
|
|
79
|
+
};
|
|
70
80
|
};
|
|
71
|
-
};
|
|
72
81
|
|
|
73
82
|
export const keyword: typeof conversions.keyword &
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
83
|
+
route.keyword &
|
|
84
|
+
{
|
|
85
|
+
[F in keyof route.keyword]: {
|
|
86
|
+
raw: route.keyword[F];
|
|
87
|
+
};
|
|
77
88
|
};
|
|
78
|
-
};
|
|
79
89
|
|
|
80
90
|
export const ansi16: typeof conversions.ansi16 &
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
91
|
+
route.ansi16 &
|
|
92
|
+
{
|
|
93
|
+
[F in keyof route.ansi16]: {
|
|
94
|
+
raw: route.ansi16[F];
|
|
95
|
+
};
|
|
84
96
|
};
|
|
85
|
-
};
|
|
86
97
|
|
|
87
98
|
export const ansi256: typeof conversions.ansi256 &
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
99
|
+
route.ansi256 &
|
|
100
|
+
{
|
|
101
|
+
[F in keyof route.ansi256]: {
|
|
102
|
+
raw: route.ansi256[F];
|
|
103
|
+
};
|
|
91
104
|
};
|
|
92
|
-
};
|
|
93
105
|
|
|
94
106
|
export const hcg: typeof conversions.hcg &
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
107
|
+
route.hcg &
|
|
108
|
+
{
|
|
109
|
+
[F in keyof route.hcg]: {
|
|
110
|
+
raw: route.hcg[F];
|
|
111
|
+
};
|
|
98
112
|
};
|
|
99
|
-
};
|
|
100
113
|
|
|
101
114
|
export const apple: typeof conversions.apple &
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
115
|
+
route.apple &
|
|
116
|
+
{
|
|
117
|
+
[F in keyof route.apple]: {
|
|
118
|
+
raw: route.apple[F];
|
|
119
|
+
};
|
|
105
120
|
};
|
|
106
|
-
};
|
|
107
121
|
|
|
108
122
|
export const gray: typeof conversions.gray &
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
123
|
+
route.gray &
|
|
124
|
+
{
|
|
125
|
+
[F in keyof route.gray]: {
|
|
126
|
+
raw: route.gray[F];
|
|
127
|
+
};
|
|
112
128
|
};
|
|
113
|
-
};
|