firts commit

This commit is contained in:
2025-10-24 10:24:44 +09:00
commit 3951198256
154 changed files with 12093 additions and 0 deletions

47
src/App.js Normal file
View File

@@ -0,0 +1,47 @@
import React, {useEffect} from 'react';
import { Switch, Route, useLocation } from 'react-router-dom';
import { useSetRecoilState } from 'recoil';
import { pageState } from './states/Token';
import {AuthRoute} from './components/AuthRoute'
import Main from './views/Main';
import Current from './views/Report/Current';
import Quota from './views/Report/Quota';
import Tabulation from './views/Report/Tabulation';
import Crosstab from './views/Report/Crosstab';
import Derived from './views/Management/Derived';
import Exim from './views/Management/Exim';
import Login from './views/Login';
import Logout from './views/Logout';
import External from './views/External';
import { PageLoading } from './components/Loading';
import './resources/css/style.css';
import { Suspense } from 'react';
function App(props) {
const location = useLocation();
const setIsLoading = useSetRecoilState(pageState);
useEffect(() => {
setIsLoading(true);
}, [location]);
return (
<Switch>
<AuthRoute exact path="/" component={Main} useSkey={false} />
<AuthRoute path="/Report/Current" component={Current} useSkey={true} />
<AuthRoute path="/Report/Quota" component={Quota} useSkey={true} />
<AuthRoute path="/Report/Tabulation" component={Tabulation} useSkey={true} />
<AuthRoute path="/Report/Crosstab" component={Crosstab} useSkey={true} />
<AuthRoute path="/Management/Derived" component={Derived} useSkey={true} />
<AuthRoute path="/Management/Exim" component={Exim} useSkey={true} />
<Route exact path="/Login" component={Login} />
<Route exact path="/Logout" component={Logout} />
<Route exact path="/External/:urlkey" component={External} />
<Route component={Login} />
</Switch>
)
}
export default App;

View File

@@ -0,0 +1,50 @@
import React, { useEffect, useState } from 'react';
import {Redirect, Route, useHistory, } from 'react-router-dom';
import { useRecoilValue } from 'recoil';
import { tokenState, ptokenState } from '../states/Token';
import {SetOption,SyncAxios,URL_KART_NS} from '../modules/Axios';
export const AuthRoute = (props) => {
const history = useHistory();
const [isAuth, setIsAuth] = useState(null);
const token = useRecoilValue(tokenState);
const pToken = useRecoilValue(ptokenState);
useEffect(() =>{
const url = URL_KART_NS + '/encrypt/authentication';
const method = 'GET';
const headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token.token};
const body = {};
const options = SetOption(false, url, method, headers, body);
SyncAxios(options).then(response => {
if(response.status === 200){
setIsAuth(true);
}
else{
setIsAuth(false);
}
});
});
if(isAuth === null) return null;
if(isAuth === false){
return <Redirect to={"/Logout"}/>;
}
if(props.useSkey && (pToken.skey === null || pToken.skey === '')){
history.push("/Logout");
return <Redirect to={"/"}/>
}
else if(props.path === "/" || pToken.onlyPage === 0){
return <Route exact path={props.path} component={props.component}/>
}
else if(pToken.onlyPage === 1){
if(pToken.path.toLowerCase() === props.path.toLowerCase()){
return <Route exact path={props.path} component={props.component}/>
}
else{
history.goBack();
}
}
}

130
src/components/Bookmark.js Normal file
View File

@@ -0,0 +1,130 @@
import React, { useEffect, useState } from 'react';
import { useRecoilValue } from 'recoil';
import { tokenState, ptokenState } from '../states/Token';
import { bookmarkFormat } from '../states/Format';
import {SetOption,SyncAxios, URL_KART_NS} from '../modules/Axios';
import Slider from 'react-slick';
import Img from '../components/Img';
import 'slick-carousel/slick/slick.css';
import 'slick-carousel/slick/slick-theme.css';
const NextArrow = (props) => {
const { className, style } = props;
return (
<div
className={className}
style={{ ...style, display: "none"}}
/>
);
};
const PrevArrow = (props) => {
const { className, style } = props;
return (
<div
className={className}
style={{ ...style, display: "none"}}
/>
);
};
export const BookmarkList = (props) => {
const sliderRef = React.createRef();
const token = useRecoilValue(tokenState);
const pToken = useRecoilValue(ptokenState);
const [dataList, setdataList] = useState([]);
let settings = {
className:"slick_width",
infinite: false,
speed: 500,
initialSlide: 0,
slidesToScroll: 2,
variableWidth: true,
prevArrow:<PrevArrow/>,
nextArrow:<NextArrow/>
};
const setBookMarkList = () => {
const url = URL_KART_NS + '/project/bookmark/'+ props.page.toUpperCase();
const method = 'GET';
const headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token.token, "skey":pToken.skey};
const body = {};
const options = SetOption(true, url, method, headers, body);
SyncAxios(options).then(response => {
let responseData = [];
if(response.data.length > 0){
for(let i = 0; i < response.data.length; i++){
responseData.push({
'id': response.data[i].BOOKMARK_ID,
'title': response.data[i].BOOKMARK_TITLE,
'json' : response.data[i].BOOKMARK_JSON,
'info' : response.data[i].BOOKMARK_INFO,
'ismine' : response.data[i].IS_MINE,
'isopen' : response.data[i].IS_OPEN
});
}
}
settings["slidesToShow"] = response.data.length;
setdataList(responseData);
});
}
useEffect(() => {
if(props.isMobile && dataList.length > 0){
props.setSelectedBookMark(dataList[0]);
}
},[pToken.skey,dataList])
useEffect(() => {
setBookMarkList();
},[pToken.skey])
useEffect(() => {
if(props.isViewBookMark){
setBookMarkList();
}
},[props.isViewBookMark])
return (
props.isMobile==false?
<div className="tab_menu pc">
<div className='tab_arrows tab_arrows_lt'>
{
dataList.length < 9 ? null :
<a onClick={(e)=>{sliderRef.current.slickPrev()}} >
<Img src="arrow_l"/>
</a>
}
</div>
<Slider ref={sliderRef} {...settings} >
<div><a style={{cursor:"pointer"}} onClick={(e) => {props.setSelectedBookMark(JSON.parse(JSON.stringify(bookmarkFormat)))}} className={props.selectedBookMark.id === '' ? "active" : ""}>New</a></div>
{
dataList.map((data, i) => (
<div key={"pc_" + data.id} title={data.title} ismine={data.ismine} isopen={data.isopen} onClick={(e) => {props.setSelectedBookMark(data)}} ><a style={{cursor:"pointer"}} className={data.id === props.selectedBookMark.id?'active':''}>{data.title}</a></div>
))
}
</Slider>
<div className='tab_arrows tab_arrows_gt'>
{
dataList.length < 9 ? null :
<a onClick={(e)=>{sliderRef.current.slickNext()}} >
<Img src="arrow_r"/>
</a>
}
</div>
</div>
:
<div className="tab_menu mob">
<ul className={"slider"}>
{
dataList.map((data, i) => (
<li key={"mob_" + data.id} title={data.title} ismine={data.ismine} isopen={data.isopen} onClick={(e) => {props.setSelectedBookMark(data)}} ><a style={{cursor:"pointer"}} className={data.id === props.selectedBookMark.id?'active':''}>{data.title}</a></li>
))
}
</ul>
</div>
);
}

View File

@@ -0,0 +1,151 @@
import React, { useEffect, useState } from 'react';
import { useRecoilValue } from 'recoil';
import { tokenState, ptokenState } from '../states/Token';
import { bookmarkFormat,bookmarkJsonFormat } from '../states/Format';
import {SetOption,SyncAxios,URL_KART_NS} from '../modules/Axios';
import Img from './Img';
export const BookMarkArea = (props) => {
const token = useRecoilValue(tokenState);
const pToken = useRecoilValue(ptokenState);
const [titleValue, setTitleValue] = useState(props.selectedBookMark.title);
const [isChecked, setIsChecked] = useState(false);
const [infoValue, setInfoValue] = useState(props.selectedBookMark.info);
const changeTitleValue = (e) => {
setTitleValue(e.target.value)
}
const changeTextValue = (e) => {
setInfoValue(e.target.value)
}
const updateBookMark = (isCreate) => {
let mode = 'update';
let bookmarkID = props.selectedBookMark.id;
let bookmarkJson = JSON.parse(JSON.stringify(bookmarkJsonFormat));
let isOpen = '1';
let tempBannerArray = [];
if(bookmarkID ==='' || isCreate){
mode = 'create';
bookmarkID = '';
}
//banner 정리
props.selectedBanner.forEach((ele,i)=>{
if(ele.length > 0){
tempBannerArray.push(ele.join('|'));
}
});
bookmarkJson.INDEX = props.selectedIndex.join(',');
bookmarkJson.BANNER = tempBannerArray.join(',');
bookmarkJson.FILTER_CONDITION = props.filterCondition;
bookmarkJson.REAL_FILTER_CONDITION = props.realFilterCondition;
bookmarkJson.FILTER_ARRAY = props.filterArray;
bookmarkJson.OPTION = JSON.parse(props.optionString);
if(isChecked){
isOpen = '0';
}
const url = URL_KART_NS + '/project/bookmark/'+mode;
const method = 'POST';
const headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token.token, "skey":pToken.skey};
const body = {
bookmarkPage: props.page.toUpperCase(),
bookmarkID: bookmarkID,
bookmarkTitle: titleValue,
bookmarkInfo: infoValue,
bookmarkJson: JSON.stringify(bookmarkJson),
isOpen: isOpen
};
const options = SetOption(true, url, method, headers, body);
SyncAxios(options).then(response => {
if(response.status === 200){
props.setSelectedBookMark({
id: response.data,
title: titleValue,
json : JSON.stringify(bookmarkJson),
ismine : "1",
isopen : isOpen,
info : infoValue
})
props.onClose(false);
}
});
}
const deleteBookmark = () => {
if (window.confirm("정말 삭제 하시겠습니까?")) {
let bookmarkID = props.selectedBookMark.id;
const url = URL_KART_NS + '/project/bookmark/delete/'+bookmarkID;
const method = 'POST';
const headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token.token, "skey":pToken.skey};
const body = {};
const options = SetOption(true, url, method, headers, body);
SyncAxios(options).then(response => {
if(response.status === 200){
props.setSelectedBookMark(JSON.parse(JSON.stringify(bookmarkFormat)));
props.onClose(false);
}
});
}
}
useEffect(()=>{
if(props.selectedBookMark.isopen === 1 || props.selectedBookMark.isopen === "1"){
setIsChecked(false)
}
else{
setIsChecked(true)
}
},[])
return (
<div className="popup_wrap" id="popup">
<div className="popup popup_sm">
<div className="statistic_wrap">
<div className="statistic_box">
<div className="statistic_title">
<div>
<div className="statistic_ic">
<Img src={'IcFilterPop'} />
</div>
<div className="title_txt">
<h3>Bookmark</h3>
</div>
<a onClick={()=> {props.onClose(false)}} className="filter_close"><Img src={'IcCloseW'}/></a>
</div>
</div>
</div>
</div>
<div className="popup_content popup_sm">
<div>
<h3 className="mb10">Title</h3>
<input type="text" value={titleValue} onChange={changeTitleValue} className="w100 bg_white mb10"></input>
<h3 className="mb10">Information</h3>
<div className="chk_group mb20">
<input type="checkbox" id="chk_bookmark" onClick={(e)=>{setIsChecked(!isChecked)}} checked={isChecked} readOnly/>
<label htmlFor="chk_bookmark">Just for me</label>
</div>
<textarea cols="30" rows="10" value={infoValue} onChange={changeTextValue} style={{width: "100%", borderColor: "#E1E1E1", reSize: "none", outlineColor: "#17BBB0", color: "black"}}/>
<div style={{textAlign:'center'}}>
<button className="square_btn" style={{width:'100px',height:'30px', display:'inline-block'}} onClick={(e)=>{updateBookMark(false)}}>Save</button>
{
props.selectedBookMark.id !== '' ?
<React.Fragment>
<button className="square_btn" style={{width:'100px',height:'30px', display:'inline-block', marginLeft:'5px'}} onClick={(e) => {updateBookMark(true)}}>Save as</button>
<button className="square_btn" style={{width:'100px',height:'30px', display:'inline-block', marginLeft:'5px',backgroundColor: '#F5F5F5', color: '#9E9E9E'}} onClick={(e) => {deleteBookmark()}}>Delete</button>
</React.Fragment>
: null
}
</div>
</div>
</div>
</div>
</div>
)
}

210
src/components/Chart.js vendored Normal file
View File

@@ -0,0 +1,210 @@
import React, {useState, useEffect} from 'react';
import ECharts from 'echarts-for-react';
//ChartJS.register(...registerables,zoomPlugin);
const chartColor = ['#B3D2FF','#DAECAF','#FFBEB3','#FFE9B8'];
export const DoughnutChart = (props) => {
const propData = props.chartData;
const propLabel = props.chartLabel;
const [options, setOptions] = useState(null);
useEffect(() => {
if(propData !== undefined){
let chartDataMerge = [];
// json형식으로 재가공
propData.map((item, index) => {
chartDataMerge.push({"value":item,"name":propLabel[index]});
})
setOptions({
tooltip: {
trigger: 'item'
},
legend: {
bottom: '0%',
left: 'center'
},
series: [
{
type: 'pie',///차트 타입
radius: ['35%', '70%'],//빵꾸 넓이, 차트 넓이
avoidLabelOverlap: false,
itemStyle: {
borderRadius: 5,
borderColor: '#fff',
borderWidth: 2
},
label: {
// 가운데 글씨 on/off
show: false,
position: 'center'
},
// pie cell별 색깔
color : chartColor,
emphasis: {
label: {
// 가운데 글씨 hover
show: false,
fontSize: '40',
fontWeight: 'bold'
}
},
labelLine: {
show: false
},
// pie는 데이터 json형식으로 넣어야함
data: chartDataMerge
}
]
});
}
},[propData])
return (
// opts or style로 스타일 변경
options !== null?<ECharts option={options} onEvents={props.chartEvents} opts={{renderer:"canvas", width:"1000px", height:"350px"}} style={{top:"-50px"}}/>:null
);
};
export const BarChart = (props) => {
const propData = props.chartData;
const propLabel = props.chartLabel;
const [options, setOptions] = useState(null);
useEffect(() => {
if(propData !== undefined){
let chartOptions = {};
chartOptions["xAxis"] = {
type: 'category',
data: propLabel
}
chartOptions["yAxis"] = { type: 'value' }
chartOptions["series"] = [{
data: propData,
type: 'bar',
barMaxWidth: 100, // bar width 크기 지정
color: '#1CAE81', // bar 색깔 변경
}]
if(props.useTooltip !== null && props.useTooltip !== undefined){
chartOptions["tooltip"] = { trigger: props.useTooltip }
if(Array.isArray(props.customTooltip)){
chartOptions["tooltip"]["formatter"] =
function (params) {
let tooltipText = '<p>'+props.customTooltip[params[0].dataIndex]+'</p>';
//console.log(props.customTooltip[params[0].dataIndex]); //quite useful for debug
return tooltipText;
}
}
}
if(props.useSeriesLabel === true){
chartOptions["series"][0].label = {
show: true,
position: 'top',
fontSize:15,
fontWeight:'bold',
valueAnimation: true
}
}
if(props.useDatazoom === true){
chartOptions["dataZoom"] = [{
type: 'slider',
height: 30, // slider 크기 조절
show: true,
xAxisIndex: [0],
start: 0,
end: 100,
}]
}
setOptions(chartOptions);
}
},[propData]);
return (
options !== null?<ECharts option={options} onEvents={props.chartEvents} opts={{renderer:"canvas", height:"370px"}} style={{position:'relative',top:"-50px"}}/>:null
);
};
export const LineBarChart = (props) => {
const chartColor = ['#1CAE81','#FF5B40','#FFC950','#3789FF'];
const propData = props.chartData;
const propLabel = props.chartLabel;
const propName = props.chartName;
const propType = props.chartType;
const [options, setOptions] = useState(null);
useEffect(() => {
if(propData !== undefined){
let chartOptions = {};
chartOptions["xAxis"] = {
type: 'category',
data: propLabel
}
chartOptions["yAxis"] = { type: 'value' }
chartOptions["series"] = [];
propName.map((item,index) => {
chartOptions["series"][index] = {
name:item,
data: propData[index],
type: propType[index],
color: chartColor[index], // bar 색깔 변경
}
if(propType[index]==="bar"){
chartOptions["series"][index]["barMaxWidth"] = 100;
}
else{
if(props.symbolSize !== null && props.symbolSize !== undefined){
chartOptions["series"][index]["symbolSize"] = props.symbolSize;
}
if(props.lineWidth !== null && props.lineWidth !== undefined){
chartOptions["series"][index]["lineStyle"] = {"width":props.lineWidth};
}
if(props.symbol !== null && props.symbol !== undefined){
chartOptions["series"][index]["symbol"] = props.symbol;
}
}
})
if(props.useTooltip !== null && props.useTooltip !== undefined){
chartOptions["tooltip"] = { trigger: props.useTooltip }
}
if(props.useSeriesLabel === true){
chartOptions["series"][0].label = {
show: true,
position: 'top',
fontSize:15,
fontWeight:'bold',
valueAnimation: true
}
}
if(props.useDatazoom === true){
chartOptions["dataZoom"] = [{
type: 'slider',
height: 30, // slider 크기 조절
show: true,
xAxisIndex: [0],
start: 0,
end: 100,
}]
}
setOptions(chartOptions);
}
},[propData]);
return (
options !== null?<ECharts option={options} onEvents={props.chartEvents} opts={{renderer:"canvas", height:"370px"}} style={{position:'relative',top:"-50px"}}/>:null
);
};

1012
src/components/ChildBox.js Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,141 @@
import React, { useState } from 'react';
import { filterFormat } from '../states/Format';
import Img from './Img';
import { QuestionSelect, OperatorSelect, ValueSelect } from './Select';
export const FilterLine = (props) =>{
const [isNumeric, setIsNumeric] = useState(false);
const [questionValue, setQuestionValue] = useState({});
const removeFilterLine = (e) => {
e.preventDefault();
props.parentLineValue.splice(props.parentLineValue.indexOf(props.filterLineValue),1);
let newArray = [...props.filterList];
props.setFilterList(newArray);
}
const changeValueText = (e) =>{
e.preventDefault();
props.filterLineValue.value=e.target.value.replace(/[^0-9.,]/g, "").replace(/(\.*)\./g, "$1");
let newArray = [...props.filterList];
props.setFilterList(newArray);
}
return(
<div className="select_boxs">
<QuestionSelect filterLineValue={props.filterLineValue} setFilterList={props.setFilterList} filterList={props.filterList} setIsNumeric={setIsNumeric} setQuestionValue={setQuestionValue}/>
<OperatorSelect filterLineValue={props.filterLineValue} setFilterList={props.setFilterList} filterList={props.filterList}/>
{
props.filterLineValue.op === "IS NOT NULL" || props.filterLineValue.op === "IS NULL"?null
:
isNumeric?<input type="text" value={props.filterLineValue.value} placeholder="숫자, ','만 가능" onChange={changeValueText}/>
:<ValueSelect filterLineValue={props.filterLineValue} setFilterList={props.setFilterList} filterList={props.filterList} questionValue={questionValue}/>
}
<div onClick={removeFilterLine}>
<a className="btn_minus"><Img src={'IcMinus'}/></a>
</div>
</div>
)
}
const FilterAndOr = (props) => {
let andOr = props.isPre?props.filterLineValue.preAndOr:props.filterLineValue.postAndOr
const toggleAndOr = (e) => {
e.preventDefault();
if(andOr === 'AND'){
andOr = 'OR';
}
else{
andOr = 'AND';
}
if(props.isPre){
props.filterLineValue.preAndOr = andOr;
}
else{
props.filterLineValue.postAndOr = andOr;
}
let newArray = [...props.filterList];
props.setFilterList(newArray);
}
return (
<div className="select_choice">
<span className={andOr==='AND'?"active":''} onClick={toggleAndOr}>AND</span><span className={andOr==='OR'?"active":''} onClick={toggleAndOr}>OR</span>
</div>
)
}
export const FilterChild = (props) => {
const addFilterList = (e) => {
e.preventDefault();
let newFilterLine = JSON.parse(JSON.stringify(filterFormat));
let filterID = props.filterID.substr(0,props.filterID.lastIndexOf('_')+1) + props.parentLineValue.length;
newFilterLine.id = filterID;
newFilterLine.preAndOr = 'AND';
props.parentLineValue.push(newFilterLine);
let newArray = [...props.filterList];
props.setFilterList(newArray);
}
const addFilterChild = (e) => {
e.preventDefault();
let newFilterChild = JSON.parse(JSON.stringify(filterFormat));
let childID = props.filterID + '_0';
newFilterChild.id = childID;
props.filterLineValue.postAndOr = 'AND';
props.filterLineValue.childList = [newFilterChild];
let newArray = [...props.filterList];
props.setFilterList(newArray);
}
return (
<div className="select_wrap">
{
props.isFirst ?null:<FilterAndOr filterLineValue={props.filterLineValue} setFilterList={props.setFilterList} filterList={props.filterList} isPre={true}/>
}
<FilterLine filterLineValue={props.filterLineValue} parentLineValue={props.parentLineValue} setFilterList={props.setFilterList} filterList={props.filterList}/>
{
props.childList.length===0?null:<FilterAndOr filterLineValue={props.filterLineValue} setFilterList={props.setFilterList} filterList={props.filterList} isPre={false}/>
}
{
props.childList.length===0?null:
<ul className="child_depth">
<li>
{props.childList.map((data, i) => (
<FilterChild key={data.id} depth={(props.depth+1)} filterID={data.id} filterLineValue={data} parentLineValue={props.childList} childList={data.childList} filterList={props.filterList} setFilterList={props.setFilterList} isFirst={i===0} isLast={i===(props.childList.length-1)}/>
))}
</li>
</ul>
}
{
!props.isLast?null:
<div className="btn_choice">
<a onClick={addFilterList} ><Img src={'Ic_Plus_Filter'}/></a>
{
props.childList.length===0?<a onClick={addFilterChild}><Img src={'IcReturn'}/></a>:null
}
</div>
}
</div>
);
};

View File

@@ -0,0 +1,140 @@
import React, { useEffect ,useState } from 'react';
import { useRecoilState } from 'recoil';
import { ptokenState } from '../states/Token';
import { filterFormat } from '../states/Format';
import Img from '../components/Img';
import { FilterChild } from './FilterChild';
export const FilterPopup = (props) => {
const [pToken,setPtoken] = useRecoilState(ptokenState);
const {onClose} = props;
const [filterList, setFilterList] = useState([]);
const [tempFilter, setTempFilter] = useState('');
const [tempRealFilter, setTempRealFilter] = useState('');
const addFirst = (e) => {
e.preventDefault();
let newFilter = JSON.parse(JSON.stringify(filterFormat));
newFilter.id = 'fil_0';
setFilterList([newFilter]);
}
const makeFilterString = (filterArray, mode) =>{
let filterString = ''
filterString = '(';
filterArray.forEach((ele, i) => {
if(ele.qid !== ''){
let inBracket = false;
if(ele.op.includes('IN')){
inBracket=true;
}
filterString += ele.preAndOr!==''?' ' + ele.preAndOr:'';
if(mode === "r"){
filterString += ' ' + ele.qid.replace(/(\d+)((?:\[\w+\])*)/g, (match, number, suffix) => {
return `[UK:${number}]${suffix}`;
});
}else{
filterString += ' ' + ele.vname;
}
filterString += ' ' + ele.op + ' ';
if(inBracket) filterString += '(';
filterString += ele.value;
if(inBracket) filterString += ')';
if(ele.childList.length > 0 && ele.childList[0].qid !== ''){
filterString += ele.postAndOr!==''?' ' + ele.postAndOr+' ':'';
filterString+=makeFilterString(ele.childList, mode)
}
}
});
filterString += ' )';
return filterString
}
const saveFilter = (e) => {
e.preventDefault();
props.setFilterCondition(tempFilter);
props.setRealFilterCondition(tempRealFilter);
props.setFilterArray(JSON.stringify(filterList))
onClose(false);
}
useEffect(() =>{
let filterString = '';
let realFilterString = '';
if(filterList.length > 0 && filterList[0].qid !== ''){
filterString += makeFilterString(filterList, "v");
realFilterString += makeFilterString(filterList, "r");
}
setTempFilter(filterString);
setTempRealFilter(realFilterString);
},[filterList]);
useEffect(() =>{
if(props.filterArray !== '' && props.filterArray !== undefined){
setFilterList(JSON.parse(props.filterArray));
}
else{
setFilterList([]);
}
},[]);
return (
<div className="popup_wrap" id="popup" >
<div className="popup">
<div className="statistic_wrap" style={{width:'100%'}}>
<div className="statistic_box">
<div className="statistic_title">
<div>
<div className="statistic_ic">
<Img src={'IcFilter'} alt="아이콘"/>
</div>
<div className="title_txt">
<h3>Filter</h3>
</div>
<a onClick={()=> {onClose(false)}} className="filter_close"><Img src={'IcCloseW'}/></a>
</div>
</div>
</div>
</div>
<div className="popup_content">
<div style={{overflowY : "auto", height:'550px'}}>
{
filterList.length === 0?
<ul className="parent_depth" style={{border:'0px'}}>
<div>
<div className="btn_choice">
<a onClick={addFirst} ><Img src={'Ic_Plus_Filter'}/></a>
</div>
</div>
</ul>
:
<ul className="parent_depth">
<li>
{
filterList.map((data, i) => (
<FilterChild key={data.id} depth={1} filterID={data.id} filterLineValue={data} parentLineValue={filterList} childList={data.childList} filterList={filterList} setFilterList={setFilterList} isFirst={i===0} isLast={i===(filterList.length-1)}/>
))
}
</li>
</ul>
}
</div>
<div>
<h3 style={{color:'#666'}}>Selected Filter</h3>
<input type="text" className="w100" placeholder="" value={tempFilter} onChange={(e)=>{}}/>
<button className="square_btn" onClick={saveFilter}>Save</button>
</div>
</div>
</div>
</div>
);
};

164
src/components/Header.js Normal file
View File

@@ -0,0 +1,164 @@
import React, { useEffect, useState } from 'react';
import {NavLink, useLocation} from 'react-router-dom';
import { useRecoilValue } from 'recoil';
import { tokenState, ptokenState } from '../states/Token';
import {SetOption,SyncAxios,URL_KART_KON,URL_KART_NS} from '../modules/Axios'
import Img from './Img';
import Icon from './Icon';
import {ProjectSelect} from './Select';
import { isMobile} from "react-device-detect";
const Header = () => {
const token = useRecoilValue(tokenState);
const pToken = useRecoilValue(ptokenState);
const [isView, setIsView] = useState(null);
const [projectList, setProjectList] = useState(null);
const [navLinkList, setNavLinkList] = useState([]);
const nowLocation = useLocation();
let headerTitle = pToken.title === '' ? "Project Overview TOP 6" : pToken.title;
const setProject = () => {
let url = URL_KART_NS + '/project/list';
let method = 'GET';
let headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token.token};
let body = {};
let hOptions = SetOption(false, url, method, headers, body);
SyncAxios(hOptions).then(response => {
if(response.status === 200){
let responseData = [];
for(var i = 0; i < response.data.length; i++){
responseData.push({
'key': 'plist_'+response.data[i].security,
'value': response.data[i].security,
'text': "("+response.data[i].PKEY.replace("|K|W|","").replace("|N|S|","")+") "+response.data[i].title,
'ver': response.data[i].ver,
'data-tip':'',
'data-for':'tooltip_select',
'data-html' : true
});
}
setProjectList(responseData);
}
});
}
const UrlCopy = (mode) => {
let realUri = window.location.href.replace(origin,'');
let url = '';
if(pToken.ver === "NEWSSAK"){
url = URL_KART_NS + '/uri/short';
}
else{
url = URL_KART_KON + '/uri/short';
}
const method = 'POST';
const headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token.token, "skey":pToken.skey};
const body = {"realUri":realUri, "mode":mode};
const hOptions = SetOption(true, url, method, headers, body);
SyncAxios(hOptions).then(response => {
if(response.status === 200){
navigator.clipboard.writeText(response.data).then(() =>{
alert("주소가 복사되었습니다.");
})
}
});
}
useEffect(() =>{
setIsView(null);
if(token.token !== "" && !window.location.href.includes("Logout")){
let navLinkArray = []
if(pToken.onlyPage === 0){
setProject();
navLinkArray.push(<li key={'navCurrent'}><NavLink to="/Report/Current">진행 현황</NavLink></li>);
navLinkArray.push(<li key={'navQuota'}><NavLink to="/Report/Quota">Quota</NavLink></li>);
navLinkArray.push(<li key={'navTabulation'}><NavLink to="/Report/Tabulation">Tabulation</NavLink></li>);
navLinkArray.push(<li key={'navCrossTab'}><NavLink to="/Report/Crosstab">Cross Tab</NavLink></li>);
if(token.isAdmin < 7){
navLinkArray.push(<li key={'navDerived'}><NavLink to="/Management/Derived">Create Variable</NavLink></li>);
}
if(token.isAdmin < 5 || ["정지예","한정민","박영","오수인"].includes(token.name)){
navLinkArray.push(<li key={'navExim'}><NavLink to="/Management/Exim">Export/Import</NavLink></li>);
}
}
setNavLinkList(navLinkArray);
setIsView(true);
}
}, [token.token, pToken.onlyPage]);
const [classStatus, setClass] = useState(false);
const handleToggle = (e) => {
e.preventDefault();
setClass(!classStatus);
};
if(!isView) return null
return (
<header>
<nav className="nav" id="nav">
<div className="wrap">
<div className="gnb">
{token.isAdmin === "9"?<h1 className="logo"><Img src="logo_header"/></h1>:<NavLink to="/" replace={true}><h1 className="logo"><Img src="logo_header"/></h1></NavLink>}
<div className="gnb_btn">
<a className="open" onClick={handleToggle}>
<Icon src="bx_menu"/>
</a>
</div>
{
pToken.skey === '' ?
<ul className={classStatus ? "mob_menu active" : "mob_menu"}>
{token.isAdmin === "9"?null:<li><NavLink to="/Logout" replace={true}>Logout</NavLink></li>}
</ul>
:
<ul className={classStatus ? "mob_menu active" : "mob_menu"} onClick={handleToggle}>
{navLinkList}
</ul>
}
<div className="menu pc">
{
nowLocation.pathname === "/" ? <div className="login_name"><p>안녕하세요! {token.name}님</p></div>: null
}
{
pToken.skey === '' ? null:
<ul>
{navLinkList}
</ul>
}
<div className="logout pc">
{token.isAdmin === "9"?null:<NavLink to="/Logout" replace={true}><button className="logout green">Logout</button></NavLink>}
</div>
</div>
</div>
</div>
<div className={classStatus ? "dimmed active" : "dimmed"}></div>
<div className="title_bar">
<div className="wrap">
{!projectList || token.isAdmin === "9"? <div></div> :<ProjectSelect optionData={projectList} />}
<div className="title_box" data-tip data-for="tooltip_header">
<h2 style={isMobile?{display: "block", whiteSpace:"nowrap", overflow:"hidden", textOverflow:"ellipsis"}:{}}>{headerTitle}</h2>
</div>
<div className="url_copy">
{
pToken.skey === '' || token.isAdmin >= 7? '':
<React.Fragment>
<a className="round_btn target_page" onClick={(e)=>{UrlCopy("P")}}><div style={{cursor:'pointer'}}>Page Copy</div></a>
<a className="round_btn target_url" onClick={(e)=>{UrlCopy("U")}}><div style={{cursor:'pointer'}}>URL Copy</div></a>
</React.Fragment>
}
</div>
</div>
</div>
</nav>
</header>
);
};
export default Header;

