Commit b6e0f086 authored by zhushengjie's avatar zhushengjie

拖动组件

parent 46f54cd3
......@@ -17,12 +17,13 @@
"start:native": "ray start --target=native"
},
"dependencies": {
"@ray-js/ray": "^0.6.15",
"@ray-js/components-ty-lamp": "^1.3.0",
"@ray-js/panel-sdk": "^1.1.4",
"@ray-js/ray": "^0.6.15",
"core-js": "^3.23.5",
"fast-deep-equal": "^3.1.3",
"jotai": "^1.7.0",
"lodash": "^4.17.21",
"core-js": "^3.23.5"
"lodash": "^4.17.21"
},
"devDependencies": {
"@commitlint/cli": "^7.2.1",
......
import React, { useState } from 'react';
import React, { useState, useEffect } from 'react';
import { LampCirclePicker } from '@ray-js/components-ty-lamp';
import throttle from 'lodash/throttle';
import { utils } from '@ray-js/panel-sdk';
import { getElementById } from '@ray-js/api';
import { hsvToDpdata, dpdataToHsv, temperatureToRgb } from '@/utils';
......@@ -65,12 +67,30 @@ const HubCircle: React.FC<Props> = props => {
{ temp_value: 300, bright_value: 300, color: '#FFE2A4', active: false },
]);
const getColor = (bright_value: number, KL = (6500 - 2700) / 2 + 2700) => {
const colorRgb = temperatureToRgb(KL);
const colorHsv = rgb2hsv(colorRgb[0], colorRgb[1], colorRgb[2]);
const nowColor = hsv2rgbString(colorHsv[0], colorHsv[1], colorHsv[2], bright_value / 1000);
return nowColor;
};
const [dataState, setDataState] = useState({
angleValue: 0, // 角度值 0 ~ 360
angleShow: 0, // 角度展示 0 ~ 180
tempshow: (6500 - 2700) / 2 + 2700, // 色温展示
nowColor: '#FFE2A4', // 当前颜色
nowColor: '#000', // 当前颜色
bright_value: dpState.bright_value,
});
useEffect(() => {
const kl = getTempshowByDpTemp(dpState.temp_value);
const color = getColor(dpState.bright_value, kl);
setDataState({
...dataState,
nowColor: color,
tempshow: kl,
});
}, []);
// 442
const circleLocationOrigin = (tempValue: number) => {
let rad;
......@@ -183,7 +203,7 @@ const HubCircle: React.FC<Props> = props => {
dataSourse.mouse_offset.y = mouse_offset_y;
};
const handleBarMove = (e: any) => {
const handleBarMove = throttle((e: any) => {
e.origin.stopPropagation();
const event_offset_x =
e.origin.touches[0].clientX -
......@@ -214,12 +234,19 @@ const HubCircle: React.FC<Props> = props => {
left,
top,
});
};
}, 50);
const handleBarEnd = () => {
setColorStateAtom({ ifDrag: false });
const dpValue = getTempDpValue(dataState.angleValue, dataState.angleShow);
console.log(dpValue);
const colorRgb = temperatureToRgb(dataState.tempshow);
const colorHsv = rgb2hsv(colorRgb[0], colorRgb[1], colorRgb[2]);
const nowColor = hsv2rgbString(colorHsv[0], colorHsv[1], dpState.bright_value, 1);
setDataState({
...dataState,
nowColor,
});
props.onSetDpState('temp_value', dpValue);
};
......@@ -292,6 +319,43 @@ const HubCircle: React.FC<Props> = props => {
setModalShow(flag);
};
const handleSlider = (type, e) => {
const bright_value = e.value;
props.onSetDpState('bright_value', bright_value);
};
const handleSlidering = (type, e) => {
const bright_value = e.value;
const colorRgb = temperatureToRgb(dataState.tempshow);
const colorHsv = rgb2hsv(colorRgb[0], colorRgb[1], colorRgb[2]);
const nowColor = hsv2rgbString(
colorHsv[0],
colorHsv[1],
colorHsv[2],
dataState.bright_value / 1000
);
setDataState({
...dataState,
nowColor,
bright_value,
});
};
const getTempshowByDpTemp = (dpTemp: number) => {
const start = dataSourse.tempValue[0];
const end = dataSourse.tempValue[1];
const tempValue = ((end - start) / 1000) * dpTemp + start;
return tempValue;
};
// const [temperature, setTemperature] = useState(dpState.temp_value);
// const handleMove = (v: number) => {
// setTemperature(v);
// };
// const handleEnd = (v: number) => {
// setTemperature(v);
// };
return (
<View className={styles.box}>
<View className={styles.header}>
......@@ -306,12 +370,19 @@ const HubCircle: React.FC<Props> = props => {
top: `${circleLocation.top}px`,
width: `${dataSourse.bar_r * 2}px`,
height: `${dataSourse.bar_r * 2}px`,
backgroundColor: dataState.nowColor,
}}
onTouchStart={handleBarTouch}
onTouchMove={handleBarMove}
onTouchEnd={handleBarEnd}
/>
</View>
{/* <LampCirclePicker
canvasId="whiteRing"
temperature={temperature}
onTouchMove={handleMove}
onTouchEnd={handleEnd}
/> */}
</View>
<View className={styles.panel}>
{/* <View className={styles.configList}>
......@@ -345,17 +416,13 @@ const HubCircle: React.FC<Props> = props => {
min={codeMap.bright_value.property.min}
max={codeMap.bright_value.property.max}
step={codeMap.bright_value.property.step}
value={dpState.bright_value}
onChange={e => props.onSetDpState('bright_value', e.value)}
value={dataState.bright_value}
onChange={e => handleSlider('bright_value', e)}
onChanging={e => handleSlidering('bright_value', e)}
/>
</View>
<Text className={styles.SliderValue}>
{toParseInt(
(dpState.bright_value /
(codeMap.bright_value.property.max - codeMap.bright_value.property.min)) *
100
)}
%
{toParseInt((dataState.bright_value / 1000) * 100)}%
</Text>
</View>
<View className={styles.configList}>
......
......@@ -309,6 +309,7 @@ const HubCircle: React.FC<Props> = props => {
top: `${circleLocation.top}px`,
width: `${dataSourse.bar_r * 2}px`,
height: `${dataSourse.bar_r * 2}px`,
backgroundColor: dataState.nowColor,
}}
onTouchStart={handleBarTouch}
onTouchMove={handleBarMove}
......
......@@ -95,7 +95,8 @@ export const format = (value: string, len = 2) => {
/**
* @desc 将色温转化为rgb
* 范围为1000~40000
* 范围为2700~6500
* 对应范围为1000~40000
* @param {number} temperature - 5000
*
* @return {array} [r,g,b]
......
......@@ -1801,6 +1801,15 @@
"@ray-core/shared" "^0.0.x"
"@ray-core/types" "^0.0.x"
"@ray-js/adapter@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/adapter/-/adapter-0.6.17.tgz#107c1565e8caaa5ca5c7d2c0160fe44892b0140e"
integrity sha512-9MTwqSKE1YPIW+93ae4DkAZqz6kKcZYJ5U4GLYBEqUlIIwEbGTBU2lu0RedbnFi94dReAQ3qs0KjmR0+ZNBoJQ==
dependencies:
"@ray-core/runtime" "^0.0.x"
"@ray-core/shared" "^0.0.x"
"@ray-core/types" "^0.0.x"
"@ray-js/api@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/api/-/api-0.6.15.tgz#f854c0eb772d8ed0f66effd7a1e18abbed61ce62"
......@@ -1809,6 +1818,14 @@
"@ray-js/framework" "^0.6.15"
"@ray-js/router" "^0.6.15"
"@ray-js/api@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/api/-/api-0.6.17.tgz#c3c50b37a672cb635ce4adfbfc2c459821d14ad1"
integrity sha512-2tQeB6uHSEihQrZ0WjVudA9a7+5fqwdLn19kIxTteVtALBZKjpsfm5EgnOzsF+qGZUTLuldr1WIOSEDL93tqWQ==
dependencies:
"@ray-js/framework" "^0.6.17"
"@ray-js/router" "^0.6.17"
"@ray-js/babel-preset-base@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/babel-preset-base/-/babel-preset-base-0.6.15.tgz#c35c9ad4a14ae50a90db3f170d4546c49dcdea97"
......@@ -1952,6 +1969,15 @@
commander "^8.2.0"
webpack-chain "^6.5.1"
"@ray-js/components-ty-lamp@^1.3.0":
version "1.3.0"
resolved "https://registry.npmmirror.com/@ray-js/components-ty-lamp/-/components-ty-lamp-1.3.0.tgz#69feca5d851669549be3bca4e85fd1b1f69d173a"
integrity sha512-HphyA3aHyLKLBVEizeO8VONZLNyOrbsS5/aLp8/LEPDT+n+/h88xCA63FIN8m7zn1pkhgZVa/bulxoxbqazEdg==
dependencies:
"@ray-js/lamp-circle-picker" "1.0.0"
"@ray-js/lamp-hue-picker" "1.0.0"
"@ray-js/lamp-rect-white-picker" "1.1.0"
"@ray-js/components@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/components/-/components-0.6.15.tgz#48063d64bfc133dd6d89e39878d0f25f2914ac7a"
......@@ -1968,6 +1994,23 @@
react "^17.0.2"
style-to-object "^0.3.0"
"@ray-js/components@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/components/-/components-0.6.17.tgz#b78ec4d1a9ae1bacd3df6fd07618c558cead5528"
integrity sha512-XJ266FCye7+1v1ctxizgAF5r60+ZqrTyhIbUfc4ieOqxzVdWxz8rXfHqVaIDP6nRelVG4sjrVr9FdAnPkl+FUA==
dependencies:
"@ray-core/macro" "^0.0.x"
"@ray-core/wechat" "^0.0.x"
"@ray-js/adapter" "^0.6.17"
"@ray-js/framework-shared" "^0.6.17"
ahooks "^3.7.1"
clsx "^1.1.1"
core-js "^3.19.1"
hooks "^0.3.2"
param-case "^3.0.4"
react "^17.0.2"
style-to-object "^0.3.0"
"@ray-js/env-loader@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/env-loader/-/env-loader-0.6.15.tgz#6d9071dd440264f4fd92010cd2c63d802518aa2b"
......@@ -1988,6 +2031,11 @@
resolved "https://registry.npmmirror.com/@ray-js/env/-/env-0.6.15.tgz#2788ba2298162e5a0d024b3e840b7c5cb94f5ed1"
integrity sha512-zGuZZ4rgkV9Dtd6DsrsR8GZyhHp1Qo6tiL/4QJY0NBlZ9AALilMAZhfZishrv17tJS/zeE0WYyvqMEAVlHVIiA==
"@ray-js/env@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/env/-/env-0.6.17.tgz#d8dbb6989280b419f28ac00bd1a61a4a790bb2cb"
integrity sha512-8TzSRsOadPoDEieQiagV51R9ruwKy7aSs0ZdIkkQ9gD/PNG+bcJGRWfVllhkaO6lsHBW0bPnVhwA1F63wuLa5g==
"@ray-js/framework-mp@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/framework-mp/-/framework-mp-0.6.15.tgz#b5a46c0fce9e79e7d0bb08442ab88fb7d2edd271"
......@@ -1995,6 +2043,13 @@
dependencies:
"@ray-js/runtime" "^0.6.15"
"@ray-js/framework-mp@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/framework-mp/-/framework-mp-0.6.17.tgz#509b7f9a9f05219448e08fd09ddf0cad01a4295a"
integrity sha512-/iqZzFkLrowwkq0P5C0qgfxFkaGbtSlU1eQMstQNoKwC4mWQkxhc5PRtukk4+FxKp/beJNeWJIyI9csA3yMAbg==
dependencies:
"@ray-js/runtime" "^0.6.17"
"@ray-js/framework-shared@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/framework-shared/-/framework-shared-0.6.15.tgz#5855d9be295c369b481b4f255c00eb933f150f72"
......@@ -2003,6 +2058,14 @@
"@ray-core/wechat" "^0.0.x"
"@ray-js/env" "^0.6.15"
"@ray-js/framework-shared@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/framework-shared/-/framework-shared-0.6.17.tgz#6510e0885fbb6584d8c5b6b610647cd18005b31d"
integrity sha512-VXsPsRBL2LwtWXQ5zhEb4meEuBS1ATyA5tciiQym3IQES3swZrtgTzJNmen7fm859TNbotBl235bExTBa5n7IQ==
dependencies:
"@ray-core/wechat" "^0.0.x"
"@ray-js/env" "^0.6.17"
"@ray-js/framework@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/framework/-/framework-0.6.15.tgz#ad8d30ca9e5ca69ef28710dfb65041d958a42f40"
......@@ -2019,6 +2082,48 @@
lodash.get "^4.4.2"
tiny-invariant "^1.1.0"
"@ray-js/framework@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/framework/-/framework-0.6.17.tgz#89239cde02a666756db2379c7a81baf0f1efc9a0"
integrity sha512-dO/IIjmHW9M+ZGslLmCbuPy1sMkpvFbQKK0ArjEv4T4WyYTIbn/73nFvogzp8auCUrd4OPlD2g9dEmUXCEcANA==
dependencies:
"@ray-js/framework-mp" "^0.6.17"
"@ray-js/framework-shared" "^0.6.17"
"@ray-js/library" "^0.6.17"
"@ray-js/location" "^0.6.17"
"@ray-js/router" "^0.6.17"
"@ray-js/runtime" "^0.6.17"
clsx "^1.1.1"
hoist-non-react-statics "^3.3.2"
lodash.get "^4.4.2"
tiny-invariant "^1.1.0"
"@ray-js/lamp-circle-picker@1.0.0":
version "1.0.0"
resolved "https://registry.npmmirror.com/@ray-js/lamp-circle-picker/-/lamp-circle-picker-1.0.0.tgz#8c800f743e9d74c3f39819e2dbb69d34c3698e2f"
integrity sha512-OHylAKV9RMqEC1iupLBPCJcafARS8vZL9CcNK8ayLOs1/QGBJj7nVYjNejTE0T4XqWD7keXmfnmUX4Fy+hl5CA==
dependencies:
"@ray-js/panel-sdk" "^1.1.4"
clsx "^1.2.1"
"@ray-js/lamp-hue-picker@1.0.0":
version "1.0.0"
resolved "https://registry.npmmirror.com/@ray-js/lamp-hue-picker/-/lamp-hue-picker-1.0.0.tgz#d64e8e3579ccdb484dfc76b8e3fa3b34a248d637"
integrity sha512-oDz4tlma77mjBPCxVncfP5pQDKLqgr7o4lP8qWIUIhfuPQAc1Lo2wcUQk/fCQyTOQrmP+UZsZB5jGcWV5SumtQ==
dependencies:
"@ray-js/panel-sdk" "^1.1.4"
clsx "^1.2.1"
"@ray-js/lamp-rect-white-picker@1.1.0":
version "1.1.0"
resolved "https://registry.npmmirror.com/@ray-js/lamp-rect-white-picker/-/lamp-rect-white-picker-1.1.0.tgz#7d1719dad4a893af27cf1cd18ef767d48992b831"
integrity sha512-mCgqWQZs3iwl4Vua5aSCK+U56n+8xjffMFSbjAFYm4iC0nHngoTmfPjBecBXXzLU+bMvihG6PuWUkIaB7hg1ag==
dependencies:
"@ray-js/panel-sdk" "^1.1.4"
"@ray-js/ray" "^0.6.14"
clsx "^1.2.1"
color "0.11.4"
"@ray-js/library@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/library/-/library-0.6.15.tgz#3529b751f9e1651c7d691ff17ade3337c7cc9b63"
......@@ -2026,6 +2131,13 @@
dependencies:
merge "^2.1.1"
"@ray-js/library@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/library/-/library-0.6.17.tgz#309d460f071fea17c8987ff147c7bd643107bef3"
integrity sha512-nhb+URxlSSo79hfGmksYU+IPmlnJLKZaWeZh471qd7lF0WO/wpTAMErIXZhnMg32S1tB7KvdY2PnG7hgiPotqA==
dependencies:
merge "^2.1.1"
"@ray-js/location@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/location/-/location-0.6.15.tgz#3114a64b31704ccf59b3916e3488760bf35047ce"
......@@ -2035,6 +2147,15 @@
"@ray-js/router" "^0.6.15"
"@ray-js/router-mp" "^0.6.15"
"@ray-js/location@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/location/-/location-0.6.17.tgz#d554a447f604b2c907319218f9bcef1b4f3f5f72"
integrity sha512-eJtOe+6IPODHdQjAPIz28WLDgw03Plcr0jvnebRw1LMTPicuB+v116kGXUorR0R0fPACN+GcpMcJd1wbnu3l7g==
dependencies:
"@ray-js/library" "^0.6.17"
"@ray-js/router" "^0.6.17"
"@ray-js/router-mp" "^0.6.17"
"@ray-js/panel-base-sdk@^1.1.4":
version "1.1.4"
resolved "https://registry.npmmirror.com/@ray-js/panel-base-sdk/-/panel-base-sdk-1.1.4.tgz#31cb0513f6f8dbe972dda9ad49b976e0ebd0190c"
......@@ -2049,6 +2170,15 @@
dependencies:
"@ray-js/panel-base-sdk" "^1.1.4"
"@ray-js/ray@^0.6.14":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/ray/-/ray-0.6.17.tgz#5cad9801b193922de0a02c9665942796c4ae5319"
integrity sha512-uy+qhlPy0riU2EvuiYLz7bZ2w/ACDKNHTLtTis03t7NnSzLbxdOUKY6I45S17LduqzKaTS76a+VB4JgJBYF1fA==
dependencies:
"@ray-js/api" "^0.6.17"
"@ray-js/components" "^0.6.17"
"@ray-js/framework" "^0.6.17"
"@ray-js/ray@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/ray/-/ray-0.6.15.tgz#97c6c6d40a34690cba95fc991be8c4cd58fea938"
......@@ -2070,6 +2200,18 @@
"@react-navigation/core" "^6.1.0"
path-to-regexp "^6.2.0"
"@ray-js/router-mp@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/router-mp/-/router-mp-0.6.17.tgz#36442701619d777e9cd4fcc7dd68bcd08fe1df88"
integrity sha512-GBu+5U0aOglBKTQYb0M5bCnsM8ZrcgUekSLCMJiO8e+iE6rG1Gnx+hRZdzIZSgMdZOc39QO53Q1fuafvYbSU5w==
dependencies:
"@ray-js/api" "^0.6.17"
"@ray-js/env" "^0.6.17"
"@ray-js/library" "^0.6.17"
"@ray-js/types" "^0.6.17"
"@react-navigation/core" "^6.1.0"
path-to-regexp "^6.2.0"
"@ray-js/router@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/router/-/router-0.6.15.tgz#5bfbe17ebcd508c58e0bf3014f1b8a26ec40527e"
......@@ -2079,6 +2221,15 @@
"@ray-js/types" "^0.6.15"
history "4.x"
"@ray-js/router@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/router/-/router-0.6.17.tgz#1774cae2d534b12b02e6054c4f48c3cf9b26d059"
integrity sha512-k0DN8oMcQnQYQL8HrAd+bZivZIwdbyDTeJmlhmEkM4S2p9P/euH8msm4afGiWpSOl7lCvXBHVfJQkbbnknm3dw==
dependencies:
"@ray-js/library" "^0.6.17"
"@ray-js/types" "^0.6.17"
history "4.x"
"@ray-js/runtime@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/runtime/-/runtime-0.6.15.tgz#23e39b68b3152aa91f4204c3458b04ae6515b101"
......@@ -2086,6 +2237,13 @@
dependencies:
"@ray-core/runtime" "^0.0.x"
"@ray-js/runtime@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/runtime/-/runtime-0.6.17.tgz#c8f53c01c572116500eb3ecc0a799f5b5409a6e9"
integrity sha512-YaL6Jl2YH2bW85m86dvxkLuNt6Wg5iWPuF/6SsikqdsUQ3MFXlXgNutMV0jMB6Dz043mxg36r9C/wR++U5xZ+A==
dependencies:
"@ray-core/runtime" "^0.0.x"
"@ray-js/shared@^0.6.15":
version "0.6.15"
resolved "https://registry.npmmirror.com/@ray-js/shared/-/shared-0.6.15.tgz#56aa362601aee649fb7127caffb3c2bb65a24032"
......@@ -2108,6 +2266,13 @@
dependencies:
path-to-regexp "^6.2.0"
"@ray-js/types@^0.6.17":
version "0.6.17"
resolved "https://registry.npmmirror.com/@ray-js/types/-/types-0.6.17.tgz#96998630371033f934f7a15e919e0d971a467c8a"
integrity sha512-6Na63/bFwFttVeIBB9+6ZnbU4I9MPVFKSZMt6REGcJlqNLmdny2g/APtTfFd5bPkVeR9pm2KqXfZQcdwidf0EA==
dependencies:
path-to-regexp "^6.2.0"
"@react-navigation/core@^6.1.0":
version "6.4.0"
resolved "https://registry.npmmirror.com/@react-navigation/core/-/core-6.4.0.tgz#c44d33a8d8ef010a102c7f831fc8add772678509"
......@@ -3882,7 +4047,7 @@ clone@^1.0.2:
resolved "https://registry.npmmirror.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==
clsx@^1.1.0, clsx@^1.1.1:
clsx@^1.1.0, clsx@^1.1.1, clsx@^1.2.1:
version "1.2.1"
resolved "https://registry.npmmirror.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12"
integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==
......@@ -3905,7 +4070,7 @@ collection-visit@^1.0.0:
map-visit "^1.0.0"
object-visit "^1.0.0"
color-convert@^1.9.0:
color-convert@^1.3.0, color-convert@^1.9.0:
version "1.9.3"
resolved "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
......@@ -3924,16 +4089,32 @@ color-name@1.1.3:
resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==
color-name@~1.1.4:
color-name@^1.0.0, color-name@~1.1.4:
version "1.1.4"
resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
color-string@^0.3.0:
version "0.3.0"
resolved "https://registry.npmmirror.com/color-string/-/color-string-0.3.0.tgz#27d46fb67025c5c2fa25993bfbf579e47841b991"
integrity sha512-sz29j1bmSDfoAxKIEU6zwoIZXN6BrFbAMIhfYCNyiZXBDuU/aiHlN84lp/xDzL2ubyFhLDobHIlU1X70XRrMDA==
dependencies:
color-name "^1.0.0"
color-support@^1.1.2:
version "1.1.3"
resolved "https://registry.npmmirror.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"
integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==
color@0.11.4:
version "0.11.4"
resolved "https://registry.npmmirror.com/color/-/color-0.11.4.tgz#6d7b5c74fb65e841cd48792ad1ed5e07b904d764"
integrity sha512-Ajpjd8asqZ6EdxQeqGzU5WBhhTfJ/0cA4Wlbre7e5vXfmDSmda7Ov6jeKoru+b0vHcb1CqvuroTHp5zIWzhVMA==
dependencies:
clone "^1.0.2"
color-convert "^1.3.0"
color-string "^0.3.0"
colorette@^2.0.10, colorette@^2.0.16:
version "2.0.19"
resolved "https://registry.npmmirror.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment