master
jkhong 2023-08-24 16:38:46 +09:00
commit 23472e9d0d
4823 changed files with 935314 additions and 0 deletions

49
.classpath 100644
View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

90
.factorypath 100644
View File

@ -0,0 +1,90 @@
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/org/webjars/webjars-locator-core/0.35/webjars-locator-core-0.35.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.10/commons-lang3-3.10.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-core/2.11.2/jackson-core-2.11.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-freemarker/2.3.3.RELEASE/spring-boot-starter-freemarker-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter/2.3.3.RELEASE/spring-boot-starter-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot/2.3.3.RELEASE/spring-boot-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-autoconfigure/2.3.3.RELEASE/spring-boot-autoconfigure-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-logging/2.3.3.RELEASE/spring-boot-starter-logging-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/freemarker/freemarker/2.3.30/freemarker-2.3.30.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-context-support/5.2.8.RELEASE/spring-context-support-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-beans/5.2.8.RELEASE/spring-beans-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-context/5.2.8.RELEASE/spring-context-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-web/2.3.3.RELEASE/spring-boot-starter-web-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-json/2.3.3.RELEASE/spring-boot-starter-json-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-databind/2.11.2/jackson-databind-2.11.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-annotations/2.11.2/jackson-annotations-2.11.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.2/jackson-datatype-jdk8-2.11.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.2/jackson-datatype-jsr310-2.11.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.2/jackson-module-parameter-names-2.11.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-tomcat/2.3.3.RELEASE/spring-boot-starter-tomcat-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-core/9.0.37/tomcat-embed-core-9.0.37.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.37/tomcat-embed-websocket-9.0.37.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-web/5.2.8.RELEASE/spring-web-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-webmvc/5.2.8.RELEASE/spring-webmvc-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aop/5.2.8.RELEASE/spring-aop-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/5.2.8.RELEASE/spring-expression-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-websocket/2.3.3.RELEASE/spring-boot-starter-websocket-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-messaging/5.2.8.RELEASE/spring-messaging-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-websocket/5.2.8.RELEASE/spring-websocket-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mybatis/spring/boot/mybatis-spring-boot-starter/2.1.3/mybatis-spring-boot-starter-2.1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-jdbc/2.3.3.RELEASE/spring-boot-starter-jdbc-2.3.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/zaxxer/HikariCP/3.4.5/HikariCP-3.4.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-jdbc/5.2.8.RELEASE/spring-jdbc-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-tx/5.2.8.RELEASE/spring-tx-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/2.1.3/mybatis-spring-boot-autoconfigure-2.1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mybatis/mybatis/3.5.5/mybatis-3.5.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mybatis/mybatis-spring/2.0.5/mybatis-spring-2.0.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/webjars/bootstrap/4.5.0/bootstrap-4.5.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/webjars/popper.js/1.16.0/popper.js-1.16.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/webjars/jquery/3.1.0/jquery-3.1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/webjars/sockjs-client/1.0.2/sockjs-client-1.0.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/webjars/stomp-websocket/2.3.3/stomp-websocket-2.3.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/oracle/ojdbc/ojdbc8/19.3.0.0/ojdbc8-19.3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/oracle/ojdbc/ucp/19.3.0.0/ucp-19.3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/oracle/ojdbc/oraclepki/19.3.0.0/oraclepki-19.3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/oracle/ojdbc/osdt_cert/19.3.0.0/osdt_cert-19.3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/oracle/ojdbc/osdt_core/19.3.0.0/osdt_core-19.3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/oracle/ojdbc/simplefan/19.3.0.0/simplefan-19.3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/oracle/ojdbc/ons/19.3.0.0/ons-19.3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-core/5.2.8.RELEASE/spring-core-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-jcl/5.2.8.RELEASE/spring-jcl-5.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\apptemplate.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\apptemplate-log4j2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\clusterprotocolappblock.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\comappblock.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\commons.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\commonsappblock.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\configurationprotocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\connection.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\contactsprotocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\jackson2-module.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\kvlistbinding.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\kvlists.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\logging.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\managementprotocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\messagebrokerappblock.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\netty-all-4.1.33.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\openmediaprotocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\outboundprotocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\protocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\protocolmanagerappblock.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\reportingprotocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\routingprotocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\system.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\voiceprotocol.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\warmstandbyappblock.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="EXTJAR" id="C:\Dev_Tools\workspace\gen_web_api\lib\webmediaprotocol.jar" enabled="true" runInBatchMode="false"/>
</factorypath>

28
.project 100644
View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>gen_web_api</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.boot.validation.springbootbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,5 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8

View File

@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.apt.aptEnabled=true
org.eclipse.jdt.apt.genSrcDir=target\\generated-sources\\annotations
org.eclipse.jdt.apt.genTestSrcDir=target\\generated-test-sources\\test-annotations

View File

@ -0,0 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.processAnnotations=enabled
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8

View File

@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1

View File

@ -0,0 +1,2 @@
boot.validation.initialized=true
eclipse.preferences.version=1

21
.vscode/launch.json vendored 100644
View File

@ -0,0 +1,21 @@
{
"configurations": [
{
"type": "java",
"name": "CodeLens (Launch) - GenWebApiApplication",
"request": "launch",
"mainClass": "kr.co.i4way.web.GenWebApiApplication",
"projectName": "Gen_Web_API"
},
{
"type": "java",
"name": "Spring Boot-GenWebApiApplication<gen_web_api>",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"mainClass": "kr.co.i4way.web.GenWebApiApplication",
"projectName": "gen_web_api",
"args": ""
}
]
}

9
.vscode/settings.json vendored 100644
View File

@ -0,0 +1,9 @@
{
"java.configuration.updateBuildConfiguration": "interactive",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
}
}

Binary file not shown.

BIN
lib/apptemplate.jar 100644

Binary file not shown.

Binary file not shown.

BIN
lib/comappblock.jar 100644

Binary file not shown.

BIN
lib/commons.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/connection.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/kvlists.jar 100644

Binary file not shown.

BIN
lib/logging.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/protocol.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/system.jar 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

282
pom.xml 100644
View File

@ -0,0 +1,282 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.3.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>kr.co.i4way</groupId>
<artifactId>Gen_Web_API</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Gen_Web_API</name>
<description>Genesys Web Application</description>
<properties>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-locator-core</artifactId>
<version>0.35</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>4.5.0</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>sockjs-client</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>stomp-websocket</artifactId>
<version>2.3.3</version>
</dependency>
<dependency>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc8</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Genesys Library -->
<dependency>
<groupId>apptemplate</groupId>
<artifactId>apptemplate</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/apptemplate.jar</systemPath>
</dependency>
<dependency>
<groupId>apptemplate-log4j2</groupId>
<artifactId>apptemplate-log4j2</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/apptemplate-log4j2.jar</systemPath>
</dependency>
<dependency>
<groupId>clusterprotocolappblock</groupId>
<artifactId>clusterprotocolappblock</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/clusterprotocolappblock.jar</systemPath>
</dependency>
<dependency>
<groupId>comappblock</groupId>
<artifactId>comappblock</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/comappblock.jar</systemPath>
</dependency>
<dependency>
<groupId>commons</groupId>
<artifactId>commons</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/commons.jar</systemPath>
</dependency>
<dependency>
<groupId>commonsappblock</groupId>
<artifactId>commonsappblock</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/commonsappblock.jar</systemPath>
</dependency>
<dependency>
<groupId>configurationprotocol</groupId>
<artifactId>configurationprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/configurationprotocol.jar</systemPath>
</dependency>
<dependency>
<groupId>connection</groupId>
<artifactId>connection</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/connection.jar</systemPath>
</dependency>
<dependency>
<groupId>contactsprotocol</groupId>
<artifactId>contactsprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/contactsprotocol.jar</systemPath>
</dependency>
<dependency>
<groupId>jackson2-module</groupId>
<artifactId>jackson2-module</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/jackson2-module.jar</systemPath>
</dependency>
<dependency>
<groupId>kvlistbinding</groupId>
<artifactId>kvlistbinding</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/kvlistbinding.jar</systemPath>
</dependency>
<dependency>
<groupId>kvlists</groupId>
<artifactId>kvlists</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/kvlists.jar</systemPath>
</dependency>
<dependency>
<groupId>logging</groupId>
<artifactId>logging</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/logging.jar</systemPath>
</dependency>
<dependency>
<groupId>managementprotocol</groupId>
<artifactId>managementprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/managementprotocol.jar</systemPath>
</dependency>
<dependency>
<groupId>messagebrokerappblock</groupId>
<artifactId>messagebrokerappblock</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/messagebrokerappblock.jar</systemPath>
</dependency>
<dependency>
<groupId>netty-all-4.1.33.Final</groupId>
<artifactId>netty-all-4.1.33.Final</artifactId>
<version>4.1.33.Final</version>
<scope>system</scope>
<systemPath>${basedir}/lib/netty-all-4.1.33.Final.jar</systemPath>
</dependency>
<dependency>
<groupId>openmediaprotocol</groupId>
<artifactId>openmediaprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/openmediaprotocol.jar</systemPath>
</dependency>
<dependency>
<groupId>outboundprotocol</groupId>
<artifactId>outboundprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/outboundprotocol.jar</systemPath>
</dependency>
<dependency>
<groupId>protocol</groupId>
<artifactId>protocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/protocol.jar</systemPath>
</dependency>
<dependency>
<groupId>protocolmanagerappblock</groupId>
<artifactId>protocolmanagerappblock</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/protocolmanagerappblock.jar</systemPath>
</dependency>
<dependency>
<groupId>reportingprotocol</groupId>
<artifactId>reportingprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/reportingprotocol.jar</systemPath>
</dependency>
<dependency>
<groupId>routingprotocol</groupId>
<artifactId>routingprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/routingprotocol.jar</systemPath>
</dependency>
<dependency>
<groupId>system</groupId>
<artifactId>system</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/system.jar</systemPath>
</dependency>
<dependency>
<groupId>voiceprotocol</groupId>
<artifactId>voiceprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/voiceprotocol.jar</systemPath>
</dependency>
<dependency>
<groupId>warmstandbyappblock</groupId>
<artifactId>warmstandbyappblock</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/warmstandbyappblock.jar</systemPath>
</dependency>
<dependency>
<groupId>webmediaprotocol</groupId>
<artifactId>webmediaprotocol</artifactId>
<version>9.0.007</version>
<scope>system</scope>
<systemPath>${basedir}/lib/webmediaprotocol.jar</systemPath>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,22 @@
package kr.co.i4way.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.simp.config.MessageBrokerRegistry;
import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker;
import org.springframework.web.socket.config.annotation.StompEndpointRegistry;
import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer;
@Configuration
@EnableWebSocketMessageBroker
public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
@Override
public void configureMessageBroker(MessageBrokerRegistry registry) {
registry.enableSimpleBroker("/topic");
registry.setApplicationDestinationPrefixes("/app");
}
@Override
public void registerStompEndpoints(StompEndpointRegistry registry) {
registry.addEndpoint("/websocket").withSockJS();
}
}

View File

@ -0,0 +1,12 @@
package kr.co.i4way.web;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class GenWebApiApplication {
public static void main(String[] args) {
SpringApplication.run(GenWebApiApplication.class, args);
}
}

View File

@ -0,0 +1,12 @@
package kr.co.i4way.web.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class RestTestController {
@GetMapping("/rest_test")
public String rest_test() {
return "hello world!";
}
}

View File

@ -0,0 +1,86 @@
package kr.co.i4way.web.controller;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import kr.co.i4way.web.model.SampleVo;
import kr.co.i4way.web.service.SampleService;
@Controller
public class SampleController {
@Autowired(required = true)
private SampleService service;
@GetMapping("/wall/wall_index")
public String wallIndex(Model model) {
return "wall/index";
}
@GetMapping("/wall/w_call")
public String wallCall(Model model) {
return "wall/wall_call";
}
@GetMapping("/wall/w_picture")
public String wallPicture(Model model) {
return "wall/wall_picture";
}
@GetMapping("/wall/w_movie")
public String wallMovie(Model model) {
return "wall/wall_movie";
}
@GetMapping("/iform/agent_stat_detail")
public String agentStat(Model model, HttpSession session) {
session.setAttribute("user_id", "hong");
session.setAttribute("user_name", "홍준기");
session.setAttribute("user_grade", "A001");
session.setAttribute("user_auth", "101,102");
session.setAttribute("user_auth_nm", "101^1팀,102^2팀");
session.setMaxInactiveInterval(60 * 60);//시간 셋팅.60 * 10->10분 60 * 60 * 1->1시간
return "iform/agent/agent_stat_dtl";
}
// @RequestMapping("/hello")
// public String hello(Model model) {
// String message = "welcome";
// model.addAttribute("message", message);
// return "index1";
// }
// @RequestMapping("/hello1")
// public ModelAndView hello1() throws Exception {
// ModelAndView mv = new ModelAndView("hello");
// mv.addObject("hello", "1234567890");
// return mv;
// }
// @GetMapping("/hello2")
// public String getUser(Model model) {
// UserVo user = new UserVo("hong", "테스트", "web");
// model.addAttribute("user", user);
// return "hello";
// }
@RequestMapping("/getSampleList")
public @ResponseBody Map<String, Object> getSampleList(@ModelAttribute("samplevo") SampleVo samplevo)
throws Exception {
Map<String, Object> rtnObject = new HashMap<String, Object>();
// System.out.println(service.getSampleList(samplevo));
rtnObject.put("list", service.getSampleList(samplevo));
rtnObject.put("param", samplevo);
return rtnObject;
}
}

View File

@ -0,0 +1,11 @@
package kr.co.i4way.web.dao;
import java.util.ArrayList;
import org.apache.ibatis.annotations.Mapper;
import kr.co.i4way.web.model.SampleVo;
@Mapper
public interface SampleDao {
public ArrayList getSampleList(SampleVo samplevo);
}

View File

@ -0,0 +1,75 @@
package kr.co.i4way.web.model;
public class SampleVo {
int dbid;
int tenant_dbid;
String last_name;
String first_name;
String user_name;
String employee_id;
int is_agent;
int is_admin;
int state;
public int getDbid() {
return dbid;
}
public void setDbid(int dbid) {
this.dbid = dbid;
}
public int getTenant_dbid() {
return tenant_dbid;
}
public void setTenant_dbid(int tenant_dbid) {
this.tenant_dbid = tenant_dbid;
}
public String getLast_name() {
return last_name;
}
public void setLast_name(String last_name) {
this.last_name = last_name;
}
public String getFirst_name() {
return first_name;
}
public void setFirst_name(String first_name) {
this.first_name = first_name;
}
public String getUser_name() {
return user_name;
}
public void setUser_name(String user_name) {
this.user_name = user_name;
}
public String getEmployee_id() {
return employee_id;
}
public void setEmployee_id(String employee_id) {
this.employee_id = employee_id;
}
public int getIs_agent() {
return is_agent;
}
public void setIs_agent(int is_agent) {
this.is_agent = is_agent;
}
public int getIs_admin() {
return is_admin;
}
public void setIs_admin(int is_admin) {
this.is_admin = is_admin;
}
public int getState() {
return state;
}
public void setState(int state) {
this.state = state;
}
@Override
public String toString() {
return "SampleVo [dbid=" + dbid + ", tenant_dbid=" + tenant_dbid + ", last_name=" + last_name + ", first_name="
+ first_name + ", user_name=" + user_name + ", employee_id=" + employee_id + ", is_agent=" + is_agent
+ ", is_admin=" + is_admin + ", state=" + state + "]";
}
}

View File