75
src/components/Icon.js Normal file
View File

@@ -0,0 +1,75 @@
import React from 'react';
import { ReactComponent as BxMenu } from '../resources/images/ico/bx_menu.svg';
import { ReactComponent as ChecknoxImg } from '../resources/images/ico/checkbox_img.svg';
import { ReactComponent as IcBanner } from '../resources/images/ico/ic_banner_36.svg';
import { ReactComponent as IcBanner_1 } from '../resources/images/ico/ic_banner_36-1.svg';
import { ReactComponent as IcCopy } from '../resources/images/ico/ic_copy.svg';
import { ReactComponent as IcCopyPage } from '../resources/images/ico/ic_copy_page.svg';
import { ReactComponent as IcCopyUrl } from '../resources/images/ico/ic_copy_url.svg';
import { ReactComponent as IcDocument } from '../resources/images/ico/ic_document_36.svg';
import { ReactComponent as IcDocument_1 } from '../resources/images/ico/ic_document_36-1.svg';
import { ReactComponent as IcDocument_2 } from '../resources/images/ico/ic_document_36-2.svg';
import { ReactComponent as IcDrop } from '../resources/images/ico/ic_drop.svg';
import { ReactComponent as IcExport } from '../resources/images/ico/ic_export.svg';
import { ReactComponent as IcFilter } from '../resources/images/ico/ic_filter_36.svg';
import { ReactComponent as IcHandle } from '../resources/images/ico/ic_handle.svg';
import { ReactComponent as IcHandle_1 } from '../resources/images/ico/ic_handle_1.svg';
import { ReactComponent as IcImport } from '../resources/images/ico/ic_import.svg';
import { ReactComponent as IcQuota } from '../resources/images/ico/ic_quota.svg';
import { ReactComponent as IcCircle } from '../resources/images/ico/icon_circle.svg';
import { ReactComponent as IcPC } from '../resources/images/ico/icon_pc.svg';
import { ReactComponent as IcNoneBookmark } from '../resources/images/ico/icon_none_bookmark.svg';
import { ReactComponent as WordImg } from '../resources/images/ico/word_img.svg';
const Icon = (props) => {
switch (props.src){
case "bx_menu":
return (<BxMenu/>);
case "checkbox_img":
return (<ChecknoxImg/>);
case "ic_banner_36":
return (<IcBanner/>);
case "ic_banner_36-1":
return (<IcBanner_1/>);
case "ic_copy":
return (<IcCopy/>);
case "ic_copy_page":
return (<IcCopyPage/>);
case "ic_copy_url":
return (<IcCopyUrl/>);
case "ic_document_36":
return (<IcDocument/>);
case "ic_document_36-1":
return (<IcDocument_1/>);
case "ic_document_36-2":
return (<IcDocument_2/>);
case "ic_drop":
return (<IcDrop/>);
case "ic_export":
return (<IcExport/>);
case "ic_filter_36":
return (<IcFilter/>);
case "ic_handle":
return (<IcHandle/>);
case "ic_handle_1":
return (<IcHandle_1/>);
case "ic_import":
return (<IcImport/>);
case "ic_quota":
return (<IcQuota/>);
case "icon_circle":
return (<IcCircle/>);
case "icon_pc":
return (<IcPC/>);
case "icon_none_bookmark":
return (<IcNoneBookmark style={{height:"70vh"}}/>);
case "word_img":
return (<WordImg/>);
default :
break;
}
};
export default Icon;

238
src/components/Img.js Normal file
View File

@@ -0,0 +1,238 @@
import React from 'react';
import LogoKART from '../resources/images/logo/logo_kart.svg';
import arrow_open from '../resources/images/acc_arrow_open.png';
import arrow_Sopen from '../resources/images/acc_arrow_open_s.png';
import arrow_close from '../resources/images/acc_arrow_close.png';
import arrow_Sclose from '../resources/images/acc_arrow_close_s.png';
import IcImport from '../resources/images/ic_imports.png';
import IcBanner from '../resources/images/ic_banner_36.png';
import IcBookMark from '../resources/images/ic_bookmark_14.png';
import IcClose from '../resources/images/ic_close.png';
import IcCloseW from '../resources/images/ic_close_w.png';
import IcExports from '../resources/images/ic_exports.png';
import Ic_Exports_s from '../resources/images/ic_exports_s.png';
import IcFilter from '../resources/images/ic_filter_36.png';
import Ic_gnb1_20_1 from '../resources/images/ic_gnb1_20-1.png';
import Ic_gnb1_20 from '../resources/images/ic_gnb1_20.png';
import Ic_gnb2_20_1 from '../resources/images/ic_gnb2_20-1.png';
import Ic_gnb2_20 from '../resources/images/ic_gnb2_20.png';
import Ic_gnb3_20_1 from '../resources/images/ic_gnb3_20-1.png';
import Ic_gnb3_20 from '../resources/images/ic_gnb3_20.png';
import Ic_gnb4_20_1 from '../resources/images/ic_gnb4_20-1.png';
import Ic_gnb4_20 from '../resources/images/ic_gnb4_20.png';
import Ic_gnb5_20_1 from '../resources/images/ic_gnb5_20-1.png';
import Ic_gnb5_20 from '../resources/images/ic_gnb5_20.png';
import Ic_gnb6_20_1 from '../resources/images/ic_gnb6_20-1.png';
import Ic_gnb6_20 from '../resources/images/ic_gnb6_20.png';
import IcMinus from '../resources/images/ic_minus.png';
import IcPlus from '../resources/images/ic_plus.png';
import Ic_Plus_Bl from '../resources/images/ic_plus_bl.png';
import Ic_Plus_Filter from '../resources/images/ic_plus_filter.png';
import Ic_Plus_s from '../resources/images/ic_plus_s.png';
import IcReset from '../resources/images/ic_reset_16.png';
import IcReturn from '../resources/images/ic_return.png';
import IcSelectArrow from '../resources/images/select_arrow.png';
import IcTrash from '../resources/images/trash_icon.png';
import IcUpdate from '../resources/images/update_icon.png';
import IcFilterPop from '../resources/images/ic_filter_pop.png';
import BtnLeft from '../resources/images/btn_left.png';
import BtnRight from '../resources/images/btn_right.png';
import L_Indicater from '../resources/images/loading.gif';
import arrow_r from '../resources/images/arrow_r.png';
import arrow_l from '../resources/images/arrow_l.png';
import IcRe from '../resources/images/ic_re.png';
const Img = (props) => {
let imgSource = '';
let imgstyle = {};
switch (props.src){
case "logo_login":{
imgSource=LogoKART;
imgstyle={"width":"40%"};
break;
}
case "logo_header":{
imgSource=LogoKART;
imgstyle={"width":"45%","marginTop":"8px"};
break;
}
case "arrow_open":{
imgSource=arrow_open;
break;
}
case "arrow_Sopen":{
imgSource=arrow_Sopen;
break;
}
case "arrow_close":{
imgSource=arrow_close;
break;
}
case "arrow_Sclose":{
imgSource=arrow_Sclose;
break;
}
case "IcImport":{
imgSource=IcImport;
break;
}
case "IcBanner":{
imgSource=IcBanner;
break;
}
case "IcBookMark":{
imgSource=IcBookMark;
break;
}
case "IcClose":{
imgSource=IcClose;
imgstyle={cursor:"pointer"};
break;
}
case "IcCloseW":{
imgSource=IcCloseW;
imgstyle={cursor:"pointer"};
break;
}
case "Ic_Exports":{
imgSource=IcExports;
break;
}
case "Ic_Exports_s":{
imgSource=Ic_Exports_s;
break;
}
case "IcFilter":{
imgSource=IcFilter;
break;
}
case "IcFilterPop":{
imgSource=IcFilterPop;
break;
}
case "Ic_gnb1_20":{
imgSource=Ic_gnb1_20;
break;
}
case "Ic_gnb1_20_1":{
imgSource=Ic_gnb1_20_1;
break;
}
case "Ic_gnb2_20":{
imgSource=Ic_gnb2_20;
break;
}
case "Ic_gnb2_20_1":{
imgSource=Ic_gnb2_20_1;
break;
}
case "Ic_gnb3_20":{
imgSource=Ic_gnb3_20;
break;
}
case "Ic_gnb3_20_1":{
imgSource=Ic_gnb3_20_1;
break;
}
case "Ic_gnb4_20":{
imgSource=Ic_gnb4_20;
break;
}
case "Ic_gnb4_20_1":{
imgSource=Ic_gnb4_20_1;
break;
}
case "Ic_gnb5_20":{
imgSource=Ic_gnb5_20;
break;
}
case "Ic_gnb5_20_1":{
imgSource=Ic_gnb5_20_1;
break;
}
case "Ic_gnb6_20":{
imgSource=Ic_gnb6_20;
break;
}
case "Ic_gnb6_20_1":{
imgSource=Ic_gnb6_20_1;
break;
}
case "IcMinus":{
imgSource=IcMinus;
break;
}
case "IcPlus":{
imgSource=IcPlus;
break;
}
case "Ic_Plus_Bl":{
imgSource=Ic_Plus_Bl;
break;
}
case "Ic_Plus_Filter":{
imgSource=Ic_Plus_Filter;
imgstyle={cursor:"pointer"};
break;
}
case "Ic_Plus_s":{
imgSource=Ic_Plus_s;
break;
}
case "IcReset":{
imgSource=IcReset;
break;
}
case "IcReturn":{
imgSource=IcReturn;
imgstyle = {cursor:"pointer"};
break;
}
case "IcSelectArrow":{
imgSource=IcSelectArrow;
break;
}
case "IcTrash":{
imgSource=IcTrash;
imgstyle={width:"27px", cursor:"pointer",position: 'absolute',right: '50px'};
break;
}
case "IcUpdate":{
imgSource=IcUpdate;
break;
}
case "BtnLeft":{
imgSource=BtnLeft;
break;
}
case "BtnRight":{
imgSource=BtnRight;
break;
}
case "L_Indicater":{
imgSource=L_Indicater;
break;
}
case "arrow_r":{
imgSource=arrow_r;
break;
}
case "arrow_l":{
imgSource=arrow_l;
break;
}
case "IcRe":{
imgSource=IcRe;
break;
}
default :
break;
}
if(imgSource === '') return null;
else return (<img src={imgSource} className={props.className?props.className:''} style={{...props.style, ...imgstyle}}/>);
};
export default Img;

View File

@@ -0,0 +1,28 @@
import React from 'react';
import Icon from '../components/Icon';
import Img from '../components/Img';
export const LeftToggleBox = (props) => {
return (
<div className="left_toggle_box" style={props.leftToggle?{}:{display:"none"}} onClick={(e) => {props.setLeftToggle(false)}}>
<ul>
<li>
<a>
<Img src="BtnRight"/>
</a>
</li>
<li>
<a>
<Img src="IcFilter"/>
</a>
</li>
<li>
<a>
<Icon src="ic_document_36-1"/>
</a>
</li>
</ul>
</div>
)
}

36
src/components/Loading.js Normal file
View File

@@ -0,0 +1,36 @@
import React from 'react';
import { useRecoilValue } from 'recoil';
import { pageState } from '../states/Token';
import Img from '../components/Img';
export const PageLoading = (props) => {
const isLoading = useRecoilValue(pageState);
if(!isLoading) return null
return (
<div className="loading_container">
<div className="lonading_content">
<Img className='center_position' src='L_Indicater' style={{width:"200px"}}/>
</div>
</div>
)
};
export const QueryLoading = (props) => {
return (
<div className="loading_container">
<div className="lonading_content">
<Img className='center_position' src='L_Indicater' style={{width:"200px"}}/>
</div>
</div>
)
};
export const TableLoading = (props) => {
return (
<div className="table_loading_container" style={{width:"100%"}}>
<div className="lonading_content">
<Img src='L_Indicater' style={{width:"200px"}}/>
</div>
</div>
)
};

285
src/components/Select.js Normal file
View File

@@ -0,0 +1,285 @@
import _ from 'lodash'
import React, { useEffect, useState } from 'react';
import { useSetRecoilState, useRecoilState} from 'recoil';
import { ptokenState ,questionState, pageState } from '../states/Token';
import { SelectProject } from '../modules/SelectProject'
import { Dropdown,Checkbox } from 'semantic-ui-react'
import ReactToolTip from 'react-tooltip';
export const ProjectSelect = React.memo((props) => {
const setIsLoading = useSetRecoilState(pageState);
const [pToken,setPtoken] = useRecoilState(ptokenState);
const [questionList,setQuestionList] = useRecoilState(questionState);
const [optionText,setOptionText] = useState('');
const selectOver = (e) => {
const hoverTarget = e.target;
const hoverTitle = hoverTarget.innerHTML.replace(/<[^>]*>?/g, '');
if(hoverTitle !== "" && hoverTarget.getAttribute("role") === "option"){
setOptionText(hoverTitle);
}
}
const ChangeProject = (e, data) =>{
const selectedProject = props.optionData.filter((item) => { if(item.value === data.value) return item})
if(selectedProject.length > 0){
setIsLoading(true);
SelectProject(data.value, selectedProject[0].text, selectedProject[0].ver , 0, '', setPtoken, setQuestionList)
setOptionText('');
}
}
useEffect(() => {
ReactToolTip.rebuild();
})
return(
<div className="select_box">
<Dropdown placeholder='프로젝트 선택' text={'프로젝트 선택'} onMouseOver={selectOver} selectOnBlur={false} onClose={(e)=>{setOptionText("");}} floating fluid search selection options={props.optionData} value onChange={ChangeProject} className="filter-wrapper" />
<ReactToolTip className="tooltip_box" id="tooltip_select" place="right" effect="solid">{optionText}</ReactToolTip>
</div>
)
});
export const QuestionSelect = (props) =>{
let tooltipID = props.filterLineValue.id+"_tooltip_question";
const [pToken,setPtoken] = useRecoilState(ptokenState);
const [questionList,setQuestionList] = useRecoilState(questionState);
const [optionData, setOptiondata] = useState([]);
const [optionText,setOptionText] = useState('');
const [selectText,setSelectText] = useState(null);
const selectOver = (e) => {
const hoverTarget = e.target;
const hoverTitle = hoverTarget.innerHTML.replace(/<[^>]*>?/g, '');
if(hoverTitle !== "" && hoverTarget.getAttribute("role") === "option"){
setOptionText(hoverTitle);
}
}
const ChangeQuestion = (e, data) => {
const selectQuestion = questionList.filter((item) => item.QID === data.value)[0];
props.filterLineValue.qid=data.value;
if(pToken.ver.toUpperCase() === "NEWSSAK"){
props.filterLineValue.vname=selectQuestion.Q_ID;
}else{
props.filterLineValue.vname=selectQuestion.VARIABLE;
}
props.filterLineValue.op='IN';
props.filterLineValue.value='';
setSelectText(selectQuestion.VIEWTITLE);
let newArray = [...props.filterList];
props.setFilterList(newArray);
setOptionText('');
}
useEffect(() =>{
let optionArray = [];
questionList.filter((data) => {if(data.QTYPE !== "text" && data.IS_DERIVED !== "2" ) return data.VIEWTITLE}).map((data) => {
let viewTitle = data.VIEWTITLE;
if(data.QTYPE === "rank"){
let rankText = '';
if(pToken.ver.toUpperCase() === "NEWSSAK"){
data.QID.match(/(\[R\d\])/g).map((item) => {
rankText = item.match(/\d/g);
});
}
else{
let qidArray = data.QID.split("_");
rankText = qidArray[qidArray.length-1];
}
viewTitle = viewTitle.replace(/\-\s\d(\+\d)*순위 까지/g, '- '+rankText+'순위');
}
optionArray.push({
'key': data.QID,
'value': data.QID,
'text': viewTitle,
'data-tip':'',
'data-for': tooltipID
});
})
setOptiondata(optionArray);
},[])
useEffect(() =>{
if(props.filterLineValue.qid !== ''){
let selectedQuesiton = questionList.filter((data) => data.QID === props.filterLineValue.qid)
if(selectedQuesiton.length > 0){
setSelectText(selectedQuesiton[0].VIEWTITLE);
props.setIsNumeric(selectedQuesiton[0].QTYPE==='num')
if(selectedQuesiton[0].LABEL_INFO !== ''){
let tempLabelInfo = JSON.parse(selectedQuesiton[0].LABEL_INFO);
if(Array.isArray(tempLabelInfo)){
tempLabelInfo.map((item) => {
item.value = String(item.value)
item.label = item.label.replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/<[^>]*>?/g, '').replace(/&nbsp;/gi,'');
return item;
})
props.setQuestionValue(tempLabelInfo)
}
else{
props.setQuestionValue(JSON.parse(selectedQuesiton[0].LABEL_INFO))
}
}
}
}
},[props.filterLineValue.qid]);
useEffect(() => {
ReactToolTip.rebuild();
})
return (
<div className="select_box">
<Dropdown placeholder='문항 선택' text={selectText||'문항 선택'} onMouseOver={selectOver} selectOnBlur={false} onClose={(e)=>{setOptionText("");}} value={props.filterLineValue.qid} fluid search selection options={optionData} onChange={ChangeQuestion} className="filter-wrapper" />
<ReactToolTip className="tooltip_box" id={tooltipID} place="right" effect="solid">{optionText}</ReactToolTip>
</div>
)
}
export const OperatorSelect = (props) =>{
const [pToken,setPtoken] = useRecoilState(ptokenState);
let optionData = [
{'key': "IN", 'value': "IN", 'text': "=" },
{'key': "NOT IN", 'value': "NOT IN", 'text': "≠" },
{'key': "<", 'value': "<", 'text': "<" },
{'key': "<=", 'value': "<=", 'text': "≤" },
{'key': ">", 'value': ">", 'text': ">" },
{'key': ">=", 'value': ">=", 'text': "≥" },
{'key': "IS NOT NULL", 'value': "IS NOT NULL", 'text': "Has Value" },
{'key': "IS NULL", 'value': "IS NULL", 'text': "Has No Value" },
];
const ChangeOperator = (e,data) => {
props.filterLineValue.op=data.value;
if(data.value.includes('NULL')){
props.filterLineValue.value = '';
}
else if(data.value.includes('IN') === false){
let selectedValue = props.filterLineValue.value.split(',');
props.filterLineValue.value=selectedValue[0];
}
let newArray = [...props.filterList];
props.setFilterList(newArray);
}
return (
<div className="select_box">
<Dropdown placeholder='' fluid selection options={optionData} value={props.filterLineValue.op} onChange={ChangeOperator} className="filter-wrapper" style={{width:"150px"}} />
</div>
)
}
export const ValueSelect = (props) =>{
let tooltipID = props.filterLineValue.id+"_tooltip_value";
const [originData, setOriginData] = useState([]);
const [optionData, setOptiondata] = useState([]);
const [optionText,setOptionText] = useState('');
const [multiToggle,setMultiToggle] = useState(true);
const [seachString,setSeachString] = useState("");
const selectOver = (e) => {
const hoverTarget = e.target;
const hoverTitle = hoverTarget.innerHTML.replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/(<[^>]*>?)|(&nbsp)|(&lsquo)|(&rsquo)|(&amp)|(;)/g, '');
if(hoverTitle !== "" && hoverTarget.getAttribute("role") === "option"){
setOptionText(hoverTitle);
}
}
const ChangeValue = (e, data) => {
var selectArray = [];
let selectValues = props.filterLineValue.value;
if(selectValues !== "" && multiToggle){
selectArray = props.filterLineValue.value.split(',');
}
if(data.checked){
selectArray.push(data.value);
}
else{
selectArray = selectArray.filter((item) => (item !== data.value));
}
selectArray.sort();
props.filterLineValue.value = selectArray.join(',');
let newArray = [...props.filterList];
props.setFilterList(newArray);
}
const CloseBox = (e, data) => {
setOptiondata([...originData])
setSeachString("")
}
const SeachText = (e, data) =>{
const re = new RegExp(_.escapeRegExp(data.searchQuery),"i");
let searchArray = [...originData];
setOptiondata(searchArray.filter((item, index) => (
item.text.match(re)
)));
setSeachString(data.searchQuery);
}
useEffect(() =>{
let optionArray = [];
Object.keys(props.questionValue).map((key, i) => {
optionArray.push({
'key': i,
'value': props.questionValue[key].value,
'text': props.questionValue[key].label
});
});
setOriginData(optionArray)
setOptiondata(optionArray);
},[props.questionValue]);
useEffect(() =>{
if(props.filterLineValue.op.includes('IN')){
setMultiToggle(true);
}
else{
setMultiToggle(false);
}
},[props.filterLineValue.op]);
useEffect(() => {
ReactToolTip.rebuild();
})
return (
<div className="select_box">
<Dropdown placeholder="값 선택" text={props.filterLineValue.value} searchQuery={seachString} onMouseOver={selectOver} onSearchChange={SeachText} onClose={CloseBox} search fluid className="filter-wrapper selection" multiple style={{width:"250px"}} >
<Dropdown.Menu>
{
optionData.length===0?<div className="message">No results found.</div>:optionData.map((item) => (
<Dropdown.Item key={item.value} data-tip data-for={tooltipID}>
<Checkbox label={item.text} value={item.value} onClick={ChangeValue} checked={props.filterLineValue.value.split(',').includes(item.value)} />
</Dropdown.Item>
))
}
</Dropdown.Menu>
</Dropdown>
{
optionData.length === 0 ? null : <ReactToolTip className="tooltip_box" id={tooltipID} place="right" effect="solid">{optionText}</ReactToolTip>
}
</div>
)
}

View File

@@ -0,0 +1,86 @@
import React, { useEffect, useState } from 'react';
export const FlowerPetals = (props) => {
useEffect(() => {
// 화면에 꽃가루 뿌리기
const intervalId = setInterval(() => {
const petal = document.createElement('span');
petal.classList.add('petal');
petal.style.left = `${Math.random() * 100}vw`;
petal.style.animationDuration = `${Math.random() * 3 + 2}s`;
petal.style.backgroundColor = getRandomColor();
//background-color: #ffccff; /* 꽃가루 색상 설정 */
document.body.appendChild(petal);
setTimeout(() => {
petal.remove();
}, 5000);
}, 100);
// 언마운트 시 꽃가루 효과 정리
return () => {
clearInterval(intervalId);
cleanUpPetals();
};
}, []);
const getRandomColor = () => {
const letters = '0123456789ABCDEF';
let color = '#';
for (let i = 0; i < 6; i++) {
color += letters[Math.floor(Math.random() * 16)];
}
return color;
};
const cleanUpPetals = () => {
const petals = document.querySelectorAll('.petal');
petals.forEach((petal) => {
petal.remove();
});
};
return null;
};
export const KringEffect = (props) => {
useEffect(() => {
// 화면에 이모티콘 뿌리기
const intervalId = setInterval(() => {
const kringImg = document.createElement('img');
kringImg.classList.add('kring');
kringImg.style.left = `${Math.random() * 100}vw`;
kringImg.style.animationDuration = `${Math.random() * 3 + 2}s`;
kringImg.src = require('../resources/images/kring/'+getRandomEmotion());
document.body.appendChild(kringImg);
//if(window.innerHeight <= kringImg.getBoundingClientRect().bottom){
// kringImg.src = require('../resources/images/kring/boom.png');
//}
setTimeout(() => {
kringImg.remove();
}, 5000);
}, 250);
// 언마운트 시 이모티콘 정리
return () => {
clearInterval(intervalId);
cleanUpKrings();
};
}, []);
const getRandomEmotion = () => {
const emotion = ['kring_1.png', 'kring_2.png', 'kring_3.png', 'kring_4.png', 'kring_5.png', 'kring_6.png', 'kring_7.png', 'kring_8.png', 'kring_9.png', 'kring_10.png', 'kring_11.png'];
const randomImg = Math.floor(Math.random() * emotion.length);
return emotion[randomImg];
};
const cleanUpKrings = () => {
const kringImgs = document.querySelectorAll('.kring');
kringImgs.forEach((kringImg) => {
kringImg.remove();
});
};
return null;
};

288
src/components/Table.js Normal file
View File