@ -0,0 +1,46 @@
package kr.co.i4way.web.model;
public class UserVo {
private String userId;
private String userPwd;
private String name;
private String authType;
public UserVo(String userId, String name, String authType) {
super();
this.userId = userId;
this.name = name;
this.authType = authType;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getUserPwd() {
return userPwd;
}
public void setUserPwd(String userPwd) {
this.userPwd = userPwd;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAuthType() {
return authType;
}
public void setAuthType(String authType) {
this.authType = authType;
}
@Override
public String toString() {
return "User [userId=" + userId + ", userPwd=" + userPwd + ", name=" + name + ", authType=" + authType + "]";
}
}

View File

@ -0,0 +1,14 @@
package kr.co.i4way.web.service;
import java.util.ArrayList;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import kr.co.i4way.web.dao.SampleDao;
import kr.co.i4way.web.model.SampleVo;
public interface SampleService {
public ArrayList getSampleList(SampleVo samplevo);
}

View File

@ -0,0 +1,27 @@
package kr.co.i4way.web.service;
import java.util.ArrayList;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import kr.co.i4way.web.dao.SampleDao;
import kr.co.i4way.web.model.SampleVo;
@Service
public class SampleServiceImpl implements SampleService{
@Autowired
SampleDao sampledao;
@Override
public ArrayList getSampleList(SampleVo samplevo) {
ArrayList list = null;
try {
list = sampledao.getSampleList(samplevo);
}catch(Exception ex) {
ex.printStackTrace();
}
return list;
}
}

View File

@ -0,0 +1,23 @@
package kr.co.i4way.websocket;
public class Chat {
private String name;
private String message;
public Chat() {
}
public Chat(String name, String message) {
this.name = name;
this.message = message;
}
public String getName() {
return name;
}
public String getMessage() {
return message;
}
}

View File

@ -0,0 +1,17 @@
package kr.co.i4way.websocket;
public class Greeting {
private String content;
public Greeting() {
}
public Greeting(String content) {
this.content = content;
}
public String getContent() {
return content;
}
}

View File

@ -0,0 +1,19 @@
package kr.co.i4way.websocket;
public class HelloMessage {
private String name;
public HelloMessage(){
}
public HelloMessage(String name){
this.name = name;
}
public String getName(){
return name;
}
public void setName(String name){
this.name = name;
}
}

View File

@ -0,0 +1,23 @@
package kr.co.i4way.websocket.controller;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.messaging.handler.annotation.SendTo;
import org.springframework.web.util.HtmlUtils;
import kr.co.i4way.websocket.HelloMessage;
import kr.co.i4way.websocket.Chat;
import kr.co.i4way.websocket.Greeting;
public class GreetingController {
@MessageMapping("/hello")
@SendTo("/topic/greetings")
public Greeting greeting(HelloMessage message) throws Exception {
Thread.sleep(100); // delay
return new Greeting("Hello, " + HtmlUtils.htmlEscape(message.getName()) + "!");
}
@MessageMapping("/chat")
@SendTo("/topic/chat")
public Chat chat(Chat chat) throws Exception {
return new Chat(chat.getName(), chat.getMessage());
}
}

View File

@ -0,0 +1,18 @@
server.port=8088
spring.datasource.url=jdbc:oracle:thin:@172.168.30.2:1521:xe
spring.datasource.username=cfg
spring.datasource.password=cfg123
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
#model location
mybatis.type-aliases-package=kr.co.i4way.web.model
#xml location
mybatis.mapper-locations=classpath:mappers/*.xml
#freemarker
spring.freemarker.template-loader-path=classpath:/templates/
spring.freemarker.prefix=/freemarker/
spring.freemarker.suffix=.ftl
spring.freemarker.contentType=text/html
spring.freemarker.charset=UTF-8
spring.freemarker.cache=false

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.co.i4way.web.dao.SampleDao">
<select id="getSampleList" parameterType="kr.co.i4way.web.model.SampleVo" resultType="hashmap">
SELECT dbid
, tenant_dbid
, last_name
, first_name
, user_name
, employee_id
, is_agent
, is_admin
, state
FROM CFG_PERSON
</select>
</mapper>

View File

@ -0,0 +1,61 @@
var stompClient = null;
function setConnected(connected) {
$("#connect").prop("disabled", connected);
$("#disconnect").prop("disabled", !connected);
if (connected) {
$("#conversation").show();
}
else {
$("#conversation").hide();
}
$("#greetings").html("");
}
function connect() {
var socket = new SockJS('http://172.168.1.56:8088/websocket');
stompClient = Stomp.over(socket);
stompClient.connect({}, function (frame) {
setConnected(true);
console.log('Connected: ' + frame);
stompClient.subscribe('/topic/greetings', function (greeting) {
showGreeting(JSON.parse(greeting.body).content);
});
stompClient.subscribe('/topic/chat', function (chat) {
showChat(JSON.parse(chat.body));
});
});
}
function disconnect() {
if (stompClient !== null) {
stompClient.disconnect();
}
setConnected(false);
console.log("Disconnected");
}
function sendName() {
stompClient.send("/app/hello", {}, JSON.stringify({'name': $("#name").val()}));
}
function sendChat() {
stompClient.send("/app/chat", {}, JSON.stringify({'name': $("#name").val(), 'message': $("#chatMessage").val()}));
}
function showGreeting(message) {
$("#greetings").append("<tr><td>" + message + "</td></tr>");
}
function showChat(chat) {
$("#greetings").append("<tr><td>" + chat.name + " : " + chat.message + "</td></tr>");
}
$(function () {
$("form").on('submit', function (e) {
e.preventDefault();
});
$( "#connect" ).click(function() { connect(); });
$( "#disconnect" ).click(function() { disconnect(); });
$( "#send" ).click(function() { sendName(); });
$( "#chatSend" ).click(function(){ sendChat(); });
});

View File

@ -0,0 +1,153 @@
@font-face {
font-family: NanumSquareWeb;
src: url(/font/NanumSquareR.eot)
url(/font/NanumSquareR.eot?#iefix) format('embedded-opentype'),
url(/font/NanumSquareR.woff) format('woff'),
url(/font/NanumSquareR.ttf) format('truetype');
font-style: normal;
font-weight: normal;
unicode-range: U+0-10FFFF;
}
html, body {
padding: 3px 0 0 0;
height: 98%;
overflow: hidden;
}
iframe {
vertical-align: top;
border: 1px none gray;
}
* {
margin: 0;
padding: 0;
}
body {
font-family: NanumSquareWeb, sans-serif;
font-size : 11px;
background: #f6fbf9;
}
/* 화면 컨테이너*/
.container-fluid {
padding: 0px 7px 0px 7px;
}
/* 조회조건 테이블 */
.search_table {
border: 1px;
border-style: solid;
border-color: #ddd;
width: 100%;
background-color: white;
font-size: 11;
color: #111;
}
.search_tr {
border: 1px;
height: 30px;
border-style: solid;
border-color: #ddd;
}
.search_td {
border: 1px;
border-style: solid;
border-color: #e0d1d6;
text-align: left;
padding: 0 0 0 4px;
}
.search_td_Condition {
border: 1px;
border-style: solid;
border-color: #e0d1d6;
background-color: #edeff5;
text-align: right;
padding: 0 4px 0 0;
}
/* 셀렉트박스 리프레쉬 버튼 */
.btn-group>.btn {
line-height: 1;
padding: .225rem .75rem;
background-color: #fff;
border-style: solid;
border-color: #e0d1d6;
height: 23px;
}
/* 버튼 (default,normal,danger) */
.btn-default, .btn.normal {
line-height: 1;
padding: .225rem .75rem;
font-size: 11px;
height: 23px;
}
.btn-danger {
line-height: 1;
padding: .225rem .75rem;
font-size: 12px;
}
.btn-success {
line-height: 1;
padding: .225rem .75rem;
font-size: 12px;
}
/* 조회버튼 (info)*/
.btn-info {
line-height: 1;
padding: .225rem .75rem;
background-color: #6569df;
border-color: #6569df;
font-size: 12px;
}
.col {
position: relative;
width: 100%;
min-height: 1px;
padding-right: 1px;
padding-left: 1px;
flex-basis: 0;
flex-grow: 1;
max-width: 100%;
}
.col-middle {
display: inline-block;
vertical-align: middle;
padding: 0 0 3px 0;
}
.card {
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
}
.card-body {
flex: 1 1 auto;
padding: 1.25rem;
}
/* Form 크기(input, select ...) */
.form-control, .form-control .multiselect-search {
font-size: 11px;
padding: .225rem .75rem;
line-height: 1;
height: 23px;
}
form-control multiselect-search /* datepicker 버튼 */
.input-group-btn, .input-group-addon, .input-group-addon {
padding: .225rem .75rem;
line-height: 1;
height: 23px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,22 @@
@CHARSET "UTF-8";
a:link, a:visited {text-decoration: none; color: #656565;}
.board_list {width:100%;border-top:2px solid #252525;border-bottom:1px solid #ccc}
.board_list thead th:first-child{background-image:none}
.board_list thead th {border-bottom:1px solid #ccc;padding:12px 0 13px 0;color:#3b3a3a;vertical-align:middle}
.board_list tbody td {border-top:1px solid #ccc;padding:10px 0;text-align:center;vertical-align:middle}
.board_list tbody tr:first-child td {border:none}
.board_list tbody td.title {text-align:left; padding-left:20px}
.board_list tbody td a {display:inline-block}
.board_view {width:50%;border-top:2px solid #252525;border-bottom:1px solid #ccc}
.board_view tbody th {text-align:left;background:#f7f7f7;color:#3b3a3a}
.board_view tbody th.list_tit {font-size:13px;color:#000;letter-spacing:0.1px}
.board_view tbody .no_line_b th, .board_view tbody .no_line_b td {border-bottom:none}
.board_view tbody th, .board_view tbody td {padding:15px 0 16px 16px;border-bottom:1px solid #ccc}
.board_view tbody td.view_text {border-top:1px solid #ccc; border-bottom:1px solid #ccc;padding:45px 18px 45px 18px}
.board_view tbody th.th_file {padding:0 0 0 15px; vertical-align:middle}
.wdp_90 {width:90%}
.btn {border-radius:3px;padding:5px 11px;color:#fff !important; display:inline-block; background-color:#6b9ab8; border:1px solid #56819d;vertical-align:middle}

View File

@ -0,0 +1,501 @@
var currentYYYYMMDD = "";
var SEARCH_DATE_FAIL = "조회시작일이 종료일보다 큽니다";
var EMPTY_DATE_FAIL = "조회기간을 선택해주세요";
currentYYYYMMDD = caldate(0);
var tmpdate = new Date();
//조회일 세팅
$(function () {
$('#dp_day_from_condition1').datetimepicker({
format: 'YYYY-MM-DD',
defaultDate:getDay("today"),
locale: 'ko'
});
$('#dp_day_to_condition1').datetimepicker({
format: 'YYYY-MM-DD',
defaultDate:getDay("today"),
locale: 'ko',
useCurrent: false
});
$("#dp_day_from_condition1").on("dp.change", function (e) {
//$('#dp_day_to_condition1').data("DateTimePicker").minDate(e.date);
});
$("#dp_day_to_condition1").on("dp.change", function (e) {
//$('#dp_day_from_condition1').data("DateTimePicker").maxDate(e.date);
});
});
//문자열의 뒤부터 del_size만큼 삭제하고 리턴
function substr_lastChar(str, del_size){
var rtnStr = "";
try {
if(str.length > 1){
rtnStr = str.substring(0, str.length-del_size);
}else{
rtnStr = str;
}
}
catch(error) {
rtnStr = str;
}
return rtnStr;
}
/**
* gubun에 따라 해당 날짜를 리턴한다.(, , 일등....)
* @param gubun
* @returns
*/
function getDay(gubun){
var rtnVal = "";
var date = new Date();
var currentYear = date.getFullYear();
var currentMonth = date.getMonth() + 1 + "";
var currentDay = date.getDate() + "";
currentMonth = lpad(currentMonth, "0", 2);
currentDay = lpad(currentDay, "0", 2);
var lastDate = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
if(currentYear % 4 == 0 && currentYear % 100 == 0 || currentYear % 400 == 0){
lastDate[1] = 29;
}
if(gubun == "first"){
rtnVal = currentYear + "-" + currentMonth + "-" + "01";
}else if(gubun == "month"){
rtnVal = currentYear + "-" + currentMonth;
}else if(gubun == "firstmonth"){
rtnVal = currentYear + "-01";
}else if(gubun == "today"){
rtnVal = currentYear + "-" + currentMonth + "-" + currentDay;
}else if(gubun == "year"){
rtnVal = currentYear;
}else {
rtnVal = currentYear + "-" + currentMonth + "-" + lastDate[date.getMonth()];
}
return rtnVal;
}
/**
* 월의 마지막날을 조회한다.
* @param gubun
* @returns
*/
function getLastDay(month){
var rtnVal = "";
var date = new Date();
var currentYear = date.getFullYear();
var day = parseInt(month);
var lastDate = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
if(currentYear % 4 == 0 && currentYear % 100 == 0 || currentYear % 400 == 0){
lastDate[1] = 29;
}
return lastDate[day-1];
}
/**
* 패딩함수
* @param s
* @param c
* @param n
* @returns
*/
function lpad(s,c,n){
if(!s || !c || s.length >= n){
return s;
}
var max = (n - s.length)/c.length;
for(var i=0; i<max; i++){
s=c+s;
}
return s;
}
/**
* 오늘 일자에서 파라미터 만큼 이전 날짜를 리턴한다.
*
* @param day 일자
* @return 오늘날짜 - day
*/
function caldate(day){
var caledmonth, caledday, caledYear;
var loadDt = new Date();
var v = new Date(Date.parse(loadDt) - day*1000*60*60*24);
caledYear = v.getFullYear();
if( v.getMonth() < 9 ){
caledmonth = '0'+(v.getMonth()+1);
}else{
caledmonth = v.getMonth()+1;
}
if( v.getDate() < 9 ){
caledday = '0'+v.getDate();
}else{
caledday = v.getDate();
}
var rtnval = caledYear + "" + caledmonth + "" + caledday;
return rtnval;
}
/**
* 그리드의 데이터를 엑셀파일 Export시 파일명을 생성한다.
*
* @param prgName 파일명의 시작문자열
* @return 엑셀파일명
*/
function generateFileName(prgName){
return prgName + "_" + currentYYYYMMDD + ".xlsx";
}
/**
* 날짜의 차이를 일자로 구한다.(조회 종료일 - 조회 시작일)
*
* @param val1 - 조회 시작일(날짜 ex.2002-01-01)
* @param val2 - 조회 종료일(날짜 ex.2002-01-01)
* @return 기간에 해당하는 일자
*/
function calDateRange(val1, val2)
{
var FORMAT = "-";
// FORMAT을 포함한 길이 체크
if (val1.length != 10 || val2.length != 10)
return null;
// FORMAT이 있는지 체크
if (val1.indexOf(FORMAT) < 0 || val2.indexOf(FORMAT) < 0)
return null;
// 년도, 월, 일로 분리
var start_dt = val1.split(FORMAT);
var end_dt = val2.split(FORMAT);
// 월 - 1(자바스크립트는 월이 0부터 시작하기 때문에...)
// Number()를 이용하여 08, 09월을 10진수로 인식하게 함.
start_dt[1] = (Number(start_dt[1]) - 1) + "";
end_dt[1] = (Number(end_dt[1]) - 1) + "";
var from_dt = new Date(start_dt[0], start_dt[1], start_dt[2]);
var to_dt = new Date(end_dt[0], end_dt[1], end_dt[2]);
return (to_dt.getTime() - from_dt.getTime()) / 1000 / 60 / 60 / 24;
}
/**
* datePattrn별로 해당하는 날짜를 문자열로 만들어 지정된 form객체(textid) 값을 세팅한다.
* @param formd
* @param textid
* @param datePattrn
* @returns
*/
function date_mask(formd, textid, datePattrn) {
var form = eval("document."+formd);
var text = document.getElementById(textid);
var textlength = text.value.length;
if(datePattrn == "DAY"){
if (textlength == 4) {
text.value = text.value + "-";
} else if (textlength == 7) {
text.value = text.value + "-";
} else if (textlength > 9) {
//날짜 수동 입력 Validation 체크
var chk_date = checkdate(text, datePattrn);
if (chk_date == false) {
text.select();
return;
}
}
}else if(datePattrn == "MONTH"){
if (textlength == 4) {
text.value = text.value + "-";
} else if (textlength > 6) {
//날짜 수동 입력 Validation 체크
var chk_date = checkdate(text, datePattrn);
if (chk_date == false) {
text.select();
return;
}
}
}else if(datePattrn == "YEAR"){
if (textlength > 3) {
//날짜 수동 입력 Validation 체크
var chk_date = checkdate(text, datePattrn);
if (chk_date == false) {
text.select();
return;
}
}
}
}
/**
* 입력된 문자열(input) 날짜형식에 맞는지 체크한다.
* @param input
* @param pattrn
* @returns
*/
function checkdate(input, pattrn) {
var validformat_day = /^\d{4}\-\d{2}\-\d{2}$/; //Basic check for format validity
var validformat_month = /^\d{4}\-\d{2}$/; //Basic check for format validity
var validformat_year = /^\d{4}$/; //Basic check for format validity
var returnval = false;
if(pattrn == "DAY"){
if (!validformat_day.test(input.value)) {
alert("날짜 형식이 올바르지 않습니다. YYYY-MM-DD");
return returnval;
} else { //Detailed check for valid date ranges
var yearfield = input.value.split("-")[0];
var monthfield = input.value.split("-")[1];
var dayfield = input.value.split("-")[2];
var dayobj = new Date(yearfield, monthfield - 1, dayfield);
}
if ((dayobj.getMonth() + 1 != monthfield)
|| (dayobj.getDate() != dayfield)
|| (dayobj.getFullYear() != yearfield)) {
alert("날짜 형식이 올바르지 않습니다. YYYY-MM-DD");
return returnval;
} else {
//alert ('Correct date');
returnval = true;
}
if (returnval == false) {
input.select();
}
}else if(pattrn == "MONTH"){
if (!validformat_month.test(input.value)) {
alert("날짜 형식이 올바르지 않습니다. YYYY-MM");
return returnval;
} else { //Detailed check for valid date ranges
var yearfield = input.value.split("-")[0];
var monthfield = input.value.split("-")[1];
var dayobj = new Date(yearfield, monthfield - 1);
}
if ((dayobj.getMonth() + 1 != monthfield)
|| (dayobj.getFullYear() != yearfield)) {
alert("날짜 형식이 올바르지 않습니다. YYYY-MM");
return returnval;
} else {
//alert ('Correct date');
returnval = true;
}
if (returnval == false) {
input.select();
}
}else if(pattrn == "YEAR"){
if (!validformat_year.test(input.value)) {
alert("날짜 형식이 올바르지 않습니다. YYYY");
return returnval;
} else { //Detailed check for valid date ranges
var yearfield = input.value.split("-")[0];
var dayobj = new Date(yearfield);
}
if (dayobj.getFullYear() != yearfield) {
alert("날짜 형식이 올바르지 않습니다. YYYY");
return returnval;
} else {
//alert ('Correct date');
returnval = true;
}
if (returnval == false) {
input.select();
}
}
return returnval;
}
/**
* 입력된 날짜의 자릿수 체크
* @param formd
* @param textid
* @param datePattrn
* @returns
*/
function date_check(formd, textid, datePattrn) {
var form = eval("document."+formd);
var text = document.getElementById(textid);
var textlength = text.value.length;
if(datePattrn == "DAY"){
if(textlength < 10){
alert("입력하신 날짜를 확인해주세요");
text.select();
return;
}else{
//날짜 수동 입력 Validation 체크
}
}else if(datePattrn == "MONTH"){
if(textlength < 7){
alert("입력하신 날짜를 확인해주세요");
text.select();
return;
}else{
//날짜 수동 입력 Validation 체크
}
}else if(datePattrn == "YEAR"){
if(textlength < 4){
alert("입력하신 날짜를 확인해주세요");
text.select();
return;
}else{
//날짜 수동 입력 Validation 체크
}
}
}
/**
* 숫자입력일때 시간과 주의 범위 내에 있는지 확인
* @param textid
* @param datePattrn
* @returns
*/
function number_check(textid, datePattrn) {
var text = document.getElementById(textid);
var textlength = text.value.length;
if(textlength > 2){
alert("입력값이 너무큽니다.");
text.select();
return;
}else{
if(datePattrn == 'hour'){
if(text.value > 23 || text.value < 0){
alert("범위내 값을 입력해주세요 (0~23)");
text.select();
return;
}
}else if(datePattrn == 'week'){
if(text.value > 53 || text.value < 1){
alert("범위내 값을 입력해주세요 (1~53)");
text.select();
return;
}
}
}
}
//DatePicker(캘린더) 한글화
moment.defineLocale('ko', {
months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
longDateFormat : {
LT : 'A h:mm',
LTS : 'A h:mm:ss',
L : 'YYYY.MM.DD.',
LL : 'YYYY년 MMMM D일',
LLL : 'YYYY년 MMMM D일 A h:mm',
LLLL : 'YYYY년 MMMM D일 dddd A h:mm',
l : 'YYYY.MM.DD.',
ll : 'YYYY년 MMMM D일',
lll : 'YYYY년 MMMM D일 A h:mm',
llll : 'YYYY년 MMMM D일 dddd A h:mm'
},
calendar : {
sameDay : '오늘 LT',
nextDay : '내일 LT',
nextWeek : 'dddd LT',
lastDay : '어제 LT',
lastWeek : '지난주 dddd LT',
sameElse : 'L'
},
relativeTime : {
future : '%s 후',
past : '%s 전',
s : '몇 초',
ss : '%d초',
m : '1분',
mm : '%d분',
h : '한 시간',
hh : '%d시간',
d : '하루',
dd : '%d일',
M : '한 달',
MM : '%d달',
y : '일 년',
yy : '%d년'
},
dayOfMonthOrdinalParse : /\d{1,2}(일|월|주)/,
ordinal : function (number, period) {
switch (period) {
case 'd':
case 'D':
case 'DDD':
return number + '일';
case 'M':
return number + '월';
case 'w':
case 'W':
return number + '주';
default:
return number;
}
},
meridiemParse : /오전|오후/,
isPM : function (token) {
return token === '오후';
},
meridiem : function (hour, minute, isUpper) {
return hour < 12 ? '오전' : '오후';
}
});
function floor_int(x) {
var tmp = Number(x);
tmp = Math.floor(tmp);
return tmp;
}
/**
* 초를 ::초로 변환
* @param seconds
* @returns
*/
function humanReadable(seconds) {
var rtnval = "";
if(seconds == "" || seconds == null || seconds == NaN){
rtnval = "00:00:00";
}else{
seconds = floor_int(seconds);
var pad = function(x) { return (x < 10) ? "0"+x : x; }
rtnval = pad(parseInt(seconds / (60*60))) + ":" +
pad(parseInt(seconds / 60 % 60)) + ":" +
pad(seconds % 60);
}
if(rtnval == "NaN:NaN:NaN"){
rtnval = "00:00:00";
}
return rtnval;
}
//0~9엔 앞에 0을 붙이기
function cfSetAddZero(target) {
var num = parseInt(target);
var str = num > 9 ? num : "0" + num;
return str.toString();
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,331 @@
/*!
* Bootstrap Reboot v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
display: block;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fff;
}
[tabindex="-1"]:focus {
outline: 0 !important;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
abbr[title],
abbr[data-original-title] {
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
cursor: help;
border-bottom: 0;
-webkit-text-decoration-skip-ink: none;
text-decoration-skip-ink: none;
}
address {
margin-bottom: 1rem;
font-style: normal;
line-height: inherit;
}
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
dt {
font-weight: 700;
}
dd {
margin-bottom: .5rem;
margin-left: 0;
}
blockquote {
margin: 0 0 1rem;
}
b,
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sub {
bottom: -.25em;
}
sup {
top: -.5em;
}
a {
color: #007bff;
text-decoration: none;
background-color: transparent;
}
a:hover {
color: #0056b3;
text-decoration: underline;
}
a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
outline: 0;
}
pre,
code,
kbd,
samp {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 1em;
}
pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
}
figure {
margin: 0 0 1rem;
}
img {
vertical-align: middle;
border-style: none;
}
svg {
overflow: hidden;
vertical-align: middle;
}
table {
border-collapse: collapse;
}
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #6c757d;
text-align: left;
caption-side: bottom;
}
th {
text-align: inherit;
}
label {
display: inline-block;
margin-bottom: 0.5rem;
}
button {
border-radius: 0;
}
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
select {
word-wrap: normal;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
cursor: pointer;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
padding: 0;
border-style: none;
}
input[type="radio"],
input[type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
-webkit-appearance: listbox;
}
textarea {
overflow: auto;
resize: vertical;
}
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
max-width: 100%;
padding: 0;
margin-bottom: .5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal;
}
progress {
vertical-align: baseline;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
outline-offset: -2px;
-webkit-appearance: none;
}
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button;
}
output {
display: inline-block;
}
summary {
display: list-item;
cursor: pointer;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
/*# sourceMappingURL=bootstrap-reboot.css.map */

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
/*!
* Bootstrap Reboot v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
/*# sourceMappingURL=bootstrap-reboot.min.css.map */

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,23 @@
{
"name": "Chart.js",
"version": "2.1.4",
"description": "Simple HTML5 Charts using the canvas element",
"homepage": "https://github.com/chartjs/Chart.js",
"author": "nnnick",
"license": "MIT",
"main": [
"dist/Chart.js"
],
"devDependencies": {
"jquery": "~2.1.4"
},
"_release": "2.1.4",
"_resolution": {
"type": "version",
"tag": "v2.1.4",
"commit": "40d76b6a7ba14aeac69b05ad15d713c3402867b2"
},
"_source": "https://github.com/nnnick/Chart.js.git",
"_target": "^2.0.2",
"_originalSource": "Chart.js"
}

View File

@ -0,0 +1,18 @@
engines:
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "src/**/*.js"
exclude_paths:
- dist/**/*
- node_modules/**/*
- test/**/*
- coverage/**/*

View File

@ -0,0 +1,10 @@
# http://editorconfig.org
root = true
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

View File

@ -0,0 +1 @@
**/*{.,-}min.js

View File

@ -0,0 +1,213 @@
ecmaFeatures:
modules: true
jsx: true
env:
amd: true
browser: true
es6: true
jquery: true
node: true
# http://eslint.org/docs/rules/
rules:
# Possible Errors
comma-dangle: [2, never]
no-cond-assign: 2
no-console: 0
no-constant-condition: 2
no-control-regex: 2
no-debugger: 2
no-dupe-args: 2
no-dupe-keys: 2
no-duplicate-case: 2
no-empty: 2
no-empty-character-class: 2
no-ex-assign: 2
no-extra-boolean-cast: 2
no-extra-parens: 0
no-extra-semi: 2
no-func-assign: 2
no-inner-declarations: [2, functions]
no-invalid-regexp: 2
no-irregular-whitespace: 2
no-negated-in-lhs: 2
no-obj-calls: 2
no-regex-spaces: 2
no-sparse-arrays: 2
no-unexpected-multiline: 2
no-unreachable: 2
use-isnan: 2
valid-jsdoc: 0
valid-typeof: 2
# Best Practices
accessor-pairs: 2
block-scoped-var: 0
complexity: [2, 6]
consistent-return: 0
curly: 0
default-case: 0
dot-location: 0
dot-notation: 0
eqeqeq: 2
guard-for-in: 2
no-alert: 2
no-caller: 2
no-case-declarations: 2
no-div-regex: 2
no-else-return: 0
no-empty-label: 2
no-empty-pattern: 2
no-eq-null: 2
no-eval: 2
no-extend-native: 2
no-extra-bind: 2
no-fallthrough: 2
no-floating-decimal: 0
no-implicit-coercion: 0
no-implied-eval: 2
no-invalid-this: 0
no-iterator: 2
no-labels: 0
no-lone-blocks: 2
no-loop-func: 2
no-magic-number: 0
no-multi-spaces: 0
no-multi-str: 0
no-native-reassign: 2
no-new-func: 2
no-new-wrappers: 2
no-new: 2
no-octal-escape: 2
no-octal: 2
no-proto: 2
no-redeclare: 2
no-return-assign: 2
no-script-url: 2
no-self-compare: 2
no-sequences: 0
no-throw-literal: 0
no-unused-expressions: 2
no-useless-call: 2
no-useless-concat: 2
no-void: 2
no-warning-comments: 0
no-with: 2
radix: 2
vars-on-top: 0
wrap-iife: 2
yoda: 0
# Strict
strict: 0
# Variables
init-declarations: 0
no-catch-shadow: 2
no-delete-var: 2
no-label-var: 2
no-shadow-restricted-names: 2
no-shadow: 0
no-undef-init: 2
no-undef: 0
no-undefined: 0
no-unused-vars: 0
no-use-before-define: 0
# Node.js and CommonJS
callback-return: 2
global-require: 2
handle-callback-err: 2
no-mixed-requires: 0
no-new-require: 0
no-path-concat: 2
no-process-exit: 2
no-restricted-modules: 0
no-sync: 0
# Stylistic Issues
array-bracket-spacing: 0
block-spacing: 0
brace-style: 0
camelcase: 0
comma-spacing: 0
comma-style: 0
computed-property-spacing: 0
consistent-this: 0
eol-last: 0
func-names: 0
func-style: 0
id-length: 0
id-match: 0
indent: 0
jsx-quotes: 0
key-spacing: 0
linebreak-style: 0
lines-around-comment: 0
max-depth: 0
max-len: 0
max-nested-callbacks: 0
max-params: 0
max-statements: [2, 30]
new-cap: 0
new-parens: 0
newline-after-var: 0
no-array-constructor: 0
no-bitwise: 0
no-continue: 0
no-inline-comments: 0
no-lonely-if: 0
no-mixed-spaces-and-tabs: 0
no-multiple-empty-lines: 0
no-negated-condition: 0
no-nested-ternary: 0
no-new-object: 0
no-plusplus: 0
no-restricted-syntax: 0
no-spaced-func: 0
no-ternary: 0
no-trailing-spaces: 0
no-underscore-dangle: 0
no-unneeded-ternary: 0
object-curly-spacing: 0
one-var: 0
operator-assignment: 0
operator-linebreak: 0
padded-blocks: 0
quote-props: 0
quotes: 0
require-jsdoc: 0
semi-spacing: 0
semi: 0
sort-vars: 0
space-after-keywords: 0
space-before-blocks: 0
space-before-function-paren: 0
space-before-keywords: 0
space-in-parens: 0
space-infix-ops: 0
space-return-throw-case: 0
space-unary-ops: 0
spaced-comment: 0
wrap-regex: 0
# ECMAScript 6
arrow-body-style: 0
arrow-parens: 0
arrow-spacing: 0
constructor-super: 0
generator-star-spacing: 0
no-arrow-condition: 0
no-class-assign: 0
no-const-assign: 0
no-dupe-class-members: 0
no-this-before-super: 0
no-var: 0
object-shorthand: 0
prefer-arrow-callback: 0
prefer-const: 0
prefer-reflect: 0
prefer-spread: 0
prefer-template: 0
require-yield: 0

View File

@ -0,0 +1,2 @@
- [ ] I have read the [guidelines for contributing](https://github.com/chartjs/Chart.js/blob/master/CONTRIBUTING.md)
- [ ] I have included an example of my issue on a website such as [JS Bin](http://jsbin.com/), [JS Fiddle](http://jsfiddle.net/), or [Codepen](http://codepen.io/pen/). ([Template](http://codepen.io/pen?template=JXVYzq))

View File

@ -0,0 +1,2 @@
- [ ] I have read the [guidelines for contributing](https://github.com/chartjs/Chart.js/blob/master/CONTRIBUTING.md)
- [ ] I have included an example of my changes on a website such as [JS Bin](http://jsbin.com/), [JS Fiddle](http://jsfiddle.net/), or [Codepen](http://codepen.io/pen/). ([Template](http://codepen.io/pen?template=JXVYzq))

View File

@ -0,0 +1,13 @@
.DS_Store
node_modules/*
custom/*
docs/index.md
bower_components/
coverage/*
.idea
nbproject/*

View File

@ -0,0 +1,30 @@
language: node_js
node_js:
- "5.10"
before_install:
- "export CHROME_BIN=/usr/bin/google-chrome"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
before_script:
- npm install
script:
- gulp test
- gulp coverage
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
notifications:
slack: chartjs:pcfCZR6ugg5TEcaLtmIfQYuA
sudo: required
dist: trusty
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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