@@ -0,0 +1,288 @@
import React from 'react';
import ReactWordcloud from 'react-wordcloud'
import {isNumeric} from '../modules/Functions'
export const ResultTitle = React.memo((props) => {
return (
<h3 dangerouslySetInnerHTML={{__html: props.resultTitle.replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/<[^>]*>?/g, '').replace(/&nbsp;/gi,'')}}></h3>
);
});
const QuotaThTd = (props) => {
const options = props.options;
if(options.cellValue === ''){
return null
}
if(options.type ==='th'){
return <th rowSpan={options.rowSapn} colSpan={options.colSapn} className={options.className} style={options.style}>{options.cellValue}</th>
}
let spanClass = '';
let gaugeStyle = '';
let quotaVlueArray = options.cellValue.split('/');
if (+quotaVlueArray[2] < 100) {
spanClass = "num_green"
gaugeStyle={"background": "linear-gradient(to right, #F0F7DF " + quotaVlueArray[2] + "%, #FAFAFA 0%)"};
}
else if(+quotaVlueArray[2] > 100) {
spanClass = "num_red"
gaugeStyle={"background": "linear-gradient(to right, #FFE5E1 " + quotaVlueArray[2] + "%, #FAFAFA 0%)"};
}
else{
spanClass = "num_blue"
gaugeStyle={"background": "linear-gradient(to right, #E1EDFF " + quotaVlueArray[2] + "%, #FAFAFA 0%)"};
}
if(quotaVlueArray.length > 3){
//quotaVlueArray[3] //IS_USE
//quotaVlueArray[4] //Quota table row id
}
return(
<td rowSpan={options.rowSapn} colSpan={options.colSapn} className={options.className} style={gaugeStyle}><span className={spanClass}>{quotaVlueArray[0]}</span>/{quotaVlueArray[1]}</td>
)
}
const ThTd = (props) => {
const options = props.options;
let cellValue = options.cellValue;
if(!options){
return null
}
else if(cellValue.toString().match(/(\d+\.\d+)/g) !== null && options.type === 'td'){
cellValue = parseFloat(cellValue).toFixed(options.fixedValue);
}
return(
options.type ==='th'
? <th rowSpan={options.rowSapn} colSpan={options.colSapn} className={options.className} style={options.style} dangerouslySetInnerHTML={{__html: options.cellValue}}/>
: <td rowSpan={options.rowSapn} colSpan={options.colSapn} className={options.className} style={options.style} dangerouslySetInnerHTML={{__html: cellValue}}/>
)
}
export const ResultCloud = React.memo((props) =>{
let tableArray = [];
let wordArray = [];
if(Array.isArray(props.resultData) === true){
let i = 0;
props.resultData.forEach(jsonData => {
if(isNumeric(jsonData.Count)){
const wordJson = {text: jsonData.Text,value: jsonData.Count}
wordArray.push(wordJson)
if(i < 10){
tableArray.push(wordJson)
}
i++;
}
});
}
const options = {
colors: ["#FF2500", "#0066FF", "#1CAE81", "#94C81A","#FFBF33","#B066FA","#FF7386"],
enableTooltip: false,
deterministic: false,
fontFamily: "Montserrat",
fontSizes: [10, 100],
fontStyle: "normal",
fontWeight: "700",
padding: 1,
rotations: 0,
rotationAngles: [0, 90],
scale: "sqrt",
//transitionDuration: 1000
};
return(
<div className="word_wrap">
<div className="dropped_word" ref={props.wcr}>
<ReactWordcloud options={options} words={wordArray} />
</div>
<div className="word_rank">
<h3>Top 10</h3>
{/*<span>워드클라우드에 대한 설명 설명</span>*/}
<table>
<tbody>
{
tableArray.map((itme,index)=>(
<tr key={"wtr_"+index}>
<td>{(index+1)}</td>
<td>{itme.text}</td>
<td className="main_green">({itme.value})</td>
</tr>
))
}
</tbody>
</table>
</div>
</div>
)
});
export const ResultTable = React.memo((props) => {
let headerArray = [];
let bodyArray = [];
if(Array.isArray(props.resultData) === true){
let headerRow = 0;
let i = 0;
props.resultData.forEach(jsonData => {
let j = 0;
let mean = 0;
let eleArray = [];
let fixedValue = 1;
Object.keys(jsonData).forEach(jsonKey => {
let eleJson = {}
let cellValue = jsonData[jsonKey]===null?"":jsonData[jsonKey];
let type = 'td';
let rowSapn = 1;
let colSapn = 1;
let className = '';
let cssStyle = '';
if(cellValue.toString().includes('|')){
const splitArray = cellValue.split('|');
cellValue = splitArray[0];
rowSapn = +splitArray[1]>0?+splitArray[1]:1;
colSapn = +splitArray[2]>0?+splitArray[2]:1;
if(i === 0 && j === 0){
className = 'first_th';
if (props.isTurn) {
headerRow = colSapn;
}
else {
headerRow = rowSapn;
}
}
}
if((props.isTurn && headerRow > j) || (!props.isTurn && j === 0)){
type = 'th';
}
if (props.isTurn && i === 0 && cellValue === "Mean") {
mean = i;
}
else if ((!props.isTurn && j === 0 && cellValue === "Mean") || (props.isTurn && j === mean)) {
fixedValue = 2;
}
eleJson = {
"type" : type,
"cellValue" : cellValue,
"rowSapn" : rowSapn,
"colSapn" : colSapn,
"className" : className,
"cssStyle" : cssStyle,
"fixedValue":fixedValue
}
eleArray.push(eleJson)
j++;
});
if(!props.isTurn && headerRow > i){
headerArray.push(eleArray);
}
else{
bodyArray.push(eleArray);
}
i++;
});
}
return (
<div className="table_wrap">
{
Array.isArray(props.resultData) === true ?
<table>
<thead>
{
headerArray.map((eleArray, i) => (
<tr key={"head_"+i}>
{
eleArray.map((ele, j) => (
(i > 0 || j > 0) && ele.cellValue === '' ? null
: <ThTd key={"head_"+i+"_"+j} options={ele} />
))
}
</tr>
))
}
</thead>
<tbody>
{
bodyArray.map((eleArray, i) => (
<tr key={"body_"+i}>
{
props.isQuota?
eleArray.map((ele, j) => (
<QuotaThTd key={"body_"+i+"_"+j} options={ele} />
))
:
eleArray.map((ele, j) => (
ele.cellValue === ''?null:<ThTd key={"body_"+i+"_"+j} options={ele} />
))
}
</tr>
))
}
</tbody>
</table>
:
<table>
<thead>
<tr style={{border:'1px solid #E1E1E1'}}>
<td>{props.resultData}</td>
</tr>
</thead>
</table>
}
</div>
);
});
export const CurrentTable = React.memo((props) => {
let headerArray = props.header;
let bodyArray = props.body;
return (
<div className="chart_table_con">
<div className="chart_table_box" style={{...props.style}}>
{
Array.isArray(headerArray)?
<table>
<thead>
<tr>
{
headerArray.map((ele,i) =>(
<th key={"header_"+i}>{ele}</th>
))
}
</tr>
</thead>
<tbody>
{
Array.isArray(bodyArray)?
bodyArray.map((eleArray,i) =>(
<tr key={"body_"+i}>
{
eleArray.map((ele, j) => (
<td key={"body_"+i+"_"+j} style={{borderLeft: '1px solid #d0d0d0'}}>{ele}</td>
))
}
</tr>
))
:null
}
</tbody>
</table>
:null
}
</div>
</div>
);
});

38
src/index.js Normal file
View File

@@ -0,0 +1,38 @@
import React, { Suspense } from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter } from 'react-router-dom';
import { RecoilRoot } from 'recoil';
import { QueryClient, QueryClientProvider } from 'react-query';
import { ReactQueryDevtools } from "react-query/devtools";
import { QueryLoading } from './components/Loading';
import Header from './components/Header';
import App from './App';
const queryClient = new QueryClient({
defaultOptions:{
queries:{
suspense:true,
refetchOnWindowFocus:false,
staleTime: 1*60*60*1000,
}
}
})
ReactDOM.render(
<React.StrictMode>
<BrowserRouter>
<RecoilRoot>
<QueryClientProvider client={queryClient}>
<Header/>
<Suspense fallback={<QueryLoading/>}>
<App />
</Suspense>
{
//<ReactQueryDevtools initialIsOpen={true}/>
}
</QueryClientProvider>
</RecoilRoot>
</BrowserRouter>
</React.StrictMode>,
document.getElementById("root")
);

107
src/modules/Axios.js Normal file
View File

@@ -0,0 +1,107 @@
import axios from 'axios'
// Base URL
export const URL_KART_KON = "https://rapi.kric.com/api/v1";
export const URL_KART_NS = "https://kapi.kric.com/api/v2";
//export const URL_KART_NS = "https://localhost:7042/api/v2";
export const axiosOption = {
url:'',
method:'',
responseType: 'json',
headers:{},
param:{},
data:{},
useAuth:true
}
const axiosResult = {
status : 0,
headers : '',
data : '',
message : ''
}
export const AsyncAxios = (options = axiosOption) => {
const result = JSON.parse(JSON.stringify(axiosResult));
return axios(options)
.then(response => {
result.status = response.status;
result.headers = response.headers;
result.data = response.data;
result.message = '';
return result;
})
.catch((Error)=>{
if(Error.response !== undefined){
result.status = Error.response.status ? Error.response.status : 0;
result.headers = '';
result.data = Error.response.data ? Error.response.data : '';
}
result.message = Error.message;
return result;
}).finally(() => {
if(result.status === 401 && options.useAuth){
const url = "/Logout";
const link = document.createElement('a');
link.href = url;
document.body.appendChild(link);
link.click();
link.remove();
}
});
}
export const SyncAxios = async(options = axiosOption) =>{
const result = JSON.parse(JSON.stringify(axiosResult));
await axios(options)
.then(response => {
result.status = response.status;
result.headers = response.headers;
result.data = response.data;
result.message = '';
})
.catch((Error)=>{
if(Error.response != undefined){
result.status = Error.response.status ? Error.response.status : 0;
result.headers = '';
result.data = Error.response.data ? Error.response.data : '';
}
result.message = Error.message;
})
.finally(() => {
if(result.status === 401 && options.useAuth){
const url = "/Logout";
const link = document.createElement('a');
link.href = url;
document.body.appendChild(link);
link.click();
link.remove();
}
});
return result
}
export const SetOption = (useAuth ,url, method, headers = {}, body = {}, param = {}) =>{
const options = JSON.parse(JSON.stringify(axiosOption));
options.useAuth = useAuth;
options.url = url;
options.method = method;
Object.keys(headers).forEach(function(key) {
options.headers[key] = headers[key];
});
Object.keys(body).forEach(function(key) {
options.data[key] = body[key];
});
Object.keys(param).forEach(function(key) {
options.param[key] = param[key];
});
return options;
}

40
src/modules/Functions.js Normal file
View File

@@ -0,0 +1,40 @@
export const isNumeric = (str) => {
if (typeof str != "string") return false // we only process strings!
return !isNaN(str) && // use type coercion to parse the _entirety_ of the string (`parseFloat` alone does not do this)...
!isNaN(parseFloat(str)) // ...and ensure strings of whitespace fail
}
export const DateTimeString = () => {
const today = new Date();
let year = today.getFullYear();
let month = (today.getMonth() + 1);
let day = today.getDate();
let hour = today.getHours();
let minute = today.getMinutes();
let second = today.getSeconds();
month = month < 10 ? "0"+month : month;
day = day < 10 ? "0"+day : day;
hour = hour < 10 ? "0"+hour : hour;
minute = minute < 10 ? "0"+minute : minute;
second = second < 10 ? "0"+second : second;
let returnString = year+month+day+"_"+hour+minute+second;
return returnString;
}
export const DownloadFiles = (disposition, fileData) => {
//const fileName = getFileName(response.headers['content-disposition']);
const fileName = disposition;
const url = window.URL.createObjectURL(new Blob([fileData]));
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', fileName);
document.body.appendChild(link);
link.click();
link.remove();
}
export const GetRandomID = (idLength) => {
return Math.random().toString(36).substring(2, idLength+2);
}

21
src/modules/Log.js Normal file
View File

@@ -0,0 +1,21 @@
import {SetOption,SyncAxios,URL_KART_NS} from './Axios'
export const SiteLog = (logTitle, logContent, token, skey) =>{
const url = URL_KART_NS + '/log/site';
const method = 'POST';
const headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token, "skey":skey};
const body = {"logTitle": logTitle, "logContent": logContent};
const options = SetOption(true, url, method, headers, body);
SyncAxios(options).then(response => {});
}
export const VisitLog = (logContent, token, skey = '') =>{
if(!skey) return false;
const url = URL_KART_NS + '/log/visit';
const method = 'POST';
const headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token, "skey":skey};
const body = {"logContent": logContent};
const options = SetOption(true, url, method, headers, body);
SyncAxios(options).then(response => {});
}

View File

@@ -0,0 +1,50 @@
import {SetOption,SyncAxios,URL_KART_KON,URL_KART_NS} from '../modules/Axios';
const makeQuestionText = (vriableName, explain) =>{
let questionText = vriableName + ". " + explain.replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/<[^>]*>?/g, '').replace(/&nbsp;/gi,'');
return questionText;
}
export const getQuestionList = (token, skey, ver, setQuestionList) =>{
let url = '';
if(ver.toUpperCase() === "NEWSSAK"){
url = URL_KART_NS + '/project/question';
}
else{
url = URL_KART_KON + '/project/question';
}
const method = 'GET';
const headers = {'Accept':'application/json', 'Content-Type': 'application/json;charset=UTP-8', "token":token, "skey":skey};
const body = {};
const options = SetOption(true, url, method, headers, body);
SyncAxios(options).then(response => {
if(response.data.length > 0){
let responseData = [...response.data];
responseData.forEach((ele, i) => {
if(ver.toUpperCase() === "NEWSSAK"){
ele.VIEWTITLE = makeQuestionText(ele.Q_ID, ele.EXPLAIN);
}
else{
ele.VIEWTITLE = makeQuestionText(ele.VARIABLE, ele.EXPLAIN);
}
});
setQuestionList(responseData);
}
})
}
export const SelectProject = (skey, title, ver, onlyPage, path, setPtoken, setQuestionList) =>{
setPtoken({
skey : skey,
title : title,
ver : ver,
onlyPage : onlyPage,
path:path
});
if(skey === ''){
setQuestionList([]);
}
}

3587
src/resources/css/custom.css Normal file

File diff suppressed because it is too large Load Diff

229
src/resources/css/guide.css Normal file
View File

@@ -0,0 +1,229 @@
@charset "utf-8";
/* ============================================================
Reset css : 리셋 css
============================================================ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
}
*{ box-sizing: border-box;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
a {
color: #000;
text-decoration: none;
}
ol, ul, dl, dt, dd, li {
list-style: none;
padding: 0;
margin: 0;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
table caption {
position: absolute;
top: -9999px;
left: -9999px;
}
/* ============================================================
Skip naviagtion : 스킵네비게이션
============================================================ */
.skip_nav a {
display: block;
width: 100%;
position: absolute;
top: -9999px;
padding: 10px;
box-sizing: border-box;
background-color: rgba(0,0,0,.6);
border: none;
text-align: center;
color: #fff;
}
.skip_nav a:focus,
.skip_nav a:hover,
.skip_nav a:active {
top: 0;
}
/* ============================================================
Font : 폰트타입
============================================================ */
/* @font-face {
font-family: "NotoSansKR";
src: url("../font/NotoSans-Regular.ttf") format("ttf"),
url("../font/NotoSans-Medium.ttf") format("ttf"),
url("../font/NotoSans-bold.ttf") format("ttf"),
url("../font/NotoSans-Black.ttf") format("ttf");
font-style: normal;
} */
/* @font-face {
font-family: 'CenturyGothic';
src: url('../font/CenturyGothic-Regular.ttf') format('ttf'),
url('../font/CenturyGothic-Bold.TTF') format('ttf');
font-weight: normal;
font-style: normal;
unicode-range:U+0041-005A, U+0061-007A;
} */
/* kon report : button guide */
.container { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; padding: 100px; background-color: #e7e6e6; height: 100vh;}
button {
border: none;
box-sizing: border-box;
width: 113px;
height: 28px;
cursor: pointer;
}
.green {
background-color: #17BBB0;
border-radius: 52px;
}
.green_btn {
width: 156px;
height: 28px;
background-color: #17BBB0;
color: #fff;
border-radius: 52px;
font-weight: 700;
}
.url_copy a {
height: 28px;
display: inline-block;
font-size: 14px;
font-weight: 700;
line-height: 15px;
color: #17BBB0;
padding: 6px 14px;
box-sizing: border-box;
padding-left: 34px;
background: #F5F5F5 url(../images/ico/ic_copy.svg) no-repeat left 12px center/18px 18px;
}
.round_btn {
border-radius: 52px;
}
.square_btn {
width: 156px;
height: 50px;
background-color: #17BBB0;
color: #fff;
border-radius: 4px;
font-weight: 700;
}
.logout {
width: 113px;
height: 28px;
color: #fff;
font-size: 14px;
font-weight: 700;
line-height: 17.17px;
}
.tab_side_btns {
display: flex;
justify-content: center;
align-items: center;
}
.tab_side_btns button {
background: #fff url(../images/ic_reset_16.png) no-repeat left 16px center/18px 17px;
font-size: 0.729vw;
color: #9E9E9E;
font-weight: 700;
padding-left: 18px;
}
.tab_side_btns button:last-child {
background: #fff url(../images/ic_bookmark_14.png) no-repeat left 16px center/11px 14px;
padding-left: 21px;
}
.rt03 .statistic_wrap .round_btn {
color: #17BBB0;
background: #fff url(../images/ic_plus.png) no-repeat left 20px center/12px;
height: 28px;
font-weight: 700;
padding-left: 26px;
font-size: 14px;
margin-bottom: 20px;
}
.statistic_wrap .export_btn {
background: #F5F5F5 url(../images/ic_exports.png) no-repeat left 20px center/15px;
color: #9E9E9E;
font-size: 16px;
filter: grayscale(1);
padding-left: 26px;
/* position: absolute; */
top: 92px;
right: 0;
}
.text_center .square_btn {
background-color: #F5F5F5;
color: #9E9E9E;
font-weight: 700;
font-size: 16px;
}
.data_list_title button {
color: #17BBB0;
font-weight: 700;
background: #fff url(../images/update_icon.png) no-repeat left 20px center/16px 16px;
width: 112px;
height: 28px;
padding-left: 26px;
}
.statistic_wrap .round_btn {
width: 113px;
height: 42px;
background: #17BBB0 url(../images/ic_plus_s.png) no-repeat left 16px center/12px 12px;
color: #fff;
font-weight: 700;
padding-left: 26px;
font-size: 14px;
margin-bottom: 20px;
}
.import_hd {
background: #17BBB0 url(../images/ic_exports_s.png) no-repeat left 20px center/12px;
padding-left: 14px;
}
div > .data_btn:first-child {
background: #F5F5F5 url(../images/ic_exports.png) no-repeat left 20px center/15px;
}
.data_btn {
width: 156px;
height: 50px;
border: none;
font-size: 16px;
font-weight: 700;
background: #F5F5F5 url(../images/ic-imports.png) no-repeat left 20px center/15px;
padding-left: 40px;
line-height: 44px;
border-radius: 4px;
color: #9E9E9E;
filter: grayscale(1);
line-height: 50px;
display: inline-block;
}
.filebox_input {
position: absolute;
width: 0;
height: 0;
border: 0;
padding: 0;
}

1653
src/resources/css/media.css Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,97 @@
@charset "utf-8";
/* ============================================================
Reset css : 리셋 css
============================================================ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
}
*{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
a {
color: #000;
text-decoration: none;
}
ol, ul, dl, dt, dd, li {
list-style: none;
padding: 0;
margin: 0;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
table caption {
position: absolute;
top: -9999px;
left: -9999px;
}
/* ============================================================
Skip naviagtion : 스킵네비게이션
============================================================ */
.skip_nav a {
display: block;
width: 100%;
position: absolute;
top: -9999px;
padding: 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-color: rgba(0,0,0,.6);
border: none;
text-align: center;
color: #fff;
}
.skip_nav a:focus,
.skip_nav a:hover,
.skip_nav a:active {
top: 0;
}
/* ============================================================
Font : 폰트타입 변환
============================================================ */
/* @font-face {
font-family: "NotoSansKR";
src: url("../font/NotoSans-Regular.ttf") format("ttf"),
url("../font/NotoSans-Medium.ttf") format("ttf"),
url("../font/NotoSans-bold.ttf") format("ttf"),
url("../font/NotoSans-Black.ttf") format("ttf");
font-style: normal;
} */
/* @font-face {
font-family: 'CenturyGothic';
src: url('../font/CenturyGothic-Regular.ttf') format('ttf'),
url('../font/CenturyGothic-Bold.TTF') format('ttf');
font-weight: normal;
font-style: normal;
unicode-range:U+0041-005A, U+0061-007A;
} */
/* noto sans */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,900&family=Noto+Sans:wght@300;400;500;600;700;800&display=swap');
/* @import url('http://fonts.cdnfonts.com/css/century-gothic'); */

View File

@@ -0,0 +1,5 @@
@charset "utf-8";
@import url(reset.css);
@import url("https://cdn.jsdelivr.net/npm/semantic-ui/dist/semantic.min.css");
@import url(custom.css);
@import url(media.css);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

View File

@@ -0,0 +1,14 @@
<svg width="1921" height="814" viewBox="0 0 1921 814" fill="none" xmlns="http://www.w3.org/2000/svg">
<path opacity="0.19" d="M1 36H1921V479.775C1921 479.775 1582.1 697.726 938.985 598.508C295.871 499.29 1 814 1 814V36Z" fill="url(#paint0_linear_1227_672)"/>
<path d="M0 0H1920V538C1920 538 1575.09 692.18 931.981 592.922C288.867 493.664 0 735 0 735V0Z" fill="url(#paint1_linear_1227_672)"/>
<defs>
<linearGradient id="paint0_linear_1227_672" x1="34.3565" y1="814" x2="376.218" y2="-192.543" gradientUnits="userSpaceOnUse">
<stop stop-color="#94C81A"/>
<stop offset="1" stop-color="#1CAE81"/>
</linearGradient>
<linearGradient id="paint1_linear_1227_672" x1="33.3565" y1="735" x2="341.903" y2="-226.601" gradientUnits="userSpaceOnUse">
<stop stop-color="#94C81A"/>
<stop offset="1" stop-color="#1CAE81"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 838 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 681 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

View File

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 5H22V7.5H2V5ZM2 11.25H22V13.75H2V11.25ZM2 17.5H22V20H2V17.5Z" fill="#9E9E9E"/>
</svg>

After

Width:  |  Height:  |  Size: 194 B

View File

@@ -0,0 +1,4 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#1CAE81"/>
<path d="M14.9843 16.4371L17.0835 18.5454V9.75457C17.0835 9.51146 17.1801 9.2783 17.352 9.10639C17.5239 8.93448 17.757 8.83791 18.0002 8.83791C18.2433 8.83791 18.4764 8.93448 18.6483 9.10639C18.8203 9.2783 18.9168 9.51146 18.9168 9.75457V18.5454L21.016 16.4371C21.1012 16.3512 21.2026 16.283 21.3143 16.2364C21.426 16.1899 21.5458 16.1659 21.6668 16.1659C21.7878 16.1659 21.9077 16.1899 22.0194 16.2364C22.1311 16.283 22.2324 16.3512 22.3177 16.4371C22.4036 16.5223 22.4718 16.6237 22.5183 16.7354C22.5649 16.8471 22.5888 16.9669 22.5888 17.0879C22.5888 17.2089 22.5649 17.3287 22.5183 17.4404C22.4718 17.5521 22.4036 17.6535 22.3177 17.7387L18.651 21.4054C18.5638 21.4889 18.461 21.5543 18.3485 21.5979C18.1253 21.6896 17.875 21.6896 17.6518 21.5979C17.5393 21.5543 17.4365 21.4889 17.3493 21.4054L13.6827 17.7387C13.5972 17.6533 13.5294 17.5518 13.4831 17.4401C13.4369 17.3285 13.4131 17.2088 13.4131 17.0879C13.4131 16.967 13.4369 16.8473 13.4831 16.7357C13.5294 16.624 13.5972 16.5225 13.6827 16.4371C13.7681 16.3516 13.8696 16.2838 13.9813 16.2376C14.0929 16.1913 14.2126 16.1675 14.3335 16.1675C14.4544 16.1675 14.5741 16.1913 14.6857 16.2376C14.7974 16.2838 14.8989 16.3516 14.9843 16.4371ZM26.2502 19.8333C26.007 19.8333 25.7739 19.9299 25.602 20.1018C25.4301 20.2737 25.3335 20.5069 25.3335 20.75V24.4167C25.3335 24.6598 25.2369 24.8929 25.065 25.0649C24.8931 25.2368 24.6599 25.3333 24.4168 25.3333H11.5835C11.3404 25.3333 11.1072 25.2368 10.9353 25.0649C10.7634 24.8929 10.6668 24.6598 10.6668 24.4167V20.75C10.6668 20.5069 10.5703 20.2737 10.3983 20.1018C10.2264 19.9299 9.99328 19.8333 9.75016 19.8333C9.50705 19.8333 9.27389 19.9299 9.10198 20.1018C8.93007 20.2737 8.8335 20.5069 8.8335 20.75V24.4167C8.8335 25.146 9.12323 25.8455 9.63895 26.3612C10.1547 26.8769 10.8542 27.1667 11.5835 27.1667H24.4168C25.1462 27.1667 25.8456 26.8769 26.3614 26.3612C26.8771 25.8455 27.1668 25.146 27.1668 24.4167V20.75C27.1668 20.5069 27.0703 20.2737 26.8983 20.1018C26.7264 19.9299 26.4933 19.8333 26.2502 19.8333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,3 @@
<svg width="13" height="10" viewBox="0 0 13 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.8 0L3.808 7.692L1.2 5.182L0 6.331L3.808 9.995L13 1.154L11.8 0Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 195 B

View File

@@ -0,0 +1,4 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#17BBB0"/>
<path d="M14.9841 16.4371L17.0833 18.5454V9.75456C17.0833 9.51144 17.1799 9.27828 17.3518 9.10638C17.5237 8.93447 17.7569 8.83789 18 8.83789C18.2431 8.83789 18.4763 8.93447 18.6482 9.10638C18.8201 9.27828 18.9166 9.51144 18.9166 9.75456V18.5454L21.0158 16.4371C21.101 16.3511 21.2024 16.2829 21.3141 16.2364C21.4258 16.1899 21.5456 16.1659 21.6666 16.1659C21.7877 16.1659 21.9075 16.1899 22.0192 16.2364C22.1309 16.2829 22.2323 16.3511 22.3175 16.4371C22.4034 16.5223 22.4716 16.6237 22.5181 16.7354C22.5647 16.8471 22.5886 16.9669 22.5886 17.0879C22.5886 17.2089 22.5647 17.3287 22.5181 17.4404C22.4716 17.5521 22.4034 17.6535 22.3175 17.7387L18.6508 21.4054C18.5636 21.4888 18.4608 21.5543 18.3483 21.5979C18.1251 21.6896 17.8748 21.6896 17.6516 21.5979C17.5391 21.5543 17.4363 21.4888 17.3491 21.4054L13.6825 17.7387C13.597 17.6533 13.5292 17.5518 13.483 17.4401C13.4367 17.3284 13.4129 17.2088 13.4129 17.0879C13.4129 16.967 13.4367 16.8473 13.483 16.7357C13.5292 16.624 13.597 16.5225 13.6825 16.4371C13.7679 16.3516 13.8694 16.2838 13.9811 16.2375C14.0928 16.1913 14.2124 16.1675 14.3333 16.1675C14.4542 16.1675 14.5739 16.1913 14.6855 16.2375C14.7972 16.2838 14.8987 16.3516 14.9841 16.4371ZM26.25 19.8333C26.0069 19.8333 25.7737 19.9299 25.6018 20.1018C25.4299 20.2737 25.3333 20.5069 25.3333 20.75V24.4167C25.3333 24.6598 25.2367 24.8929 25.0648 25.0648C24.8929 25.2367 24.6598 25.3333 24.4166 25.3333H11.5833C11.3402 25.3333 11.107 25.2367 10.9351 25.0648C10.7632 24.8929 10.6666 24.6598 10.6666 24.4167V20.75C10.6666 20.5069 10.5701 20.2737 10.3982 20.1018C10.2263 19.9299 9.99309 19.8333 9.74998 19.8333C9.50686 19.8333 9.27371 19.9299 9.1018 20.1018C8.92989 20.2737 8.83331 20.5069 8.83331 20.75V24.4167C8.83331 25.146 9.12304 25.8455 9.63877 26.3612C10.1545 26.8769 10.854 27.1667 11.5833 27.1667H24.4166C25.146 27.1667 25.8455 26.8769 26.3612 26.3612C26.8769 25.8455 27.1666 25.146 27.1666 24.4167V20.75C27.1666 20.5069 27.0701 20.2737 26.8982 20.1018C26.7263 19.9299 26.4931 19.8333 26.25 19.8333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,4 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#17BBB0"/>
<path d="M14.9848 16.4371L17.084 18.5454V9.75456C17.084 9.51144 17.1806 9.27828 17.3525 9.10638C17.5244 8.93447 17.7575 8.83789 18.0007 8.83789C18.2438 8.83789 18.4769 8.93447 18.6488 9.10638C18.8207 9.27828 18.9173 9.51144 18.9173 9.75456V18.5454L21.0165 16.4371C21.1017 16.3511 21.2031 16.2829 21.3148 16.2364C21.4265 16.1899 21.5463 16.1659 21.6673 16.1659C21.7883 16.1659 21.9081 16.1899 22.0198 16.2364C22.1315 16.2829 22.2329 16.3511 22.3181 16.4371C22.4041 16.5223 22.4723 16.6237 22.5188 16.7354C22.5653 16.8471 22.5893 16.9669 22.5893 17.0879C22.5893 17.2089 22.5653 17.3287 22.5188 17.4404C22.4723 17.5521 22.4041 17.6535 22.3181 17.7387L18.6515 21.4054C18.5643 21.4888 18.4615 21.5543 18.349 21.5979C18.1258 21.6896 17.8755 21.6896 17.6523 21.5979C17.5398 21.5543 17.437 21.4888 17.3498 21.4054L13.6832 17.7387C13.5977 17.6533 13.5299 17.5518 13.4836 17.4401C13.4374 17.3284 13.4136 17.2088 13.4136 17.0879C13.4136 16.967 13.4374 16.8473 13.4836 16.7357C13.5299 16.624 13.5977 16.5225 13.6832 16.4371C13.7686 16.3516 13.8701 16.2838 13.9818 16.2375C14.0934 16.1913 14.2131 16.1675 14.334 16.1675C14.4549 16.1675 14.5745 16.1913 14.6862 16.2375C14.7979 16.2838 14.8993 16.3516 14.9848 16.4371ZM26.2507 19.8333C26.0075 19.8333 25.7744 19.9299 25.6025 20.1018C25.4306 20.2737 25.334 20.5069 25.334 20.75V24.4167C25.334 24.6598 25.2374 24.8929 25.0655 25.0648C24.8936 25.2367 24.6604 25.3333 24.4173 25.3333H11.584C11.3409 25.3333 11.1077 25.2367 10.9358 25.0648C10.7639 24.8929 10.6673 24.6598 10.6673 24.4167V20.75C10.6673 20.5069 10.5707 20.2737 10.3988 20.1018C10.2269 19.9299 9.99377 19.8333 9.75065 19.8333C9.50754 19.8333 9.27438 19.9299 9.10247 20.1018C8.93056 20.2737 8.83398 20.5069 8.83398 20.75V24.4167C8.83398 25.146 9.12372 25.8455 9.63944 26.3612C10.1552 26.8769 10.8546 27.1667 11.584 27.1667H24.4173C25.1467 27.1667 25.8461 26.8769 26.3619 26.3612C26.8776 25.8455 27.1673 25.146 27.1673 24.4167V20.75C27.1673 20.5069 27.0707 20.2737 26.8988 20.1018C26.7269 19.9299 26.4938 19.8333 26.2507 19.8333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,4 @@
<svg width="37" height="36" viewBox="0 0 37 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.206909" width="36.4655" height="36" rx="9" fill="#FF5B40"/>
<path d="M15.3847 16.4371L17.511 18.5454V9.75456C17.511 9.51144 17.6089 9.27828 17.783 9.10638C17.9571 8.93447 18.1933 8.83789 18.4396 8.83789C18.6858 8.83789 18.922 8.93447 19.0961 9.10638C19.2703 9.27828 19.3681 9.51144 19.3681 9.75456V18.5454L21.4944 16.4371C21.5807 16.3511 21.6834 16.2829 21.7966 16.2364C21.9097 16.1899 22.0311 16.1659 22.1536 16.1659C22.2762 16.1659 22.3976 16.1899 22.5107 16.2364C22.6239 16.2829 22.7266 16.3511 22.8129 16.4371C22.8999 16.5223 22.969 16.6237 23.0161 16.7354C23.0633 16.8471 23.0875 16.9669 23.0875 17.0879C23.0875 17.2089 23.0633 17.3287 23.0161 17.4404C22.969 17.5521 22.8999 17.6535 22.8129 17.7387L19.0988 21.4054C19.0105 21.4888 18.9064 21.5543 18.7924 21.5979C18.5663 21.6896 18.3128 21.6896 18.0867 21.5979C17.9727 21.5543 17.8686 21.4888 17.7803 21.4054L14.0662 17.7387C13.9797 17.6533 13.911 17.5518 13.8641 17.4401C13.8173 17.3284 13.7932 17.2088 13.7932 17.0879C13.7932 16.967 13.8173 16.8473 13.8641 16.7357C13.911 16.624 13.9797 16.5225 14.0662 16.4371C14.1528 16.3516 14.2556 16.2838 14.3687 16.2375C14.4818 16.1913 14.603 16.1675 14.7255 16.1675C14.8479 16.1675 14.9691 16.1913 15.0823 16.2375C15.1954 16.2838 15.2982 16.3516 15.3847 16.4371ZM26.7962 19.8333C26.55 19.8333 26.3138 19.9299 26.1397 20.1018C25.9655 20.2737 25.8677 20.5069 25.8677 20.75V24.4167C25.8677 24.6598 25.7699 24.8929 25.5958 25.0648C25.4216 25.2367 25.1855 25.3333 24.9392 25.3333H11.9399C11.6937 25.3333 11.4575 25.2367 11.2834 25.0648C11.1092 24.8929 11.0114 24.6598 11.0114 24.4167V20.75C11.0114 20.5069 10.9136 20.2737 10.7394 20.1018C10.5653 19.9299 10.3291 19.8333 10.0829 19.8333C9.83662 19.8333 9.60045 19.9299 9.42632 20.1018C9.25218 20.2737 9.15436 20.5069 9.15436 20.75V24.4167C9.15436 25.146 9.44784 25.8455 9.97023 26.3612C10.4926 26.8769 11.2011 27.1667 11.9399 27.1667H24.9392C25.678 27.1667 26.3865 26.8769 26.9089 26.3612C27.4313 25.8455 27.7248 25.146 27.7248 24.4167V20.75C27.7248 20.5069 27.6269 20.2737 27.4528 20.1018C27.2787 19.9299 27.0425 19.8333 26.7962 19.8333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,11 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 1.25H3.75C2.36929 1.25 1.25 2.36929 1.25 3.75V10C1.25 11.3807 2.36929 12.5 3.75 12.5H10C11.3807 12.5 12.5 11.3807 12.5 10V3.75C12.5 2.36929 11.3807 1.25 10 1.25Z" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7.5 9.99997C7.5 9.33693 7.76339 8.70105 8.23223 8.23221C8.70107 7.76337 9.33695 7.49998 9.99999 7.49998" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18.75 9.99997C18.75 9.33693 18.4866 8.70105 18.0178 8.23221C17.5489 7.76337 16.913 7.49998 16.25 7.49998" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18.75 16.2499C18.75 16.913 18.4866 17.5489 18.0178 18.0177C17.5489 18.4865 16.913 18.7499 16.25 18.7499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7.5 16.2499C7.5 16.913 7.76339 17.5489 8.23223 18.0177C8.70107 18.4865 9.33695 18.7499 9.99999 18.7499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.5 18.7499H13.75" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.5 7.49998H13.75" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7.5 12.5V13.75" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18.75 12.5V13.75" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,11 @@
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.75 7H9.5C8.11929 7 7 8.11929 7 9.5V15.75C7 17.1307 8.11929 18.25 9.5 18.25H15.75C17.1307 18.25 18.25 17.1307 18.25 15.75V9.5C18.25 8.11929 17.1307 7 15.75 7Z" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M1 3.49999C1 2.83695 1.26339 2.20107 1.73223 1.73223C2.20107 1.26339 2.83695 1 3.49999 1" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.25 3.49999C12.25 2.83695 11.9866 2.20107 11.5178 1.73223C11.0489 1.26339 10.413 1 9.75001 1" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.25 9.74995C12.25 10.413 11.9866 11.0489 11.5178 11.5177C11.0489 11.9865 10.413 12.2499 9.75001 12.2499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M1 9.74995C1 10.413 1.26339 11.0489 1.73223 11.5177C2.20107 11.9865 2.83695 12.2499 3.49999 12.2499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M6 12.2499H7.25" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M6 1H7.25" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M1 5.99994V7.24993" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.25 5.99994V7.24993" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,11 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 1.25H3.75C2.36929 1.25 1.25 2.36929 1.25 3.75V10C1.25 11.3807 2.36929 12.5 3.75 12.5H10C11.3807 12.5 12.5 11.3807 12.5 10V3.75C12.5 2.36929 11.3807 1.25 10 1.25Z" fill="#1CAE81" fill-opacity="0.4" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7.5 9.99999C7.5 9.33695 7.76339 8.70107 8.23223 8.23223C8.70107 7.76339 9.33695 7.5 9.99999 7.5" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18.7499 9.99999C18.7499 9.33695 18.4865 8.70107 18.0177 8.23223C17.5489 7.76339 16.913 7.5 16.2499 7.5" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18.7499 16.2499C18.7499 16.913 18.4865 17.5489 18.0177 18.0177C17.5489 18.4865 16.913 18.7499 16.2499 18.7499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7.5 16.2499C7.5 16.913 7.76339 17.5489 8.23223 18.0177C8.70107 18.4865 9.33695 18.7499 9.99999 18.7499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.4999 18.7499H13.7499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.4999 7.5H13.7499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7.5 12.4999V13.7499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M18.7499 12.4999V13.7499" stroke="#1CAE81" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,6 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#1CAE81"/>
<path d="M24.93 18C25.1504 19.6686 24.8425 21.3644 24.0496 22.849C23.2566 24.3337 22.0185 25.5326 20.5091 26.2773C18.9997 27.0221 17.2949 27.2752 15.6342 27.0012C13.9736 26.7272 12.4405 25.9398 11.2503 24.7497C10.0602 23.5595 9.27279 22.0264 8.99879 20.3658C8.72479 18.7051 8.97795 17.0003 9.7227 15.4909C10.4674 13.9815 11.6664 12.7434 13.151 11.9504C14.6356 11.1575 16.3314 10.8496 18 11.07V9H17C15.0222 9 13.0888 9.58649 11.4443 10.6853C9.79981 11.7841 8.51809 13.3459 7.76121 15.1732C7.00433 17.0004 6.8063 19.0111 7.19215 20.9509C7.578 22.8907 8.53041 24.6725 9.92894 26.0711C11.3275 27.4696 13.1093 28.422 15.0491 28.8079C16.9889 29.1937 18.9996 28.9957 20.8268 28.2388C22.6541 27.4819 24.2159 26.2002 25.3147 24.5557C26.4135 22.9112 27 20.9778 27 19V18H24.93Z" fill="current"/>
<path d="M26.364 9.636C24.676 7.94846 22.3869 7.00031 20 7V16H29C28.9997 13.6131 28.0515 11.324 26.364 9.636Z" fill="white"/>
<path d="M22 9.29395C23.1129 9.627 24.1256 10.2314 24.9471 11.0529C25.7685 11.8743 26.3729 12.887 26.706 13.9999H22V9.29395Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,6 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#1CAE81"/>
<path d="M24.93 18C25.1504 19.6686 24.8425 21.3644 24.0496 22.849C23.2566 24.3337 22.0185 25.5326 20.5091 26.2773C18.9997 27.0221 17.2949 27.2752 15.6342 27.0012C13.9736 26.7272 12.4405 25.9398 11.2503 24.7497C10.0602 23.5595 9.27279 22.0264 8.99879 20.3658C8.72479 18.7051 8.97795 17.0003 9.7227 15.4909C10.4674 13.9815 11.6664 12.7434 13.151 11.9504C14.6356 11.1575 16.3314 10.8496 18 11.07V9H17C15.0222 9 13.0888 9.58649 11.4443 10.6853C9.79981 11.7841 8.51809 13.3459 7.76121 15.1732C7.00433 17.0004 6.8063 19.0111 7.19215 20.9509C7.578 22.8907 8.53041 24.6725 9.92894 26.0711C11.3275 27.4696 13.1093 28.422 15.0491 28.8079C16.9889 29.1937 18.9996 28.9957 20.8268 28.2388C22.6541 27.4819 24.2159 26.2002 25.3147 24.5557C26.4135 22.9112 27 20.9778 27 19V18H24.93Z" fill="white"/>
<path d="M26.364 9.636C24.676 7.94846 22.3869 7.00031 20 7V16H29C28.9997 13.6131 28.0515 11.324 26.364 9.636Z" fill="white"/>
<path d="M22 9.29395C23.1129 9.627 24.1256 10.2314 24.9471 11.0529C25.7685 11.8743 26.3729 12.887 26.706 13.9999H22V9.29395Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,5 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#1CAE81"/>
<path d="M20.1667 22.333H22.3333V20.1663H24.5V17.9997H22.3333V15.833H20.1667V17.9997H18V20.1663H20.1667V22.333Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.80375 26.0304C8.22769 26.4544 8.73758 26.6663 9.33341 26.6663H26.6667C27.2626 26.6663 27.7728 26.4544 28.1975 26.0304C28.6214 25.6058 28.8334 25.0955 28.8334 24.4997V13.6663C28.8334 13.0705 28.6214 12.5606 28.1975 12.1367C27.7728 11.712 27.2626 11.4997 26.6667 11.4997H18.0001L15.8334 9.33301H9.33341C8.73758 9.33301 8.22769 9.54534 7.80375 9.97001C7.37908 10.394 7.16675 10.9038 7.16675 11.4997V24.4997C7.16675 25.0955 7.37908 25.6058 7.80375 26.0304ZM9.33336 24.4998V11.4998H14.9396L17.1063 13.6664H26.6667V24.4998H9.33336Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 878 B

View File

@@ -0,0 +1,5 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#1CAE81"/>
<path d="M20.1667 22.3335H22.3333V20.1668H24.5V18.0002H22.3333V15.8335H20.1667V18.0002H18V20.1668H20.1667V22.3335Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.80369 26.0304C8.22763 26.4544 8.73752 26.6663 9.33335 26.6663H26.6667C27.2625 26.6663 27.7728 26.4544 28.1974 26.0304C28.6214 25.6058 28.8334 25.0955 28.8334 24.4997V13.6663C28.8334 13.0705 28.6214 12.5606 28.1974 12.1367C27.7728 11.712 27.2625 11.4997 26.6667 11.4997H18L15.8334 9.33301H9.33335C8.73752 9.33301 8.22763 9.54534 7.80369 9.97001C7.37902 10.394 7.16669 10.9038 7.16669 11.4997V24.4997C7.16669 25.0955 7.37902 25.6058 7.80369 26.0304ZM9.3333 24.4998V11.4998H14.9396L17.1062 13.6664H26.6666V24.4998H9.3333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 874 B

View File

@@ -0,0 +1,5 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#1CAE81"/>
<path d="M20.1667 22.333H22.3333V20.1663H24.5V17.9997H22.3333V15.833H20.1667V17.9997H18V20.1663H20.1667V22.333Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.80375 26.0304C8.22769 26.4544 8.73758 26.6663 9.33341 26.6663H26.6667C27.2626 26.6663 27.7728 26.4544 28.1975 26.0304C28.6214 25.6058 28.8334 25.0955 28.8334 24.4997V13.6663C28.8334 13.0705 28.6214 12.5606 28.1975 12.1367C27.7728 11.712 27.2626 11.4997 26.6667 11.4997H18.0001L15.8334 9.33301H9.33341C8.73758 9.33301 8.22769 9.54534 7.80375 9.97001C7.37908 10.394 7.16675 10.9038 7.16675 11.4997V24.4997C7.16675 25.0955 7.37908 25.6058 7.80375 26.0304ZM9.33336 24.4998V11.4998H14.9396L17.1063 13.6664H26.6667V24.4998H9.33336Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 878 B

View File

@@ -0,0 +1,3 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M32 26L45.928 34.124L39.982 35.824L44.232 43.186L40.768 45.186L36.518 37.826L32.072 42.126L32 26ZM28 12H32V16H42C42.5304 16 43.0391 16.2107 43.4142 16.5858C43.7893 16.9609 44 17.4696 44 18V26H40V20H20V40H28V44H18C17.4696 44 16.9609 43.7893 16.5858 43.4142C16.2107 43.0391 16 42.5304 16 42V32H12V28H16V18C16 17.4696 16.2107 16.9609 16.5858 16.5858C16.9609 16.2107 17.4696 16 18 16H28V12ZM8 28V32H4V28H8ZM8 20V24H4V20H8ZM8 12V16H4V12H8ZM8 4V8H4V4H8ZM16 4V8H12V4H16ZM24 4V8H20V4H24ZM32 4V8H28V4H32Z" fill="#989898"/>
</svg>

After

Width:  |  Height:  |  Size: 626 B

View File

@@ -0,0 +1,4 @@
<svg width="37" height="36" viewBox="0 0 37 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.206909" width="36.4655" height="36" rx="9" fill="#1CAE81"/>
<path d="M15.3847 16.4371L17.511 18.5454V9.75456C17.511 9.51144 17.6089 9.27828 17.783 9.10638C17.9571 8.93447 18.1933 8.83789 18.4396 8.83789C18.6858 8.83789 18.922 8.93447 19.0961 9.10638C19.2703 9.27828 19.3681 9.51144 19.3681 9.75456V18.5454L21.4944 16.4371C21.5807 16.3511 21.6834 16.2829 21.7966 16.2364C21.9097 16.1899 22.0311 16.1659 22.1536 16.1659C22.2762 16.1659 22.3976 16.1899 22.5107 16.2364C22.6239 16.2829 22.7266 16.3511 22.8129 16.4371C22.8999 16.5223 22.969 16.6237 23.0161 16.7354C23.0633 16.8471 23.0875 16.9669 23.0875 17.0879C23.0875 17.2089 23.0633 17.3287 23.0161 17.4404C22.969 17.5521 22.8999 17.6535 22.8129 17.7387L19.0988 21.4054C19.0105 21.4888 18.9064 21.5543 18.7924 21.5979C18.5663 21.6896 18.3128 21.6896 18.0867 21.5979C17.9727 21.5543 17.8686 21.4888 17.7803 21.4054L14.0662 17.7387C13.9797 17.6533 13.911 17.5518 13.8641 17.4401C13.8173 17.3284 13.7932 17.2088 13.7932 17.0879C13.7932 16.967 13.8173 16.8473 13.8641 16.7357C13.911 16.624 13.9797 16.5225 14.0662 16.4371C14.1528 16.3516 14.2556 16.2838 14.3687 16.2375C14.4818 16.1913 14.603 16.1675 14.7255 16.1675C14.8479 16.1675 14.9691 16.1913 15.0823 16.2375C15.1954 16.2838 15.2982 16.3516 15.3847 16.4371ZM26.7962 19.8333C26.55 19.8333 26.3138 19.9299 26.1397 20.1018C25.9655 20.2737 25.8677 20.5069 25.8677 20.75V24.4167C25.8677 24.6598 25.7699 24.8929 25.5958 25.0648C25.4216 25.2367 25.1855 25.3333 24.9392 25.3333H11.9399C11.6937 25.3333 11.4575 25.2367 11.2834 25.0648C11.1092 24.8929 11.0114 24.6598 11.0114 24.4167V20.75C11.0114 20.5069 10.9136 20.2737 10.7394 20.1018C10.5653 19.9299 10.3291 19.8333 10.0829 19.8333C9.83662 19.8333 9.60045 19.9299 9.42632 20.1018C9.25218 20.2737 9.15436 20.5069 9.15436 20.75V24.4167C9.15436 25.146 9.44784 25.8455 9.97023 26.3612C10.4926 26.8769 11.2011 27.1667 11.9399 27.1667H24.9392C25.678 27.1667 26.3865 26.8769 26.9089 26.3612C27.4313 25.8455 27.7248 25.146 27.7248 24.4167V20.75C27.7248 20.5069 27.6269 20.2737 27.4528 20.1018C27.2787 19.9299 27.0425 19.8333 26.7962 19.8333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,4 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="#1CAE81"/>
<path d="M14.9843 16.4371L17.0835 18.5454V9.75457C17.0835 9.51146 17.1801 9.2783 17.352 9.10639C17.5239 8.93448 17.757 8.83791 18.0002 8.83791C18.2433 8.83791 18.4764 8.93448 18.6483 9.10639C18.8203 9.2783 18.9168 9.51146 18.9168 9.75457V18.5454L21.016 16.4371C21.1012 16.3512 21.2026 16.283 21.3143 16.2364C21.426 16.1899 21.5458 16.1659 21.6668 16.1659C21.7878 16.1659 21.9077 16.1899 22.0194 16.2364C22.1311 16.283 22.2324 16.3512 22.3177 16.4371C22.4036 16.5223 22.4718 16.6237 22.5183 16.7354C22.5649 16.8471 22.5888 16.9669 22.5888 17.0879C22.5888 17.2089 22.5649 17.3287 22.5183 17.4404C22.4718 17.5521 22.4036 17.6535 22.3177 17.7387L18.651 21.4054C18.5638 21.4889 18.461 21.5543 18.3485 21.5979C18.1253 21.6896 17.875 21.6896 17.6518 21.5979C17.5393 21.5543 17.4365 21.4889 17.3493 21.4054L13.6827 17.7387C13.5972 17.6533 13.5294 17.5518 13.4831 17.4401C13.4369 17.3285 13.4131 17.2088 13.4131 17.0879C13.4131 16.967 13.4369 16.8473 13.4831 16.7357C13.5294 16.624 13.5972 16.5225 13.6827 16.4371C13.7681 16.3516 13.8696 16.2838 13.9813 16.2376C14.0929 16.1913 14.2126 16.1675 14.3335 16.1675C14.4544 16.1675 14.5741 16.1913 14.6857 16.2376C14.7974 16.2838 14.8989 16.3516 14.9843 16.4371ZM26.2502 19.8333C26.007 19.8333 25.7739 19.9299 25.602 20.1018C25.4301 20.2737 25.3335 20.5069 25.3335 20.75V24.4167C25.3335 24.6598 25.2369 24.8929 25.065 25.0649C24.8931 25.2368 24.6599 25.3333 24.4168 25.3333H11.5835C11.3404 25.3333 11.1072 25.2368 10.9353 25.0649C10.7634 24.8929 10.6668 24.6598 10.6668 24.4167V20.75C10.6668 20.5069 10.5703 20.2737 10.3983 20.1018C10.2264 19.9299 9.99328 19.8333 9.75016 19.8333C9.50705 19.8333 9.27389 19.9299 9.10198 20.1018C8.93007 20.2737 8.8335 20.5069 8.8335 20.75V24.4167C8.8335 25.146 9.12323 25.8455 9.63895 26.3612C10.1547 26.8769 10.8542 27.1667 11.5835 27.1667H24.4168C25.1462 27.1667 25.8456 26.8769 26.3614 26.3612C26.8771 25.8455 27.1668 25.146 27.1668 24.4167V20.75C27.1668 20.5069 27.0703 20.2737 26.8983 20.1018C26.7264 19.9299 26.4933 19.8333 26.2502 19.8333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,4 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="36" height="36" rx="9" fill="white"/>
<path d="M15 11C14.7348 11 14.4804 11.1054 14.2929 11.2929C14.1054 11.4804 14 11.7348 14 12C14 12.2652 14.1054 12.5196 14.2929 12.7071C14.4804 12.8946 14.7348 13 15 13C15.2652 13 15.5196 12.8946 15.7071 12.7071C15.8946 12.5196 16 12.2652 16 12C16 11.7348 15.8946 11.4804 15.7071 11.2929C15.5196 11.1054 15.2652 11 15 11ZM12.17 11C12.3766 10.4145 12.7597 9.90743 13.2666 9.54878C13.7735 9.19014 14.3791 8.99754 15 8.99754C15.6209 8.99754 16.2265 9.19014 16.7334 9.54878C17.2403 9.90743 17.6234 10.4145 17.83 11H25C25.2652 11 25.5196 11.1054 25.7071 11.2929C25.8946 11.4804 26 11.7348 26 12C26 12.2652 25.8946 12.5196 25.7071 12.7071C25.5196 12.8946 25.2652 13 25 13H17.83C17.6234 13.5855 17.2403 14.0926 16.7334 14.4512C16.2265 14.8098 15.6209 15.0024 15 15.0024C14.3791 15.0024 13.7735 14.8098 13.2666 14.4512C12.7597 14.0926 12.3766 13.5855 12.17 13H11C10.7348 13 10.4804 12.8946 10.2929 12.7071C10.1054 12.5196 10 12.2652 10 12C10 11.7348 10.1054 11.4804 10.2929 11.2929C10.4804 11.1054 10.7348 11 11 11H12.17ZM21 17C20.7348 17 20.4804 17.1054 20.2929 17.2929C20.1054 17.4804 20 17.7348 20 18C20 18.2652 20.1054 18.5196 20.2929 18.7071C20.4804 18.8946 20.7348 19 21 19C21.2652 19 21.5196 18.8946 21.7071 18.7071C21.8946 18.5196 22 18.2652 22 18C22 17.7348 21.8946 17.4804 21.7071 17.2929C21.5196 17.1054 21.2652 17 21 17ZM18.17 17C18.3766 16.4145 18.7597 15.9074 19.2666 15.5488C19.7735 15.1901 20.3791 14.9975 21 14.9975C21.6209 14.9975 22.2265 15.1901 22.7334 15.5488C23.2403 15.9074 23.6234 16.4145 23.83 17H25C25.2652 17 25.5196 17.1054 25.7071 17.2929C25.8946 17.4804 26 17.7348 26 18C26 18.2652 25.8946 18.5196 25.7071 18.7071C25.5196 18.8946 25.2652 19 25 19H23.83C23.6234 19.5855 23.2403 20.0926 22.7334 20.4512C22.2265 20.8098 21.6209 21.0024 21 21.0024C20.3791 21.0024 19.7735 20.8098 19.2666 20.4512C18.7597 20.0926 18.3766 19.5855 18.17 19H11C10.7348 19 10.4804 18.8946 10.2929 18.7071C10.1054 18.5196 10 18.2652 10 18C10 17.7348 10.1054 17.4804 10.2929 17.2929C10.4804 17.1054 10.7348 17 11 17H18.17ZM15 23C14.7348 23 14.4804 23.1054 14.2929 23.2929C14.1054 23.4804 14 23.7348 14 24C14 24.2652 14.1054 24.5196 14.2929 24.7071C14.4804 24.8946 14.7348 25 15 25C15.2652 25 15.5196 24.8946 15.7071 24.7071C15.8946 24.5196 16 24.2652 16 24C16 23.7348 15.8946 23.4804 15.7071 23.2929C15.5196 23.1054 15.2652 23 15 23ZM12.17 23C12.3766 22.4145 12.7597 21.9074 13.2666 21.5488C13.7735 21.1901 14.3791 20.9975 15 20.9975C15.6209 20.9975 16.2265 21.1901 16.7334 21.5488C17.2403 21.9074 17.6234 22.4145 17.83 23H25C25.2652 23 25.5196 23.1054 25.7071 23.2929C25.8946 23.4804 26 23.7348 26 24C26 24.2652 25.8946 24.5196 25.7071 24.7071C25.5196 24.8946 25.2652 25 25 25H17.83C17.6234 25.5855 17.2403 26.0926 16.7334 26.4512C16.2265 26.8098 15.6209 27.0024 15 27.0024C14.3791 27.0024 13.7735 26.8098 13.2666 26.4512C12.7597 26.0926 12.3766 25.5855 12.17 25H11C10.7348 25 10.4804 24.8946 10.2929 24.7071C10.1054 24.5196 10 24.2652 10 24C10 23.7348 10.1054 23.4804 10.2929 23.2929C10.4804 23.1054 10.7348 23 11 23H12.17Z" fill="#1CAE81"/>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,8 @@
<svg width="6" height="14" viewBox="0 0 6 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="1" cy="1" r="1" fill="#666666"/>
<circle cx="5" cy="1" r="1" fill="#666666"/>
<circle cx="1" cy="7" r="1" fill="#666666"/>
<circle cx="5" cy="7" r="1" fill="#666666"/>
<circle cx="1" cy="13" r="1" fill="#666666"/>
<circle cx="5" cy="13" r="1" fill="#666666"/>
</svg>

After

Width:  |  Height:  |  Size: 373 B

View File

@@ -0,0 +1,8 @@
<svg width="6" height="14" viewBox="0 0 6 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="1" cy="1" r="1" fill="white"/>
<circle cx="5" cy="1" r="1" fill="white"/>
<circle cx="1" cy="7" r="1" fill="white"/>
<circle cx="5" cy="7" r="1" fill="white"/>
<circle cx="1" cy="13" r="1" fill="white"/>
<circle cx="5" cy="13" r="1" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@@ -0,0 +1,4 @@
<svg width="37" height="36" viewBox="0 0 37 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.244019" width="36.549" height="36" rx="9" fill="#FF5B40"/>
<path d="M15.4567 14.0675L17.5879 11.9592V20.75C17.5879 20.9931 17.6859 21.2263 17.8604 21.3982C18.035 21.5701 18.2717 21.6667 18.5185 21.6667C18.7653 21.6667 19.002 21.5701 19.1766 21.3982C19.3511 21.2263 19.4491 20.9931 19.4491 20.75V11.9592L21.5803 14.0675C21.6668 14.1534 21.7698 14.2216 21.8832 14.2681C21.9966 14.3147 22.1182 14.3386 22.2411 14.3386C22.3639 14.3386 22.4856 14.3147 22.599 14.2681C22.7124 14.2216 22.8153 14.1534 22.9018 14.0675C22.9891 13.9823 23.0583 13.8809 23.1056 13.7692C23.1528 13.6575 23.1771 13.5377 23.1771 13.4167C23.1771 13.2956 23.1528 13.1758 23.1056 13.0641C23.0583 12.9524 22.9891 12.851 22.9018 12.7658L19.1793 9.09915C19.0907 9.0157 18.9864 8.95028 18.8721 8.90665C18.6456 8.81497 18.3914 8.81497 18.1649 8.90665C18.0506 8.95028 17.9462 9.0157 17.8577 9.09915L14.1352 12.7658C14.0484 12.8513 13.9796 12.9528 13.9326 13.0644C13.8856 13.1761 13.8615 13.2958 13.8615 13.4167C13.8615 13.5375 13.8856 13.6572 13.9326 13.7689C13.9796 13.8806 14.0484 13.982 14.1352 14.0675C14.2219 14.153 14.3249 14.2208 14.4383 14.267C14.5517 14.3133 14.6732 14.3371 14.7959 14.3371C14.9186 14.3371 15.0401 14.3133 15.1535 14.267C15.2669 14.2208 15.3699 14.153 15.4567 14.0675ZM26.8943 19.8333C26.6475 19.8333 26.4108 19.9299 26.2362 20.1018C26.0617 20.2737 25.9637 20.5069 25.9637 20.75V24.4167C25.9637 24.6598 25.8656 24.8929 25.6911 25.0648C25.5166 25.2367 25.2798 25.3333 25.033 25.3333H12.004C11.7572 25.3333 11.5204 25.2367 11.3459 25.0648C11.1714 24.8929 11.0733 24.6598 11.0733 24.4167V20.75C11.0733 20.5069 10.9753 20.2737 10.8007 20.1018C10.6262 19.9299 10.3895 19.8333 10.1427 19.8333C9.89586 19.8333 9.65915 19.9299 9.48462 20.1018C9.31009 20.2737 9.21204 20.5069 9.21204 20.75V24.4167C9.21204 25.146 9.50619 25.8455 10.0298 26.3612C10.5534 26.8769 11.2635 27.1667 12.004 27.1667H25.033C25.7735 27.1667 26.4836 26.8769 27.0072 26.3612C27.5308 25.8455 27.825 25.146 27.825 24.4167V20.75C27.825 20.5069 27.7269 20.2737 27.5524 20.1018C27.3779 19.9299 27.1411 19.8333 26.8943 19.8333Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

Some files were not shown because too many files have changed in this diff Show More